PageSourceSearch

https://tarangplus.in/main.acdd7bf7427344311c5e.js

js tarangplus.in collected 2026-09-24 20:21:51 UTC 2,016,813 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{"+rOU":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return a}));var i=n("fXoL"),r=n("ofXK");class o{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class s extends o{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class a extends o{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class l extends o{constructor(e){super(),this.element=e instanceof i.ElementRef?e.nativeElement:e}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof l?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends c{constructor(e,t,n,i,r){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=r}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.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(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let h=(()=>{class e extends a{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.ViewContainerRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i["\u0275\u0275InheritDefinitionFeature"]]}),e})(),d=(()=>{class e extends c{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.EventEmitter,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;
1return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ComponentFactoryResolver),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](r.DOCUMENT))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i["\u0275\u0275InheritDefinitionFeature"]]}),e})(),p=(()=>{class e extends d{}return e.\u0275fac=function(t){return f(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i["\u0275\u0275ProvidersFeature"]([{provide:d,useExisting:e}]),i["\u0275\u0275InheritDefinitionFeature"]]}),e})();const f=i["\u0275\u0275getInheritedFactory"](p);let m=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})()},"/6Yf":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l}));var i=n("mrSG"),r=n("qOnz"),o=function(){function e(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}return e.prototype.setInstantiationMode=function(e){return this.instantiationMode=e,this},e.prototype.setMultipleInstances=function(e){return this.multipleInstances=e,this},e.prototype.setServiceProps=function(e){return this.serviceProps=e,this},e.prototype.setInstanceCreatedCallback=function(e){return this.onInstanceCreated=e,this},e}(),s="[DEFAULT]",a=function(){function e(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}return e.prototype.get=function(e){var t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){var n=new r.a;if(this.instancesDeferred.set(t,n),this.isInitialized(t)||this.shouldAutoInitialize())try{var i=this.getOrInitializeService({instanceIdentifier:t});i&&n.resolve(i)}catch(o){}}return this.instancesDeferred.get(t).promise},e.prototype.getImmediate=function(e){var t,n=this.normalizeInstanceIdentifier(null==e?void 0:e.identifier),i=null!==(t=null==e?void 0:e.optional)&&void 0!==t&&t;if(!this.isInitialized(n)&&!this.shouldAutoInitialize()){if(i)return null;throw Error("Service "+this.name+" is not available")}try{return this.getOrInitializeService({instanceIdentifier:n})}catch(r){if(i)return null;throw r}},e.prototype.getComponent=function(){return this.component},e.prototype.setComponent=function(e){var t,n;if(e.name!==this.name)throw Error("Mismatching Component "+e.name+" for Provider "+this.name+".");if(this.component)throw Error("Component for "+this.name+" has already been provided");if(this.component=e,this.shouldAutoInitialize()){if(function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService({instanceIdentifier:s})}catch(h){}try{for(var r=Object(i.g)(this.instancesDeferred.entries()),o=r.next();!o.done;o=r.next()){var a=Object(i.e)(o.value,2),l=a[1],c=this.normalizeInstanceIdentifier(a[0]);try{var u=this.getOrInitializeService({instanceIdentifier:c});l.resolve(u)}catch(h){}}}catch(d){t={error:d}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}},e.prototype.clearInstance=function(e){void 0===e&&(e=s),this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)},e.prototype.delete=function(){return Object(i.b)(this,void 0,void 0,(function(){var e;return Object(i.d)(this,(function(t){switch(t.label){case 0:return e=Array.from(this.instances.values()),[4,Promise.all(Object(i.f)(Object(i.f)([],Object(i.e)(e.filter((function(e){return"INTERNAL"in e})).map((function(e){return e.INTERNAL.delete()})))),Object(i.e)(e.filter((function(e){return"_delete"in e})).map((function(e){return e._delete()})))))];case 1:return t.sent(),[2]}}))}))},e.prototype.isComponentSet=function(){return null!=this.component},e.prototype.isInitialized=function(e){return void 0===e&&(e=s),this.instances.has(e)},e.prototype.getOptions=function(e){return void 0===e&&(e=s),this.instancesOptions.get(e)||{}},e.prototype.initialize=function(e){var t,n;void 0===e&&(e={});var r=e.options,o=void 0===r?{}:r,s=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(s))throw Error(this.name+"("+s+") has already been initialized");if(!this.isComponentSet())throw Error("Component "+this.name+" has not been registered yet");var a=this.getOrInitializeService({instanceIdentifier:s,options:o});try{for(var l=Object(i.g)(this.instancesDeferred.entries()),c=l.next();!c.done;c=l.next()){var u=Object(i.e)(c.value,2),h=u[1];s===this.normalizeInstanceIdentifier(u[0])&&h.resolve(a)}}catch(d){t={error:d}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return a},e.prototype.onInit=function(e,t){var n,i=this.normalizeInstanceIdentifier(t),r=null!==(n=this.onInitCallbacks.get(i))&&void 0!==n?n:new Set;r.add(e),this.onInitCallbacks.set(i,r);var o=this.instances.get(i);return o&&e(o,i),function(){r.delete(e)}},e.prototype.invokeOnInitCallbacks=function(e,t){var n,r,o=this.onInitCallbacks.get(t);if(o)try{for(var s=Object(i.g)(o),a=s.next();!a.done;a=s.next()){var l=a.value;try{l(e,t)}catch(c){}}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},e.prototype.getOrInitializeService=function(e){var t,n=e.instanceIdentifier,i=e.options,r=void 0===i?{}:i,o=this.instances.get(n);if(!o&&this.component&&(o=this.component.instanceFactory(this.container,{instanceIdentifier:(t=n,t===s?void 0:t),options:r}),this.instances.set(n,o),this.instancesOptions.set(n,r),this.invokeOnInitCallbacks(o,n),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,n,o)}catch(a){}return o||null},e.prototype.normalizeInstanceIdentifier=function(e){return void 0===e&&(e=s),this.component?this.component.multipleInstances?e:s:e},e.prototype.shouldAutoInitialize=function(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode},e}(),l=function(){function e(e){this.name=e,this.providers=new Map}return e.prototype.addComponent=function(e){var t=this.getProvider(e.name);if(t.isComponentSet())throw new Error("Component "+e.name+" has already been registered with "+this.name);t.setComponent(e)},e.prototype.addOrOverwriteComponent=function(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)},e.prototype.getProvider=function(e){if(this.providers.has(e))return this.providers.get(e);var t=new a(e,this);return this.providers.set(e,t),t},e.prototype.getProviders=function(){return Array.from(this.providers.values())},e}()},"/uUt":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))}}class s extends i.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},"0EQZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return a}));var i=n("7+OI"),r=n("LRne"),o=n("XNiG"),s=n("fXoL");function a(e){return e&&"function"==typeof e.connect}class l extends class{}{constructor(e){super(),this._data=e}connect(){return Object(i.a)(this._data)?this._data:Object(r.a)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}
1applyChanges(e,t,n,i,r){e.forEachOperation((e,o,s)=>{let a,l;null==e.previousIndex?(a=this._insertView(()=>n(e,o,s),s,t,i(e)),l=a?1:0):null==s?(this._detachAndCacheView(o,t),l=3):(a=this._moveView(o,s,t,i(e)),l=2),r&&r({context:null==a?void 0:a.context,operation:l,record:e})})}detach(){for(const e of this._viewCache)e.destroy()}_insertView(e,t,n,i){let r=this._insertViewFromCache(t,n);if(r)return void(r.context.$implicit=i);const o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(e,t){const n=this._detachView(e,t);this._maybeCacheView(n,t)}_moveView(e,t,n,i){const r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}_maybeCacheView(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{const n=t.indexOf(e);-1===n?e.destroy():t.remove(n)}}_insertViewFromCache(e,t){const n=this._viewCache.pop();return n&&t.insert(n,e),n||null}_detachView(e,t){return t.detach(e)}}class u{constructor(e=!1,t,n=!0){this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.a,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}}let h=(()=>{class e{constructor(){this._listeners=[]}notify(e,t){for(let n of this._listeners)n(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})();const d=new s.InjectionToken("_ViewRepeater")},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("bHdf");function r(){return Object(i.a)(1)}},"0IaG":function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return D}));var i=n("rDax"),r=n("+rOU"),o=n("fXoL"),s=n("FKr1"),a=n("cH1L"),l=n("ofXK"),c=n("XNiG"),u=n("NXyV"),h=n("LRne"),d=n("pLZG"),p=n("IzEk"),f=n("JX91"),m=n("R0Ic"),g=n("FtGj"),b=n("u47x");function _(e,t){}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}}const y={dialogContainer:Object(m.m)("dialogContainer",[Object(m.j)("void, exit",Object(m.k)({opacity:0,transform:"scale(0.7)"})),Object(m.j)("enter",Object(m.k)({transform:"none"})),Object(m.l)("* => enter",Object(m.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(m.k)({transform:"none",opacity:1}))),Object(m.l)("* => void, * => exit",Object(m.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(m.k)({opacity:0})))])};let w=(()=>{class e extends r.a{constructor(e,t,n,i,r,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=n,this._config=r,this._focusMonitor=s,this._animationStateChanged=new o.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](b.i),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](l.DOCUMENT,8),o["\u0275\u0275directiveInject"](v),o["\u0275\u0275directiveInject"](b.h))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){var n;1&e&&o["\u0275\u0275staticViewQuery"](r.c,!0),2&e&&o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t._portalOutlet=n.first)},features:[o["\u0275\u0275InheritDefinitionFeature"]]}),e})(),C=(()=>{class e extends w{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return x(t||e)},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&o["\u0275\u0275syntheticHostListener"]("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(o["\u0275\u0275hostProperty"]("id",t._id),o["\u0275\u0275attribute"]("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),o["\u0275\u0275syntheticHostProperty"]("@dialogContainer",t._state))},features:[o["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&o["\u0275\u0275template"](0,_,0,0,"ng-template",0)},directives:[r.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}.cdk-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,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[y.dialogContainer]}}),e})();
1const x=o["\u0275\u0275getInheritedFactory"](C);let S=0;class O{constructor(e,t,n="mat-dialog-"+S++){this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,t._id=n,t._animationStateChanged.pipe(Object(d.a)(e=>"opened"===e.state),Object(p.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(Object(d.a)(e=>"closed"===e.state),Object(p.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(Object(d.a)(e=>e.keyCode===g.f&&!this.disableClose&&!Object(g.r)(e))).subscribe(e=>{e.preventDefault(),k(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Object(d.a)(e=>"closing"===e.state),Object(p.a)(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}const E=new o.InjectionToken("MatDialogData"),P=new o.InjectionToken("mat-dialog-default-options"),I=new o.InjectionToken("mat-dialog-scroll-strategy"),T={provide:I,deps:[i.c],useFactory:function(e){return()=>e.scrollStrategies.block()}};let M=(()=>{class e{constructor(e,t,n,i,r,o,s,a,l){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=s,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(u.a)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(f.a)(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new v)).id&&this.getDialogById(t.id);const n=this._createOverlay(t),i=this._attachDialogContainer(n,t),r=this._attachDialogContent(e,i,n,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),i._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>
1t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const n=o.Injector.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:t}]}),i=new r.d(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,n,i){const s=new this._dialogRefConstructor(n,t,i.id);if(e instanceof o.TemplateRef)t.attachTemplatePortal(new r.h(e,null,{$implicit:i.data,dialogRef:s}));else{const n=this._createInjector(i,s,t),o=t.attachComponentPortal(new r.d(e,i.viewContainerRef,n));s.componentInstance=o.instance}return s.updateSize(i.width,i.height).updatePosition(i.position),s}_createInjector(e,t,n){const i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(a.b,null)||r.push({provide:a.b,useValue:{value:e.direction,change:Object(h.a)()}}),o.Injector.create({parent:i||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](i.c),o["\u0275\u0275directiveInject"](o.Injector),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](i.e),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](o.Type),o["\u0275\u0275directiveInject"](o.Type),o["\u0275\u0275directiveInject"](o.InjectionToken))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e}),e})(),A=(()=>{class e extends M{constructor(e,t,n,i,r,o,s){super(e,t,i,o,s,r,O,C,E)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](i.c),o["\u0275\u0275inject"](o.Injector),o["\u0275\u0275inject"](l.Location,8),o["\u0275\u0275inject"](P,8),o["\u0275\u0275inject"](I),o["\u0275\u0275inject"](e,12),o["\u0275\u0275inject"](i.e))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[A,T],imports:[[i.f,r.g,s.h],s.h]}),e})()},"0MNC":function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return S}));var i=n("fXoL"),r=n("8LU1"),o=n("XNiG"),s=n("itXk"),a=n("GyhO"),l=n("HDdC"),c=n("IzEk"),u=n("7o/Q");class h{constructor(e){this.total=e}call(e,t){return t.subscribe(new d(e,this.total))}}class d extends u.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}var p=n("Kj3r"),f=n("lJxs"),m=n("JX91"),g=n("1G5W"),b=n("nLfN");const _=new Set;let v,y=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!_.has(e))try{v||(v=document.createElement("style"),v.setAttribute("type","text/css"),document.head.appendChild(v)),v.sheet&&(v.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),_.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](b.a))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(b.a))},token:e,providedIn:"root"}),e})();function w(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=ne
1w o.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return x(Object(r.a)(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){const t=x(Object(r.a)(e)).map(e=>this._registerQuery(e).observable);let n=Object(s.a)(t);return n=Object(a.a)(n.pipe(Object(c.a)(1)),n.pipe(e=>e.lift(new h(1)),Object(p.a)(0))),n.pipe(Object(f.a)(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:n})=>{t.matches=t.matches||e,t.breakpoints[n]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),n={observable:new l.a(e=>{const n=t=>this._zone.run(()=>e.next(t));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(Object(m.a)(t),Object(f.a)(({matches:t})=>({query:e,matches:t})),Object(g.a)(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](y),i["\u0275\u0275inject"](i.NgZone))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(y),Object(i["\u0275\u0275inject"])(i.NgZone))},token:e,providedIn:"root"}),e})();function x(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const S={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},1:function(e,t){},"1G5W":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("zx2A");function r(e){return t=>t.lift(new o(e))}class o{constructor(e){this.notifier=e}call(e,t){const n=new s(e),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}class s extends i.b{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1uat":function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("MlIO"),function(){var e=i,t=e.lib.Hasher,n=e.x64,r=n.Word,o=n.WordArray,s=e.algo;function a(){return r.create.apply(r,arguments)}var l=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(198
16661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=a()}();var u=s.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],h=n[6],d=n[7],p=i.high,f=i.low,m=r.high,g=r.low,b=o.high,_=o.low,v=s.high,y=s.low,w=a.high,C=a.low,x=u.high,S=u.low,O=h.high,k=h.low,E=d.high,P=d.low,I=p,T=f,M=m,A=g,D=b,j=_,N=v,R=y,L=w,F=C,V=x,B=S,U=O,H=k,z=E,G=P,q=0;q<80;q++){var W,K,X=c[q];if(q<16)K=X.high=0|e[t+2*q],W=X.low=0|e[t+2*q+1];else{var $=c[q-15],Q=$.high,Y=$.low,Z=(Y>>>1|Q<<31)^(Y>>>8|Q<<24)^(Y>>>7|Q<<25),J=c[q-2],ee=J.high,te=J.low,ne=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),ie=c[q-7],re=c[q-16],oe=re.low;X.high=K=(K=(K=((Q>>>1|Y<<31)^(Q>>>8|Y<<24)^Q>>>7)+ie.high+((W=Z+ie.low)>>>0<Z>>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((W+=ne)>>>0<ne>>>0?1:0))+re.high+((W+=oe)>>>0<oe>>>0?1:0),X.low=W}var se,ae=L&V^~L&U,le=F&B^~F&H,ce=I&M^I&D^M&D,ue=(T>>>28|I<<4)^(T<<30|I>>>2)^(T<<25|I>>>7),he=l[q],de=he.low,pe=z+((L>>>14|F<<18)^(L>>>18|F<<14)^(L<<23|F>>>9))+((se=G+((F>>>14|L<<18)^(F>>>18|L<<14)^(F<<23|L>>>9)))>>>0<G>>>0?1:0),fe=ue+(T&A^T&j^A&j);z=U,G=H,U=V,H=B,V=L,B=F,L=N+(pe=(pe=(pe=pe+ae+((se+=le)>>>0<le>>>0?1:0))+he.high+((se+=de)>>>0<de>>>0?1:0))+K+((se+=W)>>>0<W>>>0?1:0))+((F=R+se|0)>>>0<R>>>0?1:0)|0,N=D,R=j,D=M,j=A,M=I,A=T,I=pe+(((I>>>28|T<<4)^(I<<30|T>>>2)^(I<<25|T>>>7))+ce+(fe>>>0<ue>>>0?1:0))+((T=se+fe|0)>>>0<se>>>0?1:0)|0}f=i.low=f+T,i.high=p+I+(f>>>0<T>>>0?1:0),g=r.low=g+A,r.high=m+M+(g>>>0<A>>>0?1:0),_=o.low=_+j,o.high=b+D+(_>>>0<j>>>0?1:0),y=s.low=y+R,s.high=v+N+(y>>>0<R>>>0?1:0),C=a.low=C+F,a.high=w+L+(C>>>0<F>>>0?1:0),S=u.low=S+B,u.high=x+V+(S>>>0<B>>>0?1:0),k=h.low=k+H,h.high=O+U+(k>>>0<H>>>0?1:0),P=d.low=P+G,d.high=E+z+(P>>>0<G>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(i+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),i.SHA512)},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("XNiG"),r=n("9ppp");class o extends i.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(e){super.next(this._value=e)}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior b
1y code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"3E0/":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("D0XW"),r=n("mlxB"),o=n("7o/Q"),s=n("WMd4");function a(e,t=i.a){const n=Object(r.a)(e)?+e-t.now():Math.abs(e);return e=>e.lift(new l(n,t))}class l{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new c(e,this.delay,this.scheduler))}}class c extends o.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,r=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(c.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new u(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(s.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.time=e,this.notification=t}}},"3N8a":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("quSY");class r extends i.a{constructor(e,t){super()}schedule(e,t=0){return this}}class o extends r{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return Me})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return Be})),n.d(t,"f",(function(){return he})),n.d(t,"g",(function(){return xe})),n.d(t,"h",(function(){return Ee})),n.d(t,"i",(function(){return Oe})),n.d(t,"j",(function(){return Ue})),n.d(t,"k",(function(){return Re})),n.d(t,"l",(function(){return je})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return l})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return y})),n.d(t,"r",(function(){return ge})),n.d(t,"s",(function(){return ve})),n.d(t,"t",(function(){return Fe})),n.d(t,"u",(function(){return He})),n.d(t,"v",(function(){return Te})),n.d(t,"w",(function(){return k})),n.d(t,"x",(function(){return ye}));var i=n("fXoL"),r=n("ofXK"),o=n("cp0P"),s=n("Cfvw"),a=n("lJxs");const l=new i.InjectionToken("NgValueAccessor"),c={provide:l,useExisting:Object(i.forwardRef)(()=>u),multi:!0};let u=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[i["\u0275\u0275ProvidersFeature"]([c])]}),e})();const h={provide:l,useExisting:Object(i.forwardRef)(()=>p),multi:!0},d=new i.InjectionToken("CompositionEventMode");let p=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(r["\u0275getDOM"])()?Object(r["\u0275getDOM"])().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](d,8))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[i["\u0275\u0275ProvidersFeature"]([h])]}),e})(),f=(()=>{class e{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(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e}),e})(),m=(()=>{class e extends f{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return g(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,features:[i["\u0275\u0275InheritDefinitionFeature"]]}),e})();
1const g=i["\u0275\u0275getInheritedFactory"](m);class b extends f{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class _{constructor(e){this._cd=e}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 v=(()=>{class e extends _{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b,2))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i["\u0275\u0275InheritDefinitionFeature"]]}),e})(),y=(()=>{class e extends _{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m,2))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i["\u0275\u0275InheritDefinitionFeature"]]}),e})();function w(e){return null==e||0===e.length}function C(e){return null!=e&&"number"==typeof e.length}const x=new i.InjectionToken("NgValidators"),S=new i.InjectionToken("NgAsyncValidators"),O=/^(?=.{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 k{static min(e){return t=>{if(w(t.value)||w(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(w(t.value)||w(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return w(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return w(e.value)||O.test(e.value)?null:{email:!0}}static minLength(e){return t=>w(t.value)||!C(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}static maxLength(e){return t=>C(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return k.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(w(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(E);return 0==t.length?null:function(e){return I(T(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(E);return 0==t.length?null:function(e){const n=T(e,t).map(P);return Object(o.a)(n).pipe(Object(a.a)(I))}}}function E(e){return null!=e}function P(e){const t=Object(i["\u0275isPromise"])(e)?Object(s.a)(e):e;return Object(i["\u0275isObservable"])(t),t}function I(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function T(e,t){return t.map(t=>t(e))}function M(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}const A={provide:l,useExisting:Object(i.forwardRef)(()=>D),multi:!0};let D=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i["\u0275\u0275ProvidersFeature"]([A])]}),e})();const j={provide:l,useExisting:Object(i.forwardRef)(()=>R),multi:!0};let N=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}
1select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),R=(()=>{class e{constructor(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(b),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](N),i["\u0275\u0275directiveInject"](i.Injector))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i["\u0275\u0275ProvidersFeature"]([j])]}),e})();const L={provide:l,useExisting:Object(i.forwardRef)(()=>F),multi:!0};let F=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i["\u0275\u0275ProvidersFeature"]([L])]}),e})();const V={provide:l,useExisting:Object(i.forwardRef)(()=>B),multi:!0};let B=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i["\u0275\u0275ProvidersFeature"]([V])]}),e})();const U={provide:l,useExisting:Object(i.forwardRef)(()=>H),multi:!0};let H=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};
1this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const i=e.item(t),r=this._getOptionValue(i.value);n.push(r)}}else{const e=t.options;for(let t=0;t<e.length;t++){const i=e.item(t);if(i.selected){const e=this._getOptionValue(i.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i["\u0275\u0275ProvidersFeature"]([U])]}),e})();function z(e,t){return[...t.path,e]}function G(e,t){e.validator=k.compose([e.validator,t.validator]),e.asyncValidator=k.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&q(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&q(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function q(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function W(e,t){e.validator=k.compose([e.validator,t.validator]),e.asyncValidator=k.composeAsync([e.asyncValidator,t.asyncValidator])}function K(e){return null!=e?k.compose(M(e)):null}function X(e){return null!=e?k.composeAsync(M(e)):null}function $(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}const Q=[u,F,D,B,H,R];function Y(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Z(e,t){if(!t)return null;Array.isArray(t);let n=void 0,i=void 0,r=void 0;return t.forEach(e=>{var t;e.constructor===p?n=e:(t=e,Q.some(e=>t.constructor===e)?i=e:r=e)}),r||i||n||null}function J(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ee(e,t,n,r){Object(i.isDevMode)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}const te="VALID",ne="INVALID",ie="PENDING",re="DISABLED";function oe(e){return(ce(e)?e.validators:e)||null}function se(e){return Array.isArray(e)?K(e):e||null}function ae(e,t){return(ce(t)?t.asyncValidators:e)||null}function le(e){return Array.isArray(e)?X(e):e||null}function ce(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ue{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=se(this._rawValidators),this._composedAsyncValidatorFn=le
1(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===te}get invalid(){return this.status===ne}get pending(){return this.status==ie}get disabled(){return this.status===re}get enabled(){return this.status!==re}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=se(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=le(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}
1markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ie,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=re,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=te,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==te&&this.status!==ie||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?re:te}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ie,this._hasOwnPendingAsyncValidator=!0;const t=P(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof de?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof pe&&i.at(e)||null}),i}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new i.EventEmitter,this.statusChanges=new i.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?re:this.errors?ne:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ie)?ie:this._anyControlsHaveStatus(ne)?ne:te}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ce(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class he extends ue{constructor(e=null,t,n){super(oe(t),ae(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateV
vendor: 4,176 bytes, line 1
1alueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class de extends ue{constructor(e,t,n){super(oe(t),ae(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof he?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class pe extends ue{constructor(e,t,n){super(oe(t),ae(n,t)),this.controls=e,this._initOb
1servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof he?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const fe={provide:m,useExisting:Object(i.forwardRef)(()=>ge)},me=(()=>Promise.resolve(null))();let ge=(()=>{class e extends m{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.EventEmitter,this.form=new de({},K(e),X(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){me.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),G(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){me.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),J(this._directives,e)})}addFormGroup(e){me.then(()=>{const t=this._findContainer(e.path),n=new de({});W(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){me.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){me.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Y(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](x,10),i["\u0275\u0275directiveInject"](S,10))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i["\u0275\u0275ProvidersFeature"]([fe]),i["\u0275\u0275InheritDefinitionFeature"]]}),e})();const be={provide:b,useExisting:Object(i.forwardRef)(()=>ve)},_e=(()=>Promise.resolve(null))();let ve=(()=>{class e extends b{constructor(e,t,n,r){super(),this.control=new he,this._registered=!1,this.update=new i.EventEmitter,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=Z(0,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),$(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?z(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return K(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){G(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){_e.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;_e.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m,9),i["\u0275\u0275directiveInject"](x,10),i["\u0275\u0275directiveInject"](S,10),i["\u0275\u0275directiveInject"](l,10))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,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["\u0275\u0275ProvidersFeature"]([be]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]]}),e})(),ye=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const we=new i.InjectionToken("NgModelWithFormControlWarning"),Ce={provide:b,useExisting:Object(i.forwardRef)(()=>xe)};let xe=(()=>{class e extends b{constructor(e,t,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.EventEmitter,this._ngModelWarningSent=!1,this._rawValidators=e||[],this._rawAsyncValidators=t||[],this.valueAccessor=Z(0,n)}set isDisabled(e){}ngOnChanges(t){this._isControlChanged(t)&&(G(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),$(t,this.viewModel)&&(ee(0,e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return K(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](x,10),i["\u0275\u0275directiveInject"](S,10),i["\u0275\u0275directiveInject"](l,10),i["\u0275\u0275directiveInject"](we,8))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i["\u0275\u0275ProvidersFeature"]([Ce]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();const Se={provide:m,useExisting:Object(i.forwardRef)(()=>Oe)};let Oe=(()=>
1{class e extends m{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.EventEmitter}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return G(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){J(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);W(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);W(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Y(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){const n=()=>{};t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&G(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=K(this._validators);this.form.validator=k.compose([this.form.validator,e]);const t=X(this._asyncValidators);this.form.asyncValidator=k.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](x,10),i["\u0275\u0275directiveInject"](S,10))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i["\u0275\u0275ProvidersFeature"]([Se]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]]}),e})();const ke={provide:b,useExisting:Object(i.forwardRef)(()=>Ee)};let Ee=(()=>{class e extends b{constructor(e,t,n,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new i.EventEmitter,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=Z(0,r)}set isDisabled(e){}ngOnChanges(t){this._added||this._setUpControl(),$(t,this.viewModel)&&(ee(0,e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return z(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return K(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](m,13),i["\u0275\u0275directiveInject"](x,10),i["\u0275\u0275directiveInject"](S,10),i["\u0275\u0275directiveInject"](l,10),i["\u0275\u0275directiveInject"](we,8))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i["\u0275\u0275ProvidersFeature"]([ke]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e})();const Pe={provide:x,useExisting:Object(i.forwardRef)(()=>Te),multi:!0},Ie={provide:x,useExisting:Object(i.forwardRef)(()=>Me),multi:!0};let Te=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?k.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i["\u0275\u0275attribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[i["\u0275\u0275ProvidersFeature"]([Pe])]}),e})(),Me=(()=>{class e extends Te{validate(e){return this.required?k.requiredTrue(e):null}}return e.\u0275fac=function(t){return Ae(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["\u0275\u0275attribute"]("required",t.required?"":null)},features:[i["\u0275\u0275ProvidersFeature"]([Ie]),i["\u0275\u0275InheritDefinitionFeature"]]}),e})();
1const Ae=i["\u0275\u0275getInheritedFactory"](Me),De={provide:x,useExisting:Object(i.forwardRef)(()=>je),multi:!0};let je=(()=>{class e{constructor(){this._validator=k.nullValidator}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=k.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["\u0275\u0275attribute"]("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[i["\u0275\u0275ProvidersFeature"]([De]),i["\u0275\u0275NgOnChangesFeature"]]}),e})();const Ne={provide:x,useExisting:Object(i.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class e{constructor(){this._validator=k.nullValidator}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=k.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["\u0275\u0275attribute"]("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i["\u0275\u0275ProvidersFeature"]([Ne]),i["\u0275\u0275NgOnChangesFeature"]]}),e})();const Le={provide:x,useExisting:Object(i.forwardRef)(()=>Fe),multi:!0};let Fe=(()=>{class e{constructor(){this._validator=k.nullValidator}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=k.pattern(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i["\u0275\u0275attribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[i["\u0275\u0275ProvidersFeature"]([Le]),i["\u0275\u0275NgOnChangesFeature"]]}),e})(),Ve=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),Be=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i=null,r=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new de(n,{asyncValidators:r,updateOn:o,validators:i})}control(e,t,n){return new he(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new pe(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof he||e instanceof de||e instanceof pe?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),Ue=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[N],imports:[Ve]}),e})(),He=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:we,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Be,N],imports:[Ve]}),e})()},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3UWI":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("D0XW"),r=n("zx2A");class o{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new s(e,this.durationSelector))}}class s extends r.b{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;
1n=t(e)}catch(t){return this.destination.error(t)}const i=Object(r.c)(n,new r.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function l(e,t=i.a){return n=()=>Object(a.a)(e,t),function(e){return e.lift(new o(n))};var n}},"3bO9":function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("tk/3"),r=n("LRne"),o=n("un/a"),s=n("JIr8"),a=n("lJxs"),l=n("AytR"),c=n("fXoL"),u=n("7o2P");let h=(()=>{class e{constructor(e,t){this.http=e,this.commonService=t,this.options={headers:new i.c({"Content-Type":"application/json"})}}getHomeContent(e,t){let n;return n="od"==n?"od":"",this.http.get(l.a.apiURL+"catalog_lists/home-list?region="+t+"&item_language="+n+"&page=0&page_size=0&start_count="+e+"&auth_token="+l.a.authtoken+"&pagination=true").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}isItemsCatalog(e){return"tarangaplus-originals"===e}getCatloagContent(e,t,n,i){return this.isItemsCatalog(t)?e>0?Object(r.a)({data:{catalog_list_items:[]}}):this.http.get(l.a.apiURL+"catalogs/"+t+"/items.gzip?region="+i+"&page=0&page_size=100&start_count="+e+"&auth_token="+l.a.authtoken+"&pagination=true").pipe(Object(o.a)(1),Object(a.a)(e=>this.normalizeCatalogItemsToList(e,t)),Object(s.a)(this.commonService.handleError)):this.http.get(l.a.apiURL+"catalog_lists/"+t+".gzip?region="+i+"&page=0&page_size=0&start_count="+e+"&auth_token="+l.a.authtoken+"&pagination=true").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}normalizeCatalogItemsToList(e,t){var n;const i=(null==e?void 0:e.data)||{},r=(i.items||[]).map(e=>(e.catalog_object?e.catalog_object.friendly_id||(e.catalog_object.friendly_id=t):e.catalog_object={friendly_id:t},e)),o=(null===(n=i.catalog_object)||void 0===n?void 0:n.layout_scheme)||"t_2_3_movie",s=i.display_title||i.name||t;return Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},i),{display_title:s,layout_scheme:o,catalog_list_items:[{layout_type:"t_16_9_banner",catalog_list_items:r.slice(0,Math.min(5,r.length)),display_title:s,title:s,home_link:t},{layout_type:o,catalog_list_items:r,display_title:s,title:s,home_link:t,friendly_id:t}]})})}getserialEpisodes(e){return this.http.get(l.a.apiURL+"catalog_lists/premium-serials-episodes?region="+e+"&page=0&page_size=0&auth_token="+l.a.authtoken+"&pagination=true").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getStarDetails(e){return this.http.get(l.a.apiURL+"starcast_search/"+e+"?&region=any&item_language=&auth_token="+l.a.authtoken).pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getLiveTVContent(e,t){return this.http.get(l.a.apiURL+"catalog_lists/popular-channels.gzip?page_size=150&region="+t+"&item_language="+(e="od"==e?"od":"")+"&auth_token="+l.a.authtoken).pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getLiveTvContentDetails(e,t,n){return this.http.get(l.a.apiURL+"catalogs/"+e+"/items/"+t+"/programs.gzip?region="+n+"&auth_token="+l.a.authtoken).pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getLiveTvContentDetailsByTime(e,t,n){return this.http.get(l.a.apiURL+"catalogs/live-tv/items/"+e+"/programs.gzip?region="+t+"&auth_token="+l.a.authtoken+"&start_time="+n).pipe(Object(s.a)(this.commonService.handleError))}getItemDetails(e,t,n,i){return this.http.get(l.a.apiURL+"catalogs/"+t+"/items/"+n+".gzip?&region="+i+"&item_language="+(e="od"==e?"od":"")+"&auth_token="+l.a.authtoken).pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getEpisodeDetails(e,t,n,i,r){return this.http.get(l.a.apiURL+"catalogs/shows/"+n+"/episodes/"+i+".gzip?&region="+r+"&item_language="+(e="od"==e?"od":"")+"&auth_token="+l.a.authtoken).pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getAllEpisodes(e,t,n,i,r){return e="od"==e?"od":"",n.includes("share_url=true")&&(n=n.split("?")[0]),this.http.get(l.a.apiURL+"catalogs/"+t+"/items/"+n+"/episodes.gzip?order_by="+r+"&region="+i+"&item_language="+e+"&auth_token="+l.a.authtoken+"&status=published").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getSeasonEpisodes(e,t,n,i,r){return this.http.get(l.a.apiURL+"catalogs/"+n+"/items/"+i+"/subcategories/"+e+"/episodes.gzip?order_by="+t+"&auth_token="+l.a.authtoken+"&region="+r+"&status=published").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getEpisodesWithoutSeasons(e,t,n){return this.http.get(l.a.apiURL+"catalogs/"+e+"/items/"+t+"/episode_list?page=0&page_size=500&order_by=desc&auth_token="+l.a.authtoken+"&region="+n+"&item_language=en&status=published").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getRelatedItemsWithGenre(e,t,n,i,r){return null==t?this.http.get(l.a.apiURL+"catalogs/"+n+"/items.gzip?genres="+r+"&region="+i+"&start_count="+e+"&pageSize=20&item_language=null&auth_token="+l.a.authtoken+"&status=published").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError)):this.http.get(l.a.apiURL+"catalogs/"+n+"/items.gzip?genres="+r+"&region="+i+"&start_count="+e+"&pageSize=20&auth_token="+l.a.authtoken+"&languages="+t+"&status=published").pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getAssociatedVideos(e,t,n,i){return this.http.get(l.a.apiURL+"catalogs/"+t+"/items/"+n+"videolists.gzip?region="+i+"&item_language="+e+"&auth_token="+l.a.authtoken).pipe(Object(o.a)(1),Object(s.a)(this.commonService.handleError))}getSharaParameters(e,t){return this.http.post(l.a.apiURL+"users/get_share_parameters.gzip?&auth_token="+l.a.authtoken+"&region="+e+"&item_language=en",JSON.stringify(t),this.options).pipe(Object(s.a)(this.commonService.handleError))}getNextEpisode(e,t,n,i){return this.http.get(l.a.apiURL+"catalogs/"+e+"/items/"+t+"/episode_list?page=0&page_size=500&order_by=desc&auth_token="+l.a.authtoken+"&region="+i+"&status=published").pipe(Object(s.a)(this.commonService.handleError))}}return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](i.a),c["\u0275\u0275inject"](u.a))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"3y9D":function(e,t,n){var i,r,o,s,a,l,c;e.exports=(c=n("Ib8C"),o=(r=(i=c).lib).WordArray,a=[],l=i.algo.SHA1=(s=r.Hasher).extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],l=n[4],c=0;c<80;c++){if(c<16)a[c]=0|e[t+c];else{var u=a[c-3]^a[c-8]^a[c-14]^a[c-16];a[c]=u<<1|u>>>31}var h=(i<<5|i>>>27)+l+a[c];h+=c<20?1518500249+(r&o|~r&s):c<40?1859775393+(r^o^s):c<60?(r&o|r&s|o&s)-1894007588:(r^o^s)-899497514,l=s,s=o,o=r<<30|r>>>2,r=i,i=h}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(i+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),i.SHA1=s._createHelper(l),i.HmacSHA1=s._createHmacHelper(l),c.SHA1)},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("lJxs"),r=n("Cfvw"),o=n("zx2A");function s(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?o=>o.pipe(s((n,o)=>Object(r.a)(e(n,o)).pipe(Object(i.a)((e,i)=>t(n,e,o,i))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}class l extends o.b{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}_innerSub(e){const t=new o.a(this),n=this.destination;n.add(t);const i=Object(o.c)(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5hvy":function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("MlIO"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.x64.Word,a=t.algo,l=[],c=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var r=1,o=0;o<24;o++){for(var a=0,h=0,d=0;d<7;d++){if(1&r){var p=(1<<d)-1;p<32?h^=1<<p:a^=1<<p-32}128&r?r=r<<1^113:r<<=1}u[o]=s.create(a,h)}}();var h=[];!function(){for(var e=0;e<25;e++)h[e]=s.create()}();var d=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,i=this.blockSize/2,r=0;r<i;r++){var o=e[t+2*r],s=e[t+2*r+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(M=n[r]).high^=s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),M.low^=o}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var p=0,f=0,m=0;m<5;m++)p^=(M=n[d+5*m]).high,f^=M.low;var g=h[d];g.high=p,g.low=f}for(d=0;d<5;d++){var b=h[(d+4)%5],_=h[(d+1)%5],v=_.high,y=_.low;for(p=b.high^(v<<1|y>>>31),f=b.low^(y<<1|v>>>31),m=0;m<5;m++)(M=n[d+5*m]).high^=p,M.low^=f}for(var w=1;w<25;w++){var C=(M=n[w]).high,x=M.low,S=l[w];S<32?(p=C<<S|x>>>32-S,f=x<<S|C>>>32-S):(p=x<<S-32|C>>>64-S,f=C<<S-32|x>>>64-S);var O=h[c[w]];
1O.high=p,O.low=f}var k=h[0],E=n[0];for(k.high=E.high,k.low=E.low,d=0;d<5;d++)for(m=0;m<5;m++){var P=h[w=d+5*m],I=h[(d+1)%5+5*m],T=h[(d+2)%5+5*m];(M=n[w]).high=P.high^~I.high&T.high,M.low=P.low^~I.low&T.low}var M,A=u[a];(M=n[0]).high^=A.high,M.low^=A.low}},_doFinalize:function(){var t=this._data,n=t.words,i=8*t.sigBytes,o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,l=a/8,c=[],u=0;u<l;u++){var h=s[u],d=h.high,p=h.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),c.push(p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)),c.push(d)}return new r.init(c,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=o._createHelper(d),t.HmacSHA3=o._createHmacHelper(d)}(Math),i.SHA3)},"6GTT":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");let r=(()=>{class e{constructor(){}setGlobalTabName(e){this.tabName=e}getGlobalTabName(){return this.tabName}setGlobalTrayName(e){this.trayName=e}getGlobalTrayName(){return this.trayName}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"6nsN":function(e,t,n){"use strict";n.r(t);var i=n("zIRd");(function(){var e,t="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},n=function(e){e=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,e];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}return globalThis}(this);function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}!function(e,i){if(i){var r=n;e=e.split(".");for(var o=0;o<e.length-1;o++){var s=e[o];s in r||(r[s]={}),r=r[s]}(i=i(o=r[e=e[e.length-1]]))!=o&&null!=i&&t(r,e,{configurable:!0,writable:!0,value:i})}}("Promise",(function(e){function t(e){this.b=0,this.c=void 0,this.a=[];var t=this.f();try{e(t.resolve,t.reject)}catch(n){t.reject(n)}}function i(){this.a=null}function r(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;i.prototype.b=function(e){if(null==this.a){this.a=[];var t=this;this.c((function(){t.g()}))}this.a.push(e)};var s=n.setTimeout;i.prototype.c=function(e){s(e,0)},i.prototype.g=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var n=e[t];e[t]=null;try{n()}catch(i){this.f(i)}}}this.a=null},i.prototype.f=function(e){this.c((function(){throw e}))},t.prototype.f=function(){function e(e){return function(i){n||(n=!0,e.call(t,i))}}var t=this,n=!1;return{resolve:e(this.m),reject:e(this.g)}},t.prototype.m=function(e){if(e===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.s(e);else{e:switch(typeof e){case"object":var n=null!=e;break e;case"function":n=!0;break e;default:n=!1}n?this.v(e):this.h(e)}},t.prototype.v=function(e){var t=void 0;try{t=e.then}catch(n){return void this.g(n)}"function"==typeof t?this.u(t,e):this.h(e)},t.prototype.g=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.c=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)a.b(this.a[e]);this.a=null}};var a=new i;return t.prototype.s=function(e){var t=this.f();e.Ra(t.resolve,t.reject)},t.prototype.u=function(e,t){var n=this.f();try{e.call(t,n.resolve,n.reject)}catch(i){n.reject(i)}},t.prototype.then=function(e,n){function i(e,t){return"function"==typeof e?function(t){try{r(e(t))}catch(n){o(n)}}:t}var r,o,s=new t((function(e,t){r=e,o=t}));return this.Ra(i(e,r),i(n,o)),s},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.Ra=function(e,t){function n(){switch(i.b){case 1:e(i.c);break;case 2:t(i.c);break;default:throw Error("Unexpected state: "+i.b)}}var i=this;null==this.a?a.b(n):this.a.push(n)},t.resolve=r,t.reject=function(e){return new t((function(t,n){n(e)}))},t.race=function(e){return new t((function(t,n){for(var i=o(e),s=i.next();!s.done;s=i.next())r(s.value).Ra(t,n)}))},t.all=function(e){var n=o(e),i=n.next();return i.done?r([]):new t((function(e,t){function o(t){return function(n){s[t]=n,0==--a&&e(s)}}var s=[],a=0;do{s.push(void 0),a++,r(i.value).Ra(o(s.length-1),t),i=n.next()}while(!i.done)}))},t}));var s=s||{},a=this||self,l=/^[\w+/_-]+[=]{0,2}$/,c=null;function u(e){return(e=e.querySelector&&e.querySelector("script[n
1once]"))&&(e=e.nonce||e.getAttribute("nonce"))&&l.test(e)?e:""}function h(){}function d(e){var t=typeof e;return"object"!=t?t:e?Array.isArray(e)?"array":t:"null"}function p(e){var t=d(e);return"array"==t||"object"==t&&"number"==typeof e.length}function f(e){return"function"==d(e)}function m(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function g(e){return Object.prototype.hasOwnProperty.call(e,b)&&e[b]||(e[b]=++_)}var b="closure_uid_"+(1e9*Math.random()>>>0),_=0;function v(e,t,n){return e.call.apply(e.bind,arguments)}function y(e,t,n){if(!e)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,i),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function w(e,t,n){return(w=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?v:y).apply(null,arguments)}function C(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}var x=Date.now;function S(e,t){function n(){}n.prototype=t.prototype,e.bb=t.prototype,e.prototype=new n,e.prototype.constructor=e}function O(e){return e}function k(e,t,n){this.code=I+e,this.message=t||T[e]||"",this.a=n||null}function E(e){var t=e&&e.code;return t?new k(t.substring(I.length),e.message,e.serverResponse):null}S(k,Error),k.prototype.w=function(){var e={code:this.code,message:this.message};return this.a&&(e.serverResponse=this.a),e},k.prototype.toJSON=function(){return this.w()};var P,I="auth/",T={"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must al
1ways have a verified email.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invali
1d-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},M={ld:{Ua:"https://staging-identitytoolkit.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",$a:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Xa:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"b"},sd:{Ua:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",$a:"https://securetoken.googleapis.com/v1/token",Xa:"https://identitytoolkit.googleapis.com/v2/",id:"p"},ud:{Ua:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",$a:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Xa:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"s"},vd:{Ua:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",$a:"https://test-securetoken.sandbox.googleapis.com/v1/token",Xa:"https://test-identitytoolkit.sandbox.googleapis.com/v2/",id:"t"}};function A(e){for(var t in M)if(M[t].id===e)return{firebaseEndpoint:(e=M[t]).Ua,secureTokenEndpoint:e.$a,identityPlatformEndpoint:e.Xa};return null}function D(e){if(!e)return!1;
1try{return!!e.$goog_Thenable}catch(t){return!1}}function j(e){if(Error.captureStackTrace)Error.captureStackTrace(this,j);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function N(e,t){for(var n="",i=(e=e.split("%s")).length-1,r=0;r<i;r++)n+=e[r]+(r<t.length?t[r]:"%s");j.call(this,n+e[i])}function R(e,t){throw new N("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))}function L(e,t){this.c=e,this.f=t,this.b=0,this.a=null}function F(e,t){e.f(t),100>e.b&&(e.b++,t.next=e.a,e.a=t)}function V(){this.b=this.a=null}P=A("__EID__")?"__EID__":void 0,S(j,Error),j.prototype.name="CustomError",S(N,j),N.prototype.name="AssertionError",L.prototype.get=function(){if(0<this.b){this.b--;var e=this.a;this.a=e.next,e.next=null}else e=this.c();return e};var B=new L((function(){return new H}),(function(e){e.reset()}));function U(){var e=_t,t=null;return e.a&&(t=e.a,e.a=e.a.next,e.a||(e.b=null),t.next=null),t}function H(){this.next=this.b=this.a=null}V.prototype.add=function(e,t){var n=B.get();n.set(e,t),this.b?this.b.next=n:this.a=n,this.b=n},H.prototype.set=function(e,t){this.a=e,this.b=t,this.next=null},H.prototype.reset=function(){this.next=this.b=this.a=null};var z=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(e,t){if("string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,0);for(var n=0;n<e.length;n++)if(n in e&&e[n]===t)return n;return-1},G=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(e,t,n){for(var i=e.length,r="string"==typeof e?e.split(""):e,o=0;o<i;o++)o in r&&t.call(n,r[o],o,e)},q=Array.prototype.filter?function(e,t){return Array.prototype.filter.call(e,t,void 0)}:function(e,t){for(var n=e.length,i=[],r=0,o="string"==typeof e?e.split(""):e,s=0;s<n;s++)if(s in o){var a=o[s];t.call(void 0,a,s,e)&&(i[r++]=a)}return i},W=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(e,t){for(var n=e.length,i=Array(n),r="string"==typeof e?e.split(""):e,o=0;o<n;o++)o in r&&(i[o]=t.call(void 0,r[o],o,e));return i},K=Array.prototype.some?function(e,t){return Array.prototype.some.call(e,t,void 0)}:function(e,t){for(var n=e.length,i="string"==typeof e?e.split(""):e,r=0;r<n;r++)if(r in i&&t.call(void 0,i[r],r,e))return!0;return!1};function X(e,t){return 0<=z(e,t)}function $(e,t){var n;return(n=0<=(t=z(e,t)))&&Array.prototype.splice.call(e,t,1),n}function Q(e,t){!function(e,t){for(var n="string"==typeof e?e.split(""):e,i=e.length-1;0<=i;--i)i in n&&t.call(void 0,n[i],i,e)}(e,(function(n,i){t.call(void 0,n,i,e)&&Array.prototype.splice.call(e,i,1)}))}function Y(e){return Array.prototype.concat.apply([],arguments)}function Z(e){var t=e.length;if(0<t){for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}return[]}var J,ee=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},te=/&/g,ne=/</g,ie=/>/g,re=/"/g,oe=/'/g,se=/\x00/g,ae=/[\x00&<>"']/;function le(e,t){return-1!=e.indexOf(t)}function ce(e,t){return e<t?-1:e>t?1:0}e:{var ue=a.navigator;if(ue){var he=ue.userAgent;if(he){J=he;break e}}J=""}function de(e){return le(J,e)}function pe(e,t){for(var n in e)t.call(void 0,e[n],n,e)}function fe(e){for(var t in e)return!1;return!0}function me(e){var t,n={};for(t in e)n[t]=e[t];return n}var ge="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function be(e,t){for(var n,i,r=1;r<arguments.length;r++){for(n in i=arguments[r])e[n]=i[n];for(var o=0;o<ge.length;o++)n=ge[o],Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}}function _e(e,t){e:{try{var n=e&&e.ownerDocument,i=n&&(n.defaultView||n.parentWindow);if((i=i||a).Element&&i.Location){var r=i;break e}}catch(s){}r=null}if(r&&void 0!==r[t]&&(!e||!(e instanceof r[t])&&(e instanceof r.Location||e instanceof r.Element))){if(m(e))try{var o=e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(s){o="<object could not be stringified>"}else o=void 0===e?"undefined":null===e?"null":typeof e;R("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,o)}}function ve(e,t){this.a=e===xe&&t||"",this.b=Ce}function ye(e){return e instanceof ve&&e.constructor===ve&&e.b===Ce?e.a:(R("expected object of type Const, got '"+e+"'"),"type_error:Const")}ve.prototype.ta=!0,ve.prototype.sa=function(){return this.a},ve.prototype.toString=function(){return"Const{"+this.a+"}"};var we,Ce={},xe={};function Se(){if(void 0===we){var e=null,t=a.trustedTypes;if(t&&t.createPolicy){try{e=t.createPolicy("goog#html",{createHTML:O,createScript:O,createScriptURL:O})}catch(n){a.console&&a.console.error(n.message)}we=e}else we=e}return we}function Oe(e,t){this.a=t===Te?e:""}function ke(e){return e instanceof Oe&&e.constructor===Oe?e.a:(R("expected object of type TrustedResourceUrl, got '"+e+"' of type "+d(e)),"type_error:TrustedResourceUrl")}function Ee(e,t){var n=ye(e);if(!Ie.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return function(e){var t=Se();return new Oe(e=t?t.createScriptURL(e):e,Te)}(e=n.replace(Pe,(function(e,i){if(!Object.prototype.hasOwnProperty.call(t,i))throw Error('Found marker, "'+i+'", in format str
1ing, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[i])instanceof ve?ye(e):encodeURIComponent(String(e))})))}Oe.prototype.ta=!0,Oe.prototype.sa=function(){return this.a.toString()},Oe.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var Pe=/%{(\w+)}/g,Ie=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Te={};function Me(e,t){this.a=t===Fe?e:""}function Ae(e){return e instanceof Me&&e.constructor===Me?e.a:(R("expected object of type SafeUrl, got '"+e+"' of type "+d(e)),"type_error:SafeUrl")}Me.prototype.ta=!0,Me.prototype.sa=function(){return this.a.toString()},Me.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var De=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,je=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Ne=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function Re(e){if(e instanceof Me)return e;if(e="object"==typeof e&&e.ta?e.sa():String(e),Ne.test(e))e=new Me(e,Fe);else{var t=(e=(e=String(e)).replace(/(%0A|%0D)/g,"")).match(je);e=t&&De.test(t[1])?new Me(e,Fe):null}return e}function Le(e){return e instanceof Me?e:(e="object"==typeof e&&e.ta?e.sa():String(e),Ne.test(e)||(e="about:invalid#zClosurez"),new Me(e,Fe))}var Fe={},Ve=new Me("about:invalid#zClosurez",Fe);function Be(e,t,n){this.a=n===Ue?e:""}Be.prototype.ta=!0,Be.prototype.sa=function(){return this.a.toString()},Be.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Ue={};function He(e,t,n,i){return e=e instanceof Me?e:Le(e),t=t||a,n=n instanceof ve?ye(n):n||"",t.open(Ae(e),n,i,void 0)}function ze(e,t){for(var n=e.split("%s"),i="",r=Array.prototype.slice.call(arguments,1);r.length&&1<n.length;)i+=n.shift()+r.shift();return i+n.join("%s")}function Ge(e){return ae.test(e)&&(-1!=e.indexOf("&")&&(e=e.replace(te,"&amp;")),-1!=e.indexOf("<")&&(e=e.replace(ne,"&lt;")),-1!=e.indexOf(">")&&(e=e.replace(ie,"&gt;")),-1!=e.indexOf('"')&&(e=e.replace(re,"&quot;")),-1!=e.indexOf("'")&&(e=e.replace(oe,"&#39;")),-1!=e.indexOf("\0")&&(e=e.replace(se,"&#0;"))),e}function qe(e){return qe[" "](e),e}qe[" "]=h;var We,Ke,Xe=de("Opera"),$e=de("Trident")||de("MSIE"),Qe=de("Edge"),Ye=Qe||$e,Ze=de("Gecko")&&!(le(J.toLowerCase(),"webkit")&&!de("Edge"))&&!(de("Trident")||de("MSIE"))&&!de("Edge"),Je=le(J.toLowerCase(),"webkit")&&!de("Edge");function et(){var e=a.document;return e?e.documentMode:void 0}e:{var tt="",nt=(Ke=J,Ze?/rv:([^\);]+)(\)|;)/.exec(Ke):Qe?/Edge\/([\d\.]+)/.exec(Ke):$e?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(Ke):Je?/WebKit\/(\S+)/.exec(Ke):Xe?/(?:Version)[ \/]?(\S+)/.exec(Ke):void 0);if(nt&&(tt=nt?nt[1]:""),$e){var it=et();if(null!=it&&it>parseFloat(tt)){We=String(it);break e}}We=tt}var rt={};function ot(e){return function(e,t){var n=rt;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t()}(e,(function(){for(var t=0,n=ee(String(We)).split("."),i=ee(String(e)).split("."),r=Math.max(n.length,i.length),o=0;0==t&&o<r;o++){var s=n[o]||"",a=i[o]||"";do{if(s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],0==s[0].length&&0==a[0].length)break;t=ce(0==s[1].length?0:parseInt(s[1],10),0==a[1].length?0:parseInt(a[1],10))||ce(0==s[2].length,0==a[2].length)||ce(s[2],a[2]),s=s[3],a=a[3]}while(0==t)}return 0<=t}))}var st=a.document&&$e&&(et()||parseInt(We,10))||void 0;try{new self.OffscreenCanvas(0,0).getContext("2d")}catch(Ke){}var at=!$e||9<=Number(st);function lt(e){var t=document;return"string"==typeof e?t.getElementById(e):e}function ct(e,t){pe(t,(function(t,n){t&&"object"==typeof t&&t.ta&&(t=t.sa()),"style"==n?e.style.cssText=t:"class"==n?e.className=t:"for"==n?e.htmlFor=t:dt.hasOwnProperty(n)?e.setAttribute(dt[n],t):0==n.lastIndexOf("aria-",0)||0==n.lastIndexOf("data-",0)?e.setAttribute(n,t):e[n]=t}))}var ut,ht,dt={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",
1nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function pt(e,t,n){function i(n){n&&t.appendChild("string"==typeof n?e.createTextNode(n):n)}for(var r=2;r<n.length;r++){var o=n[r];if(!p(o)||m(o)&&0<o.nodeType)i(o);else{e:{if(o&&"number"==typeof o.length){if(m(o)){var s="function"==typeof o.item||"string"==typeof o.item;break e}if(f(o)){s="function"==typeof o.item;break e}}s=!1}G(s?Z(o):o,i)}}}function ft(e,t){return t=String(t),"application/xhtml+xml"===e.contentType&&(t=t.toLowerCase()),e.createElement(t)}function mt(e){a.setTimeout((function(){throw e}),0)}function gt(e,t){ht||function(){if(a.Promise&&a.Promise.resolve){var e=a.Promise.resolve(void 0);ht=function(){e.then(vt)}}else ht=function(){var e=vt;!f(a.setImmediate)||a.Window&&a.Window.prototype&&!de("Edge")&&a.Window.prototype.setImmediate==a.setImmediate?(ut||(ut=function(){var e=a.MessageChannel;if(void 0===e&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!de("Presto")&&(e=function(){var e=ft(document,"IFRAME");e.style.display="none",document.documentElement.appendChild(e);var t=e.contentWindow;(e=t.document).open(),e.close();var n="callImmediate"+Math.random(),i="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host;e=w((function(e){"*"!=i&&e.origin!=i||e.data!=n||this.port1.onmessage()}),this),t.addEventListener("message",e,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(n,i)}}}),void 0!==e&&!de("Trident")&&!de("MSIE")){var t=new e,n={},i=n;return t.port1.onmessage=function(){if(void 0!==n.next){var e=(n=n.next).Hb;n.Hb=null,e()}},function(e){i.next={Hb:e},i=i.next,t.port2.postMessage(0)}}return function(e){a.setTimeout(e,0)}}()),ut(e)):a.setImmediate(e)}}(),bt||(ht(),bt=!0),_t.add(e,t)}var bt=!1,_t=new V;function vt(){for(var e;e=U();){try{e.a.call(e.b)}catch(t){mt(t)}F(B,e)}bt=!1}function yt(e,t){if(this.a=wt,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,e!=h)try{var n=this;e.call(t,(function(e){Dt(n,Ct,e)}),(function(e){if(!(e instanceof Bt))try{if(e instanceof Error)throw e;throw Error("Promise rejected.")}catch(t){}Dt(n,xt,e)}))}catch(i){Dt(this,xt,i)}}var wt=0,Ct=2,xt=3;function St(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}St.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var Ot=new L((function(){return new St}),(function(e){e.reset()}));function kt(e,t,n){var i=Ot.get();return i.g=e,i.b=t,i.f=n,i}function Et(e){if(e instanceof yt)return e;var t=new yt(h);return Dt(t,Ct,e),t}function Pt(e){return new yt((function(t,n){n(e)}))}function It(e,t,n){jt(e,t,n,null)||gt(C(t,e))}function Tt(e){return new yt((function(t){var n=e.length,i=[];if(n)for(var r=function(e,r,o){n--,i[e]=r?{Qb:!0,value:o}:{Qb:!1,reason:o},0==n&&t(i)},o=0;o<e.length;o++)It(e[o],C(r,o,!0),C(r,o,!1));else t(i)}))}function Mt(e,t){e.b||e.a!=Ct&&e.a!=xt||Nt(e),e.f?e.f.next=t:e.b=t,e.f=t}function At(e,t,n,i){var r=kt(null,null,null);return r.a=new yt((function(e,o){r.g=t?function(n){try{var r=t.call(i,n);e(r)}catch(s){o(s)}}:e,r.b=n?function(t){try{var r=n.call(i,t);void 0===r&&t instanceof Bt?o(t):e(r)}catch(s){o(s)}}:o})),r.a.c=e,Mt(e,r),r.a}function Dt(e,t,n){e.a==wt&&(e===n&&(t=xt,n=new TypeError("Promise cannot resolve to itself")),e.a=1,jt(n,e.$c,e.ad,e)||(e.i=n,e.a=t,e.c=null,Nt(e),t!=xt||n instanceof Bt||function(e,t){e.g=!0,gt((function(){e.g&&Vt.call(null,t)}))}(e,n)))}function jt(e,t,n,i){if(e instanceof yt)return Mt(e,kt(t||h,n||null,i)),!0;if(D(e))return e.then(t,n,i),!0;if(m(e))try{var r=e.then;if(f(r))return function(e,t,n,i,r){function o(e){s||(s=!0,i.call(r,e))}var s=!1;try{t.call(e,(function(e){s||(s=!0,n.call(r,e))}),o)}catch(a){o(a)}}(e,r,t,n,i),!0}catch(o){return n.call(i,o),!0}return!1}function Nt(e){e.h||(e.h=!0,gt(e.gc,e))}function Rt(e){var t=null;return e.b&&(e.b=(t=e.b).next,t.next=null),e.b||(e.f=null),t}function Lt(e,t,n,i){if(n==xt&&t.b&&!t.c)for(;e&&e.g;e=e.c)e.g=!1;if(t.a)t.a.c=null,Ft(t,n,i);else try{t.c?t.g.call(t.f):Ft(t,n,i)}catch(r){Vt.call(null,r)}F(Ot,t)}function Ft(e,t,n){t==Ct?e.g.call(e.f,n):e.b&&e.b.call(e.f,n)}yt.prototype.then=function(e,t,n){return At(this,f(e)?e:null,f(t)?t:null,n)}
1,yt.prototype.$goog_Thenable=!0,(e=yt.prototype).oa=function(e,t){return(e=kt(e,e,t)).c=!0,Mt(this,e),this},e.o=function(e,t){return At(this,null,e,t)},e.cancel=function(e){if(this.a==wt){var t=new Bt(e);gt((function(){!function e(t,n){if(t.a==wt)if(t.c){var i=t.c;if(i.b){for(var r=0,o=null,s=null,a=i.b;a&&(a.c||(r++,a.a==t&&(o=a),!(o&&1<r)));a=a.next)o||(s=a);o&&(i.a==wt&&1==r?e(i,n):(s?((r=s).next==i.f&&(i.f=r),r.next=r.next.next):Rt(i),Lt(i,o,xt,n)))}t.c=null}else Dt(t,xt,n)}(this,t)}),this)}},e.$c=function(e){this.a=wt,Dt(this,Ct,e)},e.ad=function(e){this.a=wt,Dt(this,xt,e)},e.gc=function(){for(var e;e=Rt(this);)Lt(this,e,this.a,this.i);this.h=!1};var Vt=mt;function Bt(e){j.call(this,e)}function Ut(){0!=Ht&&(zt[g(this)]=this),this.ya=this.ya,this.pa=this.pa}S(Bt,j),Bt.prototype.name="cancel";var Ht=0,zt={};function Gt(e){if(!e.ya&&(e.ya=!0,e.Da(),0!=Ht)){var t=g(e);if(0!=Ht&&e.pa&&0<e.pa.length)throw Error(e+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete zt[t]}}Ut.prototype.ya=!1,Ut.prototype.Da=function(){if(this.pa)for(;this.pa.length;)this.pa.shift()()};var qt=Object.freeze||function(e){return e},Wt=!$e||9<=Number(st),Kt=$e&&!ot("9"),Xt=function(){if(!a.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{a.addEventListener("test",h,t),a.removeEventListener("test",h,t)}catch(n){}return e}();function $t(e,t){this.type=e,this.b=this.target=t,this.defaultPrevented=!1}function Qt(e,t){if($t.call(this,e?e.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,e){var n=this.type=e.type,i=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.b=t,t=e.relatedTarget){if(Ze){e:{try{qe(t.nodeName);var r=!0;break e}catch(o){}r=!1}r||(t=null)}}else"mouseover"==n?t=e.fromElement:"mouseout"==n&&(t=e.toElement);this.relatedTarget=t,i?(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"==typeof e.pointerType?e.pointerType:Yt[e.pointerType]||"",this.a=e,e.defaultPrevented&&this.preventDefault()}}$t.prototype.preventDefault=function(){this.defaultPrevented=!0},S(Qt,$t);var Yt=qt({2:"touch",3:"pen",4:"mouse"});Qt.prototype.preventDefault=function(){Qt.bb.preventDefault.call(this);var e=this.a;if(e.preventDefault)e.preventDefault();else if(e.returnValue=!1,Kt)try{(e.ctrlKey||112<=e.keyCode&&123>=e.keyCode)&&(e.keyCode=-1)}catch(t){}},Qt.prototype.g=function(){return this.a};var Zt="closure_listenable_"+(1e6*Math.random()|0),Jt=0;function en(e,t,n,i,r){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!i,this.Wa=r,this.key=++Jt,this.wa=this.Qa=!1}function tn(e){e.wa=!0,e.listener=null,e.proxy=null,e.src=null,e.Wa=null}function nn(e){this.src=e,this.a={},this.b=0}function rn(e,t){var n=t.type;n in e.a&&$(e.a[n],t)&&(tn(t),0==e.a[n].length&&(delete e.a[n],e.b--))}function on(e,t,n,i){for(var r=0;r<e.length;++r){var o=e[r];if(!o.wa&&o.listener==t&&o.capture==!!n&&o.Wa==i)return r}return-1}nn.prototype.add=function(e,t,n,i,r){var o=e.toString();(e=this.a[o])||(e=this.a[o]=[],this.b++);var s=on(e,t,i,r);return-1<s?(t=e[s],n||(t.Qa=!1)):((t=new en(t,this.src,o,!!i,r)).Qa=n,e.push(t)),t};var sn="closure_lm_"+(1e6*Math.random()|0),an={};function ln(e,t,n,i,r){if(i&&i.once)un(e,t,n,i,r);else if(Array.isArray(t))for(var o=0;o<t.length;o++)ln(e,t[o],n,i,r);else n=vn(n),e&&e[Zt]?wn(e,t,n,m(i)?!!i.capture:!!i,r):cn(e,t,n,!1,i,r)}function cn(e,t,n,i,r,o){if(!t)throw Error("Invalid event type");var s=m(r)?!!r.capture:!!r,a=bn(e);if(a||(e[sn]=a=new nn(e)),!(n=a.add(t,n,i,s,o)).proxy)if(i=function(){var e=gn,t=Wt?function(n){return e.call(t.src,t.listener,n)}:function(n){if(!(n=e.call(t.src,t.listener,n)))return n};return t}(),n.proxy=i,i.src=e,i.listener=n,e.addEventListener)Xt||(r=s),void 0===r&&(r=!1),e.addEventListener(t.toString(),i,r);else if(e.attachEvent)e.attachEvent(pn(t.toString()),i);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(i)}}function un(e,t,n,i,r){if(Array.isArray(t))for(var o=0;o<t.length;o++)un(e,t[o],n,i,r);else n=vn(n),e&&e[Zt]?Cn(e,t,n,m(i)?!!i.capture:!!i,r):cn(e,t,n,!0,i,r)}function hn(e,t,n,i,r){if(Array.isArray(t))for(var o=0;o<t.length;o++)hn(e,t[o],n,i,r);else i=m(i)?!!i.capture:!!i,n=vn(n),e&&e[Zt]?(e=e.v,(t=String(t).toString())in e.a&&-1<(n=on(o=e.a[t],n,i,r))&&(tn(o[n]),Array.prototype.splice.call(o,n,1),0==o.length&&(delete e.a[t],e.b--))):e&&(e=bn(e))&&(t=e.a[t.toString()],e=-1,t&&(e=on(t,n,i,r)),(n=-1<e?t[e]:null)&&dn(n))}function dn(e){if("number"!=typeof e&&e&&!e.wa){var t=e.src;if(t&&t[Zt])rn(t.v,e);else{var n=e.type,i=e.proxy;t.removeEventListener?t.removeEventListener(n,i,e.capture):t.detachEvent?t.detachEvent(pn(n),i):t.addListener&&t.removeListener&&t.removeListener(i),(n=bn(t))?(rn(n,e),0==n.b&&(n.src=null,t[sn]=null)):tn(e)}}}function pn(e){return e in an?an[e]:an[e]="on"+e}function fn(e,t,n,i){var r=!0;if((e=bn(e))&&(t=e.a[t.toString()]))for(t=t.concat(),e=0;e<t.length;e++){var o=t[e];
1o&&o.capture==n&&!o.wa&&(o=mn(o,i),r=r&&!1!==o)}return r}function mn(e,t){var n=e.listener,i=e.Wa||e.src;return e.Qa&&dn(e),n.call(i,t)}function gn(e,t){if(e.wa)return!0;if(!Wt){if(!t)e:{t=["window","event"];for(var n=a,i=0;i<t.length;i++)if(null==(n=n[t[i]])){t=null;break e}t=n}if(t=new Qt(i=t,this),n=!0,!(0>i.keyCode||null!=i.returnValue)){e:{var r=!1;if(0==i.keyCode)try{i.keyCode=-1;break e}catch(s){r=!0}(r||null==i.returnValue)&&(i.returnValue=!0)}for(i=[],r=t.b;r;r=r.parentNode)i.push(r);for(e=e.type,r=i.length-1;0<=r;r--){t.b=i[r];var o=fn(i[r],e,!0,t);n=n&&o}for(r=0;r<i.length;r++)t.b=i[r],o=fn(i[r],e,!1,t),n=n&&o}return n}return mn(e,new Qt(t,this))}function bn(e){return(e=e[sn])instanceof nn?e:null}var _n="__closure_events_fn_"+(1e9*Math.random()>>>0);function vn(e){return f(e)?e:(e[_n]||(e[_n]=function(t){return e.handleEvent(t)}),e[_n])}function yn(){Ut.call(this),this.v=new nn(this),this.bc=this,this.hb=null}function wn(e,t,n,i,r){e.v.add(String(t),n,!1,i,r)}function Cn(e,t,n,i,r){e.v.add(String(t),n,!0,i,r)}function xn(e,t,n,i){if(!(t=e.v.a[String(t)]))return!0;t=t.concat();for(var r=!0,o=0;o<t.length;++o){var s=t[o];if(s&&!s.wa&&s.capture==n){var a=s.listener,l=s.Wa||s.src;s.Qa&&rn(e.v,s),r=!1!==a.call(l,i)&&r}}return r&&!i.defaultPrevented}function Sn(e,t,n){if(f(e))n&&(e=w(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=w(e.handleEvent,e)}return 2147483647<Number(t)?-1:a.setTimeout(e,t||0)}function On(e){var t=null;return new yt((function(n,i){-1==(t=Sn((function(){n(void 0)}),e))&&i(Error("Failed to schedule timer."))})).o((function(e){throw a.clearTimeout(t),e}))}function kn(e){if(e.X&&"function"==typeof e.X)return e.X();if("string"==typeof e)return e.split("");if(p(e)){for(var t=[],n=e.length,i=0;i<n;i++)t.push(e[i]);return t}for(i in t=[],n=0,e)t[n++]=e[i];return t}function En(e){if(e.Y&&"function"==typeof e.Y)return e.Y();if(!e.X||"function"!=typeof e.X){if(p(e)||"string"==typeof e){var t=[];e=e.length;for(var n=0;n<e;n++)t.push(n);return t}for(var i in t=[],n=0,e)t[n++]=i;return t}}function Pn(e,t){this.b={},this.a=[],this.c=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var i=0;i<n;i+=2)this.set(arguments[i],arguments[i+1])}else if(e)if(e instanceof Pn)for(n=e.Y(),i=0;i<n.length;i++)this.set(n[i],e.get(n[i]));else for(i in e)this.set(i,e[i])}function In(e){if(e.c!=e.a.length){for(var t=0,n=0;t<e.a.length;){var i=e.a[t];Tn(e.b,i)&&(e.a[n++]=i),t++}e.a.length=n}if(e.c!=e.a.length){var r={};for(n=t=0;t<e.a.length;)Tn(r,i=e.a[t])||(e.a[n++]=i,r[i]=1),t++;e.a.length=n}}function Tn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}S(yn,Ut),yn.prototype[Zt]=!0,yn.prototype.addEventListener=function(e,t,n,i){ln(this,e,t,n,i)},yn.prototype.removeEventListener=function(e,t,n,i){hn(this,e,t,n,i)},yn.prototype.dispatchEvent=function(e){var t,n=this.hb;if(n)for(t=[];n;n=n.hb)t.push(n);n=this.bc;var i=e.type||e;if("string"==typeof e)e=new $t(e,n);else if(e instanceof $t)e.target=e.target||n;else{var r=e;be(e=new $t(i,n),r)}if(r=!0,t)for(var o=t.length-1;0<=o;o--){var s=e.b=t[o];r=xn(s,i,!0,e)&&r}if(r=xn(s=e.b=n,i,!0,e)&&r,r=xn(s,i,!1,e)&&r,t)for(o=0;o<t.length;o++)r=xn(s=e.b=t[o],i,!1,e)&&r;return r},yn.prototype.Da=function(){if(yn.bb.Da.call(this),this.v){var e,t=this.v;for(e in t.a){for(var n=t.a[e],i=0;i<n.length;i++)tn(n[i]);delete t.a[e],t.b--}}this.hb=null},(e=Pn.prototype).X=function(){In(this);for(var e=[],t=0;t<this.a.length;t++)e.push(this.b[this.a[t]]);return e},e.Y=function(){return In(this),this.a.concat()},e.clear=function(){this.b={},this.c=this.a.length=0},e.get=function(e,t){return Tn(this.b,e)?this.b[e]:t},e.set=function(e,t){Tn(this.b,e)||(this.c++,this.a.push(e)),this.b[e]=t},e.forEach=function(e,t){for(var n=this.Y(),i=0;i<n.length;i++){var r=n[i],o=this.get(r);e.call(t,o,r,this)}};var Mn=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function An(e,t){var n;this.a=this.l=this.c="",this.g=null,this.h=this.f="",this.i=!1,e instanceof An?(this.i=void 0!==t?t:e.i,Dn(this,e.c),this.l=e.l,this.a=e.a,jn(this,e.g),this.f=e.f,Nn(this,ei(e.b)),this.h=e.h):e&&(n=String(e).match(Mn))?(this.i=!!t,Dn(this,n[1]||"",!0),this.l=Bn(n[2]||""),this.a=Bn(n[3]||"",!0),jn(this,n[4]),this.f=Bn(n[5]||"",!0),Nn(this,n[6]||"",!0),this.h=Bn(n[7]||"")):(this.i=!!t,this.b=new Xn(null,this.i))}function Dn(e,t,n){e.c=n?Bn(t,!0):t,e.c&&(e.c=e.c.replace(/:$/,""))}function jn(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.g=t}else e.g=null}function Nn(e,t,n){t instanceof Xn?(e.b=t,function(e,t){t&&!e.f&&($n(e),e.c=null,e.a.forEach((function(e,t){var n=t.toLowerCase();t!=n&&(Yn(this,t),Jn(this,n,e))}),e)),e.f=t}(e.b,e.i)):(n||(t=Un(t,Wn)),e.b=new Xn(t,e.i))}function Rn(e,t,n){e.b.set(t,n)}function Ln(e,t){return e.b.get(t)}function Fn(e){return e instanceof An?new An(e):new An(e,void 0)}function Vn(e,t,n,i){var r=new An(null,void 0);return e&&Dn(r,e),t&&(r.a=t),n&&jn(r,n),i&&(r.f=i),r}function Bn(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function Un(e,t,n){return"string"==typeof e?(e=encodeURI(e).replace(t,Hn),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Hn(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}An.prototype.toString=function(){var e=[],t=this.c;t&&e.push(Un(t,zn,!0),":");var n=this.a;return(n||"file"==t)&&(e.push("//"),(t=this.l)&&e.push(Un(t,zn,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.g)&&e.push(":",String(n))),(n=this.f)&&(this.a&&"/"!=n.charAt(0)&&e.push("/"),e.push(Un(n,"/"==n.charAt(0)?qn:Gn,!0))),(n=this.b.toString())&&e.push("?",n),(n=this.h)&&e.push("#",Un(n,Kn)),e.join("")},An.prototype.resolve=function(e){var t=new An(this),n=!!e.c;n?Dn(t,e.c):n=!!e.l,n?t.l=e.l:n=!!e.a,n?t.a=e.a:n=null!=e.g;var i=e.f;if(n)jn(t,e.g);else if(n=!!e.f){if("/"!=i.charAt(0))if(this.a&&!this.f)i="/"+i;else{var r=t.f.lastIndexOf("/");-1!=r&&(i=t.f.substr(0,r+1)+i)}if(".."==(r=i)||"."==r)i="";else if(le(r,"./")||le(r,"/.")){i=0==r.lastIndexOf("/",0),r=r.split("/");for(var o=[],s=0;s<r.length;){var a=r[s++];"."==a?i&&s==r.length&&o.push(""):".."==a?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),i&&s==r.length&&o.push("")):(o.push(a),i=!0)}i=o.join("/")}else i=r}return n?t.f=i:n=""!==e.b.toString(),n?Nn(t,ei(e.b)):n=!!e.h,n&&(t.h=e.h),t};var zn=/[#\/\?@]/g,Gn=/[#\?:]/g,qn=/[#\?]/g,Wn=/[#\?@]/g,Kn=/#/g;function Xn(e,t){this.b=this.a=null,this.c=e||null,this.f=!!t}function $n(e){e.a||(e.a=new Pn,e.b=0,e.c&&function(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var i=e[n].indexOf("="),r=null;if(0<=i){var o=e[n].substring(0,i);r=e[n].substring(i+1)}else o=e[n];t(o,r?decodeURIComponent(r.replace(/\+/g," ")):"")}}}(e.c,(function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)})))}function Qn(e){var t=En(e);
1if(void 0===t)throw Error("Keys are undefined");var n=new Xn(null,void 0);e=kn(e);for(var i=0;i<t.length;i++){var r=t[i],o=e[i];Array.isArray(o)?Jn(n,r,o):n.add(r,o)}return n}function Yn(e,t){$n(e),t=ti(e,t),Tn(e.a.b,t)&&(e.c=null,e.b-=e.a.get(t).length,Tn((e=e.a).b,t)&&(delete e.b[t],e.c--,e.a.length>2*e.c&&In(e)))}function Zn(e,t){return $n(e),t=ti(e,t),Tn(e.a.b,t)}function Jn(e,t,n){Yn(e,t),0<n.length&&(e.c=null,e.a.set(ti(e,t),Z(n)),e.b+=n.length)}function ei(e){var t=new Xn;return t.c=e.c,e.a&&(t.a=new Pn(e.a),t.b=e.b),t}function ti(e,t){return t=String(t),e.f&&(t=t.toLowerCase()),t}function ni(e){var t=[];return function e(t,n,i){if(null==n)i.push("null");else{if("object"==typeof n){if(Array.isArray(n)){var r=n;n=r.length,i.push("[");for(var o="",s=0;s<n;s++)i.push(o),e(t,r[s],i),o=",";return void i.push("]")}if(!(n instanceof String||n instanceof Number||n instanceof Boolean)){for(r in i.push("{"),o="",n)Object.prototype.hasOwnProperty.call(n,r)&&"function"!=typeof(s=n[r])&&(i.push(o),si(r,i),i.push(":"),e(t,s,i),o=",");return void i.push("}")}n=n.valueOf()}switch(typeof n){case"string":si(n,i);break;case"number":i.push(isFinite(n)&&!isNaN(n)?String(n):"null");break;case"boolean":i.push(String(n));break;case"function":i.push("null");break;default:throw Error("Unknown type: "+typeof n)}}}(new ii,e,t),t.join("")}function ii(){}(e=Xn.prototype).add=function(e,t){$n(this),this.c=null,e=ti(this,e);var n=this.a.get(e);return n||this.a.set(e,n=[]),n.push(t),this.b+=1,this},e.clear=function(){this.a=this.c=null,this.b=0},e.forEach=function(e,t){$n(this),this.a.forEach((function(n,i){G(n,(function(n){e.call(t,n,i,this)}),this)}),this)},e.Y=function(){$n(this);for(var e=this.a.X(),t=this.a.Y(),n=[],i=0;i<t.length;i++)for(var r=e[i],o=0;o<r.length;o++)n.push(t[i]);return n},e.X=function(e){$n(this);var t=[];if("string"==typeof e)Zn(this,e)&&(t=Y(t,this.a.get(ti(this,e))));else{e=this.a.X();for(var n=0;n<e.length;n++)t=Y(t,e[n])}return t},e.set=function(e,t){return $n(this),this.c=null,Zn(this,e=ti(this,e))&&(this.b-=this.a.get(e).length),this.a.set(e,[t]),this.b+=1,this},e.get=function(e,t){return e&&0<(e=this.X(e)).length?String(e[0]):t},e.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var e=[],t=this.a.Y(),n=0;n<t.length;n++){var i=t[n],r=encodeURIComponent(String(i));i=this.X(i);for(var o=0;o<i.length;o++){var s=r;""!==i[o]&&(s+="="+encodeURIComponent(String(i[o]))),e.push(s)}}return this.c=e.join("&")};var ri={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},oi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;function si(e,t){t.push('"',e.replace(oi,(function(e){var t=ri[e];return t||(t="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),ri[e]=t),t})),'"')}function ai(){var e=ki();return $e&&!!st&&11==st||/Edge\/\d+/.test(e)}function li(){return a.window&&a.window.location.href||self&&self.location&&self.location.href||""}function ci(e,t){t=t||a.window;var n="about:blank";e&&(n=Ae(Re(e)||Ve)),t.location.href=n}function ui(e){return!!((e=(e||ki()).toLowerCase()).match(/android/)||e.match(/webos/)||e.match(/iphone|ipad|ipod/)||e.match(/blackberry/)||e.match(/windows phone/)||e.match(/iemobile/))}function hi(e){e=e||a.window;try{e.close()}catch(t){}}function di(e,t,n){var i=Math.floor(1e9*Math.random()).toString();t=t||500,n=n||600;var r=(window.screen.availHeight-n)/2,o=(window.screen.availWidth-t)/2;for(s in t={width:t,height:n,top:0<r?r:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},n=ki().toLowerCase(),i&&(t.target=i,le(n,"crios/")&&(t.target="_blank")),xi(ki())==wi&&(e=e||"http://localhost",t.scrollbars=!0),n=e||"",(e=t)||(e={}),i=window,t=n instanceof Me?n:Re(void 0!==n.href?n.href:String(n))||Ve,n=e.target||n.target,r=[],e)switch(s){case"width":case"height":case"top":case"left":r.push(s+"="+e[s]);break;case"target":case"noopener":case"noreferrer":break;default:r.push(s+"="+(e[s]?1:0))}var s=r.join(",");if((de("iPhone")&&!de("iPod")&&!de("iPad")||de("iPad")||de("iPod"))&&i.navigator&&i.navigator.standalone&&n&&"_self"!=n?(_e(s=ft(document,"A"),"HTMLAnchorElement"),t=t instanceof Me?t:Le(t),s.href=Ae(t),s.setAttribute("target",n),e.noreferrer&&s.setAttribute("rel","noreferrer"),(e=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,i,1),s.dispatchEvent(e),s={}):e.noreferrer?(s=He("",i,n,s),e=Ae(t),s&&(Ye&&le(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),s.opener=null,e='<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Ge(e)+'">',e=new Be(e=(i=Se())?i.createHTML(e):e,null,Ue),i=s.document)&&(i.write(function(e){return e instanceof Be&&e.constructor===Be?e.a:(R("expected object of type SafeHtml, got '"+e+"' of type "+d(e)),"type_error:SafeHtml")}(e)),i.close())):(s=He(t,i,n,s))&&e.noopener&&(s.opener=null),s)try{s.focus()}catch(a){}return s}var pi=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,fi=/^[^@]+@[^@]+$/;function mi(){var e=null;return new yt((function(t){"complete"==a.document.readyState?t():(e=function(){t()},un(window,"load",e))})).o((function(t){throw hn(window,"load",e),t}))}function gi(e){return e=e||ki(),!("file:"!==Mi()&&"ionic:"!==Mi()||!e.toLowerCase().match(/iphone|ipad|ipod|android/))}function bi(){var e=a.window;try{return!(!e||e==e.top)}catch(t){return!1}}function _i(){return void 0!==a.WorkerGlobalScope&&"function"==typeof a.importScripts}function vi(){return i.a.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":i.a.INT
1ERNAL.hasOwnProperty("node")?"Node":_i()?"Worker":"Browser"}function yi(){var e=vi();return"ReactNative"===e||"Node"===e}var wi="Firefox",Ci="Chrome";function xi(e){var t=e.toLowerCase();return le(t,"opera/")||le(t,"opr/")||le(t,"opios/")?"Opera":le(t,"iemobile")?"IEMobile":le(t,"msie")||le(t,"trident/")?"IE":le(t,"edge/")?"Edge":le(t,"firefox/")?wi:le(t,"silk/")?"Silk":le(t,"blackberry")?"Blackberry":le(t,"webos")?"Webos":!le(t,"safari/")||le(t,"chrome/")||le(t,"crios/")||le(t,"android")?!le(t,"chrome/")&&!le(t,"crios/")||le(t,"edge/")?le(t,"android")?"Android":(e=e.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==e.length?e[1]:"Other":Ci:"Safari"}var Si={md:"FirebaseCore-web",od:"FirebaseUI-web"};function Oi(e,t){t=t||[];var n,i=[],r={};for(n in Si)r[Si[n]]=!0;for(n=0;n<t.length;n++)void 0!==r[t[n]]&&(delete r[t[n]],i.push(t[n]));return i.sort(),(t=i).length||(t=["FirebaseCore-web"]),"Browser"===(i=vi())?i=xi(r=ki()):"Worker"===i&&(i=xi(r=ki())+"-"+i),i+"/JsCore/"+e+"/"+t.join(",")}function ki(){return a.navigator&&a.navigator.userAgent||""}function Ei(e,t){e=e.split("."),t=t||a;for(var n=0;n<e.length&&"object"==typeof t&&null!=t;n++)t=t[e[n]];return n!=e.length&&(t=void 0),t}function Pi(){try{var e=a.localStorage,t=Ri();if(e)return e.setItem(t,"1"),e.removeItem(t),!ai()||!!a.indexedDB}catch(n){return _i()&&!!a.indexedDB}return!1}function Ii(){return(Ti()||"chrome-extension:"===Mi()||gi())&&!yi()&&Pi()&&!_i()}function Ti(){return"http:"===Mi()||"https:"===Mi()}function Mi(){return a.location&&a.location.protocol||null}function Ai(e){return!ui(e=e||ki())&&xi(e)!=wi}function Di(e){return void 0===e?null:ni(e)}function ji(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&null!=e[t]&&(n[t]=e[t]);return n}function Ni(e){if(null!==e)return JSON.parse(e)}function Ri(e){return e||Math.floor(1e9*Math.random()).toString()}function Li(e){return"Safari"!=xi(e=e||ki())&&!e.toLowerCase().match(/iphone|ipad|ipod/)}function Fi(){var e=a.___jsl;if(e&&e.H)for(var t in e.H)if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=e.H[t].L.concat(),e.CP)for(var n=0;n<e.CP.length;n++)e.CP[n]=null}function Vi(e,t){if(e>t)throw Error("Short delay should be less than long delay!");this.a=e,this.c=t,e=ki(),t=vi(),this.b=ui(e)||"ReactNative"===t}function Bi(){var e=a.document;return!e||void 0===e.visibilityState||"visible"==e.visibilityState}function Ui(e){try{var t=new Date(parseInt(e,10));if(!isNaN(t.getTime())&&!/[^0-9]/.test(e))return t.toUTCString()}catch(n){}return null}function Hi(){return!(!Ei("fireauth.oauthhelper",a)&&!Ei("fireauth.iframe",a))}Vi.prototype.get=function(){var e=a.navigator;return!e||"boolean"!=typeof e.onLine||!Ti()&&"chrome-extension:"!==Mi()&&void 0===e.connection||e.onLine?this.b?this.c:this.a:Math.min(5e3,this.a)};var zi,Gi={};function qi(e){Gi[e]||(Gi[e]=!0,"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(e))}try{var Wi={};Object.defineProperty(Wi,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(Wi,"abcd",{configurable:!0,enumerable:!0,value:2}),zi=2==Wi.abcd}catch(Ke){zi=!1}function Ki(e,t,n){zi?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n}):e[t]=n}function Xi(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&Ki(e,n,t[n])}function $i(e){var t={};return Xi(t,e),t}function Qi(e){var t=e;if("object"==typeof e&&null!=e)for(var n in t="length"in e?[]:{},e)Ki(t,n,Qi(e[n]));return t}function Yi(e){var t=e&&(e[nr]?"phone":null);if(!(t&&e&&e[tr]))throw new k("internal-error","Internal assert: invalid MultiFactorInfo object");Ki(this,"uid",e[tr]),Ki(this,"displayName",e[Ji]||null);var n=null;e[er]&&(n=new Date(e[er]).toUTCString()),Ki(this,"enrollmentTime",n),Ki(this,"factorId",t)}function Zi(e){try{var t=new ir(e)}catch(n){t=null}return t}Yi.prototype.w=function(){return{uid:this.uid,displayName:this.displayName,factorId:this.factorId,enrollmentTime:this.enrollmentTime}};var Ji="displayName",er="enrolledAt",tr="mfaEnrollmentId",nr="phoneInfo";function ir(e){Yi.call(this,e),Ki(this,"phoneNumber",e[nr])}function rr(e){var t={},n=e[lr],i=e[ur],r=e[hr];if(e=Zi(e[cr]),!r||r!=sr&&r!=ar&&!n||r==ar&&!i||r==or&&!e)throw Error("Invalid checkActionCode response!");r==ar?(t[pr]=n||null,t[mr]=n||null,t[dr]=i):(t[pr]=i||null,t[mr]=i||null,t[dr]=n||null),t[fr]=e||null,Ki(this,br,r),Ki(this,gr,Qi(t))}S(ir,Yi),ir.prototype.w=function(){var e=ir.bb.w.call(this);return e.phoneNumber=this.phoneNumber,e};var or="REVERT_SECOND_FACTOR_ADDITION",sr="EMAIL_SIGNIN",ar="VERIFY_AND_CHANGE_EMAIL",lr="email",cr="mfaInfo",ur="newEmail",hr="requestType",dr="email",pr="fromEmail",fr="multiFactorInfo",mr="previousEmail",gr="data",br="operation";
1function _r(e){var t=Ln(e=Fn(e),vr)||null,n=Ln(e,yr)||null,i=Ln(e,xr)||null;if(i=i&&Or[i]||null,!t||!n||!i)throw new k("argument-error",vr+", "+yr+"and "+xr+" are required in a valid action code URL.");Xi(this,{apiKey:t,operation:i,code:n,continueUrl:Ln(e,wr)||null,languageCode:Ln(e,Cr)||null,tenantId:Ln(e,Sr)||null})}var vr="apiKey",yr="oobCode",wr="continueUrl",Cr="languageCode",xr="mode",Sr="tenantId",Or={recoverEmail:"RECOVER_EMAIL",resetPassword:"PASSWORD_RESET",revertSecondFactorAddition:or,signIn:sr,verifyAndChangeEmail:ar,verifyEmail:"VERIFY_EMAIL"};function kr(e){try{return new _r(e)}catch(t){return null}}function Er(e){var t=e[Ar];if(void 0===t)throw new k("missing-continue-uri");if("string"!=typeof t||"string"==typeof t&&!t.length)throw new k("invalid-continue-uri");this.h=t,this.b=this.a=null,this.g=!1;var n=e[Pr];if(n&&"object"==typeof n){t=n[Nr];var i=n[Dr];if(n=n[jr],"string"==typeof t&&t.length){if(this.a=t,void 0!==i&&"boolean"!=typeof i)throw new k("argument-error",Dr+" property must be a boolean when specified.");if(this.g=!!i,void 0!==n&&("string"!=typeof n||"string"==typeof n&&!n.length))throw new k("argument-error",jr+" property must be a non empty string when specified.");this.b=n||null}else{if(void 0!==t)throw new k("argument-error",Nr+" property must be a non empty string when specified.");if(void 0!==i||void 0!==n)throw new k("missing-android-pkg-name")}}else if(void 0!==n)throw new k("argument-error",Pr+" property must be a non null object when specified.");if(this.f=null,(t=e[Mr])&&"object"==typeof t){if("string"==typeof(t=t[Rr])&&t.length)this.f=t;else if(void 0!==t)throw new k("argument-error",Rr+" property must be a non empty string when specified.")}else if(void 0!==t)throw new k("argument-error",Mr+" property must be a non null object when specified.");if(void 0!==(t=e[Tr])&&"boolean"!=typeof t)throw new k("argument-error",Tr+" property must be a boolean when specified.");if(this.c=!!t,void 0!==(e=e[Ir])&&("string"!=typeof e||"string"==typeof e&&!e.length))throw new k("argument-error",Ir+" property must be a non empty string when specified.");this.i=e||null}var Pr="android",Ir="dynamicLinkDomain",Tr="handleCodeInApp",Mr="iOS",Ar="url",Dr="installApp",jr="minimumVersion",Nr="packageName",Rr="bundleId";function Lr(e){var t={};for(var n in t.continueUrl=e.h,t.canHandleCodeInApp=e.c,(t.androidPackageName=e.a)&&(t.androidMinimumVersion=e.b,t.androidInstallApp=e.g),t.iOSBundleId=e.f,t.dynamicLinkDomain=e.i,t)null===t[n]&&delete t[n];return t}var Fr=null;function Vr(e){var t=Ur(e);if(!(t&&t.sub&&t.iss&&t.aud&&t.exp))throw Error("Invalid JWT");this.h=e,this.a=t.exp,this.i=t.sub,e=Date.now()/1e3,this.g=t.iat||(e>this.a?this.a:e),this.b=t.provider_id||t.firebase&&t.firebase.sign_in_provider||null,this.f=t.firebase&&t.firebase.tenant||null,this.c=!!t.is_anonymous||"anonymous"==this.b}function Br(e){try{return new Vr(e)}catch(t){return null}}function Ur(e){if(!e)return null;if(3!=(e=e.split(".")).length)return null;for(var t=(4-(e=e[1]).length%4)%4,n=0;n<t;n++)e+=".";try{var i=function(e){var t=[];return function(e,t){function n(t){for(;i<e.length;){var n=e.charAt(i++),r=Fr[n];if(null!=r)return r;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n)}return t}!function(){if(!Fr){Fr={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],n=0;5>n;n++)for(var i=e.concat(t[n].split("")),r=0;r<i.length;r++){var o=i[r];void 0===Fr[o]&&(Fr[o]=r)}}}();for(var i=0;;){var r=n(-1),o=n(0),s=n(64),a=n(64);if(64===a&&-1===r)break;t(r<<2|o>>4),64!=s&&(t(o<<4&240|s>>2),64!=a&&t(s<<6&192|a))}}(e,(function(e){t.push(e)})),t}(e);for(e=[],n=t=0;t<i.length;){var r=i[t++];if(128>r)e[n++]=String.fromCharCode(r);else if(191<r&&224>r){var o=i[t++];e[n++]=String.fromCharCode((31&r)<<6|63&o)}else if(239<r&&365>r){o=i[t++];var s=i[t++],a=((7&r)<<18|(63&o)<<12|(63&s)<<6|63&i[t++])-65536;e[n++]=String.fromCharCode(55296+(a>>10)),e[n++]=String.fromCharCode(56320+(1023&a))}else o=i[t++],s=i[t++],e[n++]=String.fromCharCode((15&r)<<12|(63&o)<<6|63&s)}return JSON.parse(e.join(""))}catch(l){}return null}Vr.prototype.T=function(){return this.f},Vr.prototype.l=function(){return this.c},Vr.prototype.toString=function(){return this.h};var Hr="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),zr=["client_id","response_type","scope","redirect_uri","state"],Gr={nd:{Ja:"locale",va:700,ua:600,fa:"facebook.com",Ya:zr},pd:{Ja:null,va:500,ua:750,fa:"github.com",Ya:zr},qd:{Ja:"hl",va:515,ua:680,fa:"google.com",Ya:zr},wd:{Ja:"lang",va:485,ua:705,fa:"twitter.com",Ya:Hr},kd:{Ja:"locale",va:640,ua:600,fa:"apple.com",Ya:[]}};function qr(e){for(var t in Gr)if(Gr[t].fa==e)return Gr[t];return null}function Wr(e){var t={};t["facebook.com"]=Yr,t["google.com"]=Jr,t["github.com"]=Zr,t["twitter.com"]=eo;var n=e&&e[Xr];try{if(n)return t[n]?new t[n](e):new Qr(e);
1if(void 0!==e[Kr])return new $r(e)}catch(i){}return null}var Kr="idToken",Xr="providerId";function $r(e){var t=e[Xr];if(!t&&e[Kr]){var n=Br(e[Kr]);n&&n.b&&(t=n.b)}if(!t)throw Error("Invalid additional user info!");"anonymous"!=t&&"custom"!=t||(t=null),n=!1,void 0!==e.isNewUser?n=!!e.isNewUser:"identitytoolkit#SignupNewUserResponse"===e.kind&&(n=!0),Ki(this,"providerId",t),Ki(this,"isNewUser",n)}function Qr(e){$r.call(this,e),Ki(this,"profile",Qi((e=Ni(e.rawUserInfo||"{}"))||{}))}function Yr(e){if(Qr.call(this,e),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function Zr(e){if(Qr.call(this,e),"github.com"!=this.providerId)throw Error("Invalid provider ID!");Ki(this,"username",this.profile&&this.profile.login||null)}function Jr(e){if(Qr.call(this,e),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function eo(e){if(Qr.call(this,e),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");Ki(this,"username",e.screenName||null)}function to(e){var t=Fn(e),n=Ln(t,"link"),i=Ln(Fn(n),"link");return t=Ln(t,"deep_link_id"),Ln(Fn(t),"link")||t||i||n||e}function no(e,t){if(!e&&!t)throw new k("internal-error","Internal assert: no raw session string available");if(e&&t)throw new k("internal-error","Internal assert: unable to determine the session type");this.a=e||null,this.b=t||null,this.type=this.a?io:ro}S(Qr,$r),S(Yr,Qr),S(Zr,Qr),S(Jr,Qr),S(eo,Qr);var io="enroll",ro="signin";function oo(){}function so(e,t){return e.then((function(e){if(e[Ws]){var n=Br(e[Ws]);if(!n||t!=n.i)throw new k("user-mismatch");return e}throw new k("user-mismatch")})).o((function(e){throw e&&e.code&&e.code==I+"user-not-found"?new k("user-mismatch"):e}))}function ao(e,t){if(!t)throw new k("internal-error","failed to construct a credential");this.a=t,Ki(this,"providerId",e),Ki(this,"signInMethod",e)}function lo(e){return{pendingToken:e.a,requestUri:"http://localhost"}}function co(e){if(e&&e.providerId&&e.signInMethod&&0==e.providerId.indexOf("saml.")&&e.pendingToken)try{return new ao(e.providerId,e.pendingToken)}catch(t){}return null}function uo(e,t,n){if(this.a=null,t.idToken||t.accessToken)t.idToken&&Ki(this,"idToken",t.idToken),t.accessToken&&Ki(this,"accessToken",t.accessToken),t.nonce&&!t.pendingToken&&Ki(this,"nonce",t.nonce),t.pendingToken&&(this.a=t.pendingToken);else{if(!t.oauthToken||!t.oauthTokenSecret)throw new k("internal-error","failed to construct a credential");Ki(this,"accessToken",t.oauthToken),Ki(this,"secret",t.oauthTokenSecret)}Ki(this,"providerId",e),Ki(this,"signInMethod",n)}function ho(e){var t={};return e.idToken&&(t.id_token=e.idToken),e.accessToken&&(t.access_token=e.accessToken),e.secret&&(t.oauth_token_secret=e.secret),t.providerId=e.providerId,e.nonce&&!e.a&&(t.nonce=e.nonce),t={postBody:Qn(t).toString(),requestUri:"http://localhost"},e.a&&(delete t.postBody,t.pendingToken=e.a),t}function po(e){if(e&&e.providerId&&e.signInMethod){var t={idToken:e.oauthIdToken,accessToken:e.oauthTokenSecret?null:e.oauthAccessToken,oauthTokenSecret:e.oauthTokenSecret,oauthToken:e.oauthTokenSecret&&e.oauthAccessToken,nonce:e.nonce,pendingToken:e.pendingToken};try{return new uo(e.providerId,t,e.signInMethod)}catch(n){}}return null}function fo(e,t){this.Qc=t||[],Xi(this,{providerId:e,isOAuthProvider:!0}),this.Jb={},this.qb=(qr(e)||{}).Ja||null,this.pb=null}function mo(e){if("string"!=typeof e||0!=e.indexOf("saml."))throw new k("argument-error",'SAML provider IDs must be prefixed with "saml."');fo.call(this,e,[])}function go(e){fo.call(this,e,zr),this.a=[]}function bo(){go.call(this,"facebook.com")}function _o(e){if(!e)throw new k("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return m(e)&&(t=e.accessToken),(new bo).credential({accessToken:t})}function vo(){go.call(this,"github.com")}function yo(e){if(!e)throw new k("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return m(e)&&(t=e.accessToken),(new vo).credential({accessToken:t})}function wo(){go.call(this,"google.com"),this.Ca("profile")}function Co(e,t){var n=e;return m(e)&&(n=e.idToken,t=e.accessToken),(new wo).credential({idToken:n,accessToken:t})}function xo(){fo.call(this,"twitter.com",Hr)}function So(e,t){var n=e;if(m(n)||(n={oauthToken:e,oauthTokenSecret:t}),!n.oauthToken||!n.oauthTokenSecret)throw new k("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new uo("twitter.com",n,"twitter.com")}function Oo(e,t,n){this.a=e,this.f=t,Ki(this,"providerId","password"),Ki(this,"signInMethod",n===Eo.EMAIL_LINK_SIGN_IN_METHOD?Eo.EMAIL_LINK_SIGN_IN_METHOD:Eo.EMAIL_PASSWORD_SIGN_IN_METHOD)}function ko(e){return e&&e.email&&e.password?new Oo(e.email,e.password,e.signInMethod):null}function Eo(){Xi(this,{providerId:"password",isOAuthProvider:!1})}function Po(e,t){if(!(t=Io(t)))throw new k("argument-error","Invalid email link!");return new Oo(e,t.code,Eo.EMAIL_LINK_SIGN_IN_METHOD)}function Io(e){return(e=kr(e=to(e)))&&e.operation===sr?e:null}function To(e){if(!(e.fb&&e.eb||e.La&&e.ea))throw new k("internal-error");this.a=e,Ki(this,"providerId","phone"),this.fa="phone",Ki(this,"signInMethod","phone")}function Mo(e){if(e&&"phone"===e.providerId&&(e.verificationId&&e.verificationCode||e.temporaryProof&&e.phoneNumber)){var t={};return G(["verificationId","verificationCode","temporaryProof","phoneNumber"],(function(n){e[n]&&(t[n]=e[n])})),new To(t)}return null}function Ao(e){return e.a.La&&e.a.ea?{temporaryProof:e.a.La,phoneNumber:e.a.ea}:{sessionInfo:e.a.fb,code:e.a.eb}}function Do(e){try{this.a=e||i.a.auth()}catch(t){throw new k("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}Xi(this,{providerId:"phone",isOAuthProvider:!1})}function jo(e,t){if(!e)throw new k("missing-verification-id");if(!t)throw new k("missing-verification-code");return new To({fb:e,eb:t})}function No(e){if(e.temporaryProof&&e.phoneNumber)return new To({La:e.temporaryProof,ea:e.phoneNumber});var t=e&&e.providerId;if(!t||"password"===t)return null;var n=e&&e.oauthAccessToken,i=e&&e.oauthTokenSecret,r=e&&e.nonce,o=e&&e.oauthIdToken,s=e&&e.pendingToken;try{switch(t){case"google.com":return Co(o,n);case"facebook.com":return _o(n);case"github.com":return yo(n);case"twitter.com":return So(n,i);default:return n||i||o||s?s?0==t.indexOf("saml.")?new ao(t,s):new uo(t,{pendingToken:s,idToken:e.oauthIdToken,accessToken:e.oauthAccessToken},t):new go(t).credential({idToken:o,accessToken:n,rawNonce:r}):null}}catch(a){return null}}function Ro(e){if(!e.isOAuthProvider)throw new k("invalid-oauth-provider")}function Lo(e,t,n,i,r,o,s){if(this.c=e,this.b=t||null,this.g=n||null,this.f=i||null,this.i=o||null,this.h=s||null,this.a=r||null,!this.g&&!this.a)throw new k("invalid-auth-event");
1if(this.g&&this.a)throw new k("invalid-auth-event");if(this.g&&!this.f)throw new k("invalid-auth-event")}function Fo(e){return(e=e||{}).type?new Lo(e.type,e.eventId,e.urlResponse,e.sessionId,e.error&&E(e.error),e.postBody,e.tenantId):null}function Vo(){this.b=null,this.a=[]}no.prototype.Ha=function(){return Et(this.a?this.a:this.b)},no.prototype.w=function(){return this.type==io?{multiFactorSession:{idToken:this.a}}:{multiFactorSession:{pendingCredential:this.b}}},oo.prototype.ka=function(){},oo.prototype.b=function(){},oo.prototype.c=function(){},oo.prototype.w=function(){},ao.prototype.ka=function(e){return pa(e,lo(this))},ao.prototype.b=function(e,t){var n=lo(this);return n.idToken=t,fa(e,n)},ao.prototype.c=function(e,t){return so(ma(e,lo(this)),t)},ao.prototype.w=function(){return{providerId:this.providerId,signInMethod:this.signInMethod,pendingToken:this.a}},uo.prototype.ka=function(e){return pa(e,ho(this))},uo.prototype.b=function(e,t){var n=ho(this);return n.idToken=t,fa(e,n)},uo.prototype.c=function(e,t){return so(ma(e,ho(this)),t)},uo.prototype.w=function(){var e={providerId:this.providerId,sign
1InMethod:this.signInMethod};return this.idToken&&(e.oauthIdToken=this.idToken),this.accessToken&&(e.oauthAccessToken=this.accessToken),this.secret&&(e.oauthTokenSecret=this.secret),this.nonce&&(e.nonce=this.nonce),this.a&&(e.pendingToken=this.a),e},fo.prototype.Ka=function(e){return this.Jb=me(e),this},S(mo,fo),S(go,fo),go.prototype.Ca=function(e){return X(this.a,e)||this.a.push(e),this},go.prototype.Rb=function(){return Z(this.a)},go.prototype.credential=function(e,t){var n;if(!(n=m(e)?{idToken:e.idToken||null,accessToken:e.accessToken||null,nonce:e.rawNonce||null}:{idToken:e||null,accessToken:t||null}).idToken&&!n.accessToken)throw new k("argument-error","credential failed: must provide the ID token and/or the access token.");return new uo(this.providerId,n,this.providerId)},S(bo,go),Ki(bo,"PROVIDER_ID","facebook.com"),Ki(bo,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),S(vo,go),Ki(vo,"PROVIDER_ID","github.com"),Ki(vo,"GITHUB_SIGN_IN_METHOD","github.com"),S(wo,go),Ki(wo,"PROVIDER_ID","google.com"),Ki(wo,"GOOGLE_SIGN_IN_METHOD","google.com"),S(xo,fo),Ki(xo,"PROVIDER_ID","twitter.com"),Ki(xo,"TWITTER_SIGN_IN_METHOD","twitter.com"),Oo.prototype.ka=function(e){return this.signInMethod==Eo.EMAIL_LINK_SIGN_IN_METHOD?Qa(e,xa,{email:this.a,oobCode:this.f}):Qa(e,qa,{email:this.a,password:this.f})},Oo.prototype.b=function(e,t){return this.signInMethod==Eo.EMAIL_LINK_SIGN_IN_METHOD?Qa(e,Sa,{idToken:t,email:this.a,oobCode:this.f}):Qa(e,La,{idToken:t,email:this.a,password:this.f})},Oo.prototype.c=function(e,t){return so(this.ka(e),t)},Oo.prototype.w=function(){return{email:this.a,password:this.f,signInMethod:this.signInMethod}},Xi(Eo,{PROVIDER_ID:"password"}),Xi(Eo,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),Xi(Eo,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),To.prototype.ka=function(e){return e.gb(Ao(this))},To.prototype.b=function(e,t){var n=Ao(this);return n.idToken=t,Qa(e,Ka,n)},To.prototype.c=function(e,t){var n=Ao(this);return n.operation="REAUTH",so(e=Qa(e,Xa,n),t)},To.prototype.w=function(){var e={providerId:"phone"};return this.a.fb&&(e.verificationId=this.a.fb),this.a.eb&&(e.verificationCode=this.a.eb),this.a.La&&(e.temporaryProof=this.a.La),this.a.ea&&(e.phoneNumber=this.a.ea),e},Do.prototype.gb=function(e,t){var n=this.a.a;return Et(t.verify()).then((function(i){if("string"!=typeof i)throw new k("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(t.type){case"recaptcha":var r=m(e)?e.session:null,o=m(e)?e.phoneNumber:e;return(r&&r.type==io?r.Ha().then((function(e){return function(e,t){return Qa(e,Va,t).then((function(e){return e.phoneSessionInfo.sessionInfo}))}(n,{idToken:e,phoneEnrollmentInfo:{phoneNumber:o,recaptchaToken:i}})})):r&&r.type==ro?r.Ha().then((function(t){return function(e,t){return Qa(e,Ba,t).then((function(e){return e.phoneResponseInfo.sessionInfo}))}(n,{mfaPendingCredential:t,mfaEnrollmentId:e.multiFactorHint&&e.multiFactorHint.uid||e.multiFactorUid,phoneSignInInfo:{recaptchaToken:i}})})):function(e,t){return Qa(e,Na,t)}(n,{phoneNumber:o,recaptchaToken:i})).then((function(e){return"function"==typeof t.reset&&t.reset(),e}),(function(e){throw"function"==typeof t.reset&&t.reset(),e}));default:throw new k("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}}))},Xi(Do,{PROVIDER_ID:"phone"}),Xi(Do,{PHONE_SIGN_IN_METHOD:"phone"}),Lo.prototype.getUid=function(){var e=[];return e.push(this.c),this.b&&e.push(this.b),this.f&&e.push(this.f),this.h&&e.push(this.h),e.join("-")},Lo.prototype.T=function(){return this.h},Lo.prototype.w=function(){return{type:this.c,eventId:this.b,urlResponse:this.g,sessionId:this.f,postBody:this.i,tenantId:this.h,error:this.a&&this.a.w()}};var Bo,Uo=null;function Ho(e){var t="unauthorized-domain",n=void 0,i=Fn(e);e=i.a,"chrome-extension"==(i=i.c)?n=ze("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):"http"==i||"https"==i?n=ze("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):t="operation-not-supported-in-this-environment",k.call(this,t,n)}function zo(e,t,n){k.call(this,e,n),(e=t||{}).Kb&&Ki(this,"email",e.Kb),e.ea&&Ki(this,"phoneNumber",e.ea),e.credential&&Ki(this,"credential",e.credential),e.$b&&Ki(this,"tenantId",e.$b)}function Go(e){if(e.code){var t=e.code||"";0==t.indexOf(I)&&(t=t.substring(I.length));var n={credential:No(e),$b:e.tenantId};if(e.email)n.Kb=e.email;
1else if(e.phoneNumber)n.ea=e.phoneNumber;else if(!n.credential)return new k(t,e.message||void 0);return new zo(t,n,e.message)}return null}function qo(){}function Wo(){}function Ko(e){if(!e.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],n=0;n<t.length;n++){var i=t[n];try{return new ActiveXObject(i),e.f=i}catch(r){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.f}function Xo(){}function $o(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseType=this.responseText=this.response="",this.status=-1,this.statusText="",this.a.onload=w(this.qc,this),this.a.onerror=w(this.Tb,this),this.a.onprogress=w(this.rc,this),this.a.ontimeout=w(this.vc,this)}function Qo(e,t){e.readyState=t,e.onreadystatechange&&e.onreadystatechange()}function Yo(e,t,n){this.reset(e,t,n,void 0,void 0)}function Zo(e){this.f=e,this.b=this.c=this.a=null}function Jo(e,t){this.name=e,this.value=t}S(Ho,k),S(zo,k),zo.prototype.w=function(){var e={code:this.code,message:this.message};this.email&&(e.email=this.email),this.phoneNumber&&(e.phoneNumber=this.phoneNumber),this.tenantId&&(e.tenantId=this.tenantId);var t=this.credential&&this.credential.w();return t&&be(e,t),e},zo.prototype.toJSON=function(){return this.w()},qo.prototype.c=null,S(Wo,qo),Wo.prototype.a=function(){var e=Ko(this);return e?new ActiveXObject(e):new XMLHttpRequest},Wo.prototype.b=function(){var e={};return Ko(this)&&(e[0]=!0,e[1]=!0),e},Bo=new Wo,S(Xo,qo),Xo.prototype.a=function(){var e=new XMLHttpRequest;if("withCredentials"in e)return e;if("undefined"!=typeof XDomainRequest)return new $o;throw Error("Unsupported browser")},Xo.prototype.b=function(){return{}},(e=$o.prototype).open=function(e,t,n){if(null!=n&&!n)throw Error("Only async requests are supported.");this.a.open(e,t)},e.send=function(e){if(e){if("string"!=typeof e)throw Error("Only string data is supported");this.a.send(e)}else this.a.send()},e.abort=function(){this.a.abort()},e.setRequestHeader=function(){},e.getResponseHeader=function(e){return"content-type"==e.toLowerCase()?this.a.contentType:""},e.qc=function(){this.status=200,this.response=this.responseText=this.a.responseText,Qo(this,4)},e.Tb=function(){this.status=500,this.response=this.responseText="",Qo(this,4)},e.vc=function(){this.Tb()},e.rc=function(){this.status=200,Qo(this,1)},e.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},Yo.prototype.a=null,Yo.prototype.reset=function(e,t,n,i,r){i||x(),delete this.a},Jo.prototype.toString=function(){return this.name};var es=new Jo("SEVERE",1e3),ts=new Jo("WARNING",900),ns=new Jo("CONFIG",700),is=new Jo("FINE",500);Zo.prototype.log=function(e,t,n){if(e.value>=function e(t){return t.c?t.c:t.a?e(t.a):(R("Root logger has no level set."),null)}(this).value)for(f(t)&&(t=t()),e=new Yo(e,String(t),this.f),n&&(e.a=n),n=this;n;)n=n.a};var rs={},os=null;function ss(e){var t;if(os||(os=new Zo(""),rs[""]=os,os.c=ns),!(t=rs[e])){t=new Zo(e);var n=e.lastIndexOf("."),i=e.substr(n+1);(n=ss(e.substr(0,n))).b||(n.b={}),n.b[i]=t,t.a=n,rs[e]=t}return t}function as(e,t){e&&e.log(is,t,void 0)}function ls(e){this.f=e}function cs(e){yn.call(this),this.u=e,this.h=void 0,this.readyState=us,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.l=new Headers,this.b=null,this.s="GET",this.f="",this.a=!1,this.i=ss("goog.net.FetchXmlHttp"),this.m=this.c=this.g=null}S(ls,qo),ls.prototype.a=function(){return new cs(this.f)},ls.prototype.b=function(e){return function(){return e}}({}),S(cs,yn);var us=0;function hs(e){e.c.read().then(e.pc.bind(e)).catch(e.Va.bind(e))}function ds(e){e.readyState=4,e.g=null,e.c=null,e.m=null,ps(e)}function ps(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function fs(e){yn.call(this),this.headers=new Pn,this.D=e||null,this.c=!1,this.C=this.a=null,this.h=this.P=this.l="",this.f=this.N=this.i=this.J=!1,this.g=0,this.s=null,this.m=ms,this.u=this.S=!1}(e=cs.prototype).open=function(e,t){if(this.readyState!=us)throw this.abort(),Error("Error reopening a connection");this.s=e,this.f=t,this.readyState=1,ps(this)},e.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var t={headers:this.l,method:this.s,credentials:this.h,cache:void 0};
1e&&(t.body=e),this.u.fetch(new Request(this.f,t)).then(this.uc.bind(this),this.Va.bind(this))},e.abort=function(){this.response=this.responseText="",this.l=new Headers,this.status=0,this.c&&this.c.cancel("Request was aborted."),1<=this.readyState&&this.a&&4!=this.readyState&&(this.a=!1,ds(this)),this.readyState=us},e.uc=function(e){this.a&&(this.g=e,this.b||(this.status=this.g.status,this.statusText=this.g.statusText,this.b=e.headers,this.readyState=2,ps(this)),this.a&&(this.readyState=3,ps(this),this.a&&("arraybuffer"===this.responseType?e.arrayBuffer().then(this.sc.bind(this),this.Va.bind(this)):void 0!==a.ReadableStream&&"body"in e?(this.response=this.responseText="",this.c=e.body.getReader(),this.m=new TextDecoder,hs(this)):e.text().then(this.tc.bind(this),this.Va.bind(this)))))},e.pc=function(e){if(this.a){var t=this.m.decode(e.value?e.value:new Uint8Array(0),{stream:!e.done});t&&(this.response=this.responseText+=t),e.done?ds(this):ps(this),3==this.readyState&&hs(this)}},e.tc=function(e){this.a&&(this.response=this.responseText=e,ds(this))},e.sc=function(e){this.a&&(this.response=e,ds(this))},e.Va=function(e){var t=this.i;t&&t.log(ts,"Failed to fetch url "+this.f,e instanceof Error?e:Error(e)),this.a&&ds(this)},e.setRequestHeader=function(e,t){this.l.append(e,t)},e.getResponseHeader=function(e){return this.b?this.b.get(e.toLowerCase())||"":((e=this.i)&&e.log(ts,"Attempting to get response header but no headers have been received for url: "+this.f,void 0),"")},e.getAllResponseHeaders=function(){if(!this.b){var e=this.i;return e&&e.log(ts,"Attempting to get all response headers but no headers have been received for url: "+this.f,void 0),""}e=[];for(var t=this.b.entries(),n=t.next();!n.done;)e.push((n=n.value)[0]+": "+n[1]),n=t.next();return e.join("\r\n")},Object.defineProperty(cs.prototype,"withCredentials",{get:function(){return"include"===this.h},set:function(e){this.h=e?"include":"same-origin"}}),S(fs,yn);var ms="";fs.prototype.b=ss("goog.net.XhrIo");var gs=/^https?$/i,bs=["POST","PUT"];function _s(e){return"content-type"==e.toLowerCase()}function vs(e,t){e.c=!1,e.a&&(e.f=!0,e.a.abort(),e.f=!1),e.h=t,ys(e),Cs(e)}function ys(e){e.J||(e.J=!0,e.dispatchEvent("complete"),e.dispatchEvent("error"))}function ws(e){if(e.c&&void 0!==s)if(e.C[1]&&4==Ss(e)&&2==Os(e))as(e.b,ks(e,"Local request error detected and ignored"));else if(e.i&&4==Ss(e))Sn(e.Wb,0,e);else if(e.dispatchEvent("readystatechange"),4==Ss(e)){as(e.b,ks(e,"Request complete")),e.c=!1;try{var t,n=Os(e);e:switch(n){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var i=!0;break e;default:i=!1}if(!(t=i)){var r;if(r=0===n){var o=String(e.l).match(Mn)[1]||null;if(!o&&a.self&&a.self.location){var l=a.self.location.protocol;o=l.substr(0,l.length-1)}r=!gs.test(o?o.toLowerCase():"")}t=r}if(t)e.dispatchEvent("complete"),e.dispatchEvent("success");else{try{var c=2<Ss(e)?e.a.statusText:""}catch(u){as(e.b,"Can not get status: "+u.message),c=""}e.h=c+" ["+Os(e)+"]",ys(e)}}finally{Cs(e)}}}function Cs(e,t){if(e.a){xs(e);var n=e.a,i=e.C[0]?h:null;e.a=null,e.C=null,t||e.dispatchEvent("ready");try{n.onreadystatechange=i}catch(r){(e=e.b)&&e.log(es,"Problem encountered resetting onreadystatechange: "+r.message,void 0)}}}function xs(e){e.a&&e.u&&(e.a.ontimeout=null),e.s&&(a.clearTimeout(e.s),e.s=null)}function Ss(e){return e.a?e.a.readyState:0}function Os(e){try{return 2<Ss(e)?e.a.status:-1}catch(t){return-1}}function ks(e,t){return t+" ["+e.P+" "+e.l+" "+Os(e)+"]"}function Es(e){var t=Fs;this.g=[],this.u=t,this.s=e||null,this.f=this.a=!1,this.c=void 0,this.v=this.C=this.i=!1,this.h=0,this.b=null,this.l=0}function Ps(e,t,n){e.a=!0,e.c=n,e.f=!t,As(e)}function Is(e){if(e.a){if(!e.v)throw new Ds(e);e.v=!1}}function Ts(e,t,n,i){e.g.push([t,n,i]),e.a&&As(e)}function Ms(e){return K(e.g,(function(e){return f(e[1])}))}function As(e){if(e.h&&e.a&&Ms(e)){var t=e.h,n=Rs[t];n&&(a.clearTimeout(n.a),delete Rs[t]),e.h=0}e.b&&(e.b.l--,delete e.b),t=e.c;for(var i=n=!1;e.g.length&&!e.i;){var r=e.g.shift(),o=r[0],s=r[1];if(r=r[2],o=e.f?s:o)try{var l=o.call(r||e.s,t);void 0!==l&&(e.f=e.f&&(l==t||l instanceof Error),e.c=t=l),(D(t)||"function"==typeof a.Promise&&t instanceof a.Promise)&&(i=!0,e.i=!0)}catch(c){t=c,e.f=!0,Ms(e)||(n=!0)}}e.c=t,i&&(l=w(e.m,e,!0),i=w(e.m,e,!1),t instanceof Es?(Ts(t,l,i),t.C=!0):t.then(l,i)),n&&(t=new Ns(t),Rs[t.a]=t,e.h=t.a)}
1function Ds(){j.call(this)}function js(){j.call(this)}function Ns(e){this.a=a.setTimeout(w(this.c,this),0),this.b=e}(e=fs.prototype).Ma=function(){void 0!==s&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",as(this.b,ks(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},e.abort=function(){this.a&&this.c&&(as(this.b,ks(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Cs(this))},e.Da=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),Cs(this,!0)),fs.bb.Da.call(this)},e.Wb=function(){this.ya||(this.N||this.i||this.f?ws(this):this.Jc())},e.Jc=function(){ws(this)},e.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.m){case ms:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var e=this.b;return e&&e.log(es,"Response type "+this.m+" is not supported on this browser",void 0),null}catch(t){return as(this.b,"Can not get response: "+t.message),null}},Es.prototype.cancel=function(e){if(this.a)this.c instanceof Es&&this.c.cancel();else{if(this.b){var t=this.b;delete this.b,e?t.cancel(e):(t.l--,0>=t.l&&t.cancel())}this.u?this.u.call(this.s,this):this.v=!0,this.a||(e=new js(this),Is(this),Ps(this,!1,e))}},Es.prototype.m=function(e,t){this.i=!1,Ps(this,e,t)},Es.prototype.then=function(e,t,n){var i,r,o=new yt((function(e,t){i=e,r=t}));return Ts(this,i,(function(e){e instanceof js?o.cancel():r(e)})),o.then(e,t,n)},Es.prototype.$goog_Thenable=!0,S(Ds,j),Ds.prototype.message="Deferred has already fired",Ds.prototype.name="AlreadyCalledError",S(js,j),js.prototype.message="Deferred was canceled",js.prototype.name="CanceledError",Ns.prototype.c=function(){throw delete Rs[this.a],this.b};var Rs={};function Ls(e){var t={},n=t.document||document,i=ke(e).toString(),r=ft(document,"SCRIPT"),o={Xb:r,Ma:void 0},s=new Es(o),l=null,h=null!=t.timeout?t.timeout:5e3;return 0<h&&(l=window.setTimeout((function(){Vs(r,!0);var e=new Hs(Us,"Timeout reached for loading script "+i);Is(s),Ps(s,!1,e)}),h),o.Ma=l),r.onload=r.onreadystatechange=function(){r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(Vs(r,t.xd||!1,l),Is(s),Ps(s,!0,null))},r.onerror=function(){Vs(r,!0,l);var e=new Hs(Bs,"Error while loading script "+i);Is(s),Ps(s,!1,e)},be(o=t.attributes||{},{type:"text/javascript",charset:"UTF-8"}),ct(r,o),function(e,t){_e(e,"HTMLScriptElement"),e.src=ke(t),(t=e.ownerDocument&&e.ownerDocument.defaultView)&&t!=a?t=u(t.document):(null===c&&(c=u(a.document)),t=c),t&&e.setAttribute("nonce",t)}(r,e),function(e){var t;return(t=(e||document).getElementsByTagName("HEAD"))&&0!=t.length?t[0]:e.documentElement}(n).appendChild(r),s}function Fs(){if(this&&this.Xb){var e=this.Xb;e&&"SCRIPT"==e.tagName&&Vs(e,!0,this.Ma)}}function Vs(e,t,n){null!=n&&a.clearTimeout(n),e.onload=h,e.onerror=h,e.onreadystatechange=h,t&&window.setTimeout((function(){e&&e.parentNode&&e.parentNode.removeChild(e)}),0)}var Bs=0,Us=1;function Hs(e,t){var n="Jsloader error (code #"+e+")";t&&(n+=": "+t),j.call(this,n),this.code=e}function zs(e){this.f=e}function Gs(e,t,n){if(this.c=e,this.l=(e=t||{}).secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.m=e.secureTokenTimeout||Ks,this.g=me(e.secureTokenHeaders||Xs),this.h=e.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.i=e.identityPlatformEndpoint||"https://identitytoolkit.googleapis.com/v2/",this.v=e.firebaseTimeout||$s,this.a=me(e.firebaseHeaders||Qs),n&&(this.a["X-Client-Version"]=n,this.g["X-Client-Version"]=n),n="Node"==vi(),!(n=a.XMLHttpRequest||n&&i.a.INTERNAL.node&&i.a.INTERNAL.node.XMLHttpRequest)&&!_i())throw new k("internal-error","The XMLHttpRequest compatibility library was not found.");this.f=void 0,this.f=_i()?new ls(self):yi()?new zs(n):new Xo,this.b=null}S(Hs,j),S(zs,qo),zs.prototype.a=function(){return new this.f},zs.prototype.b=function(){return{}};var qs,Ws="idToken",Ks=new Vi(3e4,6e4),Xs={"Content-Type":"application/x-www-form-urlencoded"},$s=new Vi(3e4,6e4),Qs={"Content-Type":"application/json"};function Ys(e,t){t?e.a["X-Firebase-Locale"]=t:delete e.a["X-Firebase-Locale"]}function Zs(e,t){t&&(e.l=Js("https://securetoken.googleapis.com/v1/token",t),e.h=Js("https://www.googleapis.com/identitytoolkit/v3/relyingparty/",t),e.i=Js("https://identitytoolkit.googleapis.com/v2/",t))}function Js(e,t){return e=Fn(e),t=Fn(t.url),e.f=e.a+e.f,Dn(e,t.c),e.a=t.a,jn(e,t.g),e.toString()}function ea(e,t){t?(e.a["X-Client-Version"]=t,e.g["X-Client-Version"]=t):(delete e.a["X-Client-Version"],delete e.g["X-Client-Version"])}function ta(e,t,n,i,r,o,s){(function(){var e=ki();return!((e=xi(e)!=Ci?null:(e=e.match(/\sChrome\/(\d+)/i))&&2==e.length?parseInt(e[1],10):null)&&30>e||$e&&st&&!(9<st))})()||_i()?e=w(e.u,e):(qs||(qs=new yt((function(e,t){!function(e,t){((window.gapi||{}).client||{}).request?e():(a[ia]=function(){((window.gapi||{}).client||{}).request?e():t(Error("CORS_UNSUPPORTED"))},function(e,t){Ts(e,null,t,void 0)}(Ls(Ee(na,{onload:ia})),(function(){t(Error("CORS_UNSUPPORTED"))})))}(e,t)}))),e=w(e.s,e)),e(t,n,i,r,o,s)}Gs.prototype.T=function(){return this.b},Gs.prototype.u=function(e,t,n,i,r,o){if(_i()&&(void 0===a.fetch||void 0===a.Headers||void 0===a.Request))throw new k("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to supp
1ort HTTP requests from a Worker environment.");var s=new fs(this.f);if(o){s.g=Math.max(0,o);var l=setTimeout((function(){s.dispatchEvent("timeout")}),o)}wn(s,"complete",(function(){l&&clearTimeout(l);var e=null;try{e=JSON.parse(function(e){try{return e.a?e.a.responseText:""}catch(t){return as(e.b,"Can not get responseText: "+t.message),""}}(this))||null}catch(n){e=null}t&&t(e)})),Cn(s,"ready",(function(){l&&clearTimeout(l),Gt(this)})),Cn(s,"timeout",(function(){l&&clearTimeout(l),Gt(this),t&&t(null)})),function(e,t,n,i,r){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.l+"; newUri="+t);n=n?n.toUpperCase():"GET",e.l=t,e.h="",e.P=n,e.J=!1,e.c=!0,e.a=e.D?e.D.a():Bo.a(),e.C=function(e){return e.c||(e.c=e.b())}(e.D?e.D:Bo),e.a.onreadystatechange=w(e.Wb,e);try{as(e.b,ks(e,"Opening Xhr")),e.N=!0,e.a.open(n,String(t),!0),e.N=!1}catch(s){return as(e.b,ks(e,"Error opening Xhr: "+s.message)),void vs(e,s)}t=i||"";var o=new Pn(e.headers);r&&function(e,t){if(e.forEach&&"function"==typeof e.forEach)e.forEach(t,void 0);else if(p(e)||"string"==typeof e)G(e,t,void 0);else for(var n=En(e),i=kn(e),r=i.length,o=0;o<r;o++)t.call(void 0,i[o],n&&n[o],e)}(r,(function(e,t){o.set(t,e)})),r=function(e){e:{for(var t=_s,n=e.length,i="string"==typeof e?e.split(""):e,r=0;r<n;r++)if(r in i&&t.call(void 0,i[r],r,e)){t=r;break e}t=-1}return 0>t?null:"string"==typeof e?e.charAt(t):e[t]}(o.Y()),i=a.FormData&&t instanceof a.FormData,!X(bs,n)||r||i||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach((function(e,t){this.a.setRequestHeader(t,e)}),e),e.m&&(e.a.responseType=e.m),"withCredentials"in e.a&&e.a.withCredentials!==e.S&&(e.a.withCredentials=e.S);try{xs(e),0<e.g&&(e.u=function(e){return $e&&ot(9)&&"number"==typeof e.timeout&&void 0!==e.ontimeout}(e.a),as(e.b,ks(e,"Will abort after "+e.g+"ms if incomplete, xhr2 "+e.u)),e.u?(e.a.timeout=e.g,e.a.ontimeout=w(e.Ma,e)):e.s=Sn(e.Ma,e.g,e)),as(e.b,ks(e,"Sending request")),e.i=!0,e.a.send(t),e.i=!1}catch(s){as(e.b,ks(e,"Send error: "+s.message)),vs(e,s)}}(s,e,n,i,r)};var na=new ve(xe,"https://apis.google.com/js/client.js?onload=%{onload}"),ia="__fcb"+Math.floor(1e6*Math.random()).toString();function ra(e){if("string"!=typeof(e=e.email)||!fi.test(e))throw new k("invalid-email")}function oa(e){"email"in e&&ra(e)}function sa(e){if(!e[Ws]){if(e.mfaPendingCredential)throw new k("multi-factor-auth-required",null,me(e));throw new k("internal-error")}}function aa(e){if(e.phoneNumber||e.temporaryProof){if(!e.phoneNumber||!e.temporaryProof)throw new k("internal-error")}else{if(!e.sessionInfo)throw new k("missing-verification-id");if(!e.code)throw new k("missing-verification-code")}}Gs.prototype.s=function(e,t,n,i,r){var o=this;qs.then((function(){window.gapi.client.setApiKey(o.c);var s=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:e,method:n,body:i,headers:r,authType:"none",callback:function(e){window.gapi.auth.setToken(s),t&&t(e)}})})).o((function(e){t&&t({error:{message:e&&e.message||"CORS_UNSUPPORTED"}})}))},Gs.prototype.Ab=function(){return Qa(this,Fa,{})},Gs.prototype.Cb=function(e,t){return Qa(this,Ra,{idToken:e,email:t})},Gs.prototype.Db=function(e,t){return Qa(this,La,{idToken:e,password:t})};var la={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};function ca(e){if(!e.phoneVerificationInfo)throw new k("internal-error");if(!e.phoneVerificationInfo.sessionInfo)throw new k("missing-verification-id");if(!e.phoneVerificationInfo.code)throw new k("missing-verification-code")}function ua(e){if(!e.requestUri||!e.sessionId&&!e.postBody&&!e.pendingToken)throw new k("internal-error")}function ha(e,t){return t.oauthIdToken&&t.providerId&&0==t.providerId.indexOf("oidc.")&&!t.pendingToken&&(e.sessionId?t.nonce=e.sessionId:e.postBody&&Zn(e=new Xn(e.postBody),"nonce")&&(t.nonce=e.get("nonce"))),t}function da(e){var t=null;if(e.needConfirmation?(e.code="account-exists-with-different-credential",t=Go(e)):"FEDERATED_USER_ID_ALREADY_LINKED"==e.errorMessage?(e.code="credential-already-in-use",t=Go(e)):"EMAIL_EXISTS"==e.errorMessage?(e.code="email-already-in-use",t=Go(e)):e.errorMessage&&(t=Ya(e.errorMessage)),t)throw t;sa(e)}function pa(e,t){return t.returnIdpCredential=!0,Qa(e,Ua,t)}function fa(e,t){return t.returnIdpCredential=!0,Qa(e,za,t)}function ma(e,t){return t.returnIdpCredential=!0,t.autoCreate=!1,Qa(e,Ha,t)}function ga(e){if(!e.oobCode)throw new k("invalid-action-code")}(e=Gs.prototype).Eb=function(e,t){var n={idToken:e},i=[];return pe(la,(function(e,r){var o=t[r];null===o?i.push(e):r in t&&(n[r]=o)})),i.length&&(n.deleteAttribute=i),Qa(this,Ra,n)},e.wb=function(e,t){return be(e={requestType:"PASSWORD_RESET",email:e},t),Qa(this,Ma,e)},e.xb=function(e,t){return be(e={requestType:"EMAIL_SIGNIN",email:e},t),Qa(this,Pa,e)},e.vb=function(e,t){return be(e={requestType:"VERIFY_EMAIL",idToken:e},t),Qa(this,Ia,e)},e.Fb=function(e,t,n){return be(e={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:e,newEmail:t},n),Qa(this,Ta,e)},e.gb=function(e){return Qa(this,Wa,e)},e.ob=function(e,t){return Qa(this,ja,{oobCode:e,newPassword:t})},e.Sa=function(e){return Qa(this,_a,{oobCode:e})},e.kb=function(e){return Qa(this,ba,{oobCode:e})};var ba={endpoint:"setAccountInfo",A:ga,Z:"email",B:!0},_a={endpoint:"resetPassword",A:ga,G:function(e){var t=e.requestType;if(!t||!e.email&&"EMAIL_SIGNIN"!=t&&"VERIFY_AND_CHANGE_EMAIL"!=t)throw new k("internal-error")},B:!0}
1,va={endpoint:"signupNewUser",A:function(e){if(ra(e),!e.password)throw new k("weak-password")},G:sa,V:!0,B:!0},ya={endpoint:"createAuthUri",B:!0},wa={endpoint:"deleteAccount",O:["idToken"]},Ca={endpoint:"setAccountInfo",O:["idToken","deleteProvider"],A:function(e){if(!Array.isArray(e.deleteProvider))throw new k("internal-error")}},xa={endpoint:"emailLinkSignin",O:["email","oobCode"],A:ra,G:sa,V:!0,B:!0},Sa={endpoint:"emailLinkSignin",O:["idToken","email","oobCode"],A:ra,G:sa,V:!0},Oa={endpoint:"accounts/mfaEnrollment:finalize",O:["idToken","phoneVerificationInfo"],A:ca,G:sa,B:!0,Na:!0},ka={endpoint:"accounts/mfaSignIn:finalize",O:["mfaPendingCredential","phoneVerificationInfo"],A:ca,G:sa,B:!0,Na:!0},Ea={endpoint:"getAccountInfo"},Pa={endpoint:"getOobConfirmationCode",O:["requestType"],A:function(e){if("EMAIL_SIGNIN"!=e.requestType)throw new k("internal-error");ra(e)},Z:"email",B:!0},Ia={endpoint:"getOobConfirmationCode",O:["idToken","requestType"],A:function(e){if("VERIFY_EMAIL"!=e.requestType)throw new k("internal-error")},Z:"email",B:!0},Ta={endpoint:"getOobConfirmationCode",O:["idToken","newEmail","requestType"],A:function(e){if("VERIFY_AND_CHANGE_EMAIL"!=e.requestType)throw new k("internal-error")},Z:"email",B:!0},Ma={endpoint:"getOobConfirmationCode",O:["requestType"],A:function(e){if("PASSWORD_RESET"!=e.requestType)throw new k("internal-error");ra(e)},Z:"email",B:!0},Aa={mb:!0,endpoint:"getProjectConfig",Vb:"GET"},Da={mb:!0,endpoint:"getRecaptchaParam",Vb:"GET",G:function(e){if(!e.recaptchaSiteKey)throw new k("internal-error")}},ja={endpoint:"resetPassword",A:ga,Z:"email",B:!0},Na={endpoint:"sendVerificationCode",O:["phoneNumber","recaptchaToken"],Z:"sessionInfo",B:!0},Ra={endpoint:"setAccountInfo",O:["idToken"],A:oa,V:!0},La={endpoint:"setAccountInfo",O:["idToken"],A:function(e){if(oa(e),!e.password)throw new k("weak-password")},G:sa,V:!0},Fa={endpoint:"signupNewUser",G:sa,V:!0,B:!0},Va={endpoint:"accounts/mfaEnrollment:start",O:["idToken","phoneEnrollmentInfo"],A:function(e){if(!e.phoneEnrollmentInfo)throw new k("internal-error");if(!e.phoneEnrollmentInfo.phoneNumber)throw new k("missing-phone-number");if(!e.phoneEnrollmentInfo.recaptchaToken)throw new k("missing-app-credential")},G:function(e){if(!e.phoneSessionInfo||!e.phoneSessionInfo.sessionInfo)throw new k("internal-error")},B:!0,Na:!0},Ba={endpoint:"accounts/mfaSignIn:start",O:["mfaPendingCredential","mfaEnrollmentId","phoneSignInInfo"],A:function(e){if(!e.phoneSignInInfo||!e.phoneSignInInfo.recaptchaToken)throw new k("missing-app-credential")},G:function(e){if(!e.phoneResponseInfo||!e.phoneResponseInfo.sessionInfo)throw new k("internal-error")},B:!0,Na:!0},Ua={endpoint:"verifyAssertion",A:ua,Za:ha,G:da,V:!0,B:!0},Ha={endpoint:"verifyAssertion",A:ua,Za:ha,G:function(e){if(e.errorMessage&&"USER_NOT_FOUND"==e.errorMessage)throw new k("user-not-found");if(e.errorMessage)throw Ya(e.errorMessage);sa(e)},V:!0,B:!0},za={endpoint:"verifyAssertion",A:function(e){if(ua(e),!e.idToken)throw new k("internal-error")},Za:ha,G:da,V:!0},Ga={endpoint:"verifyCustomToken",A:function(e){if(!e.token)throw new k("invalid-custom-token")},G:sa,V:!0,B:!0},qa={endpoint:"verifyPassword",A:function(e){if(ra(e),!e.password)throw new k("wrong-password")},G:sa,V:!0,B:!0},Wa={endpoint:"verifyPhoneNumber",A:aa,G:sa,B:!0},Ka={endpoint:"verifyPhoneNumber",A:function(e){if(!e.idToken)throw new k("internal-error");aa(e)},G:function(e){if(e.temporaryProof)throw e.code="credential-already-in-use",Go(e);sa(e)}},Xa={Ib:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",A:aa,G:sa,B:!0},$a={endpoint:"accounts/mfaEnrollment:withdraw",O:["idToken","mfaEnrollmentId"],G:function(e){if(!!e[Ws]^!!e.refreshToken)throw new k("internal-error")},B:!0,Na:!0};function Qa(e,t,n){if(!function(e,t){if(!t||!t.length)return!0;if(!e)return!1;for(var n=0;n<t.length;n++){var i=e[t[n]];if(null==i||""===i)return!1}return!0}(n,t.O))return Pt(new k("internal-error"));var i,r=!!t.Na,o=t.Vb||"POST";return Et(n).then(t.A).then((function(){return t.V&&(n.returnSecureToken=!0),t.B&&e.b&&void 0===n.tenantId&&(n.tenantId=e.b),function(e,t,n,i,r,o,s){var a=Fn(t+n);Rn(a,"key",e.c),s&&Rn(a,"cb",Date.now().toString());var l="GET"==i;if(l)for(var c in r)r.hasOwnProperty(c)&&Rn(a,c,r[c]);return new yt((function(t,n){ta(e,a.toString(),(function(e){e?e.error?n(Za(e,o||{})):t(e):n(new k("network-request-failed"))}),i,l?void 0:ni(ji(r)),e.a,e.v.get())}))}(e,r?e.i:e.h,t.endpoint,o,n,t.Ib,t.mb||!1)})).then((function(e){return i=e,t.Za?t.Za(n,i):i})).then(t.G).then((function(){if(!t.Z)return i;if(!(t.Z in i))throw new k("internal-error");return i[t.Z]}))}function Ya(e){return Za({error:{errors:[{message:e}],code:400,message:e}})}function Za(e,t){var n=(e.error&&e.error.errors&&e.error.errors[0]||{}).reason||"",i={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(n=i[n]?new k(i[n]):null)return n;for(var r in n=e.error&&e.error.message||"",be(i={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVA
1LID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_OR_INVALID_NONCE:"missing-or-invalid-nonce",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",REJECTED_CREDENTIAL:"rejected-credential",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_DYNAMIC_LINK_DOMAIN:"invalid-dynamic-link-domain",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash",UNSUPPORTED_TENANT_OPERATION:"unsupported-tenant-operation",INVALID_TENANT_ID:"invalid-tenant-id",TENANT_ID_MISMATCH:"tenant-id-mismatch",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",EMAIL_CHANGE_NEEDS_VERIFICATION:"email-change-needs-verification",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",UNSUPPORTED_FIRST_FACTOR:"unsupported-first-factor",UNVERIFIED_EMAIL:"unverified-email"},t||{}),t=(t=n.match(/^[^\s]+\s*:\s*([\s\S]*)$/))&&1<t.length?t[1]:void 0,i)if(0===n.indexOf(r))return new k(i[r],t);return!t&&e&&(t=Di(e)),new k("internal-error",t)}function Ja(e){this.b=e,this.a=null,this.sb=function(e){return(il||(il=new yt((function(e,t){function n(){Fi(),Ei("gapi.load")("gapi.iframes",{callback:e,ontimeout:function(){Fi(),t(Error("Network Error"))},timeout:tl.get()})}if(Ei("gapi.iframes.Iframe"))e();else if(Ei("gapi.load"))n();else{var i="__iframefcb"+Math.floor(1e6*Math.random()).toString();a[i]=function(){Ei("gapi.load")?n():t(Error("Network Error"))},Et(Ls(i=Ee(el,{onload:i}))).o((function(){t(Error("Network Error"))}))}})).o((function(e){throw il=null,e})))).then((function(){return new yt((function(t,n){Ei("gapi.iframes.getContext")().open({where:document.body,url:e.b,messageHandlersFilter:Ei("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},(function(i){function r(){clearTimeout(o),t()}e.a=i,e.a.restyle({setHideOnLeave:!1});var o=setTimeout((function(){n(Error("Network Error"))}),nl.get());i.ping(r).then(r,(function(){n(Error("Network Error"))}))}))}))}))}(this)}var el=new ve(xe,"https://apis.google.com/js/api.js?onload=%{onload}"),tl=new Vi(3e4,6e4),nl=new Vi(5e3,15e3),il=null;function rl(e,t,n,i){this.l=e,this.h=t,this.i=n,this.g=i,this.f=null,e=this.g?Vn((e=Fn(this.g.url)).c,e.a,e.g,"/emulator/auth/iframe"):Vn("https",this.l,null,"/__/auth/iframe"),this.a=e,Rn(this.a,"apiKey",this.h),Rn(this.a,"appName",this.i),this.b=null,this.c=[]}function ol(e,t,n,i,r,o){this.u=e,this.s=t,this.c=n,this.m=i,this.v=o,this.i=this.g=this.l=null,this.a=r,this.h=this.f=null}function sl(e){try{return i.a.app(e).auth().Ga()}catch(t){return[]}}function al(e,t,n,i,r,o){this.s=e,this.g=t,this.b=n,this.f=o,this.c=i||null,this.i=r||null,this.l=this.u=this.C=null,this.h=[],this.m=this.a=null}function ll(e){var t=li();return function(e){return Qa(e,Aa,{}).then((function(e){return e.authorizedDomains||[]}))}(e).then((function(e){e:{var n=Fn(t),i=n.c;n=n.a;for(var r=0;r<e.length;r++){var o=e[r],s=n,a=i;
1if(0==o.indexOf("chrome-extension://")?s=Fn(o).a==s&&"chrome-extension"==a:"http"!=a&&"https"!=a?s=!1:pi.test(o)?s=s==o:(o=o.split(".").join("\\."),s=new RegExp("^(.+\\."+o+"|"+o+")$","i").test(s)),s){e=!0;break e}}e=!1}if(!e)throw new Ho(li())}))}function cl(e){return e.m||(e.m=mi().then((function(){if(!e.u){var t=e.c,n=e.i,i=sl(e.b),r=new rl(e.s,e.g,e.b,e.f);r.f=t,r.b=n,r.c=Z(i||[]),e.u=r.toString()}e.v=new Ja(e.u),function(e){if(!e.v)throw Error("IfcHandler must be initialized!");!function(e,t){e.sb.then((function(){e.a.register("authEvent",t,Ei("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}(e.v,(function(t){var n={};if(t&&t.authEvent){var i=!1;for(t=Fo(t.authEvent),n=0;n<e.h.length;n++)i=e.h[n](t)||i;return(n={}).status=i?"ACK":"ERROR",Et(n)}return n.status="ERROR",Et(n)}))}(e)}))),e.m}function ul(e){return e.l||(e.C=e.c?Oi(e.c,sl(e.b)):null,e.l=new Gs(e.g,A(e.i),e.C),e.f&&Zs(e.l,e.f)),e.l}function hl(e,t,n,i,r,o,s,a,l,c,u,h){return(e=new ol(e,t,n,i,r,h)).l=o,e.g=s,e.i=a,e.b=me(l||null),e.f=c,e.zb(u).toString()}function dl(e){if(this.a=e||i.a.INTERNAL.reactNative&&i.a.INTERNAL.reactNative.AsyncStorage,!this.a)throw new k("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function pl(e){this.b=e,this.a={},this.f=w(this.c,this)}rl.prototype.toString=function(){return this.f?Rn(this.a,"v",this.f):Yn(this.a.b,"v"),this.b?Rn(this.a,"eid",this.b):Yn(this.a.b,"eid"),this.c.length?Rn(this.a,"fw",this.c.join(",")):Yn(this.a.b,"fw"),this.a.toString()},ol.prototype.zb=function(e){return this.h=e,this},ol.prototype.toString=function(){if(this.v){var e=Fn(this.v.url);e=Vn(e.c,e.a,e.g,"/emulator/auth/handler")}else e=Vn("https",this.u,null,"/__/auth/handler");if(Rn(e,"apiKey",this.s),Rn(e,"appName",this.c),Rn(e,"authType",this.m),this.a.isOAuthProvider){var t=this.a;try{var n=i.a.app(this.c).auth().la()}catch(l){n=null}for(var r in t.pb=n,Rn(e,"providerId",this.a.providerId),t=ji((n=this.a).Jb))t[r]=t[r].toString();r=n.Qc,t=me(t);for(var o=0;o<r.length;o++){var s=r[o];s in t&&delete t[s]}n.qb&&n.pb&&!t[n.qb]&&(t[n.qb]=n.pb),fe(t)||Rn(e,"customParameters",Di(t))}if("function"==typeof this.a.Rb&&(n=this.a.Rb()).length&&Rn(e,"scopes",n.join(",")),this.l?Rn(e,"redirectUrl",this.l):Yn(e.b,"redirectUrl"),this.g?Rn(e,"eventId",this.g):Yn(e.b,"eventId"),this.i?Rn(e,"v",this.i):Yn(e.b,"v"),this.b)for(var a in this.b)this.b.hasOwnProperty(a)&&!Ln(e,a)&&Rn(e,a,this.b[a]);return this.h?Rn(e,"tid",this.h):Yn(e.b,"tid"),this.f?Rn(e,"eid",this.f):Yn(e.b,"eid"),(a=sl(this.c)).length&&Rn(e,"fw",a.join(",")),e.toString()},(e=al.prototype).Pb=function(e,t,n){var i=new k("popup-closed-by-user"),r=new k("web-storage-unsupported"),o=this,s=!1;return this.ma().then((function(){(function(e){var t={type:"webStorageSupport"};return cl(e).then((function(){return function(e,t){return e.sb.then((function(){return new yt((function(n){e.a.send(t.type,t,n,Ei("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}))}(e.v,t)})).then((function(e){if(e&&e.length&&void 0!==e[0].webStorageSupport)return e[0].webStorageSupport;throw Error()}))})(o).then((function(n){n||(e&&hi(e),t(r),s=!0)}))})).o((function(){})).then((function(){if(!s)return function(e){return new yt((function(t){return function n(){On(2e3).then((function(){if(e&&!e.closed)return n();t()}))}()}))}(e)})).then((function(){if(!s)return On(n).then((function(){t(i)}))}))},e.Yb=function(){var e=ki();return!Ai(e)&&!Li(e)},e.Ub=function(){return!1},e.Nb=function(e,t,n,i,r,o,s,a){if(!e)return Pt(new k("popup-blocked"));if(s&&!Ai())return this.ma().o((function(t){hi(e),r(t)})),i(),Et();this.a||(this.a=ll(ul(this)));var l=this;return this.a.then((function(){var t=l.ma().o((function(t){throw hi(e),r(t),t}));return i(),t})).then((function(){Ro(n),s||ci(hl(l.s,l.g,l.b,t,n,null,o,l.c,void 0,l.i,a,l.f),e)})).o((function(e){throw"auth/network-request-failed"==e.code&&(l.a=null),e}))},e.Ob=function(e,t,n,i){this.a||(this.a=ll(ul(this)));var r=this;return this.a.then((function(){Ro(t),ci(hl(r.s,r.g,r.b,e,t,li(),n,r.c,void 0,r.i,i,r.f))})).o((function(e){throw"auth/network-request-failed"==e.code&&(r.a=null),e}))},e.ma=function(){var e=this;return cl(this).then((function(){return e.v.sb})).o((function(){throw e.a=null,new k("network-request-failed")}))},e.ac=function(){return!0},e.Ea=function(e){this.h.push(e)},e.Ta=function(e){Q(this.h,(function(t){return t==e}))},(e=dl.prototype).get=function(e){return Et(this.a.getItem(e)).then((function(e){return e&&Ni(e)}))},e.set=function(e,t){return Et(this.a.setItem(e,Di(t)))},e.U=function(e){return Et(this.a.removeItem(e))},e.ca=function(){},e.ia=function(){};var fl,ml=[];
1function gl(e,t,n){fe(e.a)&&e.b.addEventListener("message",e.f),void 0===e.a[t]&&(e.a[t]=[]),e.a[t].push(n)}function bl(e){this.a=e}function _l(e){this.c=e,this.b=!1,this.a=[]}function vl(e,t,n,i){var r,o,s,a,l=n||{},c=null;if(e.b)return Pt(Error("connection_unavailable"));var u=i?800:50,h="undefined"!=typeof MessageChannel?new MessageChannel:null;return new yt((function(n,i){h?(r=Math.floor(Math.random()*Math.pow(10,20)).toString(),h.port1.start(),s=setTimeout((function(){i(Error("unsupported_event"))}),u),e.a.push(c={messageChannel:h,onMessage:o=function(e){e.data.eventId===r&&("ack"===e.data.status?(clearTimeout(s),a=setTimeout((function(){i(Error("timeout"))}),3e3)):"done"===e.data.status?(clearTimeout(a),void 0!==e.data.response?n(e.data.response):i(Error("unknown_error"))):(clearTimeout(s),clearTimeout(a),i(Error("invalid_response"))))}}),h.port1.addEventListener("message",o),e.c.postMessage({eventType:t,eventId:r,data:l},[h.port2])):i(Error("connection_unavailable"))})).then((function(t){return yl(e,c),t})).o((function(t){throw yl(e,c),t}))}function yl(e,t){if(t){var n=t.messageChannel;n&&(n.port1.removeEventListener("message",t.onMessage),n.port1.close()),Q(e.a,(function(e){return e==t}))}}function wl(){if(!Sl())throw new k("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.m=a.indexedDB,this.type="indexedDB",this.g=this.v=this.f=this.l=null,this.s=!1,this.h=null;var e=this;_i()&&self?(this.v=function(){var e=_i()?self:null;if(G(ml,(function(n){n.b==e&&(t=n)})),!t){var t=new pl(e);ml.push(t)}return t}(),gl(this.v,"keyChanged",(function(t,n){return Il(e).then((function(t){return 0<t.length&&G(e.a,(function(e){e(t)})),{keyProcessed:X(t,n.key)}}))})),gl(this.v,"ping",(function(){return Et(["keyChanged"])}))):function(){var e=a.navigator;return e&&e.serviceWorker?Et().then((function(){return e.serviceWorker.ready})).then((function(e){return e.active||null})).o((function(){return null})):Et(null)}().then((function(t){(e.h=t)&&(e.g=new _l(new bl(t)),vl(e.g,"ping",null,!0).then((function(t){t[0].fulfilled&&X(t[0].value,"keyChanged")&&(e.s=!0)})).o((function(){})))}))}function Cl(e){return e.i||(e.i=function e(t){return new yt((function(n,i){var r=t.m.open("firebaseLocalStorageDb",1);r.onerror=function(e){try{e.preventDefault()}catch(t){}i(Error(e.target.error))},r.onupgradeneeded=function(e){e=e.target.result;try{e.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(t){i(t)}},r.onsuccess=function(r){(r=r.target.result).objectStoreNames.contains("firebaseLocalStorage")?n(r):function(e){return new yt((function(t,n){var i=e.m.deleteDatabase("firebaseLocalStorageDb");i.onsuccess=function(){t()},i.onerror=function(e){n(Error(e.target.error))}}))}(t).then((function(){return e(t)})).then((function(e){n(e)})).o((function(e){i(e)}))}}))}(e)),e.i}function xl(e,t){var n=0;return new yt((function i(r,o){Cl(e).then(t).then(r).o((function(t){if(!(3<++n))return Cl(e).then((function(t){return t.close(),e.i=void 0,i(r,o)})).o((function(e){o(e)}));o(t)}))}))}function Sl(){try{return!!a.indexedDB}catch(Ke){return!1}}function Ol(e){return e.objectStore("firebaseLocalStorage")}function kl(e,t){return e.transaction(["firebaseLocalStorage"],t?"readwrite":"readonly")}function El(e){return new yt((function(t,n){e.onsuccess=function(e){e&&e.target?t(e.target.result):t()},e.onerror=function(e){n(e.target.error)}}))}function Pl(e,t){return e.g&&e.h&&function(){var e=a.navigator;return e&&e.serviceWorker&&e.serviceWorker.controller||null}()===e.h?vl(e.g,"keyChanged",{key:t},e.s).then((function(){})).o((function(){})):Et()}function Il(e){return Cl(e).then((function(e){var t=Ol(kl(e,!1));return t.getAll?El(t.getAll()):new yt((function(e,n){var i=[],r=t.openCursor();r.onsuccess=function(t){(t=t.target.result)?(i.push(t.value),t.continue()):e(i)},r.onerror=function(e){n(e.target.error)}}))})).then((function(t){var n={},i=[];if(0==e.b){for(i=0;i<t.length;i++)n[t[i].fbase_key]=t[i].value;i=function e(t,n){var i,r=[];for(i in t)i in n?typeof t[i]!=typeof n[i]?r.push(i):"object"==typeof t[i]&&null!=t[i]&&null!=n[i]?0<e(t[i],n[i]).length&&r.push(i):t[i]!==n[i]&&r.push(i):r.push(i);for(i in n)i in t||r.push(i);return r}(e.c,n),e.c=n}return i}))}function Tl(e){e.l&&e.l.cancel("STOP_EVENT"),e.f&&(clearTimeout(e.f),e.f=null)}function Ml(e){var t=this,n=null;this.a=[],this.type="indexedDB",this.c=e,this.b=Et().then((function(){if(Sl()){var e=Ri(),i="__sak"+e;return fl||(fl=new wl),(n=fl).set(i,e).then((function(){return n.get(i)})).then((function(t){if(t!==e)throw Error("indexedDB not supported!");return n.U(i)})).then((function(){return n})).o((function(){return t.c}))}return t.c})).then((function(e){return t.type=e.type,e.ca((function(e){G(t.a,(function(t){t(e)}))})),e}))}function Al(){this.a={},this.type="inMemory"}function Dl(){if(!function(){var e="Node"==vi();if(!(e=jl()||e&&i.a.INTERNAL.node&&i.a.INTERNAL.node.localStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(t){return!1}}()){if("Node"==vi())throw new k("internal-error","The LocalStorage compatibility library was not found.");throw new k("web-storage-unsupported")}this.a=jl()||i.a.INTERNAL.node.localStorage,this.type="localStorage"}function jl(){try{var e=a.localStorage,t=Ri();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(n){return null}}function Nl(){this.type="nullStorage"}function Rl(){if(!function(){var e="Node"==vi();if(!(e=Ll()||e&&i.a.INTERNAL.node&&i.a.INTERNAL.node.sessionStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(t){return!1}}()){if("Node"==vi())throw new k("internal-error","The SessionStorage compatibility library was not found.");throw new k("web-storage-unsupported")}this.a=Ll()||i.a.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function Ll(){try{var e=a.sessionStorage,t=Ri();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(n){return null}}function Fl(){var e={};e.Browser=Ul,e.Node=Hl,e.ReactNative=zl,e.Worker=Gl,this.a=e[vi()]}pl.prototype.c=function(e){var t=e.data.eventType,n=e.data.eventId,i=this.a[t];if(i&&0<i.length){e.ports[0].postMessage({status:"ack",eventId:n,eventType:t,response:null});var r=[];G(i,(function(t){r.push(Et().then((function(){return t(e.origin,e.data.data)})))})),Tt(r).then((function(i){var r=[];G(i,(function(e){r.push({fulfilled:e.Qb,value:e.value,reason:e.reason?e.reason.message:void 0})})),G(r,(function(e){for(var t in e)void 0===e[t]&&delete e[t]})),e.ports[0].postMessage({status:"done",eventId:n,eventType:t,response:r})}))}},bl.prototype.postMessage=function(e,t){this.a.postMessage(e,t)},_l.prototype.close=function(){for(;0<this.a.length;)yl(this,this.a[0]);this.b=!0},(e=wl.prototype).set=function(e,t){var n=this,i=!1;return xl(this,(function(t){return El((t=Ol(kl(t,!0))).get(e))}
1)).then((function(r){return xl(n,(function(o){if(o=Ol(kl(o,!0)),r)return r.value=t,El(o.put(r));n.b++,i=!0;var s={};return s.fbase_key=e,s.value=t,El(o.add(s))}))})).then((function(){return n.c[e]=t,Pl(n,e)})).oa((function(){i&&n.b--}))},e.get=function(e){return xl(this,(function(t){return El(Ol(kl(t,!1)).get(e))})).then((function(e){return e&&e.value}))},e.U=function(e){var t=this,n=!1;return xl(this,(function(i){return n=!0,t.b++,El(Ol(kl(i,!0)).delete(e))})).then((function(){return delete t.c[e],Pl(t,e)})).oa((function(){n&&t.b--}))},e.ca=function(e){0==this.a.length&&function(e){Tl(e),function t(){e.f=setTimeout((function(){e.l=Il(e).then((function(t){0<t.length&&G(e.a,(function(e){e(t)}))})).then((function(){t()})).o((function(e){"STOP_EVENT"!=e.message&&t()}))}),800)}()}(this),this.a.push(e)},e.ia=function(e){Q(this.a,(function(t){return t==e})),0==this.a.length&&Tl(this)},(e=Ml.prototype).get=function(e){return this.b.then((function(t){return t.get(e)}))},e.set=function(e,t){return this.b.then((function(n){return n.set(e,t)}))},e.U=function(e){return this.b.then((function(t){return t.U(e)}))},e.ca=function(e){this.a.push(e)},e.ia=function(e){Q(this.a,(function(t){return t==e}))},(e=Al.prototype).get=function(e){return Et(this.a[e])},e.set=function(e,t){return this.a[e]=t,Et()},e.U=function(e){return delete this.a[e],Et()},e.ca=function(){},e.ia=function(){},(e=Dl.prototype).get=function(e){var t=this;return Et().then((function(){return Ni(t.a.getItem(e))}))},e.set=function(e,t){var n=this;return Et().then((function(){var i=Di(t);null===i?n.U(e):n.a.setItem(e,i)}))},e.U=function(e){var t=this;return Et().then((function(){t.a.removeItem(e)}))},e.ca=function(e){a.window&&ln(a.window,"storage",e)},e.ia=function(e){a.window&&hn(a.window,"storage",e)},(e=Nl.prototype).get=function(){return Et(null)},e.set=function(){return Et()},e.U=function(){return Et()},e.ca=function(){},e.ia=function(){},(e=Rl.prototype).get=function(e){var t=this;return Et().then((function(){return Ni(t.a.getItem(e))}))},e.set=function(e,t){var n=this;return Et().then((function(){var i=Di(t);null===i?n.U(e):n.a.setItem(e,i)}))},e.U=function(e){var t=this;return Et().then((function(){t.a.removeItem(e)}))},e.ca=function(){},e.ia=function(){};var Vl,Bl,Ul={F:Dl,cb:Rl},Hl={F:Dl,cb:Rl},zl={F:dl,cb:Nl},Gl={F:Dl,cb:Nl},ql={rd:"local",NONE:"none",td:"session"};function Wl(){var e=!(Li(ki())||!bi()),t=Ai(),n=Pi();this.m=e,this.h=t,this.l=n,this.a={},Vl||(Vl=new Fl),e=Vl;try{this.g=!ai()&&Hi()||!a.indexedDB?new e.a.F:new Ml(_i()?new Al:new e.a.F)}catch(i){this.g=new Al,this.h=!0}try{this.i=new e.a.cb}catch(i){this.i=new Al}this.v=new Al,this.f=w(this.Zb,this),this.b={}}function Kl(){return Bl||(Bl=new Wl),Bl}function Xl(e,t){switch(t){case"session":return e.i;case"none":return e.v;default:return e.g}}function $l(e,t){return"firebase:"+e.name+(t?":"+t:"")}function Ql(e,t,n){return n=$l(t,n),"local"==t.F&&(e.b[n]=null),Xl(e,t.F).U(n)}function Yl(e){e.c&&(clearInterval(e.c),e.c=null)}function Zl(e){this.a=e,this.b=Kl()}(e=Wl.prototype).get=function(e,t){return Xl(this,e.F).get($l(e,t))},e.set=function(e,t,n){var i=$l(e,n),r=this,o=Xl(this,e.F);return o.set(i,t).then((function(){return o.get(i)})).then((function(t){"local"==e.F&&(r.b[i]=t)}))},e.addListener=function(e,t,n){e=$l(e,t),this.l&&(this.b[e]=a.localStorage.getItem(e)),fe(this.a)&&(Xl(this,"local").ca(this.f),this.h||(ai()||!Hi())&&a.indexedDB||!this.l||function(e){Yl(e),e.c=setInterval((function(){for(var t in e.a){var n=a.localStorage.getItem(t),i=e.b[t];n!=i&&(e.b[t]=n,n=new Qt({type:"storage",key:t,target:window,oldValue:i,newValue:n,a:!0}),e.Zb(n))}}),1e3)}(this)),this.a[e]||(this.a[e]=[]),this.a[e].push(n)},e.removeListener=function(e,t,n){e=$l(e,t),this.a[e]&&(Q(this.a[e],(function(e){return e==n})),0==this.a[e].length&&delete this.a[e]),fe(this.a)&&(Xl(this,"local").ia(this.f),Yl(this))},e.Zb=function(e){if(e&&e.g){var t=e.a.key;if(null==t)for(var n in this.a){var i=this.b[n];void 0===i&&(i=null);var r=a.localStorage.getItem(n);r!==i&&(this.b[n]=r,this.nb(n))}else if(0==t.indexOf("firebase:")&&this.a[t]){if(void 0!==e.a.a?Xl(this,"local").ia(this.f):Yl(this),this.m)if(n=a.localStorage.getItem(t),(i=e.a.newValue)!==n)null!==i?a.localStorage.setItem(t,i):a.localStorage.removeItem(t);else if(this.b[t]===i&&void 0===e.a.a)return;var o=this;n=function(){void 0===e.a.a&&o.b[t]===a.localStorage.getItem(t)||(o.b[t]=a.localStorage.getItem(t),o.nb(t))},$e&&st&&10==st&&a.localStorage.getItem(t)!==e.a.newValue&&e.a.newValue!==e.a.oldValue?setTimeout(n,10):n()}}else G(e,w(this.nb,this))},e.nb=function(e){this.a[e]&&G(this.a[e],(function(e){e()}
1))};var Jl,ec={name:"authEvent",F:"local"};function tc(){this.a=Kl()}function nc(e,t){this.b=ic,this.f=a.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=e,this.h=t,this.l=a.Int32Array?new Int32Array(64):Array(64),void 0===Jl&&(Jl=a.Int32Array?new Int32Array(uc):uc),this.reset()}S(nc,(function(){this.b=-1}));for(var ic=64,rc=ic-1,oc=[],sc=0;sc<rc;sc++)oc[sc]=0;var ac=Y(128,oc);function lc(e){for(var t=e.f,n=e.l,i=0,r=0;r<t.length;)n[i++]=t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3],r=4*i;for(t=16;64>t;t++){var o=(0|n[t-16])+(((r=0|n[t-15])>>>7|r<<25)^(r>>>18|r<<14)^r>>>3)|0,s=(0|n[t-7])+(((i=0|n[t-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10)|0;n[t]=o+s|0}i=0|e.a[0],r=0|e.a[1];var a=0|e.a[2],l=0|e.a[3],c=0|e.a[4],u=0|e.a[5],h=0|e.a[6];for(o=0|e.a[7],t=0;64>t;t++){var d=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&r^i&a^r&a)|0;s=(o=o+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))|0)+((s=(s=c&u^~c&h)+(0|Jl[t])|0)+(0|n[t])|0)|0,o=h,h=u,u=c,c=l+s|0,l=a,a=r,r=i,i=s+d|0}e.a[0]=e.a[0]+i|0,e.a[1]=e.a[1]+r|0,e.a[2]=e.a[2]+a|0,e.a[3]=e.a[3]+l|0,e.a[4]=e.a[4]+c|0,e.a[5]=e.a[5]+u|0,e.a[6]=e.a[6]+h|0,e.a[7]=e.a[7]+o|0}function cc(e,t,n){void 0===n&&(n=t.length);var i=0,r=e.c;if("string"==typeof t)for(;i<n;)e.f[r++]=t.charCodeAt(i++),r==e.b&&(lc(e),r=0);else{if(!p(t))throw Error("message must be string or array");for(;i<n;){var o=t[i++];if(!("number"==typeof o&&0<=o&&255>=o&&o==(0|o)))throw Error("message must be a byte array");e.f[r++]=o,r==e.b&&(lc(e),r=0)}}e.c=r,e.g+=n}nc.prototype.reset=function(){this.g=this.c=0,this.a=a.Int32Array?new Int32Array(this.h):Z(this.h)};var uc=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function hc(){nc.call(this,8,dc)}S(hc,nc);var dc=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function pc(e,t,n,i,r,o){this.v=e,this.i=t,this.l=n,this.m=i||null,this.u=r||null,this.s=o,this.h=t+":"+n,this.C=new tc,this.g=new Zl(this.h),this.f=null,this.b=[],this.a=this.c=null}function fc(e){return new k("invalid-cordova-configuration",e)}function mc(e,t){for(var n=0;n<e.b.length;n++)try{e.b[n](t)}catch(i){}}function gc(e){return e.f||(e.f=e.ma().then((function(){return new yt((function(t){e.Ea((function n(i){return t(i),e.Ta(n),!1})),function(e){function t(t){i=!0,r&&r.cancel(),bc(e).then((function(i){var r=n;if(i&&t&&t.url){var o=null;-1!=(r=to(t.url)).indexOf("/__/auth/callback")&&(o=(o="object"==typeof(o=Ni(Ln(o=Fn(r),"firebaseError")||null))?E(o):null)?new Lo(i.c,i.b,null,null,o,null,i.T()):new Lo(i.c,i.b,r,i.f,null,null,i.T())),r=o||n}mc(e,r)}))}var n=new Lo("unknown",null,null,null,new k("no-auth-event")),i=!1,r=On(500).then((function(){return bc(e).then((function(){i||mc(e,n)}))})),o=a.handleOpenURL;a.handleOpenURL=function(e){if(0==e.toLowerCase().indexOf(Ei("BuildInfo.packageName",a).toLowerCase()+"://")&&t({url:e}),"function"==typeof o)try{o(e)}catch(n){console.error(n)}},Uo||(Uo=new Vo),function(e){var t=Uo;t.a.push(e),t.b||(t.b=function(e){for(var n=0;n<t.a.length;n++)t.a[n](e)},"function"==typeof(e=Ei("universalLinks.subscribe",a))&&e(null,t.b))}(t)}(e)}))}))),e.f}function bc(e){var t=null;return function(e){return e.b.get(ec,e.a).then((function(e){return Fo(e)}))}(e.g).then((function(n){return t=n,Ql((n=e.g).b,ec,n.a)})).then((function(){return t}))}function _c(e){this.a=e,this.b=Kl()}(e=pc.prototype).ma=function(){return this.Ia?this.Ia:this.Ia=(gi(void 0)?mi().then((function(){return new yt((function(e,t){var n=a.document,i=setTimeout((function(){t(Error("Cordova framework is not ready."))}),1e3);n.addEventListener("deviceready",(function(){clearTimeout(i),e()}),!1)}))})):Pt(Error("Cordova must run in an Android or iOS file scheme."))).then((function(){if("function"!=typeof Ei("universalLinks.subscribe",a))throw fc("cordova-universal-links-plugin-fix is not installed");if(void 0===Ei("BuildInfo.packageName",a))throw fc("cordova-plugin-buildinfo is not installed");if("function"!=typeof Ei("cordova.plugins.browsertab.openUrl",a))throw fc("cordova-plugin-browsertab is not installed");if("function"!=typeof Ei("cordova.InAppBrowser.open",a))throw fc("cordova-plugin-inappbrowser is not installed")}),(function(){throw new k("cordova-not-ready")}))},e.Pb=function(e,t){return t(new k("operation-not-supported-in-this-environment")),Et()},e.Nb=function(){return Pt(new k("operation-not-supported-in-this-environment"))},e.ac=function(){return!1},e.Yb=function(){return!0},e.Ub=function(){return!0},e.Ob=function(e,t,n,i){if(this.c)return Pt(new k("redirect-operation-pending"));var r=this,o=a.document,s=null,l=null,c=null,u=null;return this.c=Et().then((function(){return Ro(t),gc(r)})).then((function(){return function(e,t,n,i,r){var o=function(){for(var e=20,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}(),s=new Lo(t,i,null,o,new k("no-auth-event"),null,r),l=Ei("BuildInfo.packageName",a);if("string"!=typeof l)throw new k("invalid-cordova-configuration");var c=Ei("BuildInfo.displayName",a),u={};if(ki().toLowerCase().match(/iphone|ipad|ipod/))u.ibi=l;else{if(!ki().toLowerCase().match(/android/))return Pt(new k("operation-not-supported-in-this-environment"));u.apn=l}c&&(u.appDisplayName=c),o=function(e){var t=new hc;cc(t,e),e=[];var n=8*t.g;cc(t,ac,56>t.c?56-t.c:t.b-(t.c-56));for(var i=63;56<=i;i--)t.f[i]=255&n,n/=256;for(lc(t),i=n=0;i<t.i;i++)for(var r=24;0<=r;r-=8)e[n++]=t.a[i]>>r&255;return function(e){return W(e,(function(e){return 1<(e=e.toString(16)).length?e:"0"+e})).join("")}(e)}(o),u.sessionId=o;var h=hl(e.v,e.i,e.l,t,n,null,i,e.m,u,e.u,r,e.s);return e.ma().then((function(){var t=e.h;return e.C.a.set(ec,s.w(),t)})).then((function(){var t=Ei("cordova.plugins.browsertab.isAvailable",a);if("function"!=typeof t)throw new k("invalid-cordova-configuration");var n=null;t((function(t){if(t){if("function"!=typeof(n=Ei("cordova.plugins.browsertab.openUrl",a)))throw new k("invalid-cordova-configuration");n(h)}else{if("function"!=typeof(n=Ei("cordova.InAppBrowser.open",a)))throw new k("invalid-cordova-configuration");t=ki(),e.a=n(h,t.match(/(iPad|iPhone|iPod).*OS 7_\d/i)||t.match(/(iPad|iPhone|iPod).*OS 8_\d/i)?"_blank":"_system","location=yes")}}))}))}(r,e,t,n,i)})).then((function(){return new yt((function(e,t){l=function(){var t=Ei("cordova.plugins.browsertab.close",a);return e(),"function"==typeof t&&t(),r.a&&"function"==typeof r.a.close&&(r.a.close(),r.a=null),!1},r.Ea(l),u=function(){Bi()&&c()},o.addEventListener("resume",c=function(){s||(s=On(2e3).then((function(){t(new k("redirect-cancelled-by-user"))})))},!1),ki().toLowerCase().match(/android/)||o.addEventListener("visibilitychange",u,!1)})).o((function(e){return bc(r).then((function(){throw e}))}))})).oa((function(){c&&o.removeEventListener("resume",c,!1),u&&o.removeEventListener("visibilitychange",u,!1),s&&s.cancel(),l&&r.Ta(l),r.c=null}))},e.Ea=function(e){this.b.push(e),gc(this).o((function(t){"auth/invalid-cordova-configuration"===t.code&&(t=new Lo("unknown",null,null,null,new k("no-auth-event")),e(t))}))},e.Ta=function(e){Q(this.b,(function(t){return t==e}))};var vc={name:"pendingRedirect",F:"session"};
1function yc(e){return Ql(e.b,vc,e.a)}function wc(e,t,n,i){this.i={},this.u=0,this.D=e,this.v=t,this.m=n,this.J=i,this.h=[],this.f=!1,this.l=w(this.s,this),this.b=new Rc,this.C=new Uc,this.g=new _c(jc(this.v,this.m)),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.C,this.c.linkViaPopup=this.C,this.c.reauthViaPopup=this.C,this.a=Cc(this.D,this.v,this.m,P,this.J)}function Cc(e,t,n,r,o){var s=i.a.SDK_VERSION||null;return gi()?new pc(e,t,n,s,r,o):new al(e,t,n,s,r,o)}function xc(e){e.f||(e.f=!0,e.a.Ea(e.l));var t=e.a;return e.a.ma().o((function(n){throw e.a==t&&e.reset(),n}))}function Sc(e){e.a.Yb()&&xc(e).o((function(t){var n=new Lo("unknown",null,null,null,new k("operation-not-supported-in-this-environment"));Tc(t)&&e.s(n)})),e.a.Ub()||Lc(e.b)}function Oc(e,t){X(e.h,t)||e.h.push(t),e.f||function(e){return e.b.get(vc,e.a).then((function(e){return"pending"==e}))}(e.g).then((function(t){t?yc(e.g).then((function(){xc(e).o((function(t){var n=new Lo("unknown",null,null,null,new k("operation-not-supported-in-this-environment"));Tc(t)&&e.s(n)}))})):Sc(e)})).o((function(){Sc(e)}))}function kc(e,t){Q(e.h,(function(e){return e==t}))}wc.prototype.reset=function(){this.f=!1,this.a.Ta(this.l),this.a=Cc(this.D,this.v,this.m,null,this.J),this.i={}},wc.prototype.s=function(e){if(!e)throw new k("invalid-auth-event");if(6e5<=Date.now()-this.u&&(this.i={},this.u=0),e&&e.getUid()&&this.i.hasOwnProperty(e.getUid()))return!1;for(var t=!1,n=0;n<this.h.length;n++){var i=this.h[n];if(i.Gb(e.c,e.b)){(t=this.c[e.c])&&(t.h(e,i),e&&(e.f||e.b)&&(this.i[e.getUid()]=!0,this.u=Date.now())),t=!0;break}}return Lc(this.b),t};var Ec=new Vi(2e3,1e4),Pc=new Vi(3e4,6e4);function Ic(e,t,n,i,r,o,s){return e.a.Nb(t,n,i,(function(){e.f||(e.f=!0,e.a.Ea(e.l))}),(function(){e.reset()}),r,o,s)}function Tc(e){return!(!e||"auth/cordova-not-ready"!=e.code)}function Mc(e,t,n,i,r){var o;return function(e){return e.b.set(vc,"pending",e.a)}(e.g).then((function(){return e.a.Ob(t,n,i,r).o((function(t){if(Tc(t))throw new k("operation-not-supported-in-this-environment");return o=t,yc(e.g).then((function(){throw o}))})).then((function(){return e.a.ac()?new yt((function(){})):yc(e.g).then((function(){return e.ra()})).then((function(){})).o((function(){}))}))}))}function Ac(e,t,n,i,r){return e.a.Pb(i,(function(e){t.na(n,null,e,r)}),Ec.get())}wc.prototype.ra=function(){return this.b.ra()};var Dc={};function jc(e,t,n){return e=e+":"+t,n&&(e=e+":"+n.url),e}function Nc(e,t,n,i){var r=jc(t,n,i);return Dc[r]||(Dc[r]=new wc(e,t,n,i)),Dc[r]}function Rc(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function Lc(e){e.g||(e.g=!0,Bc(e,!1,null,null))}function Fc(e){e.g&&!e.i&&Bc(e,!1,null,null)}function Vc(e,t){if(e.b=function(){return Et(t)},e.f.length)for(var n=0;n<e.f.length;n++)e.f[n](t)}function Bc(e,t,n,i){t?i?function(e,t){if(e.b=function(){return Pt(t)},e.c.length)for(var n=0;n<e.c.length;n++)e.c[n](t)}(e,i):Vc(e,n):Vc(e,{user:null}),e.f=[],e.c=[]}function Uc(){}function Hc(){this.jb=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.jb},set:function(e){this.jb=e},enumerable:!1})}function zc(e,t){this.a=t,Ki(this,"verificationId",e)}function Gc(e,t,n,i){return new Do(e).gb(t,n).then((function(e){return new zc(e,i)}))}function qc(e){var t=Ur(e);if(!(t&&t.exp&&t.auth_time&&t.iat))throw new k("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");Xi(this,{token:e,expirationTime:Ui(1e3*t.exp),authTime:Ui(1e3*t.auth_time),issuedAtTime:Ui(1e3*t.iat),signInProvider:t.firebase&&t.firebase.sign_in_provider?t.firebase.sign_in_provider:null,signInSecondFactor:t.firebase&&t.firebase.sign_in_second_factor?t.firebase.sign_in_second_factor:null,claims:t})}function Wc(e,t,n){var i=t&&t[Xc];if(!i)throw new k("argument-error","Internal assert: Invalid MultiFactorResolver");this.a=e,this.f=me(t),this.g=n,this.c=new no(null,i),this.b=[];var r=this;G(t[Kc]||[],(function(e){(e=Zi(e))&&r.b.push(e)})),Ki(this,"auth",this.a),Ki(this,"session",this.c),Ki(this,"hints",this.b)}Rc.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},Rc.prototype.h=function(e,t){if(e){this.reset(),this.g=!0;var n=e.c,i=e.b,r=e.a&&"auth/web-storage-unsupported"==e.a.code,o=e.a&&"auth/operation-not-supported-in-this-environment"==e.a.code;this.i=!(!r&&!o),"unknown"!=n||r||o?e.a?(Bc(this,!0,null,e.a),Et()):t.Fa(n,i)?function(e,t,n){n=n.Fa(t.c,t.b);var i=t.g,r=t.f,o=t.i,s=t.T(),a=!!t.c.match(/Redirect$/);n(i,r,s,o).then((function(t){Bc(e,a,t,null)})).o((function(t){Bc(e,a,null,t)}))}
1(this,e,t):Pt(new k("invalid-auth-event")):(Bc(this,!1,null,null),Et())}else Pt(new k("invalid-auth-event"))},Rc.prototype.ra=function(){var e=this;return new yt((function(t,n){e.b?e.b().then(t,n):(e.f.push(t),e.c.push(n),function(e){var t=new k("timeout");e.a&&e.a.cancel(),e.a=On(Pc.get()).then((function(){e.b||(e.g=!0,Bc(e,!0,null,t))}))}(e))}))},Uc.prototype.h=function(e,t){if(e){var n=e.c,i=e.b;e.a?(t.na(e.c,null,e.a,e.b),Et()):t.Fa(n,i)?function(e,t){var n=e.b,i=e.c;t.Fa(i,n)(e.g,e.f,e.T(),e.i).then((function(e){t.na(i,e,null,n)})).o((function(e){t.na(i,null,e,n)}))}(e,t):Pt(new k("invalid-auth-event"))}else Pt(new k("invalid-auth-event"))},zc.prototype.confirm=function(e){return e=jo(this.verificationId,e),this.a(e)};var Kc="mfaInfo",Xc="mfaPendingCredential";function $c(e,t,n,i){k.call(this,"multi-factor-auth-required",i,t),this.b=new Wc(e,t,n),Ki(this,"resolver",this.b)}function Qc(e,t,n){if(e&&m(e.serverResponse)&&"auth/multi-factor-auth-required"===e.code)try{return new $c(t,e.serverResponse,n,e.message)}catch(i){}return null}function Yc(){}function Zc(e){Ki(this,"factorId",e.fa),this.a=e}function Jc(e){if(Zc.call(this,e),this.a.fa!=Do.PROVIDER_ID)throw new k("argument-error","firebase.auth.PhoneMultiFactorAssertion requires a valid firebase.auth.PhoneAuthCredential")}function eu(e,t){for(var n in $t.call(this,e),t)this[n]=t[n]}function tu(e,t){this.a=e,this.b=[],this.c=w(this.yc,this),ln(this.a,"userReloaded",this.c);var n=[];t&&t.multiFactor&&t.multiFactor.enrolledFactors&&G(t.multiFactor.enrolledFactors,(function(e){var t=null,i={};if(e){e.uid&&(i[tr]=e.uid),e.displayName&&(i[Ji]=e.displayName),e.enrollmentTime&&(i[er]=new Date(e.enrollmentTime).toISOString()),e.phoneNumber&&(i[nr]=e.phoneNumber);try{t=new ir(i)}catch(r){}e=t}else e=null;e&&n.push(e)})),nu(this,n)}function nu(e,t){e.b=t,Ki(e,"enrolledFactors",t)}function iu(e,t,n){if(this.h=e,this.i=t,this.g=n,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function ru(e){this.f=e,this.b=this.a=null,this.c=Date.now()}function ou(e,t){void 0===t&&(t=e.b?(t=e.b).a-t.g:0),e.c=Date.now()+1e3*t}function su(e,t){e.b=Br(t[Ws]||""),e.a=t.refreshToken,ou(e,void 0!==(t=t.expiresIn)?Number(t):void 0)}function au(e,t){this.a=e||null,this.b=t||null,Xi(this,{lastSignInTime:Ui(t||null),creationTime:Ui(e||null)})}function lu(e,t,n,i,r,o){Xi(this,{uid:e,displayName:i||null,photoURL:r||null,email:n||null,phoneNumber:o||null,providerId:t})}function cu(e,t,n){this.N=[],this.l=e.apiKey,this.m=e.appName,this.s=e.authDomain||null;var r=i.a.SDK_VERSION?Oi(i.a.SDK_VERSION):null;this.a=new Gs(this.l,A(P),r),(this.u=e.emulatorConfig||null)&&Zs(this.a,this.u),this.h=new ru(this.a),_u(this,t[Ws]),su(this.h,t),Ki(this,"refreshToken",this.h.a),wu(this,n||{}),yn.call(this),this.P=!1,this.s&&Ii()&&(this.b=Nc(this.s,this.l,this.m,this.u)),this.W=[],this.i=null,this.D=function(e){return new iu((function(){return e.I(!0)}),(function(e){return!(!e||"auth/network-request-failed"!=e.code)}),(function(){var t=e.h.c-Date.now()-3e5;return 0<t?t:0}))}(this),this.ba=w(this.ib,this);var o=this;this.za=null,this.Pa=function(e){o.xa(e.h)},this.qa=null,this.Ba=function(e){uu(o,e.c)},this.$=null,this.aa=[],this.Oa=function(e){pu(o,e.f)},this.ja=null,this.S=new tu(this,n),Ki(this,"multiFactor",this.S)}function uu(e,t){e.u=t,Zs(e.a,t),e.b&&(t=e.b,e.b=Nc(e.s,e.l,e.m,e.u),e.P&&(kc(t,e),Oc(e.b,e)))}function hu(e,t){e.qa&&hn(e.qa,"languageCodeChanged",e.Pa),(e.qa=t)&&ln(t,"languageCodeChanged",e.Pa)}function du(e,t){e.$&&hn(e.$,"emulatorConfigChanged",e.Ba),(e.$=t)&&ln(t,"emulatorConfigChanged",e.Ba)}function pu(e,t){e.aa=t,ea(e.a,i.a.SDK_VERSION?Oi(i.a.SDK_VERSION,e.aa):null)}function fu(e,t){e.ja&&hn(e.ja,"frameworkChanged",e.Oa),(e.ja=t)&&ln(t,"frameworkChanged",e.Oa)}function mu(e){try{return i.a.app(e.m).auth()}catch(t){throw new k("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+e.m+"'!")}}function gu(e){e.J||e.D.b||(e.D.start(),hn(e,"tokenChanged",e.ba),ln(e,"tokenChanged",e.ba))}function bu(e){hn(e,"tokenChanged",e.ba),e.D.stop()}function _u(e,t){e.Aa=t,Ki(e,"_lat",t)}function vu(e){for(var t=[],n=0;n<e.W.length;n++)t.push(e.W[n](e));return Tt(t).then((function(){return e}))}function yu(e){e.b&&!e.P&&(e.P=!0,Oc(e.b,e))}function wu(e,t){Xi(e,{uid:t.uid,displayName:t.displayName||null,photoURL:t.photoURL||null,email:t.email||null,emailVerified:t.emailVerified||!1,phoneNumber:t.phoneNumber||null,isAnonymous:t.isAnonymous||!1,tenantId:t.tenantId||null,metadata:new au(t.createdAt,t.lastLoginAt),providerData:[]}),e.a.b=e.tenantId}function Cu(){}function xu(e){return Et().then((function(){if(e.J)throw new k("app-deleted")}))}function Su(e){return W(e.providerData,(function(e){return e.providerId}))}function Ou(e,t){t&&(ku(e,t.providerId),e.providerData.push(t))}function ku(e,t){Q(e.providerData,(function(e){return e.providerId==t}))}function Eu(e,t,n){("uid"!=t||n)&&e.hasOwnProperty(t)&&Ki(e,t,n)}function Pu(e,t){e!=t&&(Xi(e,{uid:t.uid,displayName:t.displayName,photoURL:t.photoURL,email:t.email,emailVerified:t.emailVerified,phoneNumber:t.phoneNumber,isAnonymous:t.isAnonymous,tenantId:t.tenantId,providerData:[]}),Ki(e,"metadata",t.metadata?function(e){return new au(e.a,e.b)}(t.metadata):new au),G(t.providerData,(function(t){Ou(e,t)})),function(e,t){e.b=t.b,e.a=t.a,e.c=t.c}(e.h,t.h),Ki(e,"refreshToken",e.h.a),nu(e.S,t.S.b))}function Iu(e){return e.I().then((function(t){var n=e.isAnonymous;return function(e,t){return Qa(e.a,Ea,{idToken:t}).then(w(e.Kc,e))}(e,t).then((function(){return n||Eu(e,"isAnonymous",!1),t}))}))}function Tu(e,t){t[Ws]&&e.Aa!=t[Ws]&&(su(e.h,t),e.dispatchEvent(new eu("tokenChanged")),_u(e,t[Ws]),Eu(e,"refreshToken",e.h.a))}function Mu(e,t){return Iu(e).then((function(){if(X(Su(e),t))return vu(e).then((function(){throw new k("provider-already-linked")}))}))}function Au(e,t,n){return $i({user:e,credential:No(t),additionalUserInfo:t=Wr(t),operationType:n})}function Du(e,t){return Tu(e,t),e.reload().then((function(){return e}))}function ju(e,t,n,r,o){if(!Ii())return Pt(new k("operation-not-supported-in-this-environment"));if(e.i&&!o)return Pt(e.i);var s=qr(n.providerId),a=Ri(e.uid+":::"),l=null;(!Ai()||bi())&&e.s&&n.isOAuthProvider&&(l=hl(e.s,e.l,e.m,t,n,null,a,i.a.SDK_VERSION||null,null,null,e.tenantId,e.u));var c=di(l,s&&s.va,s&&s.ua);return r=r().then((function(){if(Ru(e),!o)return e.I().then((function(){}))})).then((function(){return Ic(e.b,c,t,n,a,!!l,e.tenantId)}
1)).then((function(){return new yt((function(n,i){e.na(t,null,new k("cancelled-popup-request"),e.g||null),e.f=n,e.C=i,e.g=a,e.c=Ac(e.b,e,t,c,a)}))})).then((function(e){return c&&hi(c),e?$i(e):null})).o((function(e){throw c&&hi(c),e})),Lu(e,r,o)}function Nu(e,t,n,i,r){if(!Ii())return Pt(new k("operation-not-supported-in-this-environment"));if(e.i&&!r)return Pt(e.i);var o=null,s=Ri(e.uid+":::");return i=i().then((function(){if(Ru(e),!r)return e.I().then((function(){}))})).then((function(){return e.ga=s,vu(e)})).then((function(t){return e.ha&&(t=(t=e.ha).b.set(Bu,e.w(),t.a)),t})).then((function(){return Mc(e.b,t,n,s,e.tenantId)})).o((function(t){if(o=t,e.ha)return Uu(e.ha);throw o})).then((function(){if(o)throw o})),Lu(e,i,r)}function Ru(e){if(!e.b||!e.P){if(e.b&&!e.P)throw new k("internal-error");throw new k("auth-domain-config-required")}}function Lu(e,t,n){var i=function(e,t,n){return e.i&&!n?(t.cancel(),Pt(e.i)):t.o((function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(e.i||e.dispatchEvent(new eu("userInvalidated")),e.i=t),t}))}(e,t,n);return e.N.push(i),i.oa((function(){$(e.N,i)})),i.o((function(t){var n=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(n=Qc(t.w(),mu(e),w(e.jc,e))),n||t}))}function Fu(e){if(!e.apiKey)return null;var t={apiKey:e.apiKey,authDomain:e.authDomain,appName:e.appName,emulatorConfig:e.emulatorConfig},n={};if(!e.stsTokenManager||!e.stsTokenManager.accessToken)return null;n[Ws]=e.stsTokenManager.accessToken,n.refreshToken=e.stsTokenManager.refreshToken||null;var i=e.stsTokenManager.expirationTime;i&&(n.expiresIn=(i-Date.now())/1e3);var r=new cu(t,n,e);return e.providerData&&G(e.providerData,(function(e){e&&Ou(r,$i(e))})),e.redirectEventId&&(r.ga=e.redirectEventId),r}function Vu(e){this.a=e,this.b=Kl()}Wc.prototype.Rc=function(e){var t=this;return e.tb(this.a.a,this.c).then((function(e){var n=me(t.f);return delete n[Kc],delete n[Xc],be(n,e),t.g(n)}))},S($c,k),Yc.prototype.tb=function(e,t,n){return t.type==io?function(e,t,n,i){return n.Ha().then((function(n){return n={idToken:n},void 0!==i&&(n.displayName=i),be(n,{phoneVerificationInfo:Ao(e.a)}),Qa(t,Oa,n)}))}(this,e,t,n):function(e,t,n){return n.Ha().then((function(n){return be(n={mfaPendingCredential:n},{phoneVerificationInfo:Ao(e.a)}),Qa(t,ka,n)}))}(this,e,t)},S(Zc,Yc),S(Jc,Zc),S(eu,$t),(e=tu.prototype).yc=function(e){nu(this,function(e){var t=[];return G(e.mfaInfo||[],(function(e){(e=Zi(e))&&t.push(e)})),t}(e.hd))},e.Sb=function(){return this.a.I().then((function(e){return new no(e,null)}))},e.fc=function(e,t){var n=this,i=this.a.a;return this.Sb().then((function(n){return e.tb(i,n,t)})).then((function(e){return Tu(n.a,e),n.a.reload()}))},e.bd=function(e){var t=this,n="string"==typeof e?e:e.uid,i=this.a.a;return this.a.I().then((function(e){return Qa(i,$a,{idToken:e,mfaEnrollmentId:n})})).then((function(e){var i=q(t.b,(function(e){return e.uid!=n}));return nu(t,i),Tu(t.a,e),t.a.reload().o((function(e){if("auth/user-token-expired"!=e.code)throw e}))}))},e.w=function(){return{multiFactor:{enrolledFactors:W(this.b,(function(e){return e.w()}))}}},iu.prototype.start=function(){this.a=this.c,function e(t,n){t.stop(),t.b=On(function(e,t){return t?(e.a=e.c,e.g()):(t=e.a,e.a*=2,e.a>e.f&&(e.a=e.f),t)}(t,n)).then((function(){return function(){var e=a.document,t=null;return Bi()||!e?Et():new yt((function(n){t=function(){Bi()&&(e.removeEventListener("visibilitychange",t,!1),n())},e.addEventListener("visibilitychange",t,!1)})).o((function(n){throw e.removeEventListener("visibilitychange",t,!1),n}))}()})).then((function(){return t.h()})).then((function(){e(t,!0)})).o((function(n){t.i(n)&&e(t,!1)}))}(this,!0)},iu.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},ru.prototype.w=function(){return{apiKey:this.f.c,refreshToken:this.a,accessToken:this.b&&this.b.toString(),expirationTime:this.c}},ru.prototype.getToken=function(e){return e=!!e,this.b&&!this.a?Pt(new k("user-token-expired")):e||!this.b||Date.now()>this.c-3e4?this.a?function(e,t){return function(e,t){return new yt((function(n,i){"refresh_token"==t.grant_type&&t.refresh_token||"authorization_code"==t.grant_type&&t.code?ta(e,e.l+"?key="+encodeURIComponent(e.c),(function(e){e?e.error?i(Za(e)):e.access_token&&e.refresh_token?n(e):i(new k("internal-error")):i(new k("network-request-failed"))}),"POST",Qn(t).toString(),e.g,e.m.get()):i(new k("internal-error"))}))}(e.f,t).then((function(t){return e.b=Br(t.access_token),e.a=t.refresh_token,ou(e,t.expires_in),{accessToken:e.b.toString(),refreshToken:e.a}})).o((function(t){throw"auth/user-token-expired"==t.code&&(e.a=null),t}))}(this,{grant_type:"refresh_token",refresh_token:this.a}):Et(null):Et({accessToken:this.b.toString(),refreshToken:this.a})},au.prototype.w=function(){return{lastLoginAt:this.b,createdAt:this.a}},S(cu,yn),cu.prototype.xa=function(e){this.za=e,Ys(this.a,e)},cu.prototype.la=function(){return this.za},cu.prototype.Ga=function(){return Z(this.aa)},cu.prototype.ib=function(){this.D.b&&(this.D.stop(),this.D.start())},Ki(cu.prototype,"providerId","firebase"),(e=cu.prototype).reload=function(){var e=this;return Lu(this,xu(this).then((function(){return Iu(e).then((function(){return vu(e)})).then(Cu)})))},e.oc=function(e){return this.I(e).then((function(e){return new qc(e)}))},e.I=function(e){var t=this;return Lu(this,xu(this).then((function(){return t.h.getToken(e)})).then((function(e){if(!e)throw new k("internal-error");
1return e.accessToken!=t.Aa&&(_u(t,e.accessToken),t.dispatchEvent(new eu("tokenChanged"))),Eu(t,"refreshToken",e.refreshToken),e.accessToken})))},e.Kc=function(e){if(!(e=e.users)||!e.length)throw new k("internal-error");wu(this,{uid:(e=e[0]).localId,displayName:e.displayName,photoURL:e.photoUrl,email:e.email,emailVerified:!!e.emailVerified,phoneNumber:e.phoneNumber,lastLoginAt:e.lastLoginAt,createdAt:e.createdAt,tenantId:e.tenantId});for(var t=function(e){return(e=e.providerUserInfo)&&e.length?W(e,(function(e){return new lu(e.rawId,e.providerId,e.email,e.displayName,e.photoUrl,e.phoneNumber)})):[]}(e),n=0;n<t.length;n++)Ou(this,t[n]);Eu(this,"isAnonymous",!(this.email&&e.passwordHash||this.providerData&&this.providerData.length)),this.dispatchEvent(new eu("userReloaded",{hd:e}))},e.Lc=function(e){return qi("firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead."),this.ub(e)},e.ub=function(e){var t=this,n=null;return Lu(this,e.c(this.a,this.uid).then((function(e){return Tu(t,e),n=Au(t,e,"reauthenticate"),t.i=null,t.reload()})).then((function(){return n})),!0)},e.Cc=function(e){return qi("firebase.User.prototype.linkAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.linkWithCredential instead."),this.rb(e)},e.rb=function(e){var t=this,n=null;return Lu(this,Mu(this,e.providerId).then((function(){return t.I()})).then((function(n){return e.b(t.a,n)})).then((function(e){return n=Au(t,e,"link"),Du(t,e)})).then((function(){return n})))},e.Dc=function(e,t){var n=this;return Lu(this,Mu(this,"phone").then((function(){return Gc(mu(n),e,t,w(n.rb,n))})))},e.Mc=function(e,t){var n=this;return Lu(this,Et().then((function(){return Gc(mu(n),e,t,w(n.ub,n))})),!0)},e.Cb=function(e){var t=this;return Lu(this,this.I().then((function(n){return t.a.Cb(n,e)})).then((function(e){return Tu(t,e),t.reload()})))},e.ed=function(e){var t=this;return Lu(this,this.I().then((function(n){return e.b(t.a,n)})).then((function(e){return Tu(t,e),t.reload()})))},e.Db=function(e){var t=this;return Lu(this,this.I().then((function(n){return t.a.Db(n,e)})).then((function(e){return Tu(t,e),t.reload()})))},e.Eb=function(e){if(void 0===e.displayName&&void 0===e.photoURL)return xu(this);var t=this;return Lu(this,this.I().then((function(n){return t.a.Eb(n,{displayName:e.displayName,photoUrl:e.photoURL})})).then((function(e){return Tu(t,e),Eu(t,"displayName",e.displayName||null),Eu(t,"photoURL",e.photoUrl||null),G(t.providerData,(function(e){"password"===e.providerId&&(Ki(e,"displayName",t.displayName),Ki(e,"photoURL",t.photoURL))})),vu(t)})).then(Cu))},e.cd=function(e){var t=this;return Lu(this,Iu(this).then((function(n){return X(Su(t),e)?function(e,t,n){return Qa(e,Ca,{idToken:t,deleteProvider:n})}(t.a,n,[e]).then((function(e){var n={};return G(e.providerUserInfo||[],(function(e){n[e.providerId]=!0})),G(Su(t),(function(e){n[e]||ku(t,e)})),n[Do.PROVIDER_ID]||Ki(t,"phoneNumber",null),vu(t)})):vu(t).then((function(){throw new k("no-such-provider")}))})))},e.delete=function(){var e=this;return Lu(this,this.I().then((function(t){return Qa(e.a,wa,{idToken:t})})).then((function(){e.dispatchEvent(new eu("userDeleted"))}))).then((function(){for(var t=0;t<e.N.length;t++)e.N[t].cancel("app-deleted");hu(e,null),du(e,null),fu(e,null),e.N=[],e.J=!0,bu(e),Ki(e,"refreshToken",null),e.b&&kc(e.b,e)}))},e.Gb=function(e,t){return!!("linkViaPopup"==e&&(this.g||null)==t&&this.f||"reauthViaPopup"==e&&(this.g||null)==t&&this.f||"linkViaRedirect"==e&&(this.ga||null)==t||"reauthViaRedirect"==e&&(this.ga||null)==t)},e.na=function(e,t,n,i){"linkViaPopup"!=e&&"reauthViaPopup"!=e||i!=(this.g||null)||(n&&this.C?this.C(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.C)},e.Fa=function(e,t){return"linkViaPopup"==e&&t==(this.g||null)?w(this.Lb,this):"reauthViaPopup"==e&&t==(this.g||null)?w(this.Mb,this):"linkViaRedirect"==e&&(this.ga||null)==t?w(this.Lb,this):"reauthViaRedirect"==e&&(this.ga||null)==t?w(this.Mb,this):null},e.Ec=function(e){var t=this;return ju(this,"linkViaPopup",e,(function(){return Mu(t,e.providerId).then((function(){return vu(t)}))}),!1)},e.Nc=function(e){return ju(this,"reauthViaPopup",e,(function(){return Et()}),!0)},e.Fc=function(e){var t=this;return Nu(this,"linkViaRedirect",e,(function(){return Mu(t,e.providerId)}),!1)},e.Oc=function(e){return Nu(this,"reauthViaRedirect",e,(function(){return Et()}),!0)},e.Lb=function(e,t,n,i){var r=this;this.c&&(this.c.cancel(),this.c=null);var o=null;return Lu(this,this.I().then((function(n){return fa(r.a,{requestUri:e,postBody:i,sessionId:t,idToken:n})})).then((function(e){return o=Au(r,e,"link"),Du(r,e)})).then((function(){return o}
1)))},e.Mb=function(e,t,n,i){var r=this;this.c&&(this.c.cancel(),this.c=null);var o=null;return Lu(this,Et().then((function(){return so(ma(r.a,{requestUri:e,sessionId:t,postBody:i,tenantId:n}),r.uid)})).then((function(e){return o=Au(r,e,"reauthenticate"),Tu(r,e),r.i=null,r.reload()})).then((function(){return o})),!0)},e.vb=function(e){var t=this,n=null;return Lu(this,this.I().then((function(t){return n=t,void 0===e||fe(e)?{}:Lr(new Er(e))})).then((function(e){return t.a.vb(n,e)})).then((function(e){if(t.email!=e)return t.reload()})).then((function(){})))},e.Fb=function(e,t){var n=this,i=null;return Lu(this,this.I().then((function(e){return i=e,void 0===t||fe(t)?{}:Lr(new Er(t))})).then((function(t){return n.a.Fb(i,e,t)})).then((function(e){if(n.email!=e)return n.reload()})).then((function(){})))},e.jc=function(e){var t=null,n=this;return Lu(this,e=so(Et(e),n.uid).then((function(e){return t=Au(n,e,"reauthenticate"),Tu(n,e),n.i=null,n.reload()})).then((function(){return t})),!0)},e.toJSON=function(){return this.w()},e.w=function(){var e={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,tenantId:this.tenantId,providerData:[],apiKey:this.l,appName:this.m,authDomain:this.s,stsTokenManager:this.h.w(),redirectEventId:this.ga||null};return this.metadata&&be(e,this.metadata.w()),G(this.providerData,(function(t){e.providerData.push(function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t))})),be(e,this.S.w()),e};var Bu={name:"redirectUser",F:"session"};function Uu(e){return Ql(e.b,Bu,e.a)}function Hu(e){this.a=e,this.b=Kl(),this.c=null,this.f=function(e){var t=qu("local"),n=qu("session"),i=qu("none");return function(e,t,n){var i=$l(t,n),r=Xl(e,t.F);return e.get(t,n).then((function(o){var s=null;try{s=Ni(a.localStorage.getItem(i))}catch(l){}if(s&&!o)return a.localStorage.removeItem(i),e.set(t,s,n);s&&o&&"localStorage"!=r.type&&a.localStorage.removeItem(i)}))}(e.b,t,e.a).then((function(){return e.b.get(n,e.a)})).then((function(r){return r?n:e.b.get(i,e.a).then((function(n){return n?i:e.b.get(t,e.a).then((function(n){return n?t:e.b.get(Gu,e.a).then((function(e){return e?qu(e):t}))}))}))})).then((function(t){return e.c=t,zu(e,t.F)})).o((function(){e.c||(e.c=t)}))}(this),this.b.addListener(qu("local"),this.a,w(this.g,this))}function zu(e,t){var n,i=[];for(n in ql)ql[n]!==t&&i.push(Ql(e.b,qu(ql[n]),e.a));return i.push(Ql(e.b,Gu,e.a)),function(e){return new yt((function(t,n){var i=e.length,r=[];if(i)for(var o=function(e,n){i--,r[e]=n,0==i&&t(r)},s=function(e){n(e)},a=0;a<e.length;a++)It(e[a],C(o,a),s);else t(r)}))}(i)}Hu.prototype.g=function(){var e=this,t=qu("local");$u(this,(function(){return Et().then((function(){return e.c&&"local"!=e.c.F?e.b.get(t,e.a):null})).then((function(n){if(n)return zu(e,"local").then((function(){e.c=t}))}))}))};var Gu={name:"persistence",F:"session"};function qu(e){return{name:"authUser",F:e}}function Wu(e,t){return $u(e,(function(){return e.b.set(e.c,t.w(),e.a)}))}function Ku(e){return $u(e,(function(){return Ql(e.b,e.c,e.a)}))}function Xu(e,t,n){return $u(e,(function(){return e.b.get(e.c,e.a).then((function(e){return e&&t&&(e.authDomain=t),e&&n&&(e.emulatorConfig=n),Fu(e||{})}))}))}function $u(e,t){return e.f=e.f.then(t,t),e.f}function Qu(e){if(this.l=!1,Ki(this,"settings",new Hc),Ki(this,"app",e),!rh(this).options||!rh(this).options.apiKey)throw new k("invalid-api-key");e=i.a.SDK_VERSION?Oi(i.a.SDK_VERSION):null,this.a=new Gs(rh(this).options&&rh(this).options.apiKey,A(P),e),this.P=[],this.s=[],this.N=[],this.Pa=i.a.INTERNAL.createSubscribe(w(this.zc,this)),this.W=void 0,this.ib=i.a.INTERNAL.createSubscribe(w(this.Ac,this)),nh(this,null),this.i=new Hu(rh(this).options.apiKey+":"+rh(this).name),this.D=new Vu(rh(this).options.apiKey+":"+rh(this).name),this.$=lh(this,function(e){var t=rh(e).options.authDomain,n=function(e){var t=function(e,t){return e.b.get(Bu,e.a).then((function(e){return e&&t&&(e.authDomain=t),Fu(e||{})}))}(e.D,rh(e).options.authDomain).then((function(t){return(e.m=t)&&(t.ha=e.D),Uu(e.D)}));return lh(e,t)}(e).then((function(){return Xu(e.i,t,e.R)})).then((function(t){return t?(t.ha=e.D,e.m&&(e.m.ga||null)==(t.ga||null)?t:t.reload().then((function(){return Wu(e.i,t).then((function(){return t}))})).o((function(n){return"auth/network-request-failed"==n.code?t:Ku(e.i)}))):null})).then((function(t){nh(e,t||null)}));return lh(e,n)}(this)),this.h=lh(this,function(e){return e.$.then((function(){return th(e)})).o((function(){})).then((function(){if(!e.l)return e.ja()})).o((function(){})).then((function(){if(!e.l){e.ba=!0;var t=e.i;t.b.addListener(qu("local"),t.a,e.ja)}}))}(this)),this.ba=!1,this.ja=w(this.Zc,this),this.Ba=w(this.da,this),this.qa=w(this.mc,this),this.za=w(this.wc,this),this.Aa=w(this.xc,this),this.b=null,function(e){var t=rh(e).options.authDomain,n=rh(e).options.apiKey;t&&Ii()&&(e.Oa=e.$.then((function(){if(!e.l){if(e.b=Nc(t,n,rh(e).name,e.R),Oc(e.b,e),oh(e)&&yu(oh(e)),e.m){yu(e.m);var i=e.m;i.xa(e.la()),hu(i,e),pu(i=e.m,e.J),fu(i,e),uu(i=e.m,e.R),du(i,e),e.m=null}return e.b}})))}(this),this.INTERNAL={},this.INTERNAL.delete=w(this.delete,this),this.INTERNAL.logFramework=w(this.Gc,this),this.u=0,yn.call(this),function(e){Object.defineProperty(e,"lc",{get:function(){return this.la()},set:function(e){this.xa(e)},enumerable:!1}),e.aa=null,Object.defineProperty(e,"ti",{get:function(){return this.T()},set:function(e){this.zb(e)},enumerable:!1}),e.S=null,Object.defineProperty(e,"emulatorConfig",{get:function(){if(this.R){var e=Fn(this.R.url);e=$i({protocol:e.c,host:e.a,port:e.g,options:$i({disableWarnings:this.R.ec})})}else e=null;return e},enumerable:!1})}(this),this.J=[],this.R=null}function Yu(e){$t.call(this,"languageCodeChanged"),this.h=e}function Zu(e){$t.call(this,"emulatorConfigChanged"),this.c=e}function Ju(e){$t.call(this,"frameworkChanged"),this.f=e}function eh(e){return e.Oa||Pt(new k("auth-domain-config-required"))}function th(e){if(!Ii())return Pt(new k("operation-not-supported-in-this-environment"));var t=eh(e).then((function(){return e.b.ra()})).then((function(e){return e?$i(e):null}));return lh(e,t)}function nh(e,t){oh(e)&&(function(e,t){Q(e.W,(function(e){return e==t}))}(oh(e),e.Ba),hn(oh(e),"tokenChanged",e.qa),hn(oh(e),"userDeleted",e.za),hn(oh(e),"userInvalidated",e.Aa),bu(oh(e))),t&&(t.W.push(e.Ba),ln(t,"tokenChanged",e.qa),ln(t,"userDeleted",e.za),ln(t,"userInvalidated",e.Aa),0<e.u&&gu(t)),Ki(e,"currentUser",t),t&&(t.xa(e.la()),hu(t,e),pu(t,e.J),fu(t,e),uu(t,e.R),du(t,e))}function ih(e,t){var n=null,i=null;return lh(e,t.then((function(t){return n=No(t),i=Wr(t),function(e,t){var n={};return n.apiKey=rh(e).options.apiKey,n.authDomain=rh(e).options.authDomain,n.appName=rh(e).name,e.R&&(n.emulatorConfig=e.R),e.$.then((function(){return function(e,t,n,i){var r=new cu(e,t);return n&&(r.ha=n),i&&pu(r,i),r.reload().then((function(){return r}))}(n,t,e.D,e.Ga())})).then((function(t){return oh(e)&&t.uid==oh(e).uid?(Pu(oh(e),t),e.da(t)):(nh(e,t),yu(t),e.da(t))})).then((function(){ah(e)}))}(e,t)}),(function(t){var n=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(n=Qc(t.w(),e,w(e.kc,e))),n||t})).then((function(){return $i({user:oh(e),credential:n,additionalUserInfo:i,operationType:"signIn"})})))}function rh(e){return e.app}function oh(e){return e.currentUser}function sh(e){return oh(e)&&oh(e)._lat||null}function ah(e){if(e.ba){for(var t=0;t<e.s.length;t++)e.s[t]&&e.s[t](sh(e));if(e.W!==e.getUid()&&e.N.length)for(e.W=e.getUid(),t=0;t<e.N.length;t++)e.N[t]&&e.N[t](sh(e))}}function lh(e,t){return e.P.push(t),t.oa((function(){$(e.P,t)})),t}function ch(){}function uh(){this.a={},this.b=1e12}Hu.prototype.yb=function(e){var t=null,n=this;return function(e){var t=new k("invalid-persistence-type"),n=new k("unsupported-persistence-type");e:{for(i in ql)if(ql[i]==e){var i=!0;break e}i=!1}if(!i||"string"!=typeof e)throw t;switch(vi()){case"ReactNative":if("session"===e)throw n;break;case"Node":if("none"!==e)throw n;break;case"Worker":if("session"===e||!Sl()&&"none"!==e)throw n;break;default:if(!Pi()&&"none"!==e)throw n}}
1(e),$u(this,(function(){return e!=n.c.F?n.b.get(n.c,n.a).then((function(i){return t=i,zu(n,e)})).then((function(){if(n.c=qu(e),t)return n.b.set(n.c,t,n.a)})):Et()}))},S(Qu,yn),S(Yu,$t),S(Zu,$t),S(Ju,$t),(e=Qu.prototype).yb=function(e){return lh(this,e=this.i.yb(e))},e.xa=function(e){this.aa===e||this.l||(this.aa=e,Ys(this.a,this.aa),this.dispatchEvent(new Yu(this.la())))},e.la=function(){return this.aa},e.fd=function(){var e=a.navigator;this.xa(e&&(e.languages&&e.languages[0]||e.language||e.userLanguage)||null)},e.gd=function(e,t){if(!this.R){if(!/^https?:\/\//.test(e))throw new k("argument-error","Emulator URL must start with a valid scheme (http:// or https://).");(function(e){"undefined"!=typeof console&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),a.document&&!e&&mi().then((function(){var e=a.document.createElement("div");e.innerText="Running in emulator mode. Do not use with production credentials.",e.style.position="fixed",e.style.width="100%",e.style.backgroundColor="#ffffff",e.style.border=".1em solid #000000",e.style.color="#b50000",e.style.bottom="0px",e.style.left="0px",e.style.margin="0px",e.style.zIndex=1e4,e.style.textAlign="center",e.classList.add("firebase-emulator-warning"),a.document.body.appendChild(e)}))})(t=!!t&&!!t.disableWarnings),this.R={url:e,ec:t},this.settings.jb=!0,Zs(this.a,this.R),this.dispatchEvent(new Zu(this.R))}},e.Gc=function(e){this.J.push(e),ea(this.a,i.a.SDK_VERSION?Oi(i.a.SDK_VERSION,this.J):null),this.dispatchEvent(new Ju(this.J))},e.Ga=function(){return Z(this.J)},e.zb=function(e){this.S===e||this.l||(this.S=e,this.a.b=this.S)},e.T=function(){return this.S},e.toJSON=function(){return{apiKey:rh(this).options.apiKey,authDomain:rh(this).options.authDomain,appName:rh(this).name,currentUser:oh(this)&&oh(this).w()}},e.Gb=function(e,t){switch(e){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==t&&!!this.f;default:return!1}},e.na=function(e,t,n,i){"signInViaPopup"==e&&this.g==i&&(n&&this.C?this.C(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.C)},e.Fa=function(e,t){return"signInViaRedirect"==e||"signInViaPopup"==e&&this.g==t&&this.f?w(this.ic,this):null},e.ic=function(e,t,n,i){var r=this,o={requestUri:e,postBody:i,sessionId:t,tenantId:n};return this.c&&(this.c.cancel(),this.c=null),r.$.then((function(){return ih(r,pa(r.a,o))}))},e.Xc=function(e){if(!Ii())return Pt(new k("operation-not-supported-in-this-environment"));var t=this,n=qr(e.providerId),r=Ri(),o=null;(!Ai()||bi())&&rh(this).options.authDomain&&e.isOAuthProvider&&(o=hl(rh(this).options.authDomain,rh(this).options.apiKey,rh(this).name,"signInViaPopup",e,null,r,i.a.SDK_VERSION||null,null,null,this.T(),this.R));var s=di(o,n&&n.va,n&&n.ua);return lh(this,n=eh(this).then((function(n){return Ic(n,s,"signInViaPopup",e,r,!!o,t.T())})).then((function(){return new yt((function(e,n){t.na("signInViaPopup",null,new k("cancelled-popup-request"),t.g),t.f=e,t.C=n,t.g=r,t.c=Ac(t.b,t,"signInViaPopup",s,r)}))})).then((function(e){return s&&hi(s),e?$i(e):null})).o((function(e){throw s&&hi(s),e})))},e.Yc=function(e){if(!Ii())return Pt(new k("operation-not-supported-in-this-environment"));var t=this;return lh(this,eh(this).then((function(){return function(e){return $u(e,(function(){return e.b.set(Gu,e.c.F,e.a)}))}(t.i)})).then((function(){return Mc(t.b,"signInViaRedirect",e,void 0,t.T())})))},e.ra=function(){var e=this;return th(this).then((function(t){return e.b&&Fc(e.b.b),t})).o((function(t){throw e.b&&Fc(e.b.b),t}))},e.dd=function(e){if(!e)return Pt(new k("null-user"));if(this.S!=e.tenantId)return Pt(new k("tenant-id-mismatch"));var t=this,n={};n.apiKey=rh(this).options.apiKey,n.authDomain=rh(this).options.authDomain,n.appName=rh(this).name;var i=function(e,t,n,i){var r=e.h,o={};return o[Ws]=r.b&&r.b.toString(),o.refreshToken=r.a,t=new cu(t||{apiKey:e.l,authDomain:e.s,appName:e.m},o),n&&(t.ha=n),i&&pu(t,i),Pu(t,e),t}(e,n,t.D,t.Ga());return lh(this,this.h.then((function(){if(rh(t).options.apiKey!=e.l)return i.reload()})).then((function(){return oh(t)&&e.uid==oh(t).uid?(Pu(oh(t),e),t.da(e)):(nh(t,i),yu(i),t.da(i))})).then((function(){ah(t)})))},e.Bb=function(){var e=this;return lh(this,this.h.then((function(){return e.b&&Fc(e.b.b),oh(e)?(nh(e,null),Ku(e.i).then((function(){ah(e)}))):Et()})))},e.Zc=function(){var e=this;return Xu(this.i,rh(this).options.authDomain).then((function(t){if(!e.l){var n;if(n=oh(e)&&t){n=oh(e).uid;var i=t.uid;n=null!=n&&""!==n&&null!=i&&""!==i&&n==i}if(n)return Pu(oh(e),t),oh(e).I();(oh(e)||t)&&(nh(e,t),t&&(yu(t),t.ha=e.D),e.b&&Oc(e.b,e),ah(e))}}))},e.da=function(e){return Wu(this.i,e)},e.mc=function(){ah(this),this.da(oh(this))},e.wc=function(){this.Bb()},e.xc=function(){this.Bb()},e.kc=function(e){var t=this;return this.h.then((function(){return ih(t,Et(e))}))},e.zc=function(e){var t=this;this.addAuthTokenListener((function(){e.next(oh(t))}))},e.Ac=function(e){var t=this;!function(e,t){e.N.push(t),lh(e,e.h.then((function(){!e.l&&X(e.N,t)&&e.W!==e.getUid()&&(e.W=e.getUid(),t(sh(e)))})))}(this,(function(){e.next(oh(t))}))},e.Ic=function(e,t,n){var i=this;return this.ba&&Promise.resolve().then((function(){"function"==typeof e?e(oh(i)):"function"==typeof e.next&&e.next(oh(i))})),this.Pa(e,t,n)},e.Hc=function(e,t,n){var i=this;return this.ba&&Promise.resolve().then((function(){i.W=i.getUid(),"function"==typeof e?e(oh(i)):"function"==typeof e.next&&e.next(oh(i))})),this.ib(e,t,n)},e.nc=function(e){var t=this;return lh(this,this.h.then((function(){return oh(t)?oh(t).I(e).then((function(e){return{accessToken:e}})):null})))},e.Tc=function(e){var t=this;return this.h.then((function(){return ih(t,Qa(t.a,Ga,{token:e}))})).then((function(e){var n=e.user;return Eu(n,"isAnonymous",!1),t.da(n),e}))},e.Uc=function(e,t){var n=this;return this.h.then((function(){return ih(n,Qa(n.a,qa,{email:e,password:t}))}))},e.dc=function(e,t){var n=this;return this.h.then((function(){return ih(n,Qa(n.a,va,{email:e,password:t}))}))},e.ab=function(e){var t=this;return this.h.then((function(){return ih(t,e.ka(t.a))}))},e.Sc=function(e){return qi("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInWithCredential instead."),this.ab(e)},e.Ab=function(){var e=this;return this.h.then((function(){var t=oh(e);if(t&&t.isAnonymous){var n=$i({providerId:null,isNewUser:!1});return $i({user:t,credential:null,additionalUserInfo:n,operationType:"signIn"})}return ih(e,e.a.Ab()).then((function(t){var n=t.user;return Eu(n,"isAnonymous",!0),e.da(n),t}))}))},e.getUid=function(){return oh(this)&&oh(this).uid||null},e.cc=function(e){this.addAuthTokenListener(e),this.u++,0<this.u&&oh(this)&&gu(oh(this))},e.Pc=function(e){var t=this;G(this.s,(function(n){n==e&&t.u--})),0>this.u&&(this.u=0),0==this.u&&oh(this)&&bu(oh(this)),this.removeAuthTokenListener(e)},e.addAuthTokenListener=function(e){var t=this;this.s.push(e),lh(this,this.h.then((function(){t.l||X(t.s,e)&&e(sh(t))})))},e.removeAuthTokenListener=function(e){Q(this.s,(function(t){return t==e}))},e.delete=function(){this.l=!0;for(var e=0;e<this.P.length;e++)this.P[e].cancel("app-deleted");return this.P=[],this.i&&(e=this.i).b.removeListener(qu("local"),e.a,this.ja),this.b&&(kc(this.b,this),Fc(this.b.b)),Promise.resolve()},e.hc=function(e){return lh(this,function(e,t){return Qa(e,ya,{identifier:t,continueUri:Ti()?li():"http://localhost"}).then((function(e){return e.signinMethods||[]}))}(this.a,e))},e.Bc=function(e){return!!Io(e)},e.xb=function(e,t){var n=this;return lh(this,Et().then((function(){var e=new Er(t);if(!e.c)throw new k("argument-error",Tr+" must be true when sending sign in link to email");return Lr(e)})).then((function(t){return n.a.xb(e,t)})).then((function(){})))},e.jd=function(e){return this.Sa(e).then((function(e){return e.data.email}))},e.ob=function(e,t){return lh(this,this.a.ob(e,t).then((function(){})))},e.Sa=function(e){return lh(this,this.a.Sa(e).then((function(e){return new rr(e)})))},e.kb=function(e){return lh(this,this.a.kb(e).then((function(){})))},e.wb=function(e,t){var n=this;return lh(this,Et().then((function(){return void 0===t||fe(t)?{}:Lr(new Er(t))})).then((function(t){return n.a.wb(e,t)})).then((function(){})))},e.Wc=function(e,t){return lh(this,Gc(this,e,t,w(this.ab,this)))},e.Vc=function(e,t){var n=this;return lh(this,Et().then((function(){var i=t||li(),r=Po(e,i);if(!(i=Io(i)))throw new k("argument-error","Invalid email link!");if(i.tenantId!==n.T())throw new k("tenant-id-mismatch");return n.ab(r)})))},ch.prototype.render=function(){},ch.prototype.reset=function(){},ch.prototype.getResponse=function(){},ch.prototype.execute=function(){};var hh=null;function dh(e,t){return(t=ph(t))&&e.a[t]||null}function ph(e){return(e=void 0===e?1e12:e)?e.toString():null}function fh(e,t){this.g=!1,this.c=t,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=lt(e);var n=this;this.i=function(){n.execute()},this.h?this.execute():ln(this.f,"click",this.i)}function mh(e){if(e.g)throw Error("reCAPTCHA mock was already deleted!")}function gh(){}function bh(){}uh.prototype.render=function(e,t){return this.a[this.b.toString()]=new fh(e,t),this.b++},uh.prototype.reset=function(e){var t=dh(this,e);e=ph(e),t&&e&&(t.delete(),delete this.a[e])},uh.prototype.getResponse=function(e){return(e=dh(this,e))?e.getResponse():null},uh.prototype.execute=function(e){(e=dh(this,e))&&e.execute()},fh.prototype.getResponse=function(){return mh(this),this.b},fh.prototype.execute=function(){mh(this);var e=this;this.a||(this.a=setTimeout((function(){e.b=function(){for(var e=50,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}();var t=e.c.callback,n=e.c["expired-callback"];if(t)try{t(e.b)}catch(i){}e.a=setTimeout((function(){if(e.a=null,e.b=null,n)try{n()}catch(i){}e.h&&e.execute()}),6e4)}),500))},fh.prototype.delete=function(){mh(this),this.g=!0,clearTimeout(this.a),this.a=null,hn(this.f,"click",this.i)},Ki(gh,"FACTOR_ID","phone"),bh.prototype.g=function(){return hh||(hh=new uh),Et(hh)},bh.prototype.c=function(){};var _h=null;
1function vh(){this.b=a.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}var yh=new ve(xe,"https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),wh=new Vi(3e4,6e4);vh.prototype.g=function(e){var t=this;return new yt((function(n,i){var r=setTimeout((function(){i(new k("network-request-failed"))}),wh.get());!a.grecaptcha||e!==t.f&&!t.b?(a[t.a]=function(){if(a.grecaptcha){t.f=e;var o=a.grecaptcha.render;a.grecaptcha.render=function(e,n){return e=o(e,n),t.b++,e},clearTimeout(r),n(a.grecaptcha)}else clearTimeout(r),i(new k("internal-error"));delete a[t.a]},Et(Ls(Ee(yh,{onload:t.a,hl:e||""}))).o((function(){clearTimeout(r),i(new k("internal-error","Unable to load external reCAPTCHA dependencies!"))}))):(clearTimeout(r),n(a.grecaptcha))}))},vh.prototype.c=function(){this.b--};var Ch=null;function xh(e,t,n,i,r,o,s){if(Ki(this,"type","recaptcha"),this.c=this.f=null,this.J=!1,this.v=t,this.g=null,s?(_h||(_h=new bh),s=_h):(Ch||(Ch=new vh),s=Ch),this.m=s,this.a=n||{theme:"light",type:"image"},this.h=[],this.a[kh])throw new k("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[Eh],!a.document)throw new k("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!lt(t)||!this.i&&lt(t).hasChildNodes())throw new k("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.s=new Gs(e,o||null,r||null),this.u=i||function(){return null};var l=this;this.l=[];var c=this.a[Sh];this.a[Sh]=function(e){if(Ph(l,e),"function"==typeof c)c(e);else if("string"==typeof c){var t=Ei(c,a);"function"==typeof t&&t(e)}};var u=this.a[Oh];this.a[Oh]=function(){if(Ph(l,null),"function"==typeof u)u();else if("string"==typeof u){var e=Ei(u,a);"function"==typeof e&&e()}}}var Sh="callback",Oh="expired-callback",kh="sitekey",Eh="size";function Ph(e,t){for(var n=0;n<e.l.length;n++)try{e.l[n](t)}catch(i){}}function Ih(e,t){return e.h.push(t),t.oa((function(){$(e.h,t)})),t}function Th(e){if(e.J)throw new k("internal-error","RecaptchaVerifier instance has been destroyed.")}function Mh(e,t,n){var r=!1;try{this.b=n||i.a.app()}catch(a){throw new k("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new k("invalid-api-key");n=this.b.options.apiKey;var o=this,s=null;try{s=this.b.auth().Ga()}catch(a){}try{r=this.b.auth().settings.appVerificationDisabledForTesting}catch(a){}s=i.a.SDK_VERSION?Oi(i.a.SDK_VERSION,s):null,xh.call(this,n,e,t,(function(){try{var e=o.b.auth().la()}catch(t){e=null}return e}),s,A(P),r)}function Ah(e,t,n,i){e:{n=Array.prototype.slice.call(n);for(var r=0,o=!1,s=0;s<t.length;s++)if(t[s].optional)o=!0;else{if(o)throw new k("internal-error","Argument validator encountered a required argument after an optional argument.");r++}if(o=t.length,n.length<r||o<n.length)i="Expected "+(r==o?1==r?"1 argument":r+" arguments":r+"-"+o+" arguments")+" but got "+n.length+".";else{for(r=0;r<n.length;r++)if(o=t[r].optional&&void 0===n[r],!t[r].M(n[r])&&!o){if(t=t[r],0>r||r>=Dh.length)throw new k("internal-error","Argument validator received an unsupported number of arguments.");n=Dh[r],i=(i?"":n+" argument ")+(t.name?'"'+t.name+'" ':"")+"must be "+t.K+".";break e}i=null}}if(i)throw new k("argument-error",e+" failed: "+i)}(e=xh.prototype).Ia=function(){var e=this;return this.f?this.f:this.f=Ih(this,Et().then((function(){if(Ti()&&!_i())return mi();throw new k("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")})).then((function(){return e.m.g(e.u())})).then((function(t){return e.g=t,Qa(e.s,Da,{})})).then((function(t){e.a[kh]=t.recaptchaSiteKey})).o((function(t){throw e.f=null,t})))},e.render=function(){Th(this);var e=this;return Ih(this,this.Ia().then((function(){if(null===e.c){var t=e.v;if(!e.i){var n=lt(t);t=function(e,t,n){var i=arguments,r=document,o=String(i[0]),s=i[1];if(!at&&s&&(s.name||s.type)){if(o=["<",o],s.name&&o.push(' name="',Ge(s.name),'"'),s.type){o.push(' type="',Ge(s.type),'"');var a={};be(a,s),delete a.type,s=a}o.push(">"),o=o.join("")}
1return o=ft(r,o),s&&("string"==typeof s?o.className=s:Array.isArray(s)?o.className=s.join(" "):ct(o,s)),2<i.length&&pt(r,o,i),o}("DIV"),n.appendChild(t)}e.c=e.g.render(t,e.a)}return e.c})))},e.verify=function(){Th(this);var e=this;return Ih(this,this.render().then((function(t){return new yt((function(n){var i=e.g.getResponse(t);if(i)n(i);else{var r=function(t){t&&(function(e,t){Q(e.l,(function(e){return e==t}))}(e,r),n(t))};e.l.push(r),e.i&&e.g.execute(e.c)}}))})))},e.reset=function(){Th(this),null!==this.c&&this.g.reset(this.c)},e.clear=function(){Th(this),this.J=!0,this.m.c();for(var e=0;e<this.h.length;e++)this.h[e].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){e=lt(this.v);for(var t;t=e.firstChild;)e.removeChild(t)}},S(Mh,xh);var Dh="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");function jh(e,t){return{name:e||"",K:"a valid string",optional:!!t,M:function(e){return"string"==typeof e}}}function Nh(e,t){return{name:e||"",K:"a boolean",optional:!!t,M:function(e){return"boolean"==typeof e}}}function Rh(e,t){return{name:e||"",K:"a valid object",optional:!!t,M:m}}function Lh(e,t){return{name:e||"",K:"a function",optional:!!t,M:function(e){return"function"==typeof e}}}function Fh(e,t){return{name:e||"",K:"null",optional:!!t,M:function(e){return null===e}}}function Vh(e){return{name:e?e+"Credential":"credential",K:e?"a valid "+e+" credential":"a valid credential",optional:!1,M:function(t){return!!t&&!(!t.ka||e&&t.providerId!==e)}}}function Bh(e,t){return m(e)&&"string"==typeof e.type&&e.type===t&&"function"==typeof e.Ha}function Uh(e){return m(e)&&"string"==typeof e.uid}function Hh(e,t,n,i){return{name:n||"",K:e.K+" or "+t.K,optional:!!i,M:function(n){return e.M(n)||t.M(n)}}}function zh(e,t){for(var n in t){var i=t[n].name;e[i]=Wh(i,e[n],t[n].j)}}function Gh(e,t){for(var n in t){var i=t[n].name;i!==n&&Object.defineProperty(e,i,{get:C((function(e){return this[e]}),n),set:C((function(e,t,n,i){Ah(e,[n],[i],!0),this[t]=i}),i,n,t[n].lb),enumerable:!0})}}function qh(e,t,n,i){e[t]=Wh(t,n,i)}function Wh(e,t,n){function i(){var e=Array.prototype.slice.call(arguments);return Ah(o,n,e),t.apply(this,e)}if(!n)return t;var r,o=function(e){return(e=e.split("."))[e.length-1]}(e);for(r in t)i[r]=t[r];for(r in t.prototype)i.prototype[r]=t.prototype[r];return i}zh(Qu.prototype,{kb:{name:"applyActionCode",j:[jh("code")]},Sa:{name:"checkActionCode",j:[jh("code")]},ob:{name:"confirmPasswordReset",j:[jh("code"),jh("newPassword")]},dc:{name:"createUserWithEmailAndPassword",j:[jh("email"),jh("password")]},hc:{name:"fetchSignInMethodsForEmail",j:[jh("email")]},ra:{name:"getRedirectResult",j:[]},Bc:{name:"isSignInWithEmailLink",j:[jh("emailLink")]},Hc:{name:"onAuthStateChanged",j:[Hh(Rh(),Lh(),"nextOrObserver"),Lh("opt_error",!0),Lh("opt_completed",!0)]},Ic:{name:"onIdTokenChanged",j:[Hh(Rh(),Lh(),"nextOrObserver"),Lh("opt_error",!0),Lh("opt_completed",!0)]},wb:{name:"sendPasswordResetEmail",j:[jh("email"),Hh(Rh("opt_actionCodeSettings",!0),Fh(null,!0),"opt_actionCodeSettings",!0)]},xb:{name:"sendSignInLinkToEmail",j:[jh("email"),Rh("actionCodeSettings")]},yb:{name:"setPersistence",j:[jh("persistence")]},Sc:{name:"signInAndRetrieveDataWithCredential",j:[Vh()]},Ab:{name:"signInAnonymously",j:[]},ab:{name:"signInWithCredential",j:[Vh()]},Tc:{name:"signInWithCustomToken",j:[jh("token")]},Uc:{name:"signInWithEmailAndPassword",j:[jh("email"),jh("password")]},Vc:{name:"signInWithEmailLink",j:[jh("email"),jh("emailLink",!0)]},Wc:{name:"signInWithPhoneNumber",j:[jh("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]},Xc:{name:"signInWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Yc:{name:"signInWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},dd:{name:"updateCurrentUser",j:[Hh({name:"user",K:"an instance of Firebase User",optional:!1,M:function(e){return!!(e&&e instanceof cu)}},Fh(),"user")]},Bb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[jh(null,!0)]},fd:{name:"useDeviceLanguage",j:[]},gd:{name:"useEmulator",j:[jh("url"),Rh("options",!0)]},jd:{name:"verifyPasswordResetCode",j:[jh("code")]}}
1),Gh(Qu.prototype,{lc:{name:"languageCode",lb:Hh(jh(),Fh(),"languageCode")},ti:{name:"tenantId",lb:Hh(jh(),Fh(),"tenantId")}}),(Qu.Persistence=ql).LOCAL="local",Qu.Persistence.SESSION="session",Qu.Persistence.NONE="none",zh(cu.prototype,{delete:{name:"delete",j:[]},oc:{name:"getIdTokenResult",j:[Nh("opt_forceRefresh",!0)]},I:{name:"getIdToken",j:[Nh("opt_forceRefresh",!0)]},Cc:{name:"linkAndRetrieveDataWithCredential",j:[Vh()]},rb:{name:"linkWithCredential",j:[Vh()]},Dc:{name:"linkWithPhoneNumber",j:[jh("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]},Ec:{name:"linkWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Fc:{name:"linkWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Lc:{name:"reauthenticateAndRetrieveDataWithCredential",j:[Vh()]},ub:{name:"reauthenticateWithCredential",j:[Vh()]},Mc:{name:"reauthenticateWithPhoneNumber",j:[jh("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]},Nc:{name:"reauthenticateWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Oc:{name:"reauthenticateWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},reload:{name:"reload",j:[]},vb:{name:"sendEmailVerification",j:[Hh(Rh("opt_actionCodeSettings",!0),Fh(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[jh(null,!0)]},cd:{name:"unlink",j:[jh("provider")]},Cb:{name:"updateEmail",j:[jh("email")]},Db:{name:"updatePassword",j:[jh("password")]},ed:{name:"updatePhoneNumber",j:[Vh("phone")]},Eb:{name:"updateProfile",j:[Rh("profile")]},Fb:{name:"verifyBeforeUpdateEmail",j:[jh("email"),Hh(Rh("opt_actionCodeSettings",!0),Fh(null,!0),"opt_actionCodeSettings",!0)]}}),zh(uh.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),zh(ch.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),zh(yt.prototype,{oa:{name:"finally"},o:{name:"catch"},then:{name:"then"}}),Gh(Hc.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",lb:Nh("appVerificationDisabledForTesting")}}),zh(zc.prototype,{confirm:{name:"confirm",j:[jh("verificationCode")]}}),qh(oo,"fromJSON",(function(e){e="string"==typeof e?JSON.parse(e):e;for(var t,n=[po,ko,Mo,co],i=0;i<n.length;i++)if(t=n[i](e))return t;return null}),[Hh(jh(),Rh(),"json")]),qh(Eo,"credential",(function(e,t){return new Oo(e,t)}),[jh("email"),jh("password")]),zh(Oo.prototype,{w:{name:"toJSON",j:[jh(null,!0)]}}),zh(bo.prototype,{Ca:{name:"addScope",j:[jh("scope")]},Ka:{name:"setCustomParameters",j:[Rh("customOAuthParameters")]}}),qh(bo,"credential",_o,[Hh(jh(),Rh(),"token")]),qh(Eo,"credentialWithLink",Po,[jh("email"),jh("emailLink")]),zh(vo.prototype,{Ca:{name:"addScope",j:[jh("scope")]},Ka:{name:"setCustomParameters",j:[Rh("customOAuthParameters")]}}),qh(vo,"credential",yo,[Hh(jh(),Rh(),"token")]),zh(wo.prototype,{Ca:{name:"addScope",j:[jh("scope")]},Ka:{name:"setCustomParameters",j:[Rh("customOAuthParameters")]}}),qh(wo,"credential",Co,[Hh(jh(),Hh(Rh(),Fh()),"idToken"),Hh(jh(),Fh(),"accessToken",!0)]),zh(xo.prototype,{Ka:{name:"setCustomParameters",j:[Rh("customOAuthParameters")]}}),qh(xo,"credential",So,[Hh(jh(),Rh(),"token"),jh("secret",!0)]),zh(go.prototype,{Ca:{name:"addScope",j:[jh("scope")]},credential:{name:"credential",j:[Hh(jh(),Hh(Rh(),Fh()),"optionsOrIdToken"),Hh(jh(),Fh(),"accessToken",!0)]},Ka:{name:"setCustomParameters",j:[Rh("customOAuthParameters")]}}),zh(uo.prototype,{w:{name:"toJSON",j:[jh(null,!0)]}}),zh(ao.prototype,{w:{name:"toJSON",j:[jh(null,!0)]}}),qh(Do,"credential",jo,[jh("verificationId"),jh("verificationCode")]),zh(Do.prototype,{gb:{name:"verifyPhoneNumber",j:[Hh(jh(),{name:"phoneInfoOptions",K:"valid phone info o
1ptions",optional:!1,M:function(e){return!!e&&(e.session&&e.phoneNumber?Bh(e.session,io)&&"string"==typeof e.phoneNumber:e.session&&e.multiFactorHint?Bh(e.session,ro)&&Uh(e.multiFactorHint):e.session&&e.multiFactorUid?Bh(e.session,ro)&&"string"==typeof e.multiFactorUid:!!e.phoneNumber&&"string"==typeof e.phoneNumber)}},"phoneInfoOptions"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]}}),zh(To.prototype,{w:{name:"toJSON",j:[jh(null,!0)]}}),zh(k.prototype,{toJSON:{name:"toJSON",j:[jh(null,!0)]}}),zh(zo.prototype,{toJSON:{name:"toJSON",j:[jh(null,!0)]}}),zh(Ho.prototype,{toJSON:{name:"toJSON",j:[jh(null,!0)]}}),zh($c.prototype,{toJSON:{name:"toJSON",j:[jh(null,!0)]}}),zh(Wc.prototype,{Rc:{name:"resolveSignIn",j:[{name:"multiFactorAssertion",K:"a valid multiFactorAssertion",optional:!1,M:function(e){return!!e&&!!e.tb}}]}}),zh(tu.prototype,{Sb:{name:"getSession",j:[]},fc:{name:"enroll",j:[{name:"multiFactorAssertion",K:"a valid multiFactorAssertion",optional:!1,M:function(e){return!!e&&!!e.tb}},jh("displayName",!0)]},bd:{name:"unenroll",j:[Hh({name:"multiFactorInfo",K:"a valid multiFactorInfo",optional:!1,M:Uh},jh(),"multiFactorInfoIdentifier")]}}),zh(Mh.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),qh(_r,"parseLink",kr,[jh("link")]),qh(gh,"assertion",(function(e){return new Jc(e)}),[Vh("phone")]),function(){if(void 0===i.a||!i.a.INTERNAL||!i.a.INTERNAL.registerComponent)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var e={ActionCodeInfo:{Operation:{EMAIL_SIGNIN:sr,PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:or,VERIFY_AND_CHANGE_EMAIL:ar,VERIFY_EMAIL:"VERIFY_EMAIL"}},Auth:Qu,AuthCredential:oo,Error:k};qh(e,"EmailAuthProvider",Eo,[]),qh(e,"FacebookAuthProvider",bo,[]),qh(e,"GithubAuthProvider",vo,[]),qh(e,"GoogleAuthProvider",wo,[]),qh(e,"TwitterAuthProvider",xo,[]),qh(e,"OAuthProvider",go,[jh("providerId")]),qh(e,"SAMLAuthProvider",mo,[jh("providerId")]),qh(e,"PhoneAuthProvider",Do,[{name:"auth",K:"an instance of Firebase Auth",optional:!0,M:function(e){return!!(e&&e instanceof Qu)}}]),qh(e,"RecaptchaVerifier",Mh,[Hh(jh(),{name:"",K:"an HTML element",optional:!1,M:function(e){return!!(e&&e instanceof Element)}},"recaptchaContainer"),Rh("recaptchaParameters",!0),{name:"app",K:"an instance of Firebase App",optional:!0,M:function(e){return!!(e&&e instanceof i.a.app.App)}}]),qh(e,"ActionCodeURL",_r,[]),qh(e,"PhoneMultiFactorGenerator",gh,[]),i.a.INTERNAL.registerComponent({name:"auth",instanceFactory:function(e){return new Qu(e=e.getProvider("app").getImmediate())},multipleInstances:!1,serviceProps:e,instantiationMode:"LAZY",type:"PUBLIC",onInstanceCreated:function(e){e.getProvider("auth-internal").initialize()}}),i.a.INTERNAL.registerComponent({name:"auth-internal",instanceFactory:function(e){return{getUid:w((e=e.getProvider("auth").getImmediate()).getUid,e),getToken:w(e.nc,e),addAuthTokenListener:w(e.cc,e),removeAuthTokenListener:w(e.Pc,e)}},multipleInstances:!1,instantiationMode:"LAZY",type:"PRIVATE"}),i.a.registerVersion("@firebase/auth","0.16.8"),i.a.INTERNAL.extendNamespace({User:cu})}()}).apply("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},"7+OI":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("HDdC");function r(e){return!!e&&(e instanceof i.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"7Hc7":function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return p}));let i=1;const r=(()=>Promise.resolve())(),o={};function s(e){return e in o&&(delete o[e],!0)}const a={setImmediate(e){const t=i++;return o[t]=!0,r.then(()=>s(t)&&e()),t},clearImmediate(e){s(e)}};var l=n("3N8a");class c extends l.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=a.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(a.clearImmediate(t),e.scheduled=void 0)}}var u=n("IjjT");class h extends u.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i<r&&(e=t.shift()));if(this.active=!1,n){for(;++i<r&&(e=t.shift());)e.unsubscribe();throw n}}}const d=new h(c),p=d},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("n6bG"),r=n("gRHU"),o=n("quSY"),s=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends o.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!e){this.destination=r.a;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[s.a](){return this}
1static create(e,t,n){const i=new c(e,t,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends c{constructor(e,t,n,o){let s;super(),this._parentSubscriber=e;let a=this;Object(i.a)(t)?s=t:t&&(s=t.next,n=t.error,o=t.complete,t!==r.a&&(a=Object.create(t),Object(i.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"7o2P":function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("ofXK"),r=n("z6cu"),o=n("un/a"),s=n("JIr8"),a=n("AytR"),l=n("NFKh"),c=n("kScs"),u=n("oqF8"),h=n("fXoL"),d=n("tyNb"),p=n("tk/3"),f=n("B7fh");let m=(()=>{class e{constructor(e,t,n,i){this.router=e,this.http=t,this.broadcastService=i,this.urlArray=[],this.imageUrl="",this.moreUrl="",this.encrypted="",this.dom=n,this.handleError=this.handleError.bind(this)}pageHeight(){let e=window.innerHeight,t=$(".header").outerHeight()+$(".footer").outerHeight();return this.contentHeight=e-t,this.contentHeight}setOtvUserLocalStorage(e){window.localStorage&&(window.localStorage.setItem("otv_user_id",e.user_id),window.localStorage.setItem("otv_user_name",e.user_name),window.localStorage.setItem("otv_user_analytic_id",e.user_analy_id),window.localStorage.setItem("otv_user_login_type",e.user_login_type),window.localStorage.setItem("user_signin_id",e.user_signin_id),window.localStorage.setItem("is_subscribed",e.user_subscribed),console.log("========== WebEngage Login =========="),console.log("User ID:",e.user_analy_id),webengage.user.login(e.user_analy_id),webengage.user.setAttribute("we_first_name",e.user_name))}getOtvUserLocalStorage(){window.localStorage&&(window.localStorage.getItem("otv_user_id"),window.localStorage.getItem("otv_user_name"),window.localStorage.getItem("otv_user_analytic_id"),window.localStorage.getItem("otv_user_login_type"))}removeOtvUserLocalStorage(){window.localStorage&&(window.localStorage.removeItem("gdprText"),window.localStorage.removeItem("otv_user_id"),window.localStorage.removeItem("otv_user_name"),window.localStorage.removeItem("otv_user_analytic_id"),window.localStorage.removeItem("otv_user_login_id"),window.localStorage.removeItem("otv_user_login_type"),window.localStorage.removeItem("is_subscribed"),window.localStorage.removeItem("favouritesList"),window.localStorage.removeItem("catalogObj"),window.localStorage.removeItem("selectedPlan"),window.localStorage.removeItem("watchlist"),window.localStorage.removeItem("continueWatchItems"),window.localStorage.removeItem("retryToast"),window.localStorage.removeItem("user_signin_id"),window.localStorage.removeItem("isDetail
1spage"),window.localStorage.removeItem("userType"),window.localStorage.removeItem("isZingPlayUser")),webengage.user.logout()}getItemURL(e){var t,n;try{const i=(null===(t=null==e?void 0:e.catalog_object)||void 0===t?void 0:t.friendly_id)||(null==e?void 0:e.catalog_name)||(null==e?void 0:e.catalog_id)||"";if("sur-sangram"==e.friendly_id)this.url="/sursangram";else if("event"==e.theme)this.url=i+"/"+e.friendly_id;else if("show_episode"==e.theme||"episode"==e.theme){const t=(null===(n=null==e?void 0:e.show_object)||void 0===n?void 0:n.friendly_id)||(null==e?void 0:e.show_name)||"";this.url="/"+i+"/"+t+"/"+e.friendly_id}else this.url="live"==e.theme||"livetv"==e.theme?"/"+(i||"all-channels")+"/"+e.friendly_id:"/"+i+"/"+e.friendly_id;return this.url}catch(i){return this.url=(null==e?void 0:e.friendly_id)?"/"+e.friendly_id:"/",this.url}}getImageUrl(e,t){return console.log("layout_type"+t),this.imageUrl="","t_16_9_banner"==t?this.imageUrl=e.thumbnails&&e.thumbnails.xl_image_16_7?e.thumbnails.xl_image_16_7.url:".https://hls.tarangplus.in/default_images/xl_image_16_5_1920-600.jpg":"t_2_3_movie_static"==t||"movies"==t||"t_2_3_big_meta"==t||"t_2_3_numeric"==t||"t_2_3_without_meta"==t||"t_2_3_without_meta_single_show"==t||"t_2_3_movie"==t?this.imageUrl=e.thumbnails&&e.thumbnails.xl_image_2_3?e.thumbnails.xl_image_2_3.url:".https://hls.tarangplus.in/default_images/xl_image_2_3_1000-1500.jpeg":"t_16_9_big"==t||"t_16_9_epg"==t||"t_1_1_play"==t||"videos"==t||"t_16_9_livebanner"==t||"t_16_9_big_without_meta"==t||"t_16_9_big_meta"==t||"t_16_9_without_meta"==t||"t_16_9_without_meta_carousel"==t||"t_16_5_subscribe"==t||"t_16_9_banner_list"==t?this.imageUrl=e.thumbnails&&e.thumbnails.hasOwnProperty("medium_16_9")&&e.thumbnails.medium_16_9?e.thumbnails.medium_16_9.url:"https://hls.tarangplus.in/default_images/xl_image_16_9_1920-1080.jpeg":"t_16_9_small"==t||"t_16_9_small_meta"==t||"video"==t||"shows"==t?this.imageUrl=e.thumbnails&&e.thumbnails.hasOwnProperty("small_16_9")&&e.thumbnails.medium_16_9?e.thumbnails.medium_16_9.url:"https://hls.tarangplus.in/default_images/xl_image_16_9_1920-1080.jpeg":"t_1_1_plain"==t?this.imageUrl=e.thumbnails&&e.thumbnails.hasOwnProperty("xl_image_1_1")?e.thumbnails.xl_image_1_1.url:"./assets/dangalPlay/placeholder_1x1.svg":"t_comb_16_9_list"==t||"t_16_9_big_meta"==t||"t_16_9_right_meta"==t?this.imageUrl=e.thumbnails&&e.thumbnails.hasOwnProperty("large_16_9")?e.thumbnails.xl_image_16_9.url:"https://hls.tarangplus.in/default_images/xl_image_16_9_1920-1080.jpeg":"t_comb_1_1_image"==t?this.imageUrl=e.thumbnails&&e.thumbnails.hasOwnProperty("small_16_9")?e.thumbnails.small_16_9.url:"https://hls.tarangplus.in/default_images/xl_image_16_9_1920-1080.jpeg":"t_1_1_album"!=t&&"t_1_1_album_meta"!=t||(this.imageUrl=e.thumbnails?e.thumbnails.medium_1_1.url:"./assets/dangalPlay/placeholder_1x1.svg"),console.log("imageUrl"+this.imageUrl),this.imageUrl}getListUrl(e,t){return this.moreUrl=e,this.moreUrl}getListAllUrl(e,t){return this.allUrl=e,this.allUrl="/"+this.allUrl+"/all",this.allUrl}getPlayUrlKey(e){let t,n="";"no"===e.drm_protected?(t=e.adaptive_urls.hd.hls[0].playback_url,n=t+"?service_id=1&protocol=hls&play_url=yes"):(t=e.adaptive_urls.hd.dash[0].playback_url,n=t+"?service_id=1&protocol=dash&play_url=yes");var i=n+"&us=";return i+(new c.Md5).appendStr("ywVXaTzycwZ8agEs3ujx"+i).end()}getPlayBackUrl(e){if(e)return this.http.get(e).pipe(Object(o.a)(1),Object(s.a)(this.handleError))}encryptPlayUrl(e){let t=l.AES.random_key;l.enc.Utf8.parse(e),l.AES.encrypt(t).toString();var n=l.AES.update(e)+l.AES.final;return l.AES.encrypt(n).gsub(/\n/,"")}getMenuList(e){return this.http.get(a.a.apiURL+"catalog_lists/catalog-tabs.gzip?region="+e+"&item_language=&auth_token="+a.a.authtoken).pipe(Object(o.a)(1),Object(s.a)(this.handleError))}getOpenGraphTags(e){return this.http.get(a.a.apiURL+"catalogs/message/items/open-graph-tags.gzip?current_version=123&auth_token="+a.a.authtoken+"&region="+e+"&item_language=en").pipe(Object(o.a)(1),Object(s.a)(this.handleError))}copyVideoURL(e){var t=!1;try{this.dom.getElementById(e).select(),this.dom.execCommand("copy"),t=!0}finally{this.dom.getSelection()}return window.getSelection().selectAllChildren(document.getElementById(e)),document.execCommand("Copy"),t}handleError(e){var t,n,i,o,s,a,l;
1let c="";if(console.log(e),e.error instanceof ErrorEvent)console.log("client-side error"),c="Error: "+e.error.message;else{console.log("server-side error"),console.log(e);const r=e.error,h=null==r?void 0:r.error;this.error_message=h&&"object"==typeof h?{server_error_code:null!==(n=null!==(t=h.code)&&void 0!==t?t:r.code)&&void 0!==n?n:e.status,server_error_messsage:h.message||h.error||r.message||""}:"string"==typeof h?{server_error_code:null!==(i=r.code)&&void 0!==i?i:e.status,server_error_messsage:h}:"string"==typeof(null==r?void 0:r.message)?{server_error_code:null!==(o=r.code)&&void 0!==o?o:e.status,server_error_messsage:r.message}:{server_error_code:e.status,server_error_messsage:0===e.status?"Please check your internet connection":e.message},c=this.error_message;const d=null===(s=this.error_message)||void 0===s?void 0:s.server_error_code,p=(null===(a=this.error_message)||void 0===a?void 0:a.server_error_messsage)||"";"1016"!==d&&1016!==d&&"Invalid User Id"!==p||!(null===(l=window.localStorage)||void 0===l?void 0:l.getItem("otv_user_id"))||this.broadcastService.dispatch(new u.a("sessionExpired",null))}return Object(r.a)(c)}loadScriptDynamically(e){let t=document.body,n=document.createElement("script");n.innerHTML="",n.src=e,n.async=!0,n.defer=!0,t.appendChild(n)}getUpcomingData(e=!1){let t=a.a.apiURL+"catalog_lists/upcoming.gzip?auth_token="+a.a.authtoken;return e&&(t+="&parental_control=true"),this.http.get(t).pipe(Object(o.a)(1),Object(s.a)(this.handleError))}reloadCurrentRoute(){const e=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([e])})}}return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275inject"](d.d),h["\u0275\u0275inject"](p.a),h["\u0275\u0275inject"](i.DOCUMENT),h["\u0275\u0275inject"](f.a))},e.\u0275prov=h["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"8LU1":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return o}));var i=n("fXoL");function r(e){return null!=e&&""+e!="false"}function o(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function s(e){return Array.isArray(e)?e:[e]}function a(e){return null==e?"":"string"==typeof e?e:e+"px"}function l(e){return e instanceof i.ElementRef?e.nativeElement:e}},"9OqN":function(e,t,n){var i,r,o;e.exports=(o=n("Ib8C"),n("OLod"),o.mode.CTR=(r=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._counter;r&&(o=this._counter=r.slice(0),this._iv=void 0);var s=o.slice(0);n.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var a=0;a<i;a++)e[t+a]^=s[a]}}),i.Decryptor=r,i),o.mode.CTR)},"9YtQ":function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var i=n("fXoL"),r=n("ofXK");const o={UKNOWN:"Unknown"},s={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:o.UKNOWN},a={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|Mobile; rv:49.0|Mobile; ALCATEL 4052R; rv:48.0/,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")},l={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-T865|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-T385M|SM-P585M|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P615|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-T500|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-T725|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|SM-P585Y"),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|M
1Z608|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|LG-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-X606F|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L|TB-8504F"),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/,Honeywell:/RT10A/,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,c={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",MAC:"Macintosh",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:o.UKNOWN,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",HONEYWELL:"Honeywell",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone",MI_SE_9:"Mi SE 9"},u=[c.PS4,c.CHROME_BOOK,c.MAC,c.DELL,c.ASUS,c.UNKNOWN],h={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:o.UKNOWN},d={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_11_0:"mac-os-x-11-0",MACOSX_16:"mac-os-x-16",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",ANDROID_9:"android-9",UNKNOWN:o.UKNOWN.toLowerCase()},p={WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\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/},f=Object.assign(Object.assign(Object.assign(Object.assign({},a),l),p),{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})/,MI_SE_9:/\bXiaomi\b/,MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]}}),m={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)/,MACOSX_16:/(Mac OS X 10.16)/,MACOSX_11_0:{or:[/11_0 like Mac OS X/,/Mac OS X 11/]},iOS:/(iPhone OS\s*[0-9_]+)/,ANDROID_9:/(Android 9)/},g={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/},b=(e,t)=>(e[t]=m[t],e),_=Object.keys(m).reduce(b,{}),v=(e,t)=>
1(e[s[t]]=g[t],e),y=Object.keys(g).reduce(v,{});var w=Object.freeze({__proto__:null,GENERAL:o,BROWSERS:s,MOBILES_RE:a,TABLETS_RE:l,DEVICES:c,DESKTOP_DEVICES:u,OS:h,OS_VERSIONS:d,OS_RE:p,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:f,OS_VERSIONS_RE_MAP:m,BROWSER_VERSIONS_RE_MAP:g,OS_VERSIONS_RE:_,BROWSER_VERSIONS_RE:y,"\u02750":b,"\u02751":v});class C{constructor(){}test(e,t){return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.test(e):t&&Array.isArray(t.and)?t.and.every(t=>this.test(e,t)):t&&Array.isArray(t.or)?t.or.some(t=>this.test(e,t)):!(!t||!t.not||this.test(e,t.not))}exec(e,t){return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.exec(e):t&&Array.isArray(t)?t.reduce((t,n)=>t||this.exec(e,n),null):null}}var x=function(e){return e.Mobile="mobile",e.Tablet="tablet",e.Desktop="desktop",e.Unknown="unknown",e}({}),S=function(e){return e.Portrait="portrait",e.Landscape="landscape",e}({});let O=(()=>{class e{constructor(e){this.platformId=e,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new C,this.deviceType="",this.orientation="",Object(r.isPlatformBrowser)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo(e=this.userAgent){e!==this.userAgent&&(this.userAgent=e);const t=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(t.forEach(t=>{this[t.prop]=Object.keys(w[t.const]).reduce((n,i)=>"device"===w[t.const][i]&&Object(r.isPlatformBrowser)(this.platformId)&&(this.reTree.test(this.userAgent,l.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(n[w[t.const][i]]="iPad",Object):(n[w[t.const][i]]=this.reTree.test(e,w[t.const+"_RE"][i]),n),{})}),t.forEach(e=>{this[e.prop]=Object.keys(w[e.const]).map(t=>w[e.const][t]).reduce((t,n)=>"device"===e.prop&&t===w[e.const].ANDROID?this[e.prop][n]?n:t:t===w[e.const].UNKNOWN&&this[e.prop][n]?n:t,w[e.const].UNKNOWN)}),this.browser_version="0",this.browser!==s.UNKNOWN){const t=this.reTree.exec(e,y[this.browser]);t&&(this.browser_version=t[1])}this.orientation="undefined"!=typeof window&&window.matchMedia?window.matchMedia("(orientation: landscape)").matches?S.Landscape:S.Portrait:o.UKNOWN,this.deviceType=this.isTablet()?x.Tablet:this.isMobile(this.userAgent)?x.Mobile:this.isDesktop(this.userAgent)?x.Desktop:x.Unknown}getDeviceInfo(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version,deviceType:this.deviceType,orientation:this.orientation}}isMobile(e=this.userAgent){return!this.isTablet(e)&&!!Object.keys(a).find(t=>this.reTree.test(e,a[t]))}isTablet(e=this.userAgent){return!(!Object(r.isPlatformBrowser)(this.platformId)||!(this.reTree.test(this.userAgent,l.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(l).find(t=>!!this.reTree.test(e,l[t]))}isDesktop(e=this.userAgent){return(this.device!==c.UNKNOWN||!this.isMobile(e)&&!this.isTablet(e))&&u.indexOf(this.device)>-1}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.PLATFORM_ID))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e(i["\u0275\u0275inject"](i.PLATFORM_ID))},token:e,providedIn:"root"}),e})()},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},ALsQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CFB=function(){var e=i.lib.BlockCipherMode.extend();function t(e,t,n,i){var r,o=this._iv;o?(r=o.slice(0),this._iv=void 0):r=this._prevBlock,i.encryptBlock(r,0);for(var s=0;s<n;s++)e[t+s]^=r[s]}return e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize;t.call(this,e,n,r,i),this._prevBlock=e.slice(n,n+r)}}),e.Decryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=e.slice(n,n+r);t.call(this,e,n,r,i),this._prevBlock=o}}),e}(),i.mode.CFB)},AytR:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={production:!0,baseURL:"https://tarangplus.in/",apiURL:"https://api.tarangplus.in/",authtoken:"3zZmzoHg8z6SM3wpDoyw",npawaccountcode:"multitvdev",secretKey:"b64617cb2583809729b6",appName:"Tarang",appVersion:"v2.0.1",envType:"production",firebase:{apiKey:"AIzaSyC4AhxfvdnQyGyHrfrGWgoAHkOQudvNXqI",authDomain:"tarangplus-90c37.firebaseapp.com",databaseURL:"https://tarangplus-90c37.firebaseio.com",projectId:"tarangplus-90c37",storageBucket:"tarangplus-90c37.firebasestorage.app",messagingSenderId:"42412538134",appId:"1:42412538134:web:1b244162174365351bf837",measurementId:"G-EMNDESWS80"}}},B7fh:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("XNiG"),r=n("pLZG"),o=n("fXoL");let s=(()=>{class e{constructor(){this.eventBrocker=new i.a}on(e){return this.eventBrocker.pipe(Object(r.a)(t=>t.type===e.type))}dispatch(e){this.eventBrocker.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},BHl3:function(e){e.exports=JSON.parse('[{"name":"Afghanistan","dial_code":"+93","code":"AF","min_limit":5,"max_limit":9},{"name":"Albania","dial_code":"+355","code":"AL","min_limit":5,"max_limit":9},{"name":"Algeria","dial_code":"+213","code":"DZ","min_limit":5,"max_limit":9},{"name":"AmericanSamoa","dial_code":"+1684","code":"AS","min_limit":5,"max_limit":10},{"name":"Andorra","dial_code":"+376","code":"AD","min_limit":5,"max_limit":14},{"name":"Angola","dial_code":"+244","code":"AO","min_limit":5,"max_limit":14},{"name":"Anguilla","dial_code":"+1264","code":"AI","min_limit":5,"max_limit":10},{"name":"Antarctica","dial_code":"+672","code":"AQ","min_limit":5,"max_limit":14},{"name":"Antigua and Barbuda","dial_code":"+1268","code":"AG","min_limit":5,"max_limit":10},{"name":"Argentina","dial_code":"+54","code":"AR","min_limit":5,"max_limit":14},{"name":"Armenia","dial_code":"+374","code":"AM","min_limit":5,"max_limit":6},{"name":"Aruba","dial_code":"+297","code":"AW","min_limit":5,"max_limit":7},{"name":"Australia","dial_code":"+61","code":"AU","min_limit":5,"max_limit":9},{"name":"Austria","dial_code":"+43","code":"AT","min_limit":5,"max_limit":11},{"name":"Azerbaijan","dial_code":"+994","code":"AZ","min_limit":5,"max_limit":9},{"name":"Bahamas","dial_code":"+1242","code":"BS","min_limit":5,"max_limit":10},{"name":"Bahrain","dial_code":"+973","code":"BH","min_limit":5,"max_limit":8},{"name":"Bangladesh","dial_code":"+880","code":"BD","min_limit":5,"max_limit":10},{"name":"Barbados","dial_code":"+1246","code":"BB","min_limit":5,"max_limit":10},{"name":"Belarus","dial_code":"+375","code":"BY","min_limit":5,"max_limit":9},{"name":"Belgium","dial_code":"+32","code":"BE","min_limit":5,"max_limit":9},{"name":"Belize","dial_code":"+501","code":"BZ","min_limit":5,"max_limit":7},{"name":"Benin","dial_code":"+229","code":"BJ","min_limit":5,"max_limit":9},{"name":"Bermuda","dial_code":"+1441","code":"BM","min_limit":5,"max_limit":10},{"name":"Bhutan","dial_code":"+975","code":"BT","min_limit":5,"max_limit":14},{"name":"Bolivia, Plurinational State of Bolivia","dial_code":"+591","code":"BO","min_limit":5,"max_limit":14},{"name":"Bosnia and Herzegovina","dial_code":"+387","code":"BA","min_limit":5,"max_limit":8},{"name":"Botswana","dial_code":"+267","code":"BW","min_limit":5,"max_limit":14},{"name":"Bouvet Island","dial_code":"+55","code":"BV","min_limit":5,"max_limit":14},{"name":"Brazil","dial_code":"+55","code":"BR","min_limit":5,"max_limit":11},{"name":"British Indian Ocean Territory","dial_code":"+246","code":"IO","min_limit":5,"max_limit":7},{"name":"Brunei Darussalam","dial_code":"+673","code":"BN","min_limit":5,"max_limit":14},{"name":"Bulgaria","dial_code":"+359","code":"BG","min_limit":5,"max_limit":9},{"name":"Burkina Faso","dial_code":"+226","code":"BF","min_limit":5,"max_limit":8},{"name":"Burundi","dial_code":"+257","code":"BI","min_limit":5,"max_limit":14},{"name":"Cambodia","dial_code":"+855","code":"KH","min_limit":5,"max_limit":9},{"name":"Cameroon","dial_code":"+237","code":"CM","min_limit":5,"max_limit":14},{"name":"Canada","dial_code":"+1","code":"CA","min_limit":5,"max_limit":10},{"name":"Cape Verde","dial_code":"+238","code":"CV","min_limit":5,"max_limit":14},{"name":"Cayman Islands","dial_code":"+1345","code":"KY","min_limit":5,"max_limit":10},{"name":"Central African Republic","dial_code":"+236","code":"CF","min_limit":5,"max_limit":14},{"name":"Chad","dial_code":"+235","code":"TD","min_limit":5,"max_limit":8},{"name":"Chile","dial_code":"+56","code":"CL","min_limit":5,"max_limit":9},{"name":"China","dial_code":"+86","code":"CN","min_limit":5,"max_limit":11},{"name":"Christmas Island","dial_code":"+61","code":"CX","min_limit":5,"max_limit":14},{"name":"Cocos (Keeling) Islands","dial_code":"+61","code":"CC","min_limit":5,"max_limit":14},{"name":"Colombia","dial_code":"+57","code":"CO","min_limit":5,"max_limit":10},{"name":"Comoros","dial_code":"+269","code":"KM","min_limit":5,"max_limit":14},{"name":"Congo","dial_code":"+242","code":"CG","min_limit":5,"max_limit":14},{"name":"Congo, The Democratic Republic of the","dial_code":"+243","code":"CD","min_limit":5,"max_limit":14},{"name":"Cook Islands","dial_code":"+682","code":"CK","min_limit":5,"max_limit":5},{"name":"CostaRica","dial_code":"+506","code":"CR","min_limit":5,"max_limit":8},{"name":"Coted\'Ivoire","dial_code":"+225","code":"CI","min_limit":5,"max_limit":14},{"name":"Croatia","dial_code":"+385","code":"HR","min_limit":5,"max_limit":9},{"name":"Cuba","dial_code":"+53","code":"CU","min_limit":5,"max_limit":14},{"name":"Cyprus","dial_code":"+357","code":"CY","min_limit":5,"max_limit":8},{"name":"Czech Republic","dial_code":"+420","code":"CZ","min_limit":5,"max_limit":9},{"name":"Denmark","dial_code":"+45","code":"DK","min_limit":5,"max_limit":8},{"name":"Djibouti","dial_code":"+253","code":"DJ","min_limit":5,"max_limit":7},{"name":"Dominica","dial_code":"+1767","code":"DM","min_limit":5,"max_limit":10},{"name":"Dominican Republic","dial_code":"+1849","code":"DO","min_limit":5,"max_limit":10},{"name":"Ecuador","dial_code":"+593","code":"EC","min_limit":5,"max_limit":9},{"name":"Egypt","dial_code":"+20","code":"EG","min_limit":5,"max_limit":10},{"name":"El Salvador","dial_code":"+503","code":"SV","min_limit":5,"max_limit":7},{"name":"Equatorial Guinea","dial_code":"+240","code":"GQ","min_limit":5,"max_limit":14},{"name":"Eritrea","dial_code":"+291","code":"ER","min_limit":5,"max_limit":14},{"name":"Estonia","dial_code":"+372","code":"EE","min_limit":5,"max_limit":14},{"name":"Ethiopia","dial_code":"+251","code":"ET","min_limit":5,"max_limit":14},{"name":"Falkland Islands (Malvinas)","dial_code":"+500","code":"FK","min_limit":5,"max_limit":5},{"name":"Faroe Islands","dial_code":"+298","code":"FO","min_limit":5,"max_limit":5},{"name":"Fiji","dial_code":"+679","code":"FJ","min_limit":5,"max_limit":14},{"name":"Finland","dial_code":"+358","code":"FI","min_limit":5,"max_limit":10},{"name":"France","dial_code":"+33","code":"FR","min_limit":5,"max_limit":9},{"name":"French Guiana","dial_code":"+594","code":"GF","min_limit":5,"max_limit":12},{"name":"French Polynesia","dial_code":"+689","code":"PF","min_limit":5,"max_limit":6},{"name":"FrenchSouthernandAntarcticLands","dial_code":"+262","code":"TF","min_limit":5,"max_limit":14},{"name":"Gabon","dial_code":"+241","code":"GA","min_limit":5,"max_limit":7},{"name":"Gambia","dial_code":"+220","code":"GM","min_limit":5,"max_limit":14},{"name":"Georgia","dial_code":"+995","code":"GE","min_limit":5,"max_limit":9},{"name":"Germany","dial_code":"+49","code":"DE","min_limit":5,"max_limit":11},{"name":"Ghana","dial_code":"+233","code":"GH","min_limit":5,"max_limit":9},{"name":"Gibraltar","dial_code":"+350","code":"GI","min_limit":5,"max_limit":14},{"name":"Greece","dial_code":"+30","code":"GR","min_limit":5,"max_limit":10},{"name":"Greenland","dial_code":"+299","code":"GL","min_limit":5,"max_limit":6},{"name":"Grenada","dial_code":"+1473","code":"GD","min_limit":5,"max_limit":10},{"name":"Guadeloupe","dial_code":"+590","code":"GP","min_limit":5,"max_limit":12},{"name":"Guam","dial_code":"+1671","code":"GU","min_limit":5,"max_limit":10},{"name":"Guatemala","dial_code":"+502","code":"GT","min_limit":5,"max_limit":14},{"name":"Guernsey","dial_code":"+44","code":"GG","min_limit":5,"max_limit":10},{"name":"Guinea","dial_code":"+224","code":"GN","min_limit":5,"max_limit":14},{"name":"Guinea-Bissau","dial_code":"+245","code":"GW","min_limit":5,"max_limit":14},{"name":"Guyana","dial_code":"+592","code":"GY","min_limit":5,"max_limit":14},{"name":"Haiti","dial_code":"+509","code":"HT","min_limit":5,"max_limit":14},{"name":"HeardIslandandMcDonaldIslands","dial_code":"+672","code":"HM","min_limit":5,"max_limit":14},{"name":"HolySee(VaticanCityState)","dial_code":"+379","code":"VA","min_limit":5,"max_limit":14},{"name":"Honduras","dial_code":"+504","code":"HN","min_limit":5,"max_limit":14},{"name":"HongKong","dial_code":"+852","code":"HK","min_limit":5,"max_limit":8},{"name":"Hungary","dial_code":"+36","code":"HU","min_limit":5,"max_limit":9},{"name":"Iceland","dial_code":"+354","code":"IS","min_limit":5,"max_limit":14},{"name":"India","dial_code":"+91","code":"IN","min_limit":10,"max_limit":10},{"name":"Indonesia","dial_code":"+62","code":"ID","min_limit":5,"max_limit":11},{"name":"Iran,   IslamicRepublicof","dial_code":"+98","code":"IR","min_limit":5,"max_limit":14},{"name":"Iraq","dial_code":"+964","code":"IQ","min_limit":5,"max_limit":14},{"name":"Ireland","dial_code":"+353","code":"IE","min_limit":5,"max_limit":9},{"name":"IsleofMan","dial_code":"+44","code":"IM","min_limit":5,"max_limit":10},{"name":"Israel","dial_code":"+972","code":"IL","min_limit":5,"max_limit":9},{"name":"Italy","dial_code":"+39","code":"IT","min_limit":5,"max_limit":14},{"name":"Jamaica","dial_code":"+1876","code":"JM","min_limit":5,"max_limit":10},{"name":"Japan","dial_code":"+81","code":"JP","min_limit":5,"max_limit":11},{"name":"Jersey","dial_code":"+44","code":"JE","min_limit":5,"max_limit":10},{"name":"Jordan","dial_code":"+962","code":"JO","min_limit":5,"max_limit":14},{"name":"Kazakhstan","dial_code":"+7","code":"KZ","min_limit":5,"max_limit":10},{"name":"Kenya","dial_code":"+254","code":"KE","min_limit":5,"max_limit":14},{"name":"Kiribati","dial_code":"+686","code":"KI","min_limit":5,"max_limit":8},{"name":"Korea, Democratic People\'sRepublicof","dial_code":"+850","code":"KP","min_limit":5,"max_limit":14},{"name":"Korea,   Republicof","dial_code":"+82","code":"KR","min_limit":5,"max_limit":14},{"name":"Kuwait","dial_code":"+965","code":"KW","min_limit":5,"max_limit":8},{"name":"Kyrgyzstan","dial_code":"+996","code":"KG","min_limit":5,"max_limit":15}
1,{"name":"LaoPeople\'s Democratic Republic","dial_code":"+856","code":"LA","min_limit":5,"max_limit":14},{"name":"Latvia","dial_code":"+371","code":"LV","min_limit":5,"max_limit":8},{"name":"Lebanon","dial_code":"+961","code":"LB","min_limit":5,"max_limit":8},{"name":"Lesotho","dial_code":"+266","code":"LS","min_limit":5,"max_limit":14},{"name":"Liberia","dial_code":"+231","code":"LR","min_limit":5,"max_limit":7},{"name":"Libyan Arab Jamahiriya","dial_code":"+218","code":"LY","min_limit":5,"max_limit":10},{"name":"Liechtenstein","dial_code":"+423","code":"LI","min_limit":5,"max_limit":14},{"name":"Lithuania","dial_code":"+370","code":"LT","min_limit":5,"max_limit":8},{"name":"Luxembourg","dial_code":"+352","code":"LU","min_limit":5,"max_limit":9},{"name":"Macao","dial_code":"+853","code":"MO","min_limit":5,"max_limit":14},{"name":"Macedonia, The Former Yugoslav Republic of","dial_code":"+389","code":"MK","min_limit":5,"max_limit":14},{"name":"Madagascar","dial_code":"+261","code":"MG","min_limit":5,"max_limit":14},{"name":"Malawi","dial_code":"+265","code":"MW","min_limit":5,"max_limit":14},{"name":"Malaysia","dial_code":"+60","code":"MY","min_limit":5,"max_limit":7},{"name":"Maldives","dial_code":"+960","code":"MV","min_limit":5,"max_limit":7},{"name":"Mali","dial_code":"+223","code":"ML","min_limit":5,"max_limit":8},{"name":"Malta","dial_code":"+356","code":"MT","min_limit":5,"max_limit":14},{"name":"Marshall Islands","dial_code":"+692","code":"MH","min_limit":5,"max_limit":7},{"name":"Martinique","dial_code":"+596","code":"MQ","min_limit":5,"max_limit":12},{"name":"Mauritania","dial_code":"+222","code":"MR","min_limit":5,"max_limit":14},{"name":"Mauritius","dial_code":"+230","code":"MU","min_limit":5,"max_limit":8},{"name":"Mayotte","dial_code":"+262","code":"YT","min_limit":5,"max_limit":14},{"name":"Mexico","dial_code":"+52","code":"MX","min_limit":5,"max_limit":10},{"name":"Micronesia, Federated States of","dial_code":"+691","code":"FM","min_limit":5,"max_limit":14},{"name":"Moldova, Republic of","dial_code":"+373","code":"MD","min_limit":5,"max_limit":8},{"name":"Monaco","dial_code":"+377","code":"MC","min_limit":5,"max_limit":14},{"name":"Mongolia","dial_code":"+976","code":"MN","min_limit":5,"max_limit":8},{"name":"Montenegro","dial_code":"+382","code":"ME","min_limit":5,"max_limit":8},{"name":"Montserrat","dial_code":"+1664","code":"MS","min_limit":5,"max_limit":10},{"name":"Morocco","dial_code":"+212","code":"MA","min_limit":5,"max_limit":14},{"name":"Mozambique","dial_code":"+258","code":"MZ","min_limit":5,"max_limit":14},{"name":"Myanmar","dial_code":"+95","code":"MM","min_limit":5,"max_limit":10},{"name":"Namibia","dial_code":"+264","code":"NA","min_limit":5,"max_limit":14},{"name":"Nauru","dial_code":"+674","code":"NR","min_limit":5,"max_limit":14},{"name":"Nepal","dial_code":"+977","code":"NP","min_limit":5,"max_limit":10},{"name":"Netherlands","dial_code":"+31","code":"NL","min_limit":5,"max_limit":9},{"name":"Netherlands Antilles","dial_code":"+599","code":"AN","min_limit":5,"max_limit":9},{"name":"New Caledonia","dial_code":"+687","code":"NC","min_limit":5,"max_limit":6},{"name":"New Zealand","dial_code":"+64","code":"NZ","min_limit":5,"max_limit":10},{"name":"Nicaragua","dial_code":"+505","code":"NI","min_limit":5,"max_limit":14},{"name":"Niger","dial_code":"+227","code":"NE","min_limit":5,"max_limit":8},{"name":"Nigeria","dial_code":"+234","code":"NG","min_limit":5,"max_limit":8},{"name":"Niue","dial_code":"+683","code":"NU","min_limit":5,"max_limit":8},{"name":"Norfolk Island","dial_code":"+672","code":"NF","min_limit":5,"max_limit":6},{"name":"Northern Mariana Islands","dial_code":"+1670","code":"MP","min_limit":5,"max_limit":10},{"name":"Norway","dial_code":"+47","code":"NO","min_limit":5,"max_limit":8},{"name":"Oman","dial_code":"+968","code":"OM","min_limit":5,"max_limit":8},{"name":"Pakistan","dial_code":"+92","code":"PK","min_limit":5,"max_limit":10},{"name":"Palau","dial_code":"+680","code":"PW","min_limit":5,"max_limit":7},{"name":"Palestinian Territory, Occupied","dial_code":"+970","code":"PS","min_limit":5,"max_limit":9},{"name":"Panama","dial_code":"+507","code":"PA","min_limit":5,"max_limit":8},{"name":"Papua New Guinea","dial_code":"+675","code":"PG","min_limit":5,"max_limit":14},{"name":"Paraguay","dial_code":"+595","code":"PY","min_limit":5,"max_limit":14},{"name":"Peru","dial_code":"+51","code":"PE","min_limit":5,"max_limit":9},{"name":"Philippines","dial_code":"+63","code":"PH","min_limit":5,"max_limit":10},{"name":"Pitcairn","dial_code":"+870","code":"PN","min_limit":5,"max_limit":14},{"name":"Poland","dial_code":"+48","code":"PL","min_limit":5,"max_limit":9},{"name":"Portugal","dial_code":"+351","code":"PT","min_limit":5,"max_limit":9},{"name":"Puerto Rico","dial_code":"+1939","code":"PR","min_limit":5,"max_limit":10},{"name":"Qatar","dial_code":"+974","code":"QA","min_limit":5,"max_limit":8},{"name":"R\xe9union","dial_code":"+262","code":"RE","min_limit":5,"max_limit":12},{"name":"Romania","dial_code":"+40","code":"RO","min_limit":5,"max_limit":14},{"name":"Russia","dial_code":"+7","code":"RU","min_limit":5,"max_limit":10},{"name":"Rwanda","dial_code":"+250","code":"RW","min_limit":5,"max_limit":14},{"name":"Saint Helena, Ascension and Tristan Da Cunha","dial_code":"+290","code":"SH","min_limit":5,"max_limit":4},{"name":"Saint Kitts and Nevis","dial_code":"+1869","code":"KN","min_limit":5,"max_limit":10},{"name":"Saint Lucia","dial_code":"+1758","code":"LC","min_limit":5,"max_limit":10},{"name":"Saint Pierre and Miquelon","dial_code":"+508","code":"PM","min_limit":5,"max_limit":14},{"name":"Saint Vincent and the Grenadines","dial_code":"+1784","code":"VC","min_limit":5,"max_limit":10},{"name":"Samoa","dial_code":"+685","code":"WS","min_limit":5,"max_limit":14},{"name":"San Marino","dial_code":"+378","code":"SM","min_limit":5,"max_limit":14},{"name":"Sao Tome and Principe","dial_code":"+239","code":"ST","min_limit":5,"max_limit":14},{"name":"Saudi Arabia","dial_code":"+966","code":"SA","min_limit":5,"max_limit":9},{"name":"Senegal","dial_code":"+221","code":"SN","min_limit":5,"max_limit":14},{"name":"Serbia","dial_code":"+381","code":"RS","min_limit":5,"max_limit":9},{"name":"Seychelles","dial_code":"+248","code":"SC","min_limit":5,"max_limit":14},{"name":"Sierra Leone","dial_code":"+232","code":"SL","min_limit":5,"max_limit":14},{"name":"Singapore","dial_code":"+65","code":"SG","min_limit":5,"max_limit":8},{"name":"Slovakia","dial_code":"+421","code":"SK","min_limit":5,"max_limit":9},{"name":"Slovenia","dial_code":"+386","code":"SI","min_limit":5,"max_limit":14},{"name":"Solomon Islands","dial_code":"+677","code":"SB","min_limit":5,"max_limit":7},{"name":"Somalia","dial_code":"+252","code":"SO","min_limit":5,"max_limit":8},{"name":"South Africa","dial_code":"+27","code":"ZA","min_limit":5,"max_limit":9},{"name":"South Georgia and the South Sandwich Islands","dial_code":"+500","code":"GS","min_limit":5,"max_limit":14},{"name":"Spain","dial_code":"+34","code":"ES","min_limit":5,"max_limit":9},{"name":"Sri Lanka","dial_code":"+94","code":"LK","min_limit":5,"max_limit":7},{"name":"Sudan","dial_code":"+249","code":"SD","min_limit":5,"max_limit":14},{"name":"Suriname","dial_code":"+597","code":"SR","min_limit":5,"max_limit":14},{"name":"Svalbard and Jan Mayen","dial_code":"+47","code":"SJ","min_limit":5,"max_limit":14},{"name":"Swaziland","dial_code":"+268","code":"SZ","min_limit":5,"max_limit":14},{"name":"Sweden","dial_code":"+46","code":"SE","min_limit":5,"max_limit":7},{"name":"Switzerland","dial_code":"+41","code":"CH","min_limit":5,"max_limit":9},{"name":"Syrian Arab Republic","dial_code":"+963","code":"SY","min_limit":5,"max_limit":9},{"name":"Taiwan","dial_code":"+886","code":"TW","min_limit":5,"max_limit":9},{"name":"Tajikistan","dial_code":"+992","code":"TJ","min_limit":5,"max_limit":14},{"name":"Tanzania, United Republic of","dial_code":"+255","code":"TZ","min_limit":5,"max_limit":14},{"name":"Thailand","dial_code":"+66","code":"TH","min_limit":5,"max_limit":9},{"name":"Timor-Leste","dial_code":"+670","code":"TL","min_limit":5,"max_limit":14},{"name":"Togo","dial_code":"+228","code":"TG","min_limit":5,"max_limit":8},{"name":"Tokelau","dial_code":"+690","code":"TK","min_limit":5,"max_limit":14},{"name":"Tonga","dial_code":"+676","code":"TO","min_limit":5,"max_limit":14},{"name":"Trinidad and Tobago","dial_code":"+1868","code":"TT","min_limit":5,"max_limit":10},{"name":"Tunisia","dial_code":"+216","code":"TN","min_limit":5,"max_limit":8},{"name":"Turkey","dial_code":"+90","code":"TR","min_limit":5,"max_limit":11},{"name":"Turkmenistan","dial_code":"+993","code":"TM","min_limit":5,"max_limit":14},{"name":"Turks and Caicos Islands","dial_code":"+1649","code":"TC","min_limit":5,"max_limit":10},{"name":"Tuvalu","dial_code":"+688","code":"TV","min_limit":5,"max_limit":14},{"name":"Uganda","dial_code":"+256","code":"UG","min_limit":5,"max_limit":14},{"name":"Ukraine","dial_code":"+380","code":"UA","min_limit":5,"max_limit":9},{"name":"United Arab Emirates","dial_code":"+971","code":"AE","min_limit":5,"max_limit":9},{"name":"United Kingdom","dial_code":"+44","code":"GB","min_limit":5,"max_limit":10},{"name":"United States","dial_code":"+1","code":"US","min_limit":5,"max_limit":10},{"name":"United States Minor Outlying Islands","dial_code":"+1581","code":"UM","min_limit":5,"max_limit":14},{"name":"Uruguay","dial_code":"+598","code":"UY","min_limit":5,"max_limit":14},{"name":"Uzbekistan","dial_code":"+998","code":"UZ","min_limit":5,"max_limit":14},{"name":"Vanuatu","dial_code":"+678","code":"VU","min_limit":5,"max_limit":14},{"name":"Venezuela, Bolivarian Republic of","dial_code":"+58","code":"VE","min_limit":5,"max_limit":7},{"name":"Viet Nam","dial_code":"+84","code":"VN","min_limit":5,"max_limit":9},{"name":"Virgin Islands, British","dial_code":"+1284","code":"VG","min_limit":5,"max_limit":10},{"name":"Virgin Islands, U.S.","dial_code":"+1340","code":"VI","min_limit":5,"max_limit":10},{"name":"Wallis and Futuna","dial_code":"+681","code":"WF","min_limit":5,"max_limit":14},{"name":"Western Sahara","dial_code":"+732","code":"EH","min_limit":5,"max_limit":14},{"name":"Yemen","dial_code":"+967","code":"YE","min_limit":5,"max_limit":9},{"name":"Zambia","dial_code":"+260","code":"ZM","min_limit":5,"max_limit":14},{"name":"Zimbabwe","dial_code":"+263","code":"ZW","min_limit":5,"max_limit":14}]')},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("HDdC"),r=n("SeVD"),o=n("quSY"),s=n("kJWO"),a=n("jZKg"),l=n("Lhse"),c=n("c2HN"),u=n("I55L");function h(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>{const r=e[s.a]();i.add(r.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(Object(c.a)(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new o.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[l.a](),i.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())})))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}
1(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},D0XW:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n("3N8a");const r=new(n("IjjT").a)(i.a),o=r},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},Dvla:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return a}));var i=n("ofXK"),r=n("fXoL");const o=new r.InjectionToken("WindowToken","undefined"!=typeof window&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});var s=n("XNiG");let a=(()=>{class e{constructor(e,t,n){this.ngZone=e,this.document=t,this.window=n,this.copySubject=new s.a,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(e){this.config=e}copy(e){if(!this.isSupported||!e)return this.pushCopyResponse({isSuccess:!1,content:e});const t=this.copyFromContent(e);return this.pushCopyResponse(t?{content:e,isSuccess:t}:{isSuccess:!1,content:e})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){if(e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(e,t=!0){try{this.selectTarget(e);const n=this.copyText();return this.clearSelection(t?e:void 0,this.window),n&&this.isCopySuccessInIE11()}catch(n){return!1}}isCopySuccessInIE11(){const e=this.window.clipboardData;return!(e&&e.getData&&!e.getData("Text"))}copyFromContent(e,t=this.document.body){if(this.tempTextArea&&!t.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{t.appendChild(this.tempTextArea)}catch(i){throw new Error("Container should be a Dom element")}}this.tempTextArea.value=e;const n=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),n}destroy(e=this.document.body){this.tempTextArea&&(e.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(e){return e.select(),e.setSelectionRange(0,e.value.length),e.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(e,t){var n;e&&e.focus(),null===(n=t.getSelection())||void 0===n||n.removeAllRanges()}createTempTextArea(e,t){const n="rtl"===e.documentElement.getAttribute("dir");let i;return i=e.createElement("textarea"),i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[n?"right":"left"]="-9999px",i.style.top=(t.pageYOffset||e.documentElement.scrollTop)+"px",i.setAttribute("readonly",""),i}pushCopyResponse(e){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(e)})}pushCopyReponse(e){this.pushCopyResponse(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](i.DOCUMENT),r["\u0275\u0275inject"](o,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(i.DOCUMENT),Object(r["\u0275\u0275inject"])(o,8))},token:e,providedIn:"root"}),e})(),l=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.CommonModule]]}),e})()},E4JC:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],o=[],s=e.algo.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)a.call(this);for(n=0;n<8;n++)r[n]^=i[n+4&7];if(t){var o=t.words,s=o[0],l=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),h=c>>>16|4294901760&u,d=u<<16|65535&c;for(r[0]^=c,r[1]^=h,r[2]^=u,r[3]^=d,r[4]^=c,r[5]^=h,r[6]^=u,r[7]^=d,n=0;n<4;n++)a.call(this)}},_doProcessBlock:function(e,t){var i=this._X;a.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<r[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<r[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<r[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<r[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<r[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<r[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<r[6]>>>0?1:0)|0,this._b=t[7]>>>0<r[7]>>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],s=65535&i,a=i>>>16;o[n]=((s*s>>>17)+s*a>>>15)+a*a^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.Rabbit=t._createHelper(s)}(),i.Rabbit)},ELcG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=r.create([0,1518500249,1859775393,2400959708,2840853838]),d=r.create([1352829926,1548603684,1836072691,2053994217,0]),p=s.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var o,s,p,y,w,C,x,S,O,k,E,P=this._hash.words,I=h.words,T=d.words,M=a.words,A=l.words,D=c.words,j=u.words;for(C=o=P[0],x=s=P[1],S=p=P[2],O=y=P[3],k=w=P[4],n=0;n<80;n+=1)E=o+e[t+M[n]]|0,E+=n<16?f(s,p,y)+I[0]:n<32?m(s,p,y)+I[1]:n<48?g(s,p,y)+I[2]:n<64?b(s,p,y)+I[3]:_(s,p,y)+I[4],E=(E=v(E|=0,D[n]))+w|0,o=w,w=y,y=v(p,10),p=s,s=E,E=C+e[t+A[
1n]]|0,E+=n<16?_(x,S,O)+T[0]:n<32?b(x,S,O)+T[1]:n<48?g(x,S,O)+T[2]:n<64?m(x,S,O)+T[3]:f(x,S,O)+T[4],E=(E=v(E|=0,j[n]))+k|0,C=k,k=O,O=v(S,10),S=x,x=E;E=P[1]+p+O|0,P[1]=P[2]+y+k|0,P[2]=P[3]+w+C|0,P[3]=P[4]+o+x|0,P[4]=P[0]+s+S|0,P[0]=E},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,o=r.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return r},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function b(e,t,n){return e&n|t&~n}function _(e,t,n){return e^(t|~n)}function v(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(p),t.HmacRIPEMD160=o._createHmacHelper(p)}(Math),i.RIPEMD160)},ETIr:function(e,t,n){var i,r;e.exports=(i=n("Ib8C"),r=i.lib.WordArray,i.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var r=[],o=0;o<n;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<n;a++)r.push(i.charAt(s>>>6*(3-a)&63));var l=i.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,l=n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|l)<<24-o%4*8,o++}return r.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n("HDdC");const r=new i.a(e=>e.complete());function o(e){return e?function(e){return new i.a(t=>e.schedule(()=>t.complete()))}(e):r}},"F+F2":function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(){if("function"==typeof ArrayBuffer){var e=i.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,i=[],r=0;r<n;r++)i[r>>>2]|=e[r]<<24-r%4*8;t.call(this,i,n)}else t.apply(this,arguments)}).prototype=e}}(),i.lib.WordArray)},FKr1:function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return R})),n.d(t,"c",(function(){return O})),n.d(t,"d",(function(){return le})),n.d(t,"e",(function(){return J})),n.d(t,"f",(function(){return ne})),n.d(t,"g",(function(){return z})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return N})),n.d(t,"j",(function(){return re})),n.d(t,"k",(function(){return ae})),n.d(t,"l",(function(){return G})),n.d(t,"m",(function(){return q})),n.d(t,"n",(function(){return H})),n.d(t,"o",(function(){return oe})),n.d(t,"p",(function(){return se})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return C})),n.d(t,"u",(function(){return w}));var i=n("fXoL"),r=n("u47x"),o=n("cH1L");const s=new i.Version("10.2.7");var a=n("ofXK"),l=n("8LU1"),c=n("XNiG"),u=(n("HDdC"),n("nLfN")),h=(n("JX91"),n("R1ws")),d=n("FtGj");function p(e,t){if(1&e&&i["\u0275\u0275element"](0,"mat-pseudo-checkbox",3),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}const f=["*"],m=new i.Version("10.2.7"),g=new i.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let b=(()=>{class e{constructor(e,t,n){this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasse
1s(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const e=this._document||document;return"object"==typeof e&&e?e:null}_getWindow(){const e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return Object(i.isDevMode)()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){const e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(e||!t||!t.body||"function"!=typeof getComputedStyle)return;const n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);const i=getComputedStyle(n);i&&"none"!==i.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&m.full!==s.full&&console.warn("The Angular Material version ("+m.full+") does not match the Angular CDK version ("+s.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(i["\u0275\u0275inject"](r.j),i["\u0275\u0275inject"](g,8),i["\u0275\u0275inject"](a.DOCUMENT,8))},imports:[[o.a],o.a]}),e})();function _(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(l.b)(e)}}}function v(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}}function y(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Object(l.b)(e)}}}function w(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Object(l.e)(e):this.defaultTabIndex}}}function C(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new c.a}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}const x=new i.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.inject)(i.LOCALE_ID)}});class S{constructor(){this._localeChanges=new c.a,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}}const O=new i.InjectionToken("mat-date-formats");let k;try{k="undefined"!=typeof Intl}catch(ce){k=!1}const E={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},P=M(31,e=>String(e+1)),I={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},T=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function M(e,t){const n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}let A=(()=>{class e extends S{constructor(e,t){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!t.TRIDENT,this._clampDate=t.TRIDENT||t.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(k){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return M(12,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,e,1))))}return E[e]}getDateNames(){if(k){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return M(31,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return P}getDayOfWeekNames(e){if(k){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return M(7,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return I[e]}getYearName(e){if(k){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,n){let i=this._createDateWithOverflow(e,t,n);return i.getMonth(),i}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(k){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(T.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,n){const i=new Date;return i.setFullYear(e,t,n),i.setHours(0,0,0,0),i}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,t){const n=new Date;return n.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(n)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](x,8),i["\u0275\u0275inject"](u.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:S,useClass:A}],imports:[[u.b]]}),e})();const j={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let N=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:O,useValue:j}],imports:[[D]]}),e})(),R=(()=>
1{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})();class L{constructor(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const F={enterDuration:450,exitDuration:400},V=Object(u.f)({passive:!0}),B=["mousedown","touchstart"],U=["mouseup","mouseleave","touchend","touchcancel"];class H{constructor(e,t,n,i){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(l.d)(n))}fadeInRipple(e,t,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},F),n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const o=n.radius||function(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,i),s=e-i.left,a=t-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-o+"px",c.style.top=a-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new L(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const e=u===this._mostRecentTransientRipple;u.state=1,n.persistent||e&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const n=e.element,i=Object.assign(Object.assign({},F),e.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=Object(l.d)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(B))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(U),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=Object(r.l)(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,V)})})}_removeTriggerEvents(){this._triggerElement&&(B.forEach(e=>{this._triggerElement.removeEventListener(e,this,V)}),this._pointerUpEventsRegistered&&U.forEach(e=>{this._triggerElement.removeEventListener(e,this,V)}))}}const z=new i.InjectionToken("mat-ripple-global-options");let G=(()=>{class e{constructor(e,t,n,i,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new H(this,t,e,n)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,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(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,n){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](u.a),i["\u0275\u0275directiveInject"](z,8),i["\u0275\u0275directiveInject"](h.a,8))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("mat-ripple-unbounded",t.unbounded)}
1,inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),q=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[b,u.b],b]}),e})(),W=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](h.a,8))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),K=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})();class X{}const $=_(X);let Q=0,Y=(()=>{class e extends ${constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+Q++}}return e.\u0275fac=function(t){return Z(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,inputs:{label:"label"},features:[i["\u0275\u0275InheritDefinitionFeature"]]}),e})();const Z=i["\u0275\u0275getInheritedFactory"](Y),J=new i.InjectionToken("MatOptgroup");let ee=0;class te{constructor(e,t=!1){this.source=e,this.isUserInput=t}}const ne=new i.InjectionToken("MAT_OPTION_PARENT_COMPONENT");let ie=(()=>{class e{constructor(e,t,n,r){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ee++,this.onSelectionChange=new i.EventEmitter,this._stateChanges=new c.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Object(l.b)(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){e.keyCode!==d.e&&e.keyCode!==d.m||Object(d.r)(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}
1_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new te(this,e))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](void 0),i["\u0275\u0275directiveInject"](Y))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),re=(()=>{class e extends ie{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](ne,8),i["\u0275\u0275directiveInject"](J,8))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(i["\u0275\u0275hostProperty"]("id",t.id),i["\u0275\u0275attribute"]("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i["\u0275\u0275classProp"]("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:f,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,p,1,2,"mat-pseudo-checkbox",0),i["\u0275\u0275elementStart"](1,"span",1),i["\u0275\u0275projection"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",2)),2&e&&(i["\u0275\u0275property"]("ngIf",t.multiple),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[a.NgIf,G,W],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function oe(e,t,n){if(n.length){let i=t.toArray(),r=n.toArray(),o=0;for(let t=0;t<e+1;t++)i[t].group&&i[t].group===r[o]&&o++;return o}return 0}function se(e,t,n,i){return e<n?e:e+t>n+i?Math.max(0,e-i+t):n}let ae=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[q,a.CommonModule,K]]}),e})();const le=new i.InjectionToken("mat-label-global-options")},FtGj:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return o}
1)),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return c})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return a})),n.d(t,"n",(function(){return r})),n.d(t,"o",(function(){return p})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return g})),n.d(t,"r",(function(){return y}));const i=8,r=9,o=13,s=27,a=32,l=33,c=34,u=35,h=36,d=37,p=38,f=39,m=40,g=48,b=57,_=65,v=90;function y(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},GRuw:function(e,t,n){var i,r,o,s,a,l;e.exports=(l=n("Ib8C"),n("lPiR"),r=(i=l).lib.WordArray,a=(o=i.algo).SHA224=(s=o.SHA256).extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),i.SHA224=s._createHelper(a),i.HmacSHA224=s._createHmacHelper(a),l.SHA224)},GU7r:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return h}));var i=n("8LU1"),r=n("fXoL"),o=n("HDdC"),s=n("XNiG"),a=n("Kj3r");let l=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})(),c=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Object(i.d)(e);return new o.a(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new s.a,n=this._mutationObserverFactory.create(e=>t.next(e));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream
1:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](l))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(l))},token:e,providedIn:"root"}),e})(),u=(()=>{class e{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new r.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(i.b)(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Object(i.e)(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Object(a.a)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](c),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.NgZone))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),h=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[l]}),e})()},GyhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("LRne"),r=n("0EUg");function o(...e){return Object(r.a)()(Object(i.a)(...e))}},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("7o/Q"),r=n("2QA8"),o=n("gRHU"),s=n("kJWO"),a=n("SpAZ"),l=n("2fFW");let c=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:s}=this,a=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new i.a(e,t,n):new i.a(o.a)}(e,t,n);if(a.add(s?s.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(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof i.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(r){n(r),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.a](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?a.a:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=e=>e&&"number"==typeof e.length&&"function"!=typeof e},Ib8C:function(e,t,n){var i;e.exports=i=i||function(e,t){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&"undefined"!=typeof global&&global.crypto&&(i=global.crypto),!i)try{i=n(1)}catch(g){}var r=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(g){}}
1throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},a=s.lib={},l=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=l.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,r=e.sigBytes;if(this.clamp(),i%4)for(var o=0;o<r;o++)t[i+o>>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(i+o)%4*8;else for(var s=0;s<r;s+=4)t[i+s>>>2]=n[s>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new c.init(t,e)}}),u=s.enc={},h=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i+=2)n[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new c.init(n,t/2)}},d=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++)i.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new c.init(n,t)}},p=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},f=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,i=this._data,r=i.words,o=i.sigBytes,s=this.blockSize,a=o/(4*s),l=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*l,o);if(l){for(var h=0;h<l;h+=s)this._doProcessBlock(r,h);n=r.splice(0,l),i.sigBytes-=u}return new c.init(n,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(a.Hasher=f.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new m.HMAC.init(e,n).finalize(t)}}}),s.algo={});return s}(Math)},IjjT:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class r extends i{constructor(e,t=i.now){super(e,()=>r.delegate&&r.delegate!==this?r.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("7o/Q"),r=n("4I5i"),o=n("EY2u");function s(e){return t=>0===e?Object(o.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new r.a}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends i.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("zx2A");function r(e){return function(t){const n=new o(e),i=t.lift(n);return n.caught=i}}class o{constructor(e){this.selector=e}call(e,t){return t.subscribe(new s(e,this.selector,this.caught))}}class s extends i.b{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new i.a(this);this.add(r);const o=Object(i.c)(n,r);o!==r&&this.add(o)}}}},JX91:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("GyhO"),r=n("z+Ro");function o(...e){const t=e[e.length-1];return Object(r.a)(t)?(e.pop(),n=>Object(i.a)(e,n,t)):t=>Object(i.a)(e,t)}},Jgta:function(e,t,n){"use strict";var i=n("zIRd");n.d(t,"a",(function(){return i.a}));var r="8.10.1";i.a.registerVersion("firebase",r,"app"),i.a.SDK_VERSION=r},JqCM:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return _}));var i=n("fXoL"),r=n("2Vo4"),o=n("XNiG"),s=n("pLZG"),a=n("1G5W"),l=n("R0Ic"),c=n("ofXK"),u=n("jhN1");function h(e,t){1&e&&i["\u0275\u0275element"](0,"div")}function d(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,h,1,0,"div",5),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classMap"](e.spinner.class),i["\u0275\u0275styleProp"]("color",e.spinner.color),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",e.spinner.divArray)}}function p(e,t){if(1&e&&(i["\u0275\u0275element"](0,"div",6),i["\u0275\u0275pipe"](1,"safeHtml")),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("innerHTML",i["\u0275\u0275pipeBind1"](1,1,e.template),i["\u0275\u0275sanitizeHtml"])}}function f(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",1),i["\u0275\u0275template"](1,d,2,5,"div",2),i["\u0275\u0275template"](2,p,2,3,"div",3),i["\u0275\u0275elementStart"](3,"div",4),i["\u0275\u0275projection"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("background-color",e.spinner.bdColor)("z-index",e.spinner.zIndex)("position",e.spinner.fullScreen?"fixed":"absolute"),i["\u0275\u0275property"]("@fadeIn","in"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.template),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.template),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("z-index",e.spinner.zIndex)}}const m=["*"],g={"ball-8bits":16,"ball-atom":4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1};class b{constructor(e){Object.assign(this,e)}}let _=(()=>{class e{constructor(){this.spinnerObservable=new r.a(null)}getSpinner(e){return this.spinnerObservable.asObservable().pipe(Object(s.a)(t=>t&&t.name===e))}show(e="primary",t){setTimeout(()=>new Promise((n,i)=>{t&&Object.keys(t).length?(t.name=e,this.spinnerObservable.next(new b(Object.assign(Object.assign({},t),{show:!0}))),n(!0)):(this.spinnerObservable.next(new b({name:e,show:!0})),n(!0))}),10)}hide(e="primary",t=10){setTimeout(()=>new Promise((t,n)=>{this.spinnerObservable.next(new b({name:e,show:!1})),t(!0)}),t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})(),v=(()=>{class e{constructor(e,t){this.spinnerService=e,this.changeDetector=t,this.spinner=new b,this.ngUnsubscribe=new o.a,this.setDefaultOptions=()=>{this.spinner=new b({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show,zIndex:this.zIndex,template:this.template})},this.bdColor="rgba(51,51,51,0.8)",this.zIndex=99999,this.color="#fff",this.type="ball-scale-multiple",this.size="large",this.fullScreen=!0,this.name="primary",this.template=null,this.divArray=[],this.divCount=0,this.show=!1}ngOnInit(){this.setDefaultOptions(),this.spinnerService.getSpinner(this.name).pipe(Object(a.a)(this.ngUnsubscribe)).subscribe(e=>{this.setDefaultOptions(),Object.assign(this.spinner,e),e.show&&this.onInputChange(),this.changeDetector.markForCheck()})}ngOnChanges(e){for(const t in e)if(t){const n=e[t];if(n.isFirstChange())return;void 0!==n.currentValue&&n.currentValue!==n.previousValue&&""!==n.currentValue&&(this.spinner[t]=n.currentValue)}}getClass(e,t){this.spinner.divCount=g[e],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((e,t)=>t);let n="";switch(t.toLowerCase()){case"small":n="la-sm";break;case"medium":n="la-2x";break;case"large":n="la-3x"}return"la-"+e+" "+n}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](_),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-spinner"]],inputs:{bdColor:"bdColor",zIndex:"zIndex",color:"color",type:"type",size:"size",fullScreen:"fullScreen",name:"name",template:"template"},features:[i["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:m,decls:1,vars:1,consts:[["class","overlay",3,"background-color","z-index","position",4,"ngIf"],[1,"overlay"],[3,"class","color",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"loading-text"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,f,5,11,"div",0)),2&e&&i["\u0275\u0275property"]("ngIf",t.spinner.show)},directives:function(){return[c.NgIf,c.NgForOf]},pipes:function(){return[y]},styles:['.la-ball-8bits[_ngcontent-%COMP%], .la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-8bits[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-8bits.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-8bits[_ngcontent-%COMP%]{height:12px;width:12px}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-8bits 1s ease 0s infinite;animation:ball-8bits 1s ease 0s infinite;border-radius:0;height:4px;left:50%;opacity:0;position:absolute;top:50%;transform:translate(100%,100%);width:4px}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.9375s;animation-delay:-.9375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8125s;animation-delay:-.8125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.6875s;animation-delay:-.6875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.5625s;animation-delay:-.5625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.4375s;animation-delay:-.4375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){-webkit-animation-delay:-.3125s;animation-delay:-.3125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){-webkit-animation-delay:-.1875s;animation-delay:-.1875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){-webkit-animation-delay:-.0625s;animation-delay:-.0625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{left:0;top:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){left:33.3333333333%;top:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){left:66.6666666667%;top:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){left:100%;top:-33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){left:100%;top:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){left:100%;top:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){left:66.6666666667%;top:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){left:33.3333333333%;top:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){left:0;top:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){left:-33.3333333333%;top:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){left:-66.6666666667%;top:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){left:-100%;top:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){left:-100%;top:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){left:-100%;top:-33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){left:-66.6666666667%;top:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){left:-33.3333333333%;top:-100%}.la-ball-8bits.la-sm[_ngcontent-%COMP%]{height:6px;width:6px}.la-ball-8bits.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:2px;width:2px}.la-ball-8bits.la-2x[_ngcontent-%COMP%]{height:24px;width:24px}.la-ball-8bits.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:8px;width:8px}.la-ball-8bits.la-3x[_ngcontent-%COMP%]{height:36px;width:36px}.la-ball-8bits.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:12px;width:12px}@-webkit-keyframes ball-8bits{0%{opacity:1}50%{opacity:1}51%{opacity:0}
1}@keyframes ball-8bits{0%{opacity:1}50%{opacity:1}51%{opacity:0}}.la-ball-atom[_ngcontent-%COMP%], .la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-atom[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-atom.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-atom[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-atom-shrink 4.5s linear infinite;animation:ball-atom-shrink 4.5s linear infinite;background:#aaa;border-radius:100%;height:60%;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:60%;z-index:1}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){-webkit-animation:ball-atom-zindex 1.5s steps(2) 0s infinite;animation:ball-atom-zindex 1.5s steps(2) 0s infinite;background:none;height:100%;left:0;position:absolute;width:100%;z-index:0}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{-webkit-animation:ball-atom-position 1.5s ease 0s infinite,ball-atom-size 1.5s ease 0s infinite;animation:ball-atom-position 1.5s ease 0s infinite,ball-atom-size 1.5s ease 0s infinite;background:currentColor;border-radius:50%;content:"";height:10px;left:0;margin-left:-5px;margin-top:-5px;opacity:.75;position:absolute;top:0;width:10px}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{-webkit-animation-delay:0s,-1.125s;animation-delay:0s,-1.125s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.25s;animation-delay:-.25s;transform:rotate(120deg)}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{-webkit-animation-delay:-1s,-.75s;animation-delay:-1s,-.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:.25s;animation-delay:.25s;transform:rotate(240deg)}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{-webkit-animation-delay:-.5s,-.125s;animation-delay:-.5s,-.125s}.la-ball-atom.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-atom.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-atom.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-atom.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{height:20px;margin-left:-10px;margin-top:-10px;width:20px}.la-ball-atom.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-atom.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{height:30px;margin-left:-15px;margin-top:-15px;width:30px}@-webkit-keyframes ball-atom-position{50%{left:100%;top:100%}}@keyframes ball-atom-position{50%{left:100%;top:100%}}@-webkit-keyframes ball-atom-size{50%{transform:scale(.5)}}@keyframes ball-atom-size{50%{transform:scale(.5)}}@-webkit-keyframes ball-atom-zindex{50%{z-index:10}}@keyframes ball-atom-zindex{50%{z-index:10}}@-webkit-keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8)}}@keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8)}}.la-ball-beat[_ngcontent-%COMP%], .la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-beat[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-beat[_ngcontent-%COMP%]{height:18px;width:54px}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-beat .7s linear -.15s infinite;animation:ball-beat .7s linear -.15s infinite;border-radius:100%;height:10px;margin:4px;width:10px}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-beat.la-sm[_ngcontent-%COMP%]{height:8px;width:26px}.la-ball-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin:2px;width:4px}.la-ball-beat.la-2x[_ngcontent-%COMP%]{height:36px;width:108px}.la-ball-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin:8px;width:20px}.la-ball-beat.la-3x[_ngcontent-%COMP%]{height:54px;width:162px}.la-ball-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin:12px;width:30px}@-webkit-keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}to{opacity:1;transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}to{opacity:1;transform:scale(1)}}.la-ball-circus[_ngcontent-%COMP%], .la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-circus[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-circus.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-circus[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-circus-position 2.5s cubic-bezier(.25,0,.75,1) infinite,ball-circus-size 2.5s cubic-bezier(.25,0,.75,1) infinite;animation:ball-circus-position 2.5s cubic-bezier(.25,0,.75,1) infinite,ball-circus-size 2.5s cubic-bezier(.25,0,.75,1) infinite;border-radius:100%;display:block;height:16px;height:100%;left:-100%;opacity:.5;position:absolute;top:0;width:16px;width:100%}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s,-.5s;animation-delay:0s,-.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.5s,-1s;animation-delay:-.5s,-1s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s,-1.5s;animation-delay:-1s,-1.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s,-2s;animation-delay:-1.5s,-2s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2s,-2.5s;animation-delay:-2s,-2.5s}.la-ball-circus.la-sm[_ngcontent-%COMP%], .la-ball-circus.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:8px;width:8px}.la-ball-circus.la-2x[_ngcontent-%COMP%], .la-ball-circus.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-circus.la-3x[_ngcontent-%COMP%], .la-ball-circus.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:48px;width:48px}@-webkit-keyframes ball-circus-position{50%{left:100%}}@keyframes ball-circus-position{50%{left:100%}}@-webkit-keyframes ball-circus-size{50%{transform:scale(.3)}}@keyframes ball-circus-size{50%{transform:scale(.3)}}.la-ball-climbing-dot[_ngcontent-%COMP%], .la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-climbing-dot[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-climbing-dot.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-climbing-dot[_ngcontent-%COMP%]{height:32px;width:42px}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-climbing-dot-jump .6s ease-in-out infinite;animation:ball-climbing-dot-jump .6s ease-in-out infinite;border-radius:100%;bottom:32%;height:14px;left:18%;position:absolute;transform-origin:center bottom;width:14px}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){-webkit-animation:ball-climbing-dot-steps 1.8s linear infinite;animation:ball-climbing-dot-steps 1.8s linear infinite;border-radius:0;height:2px;position:absolute;right:0;top:0;transform:translate(60%);width:14px}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(2){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(3){-webkit-animation-delay:-.6s;animation-delay:-.6s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%]{height:16px;width:20px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{height:6px;width:6px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){height:1px;width:6px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%]{height:64px;width:84px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{height:28px;width:28px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){height:4px;width:28px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%]{height:96px;width:126px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{height:42px;width:42px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){height:6px;width:42px}@-webkit-keyframes ball-climbing-dot-jump{0%{transform:scaleY(.7)}20%{transform:scale(.7,1.2)}40%{transform:scale(1)}50%{bottom:125%}46%{transform:scale(1)}80%{transform:scale(.7,1.2)}90%{transform:scale(.7,1.2)}to{transform:scaleY(.7)}}@keyframes ball-climbing-dot-jump{0%{transform:scaleY(.7)}20%{transform:scale(.7,1.2)}40%{transform:scale(1)}50%{bottom:125%}46%{transform:scale(1)}80%{transform:scale(.7,1.2)}90%{transform:scale(.7,1.2)}to{transform:scaleY(.7)}}@-webkit-keyframes ball-climbing-dot-steps{0%{opacity:0;right:0;top:0}50%{opacity:1}to{opacity:0;right:100%;top:100%}}@keyframes ball-climbing-dot-steps{0%{opacity:0;right:0;top:0}50%{opacity:1}to{opacity:0;right:100%;top:100%}}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%], .la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-clip-rotate-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-clip-rotate-multiple-rotate 1s ease-in-out infinite;animation:ball-clip-rotate-multiple-rotate 1s ease-in-out infinite;background:transparent;border-radius:100%;border-style:solid;border-width:2px;left:50%;position:absolute;top:50%}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-left-color:transparent;border-right-color:transparent;height:32px;position:absolute;width:32px}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-direction:reverse;-webkit-animation-duration:.5s;animation-direction:reverse;animation-duration:.5s;border-bottom-color:transparent;border-top-color:transparent;height:16px;width:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{height:16px;width:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{height:8px;width:8px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{height:64px;width:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{height:32px;width:32px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{height:96px;width:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{height:48px;width:48px}@-webkit-keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%], .la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-clip-rotate-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;left:50%;position:absolute;top:50%}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-clip-rotate-pulse-rotate 1s cubic-bezier(.09,.57,.49,.9) infinite;animation:ball-clip-rotate-pulse-rotate 1s cubic-bezier(.09,.57,.49,.9) infinite;background:transparent;border-bottom-style:solid;border-bottom-width:2px;border-left:2px solid transparent;border-right:2px solid transparent;border-top-style:solid;border-top-width:2px;height:32px;position:absolute;width:32px}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-clip-rotate-pulse-scale 1s cubic-bezier(.09,.57,.49,.9) infinite;animation:ball-clip-rotate-pulse-scale 1s cubic-bezier(.09,.57,.49,.9) infinite;height:16px;width:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-width:1px;height:16px;width:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{height:8px;width:8px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-width:4px;height:64px;width:64px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{height:32px;width:32px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-width:6px;height:96px;width:96px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{height:48px;width:48px}
1@-webkit-keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes ball-clip-rotate-pulse-scale{0%,to{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}@keyframes ball-clip-rotate-pulse-scale{0%,to{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}.la-ball-clip-rotate[_ngcontent-%COMP%], .la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-clip-rotate[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-clip-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-clip-rotate[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-clip-rotate .75s linear infinite;animation:ball-clip-rotate .75s linear infinite;background:transparent;border-bottom-color:transparent;border-radius:100%;border-width:2px;height:32px;width:32px}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px;height:16px;width:16px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px;height:64px;width:64px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px;height:96px;width:96px}@-webkit-keyframes ball-clip-rotate{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}@keyframes ball-clip-rotate{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.la-ball-elastic-dots[_ngcontent-%COMP%], .la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-elastic-dots[_ngcontent-%COMP%]{color:#fff;display:block}.la-ball-elastic-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;float:none}.la-ball-elastic-dots[_ngcontent-%COMP%]{font-size:0;height:10px;text-align:center;width:120px}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-elastic-dots-anim 1s infinite;animation:ball-elastic-dots-anim 1s infinite;border-radius:100%;display:inline-block;height:10px;white-space:nowrap;width:10px}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%]{height:4px;width:60px}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;width:4px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%]{height:20px;width:240px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;width:20px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%]{height:30px;width:360px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;width:30px}@-webkit-keyframes ball-elastic-dots-anim{0%,to{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}@keyframes ball-elastic-dots-anim{0%,to{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}.la-ball-fall[_ngcontent-%COMP%], .la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-fall[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-fall.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-fall[_ngcontent-%COMP%]{height:18px;width:54px}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-fall 1s ease-in-out infinite;animation:ball-fall 1s ease-in-out infinite;border-radius:100%;height:10px;margin:4px;opacity:0;width:10px}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-fall.la-sm[_ngcontent-%COMP%]{height:8px;width:26px}.la-ball-fall.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin:2px;width:4px}.la-ball-fall.la-2x[_ngcontent-%COMP%]{height:36px;width:108px}.la-ball-fall.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin:8px;width:20px}.la-ball-fall.la-3x[_ngcontent-%COMP%]{height:54px;width:162px}.la-ball-fall.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin:12px;width:30px}@-webkit-keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;transform:translateY(0)}80%{opacity:1;transform:translateY(0)}90%{opacity:.5}to{opacity:0;transform:translateY(145%)}}@keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;transform:translateY(0)}80%{opacity:1;transform:translateY(0)}90%{opacity:.5}to{opacity:0;transform:translateY(145%)}}.la-ball-fussion[_ngcontent-%COMP%], .la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-fussion[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-fussion.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-fussion[_ngcontent-%COMP%]{height:8px;width:8px}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-fussion-ball1 1s ease 0s infinite;animation:ball-fussion-ball1 1s ease 0s infinite;border-radius:100%;height:12px;position:absolute;transform:translate(-50%,-50%);width:12px}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{left:50%;top:0;z-index:1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-name:ball-fussion-ball2;animation-name:ball-fussion-ball2;left:100%;top:50%;z-index:2}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-name:ball-fussion-ball3;animation-name:ball-fussion-ball3;left:50%;top:100%;z-index:1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-name:ball-fussion-ball4;animation-name:ball-fussion-ball4;left:0;top:50%;z-index:2}.la-ball-fussion.la-sm[_ngcontent-%COMP%]{height:4px;width:4px}.la-ball-fussion.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:6px;width:6px}.la-ball-fussion.la-2x[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-fussion.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-ball-fussion.la-3x[_ngcontent-%COMP%]{height:24px;width:24px}.la-ball-fussion.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:36px;width:36px}@-webkit-keyframes ball-fussion-ball1{0%{opacity:.35}50%{left:200%;opacity:1;top:-100%}to{left:100%;opacity:.35;top:50%;z-index:2}}@keyframes ball-fussion-ball1{0%{opacity:.35}50%{left:200%;opacity:1;top:-100%}to{left:100%;opacity:.35;top:50%;z-index:2}}@-webkit-keyframes ball-fussion-ball2{0%{opacity:.35}50%{left:200%;opacity:1;top:200%}to{left:50%;opacity:.35;top:100%;z-index:1}}@keyframes ball-fussion-ball2{0%{opacity:.35}50%{left:200%;opacity:1;top:200%}to{left:50%;opacity:.35;top:100%;z-index:1}}@-webkit-keyframes ball-fussion-ball3{0%{opacity:.35}50%{left:-100%;opacity:1;top:200%}to{left:0;opacity:.35;top:50%;z-index:2}}@keyframes ball-fussion-ball3{0%{opacity:.35}50%{left:-100%;opacity:1;top:200%}to{left:0;opacity:.35;top:50%;z-index:2}}@-webkit-keyframes ball-fussion-ball4{0%{opacity:.35}50%{left:-100%;opacity:1;top:-100%}to{left:50%;opacity:.35;top:0;z-index:1}}@keyframes ball-fussion-ball4{0%{opacity:.35}50%{left:-100%;opacity:1;top:-100%}to{left:50%;opacity:.35;top:0;z-index:1}}.la-ball-grid-beat[_ngcontent-%COMP%], .la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-grid-beat[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-grid-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-grid-beat[_ngcontent-%COMP%]{height:36px;width:36px}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation-iteration-count:infinite;-webkit-animation-name:ball-grid-beat;animation-iteration-count:infinite;animation-name:ball-grid-beat;border-radius:100%;height:8px;margin:2px;width:8px}.la-ball-grid-beat[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:.03s;-webkit-animation-duration:.65s;animation-delay:.03s;animation-duration:.65s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.09s;-webkit-animation-duration:1.02s;animation-delay:.09s;animation-duration:1.02s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.69s;-webkit-animation-duration:1.06s;animation-delay:-.69s;animation-duration:1.06s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.41s;-webkit-animation-duration:1.5s;animation-delay:-.41s;animation-duration:1.5s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:.04s;-webkit-animation-duration:1.6s;animation-delay:.04s;animation-duration:1.6s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:.07s;-webkit-animation-duration:.84s;animation-delay:.07s;animation-duration:.84s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.66s;-webkit-animation-duration:.68s;animation-delay:-.66s;animation-duration:.68s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.76s;-webkit-animation-duration:.93s;animation-delay:-.76s;animation-duration:.93s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.76s;-webkit-animation-duration:1.24s;animation-delay:-.76s;animation-duration:1.24s}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%]{height:18px;width:18px}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin:1px;width:4px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%]{height:72px;width:72px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin:4px;width:16px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%]{height:108px;width:108px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin:6px;width:24px}@-webkit-keyframes ball-grid-beat{0%{opacity:1}50%{opacity:.35}to{opacity:1}}@keyframes ball-grid-beat{0%{opacity:1}50%{opacity:.35}to{opacity:1}}.la-ball-grid-pulse[_ngcontent-%COMP%], .la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-grid-pulse[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-grid-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-grid-pulse[_ngcontent-%COMP%]{height:36px;width:36px}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation-iteration-count:infinite;-webkit-animation-name:ball-grid-pulse;animation-iteration-count:infinite;animation-name:ball-grid-pulse;border-radius:100%;height:8px;margin:2px;width:8px}.la-ball-grid-pulse[_ngcontent-%COMP%] >
1 div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:.03s;-webkit-animation-duration:.65s;animation-delay:.03s;animation-duration:.65s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.09s;-webkit-animation-duration:1.02s;animation-delay:.09s;animation-duration:1.02s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.69s;-webkit-animation-duration:1.06s;animation-delay:-.69s;animation-duration:1.06s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.41s;-webkit-animation-duration:1.5s;animation-delay:-.41s;animation-duration:1.5s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:.04s;-webkit-animation-duration:1.6s;animation-delay:.04s;animation-duration:1.6s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:.07s;-webkit-animation-duration:.84s;animation-delay:.
107s;animation-duration:.84s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.66s;-webkit-animation-duration:.68s;animation-delay:-.66s;animation-duration:.68s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.76s;-webkit-animation-duration:.93s;animation-delay:-.76s;animation-duration:.93s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.76s;-webkit-animation-duration:1.24s;animation-delay:-.76s;animation-duration:1.24s}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%]{height:18px;width:18px}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin:1px;width:4px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%]{height:72px;width:72px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin:4px;width:16px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%]{height:108px;width:108px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin:6px;width:24px}@-webkit-keyframes ball-grid-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}to{opacity:1;transform:scale(1)}}@keyframes ball-grid-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}to{opacity:1;transform:scale(1)}}.la-ball-newton-cradle[_ngcontent-%COMP%], .la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-newton-cradle[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-newton-cradle.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-newton-cradle[_ngcontent-%COMP%]{height:10px;width:40px}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;height:10px;width:10px}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-newton-cradle-left 1s ease-out 0s infinite;animation:ball-newton-cradle-left 1s ease-out 0s infinite;transform:translateX(0)}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-newton-cradle-right 1s ease-out 0s infinite;animation:ball-newton-cradle-right 1s ease-out 0s infinite;transform:translateX(0)}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%]{height:4px;width:20px}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;width:4px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%]{height:20px;width:80px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;width:20px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%]{height:30px;width:120px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;width:30px}@-webkit-keyframes ball-newton-cradle-left{25%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;transform:translateX(-100%)}50%{transform:translateX(0)}}@keyframes ball-newton-cradle-left{25%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;transform:translateX(-100%)}50%{transform:translateX(0)}}@-webkit-keyframes ball-newton-cradle-right{50%{transform:translateX(0)}75%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;transform:translateX(100%)}to{transform:translateX(0)}}@keyframes ball-newton-cradle-right{50%{transform:translateX(0)}75%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;transform:translateX(100%)}to{transform:translateX(0)}}.la-ball-pulse-rise[_ngcontent-%COMP%], .la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-pulse-rise[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-pulse-rise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-pulse-rise[_ngcontent-%COMP%]{height:14px;width:70px}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-pulse-rise-even 1s cubic-bezier(.15,.36,.9,.6) 0s infinite;animation:ball-pulse-rise-even 1s cubic-bezier(.15,.36,.9,.6) 0s infinite;border-radius:100%;height:10px;margin:2px;width:10px}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%]{height:6px;width:34px}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin:1px;width:4px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%]{height:28px;width:140px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin:4px;width:20px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%]{height:42px;width:210px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin:6px;width:30px}@-webkit-keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}to{opacity:1;transform:translateY(0);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}to{opacity:1;transform:translateY(0);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}to{opacity:.35;transform:translateY(0);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}to{opacity:.35;transform:translateY(0);transform:scale(.75)}}.la-ball-pulse-sync[_ngcontent-%COMP%], .la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-pulse-sync[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-pulse-sync.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-pulse-sync[_ngcontent-%COMP%]{height:18px;width:54px}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-pulse-sync .6s ease-in-out infinite;animation:ball-pulse-sync .6s ease-in-out infinite;border-radius:100%;height:10px;margin:4px;width:10px}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.14s;animation-delay:-.14s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.07s;animation-delay:-.07s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%]{height:8px;width:26px}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin:2px;width:4px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%]{height:36px;width:108px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin:8px;width:20px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%]{height:54px;width:162px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin:12px;width:30px}@-webkit-keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}to{transform:translateY(0)}}.la-ball-pulse[_ngcontent-%COMP%], .la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-pulse[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-pulse[_ngcontent-%COMP%]{height:18px;width:54px}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-pulse 1s ease infinite;animation:ball-pulse 1s ease infinite;border-radius:100%;height:10px;margin:4px;width:10px}.la-ball-pulse.la-sm[_ngcontent-%COMP%]{height:8px;width:26px}.la-ball-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin:2px;width:4px}.la-ball-pulse.la-2x[_ngcontent-%COMP%]{height:36px;width:108px}.la-ball-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin:8px;width:20px}.la-ball-pulse.la-3x[_ngcontent-%COMP%]{height:54px;width:162px}.la-ball-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin:12px;width:30px}@-webkit-keyframes ball-pulse{0%,60%,to{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}@keyframes ball-pulse{0%,60%,to{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-rotate[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:10px;width:10px}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-rotate-animation 1s cubic-bezier(.7,-.13,.22,.86) infinite;animation:ball-rotate-animation 1s cubic-bezier(.7,-.13,.22,.86) infinite;border-radius:100%}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{background:currentColor;border-radius:inherit;content:"";height:inherit;margin:inherit;opacity:.8;position:absolute;width:inherit}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{left:-150%;top:0}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{left:150%;top:0}.la-ball-rotate.la-sm[_ngcontent-%COMP%], .la-ball-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;width:4px}.la-ball-rotate.la-2x[_ngcontent-%COMP%], .la-ball-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;width:20px}.la-ball-rotate.la-3x[_ngcontent-%COMP%], .la-ball-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;width:30px}@-webkit-keyframes ball-rotate-animation{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}@keyframes ball-rotate-animation{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.la-ball-running-dots[_ngcontent-%COMP%], .la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-running-dots[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-running-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-running-dots[_ngcontent-%COMP%]{height:10px;width:10px}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-running-dots-animate 2s linear infinite;animation:ball-running-dots-animate 2s linear infinite;border-radius:100%;height:10px;margin-left:-25px;position:absolute;width:10px}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s;animation-delay:0s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.6s;animation-delay:-1.6s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-2.4s;animation-delay:-2.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2.8s;animation-delay:-2.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-3.2s;animation-delay:-3.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-3.6s;animation-delay:-3.6s}.la-ball-running-dots.la-sm[_ngcontent-%COMP%]{height:4px;width:4px}.la-ball-running-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-12px;width:4px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%]{height:20px;width:20px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin-left:-50px;width:20px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%]{height:30px;width:30px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin-left:-75px;width:30px}@-webkit-keyframes ball-running-dots-animate{0%,to{height:100%;transform:translateY(0) translateX(500%);width:100%}80%{transform:translateY(0) translateX(0)}85%{height:100%;transform:translateY(-125%) translateX(0);width:100%}90%{height:75%;width:200%}95%{height:100%;transform:translateY(-100%) translateX(500%);width:100%}}@keyframes ball-running-dots-animate{0%,to{height:100%;transform:translateY(0) translateX(500%);width:100%}80%{transform:translateY(0) translateX(0)}85%{height:100%;transform:translateY(-125%) translateX(0);width:100%}90%{height:75%;width:200%}95%{height:100%;transform:translateY(-100%) translateX(500%);width:100%}}.la-ball-scale-multiple[_ngcontent-%COMP%], .la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-scale-multiple[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-scale-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-scale-multiple[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-scale-multiple 1s linear 0s infinite;animation:ball-scale-multiple 1s linear 0s infinite;border-radius:100%;height:32px;left:0;opacity:0;position:absolute;top:0;width:32px}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}.la-ball-scale-multiple.la-sm[_ngcontent-%COMP%], .la-ball-scale-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-scale-multiple.la-2x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-scale-multiple.la-3x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;width:96px}@-webkit-keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}to{opacity:0;transform:scale(1)}}@keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}to{opacity:0;transform:scale(1)}}.la-ball-scale-pulse[_ngcontent-%COMP%], .la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-scale-pulse[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-scale-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-scale-pulse[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-scale-pulse 2s ease-in-out infinite;animation:ball-scale-pulse 2s ease-in-out infinite;border-radius:100%;height:32px;left:0;opacity:.5;position:absolute;top:0;width:32px}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-scale-pulse.la-sm[_ngcontent-%COMP%], .la-ball-scale-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-scale-pulse.la-2x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-scale-pulse.la-3x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;width:96px}@-webkit-keyframes ball-scale-pulse{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-scale-pulse{0%,to{transform:scale(0)}50%{transform:scale(1)}}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%], .la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-scale-ripple-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-scale-ripple-multiple 1.25s cubic-bezier(.21,.53,.56,.8) 0s infinite;animation:ball-scale-ripple-multiple 1.25s cubic-bezier(.21,.53,.56,.8) 0s infinite;background:transparent;border-radius:100%;border-width:2px;height:32px;left:0;opacity:0;position:absolute;top:0;width:32px}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s;animation-delay:0s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.5s;animation-delay:.5s}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px;height:16px;width:16px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px;height:64px;width:64px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px;height:96px;width:96px}@-webkit-keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}.la-ball-scale-ripple[_ngcontent-%COMP%], .la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-scale-ripple[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-scale-ripple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-scale-ripple[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-scale-ripple 1s cubic-bezier(.21,.53,.56,.8) 0s infinite;animation:ball-scale-ripple 1s cubic-bezier(.21,.53,.56,.8) 0s infinite;background:transparent;border-radius:100%;border-width:2px;height:32px;opacity:0;width:32px}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px;height:16px;width:16px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px;height:64px;width:64px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px;height:96px;width:96px}@-webkit-keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}to{opacity:0}
1}@keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}to{opacity:0}}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-scale[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-scale 1s ease-in-out 0s infinite;animation:ball-scale 1s ease-in-out 0s infinite;border-radius:100%;opacity:0}.la-ball-scale.la-sm[_ngcontent-%COMP%], .la-ball-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-scale.la-2x[_ngcontent-%COMP%], .la-ball-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-scale.la-3x[_ngcontent-%COMP%], .la-ball-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;width:96px}@-webkit-keyframes ball-scale{0%{opacity:1;transform:scale(0)}to{opacity:0;transform:scale(1)}}@keyframes ball-scale{0%{opacity:1;transform:scale(0)}to{opacity:0;transform:scale(1)}}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{-webkit-animation:ball-spin-clockwise-fade-rotating-rotate 6s linear infinite;animation:ball-spin-clockwise-fade-rotating-rotate 6s linear infinite;height:32px;width:32px}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-spin-clockwise-fade-rotating 1s linear infinite;animation:ball-spin-clockwise-fade-rotating 1s linear infinite;border-radius:100%;height:8px;left:50%;margin-left:-4px;margin-top:-4px;position:absolute;top:50%;width:8px}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.875s;animation-delay:-.875s;left:50%;top:5%}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.75s;animation-delay:-.75s;left:81.8198051534%;top:18.1801948466%}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.625s;animation-delay:-.625s;left:95%;top:50%}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.5s;animation-delay:-.5s;left:81.8198051534%;top:81.8198051534%}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.375s;animation-delay:-.375s;left:50.0000000005%;top:94.9999999966%}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.25s;animation-delay:-.25s;left:18.1801949248%;top:81.8198046966%}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.125s;animation-delay:-.125s;left:5.0000051215%;top:49.9999750815%}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:0s;animation-delay:0s;left:18.1803700518%;top:18.179464974%}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin-left:-8px;margin-top:-8px;width:16px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}@-webkit-keyframes ball-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@keyframes ball-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@-webkit-keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-spin-clockwise-fade 1s linear infinite;animation:ball-spin-clockwise-fade 1s linear infinite;border-radius:100%;height:8px;left:50%;margin-left:-4px;margin-top:-4px;position:absolute;top:50%;width:8px}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.875s;animation-delay:-.875s;left:50%;top:5%}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.75s;animation-delay:-.75s;left:81.8198051534%;top:18.1801948466%}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.625s;animation-delay:-.625s;left:95%;top:50%}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.5s;animation-delay:-.5s;left:81.8198051534%;top:81.8198051534%}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.375s;animation-delay:-.375s;left:50.0000000005%;top:94.9999999966%}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.25s;animation-delay:-.25s;left:18.1801949248%;top:81.8198046966%}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.125s;animation-delay:-.125s;left:5.0000051215%;top:49.9999750815%}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:0s;animation-delay:0s;left:18.1803700518%;top:18.179464974%}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin-left:-8px;margin-top:-8px;width:16px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}@-webkit-keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise[_ngcontent-%COMP%], .la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-spin-clockwise[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-spin-clockwise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-spin-clockwise[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-spin-clockwise 1s ease-in-out infinite;animation:ball-spin-clockwise 1s ease-in-out infinite;border-radius:100%;height:8px;left:50%;margin-left:-4px;margin-top:-4px;position:absolute;top:50%;width:8px}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.875s;animation-delay:-.875s;left:50%;top:5%}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.75s;animation-delay:-.75s;left:81.8198051534%;top:18.1801948466%}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.625s;animation-delay:-.625s;left:95%;top:50%}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.5s;animation-delay:-.5s;left:81.8198051534%;top:81.8198051534%}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.375s;animation-delay:-.375s;left:50.0000000005%;top:94.9999999966%}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.25s;animation-delay:-.25s;left:18.1801949248%;top:81.8198046966%}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.125s;animation-delay:-.125s;left:5.0000051215%;top:49.9999750815%}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:0s;animation-delay:0s;left:18.1803700518%;top:18.179464974%}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin-left:-8px;margin-top:-8px;width:16px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}@-webkit-keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-spin-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{-webkit-animation:ball-spin-fade-rotate 6s linear infinite;animation:ball-spin-fade-rotate 6s linear infinite;height:32px;width:32px}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-spin-fade 1s linear infinite;animation:ball-spin-fade 1s linear infinite;border-radius:100%;height:8px;left:50%;margin-left:-4px;margin-top:-4px;position:absolute;top:50%;width:8px}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.125s;animation-delay:-1.125s;left:50%;top:5%}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.25s;animation-delay:-1.25s;left:81.8198051534%;top:18.1801948466%}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.375s;animation-delay:-1.375s;left:95%;top:50%}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s;animation-delay:-1.5s;left:81.8198051534%;top:81.8198051534%}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.625s;animation-delay:-1.625s;left:50.0000000005%;top:94.9999999966%}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-1.75s;animation-delay:-1.75s;left:18.1801949248%;top:81.8198046966%}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-1.875s;animation-delay:-1.875s;left:5.0000051215%;top:49.9999750815%}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2s;animation-delay:-2s;left:18.1803700518%;top:18.179464974%}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin-left:-8px;margin-top:-8px;width:16px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}@-webkit-keyframes ball-spin-fade-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-fade-rotate{to{transform:rotate(1turn)}}.la-ball-spin-fade[_ngcontent-%COMP%], .la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-spin-fade[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-spin-fade[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-spin-fade 1s linear infinite;animation:ball-spin-fade 1s linear infinite;border-radius:100%;height:8px;left:50%;margin-left:-4px;margin-top:-4px;position:absolute;top:50%;width:8px}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.125s;animation-delay:-1.125s;left:50%;top:5%}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.25s;animation-delay:-1.25s;left:81.8198051534%;top:18.1801948466%}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.375s;animation-delay:-1.375s;left:95%;top:50%}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s;animation-delay:-1.5s;left:81.8198051534%;top:81.8198051534%}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.
1625s;animation-delay:-1.625s;left:50.0000000005%;top:94.9999999966%}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-1.75s;animation-delay:-1.75s;left:18.1801949248%;top:81.8198046966%}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-1.875s;animation-delay:-1.875s;left:5.0000051215%;top:49.9999750815%}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2s;animation-delay:-2s;left:18.1803700518%;top:18.179464974%}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin-left:-8px;margin-top:-8px;width:16px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}@-webkit-keyframes ball-spin-fade{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}@keyframes ball-spin-fade{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}.la-ball-spin-rotate[_ngcontent-%COMP%], .la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-spin-rotate[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-spin-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-spin-rotate[_ngcontent-%COMP%]{-webkit-animation:ball-spin-rotate 2s linear infinite;animation:ball-spin-rotate 2s linear infinite;height:32px;width:32px}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-spin-bounce 2s ease-in-out infinite;animation:ball-spin-bounce 2s ease-in-out infinite;border-radius:100%;height:60%;position:absolute;top:0;width:60%}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-1s;animation-delay:-1s;bottom:0;top:auto}.la-ball-spin-rotate.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-spin-rotate.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-spin-rotate.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}@-webkit-keyframes ball-spin-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes ball-spin-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-spin-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}.la-ball-spin[_ngcontent-%COMP%], .la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-spin[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-spin[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-spin 1s ease-in-out infinite;animation:ball-spin 1s ease-in-out infinite;border-radius:100%;height:8px;left:50%;margin-left:-4px;margin-top:-4px;position:absolute;top:50%;width:8px}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.125s;animation-delay:-1.125s;left:50%;top:5%}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.25s;animation-delay:-1.25s;left:81.8198051534%;top:18.1801948466%}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.375s;animation-delay:-1.375s;left:95%;top:50%}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s;animation-delay:-1.5s;left:81.8198051534%;top:81.8198051534%}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.
1625s;animation-delay:-1.625s;left:50.0000000005%;top:94.9999999966%}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-1.75s;animation-delay:-1.75s;left:18.1801949248%;top:81.8198046966%}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-1.875s;animation-delay:-1.875s;left:5.0000051215%;top:49.9999750815%}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2s;animation-delay:-2s;left:18.1803700518%;top:18.179464974%}.la-ball-spin.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-spin.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin-left:-8px;margin-top:-8px;width:16px}.la-ball-spin.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}@-webkit-keyframes ball-spin{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-square-clockwise-spin[_ngcontent-%COMP%], .la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-square-clockwise-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{height:26px;width:26px}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-square-clockwise-spin 1s ease-in-out infinite;animation:ball-square-clockwise-spin 1s ease-in-out infinite;border-radius:100%;height:12px;left:50%;margin-left:-6px;margin-top:-6px;position:absolute;top:50%;width:12px}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.875s;animation-delay:-.875s;left:0;top:0}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.75s;animation-delay:-.75s;left:50%;top:0}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.625s;animation-delay:-.625s;left:100%;top:0}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.5s;animation-delay:-.5s;left:100%;top:50%}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.375s;animation-delay:-.375s;left:100%;top:100%}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.25s;animation-delay:-.25s;left:50%;top:100%}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.125s;animation-delay:-.125s;left:0;top:100%}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:0s;animation-delay:0s;left:0;top:50%}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%]{height:12px;width:12px}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:6px;margin-left:-3px;margin-top:-3px;width:6px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%]{height:52px;width:52px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%]{height:78px;width:78px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:36px;margin-left:-18px;margin-top:-18px;width:36px}@-webkit-keyframes ball-square-clockwise-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-clockwise-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-square-spin[_ngcontent-%COMP%], .la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-square-spin[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-square-spin[_ngcontent-%COMP%]{height:26px;width:26px}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:ball-square-spin 1s ease-in-out infinite;animation:ball-square-spin 1s ease-in-out infinite;border-radius:100%;height:12px;left:50%;margin-left:-6px;margin-top:-6px;position:absolute;top:50%;width:12px}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.125s;animation-delay:-1.125s;left:0;top:0}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.25s;animation-delay:-1.25s;left:50%;top:0}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.375s;animation-delay:-1.375s;left:100%;top:0}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s;animation-delay:-1.5s;left:100%;top:50%}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.625s;animation-delay:-1.625s;left:100%;top:100%}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-1.75s;animation-delay:-1.75s;left:50%;top:100%}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-1.875s;animation-delay:-1.875s;left:0;top:100%}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2s;animation-delay:-2s;left:0;top:50%}.la-ball-square-spin.la-sm[_ngcontent-%COMP%]{height:12px;width:12px}.la-ball-square-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:6px;margin-left:-3px;margin-top:-3px;width:6px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%]{height:52px;width:52px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;margin-left:-12px;margin-top:-12px;width:24px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%]{height:78px;width:78px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:36px;margin-left:-18px;margin-top:-18px;width:36px}@-webkit-keyframes ball-square-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-triangle-path[_ngcontent-%COMP%], .la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-triangle-path[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-triangle-path.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-triangle-path[_ngcontent-%COMP%]{height:32px;width:32px}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;height:10px;left:0;position:absolute;top:0;width:10px}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-triangle-path-ball-one 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-one 2s ease-in-out 0s infinite}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:ball-triangle-path-ball-two 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-two 2s ease-in-out 0s infinite}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation:ball-triangle-path-ball-tree 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-tree 2s ease-in-out 0s infinite}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;width:4px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;width:20px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;width:30px}@-webkit-keyframes ball-triangle-path-ball-one{0%{transform:translateY(220%)}17%{opacity:.25}33%{opacity:1;transform:translate(110%)}50%{opacity:.25}66%{opacity:1;transform:translate(220%,220%)}83%{opacity:.25}to{opacity:1;transform:translateY(220%)}}@keyframes ball-triangle-path-ball-one{0%{transform:translateY(220%)}17%{opacity:.25}33%{opacity:1;transform:translate(110%)}50%{opacity:.25}66%{opacity:1;transform:translate(220%,220%)}83%{opacity:.25}to{opacity:1;transform:translateY(220%)}}@-webkit-keyframes ball-triangle-path-ball-two{0%{transform:translate(110%)}17%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}50%{opacity:.25}66%{opacity:1;transform:translateY(220%)}83%{opacity:.25}to{opacity:1;transform:translate(110%)}}@keyframes ball-triangle-path-ball-two{0%{transform:translate(110%)}17%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}50%{opacity:.25}66%{opacity:1;transform:translateY(220%)}83%{opacity:.25}to{opacity:1;transform:translate(110%)}}@-webkit-keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%{opacity:.25}33%{opacity:1;transform:translateY(220%)}50%{opacity:.25}66%{opacity:1;transform:translate(110%)}83%{opacity:.25}to{opacity:1;transform:translate(220%,220%)}}@keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%{opacity:.25}33%{opacity:1;transform:translateY(220%)}50%{opacity:.25}66%{opacity:1;transform:translate(110%)}83%{opacity:.25}to{opacity:1;transform:translate(220%,220%)}}.la-ball-zig-zag-deflect[_ngcontent-%COMP%], .la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-zig-zag-deflect.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{height:32px;position:relative;width:32px}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;height:10px;left:50%;margin-left:-5px;margin-top:-5px;position:absolute;top:50%;width:10px}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-zig-deflect 1.5s linear 0s infinite;animation:ball-zig-deflect 1.5s linear 0s infinite}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-zag-deflect 1.5s linear 0s infinite;animation:ball-zag-deflect 1.5s linear 0s infinite}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin-left:-10px;margin-top:-10px;width:20px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin-left:-15px;margin-top:-15px;width:30px}@-webkit-keyframes ball-zig-deflect{17%{transform:translate(-80%,-160%)}34%{transform:translate(80%,-160%)}50%{transform:translate(0)}67%{transform:translate(80%,-160%)}84%{transform:translate(-80%,-160%)}to{transform:translate(0)}}@keyframes ball-zig-deflect{17%{transform:translate(-80%,-160%)}34%{transform:translate(80%,-160%)}50%{transform:translate(0)}67%{transform:translate(80%,-160%)}84%{transform:translate(-80%,-160%)}to{transform:translate(0)}}@-webkit-keyframes ball-zag-deflect{17%{transform:translate(80%,160%)}34%{transform:translate(-80%,160%)}50%{transform:translate(0)}67%{transform:translate(-80%,160%)}84%{transform:translate(80%,160%)}to{transform:translate(0)}}@keyframes ball-zag-deflect{17%{transform:translate(80%,160%)}34%{transform:translate(-80%,160%)}50%{transform:translate(0)}67%{transform:translate(-80%,160%)}84%{transform:translate(80%,160%)}to{transform:translate(0)}}.la-ball-zig-zag[_ngcontent-%COMP%], .la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-ball-zig-zag[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-ball-zig-zag.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-ball-zig-zag[_ngcontent-%COMP%]{height:32px;position:relative;width:32px}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;height:10px;left:50%;margin-left:-5px;margin-top:-5px;position:absolute;top:50%;width:10px}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-zig-effect .7s linear 0s infinite;animation:ball-zig-effect .7s linear 0s infinite}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-zag-effect .7s linear 0s infinite;animation:ball-zag-effect .7s linear 0s infinite}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:-2px;margin-top:-2px;width:4px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin-left:-10px;margin-top:-10px;width:20px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin-left:-15px;margin-top:-15px;width:30px}@-webkit-keyframes ball-zig-effect{0%{transform:translate(0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}to{transform:translate(0)}}@keyframes ball-zig-effect{0%{transform:translate(0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}to{transform:translate(0)}}@-webkit-keyframes ball-zag-effect{0%{transform:translate(0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}to{transform:translate(0)}}@keyframes ball-zag-effect{0%{transform:translate(0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}to{transform:translate(0)}}
1.la-cog[_ngcontent-%COMP%], .la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-cog[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-cog.la-dark[_ngcontent-%COMP%]{color:#333}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-cog[_ngcontent-%COMP%]{height:31px;width:31px}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:cog-rotate 4s linear infinite;animation:cog-rotate 4s linear infinite;background-color:transparent;border-radius:100%;border-style:dashed;border-width:2px;height:100%;width:100%}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border:2px solid;border-radius:100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.la-cog.la-sm[_ngcontent-%COMP%]{height:15px;width:15px}.la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:1px}.la-cog.la-2x[_ngcontent-%COMP%]{height:61px;width:61px}.la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:4px}.la-cog.la-3x[_ngcontent-%COMP%]{height:91px;width:91px}.la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:6px}@-webkit-keyframes cog-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes cog-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.la-cube-transition[_ngcontent-%COMP%], .la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-cube-transition[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-cube-transition.la-dark[_ngcontent-%COMP%]{color:#333}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-cube-transition[_ngcontent-%COMP%]{height:32px;width:32px}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:cube-transition 1.6s ease-in-out 0s infinite;animation:cube-transition 1.6s ease-in-out 0s infinite;border-radius:0;height:14px;left:0;margin-left:-7px;margin-top:-7px;position:absolute;top:0;width:14px}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-cube-transition.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-cube-transition.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:6px;margin-left:-3px;margin-top:-3px;width:6px}.la-cube-transition.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-cube-transition.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:28px;margin-left:-14px;margin-top:-14px;width:28px}.la-cube-transition.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-cube-transition.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:42px;margin-left:-21px;margin-top:-21px;width:42px}@-webkit-keyframes cube-transition{25%{left:100%;top:0;transform:scale(.5) rotate(-90deg)}50%{left:100%;top:100%;transform:scale(1) rotate(-180deg)}75%{left:0;top:100%;transform:scale(.5) rotate(-270deg)}to{left:0;top:0;transform:scale(1) rotate(-1turn)}}@keyframes cube-transition{25%{left:100%;top:0;transform:scale(.5) rotate(-90deg)}50%{left:100%;top:100%;transform:scale(1) rotate(-180deg)}75%{left:0;top:100%;transform:scale(.5) rotate(-270deg)}to{left:0;top:0;transform:scale(1) rotate(-1turn)}}.la-fire[_ngcontent-%COMP%], .la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-fire[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-fire.la-dark[_ngcontent-%COMP%]{color:#333}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-fire[_ngcontent-%COMP%]{height:32px;width:32px}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:fire-diamonds 1.5s linear infinite;animation:fire-diamonds 1.5s linear infinite;border-radius:0;border-radius:2px;bottom:0;height:12px;left:50%;position:absolute;transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);width:12px}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.85s;animation-delay:-.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.85s;animation-delay:-1.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-2.85s;animation-delay:-2.85s}.la-fire.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-fire.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:6px;width:6px}.la-fire.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-fire.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;width:24px}.la-fire.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-fire.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:36px;width:36px}@-webkit-keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}to{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}@keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}to{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}.la-line-scale-party[_ngcontent-%COMP%], .la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-scale-party[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-scale-party.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-line-scale-party[_ngcontent-%COMP%]{height:32px;width:40px}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation-iteration-count:infinite;-webkit-animation-name:line-scale-party;animation-iteration-count:infinite;animation-name:line-scale-party;border-radius:0;height:32px;margin:0 2px;width:4px}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.23s;-webkit-animation-duration:.43s;animation-delay:-.23s;animation-duration:.43s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.32s;-webkit-animation-duration:.62s;animation-delay:-.32s;animation-duration:.62s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.44s;-webkit-animation-duration:.43s;animation-delay:-.44s;animation-duration:.43s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.31s;-webkit-animation-duration:.8s;animation-delay:-.31s;animation-duration:.8s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.24s;-webkit-animation-duration:.74s;animation-delay:-.24s;animation-duration:.74s}.la-line-scale-party.la-sm[_ngcontent-%COMP%]{height:16px;width:20px}.la-line-scale-party.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin:0 1px;width:2px}.la-line-scale-party.la-2x[_ngcontent-%COMP%]{height:64px;width:80px}.la-line-scale-party.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;margin:0 4px;width:8px}.la-line-scale-party.la-3x[_ngcontent-%COMP%]{height:96px;width:120px}.la-line-scale-party.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;margin:0 6px;width:12px}@-webkit-keyframes line-scale-party{0%{transform:scaleY(1)}50%{transform:scaleY(.3)}to{transform:scaleY(1)}}@keyframes line-scale-party{0%{transform:scaleY(1)}50%{transform:scaleY(.3)}to{transform:scaleY(1)}}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%], .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-scale-pulse-out-rapid.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{height:32px;width:40px}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:line-scale-pulse-out-rapid .9s cubic-bezier(.11,.49,.38,.78) infinite;animation:line-scale-pulse-out-rapid .9s cubic-bezier(.11,.49,.38,.78) infinite;border-radius:0;height:32px;margin:0 2px;width:4px}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.65s;animation-delay:-.65s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%]{height:16px;width:20px}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin:0 1px;width:2px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%]{height:64px;width:80px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;margin:0 4px;width:8px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%]{height:96px;width:120px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;margin:0 6px;width:12px}@-webkit-keyframes line-scale-pulse-out-rapid{0%{transform:scaley(1)}80%{transform:scaley(.3)}90%{transform:scaley(1)}}@keyframes line-scale-pulse-out-rapid{0%{transform:scaley(1)}80%{transform:scaley(.3)}90%{transform:scaley(1)}}.la-line-scale-pulse-out[_ngcontent-%COMP%], .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-scale-pulse-out[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-scale-pulse-out.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-line-scale-pulse-out[_ngcontent-%COMP%]{height:32px;width:40px}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:line-scale-pulse-out .9s cubic-bezier(.85,.25,.37,.85) infinite;animation:line-scale-pulse-out .9s cubic-bezier(.85,.25,.37,.85) infinite;border-radius:0;height:32px;margin:0 2px;width:4px}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.7s;animation-delay:-.7s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%]{height:16px;width:20px}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin:0 1px;width:2px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%]{height:64px;width:80px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;margin:0 4px;width:8px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%]{height:96px;width:120px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;margin:0 6px;width:12px}@-webkit-keyframes line-scale-pulse-out{0%{transform:scaley(1)}50%{transform:scaley(.3)}to{transform:scaley(1)}}@keyframes line-scale-pulse-out{0%{transform:scaley(1)}50%{transform:scaley(.3)}to{transform:scaley(1)}}.la-line-scale[_ngcontent-%COMP%], .la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-scale[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-line-scale[_ngcontent-%COMP%]{height:32px;width:40px}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:line-scale 1.2s ease infinite;animation:line-scale 1.2s ease infinite;border-radius:0;height:32px;margin:0 2px;width:4px}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s;animation-delay:-1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-line-scale.la-sm[_ngcontent-%COMP%]{height:16px;width:20px}.la-line-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;margin:0 1px;width:2px}.la-line-scale.la-2x[_ngcontent-%COMP%]{height:64px;width:80px}.la-line-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;margin:0 4px;width:8px}.la-line-scale.la-3x[_ngcontent-%COMP%]{height:96px;width:120px}.la-line-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;margin:0 6px;width:12px}@-webkit-keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}@keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{-webkit-animation:line-spin-clockwise-fade-rotating-rotate 6s linear infinite;animation:line-spin-clockwise-fade-rotating-rotate 6s linear infinite;height:32px;width:32px}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:line-spin-clockwise-fade-rotating 1s ease-in-out infinite;animation:line-spin-clockwise-fade-rotating 1s ease-in-out infinite;border-radius:0;height:10px;margin:-5px 2px 2px -1px;position:absolute;width:2px}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.875s;animation-delay:-.875s;left:50%;top:15%;transform:rotate(0deg)}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.75s;animation-delay:-.75s;left:74.7487373415%;top:25.2512626585%;transform:rotate(45deg)}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.625s;animation-delay:-.625s;left:85%;top:50%;transform:rotate(90deg)}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.5s;animation-delay:-.5s;left:74.7487373415%;top:74.7487373415%;transform:rotate(135deg)}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.375s;animation-delay:-.375s;left:50.0000000004%;top:84.9999999974%;transform:rotate(180deg)}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.25s;animation-delay:-.25s;left:25.2512627193%;top:74.7487369862%;transform:rotate(225deg)}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.125s;animation-delay:-.125s;left:15.0000039834%;top:49.9999806189%;transform:rotate(270deg)}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:0s;animation-delay:0s;left:25.2513989292%;top:25.2506949798%;transform:rotate(315deg)}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:0;margin-top:-2px;width:1px}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin-left:-2px;margin-top:-10px;width:4px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin-left:-3px;margin-top:-15px;width:6px}@-webkit-keyframes line-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@keyframes line-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@-webkit-keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}to{opacity:1}}.la-line-spin-clockwise-fade[_ngcontent-%COMP%], .la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{height:32px;width:32px}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:line-spin-clockwise-fade 1s ease-in-out infinite;animation:line-spin-clockwise-fade 1s ease-in-out infinite;border-radius:0;height:10px;margin:-5px 2px 2px -1px;position:absolute;width:2px}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.875s;animation-delay:-.875s;left:50%;
1top:15%;transform:rotate(0deg)}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.75s;animation-delay:-.75s;left:74.7487373415%;top:25.2512626585%;transform:rotate(45deg)}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.625s;animation-delay:-.625s;left:85%;top:50%;transform:rotate(90deg)}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.5s;animation-delay:-.5s;left:74.7487373415%;top:74.7487373415%;transform:rotate(135deg)}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.375s;animation-delay:-.375s;left:50.0000000004%;top:84.9999999974%;transform:rotate(180deg)}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.25s;animation-delay:-.25s;left:25.2512627193%;top:74.7487369862%;transform:rotate(225deg)}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.125s;animation-delay:-.125s;left:15.0000039834%;top:49.9999806189%;transform:rotate(270deg)}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:0s;animation-delay:0s;left:25.2513989292%;top:25.2506949798%;transform:rotate(315deg)}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:0;margin-top:-2px;width:1px}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin-left:-2px;margin-top:-10px;width:4px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin-left:-3px;margin-top:-15px;width:6px}@-webkit-keyframes line-spin-clockwise-fade{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-clockwise-fade{50%{opacity:.2}to{opacity:1}}.la-line-spin-fade-rotating[_ngcontent-%COMP%], .la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{-webkit-animation:ball-spin-fade-rotating-rotate 6s linear infinite;animation:ball-spin-fade-rotating-rotate 6s linear infinite;height:32px;width:32px}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:line-spin-fade-rotating 1s ease-in-out infinite;animation:line-spin-fade-rotating 1s ease-in-out infinite;border-radius:0;height:10px;margin:-5px 2px 2px -1px;position:absolute;width:2px}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.125s;animation-delay:-1.125s;left:50%;top:15%;transform:rotate(0deg)}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.25s;animation-delay:-1.25s;left:74.7487373415%;top:25.2512626585%;transform:rotate(45deg)}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.375s;animation-delay:-1.375s;left:85%;top:50%;transform:rotate(90deg)}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s;animation-delay:-1.5s;left:74.7487373415%;top:74.7487373415%;transform:rotate(135deg)}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.625s;animation-delay:-1.625s;left:50.0000000004%;top:84.9999999974%;transform:rotate(180deg)}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-1.75s;animation-delay:-1.75s;left:25.2512627193%;top:74.7487369862%;transform:rotate(225deg)}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-1.875s;animation-delay:-1.875s;left:15.0000039834%;top:49.9999806189%;transform:rotate(270deg)}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2s;animation-delay:-2s;left:25.2513989292%;top:25.2506949798%;transform:rotate(315deg)}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:0;margin-top:-2px;width:1px}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin-left:-2px;margin-top:-10px;width:4px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin-left:-3px;margin-top:-15px;width:6px}@-webkit-keyframes ball-spin-fade-rotating-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-fade-rotating-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes line-spin-fade-rotating{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-fade-rotating{50%{opacity:.2}to{opacity:1}}.la-line-spin-fade[_ngcontent-%COMP%], .la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-line-spin-fade[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-line-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-line-spin-fade[_ngcontent-%COMP%]{height:32px;width:32px}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:line-spin-fade 1s ease-in-out infinite;animation:line-spin-fade 1s ease-in-out infinite;border-radius:0;height:10px;margin:-5px 2px 2px -1px;position:absolute;width:2px}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.125s;animation-delay:-1.125s;left:50%;top:15%;transform:rotate(0deg)}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.25s;animation-delay:-1.25s;left:74.7487373415%;top:25.2512626585%;transform:rotate(45deg)}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.375s;animation-delay:-1.375s;left:85%;top:50%;transform:rotate(90deg)}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s;animation-delay:-1.5s;left:74.7487373415%;top:74.7487373415%;transform:rotate(135deg)}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.625s;animation-delay:-1.625s;left:50.0000000004%;top:84.9999999974%;transform:rotate(180deg)}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-1.75s;animation-delay:-1.75s;left:25.2512627193%;top:74.7487369862%;transform:rotate(225deg)}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-1.875s;animation-delay:-1.875s;left:15.0000039834%;top:49.9999806189%;transform:rotate(270deg)}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2s;animation-delay:-2s;left:25.2513989292%;top:25.2506949798%;transform:rotate(315deg)}.la-line-spin-fade.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-line-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:4px;margin-left:0;margin-top:-2px;width:1px}.la-line-spin-fade.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-line-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:20px;margin-left:-2px;margin-top:-10px;width:4px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:30px;margin-left:-3px;margin-top:-15px;width:6px}@-webkit-keyframes line-spin-fade{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-fade{50%{opacity:.2}to{opacity:1}}.la-pacman[_ngcontent-%COMP%], .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-pacman[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-pacman.la-dark[_ngcontent-%COMP%]{color:#333}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-pacman[_ngcontent-%COMP%]{height:32px;width:32px}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:pacman-rotate-half-up .5s 0s infinite;animation:pacman-rotate-half-up .5s 0s infinite;background:transparent;border-radius:100%;border-right:solid transparent;border-style:solid;border-width:16px;height:0;position:absolute;width:0}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-name:pacman-rotate-half-down;animation-name:pacman-rotate-half-down;top:0}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation:pacman-balls 2s linear 0s infinite;animation:pacman-balls 2s linear 0s infinite;border-radius:100%;height:8px;left:200%;opacity:0;position:absolute;top:50%;width:8px}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.44s;animation-delay:-1.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.94s;animation-delay:-1.94s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2.44s;animation-delay:-2.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2.94s;animation-delay:-2.94s}.la-pacman.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:8px;position:absolute}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){height:4px;width:4px}.la-pacman.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:32px;position:absolute}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){height:16px;width:16px}.la-pacman.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:48px;position:absolute}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){height:24px;width:24px}@-webkit-keyframes pacman-rotate-half-up{0%,to{transform:rotate(270deg)}50%{transform:rotate(1turn)}}@keyframes pacman-rotate-half-up{0%,to{transform:rotate(270deg)}50%{transform:rotate(1turn)}}@-webkit-keyframes pacman-rotate-half-down{0%,to{transform:rotate(90deg)}50%{transform:rotate(0deg)}}@keyframes pacman-rotate-half-down{0%,to{transform:rotate(90deg)}50%{transform:rotate(0deg)}}@-webkit-keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}
1to{left:0;transform:translateY(-50%)}}@keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}to{left:0;transform:translateY(-50%)}}.la-square-jelly-box[_ngcontent-%COMP%], .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-square-jelly-box[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-square-jelly-box.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-square-jelly-box[_ngcontent-%COMP%]{height:32px;width:32px}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){left:0;position:absolute;width:100%}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:square-jelly-box-animate .6s linear -.1s infinite;animation:square-jelly-box-animate .6s linear -.1s infinite;border-radius:10%;height:100%;top:-25%;z-index:1}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:square-jelly-box-shadow .6s linear -.1s infinite;animation:square-jelly-box-shadow .6s linear -.1s infinite;background:#000;border-radius:50%;bottom:-9%;height:10%;
1opacity:.2}.la-square-jelly-box.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-square-jelly-box.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-square-jelly-box.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}@-webkit-keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scaleY(.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scaleY(.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@-webkit-keyframes square-jelly-box-shadow{50%{transform:scaleX(1.25)}}@keyframes square-jelly-box-shadow{50%{transform:scaleX(1.25)}}.la-square-loader[_ngcontent-%COMP%], .la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-square-loader[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-square-loader.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-square-loader[_ngcontent-%COMP%]{height:32px;width:32px}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:square-loader 2s ease infinite;animation:square-loader 2s ease infinite;background:transparent;border-radius:0;border-width:2px;height:100%;width:100%}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{-webkit-animation:square-loader-inner 2s ease-in infinite;animation:square-loader-inner 2s ease-in infinite;background-color:currentColor;content:"";display:inline-block;vertical-align:top;width:100%}.la-square-loader.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-square-loader.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-square-loader.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-square-loader.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-square-loader.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}.la-square-loader.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}@-webkit-keyframes square-loader{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@keyframes square-loader{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@-webkit-keyframes square-loader-inner{0%{height:0}25%{height:0}50%{height:100%}75%{height:100%}to{height:0}}@keyframes square-loader-inner{0%{height:0}25%{height:0}50%{height:100%}75%{height:100%}to{height:0}}.la-square-spin[_ngcontent-%COMP%], .la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-square-spin[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-square-spin[_ngcontent-%COMP%]{height:32px;width:32px}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:square-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;animation:square-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;border-radius:0;height:100%;width:100%}.la-square-spin.la-sm[_ngcontent-%COMP%]{height:16px;width:16px}.la-square-spin.la-2x[_ngcontent-%COMP%]{height:64px;width:64px}.la-square-spin.la-3x[_ngcontent-%COMP%]{height:96px;width:96px}@-webkit-keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}@keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-timer[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-timer.la-dark[_ngcontent-%COMP%]{color:#333}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;
1display:inline-block;float:none}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:32px;width:32px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background:transparent;border-radius:100%;border-width:2px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{-webkit-animation:timer-loader 1.25s linear infinite;-webkit-animation-delay:-625ms;animation:timer-loader 1.25s linear infinite;animation-delay:-625ms;background:currentColor;border-radius:2px;content:"";display:block;left:14px;margin-left:-1px;margin-top:-1px;position:absolute;top:14px;transform-origin:1px 1px 0;width:2px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:12px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{-webkit-animation-delay:-7.5s;-webkit-animation-duration:15s;animation-delay:-7.5s;animation-duration:15s;height:8px}.la-timer.la-sm[_ngcontent-%COMP%], .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:16px;width:16px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{border-radius:1px;left:7px;margin-left:-.5px;margin-top:-.5px;top:7px;transform-origin:.5px .5px 0;width:1px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:6px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:4px}.la-timer.la-2x[_ngcontent-%COMP%], .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:64px;width:64px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{border-radius:4px;left:28px;margin-left:-2px;margin-top:-2px;top:28px;transform-origin:2px 2px 0;width:4px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:24px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:16px}.la-timer.la-3x[_ngcontent-%COMP%], .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:96px;width:96px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{border-radius:6px;left:42px;margin-left:-3px;margin-top:-3px;top:42px;transform-origin:3px 3px 0;width:6px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:36px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:24px}@-webkit-keyframes timer-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes timer-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.la-triangle-skew-spin[_ngcontent-%COMP%], .la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-sizing:border-box;position:relative}.la-triangle-skew-spin[_ngcontent-%COMP%]{color:#fff;display:block;font-size:0}.la-triangle-skew-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;border:0 solid;display:inline-block;float:none}.la-triangle-skew-spin[_ngcontent-%COMP%]{height:16px;width:32px}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-animation:triangle-skew-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;animation:triangle-skew-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;background:transparent;border-color:currentcolor transparent;border-left:none;border-right:none;border-style:solid;border-width:0 16px 16px;height:0;width:0}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%]{height:8px;width:16px}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 8px 8px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%]{height:32px;width:64px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 32px 32px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%]{height:48px;width:96px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 48px 48px}@-webkit-keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}@keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}.overlay[_ngcontent-%COMP%]{height:100%;left:0;position:fixed;top:0;width:100%}.overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{left:50%;position:absolute;top:60%;transform:translate(-50%,-60%)}'],data:{animation:[Object(l.m)("fadeIn",[Object(l.j)("in",Object(l.k)({opacity:1})),Object(l.l)(":enter",[Object(l.k)({opacity:0}
1),Object(l.e)(300)]),Object(l.l)(":leave",Object(l.e)(200,Object(l.k)({opacity:0})))])]},changeDetection:0}),e})(),y=(()=>{class e{constructor(e){this._sanitizer=e}transform(e){if(e)return this._sanitizer.bypassSecurityTrustHtml(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](u.c))},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"safeHtml",type:e,pure:!0}),e})(),w=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[c.CommonModule]]}),e})()},K3mO:function(e,t,n){var i,r,o,s,a,l,c;e.exports=(c=n("Ib8C"),n("3y9D"),n("WYAk"),s=(r=(i=c).lib).WordArray,l=(a=i.algo).EvpKDF=(o=r.Base).extend({cfg:o.extend({keySize:4,hasher:a.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,i=this.cfg,r=i.hasher.create(),o=s.create(),a=o.words,l=i.keySize,c=i.iterations;a.length<l;){n&&r.update(n),n=r.update(e).finalize(t),r.reset();for(var u=1;u<c;u++)n=r.finalize(n),r.reset();o.concat(n)}return o.sigBytes=4*l,o}}),i.EvpKDF=function(e,t,n){return l.create(n).compute(e,t)},c.EvpKDF)},Kj3r:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("7o/Q"),r=n("D0XW");function o(e,t=r.a){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends i.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function l(e){e.debouncedNext()}},KmYQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},i.pad.ZeroPadding)},Kqap:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new o(e,t,n))}}class o{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))}}class s extends i.a{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}},KqfI:function(e,t,n){"use strict";function i(){}n.d(t,"a",(function(){return i}))},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("z+Ro"),r=n("yCtX"),o=n("jZKg");function s(...e){let t=e[e.length-1];return Object(i.a)(t)?(e.pop(),Object(o.a)(e,t)):Object(r.a)(e)}},Lhse:function(e,t,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return r}));const r=i()},MlIO:function(e,t,n){var i,r,o,s,a;e.exports=(i=n("Ib8C"),o=(r=i.lib).Base,s=r.WordArray,(a=i.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],i=0;i<t;i++){var r=e[i];n.push(r.high),n.push(r.low)}return s.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}}),i)},NFKh:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("MlIO"),n("F+F2"),n("qM6L"),n("ETIr"),n("wbyO"),n("cv67"),n("3y9D"),n("lPiR"),n("GRuw"),n("1uat"),n("uGsb"),n("5hvy"),n("ELcG"),n("WYAk"),n("e7zE"),n("K3mO"),n("OLod"),n("ALsQ"),n("9OqN"),n("qu8F"),n("S6kV"),n("gb/T"),n("qBft"),n("oRuE"),n("jO9C"),n("KmYQ"),n("uGxW"),n("bQjk"),n("wZgz"),n("pA7S"),n("w7YG"),n("E4JC"),n("PVpz"),n("r1uz"),i)},NJ4a:function(e,t,n){"use strict";function i(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return i}))},NXyV:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("Cfvw"),o=n("EY2u");function s(e){return new i.a(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(r.a)(n):Object(o.b)()).subscribe(t)})}}
vendor: 4,960 bytes, line 1
1,OLod:function(e,t,n){var i,r,o,s,a,l,c,u,h,d,p,f,m,g,b,_,v,y;e.exports=(i=n("Ib8C"),n("K3mO"),void(i.lib.Cipher||(r=i,o=r.lib,s=o.Base,a=o.WordArray,l=o.BufferedBlockAlgorithm,c=r.enc.Base64,u=r.algo.EvpKDF,h=o.Cipher=l.extend({cfg:s.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?y:_}return function(t){return{encrypt:function(n,i,r){return e(i).encrypt(t,n,i,r)},decrypt:function(n,i,r){return e(i).decrypt(t,n,i,r)}}}}()}),o.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),d=r.mode={},p=o.BlockCipherMode=s.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),f=d.CBC=function(){var e=p.extend();function t(e,t,n){var i,r=this._iv;r?(i=r,this._iv=void 0):i=this._prevBlock;for(var o=0;o<n;o++)e[t+o]^=i[o]}return e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize;t.call(this,e,n,r),i.encryptBlock(e,n),this._prevBlock=e.slice(n,n+r)}}),e.Decryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=e.slice(n,n+r);i.decryptBlock(e,n),t.call(this,e,n,r),this._prevBlock=o}}),e}(),m=(r.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,i=n-e.sigBytes%n,r=i<<24|i<<16|i<<8|i,o=[],s=0;s<i;s+=4)o.push(r);var l=a.create(o,i);e.concat(l)},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},o.BlockCipher=h.extend({cfg:h.cfg.extend({mode:f,padding:m}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,i=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=i.createEncryptor:(e=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(i,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),g=o.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),b=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?a.create([1398893684,1701076831]).concat(n).concat(t):t).toString(c)},parse:function(e){var t,n=c.parse(e),i=n.words;return 1398893684==i[0]&&1701076831==i[1]&&(t=a.create(i.slice(2,4)),i.splice(0,4),n.sigBytes-=16),g.create({ciphertext:n,salt:t})}},_=o.SerializableCipher=s.extend({cfg:s.extend({format:b}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var r=e.createEncryptor(n,i),o=r.finalize(t),s=r.cfg;return g.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,n,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(n,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(r.kdf={}).OpenSSL={execute:function(e,t,n,i,r){if(i||(i=a.random(8)),r)o=u.create({keySize:t+n,hasher:r}).compute(e,i);else var o=u.create({keySize:t+n}).compute(e,i);var s=a.create(o.words.slice(t),4*n);return o.sigBytes=4*t,g.create({key:o,iv:s,salt:i})}},y=o.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:v}),encrypt:function(e,t,n,i){var r=(i=this.cfg.extend(i)).kdf.execute(n,e.keySize,e.ivSize,i.salt,i.hasher);i.iv=r.iv;var o=_.encrypt.call(this,e,t,r.key,i);return o.mixIn(r),o},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var r=i.kdf.execute(n,e.keySize,e.ivSize,t.salt,i.hasher);return i.iv=r.iv,_.decrypt.call(this,e,t,r.key,i)}}))))},PVpz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],o=[],s=e.algo.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)a.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var o=t.words,s=o[0],l=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),h=c>>>16|4294901760&u,d=u<<16|65535&c;
1for(i[0]^=c,i[1]^=h,i[2]^=u,i[3]^=d,i[4]^=c,i[5]^=h,i[6]^=u,i[7]^=d,r=0;r<4;r++)a.call(this)}},_doProcessBlock:function(e,t){var i=this._X;a.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<r[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<r[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<r[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<r[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<r[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<r[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<r[6]>>>0?1:0)|0,this._b=t[7]>>>0<r[7]>>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],s=65535&i,a=i>>>16;o[n]=((s*s>>>17)+s*a>>>15)+a*a^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.RabbitLegacy=t._createHelper(s)}(),i.RabbitLegacy)},PqYM:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("D0XW"),o=n("Y7HM"),s=n("z+Ro");function a(e=0,t,n){let a=-1;return Object(o.a)(t)?a=Number(t)<1?1:Number(t):Object(s.a)(t)&&(n=t),Object(s.a)(n)||(n=r.a),new i.a(t=>{const i=Object(o.a)(e)?e:+e-n.now();return n.schedule(l,i,{index:0,period:a,subscriber:t})})}function l(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},QibW:function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return O}));var i=n("fXoL"),r=n("FKr1"),o=n("8LU1"),s=n("3Pt+"),a=n("R1ws"),l=n("u47x"),c=n("0EQZ");const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new i.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let f=0;const m={provide:s.n,useExisting:Object(i.forwardRef)(()=>v),multi:!0};class g{constructor(e,t){this.source=e,this.value=t}}const b=new i.InjectionToken("MatRadioGroup");let _=(()=>{class e{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+f++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.EventEmitter}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(o.b)(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=Object(o.b)(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(e=>{e.checked=this.value===e.value,e.checked&&(this._selected=e)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}
1_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),e})(),v=(()=>{class e extends _{}return e.\u0275fac=function(t){return y(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var r;1&e&&i["\u0275\u0275contentQuery"](n,S,!0),2&e&&i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t._radios=r)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i["\u0275\u0275ProvidersFeature"]([m,{provide:b,useExisting:e}]),i["\u0275\u0275InheritDefinitionFeature"]]}),e})();const y=i["\u0275\u0275getInheritedFactory"](v);class w{constructor(e){this._elementRef=e}}const C=Object(r.r)(Object(r.u)(w));let x=(()=>{class e extends C{constructor(e,t,n,r,s,a,l,c){super(t),this._changeDetector=n,this._focusMonitor=r,this._radioDispatcher=s,this._animationMode=a,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++f,this.id=this._uniqueId,this.change=new i.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,c&&(this.tabIndex=Object(o.e)(c,0)),this._removeUniqueSelectionListener=s.listen((e,t)=>{e!==this.id&&t===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=Object(o.b)(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(Object(o.b)(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=Object(o.b)(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return(this.id||this._uniqueId)+"-input"}focus(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new g(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputChange(e){e.stopPropagation();const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](_),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](l.h),i["\u0275\u0275directiveInject"](c.c),i["\u0275\u0275directiveInject"](String),i["\u0275\u0275directiveInject"](void 0),i["\u0275\u0275directiveInject"](String))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](u,!0),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t._inputElement=n.first)},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i["\u0275\u0275InheritDefinitionFeature"]]}),e})(),S=(()=>{class e extends x{constructor(e,t,n,i,r,o,s,a){super(e,t,n,i,r,o,s,a)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b,8),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](l.h),i["\u0275\u0275directiveInject"](c.c),i["\u0275\u0275directiveInject"](a.a,8),i["\u0275\u0275directiveInject"](p,8),i["\u0275\u0275injectAttribute"]("tabindex"))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("focus",(function(){return t._inputElement.nativeElement.focus()})),2&e&&(i["\u0275\u0275attribute"]("tabindex",-1)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i["\u0275\u0275classProp"]("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:d,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275elementStart"](0,"label",0,1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275element"](3,"div",3),i["\u0275\u0275element"](4,"div",4),i["\u0275\u0275elementStart"](5,"input",5,6),i["\u0275\u0275listener"]("change",(function(e){return t._onInputChange(e)}
1))("click",(function(e){return t._onInputClick(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",7),i["\u0275\u0275element"](8,"div",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",9),i["\u0275\u0275elementStart"](10,"span",10),i["\u0275\u0275text"](11,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275projection"](12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275reference"](1);i["\u0275\u0275attribute"]("for",t.inputId),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),i["\u0275\u0275attribute"]("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i["\u0275\u0275pureFunction0"](18,h)),i["\u0275\u0275advance"](2),i["\u0275\u0275classProp"]("mat-radio-label-before","before"==t.labelPosition)}},directives:[r.l],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e})(),O=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[r.m,r.h],r.h]}),e})()},Qu3c:function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return k}));var i=n("rDax"),r=n("u47x"),o=n("ofXK"),s=n("fXoL"),a=n("FKr1"),l=n("vxfF"),c=n("8LU1"),u=n("FtGj"),h=n("0MNC"),d=n("nLfN"),p=n("+rOU"),f=n("XNiG"),m=n("1G5W"),g=n("IzEk"),b=n("R0Ic"),_=n("cH1L");const v={tooltipState:Object(b.m)("state",[Object(b.j)("initial, void, hidden",Object(b.k)({opacity:0,transform:"scale(0)"})),Object(b.j)("visible",Object(b.k)({transform:"scale(1)"})),Object(b.l)("* => visible",Object(b.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(b.g)([Object(b.k)({opacity:0,transform:"scale(0)",offset:0}),Object(b.k)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(b.k)({opacity:1,transform:"scale(1)",offset:1})]))),Object(b.l)("* => hidden",Object(b.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(b.k)({opacity:0}
1)))])},y=Object(d.f)({passive:!0}),w=new s.InjectionToken("mat-tooltip-scroll-strategy"),C={provide:w,deps:[i.c],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},x=new s.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let S=(()=>{class e{constructor(e,t,n,i,r,o,s,a,l,c,h){this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=o,this._ariaDescriber=s,this._focusMonitor=a,this._dir=c,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new f.a,this._handleKeydown=e=>{this._isTooltipVisible()&&e.keyCode===u.f&&!Object(u.r)(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),r.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(c.b)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(m.a)(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([t,n])=>{e.removeEventListener(t,n,y)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new p.d(O,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(Object(m.a)(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();
1e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t||"below"==t?n={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={originX:"end",originY:"center"});const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t?n={overlayX:"center",overlayY:"bottom"}:"below"==t?n={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(g.a)(1),Object(m.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}
1])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([e,t])=>{this._elementRef.nativeElement.addEventListener(e,t,y)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](i.c),s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](l.b),s["\u0275\u0275directiveInject"](s.ViewContainerRef),s["\u0275\u0275directiveInject"](s.NgZone),s["\u0275\u0275directiveInject"](d.a),s["\u0275\u0275directiveInject"](r.c),s["\u0275\u0275directiveInject"](r.h),s["\u0275\u0275directiveInject"](w),s["\u0275\u0275directiveInject"](_.b,8),s["\u0275\u0275directiveInject"](x,8))},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),O=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](h.a))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&s["\u0275\u0275listener"]("click",(function(){return t._handleBodyInteraction()}),!1,s["\u0275\u0275resolveBody"]),2&e&&s["\u0275\u0275styleProp"]("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;1&e&&(s["\u0275\u0275elementStart"](0,"div",0),s["\u0275\u0275listener"]("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),s["\u0275\u0275pipe"](1,"async"),s["\u0275\u0275text"](2),s["\u0275\u0275elementEnd"]()),2&e&&(s["\u0275\u0275classProp"]("mat-tooltip-handset",null==(n=s["\u0275\u0275pipeBind1"](1,5,t._isHandset))?null:n.matches),s["\u0275\u0275property"]("ngClass",t.tooltipClass)("@state",t._visibility),s["\u0275\u0275advance"](2),s["\u0275\u0275textInterpolate"](t.message))},directives:[o.NgClass],pipes:[o.AsyncPipe],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[v.tooltipState]},changeDetection:0}),e})(),k=(()=>{class e{}return e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[C],imports:[[r.a,o.CommonModule,i.f,a.h],a.h,l.a]}),e})()},R0Ic:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1)),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return f})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return s})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return _}));class i{}class r{}const o="*";function s(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function d(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function p(e=null){return{type:9,options:e}}function f(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function m(e){Promise.resolve(null).then(e)}class g{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class b{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const r=this.players.length;0==r?m(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const _="!"},R1ws:function(e,t,n){"use strict";n.d(t,"a",(function(){return Tt})),n.d(t,"b",(function(){return At}));var i=n("fXoL"),r=n("jhN1"),o=n("R0Ic");function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(e){switch(e.length){case 0:return new o.d;case 1:return e[0];default:return new o.n(e)}}function l(e,t,n,i,r={},s={}){const a=[],l=[];let c=-1,u=null;
1if(i.forEach(e=>{const n=e.offset,i=n==c,h=i&&u||{};Object.keys(e).forEach(n=>{let i=n,l=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),l){case o.o:l=r[n];break;case o.a:l=s[n];break;default:l=t.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return l}function c(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&u(n,"start",e)));break;case"done":e.onDone(()=>i(n&&u(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&u(n,"destroy",e)))}}function u(e,t,n){const i=n.totalTime,r=h(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function h(e,t,n,i,r="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function d(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function p(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let f=(e,t)=>!1,m=(e,t)=>!1,g=(e,t,n)=>[];const b=s();(b||"undefined"!=typeof Element)&&(f=(e,t)=>e.contains(t),m=(()=>{if(b||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):m}})(),g=(e,t,n)=>{let i=[];if(n)i.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&i.push(n)}return i});let _=null,v=!1;function y(e){_||(_=("undefined"!=typeof document?document.body:null)||{},v=!!_.style&&"WebkitAppearance"in _.style);let t=!0;return _.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in _.style,!t&&v)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in _.style),t}const w=m,C=f,x=g;function S(e){const t={};return Object.keys(e).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let O=(()=>{class e{validateStyleProperty(e){return y(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return C(e,t)}query(e,t,n){return x(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,r,s=[],a){return new o.d(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),k=(()=>{class e{}return e.NOOP=new O,e})();const E="ng-enter",P="ng-leave",I="ng-trigger",T=".ng-trigger",M="ng-animating",A=".ng-animating";function D(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:j(parseFloat(t[1]),t[2])}function j(e,t){switch(t){case"s":return 1e3*e;default:return e}}function N(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,r=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=j(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(r=j(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else i=e;if(!n){let n=!1,o=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:r,easing:o}}(e,t,n)}function R(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function L(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else R(e,n);return n}function F(e,t,n){return n?t+":"+n+";":""}function V(e){let t="";for(let n=0;n<e.style.length;n++){const i=e.style.item(n);t+=F(0,i,e.style.getPropertyValue(i))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=F(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function B(e,t,n){e.style&&(Object.keys(t).forEach(i=>{const r=X(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),s()&&V(e))}function U(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=X(t);e.style[n]=""}),s()&&V(e))}function H(e){return Array.isArray(e)?1==e.length?e[0]:Object(o.i)(e):e}const z=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(e){let t=[];if("string"==typeof e){let n;for(;n=z.exec(e);)t.push(n[1]);z.lastIndex=0}return t}
1function q(e,t,n){const i=e.toString(),r=i.replace(z,(e,i)=>{let r=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?e:r}function W(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const K=/-+([a-z0-9])/g;function X(e){return e.replace(K,(...e)=>e[1].toUpperCase())}function $(e,t){return 0===e||0===t}function Q(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let o=t[0],s=[];if(i.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var r=1;r<t.length;r++){let n=t[r];s.forEach((function(t){n[t]=Z(e,t)}))}}return t}function Y(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function Z(e,t){return window.getComputedStyle(e)[t]}const J="*";function ee(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=i[1],o=i[2],s=i[3];t.push(ie(r,s)),"<"!=o[0]||r==J&&s==J||t.push(ie(s,r))}(e,n,t)):n.push(e),n}const te=new Set(["true","1"]),ne=new Set(["false","0"]);function ie(e,t){const n=te.has(e)||ne.has(e),i=te.has(t)||ne.has(t);return(r,o)=>{let s=e==J||e==r,a=t==J||t==o;return!s&&n&&"boolean"==typeof r&&(s=r?te.has(e):ne.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?te.has(t):ne.has(t)),s&&a}}const re=new RegExp("s*:selfs*,?","g");function oe(e,t,n){return new se(e).build(t,n)}class se{constructor(e){this._driver=e}build(e,t){const n=new ae(t);return this._resetContextStyleTimingState(n),Y(this,H(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const r=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,i+=r.depCount,o.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:o,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,o=i||{};if(n.styles.forEach(e=>{if(le(e)){const t=e;Object.keys(t).forEach(e=>{G(t[e]).forEach(e=>{o.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=W(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=Y(this,H(e.animation),t);return{type:1,matchers:ee(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ce(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>Y(this,e,t)),options:ce(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map(e=>{t.currentTime=n;const r=Y(this,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:ce(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ue(N(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=ue(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||N(i,t),ue(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let r=e.styles?e.styles:Object(o.k)({});if(5==r.type)i=this.visitKeyframes(r,t);else{let r=e.styles,s=!1;if(!r){s=!0;const e={};n.easing&&(e.easing=n.easing),r=Object(o.k)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,t);a.isEmptyStep=s,i=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);
1return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==o.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,r=null;return n.forEach(e=>{if(le(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(r!=i&&r>=s.startTime&&i<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=s.startTime),a&&(o[n]={startTime:r,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},r=G(e);r.length&&r.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let o=!1,s=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),s=s||c<0||c>1,o=o||c<a,a=c,r.push(c),n});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let u=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const h=c-1,d=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,i)=>{const o=u>0?i==h?1:u*i:r[i],s=o*f;t.currentTime=d+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:Y(this,H(e.animation),t),options:ce(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ce(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ce(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[r,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(re,"")),[e=e.replace(/@\*/g,T).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,A),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,d(t.collectedStyles,t.currentQuerySelector,{});const s=Y(this,H(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:ce(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:N(e.timings,t.errors,!0);return{type:12,animation:Y(this,H(e.animation),t),timings:n,options:null}}}class ae{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function le(e){return!Array.isArray(e)&&"object"==typeof e}function ce(e){var t;return e?(e=R(e)).params&&(e.params=(t=e.params)?R(t):null):e={},e}function ue(e,t,n){return{duration:e,delay:t,easing:n}}function he(e,t,n,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class de{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const pe=new RegExp(":enter","g"),fe=new RegExp(":leave","g");function me(e,t,n,i,r,o={},s={},a,l,c=[]){return(new ge).buildKeyframes(e,t,n,i,r,o,s,a,l,c)}class ge{buildKeyframes(e,t,n,i,r,o,s,a,l,c=[]){l=l||new de;const u=new _e(e,t,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),Y(this,n,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(s).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[he(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}
1visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const r=null!=n.duration?D(n.duration):null,o=null!=n.delay?D(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=be);const e=D(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>Y(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?D(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);r&&s.delayNextStep(r),Y(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return N(t.params?q(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?D(i.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=be);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;let a=null;
1s.forEach((n,i)=>{t.currentQueryIndex=i;const s=t.createSubContext(e.options,n);r&&s.delayNextStep(r),n===t.element&&(a=s.currentTimeline),Y(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Y(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const be={};class _e{constructor(e,t,n,i,r,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=be,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ve(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=D(n.duration)),null!=n.delay&&(i.delay=D(n.delay));const r=n.params;if(r){let e=i.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=q(r[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,r=new _e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=be,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new ye(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,r,o){let s=[];if(i&&s.push(this.element),e.length>0){e=(e=e.replace(pe,"."+this._enterClassName)).replace(fe,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return r||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class ve{constructor(e,t,n,i){this._driver=e,this.element=t,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pe
1ndingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new ve(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||o.a,this._currentKeyframe[e]=o.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const r=i&&i.params||{},s=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]=o.a})):L(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=q(s[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:o.a),this._updateStyle(e,t)})}
1applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,s)=>{const a=L(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==o.o?e.add(n):i==o.a&&t.add(n)}),n||(a.offset=s/this.duration),i.push(a)});const r=e.size?W(e.values()):[],s=t.size?W(t.values()):[];if(n){const e=i[0],t=R(e);e.offset=0,t.offset=1,i=[e,t]}return he(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class ye extends ve{constructor(e,t,n,i,r,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],o=n+t,s=t/o,a=L(e[0],!1);a.offset=0,r.push(a);const l=L(e[0],!1);l.offset=we(s),r.push(l);const c=e.length-1;for(let i=1;i<=c;i++){let s=L(e[i],!1);s.offset=we((t+s.offset*n)/o),r.push(s)}n=o,t=0,i="",e=r}return he(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function we(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Ce{}class xe extends Ce{normalizePropertyName(e,t){return X(e)}normalizeStyleValue(e,t,n,i){let r="";const o=n.toString().trim();if(Se[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+r}}const Se=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("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 Oe(e,t,n,i,r,o,s,a,l,c,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const ke={};class Ee{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,r){return e.some(e=>e(t,n,i,r))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}build(e,t,n,i,r,o,s,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||ke,p=this.buildStyles(n,s&&s.params||ke,u),f=a&&a.params||ke,m=this.buildStyles(i,f,u),g=new Set,b=new Map,_=new Map,v="void"===i,y={params:Object.assign(Object.assign({},h),f)},w=c?[]:me(e,t,this.ast.animation,r,o,p,m,y,l,u);let C=0;if(w.forEach(e=>{C=Math.max(e.duration+e.delay,C)}),u.length)return Oe(t,this._triggerName,n,i,v,p,m,[],[],b,_,C,u);w.forEach(e=>{const n=e.element,i=d(b,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const r=d(_,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&g.add(n)});const x=W(g.values());return Oe(t,this._triggerName,n,i,v,p,m,w,x,b,_,C)}}class Pe{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=R(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}
1),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let o=r[e];o.length>1&&(o=q(o,i,t)),n[e]=o})}}),n}}class Ie{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Pe(e.style,e.options&&e.options.params||{})}),Te(this.states,"true","1"),Te(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Ee(e,t,this.states))}),this.fallbackTransition=new Ee(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(r=>r.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Te(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Me=new de;class Ae{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=oe(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=i}_buildPlayer(e,t,n){const i=e.element,r=l(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],r=this._animations[e];let s;const l=new Map;if(r?(s=me(this._driver,t,r,E,P,{},{},n,Me,i),s.forEach(e=>{const t=d(l,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));l.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,o.a)})});const c=a(s.map(e=>{const t=l.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,i){const r=h(t,"","","");return c(this._getPlayer(e),n,r,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const De="ng-animate-queued",je="ng-animate-disabled",Ne=".ng-animate-disabled",Re=[],Le={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Fe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ve{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=R(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Be="void",Ue=new Ve(Be);class He{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+e,$e(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const o=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);const a=d(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||($e(e,I),$e(e,"ng-trigger-"+t),a[t]=Ue),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const r=this._getTrigger(t),o=new Ge(this.id,t,e);let s=this._engine.statesByElement.get(e);s||($e(e,I),$e(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const l=new Ve(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[t]=l,a||(a=Ue),l.value!==Be&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(a.params,l.params)){const t=[],n=r.matchStyles(a.value,a.params,t),i=r.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{U(e,n),B(e,i)})}return}const c=d(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.value,l.value,e,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:h}),h||($e(e,De),o.onStart(()=>{Qe(e,De)})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),c.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,T,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const r=this._engine.statesByElement.get(e);if(r){const o=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Be,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&a(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const i=t.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,o=this._engine.statesByElement.get(e)[i]||Ue,s=new Ve(Be),a=new Ge(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:r,fromState:o,toState:s,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==Le||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){$e(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach(t=>{if(t.name==n.triggerName){const i=h(r,n.triggerName,n.fromState.value,n.toState.value);i._data=e,c(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>
1{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class ze{constructor(e,t,n){this.bodyNode=e,this.driver=t,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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new He(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i<e.length;i++){const r=n[e[i]].namespaceId;if(r){const e=this._fetchNamespace(r);e&&t.add(e)}}}return t}trigger(e,t,n,i){if(qe(t)){const r=this._fetchNamespace(e);if(r)return r.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!qe(t))return;const r=t.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),$e(e,je)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Qe(e,je))}removeNode(e,t,n,i){if(qe(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,r){return qe(t)?this._fetchNamespace(e).listen(t,n,i,r):()=>{}}_buildInstruction(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,T,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,A,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Le,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Ne)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ne,!0).forEac
1h(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)$e(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}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(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new de,i=[],r=new Map,s=[],l=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)h.add(t[n])});const p=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Xe(f,this.collectedEnterElements),g=new Map;let b=0;m.forEach((e,t)=>{const n=E+b++;g.set(t,n),e.forEach(e=>$e(e,n))});const _=[],v=new Set,y=new Set;for(let o=0;o<this.collectedLeaveElements.length;o++){const e=this.collectedLeaveElements[o],t=e.__ng_removed;t&&t.setForRemoval&&(_.push(e),v.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>v.add(e)):y.add(e))}const w=new Map,C=Xe(f,Array.from(v));C.forEach((e,t)=>{const n=P+b++;w.set(t,n),e.forEach(e=>$e(e,n))}),e.push(()=>{m.forEach((e,t)=>{const n=g.get(t);e.forEach(e=>Qe(e,n))}),C.forEach((e,t)=>{const n=w.get(t);e.forEach(e=>Qe(e,n))}),_.forEach(e=>{this.processLeaveNode(e)})});const x=[],S=[];for(let o=this._namespaceList.length-1;o>=0;o--)this._namespaceList[o].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(x.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const o=!p||!this.driver.containsElement(p,r),a=w.get(r),h=g.get(r),f=this._buildInstruction(e,n,h,a,o);if(f.errors&&f.errors.length)S.push(f);else{if(o)return t.onStart(()=>U(r,f.fromStyles)),t.onDestroy(()=>B(r,f.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>U(r,f.fromStyles)),t.onDestroy(()=>B(r,f.toStyles)),void i.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),s.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>d(l,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=c.get(t);e||c.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=u.get(t);i||u.set(t,i=new Set),n.forEach(e=>i.add(e))})}});if(S.length){const e=[];S.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),x.forEach(e=>e.destroy()),this.reportError(e)}const O=new Map,k=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(k.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,O))}
1),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{d(O,t,[]).push(e),e.destroy()})});const I=_.filter(e=>Ze(e,c,u)),T=new Map;Ke(T,this.driver,y,u,o.a).forEach(e=>{Ze(e,c,u)&&I.push(e)});const M=new Map;m.forEach((e,t)=>{Ke(M,this.driver,new Set(e),c,o.o)}),I.forEach(e=>{const t=T.get(e),n=M.get(e);T.set(e,Object.assign(Object.assign({},t),n))});const D=[],j=[],N={};s.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(h.has(t))return o.onDestroy(()=>B(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void i.push(o);let e=N;if(k.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=k.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>k.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,O,r,M,T);if(o.setRealPlayer(n),e===N)D.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=a(t)),i.push(o)}}else U(t,s.fromStyles),o.onDestroy(()=>B(t,s.toStyles)),j.push(o),h.has(t)&&i.push(o)}),j.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=a(t);e.setRealPlayer(n)}}
1),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let o=0;o<_.length;o++){const e=_[o],t=e.__ng_removed;if(Qe(e,P),t&&t.hasAnimation)continue;let n=[];if(l.size){let t=l.get(e);t&&t.length&&n.push(...t);let i=this.driver.query(e,A,!0);for(let e=0;e<i.length;e++){let t=l.get(i[e]);t&&t.length&&n.push(...t)}}const i=n.filter(e=>!e.destroyed);i.length?Ye(this,e,i):this.processLeaveNode(e)}return _.length=0,D.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),D}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,r){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||r==Be;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const i=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==i,l=d(n,e,[]);this._getPreviousPlayers(e,a,r,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}U(i,t.fromStyles)}_buildAnimation(e,t,n,i,r,s){const c=t.triggerName,u=t.element,h=[],p=new Set,f=new Set,m=t.timelines.map(t=>{const a=t.element;p.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new o.d(t.duration,t.delay);const m=a!==u,g=function(e){const t=[];return function e(t,n){for(let i=0;i<t.length;i++){const r=t[i];r instanceof o.n?e(r.players,n):n.push(r)}}(e,t),t}((n.get(a)||Re).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===a),b=r.get(a),_=s.get(a),v=l(0,this._normalizer,0,t.keyframes,b,_),y=this._buildPlayer(t,v,g);if(t.subTimeline&&i&&f.add(a),m){const t=new Ge(e,c,a);t.setRealPlayer(y),h.push(t)}return y});h.forEach(e=>{d(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),p.forEach(e=>$e(e,M));const g=a(m);return g.onDestroy(()=>{p.forEach(e=>Qe(e,M)),B(u,t.toStyles)}),f.forEach(e=>{d(i,e,[]).push(g)}),g}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.d(e.duration,e.delay)}}class Ge{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new o.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEac
1h(t=>{this._queuedCallbacks[t].forEach(n=>c(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){d(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function qe(e){return e&&1===e.nodeType}function We(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Ke(e,t,n,i,r){const o=[];n.forEach(e=>o.push(We(e)));const s=[];i.forEach((n,i)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Fe,s.push(i))}),e.set(i,o)});let a=0;return n.forEach(e=>We(e,o[a++])),s}function Xe(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),r=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let o=r.get(t);if(o)return o;const s=t.parentNode;return o=n.has(s)?s:i.has(s)?1:e(s),r.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}function $e(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Qe(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Ye(e,t,n){a(n).onDone(()=>e.processLeaveNode(t))}function Ze(e,t,n){const i=n.get(e);if(!i)return!1;let r=t.get(e);return r?i.forEach(e=>r.add(e)):t.set(e,i),n.delete(e),!0}class Je{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new ze(e,t,n),this._timelineEngine=new Ae(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,r){const o=e+"-"+i;let s=this._triggerCache[o];if(!s){const e=[],t=oe(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Ie(e,t)}(i,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,i,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,r]=p(n);this._timelineEngine.command(e,t,r,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,r){if("@"==n.charAt(0)){const[e,i]=p(n);return this._timelineEngine.listen(e,t,i,r)}return this._transitionEngine.listen(e,t,n,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function et(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=nt(t[0]),t.length>1&&(i=nt(t[t.length-1]))):t&&(n=nt(t)),n||i?new tt(e,n,i):null}let tt=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(U(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function nt(e){let t=null;const n=Object.keys(e);for(let i=0;i<n.length;i++){const r=n[i];it(r)&&(t=t||{},t[r]=e[r])}return t}function it(e){return"display"===e||"position"===e}const rt="animation",ot="animationend";class st{constructor(e,t,n,i,r,o,s){this._element=e,this._name=t,this._duration=n,this._delay=i,this._easing=r,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e
1=>this._handleCallback(e)}apply(){!function(e,t){const n=dt(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i<e.length;i++)","===e.charAt(i)&&n++}(n),t=`${n}, ${t}`),ht(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),ut(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){at(this._element,this._name,"paused")}resume(){at(this._element,this._name,"running")}setPosition(e){const t=lt(this._element,this._name);this._position=e*this._duration,ht(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ut(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=dt(e,"").split(","),i=ct(n,t);i>=0&&(n.splice(i,1),ht(e,"",n.join(",")))}(this._element,this._name))}}function at(e,t,n){ht(e,"PlayState",n,lt(e,t))}function lt(e,t){const n=dt(e,"");return n.indexOf(",")>0?ct(n.split(","),t):ct([n],t)}function ct(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function ut(e,t,n){n?e.removeEventListener(ot,t):e.addEventListener(ot,t)}function ht(e,t,n,i){const r=rt+t;if(null!=i){const t=e.style[r];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[r]=n}function dt(e,t){return e.style[rt+t]}class pt{constructor(e,t,n,i,r,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}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 st(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:Z(this.element,n))})}this.currentSnapshot=e}}class ft extends o.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=S(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class mt{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return y(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return C(e,t)}query(e,t,n){return x(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>S(e));let i=`@keyframes ${t} {\n`,r="";
1n.forEach(e=>{r=" ";const t=parseFloat(e.offset);i+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${t}: ${n};\n`)}}),i+=r+"}\n"}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(e,t,n,i,r,o=[],s){s&&this._notifyFaultyScrubber();const a=o.filter(e=>e instanceof pt),l={};$(n,i)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Q(e,t,l));if(0==n)return new ft(e,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=et(e,t),p=new pt(e,t,u,n,i,r,c,d);return p.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),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 gt{constructor(e,t,n,i){this.element=e,this.keyframes=t,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(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:Z(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class bt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(_t().toString()),this._cssKeyframesDriver=new mt}validateStyleProperty(e){return y(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return C(e,t)}query(e,t,n){return x(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,r,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=o.filter(e=>e instanceof gt);
1$(n,i)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=et(e,t=Q(e,t=t.map(e=>L(e,!1)),l));return new gt(e,t,a,u)}}function _t(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var vt=n("ofXK");let yt=(()=>{class e extends o.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(o.i)(e):e;return xt(this._renderer,null,t,"register",[n]),new wt(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.RendererFactory2),i["\u0275\u0275inject"](vt.DOCUMENT))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class wt extends o.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Ct(this._id,e,t||{},this._renderer)}}class Ct{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return xt(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function xt(e,t,n,i,r){return e.setProperty(t,`@@${n}:${i}`,r)}const St="@",Ot="@.disabled";let kt=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Et("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(i,r,e,t.name,t)};return t.data.animation.forEach(o),new Pt(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,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 e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.RendererFactory2),i["\u0275\u0275inject"](Je),i["\u0275\u0275inject"](i.NgZone))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class Et{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==St&&t==Ot?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}
1listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Pt extends Et{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==St?"."==t.charAt(1)&&t==Ot?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==St){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),o="";return r.charAt(0)!=St&&([r,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let It=(()=>{class e extends Je{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](vt.DOCUMENT),i["\u0275\u0275inject"](k),i["\u0275\u0275inject"](Ce))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const Tt=new i.InjectionToken("AnimationModuleType"),Mt=[{provide:k,useFactory:function(){return"function"==typeof _t()?new bt:new mt}},{provide:Tt,useValue:"BrowserAnimations"},{provide:o.b,useClass:yt},{provide:Ce,useFactory:function(){return new xe}},{provide:Je,useClass:It},{provide:i.RendererFactory2,useFactory:function(e,t,n){return new kt(e,t,n)},deps:[r.g,Je,i.NgZone]}];let At=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:Mt,imports:[r.a]}),e})()},S6kV:function(e,t,n){var i,r,o;e.exports=(o=n("Ib8C"),n("OLod"),o.mode.OFB=(r=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._keystream;r&&(o=this._keystream=r.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var s=0;s<i;s++)e[t+s]^=o[s]}}),i.Decryptor=r,i),o.mode.OFB)},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("ngJS"),r=n("NJ4a"),o=n("Lhse"),s=n("kJWO"),a=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=e=>{if(e&&"function"==typeof e[s.a])return u=e,e=>{const t=u[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(i.a)(e);if(Object(l.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[o.a])return t=e,e=>{const n=t[o.a]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(c.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",(function(){return i}))},SxV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("sVev"),r=n("pLZG"),o=n("IzEk"),s=n("xbPD"),a=n("XDbj"),l=n("SpAZ");function c(e,t){const n=arguments.length>=2;return c=>c.pipe(e?Object(r.a)((t,n)=>e(t,n,c)):l.a,Object(o.a)(1),n?Object(s.a)(t):Object(a.a)(()=>new i.a))}},UXun:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("jtHE");function r(e,t,n){let r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let o,s,a=0,l=!1,c=!1;return function(u){let h;a++,!o||l?(l=!1,o=new i.a(e,t,r),h=o.subscribe(this),s=u.subscribe({next(e){o.next(e)},error(e){l=!0,o.error(e)},complete(){c=!0,s=void 0,o.complete()}}),c&&(s=void 0)):h=o.subscribe(this),this.add(()=>{a--,h.unsubscribe(),h=void 0,s&&!c&&n&&0===a&&(s.unsubscribe(),s=void 0,o=void 0)})}}(r))}},UbJi:function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return k})),n.d(t,"c",(function(){return v}));var i=n("fXoL"),r=n("XNiG"),o=n("LRne"),s=n("HDdC"),a=n("Cfvw"),l=n("VRyK"),c=n("pxpQ"),u=n("eIep"),h=n("lJxs"),d=n("UXun"),p=n("SxV6");function f(e,t){return t?Object(u.a)(()=>e,t):Object(u.a)(()=>e)}var m=n("tf+s"),g=n("pLZG"),b=n("spgP"),_=n("ofXK");const v=new i.InjectionToken("angularfire2.auth.use-emulator"),y=new i.InjectionToken("angularfire2.auth.settings"),w=new i.InjectionToken("angularfire2.auth.tenant-id"),C=new i.InjectionToken("angularfire2.auth.langugage-code"),x=new i.InjectionToken("angularfire2.auth.use-device-language"),S=new i.InjectionToken("angularfire.auth.persistence");let O=(()=>{class e{constructor(e,t,i,v,y,w,C,x,S,O){const k=new b.e(v),E=Object(b.i)(k),P=new r.a,I=Object(o.a)(void 0).pipe(Object(c.b)(k.outsideAngular),Object(u.a)(()=>v.runOutsideAngular(()=>Promise.resolve().then(n.bind(null,"6nsN")))),Object(h.a)(()=>
1Object(b.h)(e,v,t)),Object(h.a)(e=>v.runOutsideAngular(()=>{const t=y,n=w;return Object(b.g)(e.name+".auth","AngularFireAuth",e,()=>{const i=v.runOutsideAngular(()=>e.auth());if(t&&i.useEmulator("http://"+t.join(":")),C&&(i.tenantId=C),i.languageCode=x,S&&i.useDeviceLanguage(),n)for(const[e,t]of Object.entries(n))i.settings[e]=t;return O&&i.setPersistence(O),i},[t,C,x,S,n,O])})),Object(d.a)({bufferSize:1,refCount:!1}));if(Object(_.isPlatformServer)(i))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=Object(o.a)(null);else{I.pipe(Object(p.a)()).subscribe();const e=I.pipe(Object(u.a)(e=>e.getRedirectResult().then(e=>e,()=>null)),E,Object(d.a)({bufferSize:1,refCount:!1})),t=e=>new s.a(t=>({unsubscribe:v.runOutsideAngular(()=>e(t))})),n=I.pipe(Object(u.a)(e=>t(e.onAuthStateChanged.bind(e)))),i=I.pipe(Object(u.a)(e=>t(e.onIdTokenChanged.bind(e))));this.authState=e.pipe(f(n),Object(m.a)(k.outsideAngular),Object(c.b)(k.insideAngular)),this.user=e.pipe(f(i),Object(m.a)(k.outsideAngular),Object(c.b)(k.insideAngular)),this.idToken=this.user.pipe(Object(u.a)(e=>e?Object(a.a)(e.getIdToken()):Object(o.a)(null))),this.idTokenResult=this.user.pipe(Object(u.a)(e=>e?Object(a.a)(e.getIdTokenResult()):Object(o.a)(null))),this.credential=Object(l.a)(e,P,this.authState.pipe(Object(g.a)(e=>!e))).pipe(Object(h.a)(e=>(null==e?void 0:e.user)?e:null),Object(m.a)(k.outsideAngular),Object(c.b)(k.insideAngular))}return Object(b.j)(this,I,v,{spy:{apply:(e,t,n)=>{(e.startsWith("signIn")||e.startsWith("createUser"))&&n.then(e=>P.next(e))}}})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](b.c),i["\u0275\u0275inject"](b.b,8),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](v,8),i["\u0275\u0275inject"](y,8),i["\u0275\u0275inject"](w,8),i["\u0275\u0275inject"](C,8),i["\u0275\u0275inject"](x,8),i["\u0275\u0275inject"](S,8))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e(i["\u0275\u0275inject"](b.c),i["\u0275\u0275inject"](b.b,8),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](v,8),i["\u0275\u0275inject"](y,8),i["\u0275\u0275inject"](w,8),i["\u0275\u0275inject"](C,8),i["\u0275\u0275inject"](x,8),i["\u0275\u0275inject"](S,8))},token:e,providedIn:"any"}),e})(),k=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[O]}),e})()},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("z+Ro"),o=n("bHdf"),s=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(r.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.a?e[0]:Object(o.a)(t)(Object(s.a)(e,n))}},WMd4:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("EY2u"),r=n("LRne"),o=n("z6cu");let s=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})()},WYAk:function(e,t,n){var i,r;e.exports=(i=n("Ib8C"),r=i.enc.Utf8,void(i.algo.HMAC=i.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,l=s.words,c=0;c<n;c++)a[c]^=1549556828,l[c]^=909522486;o.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},XDbj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("sVev"),r=n("7o/Q");function o(e=l){return t=>t.lift(new s(e))}class s{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends r.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function l(){return new i.a}},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u}));var i=n("HDdC"),r=n("7o/Q"),o=n("quSY"),s=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends r.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e 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(e){const t=new h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.a;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;r<n;r++)i[r].next(e)}}error(e){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;r<n;r++)i[r].error(e);this.observers.length=0}complete(){if(this.closed)throw new s.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let i=0;i<t;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new s.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new s.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new i.a;return e.source=this,e}}return e.create=(e,t)=>new h(e,t),e})();class h extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):o.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return i}))},Y7HM:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("DH7j");function r(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("quSY");class r extends i.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},Zy1z:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(){return e=>e.lift(new o)}class o{call(e,t){return t.subscribe(new s(e))}}class s extends i.a{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("5+tZ"),r=n("SpAZ");function o(e=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("5+tZ");function r(e,t){return Object(i.a)(e,t,1)}},bQjk:function(e,t,n){var i,r,o;e.exports=(o=n("Ib8C"),n("OLod"),i=o.lib.CipherParams,r=o.enc.Hex,o.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var t=r.parse(e);return i.create({ciphertext:t})}},o.format.Hex)},bSwM:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return C}));var i=n("8LU1"),r=n("fXoL"),o=n("3Pt+"),s=n("FKr1"),a=n("R1ws"),l=n("GU7r"),c=n("u47x");const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new r.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),f=new r.InjectionToken("mat-checkbox-click-action");let m=0;const g={provide:o.n,useExisting:Object(r.forwardRef)(()=>y),multi:!0};class b{}class _{constructor(e){this._elementRef=e}}const v=Object(s.u)(Object(s.q)(Object(s.r)(Object(s.s)(_))));let y=(()=>{class e extends v{constructor(e,t,n,i,o,s,a,l){super(e),this._changeDetectorRef=t,this._focusMonitor=n,this._ngZone=i,this._clickAction=s,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++m,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new r.EventEmitter,this.indeterminateChange=new r.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this.defaultColor=this._options.color),this.tabIndex=parseInt(o)||0,this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(e){this._required=Object(i.b)(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=Object(i.b)(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=Object(i.b)(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(e)},1e3)})}}_emitChangeEvent(){const e=new b;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}toggle(){this.checked=!this.checked}_onInputClick(e){e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e="keyboard",t){this._focusMonitor.focusVia(this._inputElement,e,t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](c.h),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275injectAttribute"]("tabindex"),r["\u0275\u0275directiveInject"](f,8),r["\u0275\u0275directiveInject"](a.a,8),r["\u0275\u0275directiveInject"](p,8))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var n;1&e&&(r["\u0275\u0275viewQuery"](u,!0),r["\u0275\u0275viewQuery"](s.l,!0)),2&e&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t._inputElement=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(t.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(r["\u0275\u0275hostProperty"]("id",t.id),r["\u0275\u0275attribute"]("tabindex",null),r["\u0275\u0275classProp"]("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r["\u0275\u0275ProvidersFeature"]([g]),r["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:d,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"label",0,1),r["\u0275\u0275elementStart"](2,"div",2),r["\u0275\u0275elementStart"](3,"input",3,4),r["\u0275\u0275listener"]("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"div",5),r["\u0275\u0275element"](6,"div",6),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](7,"div",7),r["\u0275\u0275elementStart"](8,"div",8),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](9,"svg",9),r["\u0275\u0275element"](10,"path",10),r["\u0275\u0275elementEnd"](),r["\u0275\u0275namespaceHTML"](),r["\u0275\u0275element"](11,"div",11),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](12,"span",12,13),r["\u0275\u0275listener"]("cdkObserveContent",(function(){return t._onLabelTextChange()})),r["\u0275\u0275elementStart"](14,"span",14),r["\u0275\u0275text"](15,"\xa0"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275projection"](16),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&e){const e=r["\u0275\u0275reference"](1),n=r["\u0275\u0275reference"](13);r["\u0275\u0275attribute"]("for",t.inputId),r["\u0275\u0275advance"](2),r["\u0275\u0275classProp"]("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),r["\u0275\u0275attribute"]("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r["\u0275\u0275pureFunction0"](19,h))}},directives:[s.l,l.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}
150%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;
1transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e})(),w=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),C=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[s.m,s.h,l.c,w],s.h,w]}),e})()},bTqV:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var i=n("FKr1"),r=n("R1ws"),o=n("fXoL"),s=n("u47x");const a=["mat-button",""],l=["*"],c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class u{constructor(e){this._elementRef=e}}const h=Object(i.q)(Object(i.s)(Object(i.r)(u)));let d=(()=>{class e extends h{constructor(e,t,n){super(e),this._focusMonitor=t,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",t){this._focusMonitor.focusVia(this._getHostElement(),e,t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](s.h),o["\u0275\u0275directiveInject"](r.a,8))},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,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(e,t){var n;1&e&&o["\u0275\u0275viewQuery"](i.l,!0),2&e&&o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(o["\u0275\u0275attribute"]("disabled",t.disabled||null),o["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o["\u0275\u0275InheritDefinitionFeature"]],attrs:a,ngContentSelectors:l,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(e,t){1&e&&(o["\u0275\u0275projectionDef"](),o["\u0275\u0275elementStart"](0,"span",0),o["\u0275\u0275projection"](1),o["\u0275\u0275elementEnd"](),o["\u0275\u0275element"](2,"span",1),o["\u0275\u0275element"](3,"span",2)),2&e&&(o["\u0275\u0275advance"](2),o["\u0275\u0275classProp"]("mat-button-ripple-round",t.isRoundButton||t.isIconButton),o["\u0275\u0275property"]("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[i.l],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
1.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),e})(),p=(()=>{class e{}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.m,i.h],i.h]}),e})()},c2HN:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return i}))},cH1L:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var i=n("fXoL"),r=n("ofXK");const o=new i.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.inject)(r.DOCUMENT)}});let s=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new i.EventEmitter,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](o,8))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(o,8))},token:e,providedIn:"root"}),e})(),a=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})()},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("HDdC"),r=n("DH7j"),o=n("lJxs"),s=n("XoHu"),a=n("Cfvw");function l(...e){if(1===e.length){const t=e[0];if(Object(r.a)(t))return c(t,null);if(Object(s.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return c(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return c(e=1===e.length&&Object(r.a)(e[0])?e[0]:e,null).pipe(Object(o.a)(e=>t(...e)))}return c(e,null)}function c(e,t){return new i.a(n=>{const i=e.length;if(0===i)return void n.complete();const r=new Array(i);let o=0,s=0;for(let l=0;l<i;l++){const c=Object(a.a)(e[l]);let u=!1;n.add(c.subscribe({next:e=>{u||(u=!0,s++),r[l]=e},error:e=>n.error(e),complete:()=>
1{o++,o!==i&&u||(s===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}},cv67:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var o=this._hash.words,s=e[t+0],l=e[t+1],p=e[t+2],f=e[t+3],m=e[t+4],g=e[t+5],b=e[t+6],_=e[t+7],v=e[t+8],y=e[t+9],w=e[t+10],C=e[t+11],x=e[t+12],S=e[t+13],O=e[t+14],k=e[t+15],E=o[0],P=o[1],I=o[2],T=o[3];E=c(E,P,I,T,s,7,a[0]),T=c(T,E,P,I,l,12,a[1]),I=c(I,T,E,P,p,17,a[2]),P=c(P,I,T,E,f,22,a[3]),E=c(E,P,I,T,m,7,a[4]),T=c(T,E,P,I,g,12,a[5]),I=c(I,T,E,P,b,17,a[6]),P=c(P,I,T,E,_,22,a[7]),E=c(E,P,I,T,v,7,a[8]),T=c(T,E,P,I,y,12,a[9]),I=c(I,T,E,P,w,17,a[10]),P=c(P,I,T,E,C,22,a[11]),E=c(E,P,I,T,x,7,a[12]),T=c(T,E,P,I,S,12,a[13]),I=c(I,T,E,P,O,17,a[14]),E=u(E,P=c(P,I,T,E,k,22,a[15]),I,T,l,5,a[16]),T=u(T,E,P,I,b,9,a[17]),I=u(I,T,E,P,C,14,a[18]),P=u(P,I,T,E,s,20,a[19]),E=u(E,P,I,T,g,5,a[20]),T=u(T,E,P,I,w,9,a[21]),I=u(I,T,E,P,k,14,a[22]),P=u(P,I,T,E,m,20,a[23]),E=u(E,P,I,T,y,5,a[24]),T=u(T,E,P,I,O,9,a[25]),I=u(I,T,E,P,f,14,a[26]),P=u(P,I,T,E,v,20,a[27]),E=u(E,P,I,T,S,5,a[28]),T=u(T,E,P,I,p,9,a[29]),I=u(I,T,E,P,_,14,a[30]),E=h(E,P=u(P,I,T,E,x,20,a[31]),I,T,g,4,a[32]),T=h(T,E,P,I,v,11,a[33]),I=h(I,T,E,P,C,16,a[34]),P=h(P,I,T,E,O,23,a[35]),E=h(E,P,I,T,l,4,a[36]),T=h(T,E,P,I,m,11,a[37]),I=h(I,T,E,P,_,16,a[38]),P=h(P,I,T,E,w,23,a[39]),E=h(E,P,I,T,S,4,a[40]),T=h(T,E,P,I,s,11,a[41]),I=h(I,T,E,P,f,16,a[42]),P=h(P,I,T,E,b,23,a[43]),E=h(E,P,I,T,y,4,a[44]),T=h(T,E,P,I,x,11,a[45]),I=h(I,T,E,P,k,16,a[46]),E=d(E,P=h(P,I,T,E,p,23,a[47]),I,T,s,6,a[48]),T=d(T,E,P,I,_,10,a[49]),I=d(I,T,E,P,O,15,a[50]),P=d(P,I,T,E,g,21,a[51]),E=d(E,P,I,T,x,6,a[52]),T=d(T,E,P,I,f,10,a[53]),I=d(I,T,E,P,w,15,a[54]),P=d(P,I,T,E,l,21,a[55]),E=d(E,P,I,T,v,6,a[56]),T=d(T,E,P,I,k,10,a[57]),I=d(I,T,E,P,b,15,a[58]),P=d(P,I,T,E,S,21,a[59]),E=d(E,P,I,T,m,6,a[60]),T=d(T,E,P,I,C,10,a[61]),I=d(I,T,E,P,p,15,a[62]),P=d(P,I,T,E,y,21,a[63]),o[0]=o[0]+E|0,o[1]=o[1]+P|0,o[2]=o[2]+I|0,o[3]=o[3]+T|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var o=e.floor(i/4294967296),s=i;n[15+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,i,r,o,s){var a=e+(t&n|~t&i)+r+s;return(a<<o|a>>>32-o)+t}function u(e,t,n,i,r,o,s){var a=e+(t&i|n&~i)+r+s;return(a<<o|a>>>32-o)+t}function h(e,t,n,i,r,o,s){var a=e+(t^n^i)+r+s;return(a<<o|a>>>32-o)+t}function d(e,t,n,i,r,o,s){var a=e+(n^(t|~i))+r+s;return(a<<o|a>>>32-o)+t}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),i.MD5)},d3UM:function(e,t,n){"use strict";n.d(t,"a",(function(){return q})),n.d(t,"b",(function(){return W}));var i=n("rDax"),r=n("ofXK"),o=n("fXoL"),s=n("FKr1"),a=n("kmnG"),l=n("vxfF"),c=n("u47x"),u=n("8LU1"),h=n("0EQZ"),d=n("FtGj"),p=n("XNiG"),f=n("NXyV"),m=n("VRyK"),g=n("JX91"),b=n("eIep"),_=n("IzEk"),v=n("pLZG"),y=n("lJxs"),w=n("/uUt"),C=n("1G5W"),x=n("R0Ic"),S=n("cH1L"),O=n("3Pt+");const k=["trigger"],E=["panel"];function P(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"span",8),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](e.placeholder||"\xa0")}}function I(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"span"),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"](2);o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](e.triggerValue||"\xa0")}}function T(e,t){1&e&&o["\u0275\u0275projection"](0,0,["*ngSwitchCase","true"])}function M(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"span",9),o["\u0275\u0275template"](1,I,2,1,"span",10),o["\u0275\u0275template"](2,T,1,0,"ng-content",11),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("ngSwitch",!!e.customTrigger),o["\u0275\u0275advance"](2),o["\u0275\u0275property"]("ngSwitchCase",!0)}}function A(e,t){if(1&e){const e=o["\u0275\u0275getCurrentView"]();o["\u0275\u0275elementStart"](0,"div",12),o["\u0275\u0275elementStart"](1,"div",13,14),o["\u0275\u0275listener"]("@transformPanel.done",(function(t){return o["\u0275\u0275restoreView"](e),o["\u0275\u0275nextContext"]()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return o["\u0275\u0275restoreView"](e),o["\u0275\u0275nextContext"]()._handleKeydown(t)})),o["\u0275\u0275projection"](3,1),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"]()}if(2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transformPanelWrap",void 0),o["\u0275\u0275advance"](1),o["\u0275\u0275classMapInterpolate1"]("mat-select-panel ",e._getPanelTheme(
1),""),o["\u0275\u0275styleProp"]("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),o["\u0275\u0275property"]("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),o["\u0275\u0275attribute"]("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const D=[[["mat-select-trigger"]],"*"],j=["mat-select-trigger","*"],N={transformPanelWrap:Object(x.m)("transformPanelWrap",[Object(x.l)("* => void",Object(x.h)("@transformPanel",[Object(x.f)()],{optional:!0}))]),transformPanel:Object(x.m)("transformPanel",[Object(x.j)("void",Object(x.k)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(x.j)("showing",Object(x.k)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(x.j)("showing-multiple",Object(x.k)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(x.l)("void => *",Object(x.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(x.l)("* => void",Object(x.e)("100ms 25ms linear",Object(x.k)({opacity:0})))])};let R=0;const L=256,F=new o.InjectionToken("mat-select-scroll-strategy"),V=new o.InjectionToken("MAT_SELECT_CONFIG"),B={provide:F,deps:[i.c],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class U{constructor(e,t){this.source=e,this.value=t}}class H{constructor(e,t,n,i,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const z=Object(s.r)(Object(s.u)(Object(s.s)(Object(s.t)(H)))),G=new o.InjectionToken("MatSelectTrigger");let q=(()=>{class e extends z{constructor(e,t,n,i,r,s,a,l,c,u,h,d,w,C){super(r,i,a,l,u),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=n,this._dir=s,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=w,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+R++,this._triggerAriaLabelledBy=null,this._destroy=new p.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+R++,this._transformOrigin="top",this._panelDoneAnimatingStream=new p.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(f.a)(()=>{const e=this.options;return e?e.changes.pipe(Object(g.a)(e),Object(b.a)(()=>Object(m.a)(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe(Object(_.a)(1),Object(b.a)(()=>this.optionSelectionChanges))}),this.openedChange=new o.EventEmitter,this._openedStream=this.openedChange.pipe(Object(v.a)(e=>e),Object(y.a)(()=>{}
1)),this._closedStream=this.openedChange.pipe(Object(v.a)(e=>!e),Object(y.a)(()=>{})),this.selectionChange=new o.EventEmitter,this.valueChange=new o.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id,C&&(null!=C.disableOptionCentering&&(this.disableOptionCentering=C.disableOptionCentering),null!=C.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=C.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=Object(u.b)(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Object(u.b)(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Object(u.b)(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){e!==this._value&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Object(u.e)(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.b(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(w.a)(),Object(C.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(C.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(C.a)(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Object(g.a)(null),Object(C.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,n=t===d.c||t===d.o||t===d.h||t===d.l,i=t===d.e||t===d.m,r=this._keyManager;if(!r.isTyping()&&i&&!Object(d.r)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;r.onKeydown(e);const n=this.selected;n&&t!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,n=e.keyCode,i=n===d.c||n===d.o,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==d.e&&n!==d.m||!t.activeItem||Object(d.r)(e))if(!r&&this._multiple&&n===d.a&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);
1this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const n=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==n&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(_.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.multiple&&e)Array.isArray(e),this._selectionModel.clear(),e.forEach(e=>this._selectValue(e)),this._sortValues();else{this._selectionModel.clear();const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{try{return null!=t.value&&this._compareWith(t.value,e)}catch(n){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new c.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(C.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Object(C.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(C.a)(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(m.a)(...this.options.map(e=>e._stateChanges)).pipe(Object(C.a)(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,n)=>this.sortComparator?this.sortComparator(t,n,e):e.indexOf(t)-e.indexOf(n)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new U(this,t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const e=this._keyManager.activeItemIndex||0,t=Object(s.o)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(s.p)((e+t)*n,n,this.panel.nativeElement.scrollTop,L)}focus(e){this._elementRef.nativeElement.focus(e)}_getOptionIndex(e){return this.options.reduce((t,n,i)=>void 0!==t?t:e===n?i:void 0,void 0)}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,L),i=t*e-n;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Object(s.o)(r,this.options,this.optionGroups);const o=n/2;this._scrollTop=this._calculateOverlayScroll(r,o,i),this._offsetY=this._calculateOverlayOffsetY(r,o,i),this._checkOverlayWithinViewport(i)}_calculateOverlayScroll(e,t,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else{let e=this._selectionModel.selected[0]||this.options.first;r=e&&e.group?32:16}n||(r*=-1);const o=0-(e.left+r-(n?i:0)),s=e.right+r-t.width+(n?0:i);o>0?r+=o+8:s>0&&(r-=s+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,o=Math.floor(L/i);let s;return this._disableOptionCentering?0:(s=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-o))*i+(i-(this._getItemCount()*i-L)%i):t-i/2,Math.round(-1*s-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),s=Math.min(this._getItemCount()*t,L)-o-this._triggerRect.height;s>r?this._adjustPanelUp(s,r):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,n){const i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](l.d),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](s.b),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](S.b,8),o["\u0275\u0275directiveInject"](O.r,8),o["\u0275\u0275directiveInject"](O.i,8),o["\u0275\u0275directiveInject"](a.a,8),o["\u0275\u0275directiveInject"](O.o,10),o["\u0275\u0275injectAttribute"]("tabindex"),o["\u0275\u0275directiveInject"](F),o["\u0275\u0275directiveInject"](c.k
1),o["\u0275\u0275directiveInject"](V,8))},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;1&e&&(o["\u0275\u0275contentQuery"](n,G,!0),o["\u0275\u0275contentQuery"](n,s.j,!0),o["\u0275\u0275contentQuery"](n,s.e,!0)),2&e&&(o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t.customTrigger=i.first),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t.options=i),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t.optionGroups=i))},viewQuery:function(e,t){var n;1&e&&(o["\u0275\u0275viewQuery"](k,!0),o["\u0275\u0275viewQuery"](E,!0),o["\u0275\u0275viewQuery"](i.a,!0)),2&e&&(o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t.trigger=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t.panel=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t.overlayDir=n.first))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(o["\u0275\u0275attribute"]("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),o["\u0275\u0275classProp"]("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[o["\u0275\u0275ProvidersFeature"]([{provide:a.d,useExisting:e},{provide:s.f,useExisting:e}]),o["\u0275\u0275InheritDefinitionFeature"],o["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:j,decls:9,vars:10,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(o["\u0275\u0275projectionDef"](D),o["\u0275\u0275elementStart"](0,"div",0,1),o["\u0275\u0275listener"]("click",(function(){return t.toggle()})),o["\u0275\u0275elementStart"](3,"div",2),o["\u0275\u0275template"](4,P,2,1,"span",3),o["\u0275\u0275template"](5,M,3,2,"span",4),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](6,"div",5),o["\u0275\u0275element"](7,"div",6),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](8,A,4,14,"ng-template",7),o["\u0275\u0275listener"]("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){const e=o["\u0275\u0275reference"](1);o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("ngSwitch",t.empty),o["\u0275\u0275attribute"]("id",t._valueId),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!0),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!1),o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[i.b,r.NgSwitch,r.NgSwitchCase,i.a,r.NgSwitchDefault,r.NgClass],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[N.transformPanelWrap,N.transformPanel]},changeDetection:0}),e})(),W=(()=>{class e{}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[B],imports:[[r.CommonModule,i.f,s.k,s.h],l.a,a.e,s.k,s.h]}),e})()},dNgK:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return S}));var i=n("rDax"),r=n("+rOU"),o=n("ofXK"),s=n("fXoL"),a=n("FKr1"),l=n("bTqV"),c=n("XNiG"),u=n("IzEk"),h=n("1G5W"),d=n("R0Ic"),p=n("u47x"),f=n("0MNC");function m(e,t){if(1&e){const e=s["\u0275\u0275getCurrentView"]();s["\u0275\u0275elementStart"](0,"div",1),s["\u0275\u0275elementStart"](1,"button",2),s["\u0275\u0275listener"]("click",(function(){return s["\u0275\u0275restoreView"](e),s["\u0275\u0275nextContext"]().action()})),s["\u0275\u0275text"](2),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"]()}if(2&e){const e=s["\u0275\u0275nextContext"]();s["\u0275\u0275advance"](2),s["\u0275\u0275textInterpolate"](e.data.action)}}function g(e,t){}const b=new s.InjectionToken("MatSnackBarData");class _{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const v=Math.pow(2,31)-1;class y{constructor(e,t){this._overlayRef=t,this._afterDismissed=new c.a,this._afterOpened=new c.a,this._onAction=new c.a,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(()=>this.dismiss()),e._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(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,v))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let w=(()=>{class e{constructor(e,t){this.snackBarRef=e,this.data=t}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](y),s["\u0275\u0275directiveInject"](b))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,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(e,t){1&e&&(s["\u0275\u0275elementStart"](0,"span"),s["\u0275\u0275text"](1),s["\u0275\u0275elementEnd"](),s["\u0275\u0275template"](2,m,3,1,"div",0)),2&e&&(s["\u0275\u0275advance"](1),s["\u0275\u0275textInterpolate"](t.data.message),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngIf",t.hasAction))},directives:[o.NgIf,l.a],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}\n"],encapsulation:2,changeDetection:0}),e})();const C={snackBarState:Object(d.m)("state",[Object(d.j)("void, hidden",Object(d.k)({transform:"scale(0.8)",opacity:0}
1)),Object(d.j)("visible",Object(d.k)({transform:"scale(1)",opacity:1})),Object(d.l)("* => visible",Object(d.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(d.l)("* => void, * => hidden",Object(d.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(d.k)({opacity:0})))])};let x=(()=>{class e extends r.a{constructor(e,t,n,i){super(),this._ngZone=e,this._elementRef=t,this._changeDetectorRef=n,this.snackBarConfig=i,this._destroyed=!1,this._onExit=new c.a,this._onEnter=new c.a,this._animationState="void",this.attachDomPortal=e=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(e)),this._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert"}attachComponentPortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}onAnimationEnd(e){const{fromState:t,toState:n}=e;if(("void"===n&&"void"!==t||"hidden"===n)&&this._completeExit(),"visible"===n){const e=this._onEnter;this._ngZone.run(()=>{e.next(),e.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Object(u.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(t=>e.classList.add(t)):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.NgZone),s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](_))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var n;1&e&&s["\u0275\u0275staticViewQuery"](r.c,!0),2&e&&s["\u0275\u0275queryRefresh"](n=s["\u0275\u0275loadQuery"]())&&(t._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(e,t){1&e&&s["\u0275\u0275syntheticHostListener"]("@state.done",(function(e){return t.onAnimationEnd(e)})),2&e&&(s["\u0275\u0275attribute"]("role",t._role),s["\u0275\u0275syntheticHostProperty"]("@state",t._animationState))},features:[s["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&s["\u0275\u0275template"](0,g,0,0,"ng-template",0)},directives:[r.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}.cdk-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%}\n"],encapsulation:2,data:{animation:[C.snackBarState]}}),e})(),S=(()=>{class e{}return e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.f,r.g,o.CommonModule,l.b,a.h],a.h]}),e})();const O=new s.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new _}});let k=(()=>{class e{constructor(e,t,n,i,r,o){this._overlay=e,this._live=t,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=o,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=w,this.snackBarContainerComponent=x,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:e,action:t},i.announcementMessage===e&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){const n=s.Injector.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:_,useValue:t}]}),i=new r.d(this.snackBarContainerComponent,t.viewContainerRef,n),o=e.attach(i);return o.instance.snackBarConfig=t,o.instance}_attach(e,t){const n=Object.assign(Object.assign(Object.assign({},new _),this._defaultConfig),t),i=this._createOverlay(n),o=this._attachSnackBarContainer(i,n),a=new y(o,i);if(e instanceof s.TemplateRef){const t=new r.h(e,null,{$implicit:n.data,snackBarRef:a});a.instance=o.attachTemplatePortal(t)}else{const t=this._createInjector(n,a),i=new r.d(e,void 0,t),s=o.attachComponentPortal(i);a.instance=s.instance}return this._breakpointObserver.observe(f.b.HandsetPortrait).pipe(Object(h.a)(i.detachments())).subscribe(e=>{const t=i.overlayElement.classList;e.matches?t.add(this.handsetCssClass):t.remove(this.handsetCssClass)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration)),t.announcementMessage&&this._live.announce(t.announcementMessage,t.politeness)}_createOverlay(e){const t=new i.d;t.direction=e.direction;let n=this._overlay.position().global();const r="rtl"===e.direction,o="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,s=!o&&"center"!==e.horizontalPosition;return o?n.left("0"):s?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}_createInjector(e,t){return s.Injector.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:t},{provide:b,useValue:e.data}]})}}return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](i.c),s["\u0275\u0275inject"](p.k),s["\u0275\u0275inject"](s.Injector),s["\u0275\u0275inject"](f.a),s["\u0275\u0275inject"](e,12),s["\u0275\u0275inject"](O))},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(s["\u0275\u0275inject"])(i.c),Object(s["\u0275\u0275inject"])(p.k),Object(s["\u0275\u0275inject"])(s.INJECTOR),Object(s["\u0275\u0275inject"])(f.a),Ob
1ject(s["\u0275\u0275inject"])(e,12),Object(s["\u0275\u0275inject"])(O))},token:e,providedIn:S}),e})()},e7zE:function(e,t,n){var i,r,o,s,a,l,c,u;e.exports=(u=n("Ib8C"),n("lPiR"),n("WYAk"),s=(r=(i=u).lib).WordArray,l=(a=i.algo).HMAC,c=a.PBKDF2=(o=r.Base).extend({cfg:o.extend({keySize:4,hasher:a.SHA256,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=l.create(n.hasher,e),r=s.create(),o=s.create([1]),a=r.words,c=o.words,u=n.keySize,h=n.iterations;a.length<u;){var d=i.update(t).finalize(o);i.reset();for(var p=d.words,f=p.length,m=d,g=1;g<h;g++){m=i.finalize(m),i.reset();for(var b=m.words,_=0;_<f;_++)p[_]^=b[_]}r.concat(d),c[0]++}return r.sigBytes=4*u,r}}),i.PBKDF2=function(e,t,n){return c.create(n).compute(e,t)},u.PBKDF2)},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("lJxs"),r=n("Cfvw"),o=n("zx2A");function s(e,t){return"function"==typeof t?n=>n.pipe(s((n,o)=>Object(r.a)(e(n,o)).pipe(Object(i.a)((e,i)=>t(n,e,o,i))))):t=>t.lift(new a(e))}class a{constructor(e){this.project=e}call(e,t){return t.subscribe(new l(e,this.project))}}class l extends o.b{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new o.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(o.c)(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},fXoL:function(e,t,n){"use strict";n.r(t),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return Pa})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return rb})),n.d(t,"APP_ID",(function(){return Zg})),n.d(t,"APP_INITIALIZER",(function(){return Qg})),n.d(t,"ApplicationInitStatus",(function(){return Yg})),n.d(t,"ApplicationModule",(function(){return U_})),n.d(t,"ApplicationRef",(function(){return t_})),n.d(t,"Attribute",(function(){return x})),n.d(t,"COMPILER_OPTIONS",(function(){return Sb})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return pi})),n.d(t,"ChangeDetectionStrategy",(function(){return De})),n.d(t,"ChangeDetectorRef",(function(){return ys})),n.d(t,"Compiler",(function(){return xb})),n.d(t,"CompilerFactory",(function(){return Ob})),n.d(t,"Component",(function(){return Ng})),n.d(t,"ComponentFactory",(function(){return dd})),n.d(t,"ComponentFactoryResolver",(function(){return gd})),n.d(t,"ComponentRef",(function(){return hd})),n.d(t,"ContentChild",(function(){return Ma})),n.d(t,"ContentChildren",(function(){return Ta})),n.d(t,"DEFAULT_CURRENCY_CODE",(function(){return lb})),n.d(t,"DebugElement",(function(){return D_})),n.d(t,"DebugEventListener",(function(){return f_})),n.d(t,"DebugNode",(function(){return A_})),n.d(t,"DefaultIterableDiffer",(function(){return Ad})),n.d(t,"Directive",(function(){return jg})),n.d(t,"ElementRef",(function(){return vd})),n.d(t,"EmbeddedViewRef",(function(){return p_})),n.d(t,"ErrorHandler",(function(){return di})),n.d(t,"EventEmitter",(function(){return Pm})),n.d(t,"Host",(function(){return w})),n.d(t,"HostBinding",(function(){return Vg})),n.d(t,"HostListener",(function(){return Bg})),n.d(t,"INJECTOR",(function(){return oe})),n.d(t,"Inject",(function(){return b})),n.d(t,"InjectFlags",(function(){return S})),n.d(t,"Injectable",(function(){return Bs})),n.d(t,"InjectionToken",(function(){return re})),n.d(t,"Injector",(function(){return oa})),n.d(t,"Input",(function(){return Lg})),n.d(t,"IterableDiffers",(function(){return Bd})),n.d(t,"KeyValueDiffers",(function(){return Ud})),n.d(t,"LOCALE_ID",(function(){return ab})),n.d(t,"MissingTranslationStrategy",(function(){return hb})),n.d(t,"ModuleWithComponentFactories",(function(){return fb})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return fi})),n.d(t,"NgModule",(function(){return Kg})),n.d(t,"NgModuleFactory",(function(){return xe})),n.d(t,"NgModuleFactoryLoader",(function(){return i_})),n.d(t,"NgModuleRef",(function(){return Ce})),n.d(t,"NgProbeToken",(function(){return Kb})),n.d(t,"NgZone",(function(){return Pb})),n.d(t,"Optional",(function(){return _})),n.d(t,"Output",(function(){return Fg})),n.d(t,"PACKAGE_ROOT_URL",(function(){return ob})),n.d(t,"PLATFORM_ID",(function(){return ib})),n.d(t,"PLATFORM_INITIALIZER",(function(){return nb})),n.d(t,"Pipe",(function(){return Rg})),n.d(t,"PlatformRef",(function(){return Jb})),n.d(t,"Query",(function(){return Ia})),n.d(t,"QueryList",(function(){return Tm})),n.d(t,"ReflectiveInjector",(function(){return ka})),n.d(t,"ReflectiveKey",(function(){return ua})),n.d(t,"Renderer2",(function(){return Sd})),n.d(t,"RendererFactory2",(function(){return Cd})),n.d(t,"RendererStyleFlags2",(function(){return xd})),n.d(t,"ResolvedReflectiveFactory",(function(){return _a})),n.d(t,"Sanitizer",(function(){return Ed})),n.d(t,"SecurityContext",(function(){return rr})),n.d(t,"Self",(function(){return v})),n.d(t,"SimpleChange",(function(){return _t})),n.d(t,"SkipSelf",(function(){return y}
1)),n.d(t,"SystemJsNgModuleLoader",(function(){return u_})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return l_})),n.d(t,"TRANSLATIONS",(function(){return cb})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return ub})),n.d(t,"TemplateRef",(function(){return qd})),n.d(t,"Testability",(function(){return Rb})),n.d(t,"TestabilityRegistry",(function(){return Lb})),n.d(t,"Type",(function(){return xs})),n.d(t,"VERSION",(function(){return Id})),n.d(t,"Version",(function(){return Pd})),n.d(t,"ViewChild",(function(){return Da})),n.d(t,"ViewChildren",(function(){return Aa})),n.d(t,"ViewContainerRef",(function(){return Xd})),n.d(t,"ViewEncapsulation",(function(){return Re})),n.d(t,"ViewRef",(function(){return d_})),n.d(t,"WrappedValue",(function(){return Cl})),n.d(t,"asNativeElements",(function(){return b_})),n.d(t,"assertPlatform",(function(){return Qb})),n.d(t,"createPlatform",(function(){return Xb})),n.d(t,"createPlatformFactory",(function(){return $b})),n.d(t,"defineInjectable",(function(){return P})),n.d(t,"destroyPlatform",(function(){return Yb})),n.d(t,"enableProdMode",(function(){return Ai})),n.d(t,"forwardRef",(function(){return U})),n.d(t,"getDebugNode",(function(){return P_})),n.d(t,"getModuleFactory",(function(){return s_})),n.d(t,"getPlatform",(function(){return Zb})),n.d(t,"inject",(function(){return be})),n.d(t,"isDevMode",(function(){return Mi})),n.d(t,"platformCore",(function(){return j_})),n.d(t,"resolveForwardRef",(function(){return H})),n.d(t,"setTestabilityGetter",(function(){return Vb})),n.d(t,"\u02750",(function(){return g})),n.d(t,"\u02751",(function(){return C})),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",(function(){return Wb})),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",(function(){return eb})),n.d(t,"\u0275ChangeDetectorStatus",(function(){return je})),n.d(t,"\u0275CodegenComponentFactoryResolver",(function(){return bd})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return wb})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return vb})),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",(function(){return bb})),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",(function(){return mb})),n.d(t,"\u0275ComponentFactory",(function(){return dd})),n.d(t,"\u0275Console",(function(){return sb})),n.d(t,"\u0275DEFAULT_LOCALE_ID",(function(){return sh})),n.d(t,"\u0275EMPTY_ARRAY",(function(){return qp})),n.d(t,"\u0275EMPTY_MAP",(function(){return Wp})),n.d(t,"\u0275INJECTOR_IMPL__POST_R3__",(function(){return ia})),n.d(t,"\u0275INJECTOR_SCOPE",(function(){return zs})),n.d(t,"\u0275LifecycleHooksFeature",(function(){return ll})),n.d(t,"\u0275LocaleDataIndex",(function(){return rh})),n.d(t,"\u0275NG_COMP_DEF",(function(){return Y})),n.d(t,"\u0275NG_DIR_DEF",(function(){return Z})),n.d(t,"\u0275NG_ELEMENT_ID",(function(){return ie})),n.d(t,"\u0275NG_INJ_DEF",(function(){return j})),n.d(t,"\u0275NG_MOD_DEF",(function(){return ee})),n.d(t,"\u0275NG_PIPE_DEF",(function(){return J})),n.d(t,"\u0275NG_PROV_DEF",(function(){return D})),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return Ff})),n.d(t,"\u0275NO_CHANGE",(function(){return Fr})),n.d(t,"\u0275NgModuleFactory",(function(){return im})),n.d(t,"\u0275NoopNgZone",(function(){return Nb})),n.d(t,"\u0275ReflectionCapabilities",(function(){return Is})),n.d(t,"\u0275Render3ComponentFactory",(function(){return Xf})),n.d(t,"\u0275Render3ComponentRef",(function(){return $f})),n.d(t,"\u0275Render3NgModuleRef",(function(){return nm})),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return ws})),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return Ug})),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return Hg})),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return Us})),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return Xg})),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",(function(){return zg})),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return yd})),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",(function(){return db})),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return Od})),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return Wd})),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return $d})),n.d(t,"\u0275_sanitizeHtml",(function(){return nr})),n.d(t,"\u0275_sanitizeUrl",(function(){return Fi})),n.d(t,"\u0275allowSanitizationBypassAndThrow",(function(){return Ci})),n.d(t,"\u0275and",(function(){return H_})),n.d(t,"\u0275angular_packages_core_core_a",(function(){return z})),n.d(t,"\u0275angular_packages_core_core_b",(function(){return fe})),n.d(t,"\u0275angular_packages_core_core_ba",(function(){return Gt})),n.d(t,"\u0275angular_packages_core_core_bb",(function(){return Xt})),n.d(t,"\u0275angular_packages_core_core_bc",(function(){return rn})),n.d(t,"\u0275angular_packages_core_core_bd",(function(){return wn})),n.d(t,"\u0275angular_packages_core_core_bf",(function(){return mm})),n.d(t,"\u0275angular_packages_core_core_bg",(function(){return gm})),n.d(t,"\u0275angular_packages_core_core_bh",(function(){return bm})),n.d(t,"\u0275angular_packages_core_core_bi",(function(){return _m})),n.d(t,"\u0275angular_packages_core_core_bj",(function(){return vm})),n.d(t,"\u0275angular_packages_core_core_bk",(function(){return ur})),n.d(t,"\u0275angular_packages_core_core_bl",(function(){return f})),n.d(t,"\u0275angular_packages_core_core_bm",(function(){return m})),n.d(t,"\u0275angular_packages_core_core_bn",(function(){return O})),n.d(t,"\u0275angular_packages_core_core_bp",(function(){return Br})),n.d(t,"\u0275angular_packages_core_core_bq",(function(){return $h})),n.d(t,"\u0275angular_packages_core_core_c",(function(){return ye})),n.d(t,"\u0275angular_packages_core_core_d",(function(){return Ea})),n.d(t,"\u0275angular_packages_core_core_e",(function(){return ma})),n.d(t,"\u0275angular_packages_core_core_f",(function(){return wa})),n.d(t,"\u0275angular_packages_core_core_g",(function(){return Jg})),n.d(t,"\u0275angular_packages_core_core_h",(function(){return gs}
1)),n.d(t,"\u0275angular_packages_core_core_i",(function(){return bs})),n.d(t,"\u0275angular_packages_core_core_j",(function(){return r_})),n.d(t,"\u0275angular_packages_core_core_k",(function(){return m_})),n.d(t,"\u0275angular_packages_core_core_l",(function(){return g_})),n.d(t,"\u0275angular_packages_core_core_m",(function(){return I_})),n.d(t,"\u0275angular_packages_core_core_n",(function(){return Td})),n.d(t,"\u0275angular_packages_core_core_o",(function(){return Ld})),n.d(t,"\u0275angular_packages_core_core_p",(function(){return N_})),n.d(t,"\u0275angular_packages_core_core_q",(function(){return R_})),n.d(t,"\u0275angular_packages_core_core_r",(function(){return L_})),n.d(t,"\u0275angular_packages_core_core_s",(function(){return V_})),n.d(t,"\u0275angular_packages_core_core_t",(function(){return B_})),n.d(t,"\u0275angular_packages_core_core_u",(function(){return ah})),n.d(t,"\u0275angular_packages_core_core_v",(function(){return Mf})),n.d(t,"\u0275angular_packages_core_core_w",(function(){return ap})),n.d(t,"\u0275angular_packages_core_core_x",(function(){return yt})),n.d(t,"\u0275angular_packages_core_core_y",(function(){return Kf})),n.d(t,"\u0275angular_packages_core_core_z",(function(){return Zn})),n.d(t,"\u0275bypassSanitizationTrustHtml",(function(){return Si})),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",(function(){return Pi})),n.d(t,"\u0275bypassSanitizationTrustScript",(function(){return ki})),n.d(t,"\u0275bypassSanitizationTrustStyle",(function(){return Oi})),n.d(t,"\u0275bypassSanitizationTrustUrl",(function(){return Ei})),n.d(t,"\u0275ccf",(function(){return sf})),n.d(t,"\u0275clearOverrides",(function(){return gy})),n.d(t,"\u0275clearResolutionOfComponentResourcesQueue",(function(){return Fa})),n.d(t,"\u0275cmf",(function(){return by})),n.d(t,"\u0275compileComponent",(function(){return bg})),n.d(t,"\u0275compileDirective",(function(){return _g})),n.d(t,"\u0275compileNgModule",(function(){return sg})),n.d(t,"\u0275compileNgModuleDefs",(function(){return ag})),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",(function(){return zb})),n.d(t,"\u0275compilePipe",(function(){return Ag})),n.d(t,"\u0275createInjector",(function(){return $s})),n.d(t,"\u0275crt",(function(){return mp})),n.d(t,"\u0275defaultIterableDiffers",(function(){return zd})),n.d(t,"\u0275defaultKeyValueDiffers",(function(){return Gd})),n.d(t,"\u0275detectChanges",(function(){return Ua})),n.d(t,"\u0275devModeEqual",(function(){return wl})),n.d(t,"\u0275did",(function(){return Pf})),n.d(t,"\u0275eld",(function(){return z_})),n.d(t,"\u0275findLocaleData",(function(){return Ju})),n.d(t,"\u0275flushModuleScopingQueueAsMuchAsPossible",(function(){return rg})),n.d(t,"\u0275getComponentViewDefinitionFactory",(function(){return af})),n.d(t,"\u0275getDebugNodeR2",(function(){return T_})),n.d(t,"\u0275getDebugNode__POST_R3__",(function(){return E_})),n.d(t,"\u0275getDirectives",(function(){return Xa})),n.d(t,"\u0275getHostElement",(function(){return Qa})),n.d(t,"\u0275getInjectableDef",(function(){return T})),n.d(t,"\u0275getLContext",(function(){return _r})),n.d(t,"\u0275getLocaleCurrencyCode",(function(){return eh})),n.d(t,"\u0275getLocalePluralCase",(function(){return th})),n.d(t,"\u0275getModuleFactory__POST_R3__",(function(){return o_})),n.d(t,"\u0275getSanitizationBypassType",(function(){return xi})),n.d(t,"\u0275global",(function(){return X})),n.d(t,"\u0275initServicesIfNeeded",(function(){return Mv})),n.d(t,"\u0275inlineInterpolate",(function(){return zp})),n.d(t,"\u0275interpolate",(function(){return Hp})),n.d(t,"\u0275isBoundToModule__POST_R3__",(function(){return qb})),n.d(t,"\u0275isDefaultChangeDetectionStrategy",(function(){return Ne})),n.d(t,"\u0275isListLikeIterable",(function(){return xl})),n.d(t,"\u0275isObservable",(function(){return dc})),n.d(t,"\u0275isPromise",(function(){return hc})),n.d(t,"\u0275ivyEnabled",(function(){return pb})),n.d(t,"\u0275makeDecorator",(function(){return d})),n.d(t,"\u0275markDirty",(function(){return Ha})),n.d(t,"\u0275mod",(function(){return Zp})),n.d(t,"\u0275mpd",(function(){return Yp})),n.d(t,"\u0275ncd",(function(){return J_})),n.d(t,"\u0275noSideEffects",(function(){return l})),n.d(t,"\u0275nov",(function(){return _f})),n.d(t,"\u0275overrideComponentView",(function(){return my})),n.d(t,"\u0275overrideProvider",(function(){return fy})),n.d(t,"\u0275pad",(function(){return nv})),n.d(t,"\u0275patchComponentDefWithScope",(function(){return dg})),n.d(t,"\u0275pid",(function(){return If})),n.d(t,"\u0275pod",(function(){return iv})),n.d(t,"\u0275ppd",(function(){return tv})),n.d(t,"\u0275prd",(function(){return Tf})),n.d(t,"\u0275publishDefaultGlobalUtils",(function(){return nl})),n.d(t,"\u0275publishGlobalUtil",(function(){return il})),n.d(t,"\u0275qud",(function(){return X_})),n.d(t,"\u0275registerLocaleData",(function(){return Zu})),n.d(t,"\u0275registerModuleFactory",(function(){return Zf})),n.d(t,"\u0275registerNgModuleType",(function(){return em})),n.d(t,"\u0275renderComponent",(function(){return rl})),n.d(t,"\u0275resetCompiledComponents",(function(){return ug})),n.d(t,"\u0275resetJitOptions",(function(){return eg})),n.d(t,"\u0275resolveComponentResources",(function(){return ja})),n.d(t,"\u0275setClassMetadata",(function(){return Qf})),n.d(t,"\u0275setCurrentInjector",(function(){return de})),n.d(t,"\u0275setDocument",(function(){return Et})),n.d(t,"\u0275setLocaleId",(function(){return hh})),n.d(t,"\u0275store",(function(){return Yl})),n.d(t,"\u0275stringify",(function(){return F})),n.d(t,"\u0275ted",(function(){return ov})),n.d(t,"\u0275transitiveScopesFor",(function(){return pg})),n.d(t,"\u0275unregisterLocaleData",(function(){return ih})),n.d(t,"\u0275unv",(function(){return dp})),n.d(t,"\u0275unwrapSafeValue",(function(){return wi})),n.d(t,"\u0275vid",(function(){return lv})),n.d(t,"\u0275whenRendered",(function(){return cl})),n.d(t,"\u0275\u0275CopyDefinitionFeature",(function(){return _l})),n.d(t,"\u0275\u0275InheritDefinitionFeature",(function(){return hl})),n.d(t,"\u0275\u0275NgOnChangesFeature",(function(){return vt})),n.d(t,"\u0275\u0275ProvidersFeature",(function(){return ud})),n.d(t,"\u0275\u0275advance",(function(){return Gr})),n.d(t,"\u0275\u0275attribute",(function(){return Ml})),n.d(t,"\u0275\u0275attributeInterpolate1",(function(){return Ul})),n.d(t,"\u0275\u0275attributeInterpolate2",(function(){return Hl})),n.d(t,"\u0275\u0275attributeInterpolate3",(function(){return zl})),n.d(t,"\u0275\u0275attributeInterpolate4",(function(){return Gl})),n.d(t,"\u0275\u0275attributeInterpolate5",(function(){return ql})),n.d(t,"\u0275\u0275attributeInterpolate6",(function(){return Wl})),n.d(t,"\u0275\u0275attributeInterpolate7",(function(){return Kl})),n.d(t,"\u0275\u0275attributeInterpolate8",(function(){return Xl})),n.d(t,"\u0275\u0275attributeInterpolateV",(function(){return $l})),n.d(t,"\u0275\u0275classMap",(function(){return Qc})),n.d(t,"\u0275\u0275classMapInterpolate1",(function(){return yu})),n.d(t,"\u0275\u0275classMapInterpolate2",(function(){return wu})),n.d(t,"\u0275\u0275classMapInterpolate3",(function(){return Cu})),n.d(t,"\u0275\u0275classMapInterpolate4",(function(){return xu})),n.d(t,"\u0275\u0275classMapInterpolate5",(function(){return Su})),n.d(t,"\u0275\u0275classMapInterpolate6",(function(){return Ou})),n.d(t,"\u0275\u0275classMapInterpolate7",(function(){return ku})),n.d(t,"\u0275\u0275classMapInterpolate8",(function(){return Eu})),n.d(t,"\u0275\u0275classMapInterpolateV",(function(){return Pu})),n.d(t,"\u0275\u0275classProp",(function(){return Kc})),n.d(t,"\u0275\u0275contentQuery",(function(){return zm})),n.d(t,"\u0275\u0275defineComponent",(function(){return Be})),n.d(t,"\u0275\u0275defineDirective",(function(){return Xe})),n.d(t,"\u0275\u0275defineInjectable",(function(){return E})),n.d(t,"\u0275\u0275defineInjector",(function(){return I})),n.d(t,"\u0275\u0275defineNgModule",(function(){return qe})),n.d(t,"\u0275\u0275definePipe",(function(){return $e})),n.d(t,"\u0275\u0275directiveInject",(function(){return Jl})),n.d(t,"\u0275\u0275disableBindings",(function(){return Kt})),n.d(t,"\u0275\u0275element",(function(){return sc})),n.d(t,"\u0275\u0275elementContainer",(function(){return cc})),n.d(t,"\u0275\u0275elementContainerEnd",(function(){return lc})),n.d(t,"\u0275\u0275elementContainerStart",(function(){return ac})),n.d(t,"\u0275\u0275elementEnd",(function(){return oc})),n.d(t,"\u0275\u0275elementStart",(function(){return rc})),n.d(t,"\u0275\u0275enableBindings",(function(){return Wt})),n.d(t,"\u0275\u0275getCurrentView",(function(){return uc}
1)),n.d(t,"\u0275\u0275getFactoryOf",(function(){return ai})),n.d(t,"\u0275\u0275getInheritedFactory",(function(){return li})),n.d(t,"\u0275\u0275hostProperty",(function(){return Ku})),n.d(t,"\u0275\u0275i18n",(function(){return Zh})),n.d(t,"\u0275\u0275i18nApply",(function(){return td})),n.d(t,"\u0275\u0275i18nAttributes",(function(){return Jh})),n.d(t,"\u0275\u0275i18nEnd",(function(){return Yh})),n.d(t,"\u0275\u0275i18nExp",(function(){return ed})),n.d(t,"\u0275\u0275i18nPostprocess",(function(){return nd})),n.d(t,"\u0275\u0275i18nStart",(function(){return Qh})),n.d(t,"\u0275\u0275inject",(function(){return me})),n.d(t,"\u0275\u0275injectAttribute",(function(){return ec})),n.d(t,"\u0275\u0275injectPipeChangeDetectorRef",(function(){return Ym})),n.d(t,"\u0275\u0275invalidFactory",(function(){return tc})),n.d(t,"\u0275\u0275invalidFactoryDep",(function(){return ge})),n.d(t,"\u0275\u0275listener",(function(){return pc})),n.d(t,"\u0275\u0275loadQuery",(function(){return Wm})),n.d(t,"\u0275\u0275namespaceHTML",(function(){return En})),n.d(t,"\u0275\u0275namespaceMathML",(function(){return kn})),n.d(t,"\u0275\u0275namespaceSVG",(function(){return On})),n.d(t,"\u0275\u0275nextContext",(function(){return _c})),n.d(t,"\u0275\u0275pipe",(function(){return ym})),n.d(t,"\u0275\u0275pipeBind1",(function(){return wm})),n.d(t,"\u0275\u0275pipeBind2",(function(){return Cm})),n.d(t,"\u0275\u0275pipeBind3",(function(){return xm})),n.d(t,"\u0275\u0275pipeBind4",(function(){return Sm})),n.d(t,"\u0275\u0275pipeBindV",(function(){return Om})),n.d(t,"\u0275\u0275projection",(function(){return xc})),n.d(t,"\u0275\u0275projectionDef",(function(){return yc})),n.d(t,"\u0275\u0275property",(function(){return nc})),n.d(t,"\u0275\u0275propertyInterpolate",(function(){return Sc})),n.d(t,"\u0275\u0275propertyInterpolate1",(function(){return Oc})),n.d(t,"\u0275\u0275propertyInterpolate2",(function(){return kc})),n.d(t,"\u0275\u0275propertyInterpolate3",(function(){return Ec})),n.d(t,"\u0275\u0275propertyInterpolate4",(function(){return Pc})),n.d(t,"\u0275\u0275propertyInterpolate5",(function(){return Ic})),n.d(t,"\u0275\u0275propertyInterpolate6",(function(){return Tc})),n.d(t,"\u0275\u0275propertyInterpolate7",(function(){return Mc})),n.d(t,"\u0275\u0275propertyInterpolate8",(function(){return Ac})),n.d(t,"\u0275\u0275propertyInterpolateV",(function(){return Dc})),n.d(t,"\u0275\u0275pureFunction0",(function(){return rm})),n.d(t,"\u0275\u0275pureFunction1",(function(){return om})),n.d(t,"\u0275\u0275pureFunction2",(function(){return sm})),n.d(t,"\u0275\u0275pureFunction3",(function(){return am})),n.d(t,"\u0275\u0275pureFunction4",(function(){return lm})),n.d(t,"\u0275\u0275pureFunction5",(function(){return cm})),n.d(t,"\u0275\u0275pureFunction6",(function(){return um})),n.d(t,"\u0275\u0275pureFunction7",(function(){return hm})),n.d(t,"\u0275\u0275pureFunction8",(function(){return dm})),n.d(t,"\u0275\u0275pureFunctionV",(function(){return pm})),n.d(t,"\u0275\u0275queryRefresh",(function(){return Vm})),n.d(t,"\u0275\u0275reference",(function(){return Zl})),n.d(t,"\u0275\u0275resolveBody",(function(){return mt})),n.d(t,"\u0275\u0275resolveDocument",(function(){return ft})),n.d(t,"\u0275\u0275resolveWindow",(function(){return pt})),n.d(t,"\u0275\u0275restoreView",(function(){return Qt})),n.d(t,"\u0275\u0275sanitizeHtml",(function(){return or})),n.d(t,"\u0275\u0275sanitizeResourceUrl",(function(){return lr})),n.d(t,"\u0275\u0275sanitizeScript",(function(){return cr})),n.d(t,"\u0275\u0275sanitizeStyle",(function(){return sr})),n.d(t,"\u0275\u0275sanitizeUrl",(function(){return ar})),n.d(t,"\u0275\u0275sanitizeUrlOrResourceUrl",(function(){return hr})),n.d(t,"\u0275\u0275setComponentScope",(function(){return Ue})),n.d(t,"\u0275\u0275setNgModuleScope",(function(){return We})),n.d(t,"\u0275\u0275staticContentQuery",(function(){return Gm})),n.d(t,"\u0275\u0275staticViewQuery",(function(){return Bm})),n.d(t,"\u0275\u0275styleMap",(function(){return Xc})),n.d(t,"\u0275\u0275styleMapInterpolate1",(function(){return Iu})),n.d(t,"\u0275\u0275styleMapInterpolate2",(function(){return Tu})),n.d(t,"\u0275\u0275styleMapInterpolate3",(function(){return Mu})),n.d(t,"\u0275\u0275styleMapInterpolate4",(function(){return Au})),n.d(t,"\u0275\u0275styleMapInterpolate5",(function(){return Du})),n.d(t,"\u0275\u0275styleMapInterpolate6",(function(){return ju})),n.d(t,"\u0275\u0275styleMapInterpolate7",(function(){return Nu})),n.d(t,"\u0275\u0275styleMapInterpolate8",(function(){return Ru})),n.d(t,"\u0275\u0275styleMapInterpolateV",(function(){return Lu})),n.d(t,"\u0275\u0275styleProp",(function(){return Wc})),n.d(t,"\u0275\u0275stylePropInterpolate1",(function(){return Fu})),n.d(t,"\u0275\u0275stylePropInterpolate2",(function(){return Vu})),n.d(t,"\u0275\u0275stylePropInterpolate3",(function(){return Bu})),n.d(t,"\u0275\u0275stylePropInterpolate4",(function(){return Uu})),n.d(t,"\u0275\u0275stylePropInterpolate5",(function(){return Hu})),n.d(t,"\u0275\u0275stylePropInterpolate6",(function(){return zu})),n.d(t,"\u0275\u0275stylePropInterpolate7",(function(){return Gu})),n.d(t,"\u0275\u0275stylePropInterpolate8",(function(){return qu})),n.d(t,"\u0275\u0275stylePropInterpolateV",(function(){return Wu})),n.d(t,"\u0275\u0275syntheticHostListener",(function(){return fc})),n.d(t,"\u0275\u0275syntheticHostProperty",(function(){return Xu})),n.d(t,"\u0275\u0275template",(function(){return Ql})),n.d(t,"\u0275\u0275templateRefExtractor",(function(){return Qm})),n.d(t,"\u0275\u0275text",(function(){return cu})),n.d(t,"\u0275\u0275textInterpolate",(function(){return uu})),n.d(t,"\u0275\u0275textInterpolate1",(function(){return hu})),n.d(t,"\u0275\u0275textInterpolate2",(function(){return du})),n.d(t,"\u0275\u0275textInterpolate3",(function(){return pu})),n.d(t,"\u0275\u0275textInterpolate4",(function(){return fu})),n.d(t,"\u0275\u0275textInterpolate5",(function(){return mu})),n.d(t,"\u0275\u0275textInterpolate6",(function(){return gu})),n.d(t,"\u0275\u0275textInterpolate7",(function(){return bu})),n.d(t,"\u0275\u0275textInterpolate8",(function(){return _u})),n.d(t,"\u0275\u0275textInterpolateV",(function(){return vu})),n.d(t,"\u0275\u0275viewQuery",(function(){return Um}));var i=n("XNiG"),r=n("quSY"),o=n("HDdC"),s=n("VRyK"),a=n("w1tV");function l(e){return{toString:e}.toString()}const c="__annotations__",u="__parameters__",h="__prop__metadata__";function d(e,t,n,i,r){return l(()=>{const o=p(t);function s(...e){if(this instanceof s)return o.call(this,...e),this;const t=new s(...e);return function(n){return r&&r(n,...e),(n.hasOwnProperty(c)?n[c]:Object.defineProperty(n,c,{value:[]})[c]).push(t),i&&i(n),n}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function p(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function f(e,t,n){return l(()=>{const i=p(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty(u)?e[u]:Object.defineProperty(e,u,{value:[]})[u];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function m(e,t,n,i){return l(()=>{const r=p(t);function o(...e){if(this instanceof o)return r.apply(this,e),this;const t=new o(...e);return function(n,r){const o=n.constructor,s=o.hasOwnProperty(h)?o[h]:Object.defineProperty(o,h,{value:{}})[h];s[r]=s.hasOwnProperty(r)&&s[r]||[],s[r].unshift(t),i&&i(n,r,...e)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const g=e=>({token:e}),b=f("Inject",g),_=f("Optional"),v=f("Self"),y=f("SkipSelf"),w=f("Host"),C=e=>({attributeName:e}),x=f("Attribute",C);var S=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function k(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const P=E;function I(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function T(e){return M(e,e[D])||M(e,e[R])}function M(e,t){return t&&t.token===e?t:null}function A(e){return e&&(e.hasOwnProperty(j)||e.hasOwnProperty(L))?e[j]:null}const D=O({"\u0275prov":O}),j=O({"\u0275inj":O}),N=O({"\u0275provFallback":O}),R=O({ngInjectableDef:O}),L=O({ngInjectorDef:O});function F(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(F).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function V(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const B=O({__forward_ref__:O});function U(e){return e.__forward_ref__=U,e.toString=function(){return F(this())},e}function H(e){return z(e)?e():e}function z(e){return"function"==typeof e&&e.hasOwnProperty(B)&&e.__forward_ref__===U}const G="undefined"!=typeof globalThis&&globalThis,q="undefined"!=typeof window&&window,W="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,K="undefined"!=typeof global&&global,X=G||K||q||W;var $=function(e){return e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid",e}({});function Q(){const e=X.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}const Y=O({"\u0275cmp":O}),Z=O({"\u0275dir":O}),J=O({"\u0275pipe":O}),ee=O({"\u0275mod":O}),te=O({"\u0275loc":O}),ne=O({"\u0275fac":O}),ie=O({__NG_ELEMENT_ID__:O});class re{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const oe=new re("INJECTOR",-1),se={},ae=/\n/gm,le="__source",ce=O({provide:String,useValue:O});let ue,he=void 0;function de(e){const t=he;return he=e,t}function pe(e){const t=ue;return ue=e,t}
1function fe(e,t=S.Default){if(void 0===he)throw new Error("inject() must be called from an injection context");return null===he?_e(e,void 0,t):he.get(e,t&S.Optional?null:void 0,t)}function me(e,t=S.Default){return(ue||fe)(H(e),t)}function ge(e){throw new Error("invalid")}const be=me;function _e(e,t,n){const i=T(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&S.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${F(e)}]`)}function ve(e){const t=[];for(let n=0;n<e.length;n++){const i=H(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=S.Default;for(let t=0;t<i.length;t++){const r=i[t];r instanceof _||"Optional"===r.ngMetadataName||r===_?n|=S.Optional:r instanceof y||"SkipSelf"===r.ngMetadataName||r===y?n|=S.SkipSelf:r instanceof v||"Self"===r.ngMetadataName||r===v?n|=S.Self:e=r instanceof b||r===b?r.token:r}t.push(me(e,n))}else t.push(me(i))}return t}class ye{get(e,t=se){if(t===se){const t=new Error(`NullInjectorError: No provider for ${F(e)}!`);throw t.name="NullInjectorError",t}return t}}const we={"\u0275\u0275defineInjectable":E,"\u0275\u0275defineInjector":I,"\u0275\u0275inject":me,"\u0275\u0275getFactoryOf":function e(t){const n=t;if(z(t))return()=>{const t=e(H(n));return t?t():null};const i=T(n)||A(n);return i&&void 0!==i.factory?i.factory:null},"\u0275\u0275invalidFactoryDep":ge};class Ce{}class xe{}function Se(e,t){for(let n=0;n<e.length;n++)t.push(e[n])}function Oe(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),Oe(i,t)):t!==e&&t.push(i)}return t}function ke(e,t){e.forEach(e=>Array.isArray(e)?ke(e,t):t(e))}function Ee(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Pe(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ie(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Te(e,t,n){let i=Ae(e,t);return i>=0?e[1|i]=n:(i=~i,function(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Me(e,t){const n=Ae(e,t);if(n>=0)return e[1|n]}function Ae(e,t){return function(e,t,n){let i=0,r=e.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=e[n<<1];if(t===o)return n<<1;o>t?r=n:i=n+1}return~(r<<1)}(e,t)}var De=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),je=function(e){return e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed",e}({});function Ne(e){return null==e||e===De.Default}var Re=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const Le={},Fe=[];let Ve=0;function Be(e){return l(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===De.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Fe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Re.Emulated,id:"c",styles:e.styles||Fe,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=Ve++,n.inputs=Ke(e.inputs,t),n.outputs=Ke(e.outputs),r&&r.forEach(e=>e(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(He):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(ze):null,n})}function Ue(e,t,n){const i=e.\u0275cmp;i.directiveDefs=()=>t.map(He),i.pipeDefs=()=>n.map(ze)}function He(e){return Qe(e)||Ye(e)}function ze(e){return Ze(e)}const Ge={};function qe(e){const t={type:e.type,bootstrap:e.bootstrap||Fe,declarations:e.declarations||Fe,imports:e.imports||Fe,exports:e.exports||Fe,transitiveCompileScopes:null,
1schemas:e.schemas||null,id:e.id||null};return null!=e.id&&l(()=>{Ge[e.id]=e.type}),t}function We(e,t){return l(()=>{const n=et(e,!0);n.declarations=t.declarations||Fe,n.imports=t.imports||Fe,n.exports=t.exports||Fe})}function Ke(e,t){if(null==e)return Le;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const Xe=Be;function $e(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Qe(e){return e[Y]||null}function Ye(e){return e[Z]||null}function Ze(e){return e[J]||null}function Je(e,t){return e.hasOwnProperty(ne)?e[ne]:null}function et(e,t){const n=e[ee]||null;if(!n&&!0===t)throw new Error(`Type ${F(e)} does not have '\u0275mod' property.`);return n}const tt=20,nt=10;function it(e){return Array.isArray(e)&&"object"==typeof e[1]}function rt(e){return Array.isArray(e)&&!0===e[1]}function ot(e){return 0!=(8&e.flags)}function st(e){return 2==(2&e.flags)}function at(e){return 1==(1&e.flags)}function lt(e){return null!==e.template}function ct(e){return 0!=(512&e[2])}function ut(e){return"string"==typeof e?e:null==e?"":""+e}function ht(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ut(e)}const dt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(X))();function pt(e){return{name:"window",target:e.ownerDocument.defaultView}}function ft(e){return{name:"document",target:e.ownerDocument}}function mt(e){return{name:"body",target:e.ownerDocument.body}}function gt(e){return e instanceof Function?e():e}function bt(e,t){const n=t?" in "+t:"";throw new Error(`No provider for ${ht(e)} found${n}`)}class _t{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function vt(){return yt}function yt(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ct),wt}function wt(){const e=xt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Le)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Ct(e,t,n,i){const r=xt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Le,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new _t(l&&l.currentValue,t,s===Le),e[i]=t}function xt(e){return e.__ngSimpleChanges__||null}vt.ngInherit=!0;const St="http://www.w3.org/2000/svg",Ot="http://www.w3.org/1998/MathML/";let kt=void 0;function Et(e){kt=e}function Pt(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function It(e){return!!e.listen}const Tt={createRenderer:(e,t)=>Pt()};function Mt(e){for(;Array.isArray(e);)e=e[0];return e}function At(e,t){return Mt(t[e+tt])}function Dt(e,t){return Mt(t[e.index])}function jt(e,t){return e.data[t+tt]}function Nt(e,t){return e[t+tt]}function Rt(e,t){const n=t[e];return it(n)?n:n[0]}function Lt(e){return e.__ngContext__||null}function Ft(e){const t=Lt(e);return t?Array.isArray(t)?t:t.lView:null}function Vt(e){return 4==(4&e[2])}function Bt(e){return 128==(128&e[2])}function Ut(e,t){return null===e||null==t?null:e[t]}function Ht(e){e[18]=0}function zt(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Gt={lFrame:bn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function qt(){return Gt.bindingsEnabled}function Wt(){Gt.bindingsEnabled=!0}function Kt(){Gt.bindingsEnabled=!1}function Xt(){return Gt.lFrame.lView}function $t(){return Gt.lFrame.tView}function Qt(e){Gt.lFrame.contextLView=e}function Yt(){return Gt.lFrame.currentTNode}function Zt(e,t){Gt.lFrame.currentTNode=e,Gt.lFrame.isParent=t}function Jt(){return Gt.lFrame.isParent}function en(){Gt.lFrame.isParent=!1}function tn(){return Gt.isInCheckNoChangesMode}function nn(e){Gt.isInCheckNoChangesMode=e}function rn(){const e=Gt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function on(){return Gt.lFrame.bindingIndex}function sn(e){return Gt.lFrame.bindingIndex=e}function an(){return Gt.lFrame.bindingIndex++}function ln(e){const t=Gt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function cn(e,t){const n=Gt.lFrame;n.bindingIndex=n.bindingRootIndex=e,un(t)}function un(e){Gt.lFrame.currentDirectiveIndex=e}function hn(e){const t=Gt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function dn(){return Gt.lFrame.currentQueryIndex}function pn(e){Gt.lFrame.currentQueryIndex=e}function fn(e,t){const n=gn();Gt.lFrame=n,n.currentTNode=t,n.lView=e}function mn(e){const t=gn(),n=e[1];
1Gt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function gn(){const e=Gt.lFrame,t=null===e?null:e.child;return null===t?bn(e):t}function bn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function _n(){const e=Gt.lFrame;return Gt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const vn=_n;function yn(){const e=_n();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function wn(e){return(Gt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Gt.lFrame.contextLView))[8]}function Cn(){return Gt.lFrame.selectedIndex}function xn(e){Gt.lFrame.selectedIndex=e}function Sn(){const e=Gt.lFrame;return jt(e.tView,e.selectedIndex)}function On(){Gt.lFrame.currentNamespace=St}function kn(){Gt.lFrame.currentNamespace=Ot}function En(){Gt.lFrame.currentNamespace=null}function Pn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:r,ngAfterViewInit:o,ngAfterViewChecked:s,ngOnDestroy:a}=t;i&&(e.contentHooks||(e.contentHooks=[])).push(-n,i),r&&((e.contentHooks||(e.contentHooks=[])).push(n,r),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,r)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),s&&((e.viewHooks||(e.viewHooks=[])).push(n,s),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,s)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function In(e,t,n){An(e,t,3,n)}function Tn(e,t,n,i){(3&e[2])===n&&An(e,t,n,i)}function Mn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function An(e,t,n,i){const r=null!=i?i:-1;let o=0;for(let s=void 0!==i?65535&e[18]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=i&&o>=i)break}else t[s]<0&&(e[18]+=65536),(o<r||-1==r)&&(Dn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function Dn(e,t,n,i){const r=n[i]<0,o=n[i+1],s=e[r?-n[i]:n[i]];r?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}const jn=-1;class Nn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Rn(e,t,n){const i=It(e);let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],a=n[r++],l=n[r++];i?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=o,a=n[++r];Fn(s)?i&&e.setProperty(t,s,a):i?e.setAttribute(t,s,a):t.setAttribute(s,a),r++}}return r}function Ln(e){return 3===e||4===e||6===e}function Fn(e){return 64===e.charCodeAt(0)}function Vn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Bn(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Bn(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function Un(e){return e!==jn}function Hn(e){return 32767&e}function zn(e,t){let n=e>>16,i=t;for(;n>0;)i=i[15],n--;return i}let Gn=!0;function qn(e){const t=Gn;return Gn=e,t}let Wn=0;function Kn(e,t){const n=$n(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Xn(i.data,e),Xn(t,null),Xn(i.blueprint,null));const r=Qn(e,t),o=e.injectorIndex;if(Un(r)){const e=Hn(r),n=zn(r,t),i=n[1].data;for(let r=0;r<8;r++)t[o+r]=n[e+r]|i[e+r]}return t[o+8]=r,o}function Xn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $n(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const e=r[1],t=e.type;if(i=2===t?e.declTNode:1===t?r[6]:null,null===i)return jn;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return jn}
1function Yn(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ie)&&(i=n[ie]),null==i&&(i=n[ie]=Wn++);const r=255&i,o=1<<r,s=64&r,a=32&r,l=t.data;128&r?s?a?l[e+7]|=o:l[e+6]|=o:a?l[e+5]|=o:l[e+4]|=o:s?a?l[e+3]|=o:l[e+2]|=o:a?l[e+1]|=o:l[e]|=o}(e,t,n)}function Zn(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const r=n[i];if(Ln(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(r===t)return n[i+1];i+=2}}}return null}function Jn(e,t,n,i=S.Default,r){if(null!==e){const r=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ie)?e[ie]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof r){fn(t,e);try{const e=r();if(null!=e||i&S.Optional)return e;bt(n)}finally{vn()}}else if("number"==typeof r){if(-1===r)return new si(e,t);let o=null,s=$n(e,t),a=jn,l=i&S.Host?t[16][6]:null;for((-1===s||i&S.SkipSelf)&&(a=-1===s?Qn(e,t):t[s+8],a!==jn&&oi(i,!1)?(o=t[1],s=Hn(a),t=zn(a,t)):s=-1);-1!==s;){const e=t[1];if(ri(r,s,e.data)){const e=ti(s,t,n,o,i,l);if(e!==ei)return e}a=t[s+8],a!==jn&&oi(i,t[1].data[s+8]===l)&&ri(r,s,t)?(o=e,s=Hn(a),t=zn(a,t)):s=-1}}}if(i&S.Optional&&void 0===r&&(r=null),0==(i&(S.Self|S.Host))){const e=t[9],o=pe(void 0);try{return e?e.get(n,r,i&S.Optional):_e(n,r,i&S.Optional)}finally{pe(o)}}if(i&S.Optional)return r;bt(n,"NodeInjector")}const ei={};function ti(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],l=ni(a,s,n,null==i?st(a)&&Gn:i!=s&&2===a.type,r&S.Host&&o===a);return null!==l?ii(t,s,l,a):ei}function ni(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,c=o>>20,u=r?a+c:e.directiveEnd;for(let h=i?a:a+c;h<u;h++){const e=s[h];if(h<l&&n===e||h>=l&&e.type===n)return h}if(r){const e=s[l];if(e&&lt(e)&&e.type===n)return l}return null}function ii(e,t,n,i){let r=e[n];const o=t.data;if(r instanceof Nn){const s=r;s.resolving&&function(e,t){throw new Error("Circular dependency in DI detected for "+e)}(ht(o[n]));const a=qn(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?pe(s.injectImpl):null;fn(e,i);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const i=yt(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==l&&pe(l),qn(a),s.resolving=!1,vn()}}return r}function ri(e,t,n){const i=64&e,r=32&e;let o;return o=128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t],!!(o&1<<e)}function oi(e,t){return!(e&S.Self||e&S.Host&&t)}class si{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Jn(this._tNode,this._lView,e,void 0,t)}}function ai(e){const t=e;if(z(e))return()=>{const e=ai(H(t));return e?e():null};let n=Je(t);if(null===n){const e=A(t);n=e&&e.factory}return n||null}function li(e){return l(()=>{const t=e.prototype.constructor,n=t[ne]||ai(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[ne]||ai(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function ci(e){return e.ngDebugContext}function ui(e){return e.ngOriginalError}function hi(e,...t){e.error(...t)}class di{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||hi}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?ci(e)?ci(e):this._findContext(ui(e)):null}_findOriginalError(e){let t=ui(e);for(;t&&ui(t);)t=ui(t);return t}}const pi={name:"custom-elements"},fi={name:"no-errors-schema"};class mi{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class gi extends mi{getTypeName(){return"HTML"}}class bi extends mi{getTypeName(){return"Style"}}
1class _i extends mi{getTypeName(){return"Script"}}class vi extends mi{getTypeName(){return"URL"}}class yi extends mi{getTypeName(){return"ResourceURL"}}function wi(e){return e instanceof mi?e.changingThisBreaksApplicationSecurity:e}function Ci(e,t){const n=xi(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}function xi(e){return e instanceof mi&&e.getTypeName()||null}function Si(e){return new gi(e)}function Oi(e){return new bi(e)}function ki(e){return new _i(e)}function Ei(e){return new vi(e)}function Pi(e){return new yi(e)}let Ii=!0,Ti=!1;function Mi(){return Ti=!0,Ii}function Ai(){if(Ti)throw new Error("Cannot enable prod mode after platform setup.");Ii=!1}function Di(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new ji:new Ni(e)}class ji{getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class Ni{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0<i;i--){const n=t.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Ri=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Li=/^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 Fi(e){return(e=String(e)).match(Ri)||e.match(Li)?e:(Mi()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Vi(e){return(e=String(e)).split(",").map(e=>Fi(e.trim())).join(", ")}function Bi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ui(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Hi=Bi("area,br,col,hr,img,wbr"),zi=Bi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gi=Bi("rp,rt"),qi=Ui(Gi,zi),Wi=Ui(Hi,Ui(zi,Bi("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")),Ui(Gi,Bi("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")),qi),Ki=Bi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xi=Bi("srcset"),$i=Ui(Ki,Xi,Bi("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"),Bi("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")),Qi=Bi("script,style,template");class Yi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Wi.hasOwnProperty(t))return this.sanitizedSomething=!0,!Qi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i<n.length;i++){const e=n.item(i),t=e.name,r=t.toLowerCase();if(!$i.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=e.value;Ki[r]&&(o=Fi(o)),Xi[r]&&(o=Vi(o)),this.buf.push(" ",t,'="',er(o),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Wi.hasOwnProperty(t)&&!Hi.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(er(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const Zi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ji=/([^\#-~ |!])/g;function er(e){return e.replace(/&/g,"&amp;").replace(Zi,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Ji,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let tr;function nr(e,t){let n=null;try{tr=tr||Di(e);let i=t?String(t):"";n=tr.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=tr.getInertBodyElement(i)}while(i!==o);const s=new Yi,a=s.sanitizeChildren(ir(n)||n);return Mi()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=ir(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}
1function ir(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var rr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function or(e){const t=dr();return t?t.sanitize(rr.HTML,e)||"":Ci(e,"HTML")?wi(e):nr(Pt(),ut(e))}function sr(e){const t=dr();return t?t.sanitize(rr.STYLE,e)||"":Ci(e,"Style")?wi(e):ut(e)}function ar(e){const t=dr();return t?t.sanitize(rr.URL,e)||"":Ci(e,"URL")?wi(e):Fi(ut(e))}function lr(e){const t=dr();if(t)return t.sanitize(rr.RESOURCE_URL,e)||"";if(Ci(e,"ResourceURL"))return wi(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function cr(e){const t=dr();if(t)return t.sanitize(rr.SCRIPT,e)||"";if(Ci(e,"Script"))return wi(e);throw new Error("unsafe value used in a script context")}function ur(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?lr:ar}function hr(e,t,n){return ur(t,n)(e)}function dr(){const e=Xt();return e&&e[12]}const pr=/^>|^->|<!--|-->|--!>|<!-$/g,fr=/(<|>)/;function mr(e){return e.replace(pr,e=>e.replace(fr,"\u200b$1\u200b"))}const gr=/([A-Z])/g;function br(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function _r(e){let t=Lt(e);if(t){if(Array.isArray(t)){const i=t;let r,o=void 0,s=void 0;if((n=e)&&n.constructor&&n.constructor.\u0275cmp){if(r=Sr(i,e),-1==r)throw new Error("The provided component was not found in the application");o=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function(e,t){let n=e[1].firstChild;for(;n;){const i=n.directiveEnd;for(let r=n.directiveStart;r<i;r++)if(e[r]===t)return n.index;n=xr(n)}return-1}(i,e),-1==r)throw new Error("The provided directive was not found in the application");s=Or(r,i,!1)}else if(r=Cr(i,e),-1==r)return null;const a=Mt(i[r]),l=Lt(a),c=l&&!Array.isArray(l)?l:vr(i,r,a);if(o&&void 0===c.component&&(c.component=o,wr(c.component,c)),s&&void 0===c.directives){c.directives=s;for(let e=0;e<s.length;e++)wr(s[e],c)}wr(c.native,c),t=c}}else{const n=e;let i=n;for(;i=i.parentNode;){const e=Lt(i);if(e){let i;if(i=Array.isArray(e)?e:e.lView,!i)return null;const r=Cr(i,n);if(r>=0){const e=Mt(i[r]),n=vr(i,r,e);wr(e,n),t=n;break}}}}var n;return t||null}function vr(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function yr(e){let t,n=Lt(e);if(Array.isArray(n)){const i=Sr(n,e);t=Rt(i,n);const r=vr(n,i,t[0]);r.component=e,wr(e,r),wr(r.native,r)}else t=Rt(n.nodeIndex,n.lView);return t}function wr(e,t){e.__ngContext__=t}function Cr(e,t){const n=e[1];for(let i=tt;i<n.bindingStartIndex;i++)if(Mt(e[i])===t)return i;return-1}function xr(e){if(e.child&&e.child.parent===e)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Sr(e,t){const n=e[1].components;if(n)for(let i=0;i<n.length;i++){const r=n[i];if(Rt(r,e)[8]===t)return r}else if(Rt(tt,e)[8]===t)return tt;return-1}function Or(e,t,n){const i=t[1].data[e];let r=i.directiveStart;return 0==r?Fe:(!n&&2&i.flags&&r++,t.slice(r,i.directiveEnd))}function kr(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===i||e.charCodeAt(r+n)<=32)return r}n=r+1}}const Er="ng-template";function Pr(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==kr(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Ir(e){return 0===e.type&&e.tagName!==Er}function Tr(e,t,n){return t===(0!==e.type||n?e.tagName:Er)}function Mr(e,t,n){let i=4;const r=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if(Ln(e[t]))return t;return e.length}(r);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!Tr(e,l,n)||""===l&&1===t.length){if(Ar(i))return!1;s=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!Pr(e.attrs,c,n)){if(Ar(i))return!1;s=!0}continue}const u=Dr(8&i?"class":l,r,Ir(e),n);if(-1===u){if(Ar(i))return!1;s=!0;continue}if(""!==c){let e;e=u>o?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==kr(t,c,0)||2&i&&c!==e){if(Ar(i))return!1;s=!0}}}}else{if(!s&&!Ar(i)&&!Ar(l))return!1;if(s&&Ar(l))continue;s=!1,i=l|1&i}}return Ar(i)||s}function Ar(e){return 0==(1&e)}function Dr(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r<t.length;){const i=t[r];
1if(i===e)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++r];for(;"string"==typeof e;)e=t[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function jr(e,t,n=!1){for(let i=0;i<t.length;i++)if(Mr(e,t[i],n))return!0;return!1}function Nr(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function Rr(e,t){return e?":not("+t.trim()+")":t}function Lr(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const t=e[++n];r+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||Ar(s)||(t+=Rr(o,r),r=""),i=s,o=o||!Ar(i);n++}return""!==r&&(t+=Rr(o,r)),t}const Fr={};function Vr(e){const t=e[3];return rt(t)?t[3]:t}function Br(e){return function(e){let t=it(e)?e:Ft(e);for(;t&&!(512&t[2]);)t=Vr(t);return t}(e)[8]}function Ur(e){return zr(e[13])}function Hr(e){return zr(e[4])}function zr(e){for(;null!==e&&!rt(e);)e=e[4];return e}function Gr(e){qr($t(),Xt(),Cn()+e,tn())}function qr(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&In(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Tn(t,i,0,n)}xn(n)}function Wr(e,t){return e<<17|t<<2}function Kr(e){return e>>17&32767}function Xr(e){return 2|e}function $r(e){return(131068&e)>>2}function Qr(e,t){return-131069&e|t<<2}function Yr(e){return 1|e}const Zr=(()=>Promise.resolve(null))();function Jr(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],o=n[i+1];if(-1!==o){const n=e.data[o];pn(r),n.contentQueries(2,t[o],o)}}}function eo(e,t,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function to(e,t,n,i,r,o,s,a,l,c){const u=t.blueprint.slice();return u[0]=r,u[2]=140|i,Ht(u),u[3]=u[15]=e,u[8]=n,u[10]=s||e&&e[10],u[11]=a||e&&e[11],u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=o,u[16]=2==t.type?e[16]:u,u}function no(e,t,n,i,r){const o=t+tt,s=e.data[o]||function(e,t,n,i,r){const o=Yt(),s=Jt(),a=e.data[t]=function(e,t,n,i,r,o){return{type:n,index:i,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=a),null!==o&&(s&&null==o.child&&null!==a.parent?o.child=a:s||(o.next=a)),a}(e,o,n,i,r);return Zt(s,!0),s}function io(e,t,n){mn(t);try{const i=e.viewQuery;null!==i&&Fo(1,i,n);const r=e.template;null!==r&&so(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Jr(e,t),e.staticViewQueries&&Fo(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)Ao(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),i}finally{t[2]&=-5,yn()}}function ro(e,t,n,i){const r=t[2];if(256==(256&r))return;mn(t);const o=tn();try{Ht(t),sn(e.bindingStartIndex),null!==n&&so(e,t,n,2,i);const s=3==(3&r);if(!o)if(s){const n=e.preOrderCheckHooks;null!==n&&In(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Tn(t,n,0,null),Mn(t,0)}if(function(e){for(let t=Ur(e);null!==t;t=Hr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],i=n[3];0==(1024&n[2])&&zt(i,1),n[2]|=1024}}}(t),function(e){for(let t=Ur(e);null!==t;t=Hr(t))for(let e=nt;e<t.length;e++){const n=t[e],i=n[1];Bt(n)&&ro(i,n,i.template,n[8])}}(t),null!==e.contentQueries&&Jr(e,t),!o)if(s){const n=e.contentCheckHooks;null!==n&&In(t,n)}else{const n=e.contentHooks;null!==n&&Tn(t,n,1),Mn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let i=e.expandoStartIndex,r=-1,o=-1;for(let e=0;e<n.length;e++){const s=n[e];"number"==typeof s?s<=0?(o=0-s,xn(o),i+=9+n[++e],r=i):i+=s:(null!==s&&(cn(i,r),s(2,t[r])),r++)}}}finally{xn(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Mo(e,t[n])}(t,a);const l=e.viewQuery;
1if(null!==l&&Fo(2,l,i),!o)if(s){const n=e.viewCheckHooks;null!==n&&In(t,n)}else{const n=e.viewHooks;null!==n&&Tn(t,n,2),Mn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,zt(t[3],-1))}finally{yn()}}function oo(e,t,n,i){const r=t[10],o=!tn(),s=Vt(t);try{o&&!s&&r.begin&&r.begin(),s&&io(e,t,i),ro(e,t,n,i)}finally{o&&!s&&r.end&&r.end()}}function so(e,t,n,i,r){const o=Cn();try{xn(-1),2&i&&t.length>tt&&qr(e,t,0,tn()),n(i,r)}finally{xn(o)}}function ao(e,t,n){if(ot(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r<i;r++){const t=e.data[r];t.contentQueries&&t.contentQueries(1,n[r],r)}}}function lo(e,t,n){qt()&&(function(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Kn(n,t),wr(i,t);const s=n.initialInputs;for(let a=r;a<o;a++){const i=e.data[a],o=lt(i);o&&ko(t,n,i);const l=ii(t,e,a,n);wr(l,t),null!==s&&Po(0,a-r,l,i,0,s),o&&(Rt(n.index,t)[8]=l)}}(e,t,n,Dt(n,t)),128==(128&n.flags)&&function(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=e.expandoInstructions,s=e.firstCreatePass,a=n.index-tt,l=Gt.lFrame.currentDirectiveIndex;try{xn(a);for(let n=i;n<r;n++){const i=e.data[n],r=t[n];un(n),null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs?yo(i,r):s&&o.push(null)}}finally{xn(-1),un(l)}}(e,t,n))}function co(e,t,n=Dt){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?n(t,e):e[s];e[r++]=a}}}function uo(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ho(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ho(e,t,n,i,r,o,s,a,l,c){const u=tt+i,h=u+r,d=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Fr);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function po(e,t,n){if(It(e))return e.selectRootElement(t,n===Re.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}function fo(e,t,n,i){const r=Bo(t);r.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(i,r.length-1)}function mo(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function go(e,t,n,i,r,o,s,a){const l=Dt(t,n);let c,u=t.inputs;var h;!a&&null!=u&&(c=u[i])?(zo(e,n,c,i,r),st(t)&&function(e,t){const n=Rt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(i="class"===(h=i)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,r=null!=s?s(r,t.tagName||"",i):r,It(o)?o.setProperty(l,i,r):Fn(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function bo(e,t,n,i){let r=!1;if(qt()){const o=function(e,t,n){const i=e.directiveRegistry;let r=null;if(i)for(let o=0;o<i.length;o++){const s=i[o];jr(n,s.selectors,!1)&&(r||(r=[]),Yn(Kn(n,t),e,s.type),lt(s)?(Co(e,n
1),r.unshift(s)):r.push(s))}return r}(e,t,n),s=null===i?null:{"":-1};if(null!==o){let i=0;r=!0,So(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}wo(e,n,o.length);let a=!1,l=!1;for(let r=0;r<o.length;r++){const c=o[r];n.mergedAttrs=Vn(n.mergedAttrs,c.hostAttrs),Oo(e,t,c),xo(e.data.length-1,c,s),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!a&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-tt),a=!0),l||!u.ngOnChanges&&!u.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-tt),l=!0),_o(e,c),i+=c.hostVars}!function(e,t){const n=t.directiveEnd,i=e.data,r=t.attrs,o=[];let s=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=i[l],n=e.inputs,c=null===r||Ir(t)?null:Io(n,r);o.push(c),s=mo(n,l,s),a=mo(e.outputs,l,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n),vo(e,t,i)}s&&function(e,t,n){if(t){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const r=n[t[e+1]];if(null==r)throw new Error(`Export of name '${t[e+1]}' not found!`);i.push(t[e],r)}}}(n,i,s)}return n.mergedAttrs=Vn(n.mergedAttrs,n.attrs),r}function _o(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function vo(e,t,n){for(let i=0;i<n;i++)t.push(Fr),e.blueprint.push(Fr),e.data.push(null)}function yo(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function wo(e,t,n){const i=tt-t.index,r=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(i,r,n)}function Co(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function xo(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;lt(t)&&(n[""]=e)}}function So(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Oo(e,t,n){e.data.push(n);const i=n.factory||(n.factory=Je(n.type)),r=new Nn(i,lt(n),null);e.blueprint.push(r),t.push(r)}function ko(e,t,n){const i=Dt(t,e),r=uo(n),o=e[10],s=Do(e,to(e,r,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n),null,null));e[t.index]=s}function Eo(e,t,n,i,r,o){const s=Dt(e,t),a=t[11];if(null==i)It(a)?a.removeAttribute(s,n,o):s.removeAttribute(n);else{const t=null==r?ut(i):r(i,e.tagName||"",n);It(a)?a.setAttribute(s,n,t,o):o?s.setAttributeNS(o,n,t):s.setAttribute(n,t)}}function Po(e,t,n,i,r,o){const s=o[t];if(null!==s){const e=i.setInput;for(let t=0;t<s.length;){const r=s[t++],o=s[t++],a=s[t++];null!==e?i.setInput(n,a,r,o):n[o]=a}}}function Io(e,t){let n=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function To(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function Mo(e,t){const n=Rt(t,e);if(Bt(n)){const e=n[1];80&n[2]?ro(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let i=Ur(t);null!==i;i=Hr(i))for(let t=nt;t<i.length;t++){const n=i[t];if(1024&n[2]){const e=n[1];ro(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let i=0;i<n.length;i++){const r=Rt(n[i],t);Bt(r)&&r[5]>0&&e(r)}}(n)}}function Ao(e,t){const n=Rt(t,e),i=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),io(i,n,n[8])}function Do(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function jo(e){for(;e;){e[2]|=64;const t=Vr(e);
1if(ct(e)&&!t)return e;e=t}return null}function No(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=Ft(n),r=i[1];oo(r,i,r.template,n)}}function Ro(e,t,n){const i=t[10];i.begin&&i.begin();try{ro(e,t,e.template,n)}catch(r){throw Ho(t,r),r}finally{i.end&&i.end()}}function Lo(e){No(e[8])}function Fo(e,t,n){pn(0),t(e,n)}const Vo=Zr;function Bo(e){return e[7]||(e[7]=[])}function Uo(e,t,n){return(null===e||lt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Ho(e,t){const n=e[9],i=n?n.get(di,null):null;i&&i.handleError(t)}function zo(e,t,n,i,r){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=t[s],c=e.data[s];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function Go(e,t,n){const i=At(t,e),r=e[11];It(r)?r.setValue(i,n):i.textContent=n}function qo(e,t,n,i,r){if(null!=i){let o,s=!1;rt(i)?o=i:it(i)&&(s=!0,i=i[0]);const a=Mt(i);0===e&&null!==n?null==r?Jo(t,n,a):Zo(t,n,a,r||null):1===e&&null!==n?Zo(t,n,a,r||null):2===e?rs(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,i,r){const o=n[7];o!==Mt(n)&&qo(t,e,i,o,r);for(let s=nt;s<n.length;s++){const r=n[s];ss(r[1],r,e,t,i,o)}}(t,e,o,n,r)}}function Wo(e,t){return It(t)?t.createText(e):t.createTextNode(e)}function Ko(e,t){const n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,zt(r,-1)),n.splice(i,1)}function Xo(e,t){if(e.length<=nt)return;const n=nt+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&Ko(o,i),t>0&&(e[n-1][4]=i[4]);const s=Pe(e,nt+t);ss(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=s[19];null!==a&&a.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function $o(e,t){if(!(256&t[2])){const n=t[11];It(n)&&n.destroyNode&&ss(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Qo(e[1],e);for(;t;){let n=null;if(it(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)it(t)&&Qo(t[1],t),t=t[3];null===t&&(t=e),it(t)&&Qo(t[1],t),n=t&&t[4]}t=n}}(t)}}function Qo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const e=t[n[i]];if(!(e instanceof Nn)){const t=n[i+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const r=n[i+1],o="function"==typeof r?r(t):Mt(t[r]),s=e[n[i+2]],a=n[i+3];"boolean"==typeof a?o.removeEventListener(n[i],s,a):a>=0?e[a]():e[-a].unsubscribe(),i+=2}else n[i].call(e[n[i+1]]);t[7]=null}}(e,t),1===t[1].type&&It(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&rt(t[3])){n!==t[3]&&Ko(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Yo(e,t,n){let i=t.parent;for(;null!=i&&(3===i.type||4===i.type);)i=(t=i).parent;if(null===i)return n[0];if(t&&4===t.type&&4&t.flags)return Dt(t,n).parentNode;if(2&i.flags){const t=e.data,n=t[t[i.index].directiveStart].encapsulation;if(n!==Re.ShadowDom&&n!==Re.Native)return null}return Dt(i,n)}function Zo(e,t,n,i){It(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function Jo(e,t,n){It(e)?e.appendChild(t,n):t.appendChild(n)}function es(e,t,n,i){null!==i?Zo(e,t,n,i):Jo(e,t,n)}function ts(e,t){return It(e)?e.parentNode(t):t.parentNode}function ns(e,t){return 3===e.type||4===e.type?Dt(e,t):null}function is(e,t,n,i){const r=Yo(e,i,t);if(null!=r){const e=t[11],o=ns(i.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)es(e,r,n[t],o);else es(e,r,n,o)}}function rs(e,t,n){const i=ts(e,t);i&&function(e,t,n,i){It(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}function os(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],l=n.type;s&&0===t&&(a&&wr(Mt(a),i),n.flags|=4),64!=(64&n.flags)&&(3===l||4===l?(os(e,t,n.child,i,r,o,!1),qo(t,e,r,a,o)):1===l?ls(e,t,i,n,r,o):qo(t,e,r,a,o)),n=s?n.projectionNext:n.next}}function ss(e,t,n,i,r,o){os(n,i,e.firstChild,t,r,o,!1)}function as(e,t,n){ls(t[11],0,t,n,Yo(e,n,t),ns(n.parent||t[6],t))}function ls(e,t,n,i,r,o){const s=n[16],a=s[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)qo(t,e,r,a[l],o);else os(e,t,a,s[3],r,o,!0)}function cs(e,t,n){It(e)?e.setAttribute(t,"style",n):t.style.cssText=n}
1function us(e,t,n){It(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class hs{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView,t=e[1];return function e(t,n,i,r,o=!1){for(;null!==i;){const s=n[i.index];if(null!==s&&r.push(Mt(s)),rt(s))for(let t=nt;t<s.length;t++){const n=s[t],i=n[1].firstChild;null!==i&&e(n[1],n,i,r)}const a=i.type;if(3===a||4===a)e(t,n,i.child,r);else if(1===a){const t=n[16],o=t[6].projection[i.projection];if(Array.isArray(o))r.push(...o);else{const n=Vr(t);e(n[1],n,o,r,!0)}}i=o?i.projectionNext:i.next}return r}(t,e,t.firstChild,[])}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 e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}$o(this._lView[1],this._lView)}onDestroy(e){fo(this._lView[1],this._lView,null,e)}markForCheck(){jo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ro(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){nn(!0);try{Ro(e,t,n)}finally{nn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,ss(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class ds extends hs{constructor(e){super(e),this._view=e}detectChanges(){Lo(this._view)}checkNoChanges(){!function(e){nn(!0);try{Lo(e)}finally{nn(!1)}}(this._view)}get context(){return null}}let ps,fs,ms;function gs(e,t,n){return ps||(ps=class extends e{}),new ps(Dt(t,n))}function bs(e,t,n,i){return fs||(fs=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=to(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),io(t,n,e),new hs(n)}}),0===n.type?new fs(i,n,gs(t,n,i)):null}function _s(e,t,n,i){let r;ms||(ms=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return gs(t,this._hostTNode,this._hostView)}get injector(){return new si(this._hostTNode,this._hostView)}get parentInjector(){const e=Qn(this._hostTNode,this._hostView);if(Un(e)){const t=zn(e,this._hostView),n=Hn(e);return new si(t[1].data[n+8],t)}return new si(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-nt}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){const e=o.get(Ce,null);e&&(r=e)}const s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),rt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new ms(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,i){const r=nt+i,o=n.length;i>0&&(n[r-1][4]=t),i<o-nt?(t[4]=n[r],Ee(n,nt+i,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,n,o,r);const s=function e(t,n){const i=nt+t+1;if(i<n.length){const t=n[i],r=t[1].firstChild;if(null!==r)return function t(n,i){if(null!==i){const r=i.type;if(2===r)return Dt(i,n);if(0===r)return e(-1,n[i.index]);if(3===r||4===r){const r=i.child;if(null!==r)return t(n,r);{const t=n[i.index];return rt(t)?e(-1,t):Mt(t)}}{const e=n[16],r=e[6],o=Vr(e),s=r.projection[i.projection];return null!=s?t(o,s):t(n,i.next)}}return null}(t,r)}return n[7]}(r,o),a=n[11],l=ts(a,o[7]);return null!==l&&function(e,t,n,i,r,o){i[0]=r,i[6]=t,ss(e,i,n,1,r,o)}(i,o[6],a,n,l,s),e.attachToViewContainerRef(this),Ee(o[8],r,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Xo(this._lContainer,t);n&&(Pe(this._lContainer[8],t),$o(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Xo(this._lContainer,t);return n&&null!=Pe(this._lContainer[8],t)?new hs(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=i[n.index];if(rt(o))r=o;else{let e;if(3===n.type)e=Mt(o);else if(e=i[11].createComment(""),ct(i)){const t=i[11],r=Dt(n,i);Zo(t,ts(t,r),e,function(e,t){return It(e)?e.nextSibling(t):t.nextSibling}(t,r))}else is(i[1],i,e,n);i[n.index]=r=To(o,i,e,n),Do(i,r)}return new ms(r,n,i)}function vs(e=!1){return function(e,t,n){if(!n&&st(e)){const n=Rt(e.index,t);return new hs(n,n)}return 2===e.type||0===e.type||3===e.type||4===e.type?new hs(t[16],t):null}(Yt(),Xt(),e)}let ys=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Cs(),e})();const ws=vs,Cs=ws,xs=Function;function Ss(e){return"function"==typeof e}const Os=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,ks=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Es=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ps=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class Is{constructor(e){this._reflect=e||X.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Ie(void 0===e?t.length:e.length);for(let i=0;i<n.length;i++)n[i]=void 0===e?[]:e[i]&&e[i]!=Object?[e[i]]:[],t&&null!=t[i]&&(n[i]=n[i].concat(t[i]));return n}_ownParameters(e,t){if(n=e.toString(),Os.test(n)||Ps.test(n)||ks.test(n)&&!Es.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const i=e.ctorParameters;if(i&&i!==t.ctorParameters){const e="function"==typeof i?i():i,t=e.map(e=>e&&e.type),n=e.map(e=>e&&Ts(e.decorators));return this._zipTypesAndAnnotations(t,n)}const r=e.hasOwnProperty(u)&&e[u],o=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return o||r?this._zipTypesAndAnnotations(o,r):Ie(e.length)}parameters(e){if(!Ss(e))return[];const t=Ms(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?Ts(e.decorators):e.hasOwnProperty(c)?e[c]:null}annotations(e){if(!Ss(e))return[];const t=Ms(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};
1return Object.keys(t).forEach(e=>{n[e]=Ts(t[e])}),n}return e.hasOwnProperty(h)?e[h]:null}propMetadata(e){if(!Ss(e))return{};const t=Ms(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...i[e]),n[e]=t}),n}ownPropMetadata(e){return Ss(e)&&this._ownPropMetadata(e,Ms(e))||{}}hasLifecycleHook(e,t){return e instanceof xs&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+F(e)}resourceUri(e){return"./"+F(e)}resolveIdentifier(e,t,n,i){return i}resolveEnum(e,t){return e[t]}}function Ts(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Ms(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}let As=null;function Ds(){return As=As||new Is}function js(e){return Ns(Ds().parameters(e))}function Ns(e){const t=Q();return e.map(e=>function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function i(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(let r=0;r<t.length;r++){const o=t[r];if(void 0===o)continue;const s=Object.getPrototypeOf(o);if(o instanceof _||"Optional"===s.ngMetadataName)n.optional=!0;else if(o instanceof y||"SkipSelf"===s.ngMetadataName)n.skipSelf=!0;else if(o instanceof v||"Self"===s.ngMetadataName)n.self=!0;else if(o instanceof w||"Host"===s.ngMetadataName)n.host=!0;else if(o instanceof b)n.token=o.token;else if(o instanceof x){if(void 0===o.attributeName)throw new Error("Attribute name must be defined.");n.token=o.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else o===ys?(n.token=o,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):i(o)}else void 0===t||Array.isArray(t)&&0===t.length?(n.token=void 0,n.resolved=$.Invalid):i(t);return n}(t,e))}const Rs=O({provide:String,useValue:O});function Ls(e){return void 0!==e.useClass}function Fs(e){return void 0!==e.useFactory}function Vs(e,t){const n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Ls(n)||Fs(n))&&void 0!==n.deps&&(i.userDeps=Ns(n.deps)),Ls(n)?i.useClass=H(n.useClass):function(e){return Rs in e}(n)?i.useValue=H(n.useValue):Fs(n)?i.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(i.useExisting=H(n.useExisting)),i}const Bs=d("Injectable",void 0,void 0,void 0,(e,t)=>Hs(e,t)),Us=function(e,t){let n=null,i=null;e.hasOwnProperty(D)||(Object.defineProperty(e,D,{get:()=>(null===n&&(n=Q().compileInjectable(we,`ng:///${e.name}/\u0275prov.js`,Vs(e,t))),n)}),e.hasOwnProperty(N)||(e[N]=()=>e[D])),e.hasOwnProperty(ne)||Object.defineProperty(e,ne,{get:()=>{if(null===i){const n=Vs(e,t),r=Q();i=r.compileFactory(we,`ng:///${e.name}/\u0275fac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:js(e),injectFn:"inject",target:r.R3FactoryTarget.Injectable})}return i},configurable:!0})},Hs=Us,zs=new re("Set Injector scope."),Gs={},qs={},Ws=[];let Ks=void 0;function Xs(){return void 0===Ks&&(Ks=new ye),Ks}function $s(e,t=null,n=null,i){const r=Qs(e,t,n,i);return r._resolveInjectorDefTypes(),r}function Qs(e,t=null,n=null,i){return new Ys(e,n,t||Xs(),i)}class Ys{constructor(e,t,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];t&&ke(t,n=>this.processProvider(n,e,t)),ke([e],e=>this.processInjectorType(e,[],r)),this.records.set(oe,ea(void 0,this));const o=this.records.get(zs);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:F(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;
1try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=se,n=S.Default){this.assertNotDestroyed();const i=de(this);try{if(!(n&S.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof re)&&T(e);t=n&&this.injectableDefInScope(n)?ea(Zs(e),Gs):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&S.Self?Xs():this.parent).get(e,t=n&S.Optional&&t===se?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(F(e)),i)throw o;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t[le]&&r.unshift(t[le]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=F(t);if(Array.isArray(t))r=t.map(F).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):F(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(ae,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{de(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(F(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=H(e)))return!1;let i=A(e);const r=null==i&&e.ngModule||void 0,o=void 0===r?e:r,s=-1!==n.indexOf(o);if(void 0!==r&&(i=A(r)),null==i)return!1;if(null!=i.imports&&!s){let e;n.push(o);try{ke(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:i}=e[t];ke(i,e=>this.processProvider(e,n,i||Ws))}}this.injectorDefTypes.add(o),this.records.set(o,ea(i.factory,Gs));const a=i.providers;if(null!=a&&!s){const t=e;ke(a,e=>this.processProvider(e,t,a))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=na(e=H(e))?e:H(e&&e.provide);const r=function(e,t,n){return ta(e)?ea(void 0,e.useValue):ea(Js(e),Gs)}(e);if(na(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=ea(void 0,Gs,!0),t.factory=()=>ve(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===Gs&&(t.value=qs,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Zs(e){const t=T(e),n=null!==t?t.factory:Je(e);if(null!==n)return n;const i=A(e);if(null!==i)return i.factory;if(e instanceof re)throw new Error(`Token ${F(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Ie(t,"?");throw new Error(`Can't resolve all parameters for ${F(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[D]||e[R]||e[N]&&e[N]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);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.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Js(e,t,n){let i=void 0;if(na(e)){const t=H(e);return Je(t)||Zs(t)}if(ta(e))i=()=>H(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...ve(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>me(H(e.useExisting));else{const t=H(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Je(t)||Zs(t);i=()=>new t(...ve(e.deps))}var r;return i}function ea(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ta(e){return null!==e&&"object"==typeof e&&ce in e}function na(e){return"function"==typeof e}function ia(e,t,n){return $s({name:n},t,e,n)}const ra=ia;let oa=(()=>{class e{static create(e,t){return Array.isArray(e)?ra(e,t,""):ra(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=se,e.NULL=new ye,e.\u0275prov=E({token:e,providedIn:"any",factory:()=>me(oe)}),e.__NG_ELEMENT_ID__=-1,e})();function sa(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>F(e.token)).join(" -> ")+")":""}function aa(e,t,n,i){const r=[t],o=n(r),s=i?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,i=Error(n);return i.ngOriginalError=t,i}(o,i):Error(o);return s.addKey=la,s.keys=r,s.injectors=[e],s.constructResolvingMessage=n,s.ngOriginalError=i,s}function la(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function ca(e,t){const n=[];for(let i=0,r=t.length;i<r;i++){const e=t[i];n.push(e&&0!=e.length?e.map(F).join(" "):"?")}return Error("Cannot resolve all parameters for '"+F(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+F(e)+"' is decorated with Injectable.")}class ua{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=F(this.token)}static get(e){return da.get(H(e))}static get numberOfKeys(){return da.numberOfKeys}}class ha{constructor(){this._allKeys=new Map}get(e){if(e instanceof ua)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new ua(e,ua.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}}const da=new ha;class pa{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,i){return this.reflectionCapabilities.resolveIdentifier(e,t,n,i)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}const fa=new pa(new Is);class ma{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new ma(e,!1,null)}}const ga=[];class ba{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class _a{constructor(e,t){this.factory=e,this.dependencies=t}}function va(e){let t,n;if(e.useClass){const i=H(e.useClass);t=fa.factory(i),n=Ca(i)}else e.useExisting?(t=e=>e,n=[ma.fromKey(ua.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>xa(e,t,n))}return Ca(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=ga);return new _a(t,n)}function ya(e){return new ba(ua.get(e.provide),[va(e)],e.multi||!1)}function wa(e){const t=function(e,t){for(let n=0;n<e.length;n++){const i=e[n],r=t.get(i.key.id);if(r){if(i.multiProvider!==r.multiProvider)throw Error(`Cannot mix multi providers and regular providers, got: ${r} ${i}`);if(i.multiProvider)for(let e=0;e<i.resolvedFactories.length;e++)r.resolvedFactories.push(i.resolvedFactories[e]);else t.set(i.key.id,i)}else{let e;e=i.multiProvider?new ba(i.key,i.resolvedFactories.slice(),i.multiProvider):i,t.set(i.key.id,e)}}return t}(function e(t,n){return t.forEach(t=>{if(t instanceof xs)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!Array.isArray(t))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}}),n}(e,[]).map(ya),new Map);return Array.from(t.values())}function Ca(e){const t=fa.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw ca(e,t);return t.map(n=>xa(e,n,t))}
1function xa(e,t,n){let i=null,r=!1;if(!Array.isArray(t))return Sa(t instanceof b?t.token:t,r,null);let o=null;for(let s=0;s<t.length;++s){const e=t[s];e instanceof xs?i=e:e instanceof b?i=e.token:e instanceof _?r=!0:e instanceof v||e instanceof y?o=e:e instanceof re&&(i=e)}if(i=H(i),null!=i)return Sa(i,r,o);throw ca(e,n)}function Sa(e,t,n){return new ma(ua.get(e),t,n)}const Oa={};class ka{static resolve(e){return wa(e)}static resolveAndCreate(e,t){const n=ka.resolve(e);return ka.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new Ea(e,t)}}let Ea=(()=>{class e{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let i=0;i<n;i++)this.keyIds[i]=e[i].key.id,this.objs[i]=Oa}get(e,t=se){return this._getByKey(ua.get(e),null,t)}resolveAndCreateChild(e){const t=ka.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(t){const n=new e(t);return n.parent=this,n}resolveAndInstantiate(e){return this.instantiateResolved(ka.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw aa(this,e.key,(function(e){return"Cannot instantiate cyclic dependency!"+sa(e)}));return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let i,r;try{i=t.dependencies.map(e=>this._getByReflectiveDependency(e))}catch(s){throw s.addKey&&s.addKey(this,e.key),s}try{r=n(...i)}catch(s){throw aa(this,e.key,(function(e){const t=F(e[0].token);return`${o.message}: Error during instantiation of ${t}!${sa(e)}.`}),o=s)}var o;return r}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:se)}_getByKey(t,n,i){return t===e.INJECTOR_KEY?this:n instanceof v?this._getByKeySelf(t,i):this._getByKeyDefault(t,i,n)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Oa&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Oa}_throwOrNull(e,t){if(t!==se)return t;throw function(e,t){return aa(e,t,(function(e){return`No provider for ${F(e[0].token)}!${sa(e)}`}))}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==Oa?n:this._throwOrNull(e,t)}_getByKeyDefault(t,n,i){let r;for(r=i instanceof y?this.parent:this;r instanceof e;){const e=r,n=e._getObjByKeyId(t.id);if(n!==Oa)return n;r=e.parent}return null!==r?r.get(t.token,n):this._throwOrNull(t,n)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let i=0;i<e._providers.length;++i)n[i]=' "'+e.getProviderAtIndex(i).key.displayName+'" ';return n}(this).join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=ua.get(oa),e})();const Pa=new re("AnalyzeForEntryComponents");class Ia{}const Ta=m("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t),Ia),Ma=m("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Ia),Aa=m("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t),Ia),Da=m("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Ia);function ja(e){const t=[],n=new Map;function i(t){let i=n.get(t);if(!i){const r=e(t);n.set(t,i=r.then(Va))}return i}return Na.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(i(e.templateUrl).then(t=>{e.template=t}));const o=e.styleUrls,s=e.styles||(e.styles=[]),a=e.styles.length;o&&o.forEach((t,n)=>{s.push(""),r.push(i(t).then(i=>{s[a+n]=i,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)}))});const l=Promise.all(r).then(()=>function(e){Ra.delete(e)}(n));t.push(l)}),Fa(),Promise.all(t).then(()=>{})}let Na=new Map;const Ra=new Set;function La(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Fa(){const e=Na;return Na=new Map,e}function Va(e){return"string"==typeof e?e:e.text()}
1function Ba(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const e=t[s];"number"==typeof e?o=e:1==o?r=V(r,e):2==o&&(i=V(i,e+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Ua(e){const t=yr(e);Ro(t[1],t,e)}function Ha(e){!function(e,t){if(0===e.flags&&e.clean==Zr){let t;e.flags|=1,e.clean=new Promise(e=>t=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,No(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=Zr,t(null)})}}(jo(yr(e))[8])}function za(e){Ja(e);const t=$a(e,!1);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function Ga(e){Ja(e);const t=$a(e,!1);return null===t?null:t.lView[8]}function qa(e){const t=$a(e,!1);if(null===t)return null;let n,i=t.lView;for(;2===i[1].type&&(n=Vr(i));)i=n;return 512&i[2]?null:i[8]}function Wa(e){return[...Br(e).components]}function Ka(e){const t=$a(e,!1);return null===t?oa.NULL:new si(t.lView[1].data[t.nodeIndex],t.lView)}function Xa(e){const t=$a(e);return void 0===t.directives&&(t.directives=Or(t.nodeIndex,t.lView,!1)),null===t.directives?[]:[...t.directives]}function $a(e,t=!0){const n=_r(e);if(!n&&t)throw new Error("Invalid ng target");return n}function Qa(e){return _r(e).native}function Ya(e){Ja(e);const t=$a(e,!1);if(null===t)return[];const n=t.lView,i=n[7],r=n[1].cleanup,o=[];if(r&&i)for(let s=0;s<r.length;){const t=r[s++],a=r[s++];if("string"==typeof t){const l=t,c=Mt(n[a]),u=i[r[s++]],h=r[s++],d="boolean"==typeof h||h>=0?"dom":"output",p="boolean"==typeof h&&h;e==c&&o.push({element:e,name:l,callback:u,useCapture:p,type:d})}}return o.sort(Za),o}function Za(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Ja(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function el(e){Ha(e),Wa(e).forEach(e=>Ua(e))}let tl=!1;function nl(){tl||(tl=!0,il("getComponent",za),il("getContext",Ga),il("getListeners",Ya),il("getOwningComponent",qa),il("getHostElement",Qa),il("getInjector",Ka),il("getRootComponents",Wa),il("getDirectives",Xa),il("applyChanges",el))}function il(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=X;if(n){let i=n.ng;i||(i=n.ng={}),i[e]=t}}}function rl(e,t={}){const n=t.rendererFactory||Tt,i=t.sanitizer||null,r=Qe(e);r.type!=e&&(r.type=e);const o=r.selectors[0][0],s=po(n.createRenderer(null,null),t.host||o,r.encapsulation),a=r.onPush?576:528,l=al(t.scheduler,t.playerHandler),c=n.createRenderer(s,r),u=ho(0,null,null,1,0,null,null,null,null,null),h=to(null,u,l,a,null,null,n,c,null,t.injector||null);let d;mn(h);try{n.begin&&n.begin(),d=sl(ol(s,r,h,n,c,i),r,h,l,t.hostFeatures||null),io(u,h,null),ro(u,h,null,null)}finally{yn(),n.end&&n.end()}return d}function ol(e,t,n,i,r,o){const s=n[1];n[20]=e;const a=no(s,0,2,null,null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Ba(a,l,!0),null!==e&&(Rn(r,e,l),null!==a.classes&&us(r,e,a.classes),null!==a.styles&&cs(r,e,a.styles)));const c=i.createRenderer(e,t),u=to(n,uo(t),null,t.onPush?64:16,n[20],a,i,c,o||null,null);return s.firstCreatePass&&(Yn(Kn(a,n),s,t.type),Co(s,a),So(a,n.length,1)),Do(n,u),n[20]=u}function sl(e,t,n,i,r){const o=n[1],s=function(e,t,n){const i=Yt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),wo(e,i,1),Oo(e,t,n));const r=ii(t,e,t.length-1,i);wr(r,t);const o=Dt(i,t);return o&&wr(o,t),r}(o,n,t);i.components.push(s),e[8]=s,r&&r.forEach(e=>e(s,t)),t.contentQueries&&t.contentQueries(1,s,n.length-1);const a=Yt();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){xn(a.index-tt);const e=n[1];_o(e,t),vo(e,n,t.hostVars),yo(t,s)}return s}function al(e,t){return{components:[],scheduler:e||dt,clean:Vo,playerHandler:t||null,flags:0}}function ll(e,t){const n=Ft(e)[1],i=n.data.length-1;Pn(n,{directiveStart:i,directiveEnd:i+1})}function cl(e){return Br(e).clean}function ul(e){return Object.getPrototypeOf(e.prototype).constructor}function hl(e){let t=ul(e.type),n=!0;const i=[e];for(;t;){let r=void 0;if(lt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const t=e;
1t.inputs=dl(e.inputs),t.declaredInputs=dl(e.declaredInputs),t.outputs=dl(e.outputs);const n=r.hostBindings;n&&ml(e,n);const o=r.viewQuery,s=r.contentQueries;if(o&&pl(e,o),s&&fl(e,s),k(e.inputs,r.inputs),k(e.declaredInputs,r.declaredInputs),k(e.outputs,r.outputs),lt(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i<t.length;i++){const r=t[i];r&&r.ngInherit&&r(e),r===hl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Vn(r.hostAttrs,n=Vn(n,r.hostAttrs))}}(i)}function dl(e){return e===Le?{}:e===Fe?[]:e}function pl(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function fl(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function ml(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}const gl=["providersResolver"],bl=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function _l(e){let t=ul(e.type),n=void 0;n=lt(e)?t.\u0275cmp:t.\u0275dir;const i=e;for(const r of gl)i[r]=n[r];if(lt(n))for(const r of bl)i[r]=n[r]}let vl=null;function yl(){if(!vl){const e=X.Symbol;if(e&&e.iterator)vl=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(vl=n)}}}return vl}function wl(e,t){const n=xl(e),i=xl(t);if(n&&i)return function(e,t,n){const i=e[yl()](),r=t[yl()]();for(;;){const e=i.next(),t=r.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,wl);{const r=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!r||i||!o)||Object.is(e,t)}}class Cl{constructor(e){this.wrapped=e}static wrap(e){return new Cl(e)}static unwrap(e){return Cl.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Cl}}function xl(e){return!!Sl(e)&&(Array.isArray(e)||!(e instanceof Map)&&yl()in e)}function Sl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ol(e,t,n){return e[t]=n}function kl(e,t){return e[t]}function El(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Pl(e,t,n,i){const r=El(e,t,n);return El(e,t+1,i)||r}function Il(e,t,n,i,r){const o=Pl(e,t,n,i);return El(e,t+2,r)||o}function Tl(e,t,n,i,r,o){const s=Pl(e,t,n,i);return Pl(e,t+2,r,o)||s}function Ml(e,t,n,i){const r=Xt();return El(r,an(),t)&&($t(),Eo(Sn(),r,e,t,n,i)),Ml}function Al(e,t){let n=!1,i=on();for(let o=1;o<t.length;o+=2)n=El(e,i++,t[o])||n;if(sn(i),!n)return Fr;let r=t[0];for(let o=1;o<t.length;o+=2)r+=ut(t[o])+t[o+1];return r}function Dl(e,t,n,i){return El(e,an(),n)?t+ut(n)+i:Fr}function jl(e,t,n,i,r,o){const s=Pl(e,on(),n,r);return ln(2),s?t+ut(n)+i+ut(r)+o:Fr}function Nl(e,t,n,i,r,o,s,a){const l=Il(e,on(),n,r,s);return ln(3),l?t+ut(n)+i+ut(r)+o+ut(s)+a:Fr}function Rl(e,t,n,i,r,o,s,a,l,c){const u=Tl(e,on(),n,r,s,l);return ln(4),u?t+ut(n)+i+ut(r)+o+ut(s)+a+ut(l)+c:Fr}function Ll(e,t,n,i,r,o,s,a,l,c,u,h){const d=on();let p=Tl(e,d,n,r,s,l);return p=El(e,d+4,u)||p,ln(5),p?t+ut(n)+i+ut(r)+o+ut(s)+a+ut(l)+c+ut(u)+h:Fr}function Fl(e,t,n,i,r,o,s,a,l,c,u,h,d,p){const f=on();let m=Tl(e,f,n,r,s,l);return m=Pl(e,f+4,u,d)||m,ln(6),m?t+ut(n)+i+ut(r)+o+ut(s)+a+ut(l)+c+ut(u)+h+ut(d)+p:Fr}function Vl(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m){const g=on();let b=Tl(e,g,n,r,s,l);return b=Il(e,g+4,u,d,f)||b,ln(7),b?t+ut(n)+i+ut(r)+o+ut(s)+a+ut(l)+c+ut(u)+h+ut(d)+p+ut(f)+m:Fr}function Bl(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b){const _=on();let v=Tl(e,_,n,r,s,l);return v=Tl(e,_+4,u,d,f,g)||v,ln(8),v?t+ut(n)+i+ut(r)+o+ut(s)+a+ut(l)+c+ut(u)+h+ut(d)+p+ut(f)+m+ut(g)+b:Fr}function Ul(e,t,n,i,r,o){const s=Xt(),a=Dl(s,t,n,i);return a!==Fr&&Eo(Sn(),s,e,a,r,o),Ul}function Hl(e,t,n,i,r,o,s,a){const l=Xt(),c=jl(l,t,n,i,r,o);return c!==Fr&&Eo(Sn(),l,e,c,s,a),Hl}function zl(e,t,n,i,r,o,s,a,l,c){const u=Xt(),h=Nl(u,t,n,i,r,o,s,a);return h!==Fr&&Eo(Sn(),u,e,h,l,c),zl}function Gl(e,t,n,i,r,o,s,a,l,c,u,h){const d=Xt(),p=Rl(d,t,n,i,r,o,s,a,l,c);return p!==Fr&&Eo(Sn(),d,e,p,u,h),Gl}function ql(e,t,n,i,r,o,s,a,l,c,u,h,d,p){const f=Xt(),m=Ll(f,t,n,i,r,o,s,a,l,c,u,h);return m!==Fr&&Eo(Sn(),f,e,m,d,p),ql}function Wl(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m){const g=Xt(),b=Fl(g,t,n,i,r,o,s,a,l,c,u,h,d,p);return b!==Fr&&Eo(Sn(),g,e,b,f,m),Wl}function Kl(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b){const _=Xt(),v=Vl(_,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m);return v!==Fr&&Eo(Sn(),_,e,v,g,b),Kl}function Xl(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b,_,v){const y=Xt(),w=Bl(y,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b);return w!==Fr&&Eo(Sn(),y,e,w,_,v),Xl}function $l(e,t,n,i){const r=Xt(),o=Al(r,t);return o!==Fr&&Eo(Sn(),r,e,o,n,i),$l}function Ql(e,t,n,i,r,o,s,a){const l=Xt(),c=$t(),u=e+tt,h=c.firstCreatePass?function(e,t,n,i,r,o,s,a,l){const c=t.consts,u=no(t,e,0,s||null,Ut(c,a));bo(t,n,u,Ut(c,l)),Pn(t,u);const h=u.tViews=ho(2,u,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(e,c,l,t,n,i,r,o,s):c.data[u];Zt(h,!1);const d=l[11].createComment("");is(c,l,d,h),wr(d,l),Do(l,l[u]=To(d,l,d,h)),at(h)&&lo(c,l,h),null!=s&&co(l,h,a)}function Yl(e,t,n,i){const r=n+tt;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}function Zl(e){return Nt(Gt.lFrame.contextLView,e)}function Jl(e,t=S.Default){const n=Xt();return null===n?me(e,t):Jn(Yt(),n,H(e),t)}function ec(e){return Zn(Yt(),e)}function tc(){throw new Error("invalid")}function nc(e,t,n){const i=Xt();return El(i,an(),t)&&go($t(),Sn(),i,e,t,i[11],n,!1),nc}function ic(e,t,n,i,r){const o=r?"class":"style";
1zo(e,n,t.inputs[o],o,i)}function rc(e,t,n,i){const r=Xt(),o=$t(),s=tt+e,a=r[11],l=r[s]=eo(t,a,Gt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,i,r,o,s){const a=t.consts,l=no(t,e,2,r,Ut(a,o));return bo(t,n,l,Ut(a,s)),null!==l.attrs&&Ba(l,l.attrs,!1),null!==l.mergedAttrs&&Ba(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,o,r,0,t,n,i):o.data[s];Zt(c,!0);const u=c.mergedAttrs;null!==u&&Rn(a,l,u);const h=c.classes;null!==h&&us(a,l,h);const d=c.styles;null!==d&&cs(a,l,d),is(o,r,l,c),0===Gt.lFrame.elementDepthCount&&wr(l,r),Gt.lFrame.elementDepthCount++,at(c)&&(lo(o,r,c),ao(o,c,r)),null!==i&&co(r,c)}function oc(){let e=Yt();Jt()?en():(e=e.parent,Zt(e,!1));const t=e;Gt.lFrame.elementDepthCount--;const n=$t();n.firstCreatePass&&(Pn(n,e),ot(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ic(n,t,Xt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&ic(n,t,Xt(),t.stylesWithoutHost,!1)}function sc(e,t,n,i){rc(e,t,n,i),oc()}function ac(e,t,n){const i=Xt(),r=$t(),o=e+tt,s=r.firstCreatePass?function(e,t,n,i,r){const o=t.consts,s=Ut(o,i),a=no(t,e,3,"ng-container",s);return null!==s&&Ba(a,s,!0),bo(t,n,a,Ut(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(e,r,i,t,n):r.data[o];Zt(s,!0);const a=i[o]=i[11].createComment("");is(r,i,a,s),wr(a,i),at(s)&&(lo(r,i,s),ao(r,s,i)),null!=n&&co(i,s)}function lc(){let e=Yt();const t=$t();Jt()?en():(e=e.parent,Zt(e,!1)),t.firstCreatePass&&(Pn(t,e),ot(e)&&t.queries.elementEnd(e))}function cc(e,t,n){ac(e,t,n),lc()}function uc(){return Xt()}function hc(e){return!!e&&"function"==typeof e.then}function dc(e){return!!e&&"function"==typeof e.subscribe}function pc(e,t,n=!1,i){const r=Xt(),o=$t(),s=Yt();return mc(o,r,r[11],s,e,t,n,i),pc}function fc(e,t,n=!1,i){const r=Yt(),o=Xt(),s=$t();return mc(s,o,Uo(hn(s.data),r,o),r,e,t,n,i),fc}function mc(e,t,n,i,r,o,s=!1,a){const l=at(i),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=Bo(t);let h=!0;if(2===i.type){const d=Dt(i,t),p=a?a(d):Le,f=p.target||d,m=u.length,g=a?e=>a(Mt(e[i.index])).target:i.index;if(It(n)){let s=null;if(!a&&l&&(s=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const e=r[o];if(e===n&&r[o+1]===i){const e=t[7],n=r[o+2];return e.length>n?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,r,i.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,h=!1;else{o=bc(i,t,o,!1);const e=n.listen(p.name||f,r,o);u.push(o,e),c&&c.push(r,g,m,m+1)}}else o=bc(i,t,o,!0),f.addEventListener(r,o,s),u.push(o),c&&c.push(r,g,m,s)}const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(o),s=u.length;u.push(o,e),c&&c.push(r,i.index,s,-(s+1))}}}function gc(e,t,n){try{return!1!==t(n)}catch(i){return Ho(e,i),!1}}function bc(e,t,n,i){return function r(o){if(o===Function)return n;const s=2&e.flags?Rt(e.index,t):t;0==(32&t[2])&&jo(s);let a=gc(t,n,o),l=r.__ngNextListenerFn__;for(;l;)a=gc(t,l,o)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function _c(e=1){return wn(e)}function vc(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===i?jr(e,o,!0):Nr(i,o))return r}else n=r}return n}function yc(e){const t=Xt()[16][6];if(!t.projection){const n=t.projection=Ie(e?e.length:1,null),i=n.slice();let r=t.child;for(;null!==r;){const t=e?vc(r,e):0;null!==t&&(i[t]?i[t].projectionNext=r:n[t]=r,i[t]=r),r=r.next}}}let wc=!1;function Cc(e){wc=e}function xc(e,t=0,n){const i=Xt(),r=$t(),o=no(r,e,1,null,n||null);null===o.projection&&(o.projection=t),en(),wc||as(r,i,o)}function Sc(e,t,n){return Oc(e,"",t,"",n),Sc}function Oc(e,t,n,i,r){const o=Xt(),s=Dl(o,t,n,i);return s!==Fr&&go($t(),Sn(),o,e,s,o[11],r,!1),Oc}function kc(e,t,n,i,r,o,s){const a=Xt(),l=jl(a,t,n,i,r,o);return l!==Fr&&go($t(),Sn(),a,e,l,a[11],s,!1),kc}function Ec(e,t,n,i,r,o,s,a,l){const c=Xt(),u=Nl(c,t,n,i,r,o,s,a);return u!==Fr&&go($t(),Sn(),c,e,u,c[11],l,!1),Ec}function Pc(e,t,n,i,r,o,s,a,l,c,u){const h=Xt(),d=Rl(h,t,n,i,r,o,s,a,l,c);return d!==Fr&&go($t(),Sn(),h,e,d,h[11],u,!1),Pc}function Ic(e,t,n,i,r,o,s,a,l,c,u,h,d){const p=Xt(),f=Ll(p,t,n,i,r,o,s,a,l,c,u,h);return f!==Fr&&go($t(),Sn(),p,e,f,p[11],d,!1),Ic}function Tc(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f){const m=Xt(),g=Fl(m,t,n,i,r,o,s,a,l,c,u,h,d,p);
1return g!==Fr&&go($t(),Sn(),m,e,g,m[11],f,!1),Tc}function Mc(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g){const b=Xt(),_=Vl(b,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m);return _!==Fr&&go($t(),Sn(),b,e,_,b[11],g,!1),Mc}function Ac(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b,_){const v=Xt(),y=Bl(v,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b);return y!==Fr&&go($t(),Sn(),v,e,y,v[11],_,!1),Ac}function Dc(e,t,n){const i=Xt(),r=Al(i,t);return r!==Fr&&go($t(),Sn(),i,e,r,i[11],n,!1),Dc}const jc=[];function Nc(e,t,n,i,r){const o=e[n+1],s=null===t;let a=i?Kr(o):$r(o),l=!1;for(;0!==a&&(!1===l||s);){const n=e[a+1];Rc(e[a],t)&&(l=!0,e[a+1]=i?Yr(n):Xr(n)),a=i?Kr(n):$r(n)}l&&(e[n+1]=i?Xr(o):Yr(o))}function Rc(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ae(e,t)>=0}const Lc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Fc(e){return e.substring(Lc.key,Lc.keyEnd)}function Vc(e){return e.substring(Lc.value,Lc.valueEnd)}function Bc(e,t){const n=Lc.textEnd;return n===t?-1:(t=Lc.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Lc.key=t,n),zc(e,t,n))}function Uc(e,t){const n=Lc.textEnd;let i=Lc.key=zc(e,t,n);return n===i?-1:(i=Lc.keyEnd=function(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Gc(e,i,n),i=Lc.value=zc(e,i,n),i=Lc.valueEnd=function(e,t,n){let i=-1,r=-1,o=-1,s=t,a=s;for(;s<n;){const l=e.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=qc(e,l,s,n):t===s-4&&85===o&&82===r&&76===i&&40===l?a=s=qc(e,41,s,n):l>32&&(a=s),o=r,r=i,i=-33&l}return a}(e,i,n),Gc(e,i,n))}function Hc(e){Lc.key=0,Lc.keyEnd=0,Lc.value=0,Lc.valueEnd=0,Lc.textEnd=e.length}function zc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Gc(e,t,n,i){return(t=zc(e,t,n))<n&&t++,t}function qc(e,t,n,i){let r=-1,o=n;for(;o<i;){const n=e.charCodeAt(o++);if(n==t&&92!==r)return o;r=92==n&&92===r?0:n}throw new Error}function Wc(e,t,n){return Zc(e,t,n,!1),Wc}function Kc(e,t){return Zc(e,t,null,!0),Kc}function Xc(e){Jc(ru,$c,e,!1)}function $c(e,t){for(let n=function(e){return Hc(e),Uc(e,zc(e,0,Lc.textEnd))}(t);n>=0;n=Uc(t,n))ru(e,Fc(t),Vc(t))}function Qc(e){Jc(Te,Yc,e,!0)}function Yc(e,t){for(let n=function(e){return Hc(e),Bc(e,zc(e,0,Lc.textEnd))}(t);n>=0;n=Bc(t,n))Te(e,Fc(t),!0)}function Zc(e,t,n,i){const r=Xt(),o=$t(),s=ln(2);o.firstUpdatePass&&tu(o,e,s,i),t!==Fr&&El(r,s,t)&&ou(o,o.data[Cn()+tt],r,r[11],e,r[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=F(wi(e)))),e}(t,n),i,s)}function Jc(e,t,n,i){const r=$t(),o=ln(2);r.firstUpdatePass&&tu(r,null,o,i);const s=Xt();if(n!==Fr&&El(s,o,n)){const a=r.data[Cn()+tt];if(lu(a,i)&&!eu(r,o)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=V(e,n||"")),ic(r,a,s,n,i)}else!function(e,t,n,i,r,o,s,a){r===Fr&&(r=jc);let l=0,c=0,u=0<r.length?r[0]:null,h=0<o.length?o[0]:null;for(;null!==u||null!==h;){const d=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0;let f=null,m=void 0;u===h?(l+=2,c+=2,d!==p&&(f=h,m=p)):null===h||null!==u&&u<h?(l+=2,f=u):(c+=2,f=h,m=p),null!==f&&ou(e,t,n,i,f,m,s,a),u=l<r.length?r[l]:null,h=c<o.length?o[c]:null}}(r,a,s,s[11],s[o+1],s[o+1]=function(e,t,n){if(null==n||""===n)return jc;const i=[],r=wi(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function eu(e,t){return t>=e.expandoStartIndex}function tu(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Cn()+tt],s=eu(e,n);lu(o,i)&&null===t&&!s&&(t=!1),t=function(e,t,n,i){const r=hn(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=iu(n=nu(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=nu(r,e,t,n,i),null===o){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==$r(i))return e[Kr(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=nu(null,e,t,n[1],i),n=iu(n,t.attrs,i),function(e,t,n,i){e[Kr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else o=function(e,t,n){let i=void 0;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=iu(i,e[o].hostAttrs,n);return iu(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function(e,t,n,i,r,o){let s=o?t.classBindings:t.styleBindings,a=Kr
1(s),l=$r(s);e[i]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||Ae(e,c)>0)&&(u=!0)}else c=n;if(r)if(0!==l){const t=Kr(e[a+1]);e[i+1]=Wr(t,a),0!==t&&(e[t+1]=Qr(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=Wr(a,0),0!==a&&(e[a+1]=Qr(e[a+1],i)),a=i;else e[i+1]=Wr(l,0),0===a?a=i:e[l+1]=Qr(e[l+1],i),l=i;u&&(e[i+1]=Xr(e[i+1])),Nc(e,c,i,!0),Nc(e,c,i,!1),function(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Ae(o,t)>=0&&(n[i+1]=Yr(n[i+1]))}(t,c,e,i,o),s=Wr(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function nu(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],i=iu(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function iu(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Te(e,s,!!n||t[++o]))}return void 0===e?null:e}function ru(e,t,n){Te(e,t,wi(n))}function ou(e,t,n,i,r,o,s,a){if(2!==t.type)return;const l=e.data,c=l[a+1];au(1==(1&c)?su(l,t,n,r,$r(c),s):void 0)||(au(o)||2==(2&c)&&(o=su(l,null,n,r,a,s)),function(e,t,n,i,r){const o=It(e);if(t)r?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{const t=-1==i.indexOf("-")?void 0:2;null==r?o?e.removeStyle(n,i,t):n.style.removeProperty(i):o?e.setStyle(n,i,r,t):n.style.setProperty(i,r)}}(i,s,At(Cn(),n),r,o))}function su(e,t,n,i,r,o){const s=null===t;let a=void 0;for(;r>0;){const t=e[r],o=Array.isArray(t),l=o?t[1]:t,c=null===l;let u=n[r+1];u===Fr&&(u=c?jc:void 0);let h=c?Me(u,i):l===i?u:void 0;if(o&&!au(h)&&(h=Me(t,i)),au(h)&&(a=h,s))return a;const d=e[r+1];r=s?Kr(d):$r(d)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=Me(e,i))}return a}function au(e){return void 0!==e}function lu(e,t){return 0!=(e.flags&(t?16:32))}function cu(e,t=""){const n=Xt(),i=$t(),r=e+tt,o=i.firstCreatePass?no(i,e,2,null,null):i.data[r],s=n[r]=Wo(t,n[11]);is(i,n,s,o),Zt(o,!1)}function uu(e){return hu("",e,""),uu}function hu(e,t,n){const i=Xt(),r=Dl(i,e,t,n);return r!==Fr&&Go(i,Cn(),r),hu}function du(e,t,n,i,r){const o=Xt(),s=jl(o,e,t,n,i,r);return s!==Fr&&Go(o,Cn(),s),du}function pu(e,t,n,i,r,o,s){const a=Xt(),l=Nl(a,e,t,n,i,r,o,s);return l!==Fr&&Go(a,Cn(),l),pu}function fu(e,t,n,i,r,o,s,a,l){const c=Xt(),u=Rl(c,e,t,n,i,r,o,s,a,l);return u!==Fr&&Go(c,Cn(),u),fu}function mu(e,t,n,i,r,o,s,a,l,c,u){const h=Xt(),d=Ll(h,e,t,n,i,r,o,s,a,l,c,u);return d!==Fr&&Go(h,Cn(),d),mu}function gu(e,t,n,i,r,o,s,a,l,c,u,h,d){const p=Xt(),f=Fl(p,e,t,n,i,r,o,s,a,l,c,u,h,d);return f!==Fr&&Go(p,Cn(),f),gu}function bu(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f){const m=Xt(),g=Vl(m,e,t,n,i,r,o,s,a,l,c,u,h,d,p,f);return g!==Fr&&Go(m,Cn(),g),bu}function _u(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g){const b=Xt(),_=Bl(b,e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g);return _!==Fr&&Go(b,Cn(),_),_u}function vu(e){const t=Xt(),n=Al(t,e);return n!==Fr&&Go(t,Cn(),n),vu}function yu(e,t,n){Jc(Te,Yc,Dl(Xt(),e,t,n),!0)}function wu(e,t,n,i,r){Jc(Te,Yc,jl(Xt(),e,t,n,i,r),!0)}function Cu(e,t,n,i,r,o,s){Jc(Te,Yc,Nl(Xt(),e,t,n,i,r,o,s),!0)}function xu(e,t,n,i,r,o,s,a,l){Jc(Te,Yc,Rl(Xt(),e,t,n,i,r,o,s,a,l),!0)}function Su(e,t,n,i,r,o,s,a,l,c,u){Jc(Te,Yc,Ll(Xt(),e,t,n,i,r,o,s,a,l,c,u),!0)}function Ou(e,t,n,i,r,o,s,a,l,c,u,h,d){Jc(Te,Yc,Fl(Xt(),e,t,n,i,r,o,s,a,l,c,u,h,d),!0)}function ku(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f){Jc(Te,Yc,Vl(Xt(),e,t,n,i,r,o,s,a,l,c,u,h,d,p,f),!0)}function Eu(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g){Jc(Te,Yc,Bl(Xt(),e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g),!0)}function Pu(e){Jc(Te,Yc,Al(Xt(),e),!0)}function Iu(e,t,n){Xc(Dl(Xt(),e,t,n))}function Tu(e,t,n,i,r){Xc(jl(Xt(),e,t,n,i,r))}function Mu(e,t,n,i,r,o,s){Xc(Nl(Xt(),e,t,n,i,r,o,s))}function Au(e,t,n,i,r,o,s,a,l){Xc(Rl(Xt(),e,t,n,i,r,o,s,a,l))}function Du(e,t,n,i,r,o,s,a,l,c,u){Xc(Ll(Xt(),e,t,n,i,r,o,s,a,l,c,u))}function ju(e,t,n,i,r,o,s,a,l,c,u,h,d){Xc(Fl(Xt(),e,t,n,i,r,o,s,a,l,c,u,h,d))}function Nu(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f){Xc(Vl(Xt(),e,t,n,i,r,o,s,a,l,c,u,h,d,p,f))}function Ru(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g){Xc(Bl(Xt(),e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g))}function Lu(e){Xc(Al(Xt(),e))}function Fu(e,t,n,i,r){return Zc(e,Dl(Xt(),t,n,i),r,!1),Fu}
1function Vu(e,t,n,i,r,o,s){return Zc(e,jl(Xt(),t,n,i,r,o),s,!1),Vu}function Bu(e,t,n,i,r,o,s,a,l){return Zc(e,Nl(Xt(),t,n,i,r,o,s,a),l,!1),Bu}function Uu(e,t,n,i,r,o,s,a,l,c,u){return Zc(e,Rl(Xt(),t,n,i,r,o,s,a,l,c),u,!1),Uu}function Hu(e,t,n,i,r,o,s,a,l,c,u,h,d){return Zc(e,Ll(Xt(),t,n,i,r,o,s,a,l,c,u,h),d,!1),Hu}function zu(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f){return Zc(e,Fl(Xt(),t,n,i,r,o,s,a,l,c,u,h,d,p),f,!1),zu}function Gu(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g){return Zc(e,Vl(Xt(),t,n,i,r,o,s,a,l,c,u,h,d,p,f,m),g,!1),Gu}function qu(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b,_){return Zc(e,Bl(Xt(),t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b),_,!1),qu}function Wu(e,t,n){return Zc(e,Al(Xt(),t),n,!1),Wu}function Ku(e,t,n){const i=Xt();return El(i,an(),t)&&go($t(),Sn(),i,e,t,i[11],n,!0),Ku}function Xu(e,t,n){const i=Xt();if(El(i,an(),t)){const r=$t(),o=Sn();go(r,o,i,e,t,Uo(hn(r.data),o,i),n,!0)}return Xu}const $u=void 0;var Qu=["en",[["a","p"],["AM","PM"],$u],[["AM","PM"],$u,$u],[["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"]],$u,[["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"]],$u,[["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}",$u,"{1} 'at' {0}",$u],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Yu={};function Zu(e,t,n){"string"!=typeof t&&(n=t,t=e[rh.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yu[t]=e,n&&(Yu[t][rh.ExtraData]=n)}function Ju(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=nh(t);if(n)return n;const i=t.split("-")[0];if(n=nh(i),n)return n;if("en"===i)return Qu;throw new Error(`Missing locale data for the locale "${e}".`)}function eh(e){return Ju(e)[rh.CurrencyCode]||null}function th(e){return Ju(e)[rh.PluralCase]}function nh(e){return e in Yu||(Yu[e]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[e]),Yu[e]}function ih(){Yu={}}var rh=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const oh=["zero","one","two","few","many"],sh="en-US",ah="USD",lh={marker:"element"},ch={marker:"comment"};let uh=sh;function hh(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(uh=e.toLowerCase().replace(/_/g,"-"))}const dh=[];let ph=-1,fh=0,mh=0;function gh(e,t,n,i){const r=i[11];let o=null,s=null;const a=[];for(let l=0;l<n.length;l++){const c=n[l];if("string"==typeof c){const t=Wo(c,r),u=n[++l];s=o,o=Ch(e,i,u,2,t,null),a.push(u),en()}else if("number"==typeof c)switch(7&c){case 1:const r=c>>>17;let u;u=r===t?i[6]:jt(e,r),s=yh(e,o,u,s,i);break;case 0:const h=c>=0,d=(h?c:~c)>>>3;a.push(d),s=o,o=jt(e,d),o&&Zt(o,h);break;case 5:s=o=jt(e,c>>>3),Zt(o,!1);break;case 4:const p=n[++l],f=n[++l];
1Eo(jt(e,c>>>3),i,p,f,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case ch:const t=n[++l],u=n[++l],h=r.createComment(t);s=o,o=Ch(e,i,u,4,h,null),a.push(u),wr(h,i),en();break;case lh:const d=n[++l],p=n[++l];s=o,o=Ch(e,i,p,2,r.createElement(d),d),a.push(p);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}}return en(),a}function bh(e,t,n,i,r,o){let s=!1;for(let a=0;a<i.length;a++){const l=i[a],c=i[++a];if(l&o){let o="";for(let l=a+1;l<=a+c;l++){const a=i[l];if("string"==typeof a)o+=a;else if("number"==typeof a)if(a<0)o+=ut(n[r-a]);else{const c=a>>>2;switch(3&a){case 1:const a=i[++l],u=i[++l];go(e,jt(e,c),n,a,o,n[11],u,!1);break;case 0:Go(n,c,o);break;case 2:s=vh(e,t,i[++l],n,o);break;case 3:_h(e,t,i[++l],r,n,s)}}}}a+=c}}function _h(e,t,n,i,r,o){const s=t[n],a=r[s.currentCaseLViewIndex];null!==a&&bh(e,t,r,s.update[a],i,o?-1:fh)}function vh(e,t,n,i,r){!function e(t,n,i,r){const o=n[i],s=r[o.currentCaseLViewIndex];if(null!==s){const i=o.remove[s];for(let o=0;o<i.length;o++){const s=i[o],a=s>>>3;switch(7&s){case 3:wh(t,r,a,!1);break;case 6:e(t,n,a,r)}}}}(e,t,n,i);let o=!1;const s=t[n],a=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=th(t)(parseInt(e,10)),i=oh[n];return void 0!==i?i:"other"}(t,uh);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return n}(s,r);return i[s.currentCaseLViewIndex]=-1!==a?a:null,a>-1&&(gh(e,-1,s.create[a],i),o=!0),o}function yh(e,t,n,i,r){const o=t.next;i||(i=n),i===n&&t!==n.child?(t.next=n.child,null===t.parent?e.firstChild=t:n.child=t):i!==n&&t!==i.next?(t.next=i.next,i.next=t):t.next=null,n!==r[6]&&(t.parent=n);let s=t.next;for(;s;)s.next===t&&(s.next=o),s=s.next;if(1===t.type)return as(e,r,t),t;is(e,r,Dt(t,r),t);const a=r[t.index];return 0!==t.type&&rt(a)&&is(e,r,a[7],t),t}function wh(e,t,n,i){const r=jt(e,n),o=At(n,t);o&&rs(t[11],o);const s=Nt(t,n);if(rt(s)){const e=s;0!==r.type&&rs(t[11],e[7])}i&&r&&(r.flags|=64)}function Ch(e,t,n,i,r,o){const s=Yt();t[n+tt]=r;const a=no(e,n,i,o,null);return s&&s.next===a&&(s.next=null),a}const xh=/\ufffd(\d+):?\d*\ufffd/gi,Sh=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Oh=/\ufffd(\d+)\ufffd/,kh=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/;let Eh;const Ph=[],Ih=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Th=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Mh=/\uE500/g;function Ah(e,t,n,i=null){const r=[null,null],o=e.split(xh);let s=0;for(let a=0;a<o.length;a++){const e=o[a];if(1&a){const t=parseInt(e,10);r.push(-1-t),s|=Nh(t)}else""!==e&&r.push(e)}return r.push(t<<2|(n?1:0)),n&&r.push(n,i),r[0]=s,r[1]=r.length-2,r}function Dh(e,t=0){let n;t|=Nh(e.mainBinding);for(let i=0;i<e.values.length;i++){const r=e.values[i];for(let e=0;e<r.length;e++){const i=r[e];if("string"==typeof i)for(;n=xh.exec(i);)t|=Nh(parseInt(n[1],10));else t=Dh(i,t)}}return t}function jh(e){return e+Eh++}function Nh(e){return 1<<Math.min(e,31)}function Rh(e){return void 0===e}function Lh(e){let t,n,i="",r=0,o=!1;for(;null!==(t=Ih.exec(e));)o?t[0]===`\ufffd/*${n}\ufffd`&&(r=t.index,o=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],o=!0);return i+=e.substr(r),i}function Fh(e,t,n,i){const r=[],o=[],s=[],a=[],l=[],c=t.values;for(let u=0;u<c.length;u++){const t=c[u],h=[];for(let e=0;e<t.length;e++){const n=t[e];if("string"!=typeof n){const i=h.push(n)-1;t[e]=`\x3c!--\ufffd${i}\ufffd--\x3e`}}const d=Bh(t.join(""),n,h,e,i);r.push(d.create),o.push(d.remove),s.push(d.update),a.push(d.vars),l.push(d.childIcus)}e.push({type:t.type,vars:a,currentCaseLViewIndex:tt+i+1,childIcus:l,cases:t.cases,create:r,remove:o,update:s}),Eh+=Math.max(...a)}function Vh(e){const t=[],n=[];let i=1,r=0;const o=Uh(e=e.replace(kh,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""})));for(let s=0;s<o.length;){let e=o[s++].trim();1===i&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const r=Uh(o[s++]);t.length>n.length&&n.push(r)}return{type:i,mainBinding:r,cases:t,values:n}}function Bh(e,t,n,i,r){const o=Di(Pt()).getInertBodyElement(e);
1if(!o)throw new Error("Unable to generate inert body element");const s={vars:1,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,i,r,o,s){if(t){const a=[];for(;t;){const l=t.nextSibling,c=s+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:const l=t,u=l.tagName.toLowerCase();if(Wi.hasOwnProperty(u)){n.create.push(lh,u,c,i<<17|1);const a=l.attributes;for(let e=0;e<a.length;e++){const t=a.item(e),i=t.name.toLowerCase();t.value.match(xh)?$i.hasOwnProperty(i)&&Se(Ki[i]?Ah(t.value,c,t.name,Fi):Xi[i]?Ah(t.value,c,t.name,Vi):Ah(t.value,c,t.name),n.update):n.create.push(c<<3|4,t.name,t.value)}e(t.firstChild,n,c,r,o,s),n.remove.push(c<<3|3)}else n.vars--;break;case Node.TEXT_NODE:const h=t.textContent||"",d=h.match(xh);n.create.push(d?"":h,c,i<<17|1),n.remove.push(c<<3|3),d&&Se(Ah(h,c),n.update);break;case Node.COMMENT_NODE:const p=Oh.exec(t.textContent||"");if(p){const e=parseInt(p[1],10);n.create.push(ch,"",c,i<<17|1),a.push([r[e],c])}else n.vars--;break;default:n.vars--}t=l}for(let e=0;e<a.length;e++){const t=a[e][0],i=a[e][1];Fh(o,t,i,s+n.vars);const r=o.length-1;n.vars+=Math.max(...o[r].vars),n.childIcus.push(r);const l=Dh(t);n.update.push(Nh(t.mainBinding),3,-1-t.mainBinding,i<<2|2,r,l,2,i<<2|3,r),n.remove.push(r<<3|6,i<<3|3)}}}((ir(o)||o).firstChild,s,t,n,i,r),s}function Uh(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(e);){const r=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);kh.test(n)?i.push(Vh(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const s=e.substring(t);return i.push(s),i}const Hh=/\[(\ufffd.+?\ufffd?)\]/,zh=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Gh=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,qh=/{([A-Z0-9_]+)}/g,Wh=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Kh=/\/\*/,Xh=/\d+\:(\d+)/;function $h(e,t={}){let n=e;if(Hh.test(e)){const e={},t=[0];n=n.replace(zh,(n,i,r)=>{const o=i||r,s=e[o]||[];if(s.length||(o.split("|").forEach(e=>{const t=e.match(Xh),n=t?parseInt(t[1],10):0,i=Kh.test(e);s.push([n,i,e])}),e[o]=s),!s.length)throw new Error("i18n postprocess: unmatched placeholder - "+o);const a=t[t.length-1];let l=0;for(let e=0;e<s.length;e++)if(s[e][0]===a){l=e;break}const[c,u,h]=s[l];return u?t.pop():a!==c&&t.push(c),s.splice(l,1),h})}return Object.keys(t).length?(n=n.replace(Gh,(e,n,i,r,o,s)=>t.hasOwnProperty(i)?`${n}${t[i]}${s}`:e),n=n.replace(qh,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(Wh,(e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e}),n):n}function Qh(e,t,n){const i=$t(),r=Ut(i.consts,t);!function(e){dh[++ph]=e}(e),Cc(!0),i.firstCreatePass&&null===i.data[e+tt]&&function(e,t,n,i,r){const o=t.blueprint.length-tt;Eh=0;const s=Yt(),a=Jt()?s:s&&s.parent;let l=a&&a!==e[6]?a.index-tt:n,c=0;Ph[c]=l;const u=[];if(n>0&&s!==a){let e=s.index-tt;Jt()||(e=~e),u.push(e<<3|0)}const h=[],d=[];if(""===i&&Rh(r))u.push(i,jh(o),l<<17|1);else{const e=function(e,t){if(Rh(t))return Lh(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Lh(e.substring(n,i))}}(i,r),t=(p=e,p.replace(Mh," ")).split(Th);for(let n=0;n<t.length;n++){let i=t[n];if(1&n)if("/"===i.charAt(0)){if("#"===i.charAt(1)){const e=parseInt(i.substr(2),10);l=Ph[--c],u.push(e<<3|5)}}else{const e=parseInt(i.substr(1),10),t="#"===i.charAt(0);u.push((t?e:~e)<<3|0,l<<17|1),t&&(Ph[++c]=l=e)}else{const t=Uh(i);for(let n=0;n<t.length;n++)if(1&n){const i=t[n];if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${e}" message.`);const r=jh(o);u.push(ch,"",r,l<<17|1);const s=Dh(i);Fh(d,i,r,r);const a=d.length-1;h.push(Nh(i.mainBinding),3,-1-i.mainBinding,r<<2|2,a,s,2,r<<2|3,a)}else if(""!==t[n]){const e=t[n],i=e.match(xh),r=jh(o);u.push(i?"":e,r,l<<17|1),i&&Se(Ah(e,r),h)}}}}var p;Eh>0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(let i=0;i<n;i++)e.blueprint.push(null),e.data.push(null),t.push(null);e.expandoInstructions?e.expandoInstructions.push(n):e.expandoStartIndex+=n}}(t,e,Eh),t.data[n+tt]={vars:Eh,create:u,update:h,icus:d.length?d:null}}(Xt(),i,e,r,n)}function Yh(){const e=Xt();(function(e,t){const n=dh[ph--],i=e.data[n+tt],r=Yt(),o=gh(e,n,i.create,t);let s=n+1;for(;null!==r&&s<=r.index-tt;){-1===o.indexOf(s)&&wh(e,t,s,!0);const n=jt(e,s);!n||0!==n.type&&2!==n.type&&3!==n.type||null===n.localNames||(s+=n.localNames.length>>1),s++}})($t(),e),Cc(!1)}function Zh(e,t,n){Qh(e,t,n),Yh()}function Jh(e,t){const n=Xt(),i=$t();!function(e,t,n,i){const r=Yt().index-tt,o=[];for(let s=0;s<i.length;s+=2){const a=i[s],l=i[s+1].split(Sh);for(let i=0;i<l.length;i++){const s=l[i];if(1&i)throw new Error("ICU expressions are not yet supported in attributes");if(""!==s)if(s.match(xh))t.firstCreatePass&&null===t.data[n+tt]&&Se(Ah(s,r,a),o);else{const n=jt(t,r);2===n.type&&Eo(n,e,a,s,null,null);const i=null!==n.inputs&&n.inputs[a];i&&zo(t,e,i,a,s)}}}t.firstCreatePass&&null===t.data[n+tt]&&(t.data[n+tt]=o)}(n,i,e,Ut(i.consts,t))}
vendor: 10,580 bytes, line 1
1function ed(e){return El(Xt(),an(),e)&&(fh|=1<<mh),mh++,ed}function td(e){!function(e,t,n){if(mh>0){const i=e.data[n+tt];let r,o=null;Array.isArray(i)?r=i:(r=i.update,o=i.icus),bh(e,o,t,r,on()-mh-1,fh),fh=0,mh=0}}($t(),Xt(),e)}function nd(e,t={}){return $h(e,t)}function id(e,t,n,i,r){if(e=H(e),Array.isArray(e))for(let o=0;o<e.length;o++)id(e[o],t,n,i,r);else{const o=$t(),s=Xt();let a=na(e)?e:H(e.provide),l=Js(e);const c=Yt(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(na(e)||!e.multi){const i=new Nn(l,r,Jl),p=sd(a,t,r?u:u+d,h);-1===p?(Yn(Kn(c,s),o,a),rd(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=sd(a,t,u+d,h),f=sd(a,t,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(r&&!g||!r&&!m){Yn(Kn(c,s),o,a);const u=function(e,t,n,i,r){const o=new Nn(e,n,Jl);return o.multi=[],o.index=t,o.componentProviders=0,od(o,r,i&&!n),o}(r?ld:ad,n.length,r,i,l);!r&&g&&(n[f].providerFactory=u),rd(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),s.push(u)}else rd(o,e,p>-1?p:f,od(n[r?f:p],l,!r&&i));!r&&i&&g&&n[f].componentProviders++}}}function rd(e,t,n,i){const r=na(t);if(r||t.useClass){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[i,o]):s[e+1].push(i,o)}else s.push(n,o)}}}function od(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function sd(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function ad(e,t,n,i){return cd(this.multi,[])}function ld(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=ii(n,n[1],this.providerFactory.index,i);o=t.slice(0,e),cd(r,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],cd(r,o);return o}function cd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ud(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=$t();if(i.firstCreatePass){const r=lt(e);id(n,i.data,i.blueprint,r,!0),id(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class hd{}class dd{}function pd(e){const t=Error(`No component factory found for ${F(e)}. Did you add it to @NgModule.entryComponents?`);return t[fd]=e,t}const fd="ngComponent";class md{resolveComponentFactory(e){throw pd(e)}}let gd=(()=>{class e{}return e.NULL=new md,e})();class bd{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let i=0;i<e.length;i++){const t=e[i];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw pd(e);return new _d(t,this._ngModule)}}class _d extends dd{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,i){return this.factory.create(e,t,n,i||this.ngModule)}}let vd=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>wd(e),e})();const yd=function(e){return gs(e,Yt(),Xt())},wd=yd;class Cd{}var xd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let Sd=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>kd(),e})();const Od=function(){const e=Xt(),t=Rt(Yt().index,e);return function(e){const t=e[11];if(It(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(it(t)?t:e)},kd=Od;let Ed=(()=>{class e{}return e.\u0275prov=E({token:e,providedIn:"root",factory:()=>null}),e})();class Pd{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Id=new Pd("10.2.5");class Td{constructor(){}supports(e){return xl(e)}create(e){return new Ad(e)}}const Md=(e,t)=>t;class Ad{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Md}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const o=!n||t&&t.currentIndex<Rd(n,i,r)?t:n,s=Rd(o,i,r),a=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{r||(r=[]);const e=s-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<r.length?r[n]:r[n]=0,o=i+n;t<=o&&o<e&&(r[n]=i+1)}r[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!xl(e))throw new Error(`Error trying to diff '${F(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,r=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,n,i,t)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,t),o=!0),r=r._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[yl()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,e=>{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),o=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new Dd(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Nd),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Nd),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Dd{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class jd{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Nd{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new jd,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}
1function Rd(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class Ld{constructor(){}supports(e){return e instanceof Map||Sl(e)}create(){return new Fd}}class Fd{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Sl(e)))throw new Error(`Error trying to diff '${F(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Vd(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Vd{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Bd=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new y,new _]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e([new Td])}),e})(),Ud=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new y,new _]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e([new Ld])}),e})();const Hd=[new Ld],zd=new Bd([new Td]),Gd=new Ud(Hd);let qd=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Kd(e,vd),e})();const Wd=function(e,t){return bs(e,t,Yt(),Xt())},Kd=Wd;let Xd=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Qd(e,vd),e})();const $d=function(e,t){return _s(e,t,Yt(),Xt())},Qd=$d;function Yd(e,t,n,i){let r=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return i&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return Zd(n,t),n}(r,e)}function Zd(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Jd(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function ep(e,t,n){const i=e.state,r=1792&i;return r===t?(e.state=-1793&i|n,e.initIndex=-1,!0):r===n}function tp(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}
1function np(e,t){return e.nodes[t]}function ip(e,t){return e.nodes[t]}function rp(e,t){return e.nodes[t]}function op(e,t){return e.nodes[t]}function sp(e,t){return e.nodes[t]}class ap{}const lp={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},cp=()=>{},up=new Map;function hp(e){let t=up.get(e);return t||(t=F(e)+"_"+up.size,up.set(e,t)),t}function dp(e,t,n,i){if(Cl.isWrapped(i)){i=Cl.unwrap(i);const r=e.def.nodes[t].bindingIndex+n,o=Cl.unwrap(e.oldValues[r]);e.oldValues[r]=new Cl(o)}return i}const pp="$$undefined",fp="$$empty";function mp(e){return{id:pp,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let gp=0;function bp(e,t,n,i){return!(!(2&e.state)&&Object.is(e.oldValues[t.bindingIndex+n],i))}function _p(e,t,n,i){return!!bp(e,t,n,i)&&(e.oldValues[t.bindingIndex+n]=i,!0)}function vp(e,t,n,i){const r=e.oldValues[t.bindingIndex+n];if(1&e.state||!wl(r,i)){const o=t.bindings[n].name;throw Yd(lp.createDebugContext(e,t.nodeIndex),`${o}: ${r}`,`${o}: ${i}`,0!=(1&e.state))}}function yp(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function wp(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Cp(e,t,n,i){try{return yp(33554432&e.def.nodes[t].flags?ip(e,t).componentView:e),lp.handleEvent(e,t,n,i)}catch(r){e.root.errorHandler.handleError(r)}}function xp(e){return e.parent?ip(e.parent,e.parentNodeDef.nodeIndex):null}function Sp(e){return e.parent?e.parentNodeDef.parent:null}function Op(e,t){switch(201347067&t.flags){case 1:return ip(e,t.nodeIndex).renderElement;case 2:return np(e,t.nodeIndex).renderText}}function kp(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Ep(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Pp(e){return 1<<e%32}function Ip(e){const t={};let n=0;const i={};return e&&e.forEach(([e,r])=>{"number"==typeof e?(t[e]=r,n|=Pp(e)):i[e]=r}),{matchedQueries:t,references:i,matchedQueryIds:n}}function Tp(e,t){return e.map(e=>{let n,i;return Array.isArray(e)?[i,n]=e:(i=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,le,{value:t,configurable:!0}),{flags:i,token:n,tokenKey:hp(n)}})}function Mp(e,t,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===Re.Native?ip(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Ap=new WeakMap;function Dp(e){let t=Ap.get(e);return t||(t=e(()=>cp),t.factory=e,Ap.set(e,t)),t}function jp(e,t,n,i,r){3===t&&(n=e.renderer.parentNode(Op(e,e.def.lastRenderRootNode))),Np(e,t,0,e.def.nodes.length-1,n,i,r)}function Np(e,t,n,i,r,o,s){for(let a=n;a<=i;a++){const n=e.def.nodes[a];11&n.flags&&Lp(e,n,t,r,o,s),a+=n.childCount}}function Rp(e,t,n,i,r,o){let s=e;for(;s&&!kp(s);)s=s.parent;const a=s.parent,l=Sp(s),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&Lp(a,e,n,i,r,o),u+=e.childCount}if(!a.parent){const s=e.root.projectableNodes[t];if(s)for(let t=0;t<s.length;t++)Fp(e,s[t],n,i,r,o)}}function Lp(e,t,n,i,r,o){if(8&t.flags)Rp(e,t.ngContent.index,n,i,r,o);else{const s=Op(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Fp(e,s,n,i,r,o),32&t.bindingFlags&&Fp(ip(e,t.nodeIndex).componentView,s,n,i,r,o)):Fp(e,s,n,i,r,o),16777216&t.flags){const s=ip(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<s.length;e++)jp(s[e],n,i,r,o)}1&t.flags&&!t.element.name&&Np(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,i,r,o)}}function Fp(e,t,n,i,r,o){const s=e.renderer;switch(n){case 1:s.appendChild(i,t);break;case 2:s.insertBefore(i,t,r);break;case 3:s.removeChild(i,t);break;case 0:o.push(t)}}const Vp=/^:([^:]+):(.+)$/;function Bp(e){if(":"===e[0]){const t=e.match(Vp);return[t[1],t[2]]}return["",e]}function Up(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function Hp(e,t){let n="";for(let i=0;i<2*e;i+=2)n=n+t[i]+Gp(t[i+1]);return n+t[2*e]}function zp(e,t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b,_,v){switch(e){case 1:return t+Gp(n)+i;case 2:return t+Gp(n)+i+Gp(r)+o;case 3:return t+Gp(n)+i+Gp(r)+o+Gp(s)+a;case 4:return t+Gp(n)+i+Gp(r)+o+Gp(s)+a+Gp(l)+c;case 5:return t+Gp(n)+i+Gp(r)+o+Gp(s)+a+Gp(l)+c+Gp(u)+h;case 6:return t+Gp(n)+i+Gp(r)+o+Gp(s)+a+Gp(l)+c+Gp(u)+h+Gp(d)+p;case 7:return t+Gp(n)+i+Gp(r)+o+Gp(s)+a+Gp(l)+c+Gp(u)+h+Gp(d)+p+Gp(f)+m;case 8:return t+Gp(n)+i+Gp(r)+o+Gp(s)+a+Gp(l)+c+Gp(u)+h+Gp(d)+p+Gp(f)+m+Gp(g)+b;case 9:return t+Gp(n)+i+Gp(r)+o+Gp(s)+a+Gp(l)+c+Gp(u)+h+Gp(d)+p+Gp(f)+m+Gp(g)+b+Gp(_)+v;default:throw new Error("Does not support more than 9 expressions")}}function Gp(e){return null!=e?e.toString():""}const qp=[],Wp={},Kp={},Xp=hp(oa),$p=hp(oe),Qp=hp(Ce);function Yp(e,t,n,i){return n=H(n),{index:-1,deps:Tp(i,F(t)),flags:e,token:t,value:n}}function Zp(e){const t={},n=[];let i=null;for(let r=0;r<e.length;r++){const o=e[r];o.token===zs&&(i=o.value),1073741824&o.flags&&n.push(o.token),o.index=r,t[hp(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,scope:i}}function Jp(e,t,n=oa.THROW_IF_NOT_FOUND){const i=de(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const r=t.tokenKey;switch(r){case Xp:case $p:case Qp:return e}const o=e._def.providersByKey[r];let s;if(o){let t=e._providers[o.index];return void 0===t&&(t=e._providers[o.index]=ef(e,o)),t===Kp?void 0:t}if((s=T(t.token))&&function(e,t){const n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,s)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:n,token:t.token},e._providers[n]=Kp,e._providers[n]=ef(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{de(i)}}function ef(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const i=n.length;switch(i){case 0:return new t;case 1:return new t(Jp(e,n[0]));case 2:return new t(Jp(e,n[0]),Jp(e,n[1]));case 3:return new t(Jp(e,n[0]),Jp(e,n[1]),Jp(e,n[2]));default:const r=[];for(let t=0;t<i;t++)r[t]=Jp(e,n[t]);return new t(...r)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const i=n.length;switch(i){case 0:return t();case 1:return t(Jp(e,n[0]));case 2:return t(Jp(e,n[0]),Jp(e,n[1]));case 3:return t(Jp(e,n[0]),Jp(e,n[1]),Jp(e,n[2]));default:const r=[];for(let t=0;t<i;t++)r[t]=Jp(e,n[t]);return t(...r)}}(e,t.value,t.deps);break;case 2048:n=Jp(e,t.deps[0]);break;case 256:n=t.value}return n===Kp||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Kp:n}function tf(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const i=n[t];return i.viewContainerParent=null,Pe(n,t),lp.dirtyParentQueries(i),rf(i),i}function nf(e,t,n){const i=t?Op(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);jp(n,2,r,o,void 0)}function rf(e){jp(e,3,null,null,void 0)}const of={};function sf(e,t,n,i,r,o){return new lf(e,t,n,i,r,o)}function af(e){return e.viewDefFactory}class lf extends dd{constructor(e,t,n,i,r,o){super(),this.selector=e,this.componentType=t,this._inputs=i,this._outputs=r,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,i){if(!i)throw new Error("ngModule should be provided");
1const r=Dp(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,s=lp.createRootView(e,t||[],n,r,i,of),a=rp(s,o).instance;return n&&s.renderer.setAttribute(ip(s,0).renderElement,"ng-version",Id.full),new cf(s,new pf(s),a)}}class cf extends hd{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new vd(ip(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new bf(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function uf(e,t,n){return new hf(e,t,n)}class hf{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new vd(this._data.renderElement)}get injector(){return new bf(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Sp(e),e=e.parent;return e?new bf(e,t):new bf(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=tf(this._data,e);lp.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new pf(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const o=n||this.parentInjector;r||e instanceof _d||(r=o.get(Ce));const s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,i){let r=t.viewContainer._embeddedViews;null==n&&(n=r.length),i.viewContainerParent=e,Ee(r,n,i),function(e,t){const n=xp(t);if(!n||n===e||16&t.state)return;t.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,i),lp.dirtyParentQueries(i),nf(t,n>0?r[n-1]:null,i)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const i=e.viewContainer._embeddedViews,r=i[t];Pe(i,t),null==n&&(n=i.length),Ee(i,n,r),lp.dirtyParentQueries(r),rf(r),nf(e,n>0?i[n-1]:null,r)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=tf(this._data,e);t&&lp.destroyView(t)}detach(e){const t=tf(this._data,e);return t?new pf(t):null}}function df(e){return new pf(e)}class pf{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return jp(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){yp(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{lp.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){lp.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),lp.destroyView(this._view)}detachFromAppRef(){this._appRef=null,rf(this._view),lp.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function ff(e,t){return new mf(e,t)}class mf extends qd{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new pf(lp.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new vd(ip(this._parentView,this._def.nodeIndex).renderElement)}}function gf(e,t){return new bf(e,t)}class bf{constructor(e,t){this.view=e,this.elDef=t}get(e,t=oa.THROW_IF_NOT_FOUND){return lp.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:hp(e)},t)}}function _f(e,t){const n=e.def.nodes[t];
1if(1&n.flags){const t=ip(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return np(e,n.nodeIndex).renderText;if(20240&n.flags)return rp(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function vf(e,t,n,i){return new yf(e,t,n,i)}class yf{constructor(e,t,n,i){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=Ie(t.providers.length);for(let i=0;i<t.providers.length;i++){const r=t.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=ef(e,r))}}(this)}get(e,t=oa.THROW_IF_NOT_FOUND,n=S.Default){let i=0;return n&S.SkipSelf?i|=1:n&S.Self&&(i|=4),Jp(this,{token:e,tokenKey:hp(e),flags:i},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(gd)}destroy(){if(this._destroyed)throw new Error(`The ng module ${F(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,i=new Set;for(let r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){const t=e._providers[r];if(t&&t!==Kp){const e=t.ngOnDestroy;"function"!=typeof e||i.has(t)||(e.apply(t),i.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const wf=hp(Sd),Cf=hp(vd),xf=hp(Xd),Sf=hp(qd),Of=hp(ys),kf=hp(oa),Ef=hp(oe);function Pf(e,t,n,i,r,o,s,a){const l=[];if(s)for(let u in s){const[e,t]=s[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return Mf(e,t|=16384,n,i,r,r,o,l,c)}function If(e,t,n){return Mf(-1,e|=16,null,0,t,t,n)}function Tf(e,t,n,i,r){return Mf(-1,e,t,0,n,i,r)}function Mf(e,t,n,i,r,o,s,a,l){const{matchedQueries:c,references:u,matchedQueryIds:h}=Ip(n);l||(l=[]),a||(a=[]),o=H(o);const d=Tp(s,F(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:h,references:u,ngContentIndex:-1,childCount:i,bindings:a,bindingFlags:Up(a),outputs:l,element:null,provider:{token:r,value:o,deps:d},text:null,query:null,ngContent:null}}function Af(e,t){return Rf(e,t)}function Df(e,t){let n=e;for(;n.parent&&!kp(n);)n=n.parent;return Lf(n.parent,Sp(n),!0,t.provider.value,t.provider.deps)}function jf(e,t){const n=Lf(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let i=0;i<t.outputs.length;i++){const r=t.outputs[i],o=n[r.propName];if(!dc(o))throw new Error(`@Output ${r.propName} not initialized in '${n.constructor.name}'.`);{const n=o.subscribe(Nf(e,t.parent.nodeIndex,r.eventName));e.disposables[t.outputIndex+i]=n.unsubscribe.bind(n)}}return n}function Nf(e,t,n){return i=>Cp(e,t,n,i)}function Rf(e,t){const n=(8192&t.flags)>0,i=t.provider;switch(201347067&t.flags){case 512:return Lf(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){const o=r.length;switch(o){case 0:return i();case 1:return i(Vf(e,t,n,r[0]));case 2:return i(Vf(e,t,n,r[0]),Vf(e,t,n,r[1]));case 3:return i(Vf(e,t,n,r[0]),Vf(e,t,n,r[1]),Vf(e,t,n,r[2]));default:const s=[];for(let i=0;i<o;i++)s.push(Vf(e,t,n,r[i]));return i(...s)}}(e,t.parent,n,i.value,i.deps);case 2048:return Vf(e,t.parent,n,i.deps[0]);case 256:return i.value}}function Lf(e,t,n,i,r){const o=r.length;switch(o){case 0:return new i;case 1:return new i(Vf(e,t,n,r[0]));case 2:return new i(Vf(e,t,n,r[0]),Vf(e,t,n,r[1]));case 3:return new i(Vf(e,t,n,r[0]),Vf(e,t,n,r[1]),Vf(e,t,n,r[2]));default:const s=[];for(let i=0;i<o;i++)s.push(Vf(e,t,n,r[i]));return new i(...s)}}const Ff={};function Vf(e,t,n,i,r=oa.THROW_IF_NOT_FOUND){if(8&i.flags)return i.token;const o=e;2&i.flags&&(r=null);const s=i.tokenKey;s===Of&&(n=!(!t||!t.element.componentView)),t&&1&i.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(s){case wf:return Bf(a,t,n).renderer;case Cf:return new vd(ip(a,t.nodeIndex).renderElement);case xf:return ip(a,t.nodeIndex).viewContainer;case Sf:if(t.element.template)return ip(a,t.nodeIndex).template;break;case Of:return df(Bf(a,t,n));case kf:case Ef:return gf(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[s];if(e){let t=rp(a,e.nodeIndex);return t||(t={instance:Rf(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=kp(a),t=Sp(a),a=a.parent,4&i.flags&&(a=null)}const l=o.root.injector.get(i.token,Ff);return l!==Ff||r===Ff?l:o.root.ngModule.injector.get(i.token,r)}function Bf(e,t,n){let i;
1if(n)i=ip(e,t.nodeIndex).componentView;else for(i=e;i.parent&&!kp(i);)i=i.parent;return i}function Uf(e,t,n,i,r,o){if(32768&n.flags){const t=ip(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[i].name]=r,524288&n.flags){o=o||{};const t=Cl.unwrap(e.oldValues[n.bindingIndex+i]);o[n.bindings[i].nonMinifiedName]=new _t(t,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+i]=r,o}function Hf(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let i=0;for(let r=0;r<n.length;r++){const o=n[r];let s=o.parent;for(!s&&o.flags&t&&Gf(e,r,o.flags&t,i++),0==(o.childFlags&t)&&(r+=o.childCount);s&&1&s.flags&&r===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(i=zf(e,s,t,i)),s=s.parent}}function zf(e,t,n,i){for(let r=t.nodeIndex+1;r<=t.nodeIndex+t.childCount;r++){const t=e.def.nodes[r];t.flags&n&&Gf(e,r,t.flags&n,i++),r+=t.childCount}return i}function Gf(e,t,n,i){const r=rp(e,t);if(!r)return;const o=r.instance;o&&(lp.setCurrentNode(e,t),1048576&n&&tp(e,512,i)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&tp(e,768,i)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}class qf extends gd{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Qe(e);return new Xf(t,this.ngModule)}}function Wf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Kf=new re("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>dt});class Xf extends dd{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Lr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Wf(this.componentDef.inputs)}get outputs(){return Wf(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const o=e.get(n,Ff,r);return o!==Ff||i===Ff?o:t.get(n,i,r)}}}(e,i.injector):e,o=r.get(Cd,Tt),s=r.get(Ed,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?po(a,n,this.componentDef.encapsulation):eo(l,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?St:"math"===t?Ot:null}(l)),u=this.componentDef.onPush?576:528,h=al(),d=ho(0,null,null,1,0,null,null,null,null,null),p=to(null,d,h,u,null,null,o,a,s,r);let f,m;mn(p);try{const e=ol(c,this.componentDef,p,o,a);if(c)if(n)Rn(a,c,["ng-version",Id.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!Ar(r))break;r=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Rn(a,c,e),t&&t.length>0&&us(a,c,t.join(" "))}if(m=jt(d,0),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=t[n];e.push(null!=i?Array.from(i):null)}}f=sl(e,this.componentDef,p,h,[ll]),io(d,p,null)}finally{yn()}return new $f(this.componentType,f,gs(vd,m,p),p,m)}}class $f extends hd{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new ds(i),this.componentType=e}get injector(){return new si(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}function Qf(e,t,n,i){return l(()=>{const r=e,o=r.prototype?Object.getPrototypeOf(r.prototype):null,s=o&&o.constructor;null!==t&&(void 0===r.decorators||s&&s.decorators===r.decorators?r.decorators=t:r.decorators.push(...t)),null!==n&&(r.ctorParameters=n),null!==i&&(r.propDecorators=void 0===r.propDecorators||s&&s.propDecorators===r.propDecorators?i:Object.assign(Object.assign({},r.propDecorators),i))})}const Yf=new Map;function Zf(e,t){const n=Yf.get(e);Jf(e,n&&n.moduleType,t.moduleType),Yf.set(e,t)}function Jf(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${F(t)} vs ${F(t.name)}`)}function em(e){const t=new Set;!function e(n){const i=et(n,!0),r=i.id;null!==r&&(Jf(r,Yf.get(r),n),Yf.set(r,n));const o=gt(i.imports);for(const s of o)t.has(s)||(t.add(s),e(s))}(e)}function tm(e){return Yf.get(e)||Ge[e]}class nm extends Ce{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new qf(this);const n=et(e),i=e[te]||null;i&&hh(i),this._bootstrapComponents=gt(n.bootstrap),this._r3Injector=Qs(e,t,[{provide:Ce,useValue:this},{provide:gd,useValue:this.componentFactoryResolver}],F(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=oa.THROW_IF_NOT_FOUND,n=S.Default){return e===oa||e===Ce||e===oe?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;
1!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class im extends xe{constructor(e){super(),this.moduleType=e,null!==et(e)&&em(e)}create(e){return new nm(this.moduleType,e)}}function rm(e,t,n){const i=rn()+e,r=Xt();return r[i]===Fr?Ol(r,i,n?t.call(n):t()):kl(r,i)}function om(e,t,n,i){return mm(Xt(),rn(),e,t,n,i)}function sm(e,t,n,i,r){return gm(Xt(),rn(),e,t,n,i,r)}function am(e,t,n,i,r,o){return bm(Xt(),rn(),e,t,n,i,r,o)}function lm(e,t,n,i,r,o,s){return _m(Xt(),rn(),e,t,n,i,r,o,s)}function cm(e,t,n,i,r,o,s,a){const l=rn()+e,c=Xt(),u=Tl(c,l,n,i,r,o);return El(c,l+4,s)||u?Ol(c,l+5,a?t.call(a,n,i,r,o,s):t(n,i,r,o,s)):kl(c,l+5)}function um(e,t,n,i,r,o,s,a,l){const c=rn()+e,u=Xt(),h=Tl(u,c,n,i,r,o);return Pl(u,c+4,s,a)||h?Ol(u,c+6,l?t.call(l,n,i,r,o,s,a):t(n,i,r,o,s,a)):kl(u,c+6)}function hm(e,t,n,i,r,o,s,a,l,c){const u=rn()+e,h=Xt();let d=Tl(h,u,n,i,r,o);return Il(h,u+4,s,a,l)||d?Ol(h,u+7,c?t.call(c,n,i,r,o,s,a,l):t(n,i,r,o,s,a,l)):kl(h,u+7)}function dm(e,t,n,i,r,o,s,a,l,c,u){const h=rn()+e,d=Xt(),p=Tl(d,h,n,i,r,o);return Tl(d,h+4,s,a,l,c)||p?Ol(d,h+8,u?t.call(u,n,i,r,o,s,a,l,c):t(n,i,r,o,s,a,l,c)):kl(d,h+8)}function pm(e,t,n,i){return vm(Xt(),rn(),e,t,n,i)}function fm(e,t){const n=e[t];return n===Fr?void 0:n}function mm(e,t,n,i,r,o){const s=t+n;return El(e,s,r)?Ol(e,s+1,o?i.call(o,r):i(r)):fm(e,s+1)}function gm(e,t,n,i,r,o,s){const a=t+n;return Pl(e,a,r,o)?Ol(e,a+2,s?i.call(s,r,o):i(r,o)):fm(e,a+2)}function bm(e,t,n,i,r,o,s,a){const l=t+n;return Il(e,l,r,o,s)?Ol(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):fm(e,l+3)}function _m(e,t,n,i,r,o,s,a,l){const c=t+n;return Tl(e,c,r,o,s,a)?Ol(e,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):fm(e,c+4)}function vm(e,t,n,i,r,o){let s=t+n,a=!1;for(let l=0;l<r.length;l++)El(e,s++,r[l])&&(a=!0);return a?Ol(e,s,i.apply(o,r)):fm(e,s)}function ym(e,t){const n=$t();let i;const r=e+tt;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Je(i.type)),s=pe(Jl);try{const t=qn(!1),i=o();return qn(t),Yl(n,Xt(),e,i),i}finally{pe(s)}}function wm(e,t,n){const i=Xt(),r=Nt(i,e);return Em(i,km(i,e)?mm(i,rn(),t,r.transform,n,r):r.transform(n))}function Cm(e,t,n,i){const r=Xt(),o=Nt(r,e);return Em(r,km(r,e)?gm(r,rn(),t,o.transform,n,i,o):o.transform(n,i))}function xm(e,t,n,i,r){const o=Xt(),s=Nt(o,e);return Em(o,km(o,e)?bm(o,rn(),t,s.transform,n,i,r,s):s.transform(n,i,r))}function Sm(e,t,n,i,r,o){const s=Xt(),a=Nt(s,e);return Em(s,km(s,e)?_m(s,rn(),t,a.transform,n,i,r,o,a):a.transform(n,i,r,o))}function Om(e,t,n){const i=Xt(),r=Nt(i,e);return Em(i,km(i,e)?vm(i,rn(),t,r.transform,n,r):r.transform.apply(r,n))}function km(e,t){return e[1].data[t+tt].pure}function Em(e,t){return Cl.isWrapped(t)&&(t=Cl.unwrap(t),e[on()]=Fr),t}const Pm=class extends i.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,o=e=>null,s=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,o,s);return e instanceof r.a&&e.add(a),a}};function Im(){return this._results[yl()]()}class Tm{constructor(){this.dirty=!0,this._results=[],this.changes=new Pm,this.length=0;const e=yl(),t=Tm.prototype;t[e]||(t[e]=Im)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=Oe(e),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 Mm{constructor(e){this.queryList=e,this.matches=null}clone(){return new Mm(this.queryList)}setDirty(){this.queryList.setDirty()}}class Am{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);i.push(this.queries[n.indexInDeclarationView].clone())}return new Am(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==$m(e,t).matches&&this.queries[t].setDirty()}}class Dm{constructor(e,t,n,i=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=i}}class jm{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,r=this.getByIndex(n).embeddedTView(e,i);r&&(r.indexInDeclarationView=n,null!==t?t.push(r):t=[r])}return null!==t?new jm(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Nm{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Nm(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&3===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}
1matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(e,t,Rm(t,r)),this.matchTNodeWithReadOption(e,t,ni(t,e,r,!1,!1))}else n===qd?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,ni(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===vd||i===Xd||i===qd&&0===t.type)this.addMatch(t.index,-2);else{const n=ni(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Rm(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Lm(e,t,n,i){return-1===n?function(e,t){return 2===e.type||3===e.type?gs(vd,e,t):0===e.type?bs(qd,vd,e,t):null}(t,e):-2===n?function(e,t,n){return n===vd?gs(vd,t,e):n===qd?bs(qd,vd,t,e):n===Xd?_s(Xd,vd,t,e):void 0}(e,t,i):ii(e,e[1],n,t)}function Fm(e,t,n,i){const r=t[19].queries[i];if(null===r.matches){const i=e.data,o=n.matches,s=[];for(let e=0;e<o.length;e+=2){const r=o[e];s.push(r<0?null:Lm(t,i[r],o[e+1],n.metadata.read))}r.matches=s}return r.matches}function Vm(e){const t=Xt(),n=$t(),i=dn();pn(i+1);const r=$m(n,i);if(e.dirty&&Vt(t)===r.metadata.isStatic){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?function e(t,n,i,r){const o=t.queries.getByIndex(i),s=o.matches;if(null!==s){const a=Fm(t,n,o,i);for(let t=0;t<s.length;t+=2){const i=s[t];if(i>0)r.push(a[t/2]);else{const o=s[t+1],a=n[-i];for(let t=nt;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,o,r)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const i=t[n];e(i[1],i,o,r)}}}}}return r}(n,t,i,[]):Fm(n,t,r,i);e.reset(o),e.notifyOnChanges()}return!0}return!1}function Bm(e,t,n){Hm($t(),Xt(),e,t,n,!0)}function Um(e,t,n){Hm($t(),Xt(),e,t,n,!1)}function Hm(e,t,n,i,r,o){e.firstCreatePass&&(Xm(e,new Dm(n,i,o,r),-1),o&&(e.staticViewQueries=!0)),Km(e,t)}function zm(e,t,n,i){qm($t(),Xt(),t,n,i,!1,Yt(),e)}function Gm(e,t,n,i){qm($t(),Xt(),t,n,i,!0,Yt(),e)}function qm(e,t,n,i,r,o,s,a){e.firstCreatePass&&(Xm(e,new Dm(n,i,o,r),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,a),o&&(e.staticContentQueries=!0)),Km(e,t)}function Wm(){return e=Xt(),t=dn(),e[19].queries[t].queryList;var e,t}function Km(e,t){const n=new Tm;fo(e,t,n,n.destroy),null===t[19]&&(t[19]=new Am),t[19].queries.push(new Mm(n))}function Xm(e,t,n){null===e.queries&&(e.queries=new jm),e.queries.track(new Nm(t,n))}function $m(e,t){return e.queries.getByIndex(t)}function Qm(e,t){return bs(qd,vd,e,t)}function Ym(e=S.Default){const t=vs(!0);if(null!=t||e&S.Optional)return t;bt("ChangeDetectorRef")}const Zm=(()=>({"\u0275\u0275attribute":Ml,"\u0275\u0275attributeInterpolate1":Ul,"\u0275\u0275attributeInterpolate2":Hl,"\u0275\u0275attributeInterpolate3":zl,"\u0275\u0275attributeInterpolate4":Gl,"\u0275\u0275attributeInterpolate5":ql,"\u0275\u0275attributeInterpolate6":Wl,"\u0275\u0275attributeInterpolate7":Kl,"\u0275\u0275attributeInterpolate8":Xl,"\u0275\u0275attributeInterpolateV":$l,"\u0275\u0275defineComponent":Be,"\u0275\u0275defineDirective":Xe,"\u0275\u0275defineInjectable":E,"\u0275\u0275defineInjector":I,"\u0275\u0275defineNgModule":qe,"\u0275\u0275definePipe":$e,"\u0275\u0275directiveInject":Jl,"\u0275\u0275getFactoryOf":ai,"\u0275\u0275getInheritedFactory":li,"\u0275\u0275inject":me,"\u0275\u0275injectAttribute":ec,"\u0275\u0275invalidFactory":tc,"\u0275\u0275invalidFactoryDep":ge,"\u0275\u0275injectPipeChangeDetectorRef":Ym,"\u0275\u0275templateRefExtractor":Qm,"\u0275\u0275NgOnChangesFeature":vt,"\u0275\u0275ProvidersFeature":ud,"\u0275\u0275CopyDefinitionFeature":_l,"\u0275\u0275InheritDefinitionFeature":hl,"\u0275\u0275nextContext":_c,"\u0275\u0275namespaceHTML":En,"\u0275\u0275namespaceMathML":kn,"\u0275\u0275namespaceSVG":On,"\u0275\u0275enableBindings":Wt,"\u0275\u0275disableBindings":Kt,"\u0275\u0275elementStart":rc,"\u0275\u0275elementEnd":oc,"\u0275\u0275element":sc,"\u0275\u0275elementContainerStart":ac,"\u0275\u0275elementContainerEnd":lc,"\u0275\u0275elementContainer":cc,"\u0275\u0275pureFunction0":rm,"\u0275\u0275pureFunction1":om,"\u0275\u0275pureFunction2":sm,"\u0275\u0275pureFunction3":am,"\u0275\u0275pureFunction4":lm,"\u0275\u0275pureFunction5":cm,"\u0275\u0275pureFunction6":um,"\u0275\u0275pureFunction7":hm,"\u0275\u0275pureFunction8":dm,"\u0275\u0275pureFunctionV":pm,"\u0275\u0275getCurrentView":uc,"\u0275\u0275restoreView":Qt,"\u0275\u0275listener":pc,"\u0275\u0275projection":xc,"\u0275\u0275syntheticHostProperty":Xu,"\u0275\u0275syntheticHostListener":fc,"\u0275\u0275pipeBind1":wm,"\u0275\u0275pipeBind2":Cm,"\u0275\u0275pipeBind3":xm,"\u0275\u0275pipeBind4":Sm,"\u0275\u0275pipeBindV":Om,"\u0275\u0275projectionDef":yc,"\u0275\u0275hostProperty":Ku,"\u0275\u0275property":nc,"\u0275\u0275propertyInterpolate":Sc,"\u0275\u0275propertyInterpolate1":Oc,"\u0275\u0275propertyInterpolate2":kc,"\u0275\u0275propertyInterpolate3":Ec,"\u0275\u0275propertyInterpolate4":Pc,"\u0275\u0275propertyInterpolate5":Ic,"\u0275\u0275propertyInterpolate6":Tc,"\u0275\u0275propertyInterpolate7":Mc,"\u0275\u0275propertyInterpolate8":Ac,"\u0275\u0275propertyInterpolateV":Dc,"\u0275\u0275pipe":ym,"\u0275\u0275queryRefresh":Vm,"\u0275\u0275viewQuery":Um,"\u0275\u0275staticViewQuery":Bm,"\u0275\u0275staticContentQuery":Gm,"\u0275\u0275loadQuery":Wm,"\u0275\u0275contentQuery":zm,"\u0275\u0275reference":Zl,"\u0275\u0275classMap":Qc,"\u0275\u0275classMapInterpolate1":yu,"\u0275\u0275classMapInterpolate2":wu,"\u0275\u0275classMapInterpolate3":Cu,"\u0275\u0275classMapInterpolate4":xu,"\u0275\u0275classMapInterpolate5":Su,"\u0275\u0275classMapInterpolate6":Ou,"\u0275\u0275classMapInterpolate7":ku,"\u0275\u0275classMapInterpolate8":Eu,"\u0275\u0275classMapInterpolateV":Pu,"\u0275\u0275styleMap":Xc,"\u0275\u0275styleMapInterpolate1":Iu,"\u0275\u0275styleMapInterpolate2":Tu,"\u0275\u0275styleMapInterpolate3":Mu,"\u0275\u0275styleMapInterpolate4":Au,"\u0275\u0275styleMapInterpolate5":Du,"\u0275\u0275styleMapInterpolate6":ju,"\u0275\u0275styleMapInterpolate7":Nu,"\u0275\u0275styleMapInterpolate8":Ru,"\u0275\u0275styleMapInterpolateV":Lu,"\u0275\u0275styleProp":Wc,"\u0275\u0275stylePropInterpolate1":Fu,"\u0275\u0275stylePropInterpolate2":Vu,"\u0275\u0275stylePropInterpolate3":Bu,"\u0275\u0275stylePropInterpolate4":Uu,"\u0275\u0275stylePropInterpolate5":Hu,"\u0275\u0275stylePropInterpolate6":zu,"\u0275\u0275stylePropInterpolate7":Gu,"\u0275\u0275stylePropInterpolate8":qu,"\u0275\u0275stylePropInterpolateV":Wu,"\u0275\u0275classProp":Kc,"\u0275\u0275advance":Gr,"\u0275\u0275template":Ql,"\u0275\u0275text":cu,"\u0275\u0275textInterpolate":uu,"\u0275\u0275textInterpolate1":hu,"\u0275\u0275textInterpolate2":du,"\u0275\u0275textInterpolate3":pu,"\u0275\u0275textInterpolate4":fu,"\u0275\u0275textInterpolate5":mu,"\u0275\u0275textInterpolate6":gu,"\u0275\u0275textInterpolate7":bu,"\u0275\u0275textInterpolate8":_u,"\u0275\u0275textInterpolateV":vu,"\u0275\u0275i18
1n":Zh,"\u0275\u0275i18nAttributes":Jh,"\u0275\u0275i18nExp":ed,"\u0275\u0275i18nStart":Qh,"\u0275\u0275i18nEnd":Yh,"\u0275\u0275i18nApply":td,"\u0275\u0275i18nPostprocess":nd,"\u0275\u0275resolveWindow":pt,"\u0275\u0275resolveDocument":ft,"\u0275\u0275resolveBody":mt,"\u0275\u0275setComponentScope":Ue,"\u0275\u0275setNgModuleScope":We,"\u0275\u0275sanitizeHtml":or,"\u0275\u0275sanitizeStyle":sr,"\u0275\u0275sanitizeResourceUrl":lr,"\u0275\u0275sanitizeScript":cr,"\u0275\u0275sanitizeUrl":ar,"\u0275\u0275sanitizeUrlOrResourceUrl":hr}))();let Jm=null;function eg(){Jm=null}const tg=[],ng=[];let ig=!1;function rg(){if(!ig){ig=!0;try{for(let e=ng.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=ng[e];n.declarations&&n.declarations.every(og)&&(ng.splice(e,1),hg(t,n))}}finally{ig=!1}}}function og(e){return Array.isArray(e)?e.every(og):!!H(e)}function sg(e,t={}){ag(e,t),function(e,t){ng.push({moduleType:e,ngModule:t})}(e,t)}function ag(e,t,n=!1){const i=Oe(t.declarations||tg);let r=null;Object.defineProperty(e,ee,{configurable:!0,get:()=>(null===r&&(r=Q().compileNgModule(Zm,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Oe(t.bootstrap||tg).map(H),declarations:i.map(H),imports:Oe(t.imports||tg).map(H).map(fg),exports:Oe(t.exports||tg).map(H).map(fg),schemas:t.schemas?Oe(t.schemas):null,id:t.id||null}),r.schemas||(r.schemas=[])),r)});let o=null;Object.defineProperty(e,j,{get:()=>{if(null===o){const n={name:e.name,type:e,deps:js(e),providers:t.providers||tg,imports:[(t.imports||tg).map(H),(t.exports||tg).map(H)]};o=Q().compileInjector(Zm,`ng:///${e.name}/\u0275inj.js`,n)}return o},configurable:!1})}let lg=new Map,cg=new Map;function ug(){lg=new Map,cg=new Map,ng.length=0}function hg(e,t){const n=Oe(t.declarations||tg),i=pg(e);n.forEach(t=>{t.hasOwnProperty(Y)?dg(Qe(t),i):t.hasOwnProperty(Z)||t.hasOwnProperty(J)||(t.ngSelectorScope=e)})}function dg(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(Y)?Qe(e):Ye(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>Ze(e)),e.schemas=t.schemas,e.tView=null}function pg(e){if(!mg(e))throw new Error(e.name+" does not have a module def (\u0275mod property)");const t=et(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return gt(t.imports).forEach(e=>{const t=e;if(!mg(t))throw new Error(`Importing ${t.name} which does not have a \u0275mod property`);const i=pg(t);i.exported.directives.forEach(e=>n.compilation.directives.add(e)),i.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),gt(t.declarations).forEach(e=>{Ze(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),gt(t.exports).forEach(e=>{const t=e;if(mg(t)){const e=pg(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else Ze(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function fg(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function mg(e){return!!et(e)}let gg=0;function bg(e,t){let n=null;!function(e,t){La(t)&&(Na.set(e,t),Ra.add(e))}(e,t),yg(e,t),Object.defineProperty(e,Y,{get:()=>{if(null===n){const i=Q();if(La(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(" - templateUrl: "+t.templateUrl),t.styleUrls&&t.styleUrls.length&&n.push(" - styleUrls: "+JSON.stringify(t.styleUrls)),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=Jm;let o=t.preserveWhitespaces;void 0===o&&(o=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let s=t.encapsulation;void 0===s&&(s=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:Re.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=Object.assign(Object.assign({},Cg(e,t)),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:o,styles:t.styles||Fe,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:s,interpolation:t.interpolation,viewProviders:t.viewProviders||null});gg++;try{l.usesInheritance&&xg(e),n=i.compileComponent(Zm,a,l)}finally{gg--}if(0===gg&&rg(),void 0!==e.ngSelectorScope){const t=pg(e.ngSelectorScope);dg(n,t)}}return n},configurable:!1})}function _g(e,t){let n=null;yg(e,t||{}),Object.defineProperty(e,Z,{get:()=>{if(null===n){const i=vg(e,t||{});n=Q().compileDirective(Zm,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function vg(e,t){const n=e&&e.name,i=`ng:///${n}/\u0275dir.js`,r=Q(),o=Cg(e,t);return o.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),o.usesInheritance&&xg(e),{metadata:o,sourceMapUrl:i}}function yg(e,t){let n=null;Object.defineProperty(e,ne,{get:()=>{if(null===n){const i=vg(e,t),r=Q();n=r.compileFactory(Zm,`ng:///${e.name}/\u0275fac.js`,Object.assign(Object.assign({},i.metadata),{injectFn:"directiveInject",target:r.R3FactoryTarget.Directive}))}return n},configurable:!1})}function wg(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Cg(e,t){const n=Ds(),i=n.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:js(e),host:t.host||Le,propMetadata:i,inputs:t.inputs||Fe,outputs:t.outputs||Fe,queries:Og(e,i,kg),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")}
1,typeSourceSpan:null,usesInheritance:!wg(e),exportAs:(r=t.exportAs,void 0===r?null:Ig(r)),providers:t.providers||null,viewQueries:Og(e,i,Eg)};var r}function xg(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)Ye(n)||Qe(n)||!Mg(n)||_g(n,null),n=Object.getPrototypeOf(n)}function Sg(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?Ig(n):H(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}function Og(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];o.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of "${ht(e)}" since the query selector wasn't defined.`);if(o.some(Pg))throw new Error("Cannot combine @Input decorators with query decorators");i.push(Sg(r,t))}})}return i}function kg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Eg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Pg(e){return"Input"===e.ngMetadataName}function Ig(e){return e.split(",").map(e=>e.trim())}const Tg=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Mg(e){const t=Ds();if(Tg.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const i in n){const e=n[i];for(let t=0;t<e.length;t++){const n=e[t],i=n.ngMetadataName;if(Pg(n)||kg(n)||Eg(n)||"Output"===i||"HostBinding"===i||"HostListener"===i)return!0}}return!1}function Ag(e,t){let n=null,i=null;Object.defineProperty(e,ne,{get:()=>{if(null===i){const n=Dg(e,t),r=Q();i=r.compileFactory(Zm,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:r.R3FactoryTarget.Pipe}))}return i},configurable:!1}),Object.defineProperty(e,J,{get:()=>{if(null===n){const i=Dg(e,t);n=Q().compilePipe(Zm,`ng:///${i.name}/\u0275pipe.js`,i)}return n},configurable:!1})}function Dg(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:js(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}const jg=d("Directive",(e={})=>e,void 0,void 0,(e,t)=>qg(e,t)),Ng=d("Component",(e={})=>Object.assign({changeDetection:De.Default},e),jg,void 0,(e,t)=>Gg(e,t)),Rg=d("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>Wg(e,t)),Lg=m("Input",e=>({bindingPropertyName:e})),Fg=m("Output",e=>({bindingPropertyName:e})),Vg=m("HostBinding",e=>({hostPropertyName:e})),Bg=m("HostListener",(e,t)=>({eventName:e,args:t})),Ug=bg,Hg=_g,zg=Ag,Gg=Ug,qg=Hg,Wg=zg,Kg=d("NgModule",e=>e,void 0,void 0,(e,t)=>$g(e,t)),Xg=sg,$g=Xg,Qg=new re("Application Initializer");let Yg=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();hc(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(me(Qg,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();const Zg=new re("AppId");function Jg(){return`${tb()}${tb()}${tb()}`}const eb={provide:Zg,useFactory:Jg,deps:[]};function tb(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const nb=new re("Platform Initializer"),ib=new re("Platform ID"),rb=new re("appBootstrapListener"),ob=new re("Application Packages Root URL");let sb=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();const ab=new re("LocaleId"),lb=new re("DefaultCurrencyCode"),cb=new re("Translations"),ub=new re("TranslationsFormat");var hb=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}({});const db=!0,pb=db;class fb{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const mb=function(e){return new im(e)},gb=mb,bb=function(e){return Promise.resolve(mb(e))},_b=bb,vb=function(e){const t=mb(e),n=gt(et(e).declarations).reduce((e,t)=>
1{const n=Qe(t);return n&&e.push(new Xf(n)),e},[]);return new fb(t,n)},yb=vb,wb=function(e){return Promise.resolve(vb(e))},Cb=wb;let xb=(()=>{class e{constructor(){this.compileModuleSync=gb,this.compileModuleAsync=_b,this.compileModuleAndAllComponentsSync=yb,this.compileModuleAndAllComponentsAsync=Cb}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();const Sb=new re("compilerOptions");class Ob{}const kb=(()=>Promise.resolve(0))();function Eb(e){"undefined"==typeof Zone?kb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Pb{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pm(!1),this.onMicrotaskEmpty=new Pm(!1),this.onStable=new Pm(!1),this.onError=new Pm(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=X.requestAnimationFrame,t=X.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(X,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ab(e),Mb(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ab(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,i,r,o,s,a)=>{try{return Db(e),n.invokeTask(r,o,s,a)}finally{t&&"eventTask"===o.type&&t(),jb(e)}},onInvoke:(t,n,i,r,o,s,a)=>{try{return Db(e),t.invoke(i,r,o,s,a)}finally{jb(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Ab(e),Mb(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pb.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Pb.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,e,Tb,Ib,Ib);try{return r.runTask(o,t,n)}finally{r.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Ib(){}const Tb={};function Mb(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ab(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Db(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function jb(e){e._nesting--,Mb(e)}class Nb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pm,this.onMicrotaskEmpty=new Pm,this.onStable=new Pm,this.onError=new Pm}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let Rb=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZ
1oneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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:()=>{Pb.assertNotInAngularZone(),Eb(()=>{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())Eb(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,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(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(me(Pb))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})(),Lb=(()=>{class e{constructor(){this._applications=new Map,Ub.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Ub.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();class Fb{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Vb(e){Ub=e}let Bb,Ub=new Fb,Hb=zb;function zb(e,t,n){const i=new im(n);return Promise.resolve(i)}let Gb=qb;function qb(e){return e.isBoundToModule}const Wb=new re("AllowMultipleToken");class Kb{constructor(e,t){this.name=e,this.token=t}}function Xb(e){if(Bb&&!Bb.destroyed&&!Bb.injector.get(Wb,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Bb=e.get(Jb);const t=e.get(nb,null);return t&&t.forEach(e=>e()),Bb}function $b(e,t,n=[]){const i="Platform: "+t,r=new re(i);return(t=[])=>{let o=Zb();if(!o||o.injector.get(Wb,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:zs,useValue:"platform"});Xb(oa.create({providers:e,name:i}))}return Qb(r)}}function Qb(e){const t=Zb();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Yb(){Bb&&!Bb.destroyed&&Bb.destroy()}function Zb(){return Bb&&!Bb.destroyed?Bb:null}let Jb=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Nb:("zone.js"===e?void 0:e)||new Pb({enableLongStackTrace:Mi(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),i=[{provide:Pb,useValue:n}];return n.run(()=>{const t=oa.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),o=r.injector.get(di,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>n_(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const i=n();return hc(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(o,n,()=>{const e=r.injector.get(Yg);
1return e.runInitializers(),e.donePromise.then(()=>(pb&&hh(r.injector.get(ab,sh)||sh),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=e_({},t);return Hb(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(t_);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${F(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(me(oa))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();function e_(e,t){return Array.isArray(t)?t.reduce(e_,e):Object.assign(Object.assign({},e),t)}let t_=(()=>{class e{constructor(e,t,n,i,r,l){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Mi(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Pb.assertNotInAngularZone(),Eb(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Pb.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(c,u.pipe(Object(a.a)()))}bootstrap(e,t){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=e instanceof dd?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=Gb(n)?void 0:this._injector.get(Ce),r=n.create(oa.NULL,[],t||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const o=r.injector.get(Rb,null);return o&&r.injector.get(Lb).registerApplication(r.location.nativeElement,o),this._loadComponent(r),Mi()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;n_(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(rb,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),n_(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(me(Pb),me(sb),me(oa),me(di),me(gd),me(Yg))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();function n_(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class i_{}function r_(e){const t=tm(e);if(!t)throw a_(e);return t}function o_(e){const t=tm(e);if(!t)throw a_(e);return new im(t)}const s_=o_;function a_(e){return new Error(`No module with ID ${e} loaded`)}class l_{}const c_={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let u_=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||c_}load(e){return!pb&&this._compiler instanceof xb?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("zn8P")(t).then(e=>e[i]).then(e=>h_(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>h_(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(me(xb),me(l_,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();function h_(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class d_ extends ys{}class p_ extends d_{}class f_{constructor(e,t){this.name=e,this.callback=t}}class m_{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof g_&&t.addChild(this)}
1get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class g_ extends m_{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,i){t.childNodes.forEach(t=>{t instanceof g_&&(n(t)&&i.push(t),e(t,n,i))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,i){t instanceof g_&&t.childNodes.forEach(t=>{n(t)&&i.push(t),t instanceof g_&&e(t,n,i)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof g_)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function b_(e){return e.map(e=>e.nativeElement)}class __{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new v_(e):null}get injector(){return Ka(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(za(e)||qa(e))}get context(){return za(this.nativeNode)||Ga(this.nativeNode)}get listeners(){return Ya(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=$a(e,!1);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let i=n.index+1;for(let r=0;r<n.localNames.length;r+=2)t[n.localNames[r]]=e[i],i++;return t}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=$a(e,!1);if(null===t)return[];const n=t.lView[1],i=n.data[t.nodeIndex],r=[],o=i.directiveEnd;for(let a=1048575&i.providerIndexes;a<o;a++){let e=n.data[a];void 0!==(s=e).type&&void 0!==s.template&&void 0!==s.declaredInputs&&(e=e.type),r.push(e)}var s;return r}(this.nativeNode)}}class v_ extends __{constructor(e){super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const e=$a(this.nativeNode);return e.lView[1].data[e.nodeIndex].tagName}catch(e){return this.nativeNode.nodeName}}get properties(){const e=$a(this.nativeNode,!1);if(null==e)return{};const t=e.lView,n=t[1].data,i=n[e.nodeIndex],r={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const i=Node.prototype;for(;null!==n&&n!==i;){const i=Object.getOwnPropertyDescriptors(n);for(let n in i)if(!n.startsWith("__")&&!n.startsWith("on")){const i=e[n];y_(i)&&(t[n]=i)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,r),function(e,t,n,i){let r=t.propertyBindings;if(null!==r)for(let o=0;o<r.length;o++){const t=r[o],s=i[t].split("\ufffd"),a=s[0];if(s.length>1){let i=s[1];for(let e=1;e<s.length-1;e++)i+=ut(n[t+e-1])+s[e+1];e[a]=i}else e[a]=n[t]}}(r,i,t,n),r}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=$a(t,!1);if(null==n)return{};const i=n.lView[1].data[n.nodeIndex].attrs,r=[];if(i){let t=0;for(;t<i.length;){const n=i[t];if("string"!=typeof n)break;e[n]=i[t+1],r.push(n.toLowerCase()),t+=2}}const o=t.attributes;for(let s=0;s<o.length;s++){const t=o[s],n=t.name.toLowerCase();-1===r.indexOf(n)&&(e[n]=t.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++)t.push(E_(e[n]));return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let i=0;i<t.length;i++)n.push(E_(t[i]));return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return w_(this,e,t,!0),t}queryAllNodes(e){const t=[];return w_(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,i=[];
1this.listeners.forEach(r=>{if(r.name===e){const e=r.callback;e.call(n,t),i.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const r=e("__ngUnwrap__");return-1===i.indexOf(r)&&r.call(n,t)}})}}function y_(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function w_(e,t,n,i){const r=$a(e.nativeNode,!1);null!==r?C_(r.lView[1].data[r.nodeIndex],r.lView,t,n,i,e.nativeNode):O_(e.nativeNode,t,n,i)}function C_(e,t,n,i,r,o){const s=function(e,t){const n=null===e?-1:e.index;return-1!==n?Mt(t[n]):null}(e,t);if(2===e.type||3===e.type){if(S_(s,n,i,r,o),st(e)){const s=Rt(e.index,t);s&&s[1].firstChild&&C_(s[1].firstChild,s,n,i,r,o)}else e.child&&C_(e.child,t,n,i,r,o),s&&O_(s,n,i,r);const a=t[e.index];rt(a)&&x_(a,n,i,r,o)}else if(0===e.type){const s=t[e.index];S_(s[7],n,i,r,o),x_(s,n,i,r,o)}else if(1===e.type){const s=t[16],a=s[6].projection[e.projection];if(Array.isArray(a))for(let e of a)S_(e,n,i,r,o);else if(a){const e=s[3];C_(e[1].data[a.index],e,n,i,r,o)}}else e.child&&C_(e.child,t,n,i,r,o);if(o!==s){const s=4&e.flags?e.projectionNext:e.next;s&&C_(s,t,n,i,r,o)}}function x_(e,t,n,i,r){for(let o=nt;o<e.length;o++){const s=e[o],a=s[1].firstChild;a&&C_(a,s,t,n,i,r)}}function S_(e,t,n,i,r){if(r!==e){const r=P_(e);if(!r)return;(i&&r instanceof v_&&t(r)&&-1===n.indexOf(r)||!i&&t(r)&&-1===n.indexOf(r))&&n.push(r)}}function O_(e,t,n,i){const r=e.childNodes,o=r.length;for(let s=0;s<o;s++){const e=r[s],o=P_(e);o&&((i&&o instanceof v_&&t(o)&&-1===n.indexOf(o)||!i&&t(o)&&-1===n.indexOf(o))&&n.push(o),O_(e,t,n,i))}}const k_=new Map;function E_(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new v_(e):new __(e)),e.__ng_debug__):null}const P_=E_;function I_(e){return function(e){return k_.get(e)||null}(e)}const T_=function(e){return null};function M_(e){k_.set(e.nativeNode,e)}const A_=__,D_=v_,j_=$b(null,"core",[{provide:ib,useValue:"unknown"},{provide:Jb,deps:[oa]},{provide:Lb,deps:[]},{provide:sb,deps:[]}]);function N_(){return zd}function R_(){return Gd}function L_(e){return e=e||pb&&"undefined"!=typeof $localize&&$localize.locale||sh,pb&&hh(e),e}const F_=ah,V_=[{provide:t_,useClass:t_,deps:[Pb,sb,oa,di,gd,Yg]},{provide:Kf,deps:[Pb],useFactory:B_},{provide:Yg,useClass:Yg,deps:[[new _,Qg]]},{provide:xb,useClass:xb,deps:[]},eb,{provide:Bd,useFactory:N_,deps:[]},{provide:Ud,useFactory:R_,deps:[]},{provide:ab,useFactory:L_,deps:[[new b(ab),new _,new y]]},{provide:lb,useValue:F_}];function B_(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}let U_=(()=>{class e{constructor(e){}}return e.\u0275mod=qe({type:e}),e.\u0275inj=I({factory:function(t){return new(t||e)(me(t_))},providers:V_}),e})();function H_(e,t,n,i,r,o){e|=1;const{matchedQueries:s,references:a,matchedQueryIds:l}=Ip(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Dp(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||cp},provider:null,text:null,query:null,ngContent:null}}function z_(e,t,n,i,r,o,s=[],a,l,c,u,h){c||(c=cp);const{matchedQueries:d,references:p,matchedQueryIds:f}=Ip(n);let m=null,g=null;o&&([m,g]=Bp(o)),a=a||[];const b=[];for(let y=0;y<a.length;y++){const[e,t,n]=a[y],[i,r]=Bp(t);let o=void 0,s=void 0;switch(15&e){case 4:s=n;break;case 1:case 8:o=n}b[y]={flags:e,ns:i,name:r,nonMinifiedName:r,securityContext:o,suffix:s}}l=l||[];const _=[];for(let y=0;y<l.length;y++){const[e,t]=l[y];_[y]={type:0,target:e,eventName:t,propName:null}}const v=(s=s||[]).map(([e,t])=>{const[n,i]=Bp(e);return[n,i,t]});return h=function(e){if(e&&e.id===pp){const t=null!=e.encapsulation&&e.encapsulation!==Re.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+gp++:fp}return e&&e.id===fp&&(e=null),e||null}(h),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
1checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:f,references:p,ngContentIndex:i,childCount:r,bindings:b,bindingFlags:Up(b),outputs:_,element:{ns:m,name:g,attrs:v,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||cp},provider:null,text:null,query:null,ngContent:null}}function G_(e,t,n){const i=n.element,r=e.root.selectorOrNode,o=e.renderer;let s;if(e.parent||!r){s=i.name?o.createElement(i.name,i.ns):o.createComment("");const r=Mp(e,t,n);r&&o.appendChild(r,s)}else s=o.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===Re.ShadowDom);if(i.attrs)for(let a=0;a<i.attrs.length;a++){const[e,t,n]=i.attrs[a];o.setAttribute(s,t,n,e)}return s}function q_(e,t,n,i){for(let s=0;s<n.outputs.length;s++){const a=n.outputs[s],l=W_(e,n.nodeIndex,(o=a.eventName,(r=a.target)?`${r}:${o}`:o));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const h=u.renderer.listen(c||i,a.eventName,l);e.disposables[n.outputIndex+s]=h}var r,o}function W_(e,t,n){return i=>Cp(e,t,n,i)}function K_(e,t,n,i){if(!_p(e,t,n,i))return!1;const r=t.bindings[n],o=ip(e,t.nodeIndex),s=o.renderElement,a=r.name;switch(15&r.flags){case 1:!function(e,t,n,i,r,o){const s=t.securityContext;let a=s?e.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;const l=e.renderer;null!=o?l.setAttribute(n,r,a,i):l.removeAttribute(n,r,i)}(e,r,s,r.ns,a,i);break;case 2:!function(e,t,n,i){const r=e.renderer;i?r.addClass(t,n):r.removeClass(t,n)}(e,s,a,i);break;case 4:!function(e,t,n,i,r){let o=e.root.sanitizer.sanitize(rr.STYLE,r);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const s=e.renderer;null!=o?s.setStyle(n,i,o):s.removeStyle(n,i)}(e,r,s,a,i);break;case 8:!function(e,t,n,i,r){const o=t.securityContext;let s=o?e.root.sanitizer.sanitize(o,r):r;e.renderer.setProperty(n,i,s)}(33554432&t.flags&&32&r.flags?o.componentView:e,r,s,a,i)}return!0}function X_(e,t,n){let i=[];for(let r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Pp(t),bindings:i},ngContent:null}}function $_(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Ep(e);){let n=e.parentNodeDef;e=e.parent;const i=n.nodeIndex+n.childCount;for(let r=0;r<=i;r++){const i=e.def.nodes[r];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&sp(e,r).setDirty(),!(1&i.flags&&r+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(r+=i.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&sp(e,n).setDirty(),n+=t.childCount}}function Q_(e,t){const n=sp(e,t.nodeIndex);if(!n.dirty)return;let i,r=void 0;if(67108864&t.flags){const n=t.parent.parent;r=Y_(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),i=rp(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(r=Y_(e,0,e.def.nodes.length-1,t.query,[]),i=e.component);n.reset(r);const o=t.query.bindings;let s=!1;for(let a=0;a<o.length;a++){const e=o[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,s=!0}i[e.propName]=t}s&&n.notifyOnChanges()}function Y_(e,t,n,i,r){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[i.id];if(null!=n&&r.push(Z_(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&i.filterId)===i.filterId){const n=ip(e,o);if((t.childMatchedQueries&i.filterId)===i.filterId&&(Y_(e,o+1,o+t.childCount,i,r),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],s=xp(o);s&&s===n&&Y_(o,0,o.def.nodes.length-1,i,r)}}const s=n.template._projectedViews;if(s)for(let e=0;e<s.length;e++){const t=s[e];Y_(t,0,t.def.nodes.length-1,i,r)}}(t.childMatchedQueries&i.filterId)!==i.filterId&&(o+=t.childCount)}return r}function Z_(e,t,n){if(null!=n)switch(n){case 1:return ip(e,t.nodeIndex).renderElement;
1case 0:return new vd(ip(e,t.nodeIndex).renderElement);case 2:return ip(e,t.nodeIndex).template;case 3:return ip(e,t.nodeIndex).viewContainer;case 4:return rp(e,t.nodeIndex).instance}}function J_(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function ev(e,t,n){const i=Mp(e,t,n);i&&Rp(e,n.ngContent.index,1,i,null,void 0)}function tv(e,t){return rv(128,e,Ie(t+1))}function nv(e,t){return rv(32,e,Ie(t))}function iv(e,t){const n=Object.keys(t),i=n.length,r=[];for(let o=0;o<i;o++)r.push(n[o]);return rv(64,e,r)}function rv(e,t,n){const i=[];for(let r=0;r<n.length;r++){const e=n[r];i.push({flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:Up(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ov(e,t,n){const i=[];for(let r=1;r<n.length;r++)i[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function sv(e,t,n){let i;const r=e.renderer;i=r.createText(n.text.prefix);const o=Mp(e,t,n);return o&&r.appendChild(o,i),{renderText:i}}function av(e,t){return(null!=e?e.toString():"")+t.suffix}function lv(e,t,n,i){let r=0,o=0,s=0,a=0,l=0,c=null,u=null,h=!1,d=!1,p=null;for(let f=0;f<t.length;f++){const e=t[f];if(e.nodeIndex=f,e.parent=c,e.bindingIndex=r,e.outputIndex=o,e.renderParent=u,s|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,h=!1,d=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(uv(c,e,t.length),r+=e.bindings.length,o+=e.outputs.length,!u&&3&e.flags&&(p=e),20224&e.flags){h||(h=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[hp(e.provider.token)]=e:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[hp(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)c=e,cv(e)||(u=e);else for(;c&&f===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),c=e,u=c&&cv(c)?c.renderParent:c}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||cp,updateRenderer:i||cp,handleEvent:(e,n,i,r)=>t[n].element.handleEvent(e,i,r),bindingCount:r,outputCount:o,lastRenderRootNode:p}}function cv(e){return 0!=(1&e.flags)&&null===e.element.name}function uv(e,t,n){const i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const i=e?e.nodeIndex+e.childCount:n-1;
1if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function hv(e,t,n,i){const r=fv(e.root,e.renderer,e,t,n);return mv(r,e.component,i),gv(r),r}function dv(e,t,n){const i=fv(e,e.renderer,null,null,t);return mv(i,n,n),gv(i),i}function pv(e,t,n,i){const r=t.element.componentRendererType;let o;return o=r?e.root.rendererFactory.createRenderer(i,r):e.root.renderer,fv(e.root,o,e,t.element.componentProvider,n)}function fv(e,t,n,i,r){const o=new Array(r.nodes.length),s=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:s,initIndex:-1}}function mv(e,t,n){e.component=t,e.context=n}function gv(e){let t;kp(e)&&(t=ip(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,i=e.nodes;for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];let s;switch(lp.setCurrentNode(e,r),201347067&o.flags){case 1:const n=G_(e,t,o);let a=void 0;if(33554432&o.flags){const t=Dp(o.element.componentView);a=lp.createComponentView(e,o,t,n)}q_(e,a,o,n),s={renderElement:n,componentView:a,viewContainer:null,template:o.element.template?ff(e,o):void 0},16777216&o.flags&&(s.viewContainer=uf(e,o,s));break;case 2:s=sv(e,t,o);break;case 512:case 1024:case 2048:case 256:s=i[r],s||4096&o.flags||(s={instance:Af(e,o)});break;case 16:s={instance:Df(e,o)};break;case 16384:s=i[r],s||(s={instance:jf(e,o)}),32768&o.flags&&mv(ip(e,o.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new Tm;break;case 8:ev(e,t,o),s=void 0}i[r]=s}Ov(e,Sv.CreateViewNodes),Iv(e,201326592,268435456,0)}function bv(e){yv(e),lp.updateDirectives(e,1),kv(e,Sv.CheckNoChanges),lp.updateRenderer(e,1),Ov(e,Sv.CheckNoChanges),e.state&=-97}function _v(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,ep(e,0,256),yv(e),lp.updateDirectives(e,0),kv(e,Sv.CheckAndUpdate),Iv(e,67108864,536870912,0);let t=ep(e,256,512);Hf(e,2097152|(t?1048576:0)),lp.updateRenderer(e,0),Ov(e,Sv.CheckAndUpdate),Iv(e,134217728,536870912,0),t=ep(e,512,768),Hf(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,ep(e,768,1024)}function vv(e,t,n,i,r,o,s,a,l,c,u,h,d){return 0===n?function(e,t,n,i,r,o,s,a,l,c,u,h){switch(201347067&t.flags){case 1:return function(e,t,n,i,r,o,s,a,l,c,u,h){const d=t.bindings.length;let p=!1;return d>0&&K_(e,t,0,n)&&(p=!0),d>1&&K_(e,t,1,i)&&(p=!0),d>2&&K_(e,t,2,r)&&(p=!0),d>3&&K_(e,t,3,o)&&(p=!0),d>4&&K_(e,t,4,s)&&(p=!0),d>5&&K_(e,t,5,a)&&(p=!0),d>6&&K_(e,t,6,l)&&(p=!0),d>7&&K_(e,t,7,c)&&(p=!0),d>8&&K_(e,t,8,u)&&(p=!0),d>9&&K_(e,t,9,h)&&(p=!0),p}(e,t,n,i,r,o,s,a,l,c,u,h);case 2:return function(e,t,n,i,r,o,s,a,l,c,u,h){let d=!1;const p=t.bindings,f=p.length;if(f>0&&_p(e,t,0,n)&&(d=!0),f>1&&_p(e,t,1,i)&&(d=!0),f>2&&_p(e,t,2,r)&&(d=!0),f>3&&_p(e,t,3,o)&&(d=!0),f>4&&_p(e,t,4,s)&&(d=!0),f>5&&_p(e,t,5,a)&&(d=!0),f>6&&_p(e,t,6,l)&&(d=!0),f>
17&&_p(e,t,7,c)&&(d=!0),f>8&&_p(e,t,8,u)&&(d=!0),f>9&&_p(e,t,9,h)&&(d=!0),d){let d=t.text.prefix;f>0&&(d+=av(n,p[0])),f>1&&(d+=av(i,p[1])),f>2&&(d+=av(r,p[2])),f>3&&(d+=av(o,p[3])),f>4&&(d+=av(s,p[4])),f>5&&(d+=av(a,p[5])),f>6&&(d+=av(l,p[6])),f>7&&(d+=av(c,p[7])),f>8&&(d+=av(u,p[8])),f>9&&(d+=av(h,p[9]));const m=np(e,t.nodeIndex).renderText;e.renderer.setValue(m,d)}return d}(e,t,n,i,r,o,s,a,l,c,u,h);case 16384:return function(e,t,n,i,r,o,s,a,l,c,u,h){const d=rp(e,t.nodeIndex),p=d.instance;let f=!1,m=void 0;const g=t.bindings.length;return g>0&&bp(e,t,0,n)&&(f=!0,m=Uf(e,d,t,0,n,m)),g>1&&bp(e,t,1,i)&&(f=!0,m=Uf(e,d,t,1,i,m)),g>2&&bp(e,t,2,r)&&(f=!0,m=Uf(e,d,t,2,r,m)),g>3&&bp(e,t,3,o)&&(f=!0,m=Uf(e,d,t,3,o,m)),g>4&&bp(e,t,4,s)&&(f=!0,m=Uf(e,d,t,4,s,m)),g>5&&bp(e,t,5,a)&&(f=!0,m=Uf(e,d,t,5,a,m)),g>6&&bp(e,t,6,l)&&(f=!0,m=Uf(e,d,t,6,l,m)),g>7&&bp(e,t,7,c)&&(f=!0,m=Uf(e,d,t,7,c,m)),g>8&&bp(e,t,8,u)&&(f=!0,m=Uf(e,d,t,8,u,m)),g>9&&bp(e,t,9,h)&&(f=!0,m=Uf(e,d,t,9,h,m)),m&&p.ngOnChanges(m),65536&t.flags&&tp(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,i,r,o,s,a,l,c,u,h);case 32:case 64:case 128:return function(e,t,n,i,r,o,s,a,l,c,u,h){const d=t.bindings;let p=!1;const f=d.length;if(f>0&&_p(e,t,0,n)&&(p=!0),f>1&&_p(e,t,1,i)&&(p=!0),f>2&&_p(e,t,2,r)&&(p=!0),f>3&&_p(e,t,3,o)&&(p=!0),f>4&&_p(e,t,4,s)&&(p=!0),f>5&&_p(e,t,5,a)&&(p=!0),f>6&&_p(e,t,6,l)&&(p=!0),f>
17&&_p(e,t,7,c)&&(p=!0),f>8&&_p(e,t,8,u)&&(p=!0),f>9&&_p(e,t,9,h)&&(p=!0),p){const p=op(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=[],f>0&&m.push(n),f>1&&m.push(i),f>2&&m.push(r),f>3&&m.push(o),f>4&&m.push(s),f>5&&m.push(a),f>6&&m.push(l),f>7&&m.push(c),f>8&&m.push(u),f>9&&m.push(h);break;case 64:m={},f>0&&(m[d[0].name]=n),f>1&&(m[d[1].name]=i),f>2&&(m[d[2].name]=r),f>3&&(m[d[3].name]=o),f>4&&(m[d[4].name]=s),f>5&&(m[d[5].name]=a),f>6&&(m[d[6].name]=l),f>7&&(m[d[7].name]=c),f>8&&(m[d[8].name]=u),f>9&&(m[d[9].name]=h);break;case 128:const e=n;switch(f){case 1:m=e.transform(n);break;case 2:m=e.transform(i);break;case 3:m=e.transform(i,r);break;case 4:m=e.transform(i,r,o);break;case 5:m=e.transform(i,r,o,s);break;case 6:m=e.transform(i,r,o,s,a);break;case 7:m=e.transform(i,r,o,s,a,l);break;case 8:m=e.transform(i,r,o,s,a,l,c);break;case 9:m=e.transform(i,r,o,s,a,l,c,u);break;case 10:m=e.transform(i,r,o,s,a,l,c,u,h)}}p.value=m}return p}(e,t,n,i,r,o,s,a,l,c,u,h);default:throw"unreachable"}}(e,t,i,r,o,s,a,l,c,u,h,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let i=!1;for(let r=0;r<n.length;r++)K_(e,t,r,n[r])&&(i=!0);return i}(e,t,n);case 2:return function(e,t,n){const i=t.bindings;let r=!1;for(let o=0;o<n.length;o++)_p(e,t,o,n[o])&&(r=!0);if(r){let r="";for(let e=0;e<n.length;e++)r+=av(n[e],i[e]);r=t.text.prefix+r;const o=np(e,t.nodeIndex).renderText;e.renderer.setValue(o,r)}return r}(e,t,n);case 16384:return function(e,t,n){const i=rp(e,t.nodeIndex),r=i.instance;let o=!1,s=void 0;for(let a=0;a<n.length;a++)bp(e,t,a,n[a])&&(o=!0,s=Uf(e,i,t,a,n[a],s));return s&&r.ngOnChanges(s),65536&t.flags&&tp(e,256,t.nodeIndex)&&r.ngOnInit(),262144&t.flags&&r.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const i=t.bindings;let r=!1;for(let o=0;o<n.length;o++)_p(e,t,o,n[o])&&(r=!0);if(r){const r=op(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let r=0;r<n.length;r++)o[i[r].name]=n[r];break;case 128:const e=n[0],t=n.slice(1);o=e.transform(...t)}r.value=o}return r}(e,t,n);default:throw"unreachable"}}(e,t,i)}function yv(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const i=t.nodes[n];if(4&i.flags){const t=ip(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const i=t[n];i.state|=32,wp(i,e)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function wv(e,t,n,i,r,o,s,a,l,c,u,h,d){return 0===n?function(e,t,n,i,r,o,s,a,l,c,u,h){const d=t.bindings.length;d>0&&vp(e,t,0,n),d>1&&vp(e,t,1,i),d>2&&vp(e,t,2,r),d>3&&vp(e,t,3,o),d>4&&vp(e,t,4,s),d>5&&vp(e,t,5,a),d>6&&vp(e,t,6,l),d>7&&vp(e,t,7,c),d>8&&vp(e,t,8,u),d>9&&vp(e,t,9,h)}(e,t,i,r,o,s,a,l,c,u,h,d):function(e,t,n){for(let i=0;i<n.length;i++)vp(e,t,i,n[i])}(e,t,i),!1}
1function Cv(e,t){if(sp(e,t.nodeIndex).dirty)throw Yd(lp.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function xv(e){if(!(128&e.state)){if(kv(e,Sv.Destroy),Ov(e,Sv.Destroy),Hf(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=xp(e);if(t){const n=t.template._projectedViews;n&&(Pe(n,n.indexOf(e)),lp.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(ip(e,n).renderElement):2&t.flags?e.renderer.destroyNode(np(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&sp(e,n).destroy()}}(e),kp(e)&&e.renderer.destroy(),e.state|=128}}var Sv=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Ov(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];33554432&r.flags?Ev(ip(e,i).componentView,t):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function kv(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const r=n.nodes[i];if(16777216&r.flags){const n=ip(e,i).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)Ev(n[e],t)}else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function Ev(e,t){const n=e.state;switch(t){case Sv.CheckNoChanges:0==(128&n)&&(12==(12&n)?bv(e):64&n&&Pv(e,Sv.CheckNoChangesProjectedViews));break;case Sv.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?bv(e):64&n&&Pv(e,t));break;case Sv.CheckAndUpdate:0==(128&n)&&(12==(12&n)?_v(e):64&n&&Pv(e,Sv.CheckAndUpdateProjectedViews));break;case Sv.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?_v(e):64&n&&Pv(e,t));break;case Sv.Destroy:xv(e);break;case Sv.CreateViewNodes:gv(e)}}function Pv(e,t){kv(e,t),Ov(e,t)}function Iv(e,t,n,i){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const r=e.def.nodes.length;for(let o=0;o<r;o++){const r=e.def.nodes[o];if(r.flags&t&&r.flags&n)switch(lp.setCurrentNode(e,r.nodeIndex),i){case 0:Q_(e,r);break;case 1:Cv(e,r)}r.childFlags&t&&r.childFlags&n||(o+=r.childCount)}}let Tv=!1;function Mv(){if(Tv)return;Tv=!0;const e=Mi()?{setCurrentNode:ey,createRootView:Dv,createEmbeddedView:Nv,createComponentView:Rv,createNgModuleRef:Lv,overrideProvider:Uv,overrideComponentView:Hv,clearOverrides:zv,checkAndUpdateView:Kv,checkNoChangesView:Xv,destroyView:$v,createDebugContext:(e,t)=>
1new ly(e,t),handleEvent:ty,updateDirectives:ny,updateRenderer:iy}:{setCurrentNode:()=>{},createRootView:Av,createEmbeddedView:hv,createComponentView:pv,createNgModuleRef:vf,overrideProvider:cp,overrideComponentView:cp,clearOverrides:cp,checkAndUpdateView:_v,checkNoChangesView:bv,destroyView:xv,createDebugContext:(e,t)=>new ly(e,t),handleEvent:(e,t,n,i)=>e.def.handleEvent(e,t,n,i),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?qv:Wv,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?qv:Wv,e)};lp.setCurrentNode=e.setCurrentNode,lp.createRootView=e.createRootView,lp.createEmbeddedView=e.createEmbeddedView,lp.createComponentView=e.createComponentView,lp.createNgModuleRef=e.createNgModuleRef,lp.overrideProvider=e.overrideProvider,lp.overrideComponentView=e.overrideComponentView,lp.clearOverrides=e.clearOverrides,lp.checkAndUpdateView=e.checkAndUpdateView,lp.checkNoChangesView=e.checkNoChangesView,lp.destroyView=e.destroyView,lp.resolveDep=Vf,lp.createDebugContext=e.createDebugContext,lp.handleEvent=e.handleEvent,lp.updateDirectives=e.updateDirectives,lp.updateRenderer=e.updateRenderer,lp.dirtyParentQueries=$_}function Av(e,t,n,i,r,o){const s=r.injector.get(Cd);return dv(jv(e,r,s,t,n),i,o)}function Dv(e,t,n,i,r,o){const s=r.injector.get(Cd),a=jv(e,r,new dy(s),t,n),l=Gv(i);return uy(Qv.create,dv,null,[a,l,o])}function jv(e,t,n,i,r){const o=t.injector.get(Ed),s=t.injector.get(di),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:i,selectorOrNode:r,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:s}}function Nv(e,t,n,i){const r=Gv(n);return uy(Qv.create,hv,null,[e,t,r,i])}function Rv(e,t,n,i){return n=Bv.get(t.element.componentProvider.provider.token)||Gv(n),uy(Qv.create,pv,null,[e,t,n,i])}function Lv(e,t,n,i){return vf(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Fv.size||(e.providers.forEach(e=>{const i=Fv.get(e.token);3840&e.flags&&i&&(t=!0,n=n||i.deprecatedBehavior)}),e.modules.forEach(e=>{Vv.forEach((i,r)=>{T(r).providedIn===e&&(t=!0,n=n||i.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const i=e.providers[t];n&&(i.flags|=4096);const r=Fv.get(i.token);r&&(i.flags=-3841&i.flags|r.flags,i.deps=Tp(r.deps),i.value=r.value)}if(Vv.size>0){let t=new Set(e.modules);Vv.forEach((i,r)=>{if(t.has(T(r).providedIn)){let t={token:r,flags:i.flags|(n?4096:0),deps:Tp(i.deps),value:i.value,index:e.providers.length};e.providers.push(t),e.providersByKey[hp(r)]=t}})}}(e=e.factory(()=>cp)),e):e}(i))}const Fv=new Map,Vv=new Map,Bv=new Map;function Uv(e){let t;Fv.set(e.token,e),"function"==typeof e.token&&(t=T(e.token))&&"function"==typeof t.providedIn&&Vv.set(e.token,e)}function Hv(e,t){const n=Dp(af(t)),i=Dp(n.nodes[0].element.componentView);Bv.set(e,i)}function zv(){Fv.clear(),Vv.clear(),Bv.clear()}function Gv(e){if(0===Fv.size)return e;const t=function(e){const t=[];let n=null;for(let i=0;i<e.nodes.length;i++){const r=e.nodes[i];1&r.flags&&(n=r),n&&3840&r.flags&&Fv.has(r.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>cp);for(let i=0;i<t.length;i++)n(e,t[i]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Fv.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=Tp(n.deps),e.value=n.value)}}}}function qv(e,t,n,i,r,o,s,a,l,c,u,h,d){const p=e.def.nodes[t];return vv(e,p,n,i,r,o,s,a,l,c,u,h,d),224&p.flags?op(e,t).value:void 0}function Wv(e,t,n,i,r,o,s,a,l,c,u,h,d){const p=e.def.nodes[t];return wv(e,p,n,i,r,o,s,a,l,c,u,h,d),224&p.flags?op(e,t).value:void 0}function Kv(e){return uy(Qv.detectChanges,_v,null,[e])}function Xv(e){return uy(Qv.checkNoChanges,bv,null,[e])}function $v(e){return uy(Qv.destroy,xv,null,[e])}var Qv=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});let Yv,Zv,Jv;function ey(e,t){Zv=e,Jv=t}function ty(e,t,n,i){return ey(e,t),uy(Qv.handleEvent,e.def.handleEvent,null,[e,t,n,i])}function ny(e,t){if(128&e.state)throw Jd(Qv[Yv]);return ey(e,sy(e,0)),e.def.updateDirectives((function(e,n,i,...r){const o=e.def.nodes[n];return 0===t?ry(e,o,i,r):oy(e,o,i,r),16384&o.flags&&ey(e,sy(e,n)),224&o.flags?op(e,o.nodeIndex).value:void 0}),e)}function iy(e,t){if(128&e.state)throw Jd(Qv[Yv]);return ey(e,ay(e,0)),e.def.updateRenderer((function(e,n,i,...r){const o=e.def.nodes[n];return 0===t?ry(e,o,i,r):oy(e,o,i,r),3&o.flags&&ey(e,ay(e,n)),224&o.flags?op(e,o.nodeIndex).value:void 0}),e)}function ry(e,t,n,i){if(vv(e,t,n,...i)){const o=1===n?i[0]:i;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const i=t.bindings[e],s=o[e];8&i.flags&&(n[(r=i.nonMinifiedName,"ng-reflect-"+r.replace(/[$@]/g,"_").replace(gr,(...e)=>"-"+e[1].toLowerCase()))]=br(s))}const i=t.parent,s=ip(e,i.nodeIndex).renderElement;if(i.element.name)for(let t in n){const i=n[t];null!=i?e.renderer.setAttribute(s,t,i):e.renderer.removeAttribute(s,t)}else e.renderer.setValue(s,mr("bindings="+JSON.stringify(n,null,2)))}}var r}function oy(e,t,n,i){wv(e,t,n,...i)}function sy(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function ay(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class ly{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,i=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&i;)n=Sp(i),i=i.parent;this.elDef=n,this.elView=i}get elOrCompView(){return ip(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return gf(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];
1if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){cy(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&cy(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!kp(e);)e=e.parent;return e.parent?ip(e.parent,Sp(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Op(this.view,this.nodeDef):Op(this.elView,this.elDef)}logError(e,...t){let n,i;2&this.nodeDef.flags?(n=this.view.def,i=this.nodeDef.nodeIndex):(n=this.elView.def,i=this.elDef.nodeIndex);const r=function(e,t){let n=-1;for(let i=0;i<=t;i++)3&e.nodes[i].flags&&n++;return n}(n,i);let o=-1;n.factory(()=>(o++,o===r?e.error.bind(e,...t):cp)),o<r&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function cy(e,t,n){for(let i in t.references)n[i]=Z_(e,t,t.references[i])}function uy(e,t,n,i){const r=Yv,o=Zv,s=Jv;try{Yv=e;const a=t.apply(n,i);return Zv=o,Jv=s,Yv=r,a}catch(c){if(ci(c)||!Zv)throw c;throw a=c,l=hy(),a instanceof Error||(a=new Error(a.toString())),Zd(a,l),a}var a,l}function hy(){return Zv?new ly(Zv,Jv):null}class dy{constructor(e){this.delegate=e}createRenderer(e,t){return new py(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class py{constructor(e){this.delegate=e,this.debugContextFactory=hy,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=P_(e);!function(e){k_.delete(e.nativeNode)}(t),t instanceof m_&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),i=this.createDebugContext(n);if(i){const t=new g_(n,null,i);t.name=e,M_(t)}return n}createComment(e){const t=this.delegate.createComment(mr(e)),n=this.createDebugContext(t);return n&&M_(new m_(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&M_(new m_(t,null,n)),t}appendChild(e,t){const n=P_(e),i=P_(t);n&&i&&n instanceof g_&&n.addChild(i),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const i=P_(e),r=P_(t),o=P_(n);i&&r&&i instanceof g_&&i.insertBefore(o,r),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=P_(e),i=P_(t);n&&i&&n instanceof g_&&n.removeChild(i),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),i=hy();return i&&M_(new g_(n,null,i)),n}setAttribute(e,t,n,i){const r=P_(e);r&&r instanceof g_&&(r.attributes[i?i+":"+t:t]=n),this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){const i=P_(e);i&&i instanceof g_&&(i.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=P_(e);n&&n instanceof g_&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=P_(e);n&&n instanceof g_&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,i){const r=P_(e);r&&r instanceof g_&&(r.styles[t]=n),this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){const i=P_(e);i&&i instanceof g_&&(i.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const i=P_(e);i&&i instanceof g_&&(i.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const i=P_(e);i&&i.listeners.push(new f_(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function fy(e){return Mv(),lp.overrideProvider(e)}function my(e,t){return Mv(),lp.overrideComponentView(e,t)}function gy(){return Mv(),lp.clearOverrides()}
1function by(e,t,n){return new _y(e,t,n)}class _y extends xe{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){Mv();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),i={};for(const r in e.providersByKey)i[r]=e.providersByKey[r];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:i}}(Dp(this._ngModuleDefFactory));return lp.createNgModuleRef(this.moduleType,e||oa.NULL,this._bootstrapComponents,t)}}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("2fFW"),r=n("NJ4a");const o={closed:!0,next(e){},error(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},"gb/T":function(e,t,n){var i,r;e.exports=(r=n("Ib8C"),n("OLod"),r.mode.ECB=((i=r.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),i.Decryptor=i.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),i),r.mode.ECB)},gw8Y:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("fXoL"),r=n("JqCM");let o=(()=>{class e{constructor(e){this.spinner=e}showLoader(){this.spinner.show()}hideLoader(){this.spinner.hide()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.c))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"h+eY":function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return U}));var i=n("mrSG"),r=n("fXoL"),o=n("LRne"),s=n("EY2u"),a=n("ofXK"),l=n("pxpQ"),c=n("eIep"),u=n("lJxs"),h=n("UXun"),d=n("pLZG"),p=n("7o/Q"),f=n("quSY"),m=n("HDdC"),g=n("XNiG");class b{constructor(e,t,n,i){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=i}call(e,t){return t.subscribe(new _(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class _ extends p.a{constructor(e,t,n,i,r){super(e),this.keySelector=t,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=r,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(e){let t;try{t=this.keySelector(e)}catch(n){return void this.error(n)}this._group(e,t)}_group(e,t){let n=this.groups;n||(n=this.groups=new Map);let i,r=n.get(t);if(this.elementSelector)try{i=this.elementSelector(e)}catch(o){this.error(o)}else i=e;if(!r){r=this.subjectSelector?this.subjectSelector():new g.a,n.set(t,r);const e=new y(t,r,this);if(this.destination.next(e),this.durationSelector){let e;try{e=this.durationSelector(new y(t,r))}catch(o){return void this.error(o)}this.add(e.subscribe(new v(t,r,this)))}}r.closed||r.next(i)}_error(e){const t=this.groups;t&&(t.forEach((t,n)=>{t.error(e)}),t.clear()),this.destination.error(e)}_complete(){const e=this.groups;e&&(e.forEach((e,t)=>{e.complete()}),e.clear()),this.destination.complete()}removeGroup(e){this.groups.delete(e)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class v extends p.a{constructor(e,t,n){super(t),this.key=e,this.group=t,this.parent=n}_next(e){this.complete()}_unsubscribe(){const{parent:e,key:t}=this;this.key=this.parent=null,e&&e.removeGroup(t)}}class y extends m.a{constructor(e,t,n){super(),this.key=e,this.groupSubject=t,this.refCountSubscription=n}_subscribe(e){const t=new f.a,{refCountSubscription:n,groupSubject:i}=this;return n&&!n.closed&&t.add(new w(n)),t.add(i.subscribe(e)),t}}class w extends f.a{constructor(e){super(),this.parent=e,e.count++}unsubscribe(){const e=this.parent;e.closed||this.closed||(super.unsubscribe(),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}var C=n("5+tZ"),x=n("/uUt"),S=n("JX91"),O=n("Zy1z"),k=n("spgP"),E=n("tyNb"),P=n("UbJi"),I=n("jhN1");const T=new r.InjectionToken("angularfire2.analytics.analyticsCollectionEnabled"),M=new r.InjectionToken("angularfire2.analytics.appVersion"),A=new r.InjectionToken("angularfire2.analytics.appName"),D=new r.InjectionToken("angularfire2.analytics.debugMode"),j=new r.InjectionToken("angularfire2.analytics.config");let N=(()=>{class e{constructor(e,t,i,r,d,p,f,m){if(this.analyticsInitialized=new Promise(()=>{}),Object(a.isPlatformBrowser)(f)){window.dataLayer=window.dataLayer||[];const e=(...e)=>"config"===e[0]&&"firebase"===e[2].origin&&(this.measurementId=e[1],!0),t=e=>{window.gtag=(...t)=>{e&&e(...t),"event"===t[0]&&t[2].send_to===this.measurementId&&(r&&(t[2].app_name=r),i&&(t[2].app_version=i)),d&&"undefined"!=typeof console&&console.info(...t),function(...e){window.dataLayer.push(arguments)}(...t)}};window.dataLayer.some(e)?(this.analyticsInitialized=Promise.resolve(),t()):this.analyticsInitialized=new Promise(n=>{t((...t)=>{e(...t)&&n()})}),p&&this.updateConfig(p),d&&this.updateConfig({debug_mode:1})}else this.analyticsInitialized=Promise.resolve();const g=Object(o.a)(void 0).pipe(Object(l.b)(new k.e(m).outsideAngular),Object(c.a)(()=>Object(a.isPlatformBrowser)(f)?m.runOutsideAngular(()=>n.e(23).then(n.bind(null,"AAub"))):s.a),Object(u.a)(()=>Object(k.g)("analytics","AngularFireAnalytics",e,()=>{const n=e.analytics();return!1===t&&n.setAnalyticsCollectionEnabled(!1),n},[e,t,p,d])),Object(h.a)({bufferSize:1,refCount:!1}));return Object(k.j)(this,g,m)}updateConfig(e){return Object(i.b)(this,void 0,void 0,(function*(){yield this.analyticsInitialized,window.gtag("config",this.measurementId,Object.assign(Object.assign({},e),{update:!0}))}))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](k.d),r["\u0275\u0275inject"](T,8),r["\u0275\u0275inject"](M,8),r["\u0275\u0275inject"](A,8),r["\u0275\u0275inject"](D,8),r["\u0275\u0275inject"](j,8),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](r.NgZone))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({factory:function(){return new e(r["\u0275\u0275inject"](k.d),r["\u0275\u0275inject"](T,8),r["\u0275\u0275inject"](M,8),r["\u0275\u0275inject"](A,8),r["\u0275\u0275inject"](D,8),r["\u0275\u0275inject"](j,8),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](r.NgZone))},token:e,providedIn:"any"}),e})(),R=(()=>{class e{constructor(e,t,n,i){if(this.disposables=[],Object(a.isPlatformServer)(t))this.initialized=Promise.resolve();else{let t;this.initialized=i.runOutsideAngular(()=>new Promise(e=>t=e)),this.disposables=[n.authState.subscribe(n=>{e.setUserId(null==n?void 0:n.uid),t()}),n.credential.subscribe(t=>
1{if(t){const n=t.user.isAnonymous?"anonymous":t.additionalUserInfo.providerId;t.additionalUserInfo.isNewUser&&e.logEvent("sign_up",{method:n}),e.logEvent("login",{method:n})}})]}}ngOnDestroy(){this.disposables.forEach(e=>e.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](N),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](P.a),r["\u0275\u0275inject"](r.NgZone))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const L="screen_class";let F=Math.floor(Math.random()*(Math.pow(2,32)-1))-Math.pow(2,31);const V={},B=e=>{const t=[e.screen_class,e.outlet].join("#");if(V.hasOwnProperty(t))return V[t];{const e=F++;return V[t]=e,e}};let U=(()=>{class e{constructor(e,t,n,r,s,l,h){if(!t||!Object(a.isPlatformBrowser)(s))return this;l.runOutsideAngular(()=>{const s=t.events.pipe(Object(d.a)(e=>e instanceof E.b));var a;this.disposable=s.pipe(Object(c.a)(e=>{var i;const s=(null===(i=t.parseUrl(t.url.replace(/(?:\().+(?:\))/g,e=>e.replace("://",":///"))).root.children[e.snapshot.outlet])||void 0===i?void 0:i.toString())||"",a=t.routerState.root.children.map(e=>e).find(t=>t.outlet===e.snapshot.outlet);if(!a)return Object(o.a)(null);let l=a;for(;l.firstChild;)l=l.firstChild;const c=l.pathFromRoot.map(e=>{var t;return null===(t=e.routeConfig)||void 0===t?void 0:t.path}).filter(e=>e).join("/")||"/",u={screen_name:c,page_path:"/"+s,firebase_event_origin:"auto",firebase_screen:c,outlet:e.snapshot.outlet};n&&(u.page_title=n.getTitle());let h=a.component;if(h){if(h===E.j){let t=e.snapshot;for(;t.firstChild;)t=t.firstChild;h=t.component}}else h=e.snapshot.component;if("string"==typeof h)return Object(o.a)(Object.assign(Object.assign({},u),{[L]:h}));if(h){const e=r.resolveComponentFactory(h);return Object(o.a)(Object.assign(Object.assign({},u),{[L]:e.selector}))}return Object(o.a)(null)}),Object(d.a)(e=>e),Object(u.a)(e=>Object.assign({firebase_screen_class:e.screen_class,firebase_screen_id:B(e)},e)),(a=e=>e.outlet,e=>e.lift(new b(a,void 0,void 0,void 0))),Object(C.a)(t=>t.pipe(Object(x.a)((e,t)=>JSON.stringify(e)===JSON.stringify(t)),Object(S.a)(void 0),Object(O.a)(),Object(u.a)(([e,t])=>e?Object.assign({firebase_previous_class:e.screen_class,firebase_previous_screen:e.screen_name,firebase_previous_id:e.firebase_screen_id},t):t),Object(c.a)(t=>Object(i.b)(this,void 0,void 0,(function*(){return h&&(yield h.initialized),yield e.logEvent("screen_view",t)})))))).subscribe()})}ngOnDestroy(){this.disposable&&this.disposable.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](N),r["\u0275\u0275inject"](E.d,8),r["\u0275\u0275inject"](I.e,8),r["\u0275\u0275inject"](r.ComponentFactoryResolver),r["\u0275\u0275inject"](r.PLATFORM_ID),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](R,8))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),H=(()=>{class e{constructor(e,t,n){e.app.then(()=>{})}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(r["\u0275\u0275inject"](N),r["\u0275\u0275inject"](U,8),r["\u0275\u0275inject"](R,8))},providers:[N]}),e})()},iadO:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("u47x"),r=n("rDax"),o=n("+rOU"),s=n("ofXK"),a=n("fXoL"),l=n("bTqV"),c=n("0IaG"),u=n("vxfF"),h=(n("FKr1"),n("XNiG"));n("quSY"),n("VRyK"),n("LRne"),n("FtGj"),n("IzEk"),n("JX91"),n("pLZG"),n("8LU1"),n("R0Ic"),n("3Pt+"),n("kmnG"),n("qFsG"),n("cH1L");let d=(()=>{class e{constructor(){this.changes=new h.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(a["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})();const p={provide:new a.InjectionToken("mat-datepicker-scroll-strategy"),deps:[r.c],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let f=(()=>{class e{}return e.\u0275mod=a["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=a["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[d,p],imports:[[s.CommonModule,l.b,c.b,r.f,i.a,o.g],u.a]}),e})()},itXk:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("z+Ro"),r=n("DH7j"),o=n("7o/Q");class s extends o.a{notifyNext(e,t,n,i,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class a extends o.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n("SeVD"),c=n("HDdC");function u(e,t,n,i,r=new a(e,n,i)){if(!r.closed)return t instanceof c.a?t.subscribe(r):Object(l.a)(t)(r)}var h=n("yCtX");const d={};function p(...e){let t=void 0,n=void 0;return Object(i.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(r.a)(e[0])&&(e=e[0]),Object(h.a)(e,n).lift(new f(t))}class f{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new m(e,this.resultSelector))}}class m extends s{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(d),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++)this.add(u(this,e[n],void 0,n))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const i=this.values,r=this.toRespond?i[n]===d?--this.toRespond:this.toRespond:0;i[n]=t,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},jO9C:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.Iso97971={pad:function(e,t){e.concat(i.lib.WordArray.create([2147483648],1)),i.pad.ZeroPadding.pad(e,t)},unpad:function(e){i.pad.ZeroPadding.unpad(e),e.sigBytes--}},i.pad.Iso97971)},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("HDdC"),r=n("quSY");function o(e,t){return new i.a(n=>{const i=new r.a;let o=0;return i.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||i.add(this.schedule())):n.complete()}))),i})}},jhN1:function(e,t,n){"use strict";n.d(t,"a",(function(){return L})),n.d(t,"b",(function(){return G})),n.d(t,"c",(function(){return M})),n.d(t,"d",(function(){return V})),n.d(t,"e",(function(){return U})),n.d(t,"f",(function(){return N})),n.d(t,"g",(function(){return w}));var i=n("ofXK"),r=n("fXoL");class o extends i["\u0275DomAdapter"]{constructor(){super()}supportsDOMEvents(){return!0}}class s extends o{static makeCurrent(){Object(i["\u0275setRootDomAdapter"])(new s)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==t?null:(n=t,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(e){return Object(i["\u0275parseCookieValue"])(document.cookie,e)}}let a,l=null;const c=new r.InjectionToken("TRANSITION_ID"),u=[{provide:r.APP_INITIALIZER,useFactory:function(e,t,n){return()=>{n.get(r.ApplicationInitStatus).donePromise.then(()=>{const n=Object(i["\u0275getDOM"])();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[c,i.DOCUMENT,r.Injector],multi:!0}];class h{static init(){Object(r.setTestabilityGetter)(new h)}addToWindow(e){r["\u0275global"].getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},r["\u0275global"].getAllAngularTestabilities=()=>e.getAllTestabilities(),r["\u0275global"].getAllAngularRootElements=()=>e.getAllRootElements(),r["\u0275global"].frameworkStabilizers||(r["\u0275global"].frameworkStabilizers=[]),r["\u0275global"].frameworkStabilizers.push(e=>{const t=r["\u0275global"].getAllAngularTestabilities();let n=t.length,i=!1;const o=function(t){i=i||t,n--,0==n&&e(i)};t.forEach((function(e){e.whenStable(o)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Object(i["\u0275getDOM"])().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const d=new r.InjectionToken("EventManagerPlugins");let p=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i<n.length;i++){const t=n[i];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](d),r["\u0275\u0275inject"](r.NgZone))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class f{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Object(i["\u0275getDOM"])().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let m=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;
1e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),g=(()=>{class e extends m{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(i["\u0275getDOM"])().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();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(e,t,n){for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?v(e,r,n):(r=r.replace(_,e),n.push(r))}return n}function y(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let w=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case r.ViewEncapsulation.Native:case r.ViewEncapsulation.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=v(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](p),r["\u0275\u0275inject"](g),r["\u0275\u0275inject"](r.APP_ID))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class C{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(b[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=b[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=b[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&r.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,i&r.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,y(n)):this.eventManager.addEventListener(e,t,y(n))}}class x extends C{constructor(e,t,n,i){super(e),this.component=n;const r=v(i+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(_,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(_,i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class S extends C{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.Vie
1wEncapsulation.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=v(i.id,i.styles,[]);for(let r=0;r<o.length;r++){const e=document.createElement("style");e.textContent=o[r],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let O=(()=>{class e extends f{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const k=["alt","control","meta","shift"],E={"\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"},P={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"},I={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let T=(()=>{class e extends f{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i["\u0275getDOM"])().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="";if(k.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=r,0!=n.length||0===r.length)return null;const s={};return s.domEventName=i,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&P.hasOwnProperty(t)&&(t=P[t]))}return E[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),k.forEach(i=>{i!=n&&(0,I[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return r=>{e.getEventFullKey(r)===t&&i.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),M=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return Object(r["\u0275\u0275inject"])(D)},token:e,providedIn:"root"}),e})();function A(e){return new D(e.get(i.DOCUMENT))}let D=(()=>{class e extends M{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case r.SecurityContext.NONE:return t;case r.SecurityContext.HTML:return Object(r["\u0275allowSanitizationBypassAndThrow"])(t,"HTML")?Object(r["\u0275unwrapSafeValue"])(t):Object(r["\u0275_sanitizeHtml"])(this._doc,String(t));case r.SecurityContext.STYLE:return Object(r["\u0275allowSanitizationBypassAndThrow"])(t,"Style")?Object(r["\u0275unwrapSafeValue"])(t):t;case r.SecurityContext.SCRIPT:if(Object(r["\u0275allowSanitizationBypassAndThrow"])(t,"Script"))return Object(r["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case r.SecurityContext.URL:return Object(r["\u0275getSanitizationBypassType"])(t),Object(r["\u0275allowSanitizationBypassAndThrow"])(t,"URL")?Object(r["\u0275unwrapSafeValue"])(t):Object(r["\u0275_sanitizeUrl"])(String(t));case r.SecurityContext.RESOURCE_URL:if(Object(r["\u0275allowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(r["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(r["\u0275bypassSanitizationTrustHtml"])(e)}bypassSecurityTrustStyle(e){return Object(r["\u0275bypassSanitizationTrustStyle"])(e)}bypassSecurityTrustScript(e){return Object(r["\u0275bypassSanitizationTrustScript"])(e)}bypassSecurityTrustUrl(e){return Object(r["\u0275bypassSanitizationTrustUrl"])(e)}bypassSecurityTrustResourceUrl(e){return Object(r["\u0275bypassSanitizationTrustResourceUrl"])(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return A(Object(r["\u0275\u0275inject"])(r.INJECTOR))},token:e,providedIn:"root"}),e})();const j=[{provide:r.PLATFORM_ID,useValue:i["\u0275PLATFORM_BROWSER_ID"]},{provide:r.PLATFORM_INITIALIZER,useValue:function(){s.makeCurrent(),h.init()},multi:!0},{provide:i.DOCUMENT,useFactory:function(){return Object(r["\u0275setDocument"])(document),document},deps:[]}],N=Object(r.createPlatformFactory)(r.platformCore,"browser",j),R=[[],{provide:r["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:r.ErrorHandler,useFactory:function(){return new r.ErrorHandler},deps:[]}
1,{provide:d,useClass:O,multi:!0,deps:[i.DOCUMENT,r.NgZone,r.PLATFORM_ID]},{provide:d,useClass:T,multi:!0,deps:[i.DOCUMENT]},[],{provide:w,useClass:w,deps:[p,g,r.APP_ID]},{provide:r.RendererFactory2,useExisting:w},{provide:m,useExisting:g},{provide:g,useClass:g,deps:[i.DOCUMENT]},{provide:r.Testability,useClass:r.Testability,deps:[r.NgZone]},{provide:p,useClass:p,deps:[d,r.NgZone]},[]];let L=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:r.APP_ID,useValue:t.appId},{provide:c,useExisting:r.APP_ID},u]}}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(r["\u0275\u0275inject"](e,12))},providers:R,imports:[i.CommonModule,r.ApplicationModule]}),e})();function F(){return new V(Object(r["\u0275\u0275inject"])(i.DOCUMENT))}let V=(()=>{class e{constructor(e){this._doc=e,this._dom=Object(i["\u0275getDOM"])()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(n,e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(n)===e[n])}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:F,token:e,providedIn:"root"}),e})();function B(){return new U(Object(r["\u0275\u0275inject"])(i.DOCUMENT))}let U=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:B,token:e,providedIn:"root"}),e})();"undefined"!=typeof window&&window;let H=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const n=new e;return n.store=t,n}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function z(e,t){const n=e.getElementById(t+"-state");let i={};if(n&&n.textContent)try{i=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return H.init(i)}let G=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:H,useFactory:z,deps:[i.DOCUMENT,r.APP_ID]}]}),e})()},jp60:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("tk/3"),r=n("un/a"),o=n("JIr8"),s=n("D0XW");const a=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var l=n("mlxB"),c=n("zx2A");class u{constructor(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler
1=i}call(e,t){return t.subscribe(new h(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class h extends c.b{constructor(e,t,n,i,r){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(c.c)(t,new c.a(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(h.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var d=n("z6cu");function p(e,t=s.a){return function(e,t,n=s.a){return i=>{let r=Object(l.a)(e),o=r?+e-n.now():Math.abs(e);return i.lift(new u(o,r,t,n))}}(e,Object(d.a)(new a),t)}var f=n("AytR"),m=n("kScs"),g=n("eIep"),b=n("fXoL"),_=n("7o2P");let v=(()=>{class e{constructor(e,t){this.http=e,this.commonService=t,this.plan_init_params={},this.promo_cod_dt={},this.planCategories=[],this.options={headers:new i.c({"Content-Type":"application/json"})}}platformId(e){throw new Error("Method not implemented.")}allPlans(e){const t=window.localStorage?window.localStorage.getItem("otv_user_id"):"";return t?this.userPlans(t,e).pipe(Object(g.a)(n=>{var i;const r=(null===(i=n.current_active_plans)||void 0===i?void 0:i.flatMap(e=>e.plan_categories))||[],o=["all_access_pack","livetv_and_originals"];return r.some(e=>o.includes(e))?this.http.post(`${f.a.apiURL}catalog_lists/valid_subscriptions?region=${e}&auth_token=${f.a.authtoken}&id=subscription&session_id=${t}`,{}):this.http.get(`${f.a.apiURL}catalog_lists/subscription.gzip?region=${e}&auth_token=${f.a.authtoken}`)}),Object(r.a)(1),Object(o.a)(this.commonService.handleError)):this.http.get(`${f.a.apiURL}catalog_lists/subscription.gzip?region=${e}&auth_token=${f.a.authtoken}`).pipe(Object(r.a)(1),Object(o.a)(this.commonService.handleError))}userPlans(e,t){return this.http.get(f.a.apiURL+"users/"+e+"/user_plans.gzip?region="+t+"&auth_token="+f.a.authtoken).pipe(Object(r.a)(1),Object(o.a)(this.commonService.handleError))}get nativeWindow(){return window}initTransaction(e,t,n,i,r,s){var a=t.split("|"),l=[],c={};c.plan_categories=a[3],c.category_type="all_access_pack",c.category_pack_id=a[0],c.subscription_catalog_id=a[1],c.plan_id=a[2],l.push(c);var u="2fcf2b11435c9452e163"+e+i+a[2],h=(new m.Md5).appendStr(u).end();return this.plan_init_params.us=h,this.plan_init_params.auth_token=f.a.authtoken,this.plan_init_params.payment_gateway=n,this.plan_init_params.platform="WEB",this.plan_init_params.payment_info={},this.plan_init_params.transaction_info={},this.plan_init_params.user_info={},this.plan_init_params.miscellaneous={},this.plan_init_params.payment_info.net_amount=a[5].toString(),this.plan_init_params.payment_info.price_charged=a[4].toString(),this.plan_init_params.payment_info.currency=a[6],this.plan_init_params.payment_info.packs=l,this.plan_init_params.payment_info.coupon_code=s,this.plan_init_params.payment_info.coupon_code_id=r,this.plan_init_params.transaction_info.txn_message="All access pack",this.plan_init_params.transaction_info.txn_status="init",this.plan_init_params.user_info.email=e,this.plan_init_params.user_info.mobile_number="",this.plan_init_params.miscellaneous.browser="Generic_Browser",this.http.post(f.a.apiURL+"users/"+e+"/transactions.gzip?region="+i+"&auth_token="+f.a.authtoken,JSON.stringify(this.plan_init_params),this.options).pipe(Object(o.a)(this.commonService.handleError))}ValidateCouponCode(e,t,n,i){let s=t.split("|");var a=[],l={};l.plan_categories=s[3],l.category_type="individual",l.category_pack_id=s[0],l.subscription_catalog_id=s[1],l.plan_id=s[2],a.push(l);var c="93038e8c2664cc5b149d"+e+i+s[2],u=(new m.Md5).appendStr(c).end();return this.promo_cod_dt.us=u,this.promo_cod_dt.packs=a,this.promo_cod_dt.coupon_code=n,this.promo_cod_dt.region="IN",this.http.post(f.a.apiURL+"v2/users/"+e+"/apply_coupon_code.gzip?region="+i+"&auth_token="+f.a.authtoken,JSON.stringify(this.promo_cod_dt),this.options).pipe(Object(r.a)(1),Object(o.a)(this.commonService.handleError))}appConfigParams(e,t){return this.http.get(f.a.apiURL+"catalogs/message/items/app-config-params.gzip?auth_token="+f.a.authtoken+"&region="+e+"&item_language=en&destinationURL="+t).pipe(Object(r.a)(1),Object(o.a)(this.commonService.handleError))}doubleoption(e,t){let n=e.params_hash2.config_params.double_opt_url;return window.btoa(window.location.origin+"/plans_summary"),this.http.get(n,{observe:"response"}).pipe(Object(o.a)(this.commonService.handleError))}tvodInit(e,t,n,i,r,s){let a,l;"episode"==n.theme?(a=n.show_theme_id,l="show"):(a=n.content_id,l=n.theme);let c={auth_token:f.a.authtoken,miscellaneous:{},payment_gateway:"9m_admin",payment_info:{currency:e.region_prices.currency,net_amount:e.region_prices.price,packs:[{catalog_id:n.catalog_id,category_type:"TVOD",content_id:a,content_theme:l,plan_categories:e.plan_categories,price_point_id:e.region_price_id,purchase_tag:e.tag,quality_tag:e.quality,subscription_theme_id:e.subscription_theme_id}],price_charged:e.region_prices.discount_price},platform:s,region:e.region_prices.region,transaction_info:{txn_message:"",txn_status:"init",pg_transaction_id:r},us:t,user_id:window.localStorage.getItem("otv_user_id"),user_info:{ext_user_id:window.localStorage.getItem("otv_user_login_id"),mobile_number:"",session_id:window.localStorage.getItem("otv_user_id")},token:i};return this.http.post(f.a.apiURL+"v2/user/subscriptions.gzip?&auth_token="+f.a.authtoken+"&region="+e.region_prices.region,JSON.stringify(c),this.options).pipe(Object(o.a)(this.commonService.handleError))}tvodSuccess(e,t,n,i,r){let s,a;"episode"==n.theme?(s=n.show_theme_id,a="show"):(s=n.content_id,a=n.theme);let l={auth_token:f.a.authtoken,miscellaneous:{},payment_gateway:"9m_admin",payment_info:{currency:e.region_prices.currency,net_amount:e.region_prices.price,packs:[{catalog_id:n.catalog_id,category_type:"TVOD",content_id:s,content_theme:a,plan_categories:e.plan_categories,price_point_id:e.region_price_id,purchase_tag:e.tag,quality_tag:e.quality,subscription_theme_id:e.subscription_theme_id}],price_charged:e.region_prices.discount_price},platform:r,region:e.region_prices.region,transaction_info:{txn_message:"",txn_status:"success",order_id:i.order_id},us:t,user_id:window.localStorage.getItem("otv_user_id"),user_info:{ext_user_id:window.localStorage.getItem("otv_user_login_id"),mobile_number:"",session_id:window.localStorage.getItem("otv_user_id")}};return this.http.post(f.a.apiURL+"v2/user/subscriptions.gzip?&auth_token="+f.a.authtoken+"&region="+e.region_prices.region,JSON.stringify(l),this.options).pipe(p(2e4),Object(o.a)(this.commonService.handleError))}
1createBundles(e,t,n){let i={subscription_theme_id:n.subscription_theme_id,region_price_id:n.region_price_id,items:t};return this.http.post(f.a.apiURL+"users/"+e+"/user_bundles.gzip?&auth_token="+f.a.authtoken+"&region="+window.localStorage.getItem("region"),JSON.stringify(i),this.options).pipe(Object(o.a)(this.commonService.handleError))}budleTvodInit(e,t,n,i,r,s,a){let l,c;"show"==s.theme||"episode"==s.theme?(l=s.show_theme_id,c="show"):(l=s.content_id,c=s.theme);let u={auth_token:f.a.authtoken,us:t,region:e.region_prices.region,payment_info:{net_amount:e.region_prices.price,price_charged:e.region_prices.discount_price,currency:e.region_prices.currency,packs:[{bundle_list_id:n,plan_categories:e.plan_categories,category_type:e.category_type,content_id:l,content_theme:c,subscription_theme_id:e.subscription_theme_id,price_point_id:e.region_price_id,purchase_tag:e.tag,quality_tag:e.quality}]},platform:a,transaction_info:{txn_message:"",txn_status:"init",pg_transaction_id:r},user_info:{ext_user_id:window.localStorage.getItem("otv_user_login_id"),session_id:window.localStorage.getItem("otv_user_id")},miscellaneous:{browser:"Generic_Browser",device_brand:"NA",device_IMEI:"NA",device_model:"NA",device_OS:"NA",device_type:"NA"},payment_gateway:"9m_admin",user_id:window.localStorage.getItem("otv_user_id"),token:i};return this.http.post(f.a.apiURL+"v2/user/subscriptions.gzip?&auth_token="+f.a.authtoken+"&region="+e.region_prices.region,JSON.stringify(u),this.options).pipe(Object(o.a)(this.commonService.handleError))}locationTrack(e,t,n){return this.http.post(f.a.apiURL+"geo_location?auth_token="+f.a.authtoken,JSON.stringify({session_id:n,lat:e,long:t}),this.options)}bundleTvodSuccess(e,t,n,i,r){let s,a;"show"==n.theme||"episode"==n.theme?(s=n.show_theme_id,a="show"):(s=n.content_id,a=n.theme);let l={auth_token:f.a.authtoken,us:t,region:e.region_prices.region,payment_info:{net_amount:e.region_prices.price,price_charged:e.region_prices.discount_price,currency:e.region_prices.currency,packs:[{bundle_list_id:window.localStorage.getItem("bundle_list_id"),plan_categories:e.plan_categories,category_type:e.category_type,content_id:s,content_theme:a,subscription_theme_id:e.subscription_theme_id,price_point_id:e.region_price_id,purchase_tag:e.tag,quality_tag:e.quality}]},platform:r,transaction_info:{txn_message:"",txn_status:"success",order_id:i.order_id},user_info:{ext_user_id:window.localStorage.getItem("otv_user_login_id"),session_id:window.localStorage.getItem("otv_user_id")},miscellaneous:{browser:"Generic_Browser",device_brand:"NA",device_IMEI:"NA",device_model:"NA",device_OS:"NA",device_type:"NA"},payment_gateway:"9m_admin",user_id:window.localStorage.getItem("otv_user_id")};return this.http.post(f.a.apiURL+"v2/user/subscriptions.gzip?&auth_token="+f.a.authtoken+"&region="+e.region_prices.region,JSON.stringify(l),this.options).pipe(p(2e4),Object(o.a)(this.commonService.handleError))}allAccessInit(e,t,n,i,r,s){let a,l;"show"==r.theme||"episode"==r.theme?(a=r.show_theme_id,l="show"):(a=r.content_id,l=r.theme);let c={auth_token:f.a.authtoken,miscellaneous:{},payment_gateway:"9m_admin",payment_info:{currency:e.region_prices.currency,net_amount:e.region_prices.price,packs:[{category_type:e.category_type,plan_categories:e.plan_categories,price_point_id:e.region_price_id,content_id:a,content_theme:l,purchase_tag:e.tag,quality_tag:e.quality,subscription_theme_id:e.subscription_theme_id}],price_charged:e.region_prices.discount_price},platform:s,region:e.region_prices.region,transaction_info:{txn_message:"",txn_status:"init",pg_transaction_id:i},us:t,user_id:window.localStorage.getItem("otv_user_id"),user_info:{ext_user_id:window.localStorage.getItem("otv_user_login_id"),mobile_number:"",session_id:window.localStorage.getItem("otv_user_id")},token:n};return this.http.post(f.a.apiURL+"v2/user/subscriptions.gzip?&auth_token="+f.a.authtoken+"&region="+e.region_prices.region,JSON.stringify(c),this.options).pipe(Object(o.a)(this.commonService.handleError))}allAccessSuccess(e,t,n,i,r,s){let a,l;"show"==n.theme||"episode"==n.theme?(a=n.show_theme_id,l="show"):(a=n.content_id,l=n.theme);let c={auth_token:f.a.authtoken,miscellaneous:{},payment_gateway:"9m_admin",payment_info:{currency:e.region_prices.currency,net_amount:e.region_prices.price,packs:[{category_type:e.category_type,plan_categories:e.plan_categories,price_point_id:e.region_price_id,purchase_tag:e.tag,quality_tag:e.quality,subscription_theme_id:e.subscription_theme_id}],price_charged:e.region_prices.discount_price},platform:r,region:e.region_prices.region,transaction_info:{txn_message:"",txn_status:"success",order_id:i.order_id,auto_renew:s},us:t,user_id:window.localStorage.getItem("otv_user_id"),user_info:{ext_user_id:window.localStorage.getItem("otv_user_login_id"),mobile_number:"",session_id:window.localStorage.getItem("otv_user_id")},token:e.token};return this.http.post(f.a.apiURL+"v2/user/subscriptions.gzip?&auth_token="+f.a.authtoken+"&region="+e.region_prices.region,JSON.stringify(c),this.options).pipe(p(2e4),Object(o.a)(this.commonService.handleError))}androidMovieDetails(e,t,n){return this.http.get(f.a.apiURL+"catalogs/"+e+"/items/"+t+".gzip?region="+n+"&auth_token="+f.a.authtoken).pipe(Object(o.a)(this.commonService.handleError))}androidEpisodeDetails(e,t,n){return this.http.get(f.a.apiURL+"catalogs/shows/"+e+"/episodes/"+t+"?region="+n+"&auth_token="+f.a.authtoken).pipe(Object(o.a)(this.commonService.handleError))}getStripeStatus(e,t){return this.http.get(f.a.apiURL+"users/"+e+"/stripe_status?order_id="+t+"&auth_token="+f.a.authtoken).pipe(Object(o.a)(this.commonService.handleError))}cancelRenewalRazorpay(e,t){return this.http.post(f.a.apiURL+"users/"+t+"/cancel_renewal?auth_token="+f.a.authtoken,JSON.stringify({transaction_id:e}),this.options)}applyCouponCode(e,t){return this.http.post(f.a.apiURL+"users/"+t+"/apply_coupon_code",JSON.stringify(e),this.options).pipe(Object(r.a)(1),Object(o.a)(this.commonService.handleError))}downloadInvoice(e,t){return this.http.get(`${f.a.apiURL}users_invoice/${e}/user_plans/${t}?auth_token=${f.a.authtoken}`,{responseType:"blob"}).pipe(Object(o.a)(this.commonService.handleError))}forgotEmail(e,t){return this.http.post(`${f.a.apiURL}users/forgot_password?auth_token=${f.a.authtoken}&region=${t}`,e)}changePassword(e,t){return this.http.post(`${f.a.apiURL}
1users/reset_password?region=${t}&auth_token=${f.a.authtoken}`,e)}googlePackActivate(e){return this.http.post(`${f.a.apiURL}payment_complete/google/secure_payment/${f.a.authtoken}`,e)}sendGooglePopupAcknowledgement(e,t){return this.http.post(`${f.a.apiURL}google_popup_acknowledgement/${e}?auth_token=${f.a.authtoken}`,t)}}return e.\u0275fac=function(t){return new(t||e)(b["\u0275\u0275inject"](i.a),b["\u0275\u0275inject"](_.a))},e.\u0275prov=b["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},jtHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("XNiG"),r=n("qgXg"),o=n("quSY"),s=n("pxpQ"),a=n("9ppp"),l=n("Ylt2");class c extends i.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new u(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let c;if(this.closed)throw new a.a;if(this.isStopped||this.hasError?c=o.a.EMPTY:(this.observers.push(e),c=new l.a(this,e)),i&&e.add(e=new s.a(e,i)),t)for(let o=0;o<r&&!e.closed;o++)e.next(n[o]);else for(let o=0;o<r&&!e.closed;o++)e.next(n[o].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),c}_getNow(){return(this.scheduler||r.a).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,r=i.length;let o=0;for(;o<r&&!(e-i[o].time<n);)o++;return r>t&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i}}class u{constructor(e,t){this.time=e,this.value=t}}},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kScs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Md5=void 0;var i=function(){function e(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}return e.hashStr=function(e,t){return void 0===t&&(t=!1),this.onePassHasher.start().appendStr(e).end(t)},e.hashAsciiStr=function(e,t){return void 0===t&&(t=!1),this.onePassHasher.start().appendAsciiStr(e).end(t)},e._hex=function(t){var n,i,r,o,s=e.hexChars,a=e.hexOut;for(o=0;o<4;o+=1)for(i=8*o,n=t[o],r=0;r<8;r+=2)a[i+1+r]=s.charAt(15&n),a[i+0+r]=s.charAt(15&(n>>>=4)),n>>>=4;return a.join("")},e._md5cycle=function(e,t){var n=e[0],i=e[1],r=e[2],o=e[3];i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[0]-680876936|0)<<7|n>>>25)+i|0)&i|~n&r)+t[1]-389564586|0)<<12|o>>>20)+n|0)&n|~o&i)+t[2]+606105819|0)<<17|r>>>15)+o|0)&o|~r&n)+t[3]-1044525330|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[4]-176418897|0)<<7|n>>>25)+i|0)&i|~n&r)+t[5]+1200080426|0)<<12|o>>>20)+n|0)&n|~o&i)+t[6]-1473231341|0)<<17|r>>>15)+o|0)&o|~r&n)+t[7]-45705983|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[8]+1770035416|0)<<7|n>>>25)+i|0)&i|~n&r)+t[9]-1958414417|0)<<12|o>>>20)+n|0)&n|~o&i)+t[10]-42063|0)<<17|r>>>15)+o|0)&o|~r&n)+t[11]-1990404162|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[12]+1804603682|0)<<7|n>>>25)+i|0)&i|~n&r)+t[13]-40341101|0)<<12|o>>>20)+n|0)&n|~o&i)+t[14]-1502002290|0)<<17|r>>>15)+o|0)&o|~r&n)+t[15]+1236535329|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[1]-165796510|0)<<5|n>>>27)+i|0)&r|i&~r)+t[6]-1069501632|0)<<9|o>>>23)+n|0)&i|n&~i)+t[11]+643717713|0)<<14|r>>>18)+o|0)&n|o&~n)+t[0]-373897302|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[5]-701558691|0)<<5|n>>>27)+i|0)&r|i&~r)+t[10]+38016083|0)<<9|o>>>23)+n|0)&i|n&~i)+t[15]-660478335|0)<<14|r>>>18)+o|0)&n|o&~n)+t[4]-405537848|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[9]+568446438|0)<<5|n>>>27)+i|0)&r|i&~r)+t[14]-1019803690|0)<<9|o>>>23)+n|0)&i|n&~i)+t[3]-187363961|0)<<14|r>>>18)+o|0)&n|o&~n)+t[8]+1163531501|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[13]-1444681467|0)<<5|n>>>27)+i|0)&r|i&~r)+t[2]-51403784|0)<<9|o>>>23)+n|0)&i|n&~i)+t[7]+1735328473|0)<<14|r>>>18)+o|0)&n|o&~n)+t[12]-1926607734|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[5]-378558|0)<<4|n>>>28)+i|0)^i^r)+t[8]-2022574463|0)<<11|o>>>21)+n|0)^n^i)+t[11]+1839030562|0)<<16|r>>>16)+o|0)^o^n)+t[14]-35309556|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[1]-1530992060|0)<<4|n>>>28)+i|0)^i^r)+t[4]+1272893353|0)<<11|o>>>21)+n|0)^n^i)+t[7]-155497632|0)<<16|r>>>
116)+o|0)^o^n)+t[10]-1094730640|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[13]+681279174|0)<<4|n>>>28)+i|0)^i^r)+t[0]-358537222|0)<<11|o>>>21)+n|0)^n^i)+t[3]-722521979|0)<<16|r>>>16)+o|0)^o^n)+t[6]+76029189|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[9]-640364487|0)<<4|n>>>28)+i|0)^i^r)+t[12]-421815835|0)<<11|o>>>21)+n|0)^n^i)+t[15]+530742520|0)<<16|r>>>16)+o|0)^o^n)+t[2]-995338651|0)<<23|i>>>9)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[0]-198630844|0)<<6|n>>>26)+i|0)|~r))+t[7]+1126891415|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[14]-1416354905|0)<<15|r>>>17)+o|0)|~n))+t[5]-57434055|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[12]+1700485571|0)<<6|n>>>26)+i|0)|~r))+t[3]-1894986606|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[10]-1051523|0)<<15|r>>>17)+o|0)|~n))+t[1]-2054922799|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[8]+1873313359|0)<<6|n>>>26)+i|0)|~r))+t[15]-30611744|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[6]-1560198380|0)<<15|r>>>17)+o|0)|~n))+t[13]+1309151649|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[4]-145523070|0)<<6|n>>>26)+i|0)|~r))+t[11]-1120210379|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[2]+718787259|0)<<15|r>>>17)+o|0)|~n))+t[9]-343485551|0)<<21|i>>>11)+r|0,e[0]=n+e[0]|0,e[1]=i+e[1]|0,e[2]=r+e[2]|0,e[3]=o+e[3]|0},e.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(e.stateIdentity),this},e.prototype.appendStr=function(t){var n,i,r=this._buffer8,o=this._buffer32,s=this._bufferLength;for(i=0;i<t.length;i+=1){if((n=t.charCodeAt(i))<128)r[s++]=n;else if(n<2048)r[s++]=192+(n>>>6),r[s++]=63&n|128;else if(n<55296||n>56319)r[s++]=224+(n>>>12),r[s++]=n>>>6&63|128,r[s++]=63&n|128;else{if((n=1024*(n-55296)+(t.charCodeAt(++i)-56320)+65536)>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");r[s++]=240+(n>>>18),r[s++]=n>>>12&63|128,r[s++]=n>>>6&63|128,r[s++]=63&n|128}s>=64&&(this._dataLength+=64,e._md5cycle(this._state,o),s-=64,o[0]=o[16])}return this._bufferLength=s,this},e.prototype.appendAsciiStr=function(t){for(var n,i=this._buffer8,r=this._buffer32,o=this._bufferLength,s=0;;){for(n=Math.min(t.length-s,64-o);n--;)i[o++]=t.charCodeAt(s++);if(o<64)break;this._dataLength+=64,e._md5cycle(this._state,r),o=0}return this._bufferLength=o,this},e.prototype.appendByteArray=function(t){for(var n,i=this._buffer8,r=this._buffer32,o=this._bufferLength,s=0;;){for(n=Math.min(t.length-s,64-o);n--;)i[o++]=t[s++];if(o<64)break;this._dataLength+=64,e._md5cycle(this._state,r),o=0}return this._bufferLength=o,this},e.prototype.getState=function(){var e=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[e[0],e[1],e[2],e[3]]}},e.prototype.setState=function(e){var t,n=e.buffer,i=e.state,r=this._state;for(this._dataLength=e.length,this._bufferLength=e.buflen,r[0]=i[0],r[1]=i[1],r[2]=i[2],r[3]=i[3],t=0;t<n.length;t+=1)this._buffer8[t]=n.charCodeAt(t)},e.prototype.end=function(t){void 0===t&&(t=!1);var n=this._bufferLength,i=this._buffer8,r=this._buffer32,o=1+(n>>2);this._dataLength+=n;var s=8*this._dataLength;if(i[n]=128,i[n+1]=i[n+2]=i[n+3]=0,r.set(e.buffer32Identity.subarray(o),o),n>55&&(e._md5cycle(this._state,r),r.set(e.buffer32Identity)),s<=4294967295)r[14]=s;else{var a=s.toString(16).match(/(.*?)(.{0,8})$/);if(null===a)return;var l=parseInt(a[2],16),c=parseInt(a[1],16)||0;r[14]=l,r[15]=c}return e._md5cycle(this._state,r),t?this._state:e._hex(this._state)},e.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),e.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),e.hexChars="0123456789abcdef",e.hexOut=[],e.onePassHasher=new e,e}();if(t.Md5=i,"5d41402abc4b2a76b9719d911017c592"!==i.hashStr("hello"))throw new Error("Md5 self test failed.")},kmKP:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n("mrSG"),r=n("tk/3"),o=n("z6cu"),s=n("LRne"),a=n("un/a"),l=n("JIr8"),c=n("nYR2"),u=n("AytR"),h=n("Jgta"),d=(n("6nsN"),n("fXoL")),p=n("7o2P"),f=n("jhN1"),m=n("UbJi"),g=n("9YtQ");let b=(()=>{class e{constructor(e,t,n,i,o,s){this.http=e,this.commonService=t,this.title=n,this.meta=i,this.afAuth=o,this.deviceService=s,this.transactionInProgress=!1,this.deviceType="",this.options={headers:new r.c({"Content-Type":"application/json"})},this.getTime=()=>{var e=(new Date).toISOString(),t=e.indexOf(".");return e.substring(0,t)},this.deviceType=this.deviceService.isMobile()?"mweb":this.deviceService.isTablet()?"Tablet":"browser"}contact(e,t){var n={content:{}};return n.content.title="feedback",n.content.status="published",n.content.email_id=e.controls.contact_email.value,n.content.phone="9
11"+e.controls.contact_mobile.value,n.content.type_of_query=e.controls.contact_us_query.value,n.content.subject=e.controls.query_description.value,this.http.post(u.a.apiURL+"catalogs/616581dec61d1c05f7000000/items.gzip?region="+t+"&auth_token="+u.a.authtoken,JSON.stringify(n),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}userDetails(e,t){return e?this.http.get(u.a.apiURL+"users/"+e+"/account.gzip?region="+t+"&auth_token="+u.a.authtoken+"&item_language=en").pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError)):Object(o.a)(()=>new Error("Session ID is required to fetch user details."))}login(e,t){var n={user:{}};return n.user.provider="9mobile",n.user.uid=t,n.user.firstname="test",n.user.ext_account_email_id="[email protected]",n.user.region=e,n.user.mobile_number="",n.region=e,n.auth_token=u.a.authtoken,this.http.post(u.a.apiURL+"users/sign_in?auth_token=eKJTE4SSzAyKq3wdTCZ9&region=any",JSON.stringify({user:{email_id:"[email protected]",password:"welcome123",region:"any"}}),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}loginWithUserId(e){return this.http.post(u.a.apiURL+"v2/users/sign_in",JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getPopupDetails(e,t){return this.http.get(u.a.apiURL+"users/get_popup_details?region"+e+"&auth_token="+u.a.authtoken+"&ext_user_id="+t).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}emailLogin(e){var t={user:{}};return t.user.email_id=e.controls.login_email.value,t.user.mobile_no="",t.user.type="email",t.user.password=e.controls.login_email_password.value,t.user.region="IN",this.http.post(u.a.apiURL+"users/sign_in.gzip?region=IN&auth_token="+u.a.authtoken,JSON.stringify(t),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getLoginOtp(e){return this.http.post(u.a.apiURL+"/users/send_otp?auth_token="+u.a.authtoken,JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getEmail(e){return this.http.post(u.a.apiURL+"/users/sign_in?auth_token="+u.a.authtoken,JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}loginwithOtp(e,t){return this.http.get(u.a.apiURL+`/users/verification/${e}?auth_token=${u.a.authtoken}&mobile_number=${t}`,this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}emailloginwithOtp(e,t){return this.http.get(u.a.apiURL+`/users/verification/${e}?auth_token=${u.a.authtoken}&email_id=${t}&type=email`,this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}resendOtp(e){return this.http.post(u.a.apiURL+"v2/users/resend_otp?auth_token="+u.a.authtoken,JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}resendRegisterVerification(e,t){const n={user:{email_id:(e||"").replace(/^\+/,""),type:"msisdn"}};return this.http.post(u.a.apiURL+"users/resend_verification_link.gzip?region="+(t||"IN")+"&auth_token="+u.a.authtoken,JSON.stringify(n),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getUpdateUserData(e,t){return this.http.put(u.a.apiURL+"users/"+t+"/account",JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}userSignout(e){return this.http.post(u.a.apiURL+"users/"+e+"/sign_out?auth_token="+u.a.authtoken,{},this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}deleteUserAccount(e){return this.http.get(u.a.apiURL+"users/admin_delete?auth_token="+u.a.authtoken+"&user_id="+e+"&type=user",this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}updateUser(e,t,n){var i={user:{}};return i.user.firstname=e.controls.user_profile_name.value,i.user.birthdate=e.controls.datepicker.value,i.user.user_email_id=e.controls.user_email_address.value,i.user.mobile_number=e.controls.user_mobile_number.value,i.user.address=e.controls.user_address.value,i.user.state=e.controls.user_state.value,i.user.country=e.controls.user_country.value,this.http.put(u.a.apiURL+"users/"+t+"/account.gzip?region="+n+"&auth_token="+u.a.authtoken+"&item_language=en",JSON.stringify(i),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}watchlist(e,t){return this.http.get(u.a.apiURL+"users/"+e+"/playlists/watchlater/listitems.gzip?region="+t+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}watchlistFilter(e,t){return this.http.get(u.a.apiURL+"v2/users/"+e+"/playlists/watchlater/listitems.gzip?region="+t+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}favourites(e,t){return this.http.get(u.a.apiURL+"users/"+e+"/playlists/favourite/listitems.gzip?region="+t+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}myPurchases(e,t,n){return this.http.get(u.a.apiURL+"users/tvod_library_details?ext_user_id="+n+"&region="+t+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}autoRegion(e){return this.http.get(u.a.apiURL+"regions/autodetect/ip.gzip?auth_token="+u.a.authtoken+"&region="+e+"&item_language=en").pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}appConfig(e){return this.http.get(u.a.apiURL+"catalogs/message/items/app-config-params.gzip?current_version=116&auth_token="+u.a.authtoken+"&region="+e+"&item_language=en&asdf=2").pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}addWatchLater(e,t,n){return this.http.post(u.a.apiURL+"users/"+e+"/playlists/watchlater.gzip?region="+n+"&auth_token="+u.a.authtoken,JSON.stringify(t),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}removeWatchlist(e,t,n){return this.http.delete(u.a.apiURL+"users/"+e+"/playlists/watchlater/listitems/"+t+".gzip?region="+n+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}
1addToFavourites(e,t,n){return console.log("Add To Favourites"),this.http.post(u.a.apiURL+"users/"+e+"/playlists/favourite.gzip?region="+n+"&auth_token="+u.a.authtoken,JSON.stringify(t),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}removeFavourite(e,t,n){return this.http.delete(u.a.apiURL+"users/"+e+"/playlists/favourite/listitems/"+t+".gzip?region="+n+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}userVideoStatus(e,t){return this.http.get(u.a.apiURL+"users/user_all_lists.gzip?catalog_id="+e+"&content_id="+t+"&item_category=").pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getContinueWatching(e,t){return this.http.get(u.a.apiURL+"users/"+e+"/playlists/watchhistory/listitems.gzip?region="+t+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}removeContinueWatching(e,t,n){return this.http.delete(u.a.apiURL+"users/"+e+"/playlists/watchhistory/listitems/"+t+".gzip?region="+n+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}deleteWatchHistory(e,t){return this.http.delete(u.a.apiURL+"users/"+e+"/playlists/watchhistory/clear_all.gzip?region="+t+"&auth_token="+u.a.authtoken).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getGenerateToken(e,t,n){var i={};return i.auth_token=u.a.authtoken,i.user={},i.user.token=t,i.user.session_id=e,i.region=n,this.http.post(u.a.apiURL+"generate_session_tv.gzip",JSON.stringify(i),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getAllDetails(e){return this.http.post(u.a.apiURL+"v2/users/get_all_details.gzip",JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}getUserDetailsLogin(){return this.http.get(u.a.apiURL+"get_user_details").pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}cancelAutoRenew(e,t){let n={};return n.auth_token=u.a.authtoken,n.ext_user_id=e,n.purchase_id=t,this.http.post(u.a.apiURL+"users/cancel_auto_renew.gzip",JSON.stringify(n),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}playBackTimeUpdate(e,t,n,i){let r={};return r.user_id=window.localStorage.getItem("otv_user_login_id"),r.content_id=e,r.catalog_id=t,r.playback_time=n,r.date_time=i,this.http.post("nine_mobile/_doc",JSON.stringify(r),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}transactionInit(e,t){return this.transactionInProgress?Object(s.a)(null):(this.transactionInProgress=!0,this.http.post(u.a.apiURL+"users/"+t+"/transactions",JSON.stringify(e),this.options).pipe(Object(c.a)(()=>{this.transactionInProgress=!1}),Object(a.a)(1),Object(l.a)(this.commonService.handleError)))}applyCouponCode(e,t){return this.http.post(u.a.apiURL+"v2/users/"+t+"/apply_coupon_code",JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}payupayment(e){return this.http.post("https://test.payu.in/_payment",e,this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}gdpiStatus(e){return this.http.post(u.a.apiURL+"users/gdpr_status?auth_token="+u.a.authtoken,JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}analytics(e){let t={dataLayer:[{value:JSON.stringify(e)}]};return console.log(t,"data from analytics"),this.http.post("https://staginganalytics.tarangplus.in/api/collect",t,this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}sandbox_analytics(e){alert("final data"),alert(JSON.stringify(e));let t={dataLayer:[{value:JSON.stringify(e)}]};return this.http.post("https://staginganalytics.tarangplus.in/api/collect/sandbox",t,this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}userRegister(e){return this.http.post(`${u.a.apiURL}users/register?auth_token=${u.a.authtoken}`,JSON.stringify(e),this.options).pipe(Object(a.a)(1),Object(l.a)(this.commonService.handleError))}googleSignIn(e){var t;return Object(i.b)(this,void 0,void 0,(function*(){try{const n=yield this.afAuth.signInWithPopup(new h.a.auth.GoogleAuthProvider);if(n.user){const i={auth_token:""+u.a.authtoken,user:{ext_account_email_id:n.user.email,firstname:(null===(t=n.user.displayName)||void 0===t?void 0:t.split(" ")[0])||"",provider:"Google",uid:n.user.uid,region:e}};return this.http.post(u.a.apiURL+"users/external_auth/sign_in",i).toPromise()}}catch(n){throw console.error("Google sign-in failed",n),n}}))}facebookSignIn(e){return Object(i.b)(this,void 0,void 0,(function*(){return new Promise((t,n)=>{"undefined"!=typeof FB?FB.login(i=>{i.authResponse?FB.api("/me",{fields:"id,name,email"},i=>{const r={user:{uid:i.id.toString(),firstname:i.name,ext_account_email_id:i.email,region:e,provider:"facebook"},auth_token:u.a.authtoken};this.http.post(`${u.a.apiURL}users/external_auth/sign_in?auth_token=${u.a.authtoken}`,r).subscribe({next:e=>{t(e)},error:e=>{n(e)}})}):n({message:"User cancelled Facebook login"})},{scope:"email,public_profile"}):n({message:"Facebook SDK not loaded"})})}))}}return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](r.a),d["\u0275\u0275inject"](p.a),d["\u0275\u0275inject"](f.e),d["\u0275\u0275inject"](f.d),d["\u0275\u0275inject"](m.a),d["\u0275\u0275inject"](g.a))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},kmnG:function(e,t,n){"use strict";n.d(t,"a",(function(){return Q})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return V})),n.d(t,"e",(function(){return Z})),n.d(t,"f",(function(){return U})),n.d(t,"g",(function(){return q}));var i=n("GU7r"),r=n("ofXK"),o=n("fXoL"),s=n("FKr1"),a=n("8LU1"),l=n("XNiG"),c=n("VRyK"),u=n("xgIS"),h=n("JX91"),d=n("1G5W"),p=n("IzEk"),f=n("R0Ic"),m=n("R1ws"),g=n("cH1L"),b=n("nLfN");const _=["underline"],v=["connectionContainer"],y=["inputContainer"],w=["label"];function C(e,t){1&e&&(o["\u0275\u0275elementContainerStart"](0),o["\u0275\u0275elementStart"](1,"div",14),o["\u0275\u0275element"](2,"div",15),o["\u0275\u0275element"](3,"div",16),o["\u0275\u0275element"](4,"div",17),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](5,"div",18),o["\u0275\u0275element"](6,"div",15),o["\u0275\u0275element"](7,"div",16),o["\u0275\u0275element"](8,"div",17),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementContainerEnd"]())}function x(e,t){1&e&&(o["\u0275\u0275elementStart"](0,"div",19),o["\u0275\u0275projection"](1,1),o["\u0275\u0275elementEnd"]())}function S(e,t){if(1&e&&(o["\u0275\u0275elementContainerStart"](0),o["\u0275\u0275projection"](1,2),o["\u0275\u0275elementStart"](2,"span"),o["\u0275\u0275text"](3),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementContainerEnd"]()),2&e){const e=o["\u0275\u0275nextContext"](2);o["\u0275\u0275advance"](3),o["\u0275\u0275textInterpolate"](e._control.placeholder)}}function O(e,t){1&e&&o["\u0275\u0275projection"](0,3,["*ngSwitchCase","true"])}function k(e,t){1&e&&(o["\u0275\u0275elementStart"](0,"span",23),o["\u0275\u0275text"](1," *"),o["\u0275\u0275elementEnd"]())}function E(e,t){if(1&e){const e=o["\u0275\u0275getCurrentView"]();o["\u0275\u0275elementStart"](0,"label",20,21),o["\u0275\u0275listener"]("cdkObserveContent",(function(){return o["\u0275\u0275restoreView"](e),o["\u0275\u0275nextContext"]().updateOutlineGap()})),o["\u0275\u0275template"](2,S,4,1,"ng-container",12),o["\u0275\u0275template"](3,O,1,0,"ng-content",12),o["\u0275\u0275template"](4,k,2,0,"span",22),o["\u0275\u0275elementEnd"]()}if(2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275classProp"]("mat-empty",e._control.empty&&!e._shouldAlwaysFloat
1())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),o["\u0275\u0275property"]("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),o["\u0275\u0275attribute"]("for",e._control.id)("aria-owns",e._control.id),o["\u0275\u0275advance"](2),o["\u0275\u0275property"]("ngSwitchCase",!1),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!0),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function P(e,t){1&e&&(o["\u0275\u0275elementStart"](0,"div",24),o["\u0275\u0275projection"](1,4),o["\u0275\u0275elementEnd"]())}function I(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div",25,26),o["\u0275\u0275element"](2,"span",27),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275advance"](2),o["\u0275\u0275classProp"]("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function T(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div"),o["\u0275\u0275projection"](1,5),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transitionMessages",e._subscriptAnimationState)}}function M(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div",31),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"](2);o["\u0275\u0275property"]("id",e._hintLabelId),o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](e.hintLabel)}}function A(e,t){if(1&e&&(o["\u0275\u0275elementStart"](0,"div",28),o["\u0275\u0275template"](1,M,2,2,"div",29),o["\u0275\u0275projection"](2,6),o["\u0275\u0275element"](3,"div",30),o["\u0275\u0275projection"](4,7),o["\u0275\u0275elementEnd"]()),2&e){const e=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transitionMessages",e._subscriptAnimationState),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",e.hintLabel)}}const D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],j=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let N=0;const R=new o.InjectionToken("MatError");let L=(()=>{class e{constructor(){this.id="mat-error-"+N++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&o["\u0275\u0275attribute"]("id",t.id)},inputs:{id:"id"},features:[o["\u0275\u0275ProvidersFeature"]([{provide:R,useExisting:e}])]}),e})();const F={transitionMessages:Object(f.m)("transitionMessages",[Object(f.j)("enter",Object(f.k)({opacity:1,transform:"translateY(0%)"})),Object(f.l)("void => enter",[Object(f.k)({opacity:0,transform:"translateY(-100%)"}),Object(f.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let V=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e}),e})();const B=new o.InjectionToken("MatHint");let U=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-label"]]}),e})(),H=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-placeholder"]]}),e})();const z=new o.InjectionToken("MatPrefix"),G=new o.InjectionToken("MatSuffix");let q=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","matSuffix",""]],features:[o["\u0275\u0275ProvidersFeature"]([{provide:G,useExisting:e}])]}),e})(),W=0;class K{constructor(e){this._elementRef=e}}const X=Object(s.q)(K,"primary"),$=new o.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Q=new o.InjectionToken("MatFormField");let Y=(()=>{class e extends X{constructor(e,t,n,i,r,o,s,a){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this._defaults=r,this._platform=o,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+W++,this._labelId="mat-form-field-label-"+W++,this._labelOptions=n||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Object(a.b)(e)}
1_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Object(h.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(d.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(d.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(d.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(u.a)(this._label.nativeElement,"transitionend").pipe(Object(p.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let e=[];
1if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,n=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(r),s=e.children,a=this._getStartEnd(s[0].getBoundingClientRect());let l=0;for(let e=0;e<s.length;e++)l+=s[e].offsetWidth;t=Math.abs(a-o)-5,n=l>0?.75*l+10:0}for(let s=0;s<r.length;s++)r[s].style.width=t+"px";for(let s=0;s<o.length;s++)o[s].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](s.d,8),o["\u0275\u0275directiveInject"](g.b,8),o["\u0275\u0275directiveInject"]($,8),o["\u0275\u0275directiveInject"](b.a),o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](m.a,8))},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var i;1&e&&(o["\u0275\u0275contentQuery"](n,V,!0),o["\u0275\u0275staticContentQuery"](n,V,!0),o["\u0275\u0275contentQuery"](n,U,!0),o["\u0275\u0275staticContentQuery"](n,U,!0),o["\u0275\u0275contentQuery"](n,H,!0),o["\u0275\u0275contentQuery"](n,R,!0),o["\u0275\u0275contentQuery"](n,B,!0),o["\u0275\u0275contentQuery"](n,z,!0),o["\u0275\u0275contentQuery"](n,G,!0)),2&e&&(o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._controlNonStatic=i.first),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._controlStatic=i.first),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._labelChildNonStatic=i.first),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._labelChildStatic=i.first),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._placeholderChild=i.first),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._errorChildren=i),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._hintChildren=i),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._prefixChildren=i),o["\u0275\u0275queryRefresh"](i=o["\u0275\u0275loadQuery"]())&&(t._suffixChildren=i))},viewQuery:function(e,t){var n;1&e&&(o["\u0275\u0275viewQuery"](_,!0),o["\u0275\u0275staticViewQuery"](v,!0),o["\u0275\u0275viewQuery"](y,!0),o["\u0275\u0275viewQuery"](w,!0)),2&e&&(o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t.underlineRef=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t._connectionContainerRef=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t._inputContainerRef=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&o["\u0275\u0275classProp"]("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o["\u0275\u0275ProvidersFeature"]([{provide:Q,useExisting:e}]),o["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:j,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(o["\u0275\u0275projectionDef"](D),o["\u0275\u0275elementStart"](0,"div",0),o["\u0275\u0275elementStart"](1,"div",1,2),o["\u0275\u0275listener"]("click",(function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)})),o["\u0275\u0275template"](3,C,9,0,"ng-container",3),o["\u0275\u0275template"](4,x,2,0,"div",4),o["\u0275\u0275elementStart"](5,"div",5,6),o["\u0275\u0275projection"](7),o["\u0275\u0275elementStart"](8,"span",7),o["\u0275\u0275template"](9,E,5,16,"label",8),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](10,P,2,0,"div",9),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](11,I,3,4,"div",10),o["\u0275\u0275elementStart"](12,"div",11),o["\u0275\u0275template"](13,T,2,1,"div",12),o["\u0275\u0275template"](14,A,5,2,"div",13),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"]()),2&e&&(o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("ngIf","outline"==t.appearance),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",t._prefixChildren.length),o["\u0275\u0275advance"](5),o["\u0275\u0275property"]("ngIf",t._hasFloatingLabel()),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",t._suffixChildren.length),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf","outline"!=t.appearance),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitch",t._getDisplayedMessages()),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase","error"),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase","hint"))},directives:[r.NgIf,r.NgSwitch,r.NgSwitchCase,i.a],styles:[".mat-form-field{dis
1play:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px
1)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[F.transitionMessages]},changeDetection:0}),e})(),Z=(()=>{class e{}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[r.CommonModule,s.h,i.c],s.h]}),e})()},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s extends i.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lPiR:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;
1i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,r=0;r<64;)t(i)&&(r<8&&(a[r]=n(e.pow(i,.5))),l[r]=n(e.pow(i,1/3)),r++),i++}();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],h=n[6],d=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var f=c[p-15],m=c[p-2];c[p]=((f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3)+c[p-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+c[p-16]}var g=i&r^i&o^r&o,b=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&h)+l[p]+c[p];d=h,h=u,u=a,a=s+b|0,s=o,o=r,r=i,i=b+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+g)|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+h|0,n[7]=n[7]+d|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(u),t.HmacSHA256=o._createHmacHelper(u)}(Math),i.SHA256)},mlxB:function(e,t,n){"use strict";function i(e){return e instanceof Date&&!isNaN(+e)}n.d(t,"a",(function(){return i}))},mrSG:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function s(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))}function a(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function l(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function u(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",(function(){return i}))},nLfN:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return g}));var i=n("fXoL"),r=n("ofXK");let o;try{o="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(v){o=!1}let s,a=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(r.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!o)&&"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 e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.PLATFORM_ID))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(i.PLATFORM_ID))},token:e,providedIn:"root"}),e})(),l=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})();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 u(){if(s)return s;if("object"!=typeof document||!document)return s=new Set(c),s;let e=document.createElement("input");return s=new Set(c.filter(t=>(e.setAttribute("type",t),e.type===t))),s}let h,d,p,f;function m(e){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?e:!!e.capture}function g(){if(null==p)if("object"==typeof document&&document||(p=!1),"scrollBehavior"in document.documentElement.style)p=!0;else{const e=Element.prototype.scrollTo;p=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}return p}function b(){if("object"!=typeof document||!document)return 0;if(null==d){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),d=0,0===e.scrollLeft&&(e.scrollLeft=1,d=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return d}function _(e){if(function(){if(null==f){const e="undefined"!=typeof document?document.head:null;f=!(!e||!e.createShadowRoot&&!e.attachShadow)}return f}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},nYR2:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("7o/Q"),r=n("quSY");function o(e){return t=>t.lift(new s(e))}class s{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends i.a{constructor(e,t){super(e),this.add(new r.a(t))}}},ngAm:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("fXoL"),r=n("jhN1");let o=(()=>{class e{constructor(e,t){this.title=e,this.meta=t}updateTitle(e){this.title.setTitle(e)}updateDescription(e){this.meta.updateTag({name:"description",property:"description",content:e})}updateKeywords(e){this.meta.updateTag({name:"keywords",content:e})}updateOgTitle(e){this.meta.updateTag({name:"og:title",property:"og:title",content:e}),this.meta.getTags("name='og:title'")[1].setAttribute("content",e)}updateOgDescription(e){this.meta.updateTag({name:"og:description",property:"og:description",content:e}),this.meta.getTags("name='og:description'")[1].setAttribute("content",e)}updateOgUrl(e){this.meta.updateTag({name:"og:url",property:"og:url",content:e}),this.meta.getTags("name='og:url'")[1].setAttribute("content",e)}updateOgType(e){this.meta.updateTag({name:"og:type",property:"og:type",content:e}),this.meta.getTags("name='og:type'")[1].setAttribute("content",e)}updateOgImage(e){this.meta.updateTag({name:"og:image",property:"og:image",content:e}),this.meta.getTags("name='og:image'")[1].setAttribute("content",e)}updateOgSiteName(e){this.meta.updateTag({name:"og:site_name",property:"og:site_name",content:e})}updateTwitterCard(e){this.meta.updateTag({name:"twitter:card",property:"twitter:card",content:e})}updateTwitterUrl(e){this.meta.updateTag({name:"twitter:url",property:"twitter:url",content:e})}updateTwitterTitle(e){this.meta.updateTag({name:"twitter:title",property:"twitter:title",content:e})}updateTwitterDesc(e){this.meta.updateTag({name:"twitter:description",property:"twitter:description",content:e})}updateTwitterImage(e){this.meta.updateTag({name:"twitter:image",property:"twitter:image",content:e})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e),i["\u0275\u0275inject"](r.d))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})()},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=e=>t=>{for(let n=0,i=e.length;n<i&&!t.closed;
1n++)t.next(e[n]);t.complete()}},oRuE:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.Iso10126={pad:function(e,t){var n=4*t,r=n-e.sigBytes%n;e.concat(i.lib.WordArray.random(r-1)).concat(i.lib.WordArray.create([r<<24],1))},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},i.pad.Iso10126)},ofXK:function(e,t,n){"use strict";n.r(t),n.d(t,"APP_BASE_HREF",(function(){return y})),n.d(t,"AsyncPipe",(function(){return nt})),n.d(t,"CommonModule",(function(){return wt})),n.d(t,"CurrencyPipe",(function(){return gt})),n.d(t,"DOCUMENT",(function(){return l})),n.d(t,"DatePipe",(function(){return at})),n.d(t,"DecimalPipe",(function(){return ft})),n.d(t,"FormStyle",(function(){return I})),n.d(t,"FormatWidth",(function(){return M})),n.d(t,"HashLocationStrategy",(function(){return C})),n.d(t,"I18nPluralPipe",(function(){return ct})),n.d(t,"I18nSelectPipe",(function(){return ut})),n.d(t,"JsonPipe",(function(){return ht})),n.d(t,"KeyValuePipe",(function(){return dt})),n.d(t,"LOCATION_INITIALIZED",(function(){return h})),n.d(t,"Location",(function(){return x})),n.d(t,"LocationStrategy",(function(){return _})),n.d(t,"LowerCasePipe",(function(){return it})),n.d(t,"NgClass",(function(){return je})),n.d(t,"NgComponentOutlet",(function(){return Ne})),n.d(t,"NgForOf",(function(){return Le})),n.d(t,"NgForOfContext",(function(){return Re})),n.d(t,"NgIf",(function(){return Ve})),n.d(t,"NgIfContext",(function(){return Be})),n.d(t,"NgLocaleLocalization",(function(){return Me})),n.d(t,"NgLocalization",(function(){return Ie})),n.d(t,"NgPlural",(function(){return We})),n.d(t,"NgPluralCase",(function(){return Ke})),n.d(t,"NgStyle",(function(){return Xe})),n.d(t,"NgSwitch",(function(){return ze})),n.d(t,"NgSwitchCase",(function(){return Ge})),n.d(t,"NgSwitchDefault",(function(){return qe})),n.d(t,"NgTemplateOutlet",(function(){return $e})),n.d(t,"NumberFormatStyle",(function(){return E})),n.d(t,"NumberSymbol",(function(){return A})),n.d(t,"PathLocationStrategy",(function(){return w})),n.d(t,"PercentPipe",(function(){return mt})),n.d(t,"PlatformLocation",(function(){return c})),n.d(t,"Plural",(function(){return P})),n.d(t,"SlicePipe",(function(){return vt})),n.d(t,"TitleCasePipe",(function(){return ot})),n.d(t,"TranslationWidth",(function(){return T})),n.d(t,"UpperCasePipe",(function(){return st})),n.d(t,"VERSION",(function(){return Tt})),n.d(t,"ViewportScroller",(function(){return Mt})),n.d(t,"WeekDay",(function(){return D})),n.d(t,"formatCurrency",(function(){return Se})),n.d(t,"formatDate",(function(){return ue})),n.d(t,"formatNumber",(function(){return ke})),n.d(t,"formatPercent",(function(){return Oe})),n.d(t,"getCurrencySymbol",(function(){return ne})),n.d(t,"getLocaleCurrencyCode",(function(){return X})),n.d(t,"getLocaleCurrencyName",(function(){return K})),n.d(t,"getLocaleCurrencySymbol",(function(){return W})),n.d(t,"getLocaleDateFormat",(function(){return U})),n.d(t,"getLocaleDateTimeFormat",(function(){return z})),n.d(t,"getLocaleDayNames",(function(){return R})),n.d(t,"getLocaleDayPeriods",(function(){return N})),n.d(t,"getLocaleDirection",(function(){return J})),n.d(t,"getLocaleEraNames",(function(){return F})),n.d(t,"getLocaleExtraDayPeriodRules",(function(){return Y})),n.d(t,"getLocaleExtraDayPeriods",(function(){return Z})),n.d(t,"getLocaleFirstDayOfWeek",(function(){return V})),n.d(t,"getLocaleId",(function(){return j})),n.d(t,"getLocaleMonthNames",(function(){return L})),n.d(t,"getLocaleNumberFormat",(function(){return q})),n.d(t,"getLocaleNumberSymbol",(function(){return G})),n.d(t,"getLocalePluralCase",(function(){return $})),n.d(t,"getLocaleTimeFormat",(function(){return H})),n.d(t,"getLocaleWeekEndRange",(function(){return B})),n.d(t,"getNumberOfCurrencyDigits",(function(){return ie})),n.d(t,"isPlatformBrowser",(function(){return kt})),n.d(t,"isPlatformServer",(function(){return Et})),n.d(t,"isPlatformWorkerApp",(function(){return Pt})),n.d(t,"isPlatformWorkerUi",(function(){return It})),n.d(t,"registerLocaleData",(function(){return Ae})),n.d(t,"\u0275BrowserPlatformLocation",(function(){return d})),n.d(t,"\u0275DomAdapter",(function(){return a})),n.d(t,"\u0275NullViewportScroller",(function(){return jt})),n.d(t,"\u0275PLATFORM_BROWSER_ID",(function(){return Ct})),n.d(t,"\u0275PLATFORM_SERVER_ID",(function(){return xt})),n.d(t,"\u0275PLATFORM_WORKER_APP_ID",(function(){return St})),n.d(t,"\u0275PLATFORM_WORKER_UI_ID",(function(){return Ot})),n.d(t,"\u0275angular_packages_common_common_a",(function(){return u})),n.d(t,"\u0275angular_packages_common_common_b",(function(){return f})),n.d(t,"\u0275angular_packages_common_common_c",(function(){return S})),n.d(t,"\u0275angular_packages_common_common_d",(function(){return v})),n.d(t,"\u0275angular_packages_common_common_e",(function(){return Qe})),n.d(t,"\u0275angular_packages_common_common_f",(function(){return yt})),n.d(t,"\u0275getDOM",(function(){return o}
1)),n.d(t,"\u0275parseCookieValue",(function(){return De})),n.d(t,"\u0275setRootDomAdapter",(function(){return s}));var i=n("fXoL");let r=null;function o(){return r}function s(e){r||(r=e)}class a{}const l=new i.InjectionToken("DocumentToken");let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(i["\u0275\u0275inject"])(d)}const h=new i.InjectionToken("Location Initialized");let d=(()=>{class e extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!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(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](l))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new d(Object(i["\u0275\u0275inject"])(l))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function b(e){return e&&"?"!==e[0]?"?"+e:e}let _=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:v,token:e,providedIn:"root"}),e})();function v(e){const t=Object(i["\u0275\u0275inject"])(l).location;return new w(Object(i["\u0275\u0275inject"])(c),t&&t.origin||"")}const y=new i.InjectionToken("appBaseHref");let w=(()=>{class e extends _{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](c),i["\u0275\u0275inject"](y,8))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),C=(()=>{class e extends _{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](c),i["\u0275\u0275inject"](y,8))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),x=(()=>
1{class e{constructor(e,t){this._subject=new i.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(O(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+b(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,O(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](_),i["\u0275\u0275inject"](c))},e.normalizeQueryParams=b,e.joinWithSlash=m,e.stripTrailingSlash=g,e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:S,token:e,providedIn:"root"}),e})();function S(){return new x(Object(i["\u0275\u0275inject"])(_),Object(i["\u0275\u0275inject"])(c))}function O(e){return e.replace(/\/index.html$/,"")}const k={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(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),P=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),I=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),T=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),M=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),A=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({}),D=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}({});function j(e){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].LocaleId]}function N(e,t,n){const r=Object(i["\u0275findLocaleData"])(e),o=ee([r[i["\u0275LocaleDataIndex"].DayPeriodsFormat],r[i["\u0275LocaleDataIndex"].DayPeriodsStandalone]],t);return ee(o,n)}function R(e,t,n){const r=Object(i["\u0275findLocaleData"])(e),o=ee([r[i["\u0275LocaleDataIndex"].DaysFormat],r[i["\u0275LocaleDataIndex"].DaysStandalone]],t);return ee(o,n)}function L(e,t,n){const r=Object(i["\u0275findLocaleData"])(e),o=ee([r[i["\u0275LocaleDataIndex"].MonthsFormat],r[i["\u0275LocaleDataIndex"].MonthsStandalone]],t);return ee(o,n)}function F(e,t){return ee(Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].Eras],t)}function V(e){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].FirstDayOfWeek]}function B(e){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].WeekendRange]}function U(e,t){return ee(Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].DateFormat],t)}function H(e,t){return ee(Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].TimeFormat],t)}function z(e,t){return ee(Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].DateTimeFormat],t)}function G(e,t){const n=Object(i["\u0275findLocaleData"])(e),r=n[i["\u0275LocaleDataIndex"].NumberSymbols][t];if(void 0===r){if(t===A.CurrencyDecimal)return n[i["\u0275LocaleDataIndex"].NumberSymbols][A.Decimal];if(t===A.CurrencyGroup)return n[i["\u0275LocaleDataIndex"].NumberSymbols][A.Group]}return r}function q(e,t){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].NumberFormats][t]}function W(e){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].CurrencySymbol]||null}function K(e){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].CurrencyName]||null}function X(e){return Object(i["\u0275getLocaleCurrencyCode"])(e)}const $=i["\u0275getLocalePluralCase"];function Q(e){if(!e[i["\u0275LocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${e[i["\u0275LocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Y(e){const t=Object(i["\u0275findLocaleData"])(e);return Q(t),(t[i["\u0275LocaleDataIndex"].ExtraData][2]||[]).map(e=>"string"==typeof e?te(e):[te(e[0]),te(e[1])])}function Z(e,t,n){const r=Object(i["\u0275findLocaleData"])(e);Q(r);const o=ee([r[i["\u0275LocaleDataIndex"].ExtraData][0],r[i["\u0275LocaleDataIndex"].ExtraData][1]],t)||[];return ee(o,n)||[]}function J(e){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].Directionality]}function ee(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function te(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function ne(e,t,n="en"){const r=function(e){return Object(i["\u0275findLocaleData"])(e)[i["\u0275LocaleDataIndex"].Currencies]}(n)[e]||k[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}function ie(e){let t;const n=k[e];return n&&(t=n[2]),"number"==typeof t?t:2}const re=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,oe={},se=/((?:[^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 ae=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),le=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),ce=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function ue(e,t,n,i){let r=function(e){if(ve(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);
vendor: 6,086 bytes, line 1
1if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,i]=e.split("-").map(e=>+e);return new Date(t,n-1,i)}let n;if(n=e.match(re))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,l,c),t}(n)}const t=new Date(e);if(!ve(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const i=j(t);if(oe[i]=oe[i]||{},oe[i][n])return oe[i][n];let r="";switch(n){case"shortDate":r=U(t,M.Short);break;case"mediumDate":r=U(t,M.Medium);break;case"longDate":r=U(t,M.Long);break;case"fullDate":r=U(t,M.Full);break;case"shortTime":r=H(t,M.Short);break;case"mediumTime":r=H(t,M.Medium);break;case"longTime":r=H(t,M.Long);break;case"fullTime":r=H(t,M.Full);break;case"short":const n=e(t,"shortTime"),i=e(t,"shortDate");r=he(z(t,M.Short),[n,i]);break;case"medium":const o=e(t,"mediumTime"),s=e(t,"mediumDate");r=he(z(t,M.Medium),[o,s]);break;case"long":const a=e(t,"longTime"),l=e(t,"longDate");r=he(z(t,M.Long),[a,l]);break;case"full":const c=e(t,"fullTime"),u=e(t,"fullDate");r=he(z(t,M.Full),[c,u])}return r&&(oe[i][n]=r),r}(n,t)||t;let o,s=[];for(;t;){if(o=se.exec(t),!o){s.push(t);break}{s=s.concat(o.slice(1));const e=s.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();i&&(a=_e(i,a),r=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(_e(t,i)-i))}(r,i));let l="";return s.forEach(e=>{const t=function(e){if(be[e])return be[e];let t;switch(e){case"G":case"GG":case"GGG":t=fe(ce.Eras,T.Abbreviated);break;case"GGGG":t=fe(ce.Eras,T.Wide);break;case"GGGGG":t=fe(ce.Eras,T.Narrow);break;case"y":t=pe(le.FullYear,1,0,!1,!0);break;case"yy":t=pe(le.FullYear,2,0,!0,!0);break;case"yyy":t=pe(le.FullYear,3,0,!1,!0);break;case"yyyy":t=pe(le.FullYear,4,0,!1,!0);break;case"M":case"L":t=pe(le.Month,1,1);break;case"MM":case"LL":t=pe(le.Month,2,1);break;case"MMM":t=fe(ce.Months,T.Abbreviated);break;case"MMMM":t=fe(ce.Months,T.Wide);break;case"MMMMM":t=fe(ce.Months,T.Narrow);break;case"LLL":t=fe(ce.Months,T.Abbreviated,I.Standalone);break;case"LLLL":t=fe(ce.Months,T.Wide,I.Standalone);break;case"LLLLL":t=fe(ce.Months,T.Narrow,I.Standalone);break;case"w":t=ge(1);break;case"ww":t=ge(2);break;case"W":t=ge(1,!0);break;case"d":t=pe(le.Date,1);break;case"dd":t=pe(le.Date,2);break;case"E":case"EE":case"EEE":t=fe(ce.Days,T.Abbreviated);break;case"EEEE":t=fe(ce.Days,T.Wide);break;case"EEEEE":t=fe(ce.Days,T.Narrow);break;case"EEEEEE":t=fe(ce.Days,T.Short);break;case"a":case"aa":case"aaa":t=fe(ce.DayPeriods,T.Abbreviated);break;case"aaaa":t=fe(ce.DayPeriods,T.Wide);break;case"aaaaa":t=fe(ce.DayPeriods,T.Narrow);break;case"b":case"bb":case"bbb":t=fe(ce.DayPeriods,T.Abbreviated,I.Standalone,!0);break;case"bbbb":t=fe(ce.DayPeriods,T.Wide,I.Standalone,!0);break;case"bbbbb":t=fe(ce.DayPeriods,T.Narrow,I.Standalone,!0);break;case"B":case"BB":case"BBB":t=fe(ce.DayPeriods,T.Abbreviated,I.Format,!0);break;case"BBBB":t=fe(ce.DayPeriods,T.Wide,I.Format,!0);break;case"BBBBB":t=fe(ce.DayPeriods,T.Narrow,I.Format,!0);break;case"h":t=pe(le.Hours,1,-12);break;case"hh":t=pe(le.Hours,2,-12);break;case"H":t=pe(le.Hours,1);break;case"HH":t=pe(le.Hours,2);break;case"m":t=pe(le.Minutes,1);break;case"mm":t=pe(le.Minutes,2);break;case"s":t=pe(le.Seconds,1);break;case"ss":t=pe(le.Seconds,2);break;case"S":t=pe(le.FractionalSeconds,1);break;case"SS":t=pe(le.FractionalSeconds,2);break;case"SSS":t=pe(le.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=me(ae.Short);break;case"ZZZZZ":t=me(ae.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=me(ae.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=me(ae.Long);break;default:return null}return be[e]=t,t}(e);l+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function he(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function de(e,t,n="-",i,r){let o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length<t;)s="0"+s;return i&&(s=s.substr(s.length-t)),o+s}function pe(e,t,n=0,i=!1,r=!1){return function(o,s){let a=function(e,t){switch(e){case le.FullYear:return t.getFullYear();case le.Month:return t.getMonth();case le.Date:return t.getDate();case le.Hours:return t.getHours();case le.Minutes:return t.getMinutes();case le.Seconds:return t.getSeconds();case le.FractionalSeconds:return t.getMilliseconds();case le.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===le.Hours)0===a&&-12===n&&(a=12);else if(e===le.FractionalSeconds)return l=t,de(a,3).substr(0,l);var l;const c=G(s,A.MinusSign);return de(a,t,c,i,r)}}function fe(e,t,n=I.Format,i=!1){return function(r,o){return function(e,t,n,i,r,o){switch(n){case ce.Months:return L(t,r,i)[e.getMonth()];case ce.Days:return R(t,r,i)[e.getDay()];case ce.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(o){const e=Y(t),n=Z(t,r,i),o=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=s>=t.hours&&a>=t.minutes,r=s<n.hours||s===n.hours&&a<n.minutes;if(t.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(e.hours===s&&e.minutes===a)return!0;return!1});if(-1!==o)return n[o]}return N(t,r,i)[s<12?0:1];case ce.Eras:return F(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,e,t,n,i)}}function me(e){return function(t,n,i){const r=-1*i,o=G(n,A.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case ae.Short:return(r>=0?"+":"")+de(s,2,o)+de(Math.abs(r%60),2,o);case ae.ShortGMT:return"GMT"+(r>=0?"+":"")+de(s,1,o);case ae.Long:return"GMT"+(r>=0?"+":"")+de(s,2,o)+":"+de(Math.abs(r%60),2,o);case ae.Extended:return 0===i?"Z":(r>=0?"+":"")+de(s,2,o)+":"+de(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}
1function ge(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(4-o.getDay()))),t=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}var o;return de(r,e,G(i,A.MinusSign))}}const be={};function _e(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ve(e){return e instanceof Date&&!isNaN(e.valueOf())}const ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/,we=".",Ce="0";function xe(e,t,n,i,r,o,s=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,i,r,o,s=Math.abs(e)+"",a=0;for((n=s.indexOf(we))>-1&&(s=s.replace(we,"")),(i=s.search(/e/i))>0?(n<0&&(n=i),n+=+s.slice(i+1),s=s.substring(0,i)):n<0&&(n=s.length),i=0;s.charAt(i)===Ce;i++);if(i===(o=s.length))t=[0],n=1;else{for(o--;s.charAt(o)===Ce;)o--;for(n-=i,t=[],r=0;i<=o;i++,r++)t[r]=Number(s.charAt(i))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);s&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,h=t.minFrac,d=t.maxFrac;if(o){const e=o.match(ye);if(null===e)throw new Error(o+" is not a valid digit info");const t=e[1],n=e[3],i=e[5];null!=t&&(u=Pe(t)),null!=n&&(h=Pe(n)),null!=i?d=Pe(i):null!=n&&h>d&&(d=h)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let i=e.digits,r=i.length-e.integerLen;const o=Math.min(Math.max(t,r),n);let s=o+e.integerLen,a=i[s];if(s>0){i.splice(Math.max(e.integerLen,s));for(let e=s;e<i.length;e++)i[e]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,s=o+1),i[0]=0;for(let e=1;e<s;e++)i[e]=0}if(a>=5)if(s-1<0){for(let t=0;t>s;t--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[s-1]++;for(;r<Math.max(0,o);r++)i.push(0);let l=0!==o;const c=t+e.integerLen,u=i.reduceRight((function(e,t,n,i){return i[n]=(t+=e)<10?t:t-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),t>=10?1:0}),0);u&&(i.unshift(u),e.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const b=[];for(p.length>=t.lgSize&&b.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)b.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&b.unshift(p.join("")),a=b.join(G(n,i)),g.length&&(a+=G(n,r)+g.join("")),m&&(a+=G(n,A.Exponential)+"+"+m)}else a=G(n,A.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function Se(e,t,n,i,r){const o=Ee(q(t,E.Currency),G(t,A.MinusSign));return o.minFrac=ie(i),o.maxFrac=o.minFrac,xe(e,o,t,A.CurrencyGroup,A.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}function Oe(e,t,n){return xe(e,Ee(q(t,E.Percent),G(t,A.MinusSign)),t,A.Group,A.Decimal,n,!0).replace(new RegExp("%","g"),G(t,A.PercentSign))}function ke(e,t,n){return xe(e,Ee(q(t,E.Decimal),G(t,A.MinusSign)),t,A.Group,A.Decimal,n)}function Ee(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(we)?r.split(we):[r.substring(0,r.lastIndexOf(Ce)+1),r.substring(r.lastIndexOf(Ce)+1)],a=s[0],l=s[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const e=l.charAt(u);e===Ce?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}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,o){const e=r.length-n.posPre.length-n.posSuf.length,t=o.indexOf("#");n.negPre=o.substr(0,t).replace(/'/g,""),n.negSuf=o.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Pe(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class Ie{}function Te(e,t,n,i){let r="="+e;if(t.indexOf(r)>-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}let Me=(()=>{class e extends Ie{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch($(t||this.locale)(e)){case P.Zero:return"zero";case P.One:return"one";case P.Two:return"two";case P.Few:return"few";case P.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.LOCALE_ID))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function Ae(e,t,n){return Object(i["\u0275registerLocaleData"])(e,t,n
1)}function De(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}let je=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i["\u0275stringify"])(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.IterableDiffers),i["\u0275\u0275directiveInject"](i.KeyValueDiffers),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.Renderer2))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})(),Ne=(()=>{class e{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(i.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(i.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ViewContainerRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),e})();class Re{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,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 Le=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(i.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}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(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Re(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new Fe(e,n);t.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const o=new Fe(e,r);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const e=this._viewContainer.get(n);
1e.context.index=n,e.context.count=i,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.IterableDiffers))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Fe{constructor(e,t){this.record=e,this.view=t}}let Ve=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Be,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Ue("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Ue("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Be{constructor(){this.$implicit=null,this.ngIf=null}}function Ue(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(i["\u0275stringify"])(t)}'.`)}class He{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let ze=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),Ge=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new He(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](ze,1))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),qe=(()=>{class e{constructor(e,t,n){n._addDefault(new He(e,t))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](ze,1))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),We=(()=>{class e{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,t){this._caseViews[e]=t}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),t=Te(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Ie))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),e})(),Ke=(()=>{class e{constructor(e,t,n,i){this.value=e;const r=!isNaN(Number(e));i.addCase(r?"="+e:e,new He(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275injectAttribute"]("ngPluralCase"),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](We,1))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngPluralCase",""]]}),e})(),Xe=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split(".");null!=(t=null!=t&&i?`${t}${i}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.KeyValueDiffers),i["\u0275\u0275directiveInject"](i.Renderer2))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1),e})(),$e=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ViewContainerRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),e})();const Qe=[je,Ne,Le,Ve,$e,Xe,ze,Ge,qe,We,Ke];function Ye(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(i["\u0275stringify"])(e)}'`)}class Ze{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Je{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const et=new Je,tt=new Ze;let nt=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(i["\u0275isPromise"])(t))return et;if(Object(i["\u0275isObservable"])(t))return tt;throw Ye(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275injectPipeChangeDetectorRef"]())},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"async",type:e,pure:!1}),e})(),it=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw Ye(e,t);return t.toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"lowercase",type:e,pure:!0}),e})();const rt
vendor: 7,066 bytes, line 1
1=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g
1;let ot=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw Ye(e,t);return t.replace(rt,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"titlecase",type:e,pure:!0}),e})(),st=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw Ye(e,t);return t.toUpperCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"uppercase",type:e,pure:!0}),e})(),at=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,r){if(null==t||""===t||t!=t)return null;try{return ue(t,n,r||this.locale,i)}catch(o){throw Ye(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.LOCALE_ID))},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"date",type:e,pure:!0}),e})();const lt=/#/g;let ct=(()=>{class e{constructor(e){this._localization=e}transform(t,n,i){if(null==t)return"";if("object"!=typeof n||null===n)throw Ye(e,n);return n[Te(t,Object.keys(n),this._localization,i)].replace(lt,t.toString())}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Ie))},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"i18nPlural",type:e,pure:!0}),e})(),ut=(()=>{class e{transform(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw Ye(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"i18nSelect",type:e,pure:!0}),e})(),ht=(()=>{class e{transform(e){return JSON.stringify(e,null,2)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"json",type:e,pure:!1}),e})(),dt=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=pt){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.KeyValueDiffers))},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"keyvalue",type:e,pure:!1}),e})();function pt(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),o=String(i);return r==o?0:r<o?-1:1}let ft=(()=>{class e{constructor(e){this._locale=e}transform(t,n,i){if(bt(t))return null;i=i||this._locale;try{return ke(_t(t),i,n)}catch(r){throw Ye(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.LOCALE_ID))},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"number",type:e,pure:!0}),e})(),mt=(()=>{class e{constructor(e){this._locale=e}transform(t,n,i){if(bt(t))return null;i=i||this._locale;try{return Oe(_t(t),i,n)}catch(r){throw Ye(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.LOCALE_ID))},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"percent",type:e,pure:!0}),e})(),gt=(()=>{class e{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(t,n,i="symbol",r,o){if(bt(t))return null;o=o||this._locale,"boolean"==typeof i&&(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".'),i=i?"symbol":"code");let s=n||this._defaultCurrencyCode;"code"!==i&&(s="symbol"===i||"symbol-narrow"===i?ne(s,"symbol"===i?"wide":"narrow",o):i);try{return Se(_t(t),o,s,n,r)}catch(a){throw Ye(e,a.message)}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.LOCALE_ID),i["\u0275\u0275directiveInject"](i.DEFAULT_CURRENCY_CODE))},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"currency",type:e,pure:!0}),e})();function bt(e){return null==e||""===e||e!=e}function _t(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}let vt=(()=>{class e{transform(t,n,i){if(null==t)return t;if(!this.supports(t))throw Ye(e,t);return t.slice(n,i)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"slice",type:e,pure:!1}),e})();const yt=[nt,st,it,ht,vt,ft,mt,ot,gt,at,ct,ut,dt];let wt=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:Ie,useClass:Me}]}),e})();const Ct="browser",xt="server",St="browserWorkerApp",Ot="browserWorkerUi";function kt(e){return e===Ct}function Et(e){return e===xt}function Pt(e){return e===St}function It(e){return e===Ot}const Tt=new i.Version("10.2.5");let Mt=(()=>{class e{}return e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({token:e,providedIn:"root",factory:()=>new At(Object(i["\u0275\u0275inject"])(l),window,Object(i["\u0275\u0275inject"])(i.ErrorHandler))}),e})();class At{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportsScrolling()){const t=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(t)}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const e=Dt(this.window.history)||Dt(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(e){return!1}}}function Dt(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class jt{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}},oqF8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t){this.type=e,this.payload=t}}},pA7S:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib,n=t.WordArray,r=t.BlockCipher,o=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c
vendor: 4,679 bytes, line 1
1=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:2
vendor: 2,950 bytes, line 1
162272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],
1u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=o.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var i=s[n]-1;t[n]=e[i>>>5]>>>31-i%32&1}for(var r=this._subKeys=[],o=0;o<16;o++){var c=r[o]=[],u=l[o];for(n=0;n<24;n++)c[n/6|0]|=t[(a[n]-1+u)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(a[n+24]-1+u)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var h=this._invSubKeys=[];for(n=0;n<16;n++)h[n]=r[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),d.call(this,1,1431655765);for(var i=0;i<16;i++){for(var r=n[i],o=this._lBlock,s=this._rBlock,a=0,l=0;l<8;l++)a|=c[l][((s^r[l])&u[l])>>>0];this._lBlock=s,this._rBlock=o^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,d.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function p(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=r._createHelper(h);var f=o.TripleDES=r.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),i=e.length<4?e.slice(0,2):e.slice(2,4),r=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=h.createEncryptor(n.create(t)),this._des2=h.createEncryptor(n.create(i)),this._des3=h.createEncryptor(n.create(r))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=r._createHelper(f)}(),i.TripleDES)},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}class s extends i.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pxpQ:function(e,t,n){"use strict";n.d(t,"b",(function(){return o}
1)),n.d(t,"a",(function(){return a}));var i=n("7o/Q"),r=n("WMd4");function o(e,t=0){return function(n){return n.lift(new s(e,t))}}class s{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new a(e,this.scheduler,this.delay))}}class a extends i.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(a.dispatch,this.delay,new l(e,this.destination)))}_next(e){this.scheduleMessage(r.a.createNext(e))}_error(e){this.scheduleMessage(r.a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()}}class l{constructor(e,t){this.notification=e,this.destination=t}}},"q/0M":function(e,t,n){"use strict";function i(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}var r;n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p}));var o=[],s=function(e){return e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT",e}({}),a={debug:s.DEBUG,verbose:s.VERBOSE,info:s.INFO,warn:s.WARN,error:s.ERROR,silent:s.SILENT},l=s.INFO,c=((r={})[s.DEBUG]="log",r[s.VERBOSE]="log",r[s.INFO]="info",r[s.WARN]="warn",r[s.ERROR]="error",r),u=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!(t<e.logLevel)){var o=(new Date).toISOString(),s=c[t];if(!s)throw new Error("Attempted to log a message with an invalid logType (value: "+t+")");console[s].apply(console,i(["["+o+"]  "+e.name+":"],n))}},h=function(){function e(e){this.name=e,this._logLevel=l,this._logHandler=u,this._userLogHandler=null,o.push(this)}return Object.defineProperty(e.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in s))throw new TypeError('Invalid value "'+e+'" assigned to `logLevel`');this._logLevel=e},enumerable:!1,configurable:!0}),e.prototype.setLogLevel=function(e){this._logLevel="string"==typeof e?a[e]:e},Object.defineProperty(e.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userLogHandler",{get:function(){return this._userLogHandler},set:function(e){this._userLogHandler=e},enumerable:!1,configurable:!0}),e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,s.DEBUG],e)),this._logHandler.apply(this,i([this,s.DEBUG],e))},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,s.VERBOSE],e)),this._logHandler.apply(this,i([this,s.VERBOSE],e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,s.INFO],e)),this._logHandler.apply(this,i([this,s.INFO],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,s.WARN],e)),this._logHandler.apply(this,i([this,s.WARN],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,s.ERROR],e)),this._logHandler.apply(this,i([this,s.ERROR],e))},e}();function d(e){o.forEach((function(t){t.setLogLevel(e)}))}function p(e,t){for(var n=function(n){var i=null;t&&t.level&&(i=a[t.level]),n.userLogHandler=null===e?null:function(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var a=r.map((function(e){if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(t){return null}})).filter((function(e){return e})).join(" ");n>=(null!=i?i:t.logLevel)&&e({level:s[n].toLowerCase(),message:a,args:r,type:t.name})}},i=0,r=o;i<r.length;i++)n(r[i])}},qBft:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,i=4*t,r=i-n%i,o=n+r-1;
1e.clamp(),e.words[o>>>2]|=r<<24-o%4*8,e.sigBytes+=r},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},i.pad.Ansix923)},qFsG:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return y}));var i=n("nLfN"),r=n("fXoL"),o=n("8LU1"),s=n("EY2u"),a=n("XNiG");n("xgIS"),n("3UWI"),n("1G5W"),n("ofXK");const l=Object(i.f)({passive:!0});let c=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return s.a;const t=Object(o.d)(e),n=this._monitoredElements.get(t);if(n)return n.subject;const i=new a.a,r="cdk-text-field-autofilled",c=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,l),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:i,unlisten:()=>{t.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(e){const t=Object(o.d)(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.a),r["\u0275\u0275inject"](r.NgZone))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.a),Object(r["\u0275\u0275inject"])(r.NgZone))},token:e,providedIn:"root"}),e})(),u=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})();var h=n("FKr1"),d=n("kmnG"),p=n("3Pt+");const f=new r.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),m=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class b{constructor(e,t,n,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=i}}const _=Object(h.t)(b);let v=(()=>{class e extends _{constructor(e,t,n,r,o,s,l,c,u,h){super(s,r,o,n),this._elementRef=e,this._platform=t,this.ngControl=n,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new a.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Object(i.e)().has(e));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Object(o.b)(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=Object(o.b)(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Object(o.b)(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}
1_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const n=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(n!==this._previousPlaceholder){const e=this._elementRef.nativeElement;this._previousPlaceholder=n,n?e.setAttribute("placeholder",n):e.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){m.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](i.a),r["\u0275\u0275directiveInject"](p.o,10),r["\u0275\u0275directiveInject"](p.r,8),r["\u0275\u0275directiveInject"](p.i,8),r["\u0275\u0275directiveInject"](h.b),r["\u0275\u0275directiveInject"](f,10),r["\u0275\u0275directiveInject"](c),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](d.a,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(r["\u0275\u0275hostProperty"]("disabled",t.disabled)("required",t.required),r["\u0275\u0275attribute"]("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),r["\u0275\u0275classProp"]("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:d.d,useExisting:e}]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),e})(),y=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[h.b],imports:[[u,d.e],u,d.e]}),e})()},qM6L:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(){var e=i.lib.WordArray,t=i.enc;function n(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r+=2)i.push(String.fromCharCode(t[r>>>2]>>>16-r%4*8&65535));return i.join("")},parse:function(t){for(var n=t.length,i=[],r=0;r<n;r++)i[r>>>1]|=t.charCodeAt(r)<<16-r%2*16;return e.create(i,2*n)}},t.Utf16LE={stringify:function(e){for(var t=e.words,i=e.sigBytes,r=[],o=0;o<i;o+=2){var s=n(t[o>>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var i=t.length,r=[],o=0;o<i;o++)r[o>>>1]|=n(t.charCodeAt(o)<<16-o%2*16);return e.create(r,2*i)}}}(),i.enc.Utf16)},qOnz:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return x})),n.d(t,"e",(function(){return A})),n.d(t,"f",(function(){return P})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return I})),n.d(t,"i",(function(){return a})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return D})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return m})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return w})),n.d(t,"r",(function(){return d})),n.d(t,"s",(function(){return p})),n.d(t,"t",(function(){return g})),n.d(t,"u",(function(){return y}
1)),n.d(t,"v",(function(){return v})),n.d(t,"w",(function(){return C}));var i=n("mrSG"),r=function(e){for(var t=[],n=0,i=0;i<e.length;i++){var r=e.charCodeAt(i);r<128?t[n++]=r:r<2048?(t[n++]=r>>6|192,t[n++]=63&r|128):55296==(64512&r)&&i+1<e.length&&56320==(64512&e.charCodeAt(i+1))?(r=65536+((1023&r)<<10)+(1023&e.charCodeAt(++i)),t[n++]=r>>18|240,t[n++]=r>>12&63|128,t[n++]=r>>6&63|128,t[n++]=63&r|128):(t[n++]=r>>12|224,t[n++]=r>>6&63|128,t[n++]=63&r|128)}return t},o={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray:function(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[],r=0;r<e.length;r+=3){var o=e[r],s=r+1<e.length,a=s?e[r+1]:0,l=r+2<e.length,c=l?e[r+2]:0,u=(15&a)<<2|c>>6,h=63&c;l||(h=64,s||(u=64)),i.push(n[o>>2],n[(3&o)<<4|a>>4],n[u],n[h])}return i.join("")},encodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(r(e),t)},decodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){for(var t=[],n=0,i=0;n<e.length;){var r=e[n++];if(r<128)t[i++]=String.fromCharCode(r);else if(r>191&&r<224){var o=e[n++];t[i++]=String.fromCharCode((31&r)<<6|63&o)}else if(r>239&&r<365){var s=((7&r)<<18|(63&(o=e[n++]))<<12|(63&(a=e[n++]))<<6|63&e[n++])-65536;t[i++]=String.fromCharCode(55296+(s>>10)),t[i++]=String.fromCharCode(56320+(1023&s))}else{o=e[n++];var a=e[n++];t[i++]=String.fromCharCode((15&r)<<12|(63&o)<<6|63&a)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray:function(e,t){this.init_();for(var n=t?this.charToByteMapWebSafe_:this.charToByteMap_,i=[],r=0;r<e.length;){var o=n[e.charAt(r++)],s=r<e.length?n[e.charAt(r)]:0,a=++r<e.length?n[e.charAt(r)]:64,l=++r<e.length?n[e.charAt(r)]:64;if(++r,null==o||null==s||null==a||null==l)throw Error();i.push(o<<2|s>>4),64!==a&&(i.push(s<<4&240|a>>2),64!==l&&i.push(a<<6&192|l))}return i},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},s=function(e){return function(e){var t=r(e);return o.encodeByteArray(t,!0)}(e).replace(/\./g,"")};function a(e){return l(void 0,e)}function l(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var n in t)t.hasOwnProperty(n)&&"__proto__"!==n&&(e[n]=l(e[n],t[n]));return e}var c=function(){function e(){var e=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))}return e.prototype.wrapCallback=function(e){var t=this;return function(n,i){n?t.reject(n):t.resolve(i),"function"==typeof e&&(t.promise.catch((function(){})),1===e.length?e(n):e(n,i))}},e}();function u(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');var n=t||"demo-project",r=e.iat||0,o=e.sub||e.user_id;if(!o)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");var a=Object(i.a)({iss:"https://securetoken.google.com/"+n,aud:n,iat:r,exp:r+3600,auth_time:r,sub:o,user_id:o,firebase:{sign_in_provider:"custom",identities:{}}},e);return[s(JSON.stringify({alg:"none",type:"JWT"})),s(JSON.stringify(a)),""].join(".")}function h(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function d(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(h())}function p(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch(e){return!1}}function f(){return"object"==typeof self&&self.self===self}function m(){var e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof e&&void 0!==e.id}function g(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function b(){return h().indexOf("Electron/")>=0}function _(){var e=h();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}function v(){return h().indexOf("MSAppHost/")>=0}function y(){return!p()&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function w(){return"indexedDB"in self&&null!=indexedDB}function C(){return new Promise((function(e,t){try{var n=!0,i="validate-browser-context-for-indexeddb-analytics-module",r=self.indexedDB.open(i);r.onsuccess=function(){r.result.close(),n||self.indexedDB.deleteDatabase(i),e(!0)},r.onupgradeneeded=function(){n=!1},r.onerror=function(){var e;t((null===(e=r.error)||void 0===e?void 0:e.message)||"")}}catch(o){t(o)}}))}function x(){return!(!navigator||!navigator.cookieEnabled)}var S=function(e){function t(n,i,r){var o=e.call(this,i)||this;return o.code=n,o.customData=r,o.name="FirebaseError",Object.setPrototypeOf(o,t.prototype),Error.captureStackTrace&&Error.captureStackTrace(o,O.prototype.create),o}return Object(i.c)(t,e),t}(Error),O=function(){function e(e,t,n){this.service=e,this.serviceName=t,this.errors=n}return e.prototype.create=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=t[0]||{},r=this.service+"/"+e,o=this.errors[e],s=o?k(o,i):"Error",a=this.serviceName+": "+s+" ("+r+").",l=new S(r,a,i);return l},e}();function k(e,t){return e.replace(E,(function(e,n){var i=t[n];return null!=i?String(i):"<"+n+"?>"}))}var E=/\{\$([^}]+)}/g;function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function I(e,t){var n=new T(e,t);return n.subscribe.bind(n)}var T=function(){function e(e,t){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Prom
1ise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then((function(){e(n)})).catch((function(e){n.error(e)}))}return e.prototype.next=function(e){this.forEachObserver((function(t){t.next(e)}))},e.prototype.error=function(e){this.forEachObserver((function(t){t.error(e)})),this.close(e)},e.prototype.complete=function(){this.forEachObserver((function(e){e.complete()})),this.close()},e.prototype.subscribe=function(e,t,n){var i,r=this;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");void 0===(i=function(e,t){if("object"!=typeof e||null===e)return!1;for(var n=0,i=["next","error","complete"];n<i.length;n++){var r=i[n];if(r in e&&"function"==typeof e[r])return!0}return!1}(e)?e:{next:e,error:t,complete:n}).next&&(i.next=M),void 0===i.error&&(i.error=M),void 0===i.complete&&(i.complete=M);var o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then((function(){try{r.finalError?i.error(r.finalError):i.complete()}catch(e){}})),this.observers.push(i),o},e.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},e.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},e.prototype.sendOne=function(e,t){var n=this;this.task.then((function(){if(void 0!==n.observers&&void 0!==n.observers[e])try{t(n.observers[e])}catch(i){"undefined"!=typeof console&&console.error&&console.error(i)}}))},e.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then((function(){t.observers=void 0,t.onNoObservers=void 0})))},e}();function M(){}function A(e,t,n){void 0===t&&(t=1e3),void 0===n&&(n=2);var i=t*Math.pow(n,e),r=Math.round(.5*i*(Math.random()-.5)*2);return Math.min(144e5,i+r)}function D(e){return e&&e._delegate?e._delegate:e}},qgXg:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l}));var i=n("3N8a");class r extends i.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var o=n("IjjT");class s extends o.a{}const a=new s(r),l=a},qu8F:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CTRGladman=function(){var e=i.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}else e+=1<<24;return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);i.encryptBlock(a,0);for(var l=0;l<r;l++)e[n+l]^=a[l]}});return e.Decryptor=n,e}(),i.mode.CTRGladman)},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("DH7j"),r=n("XoHu"),o=n("n6bG");const s=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(o.a)(c)){a&&(this._unsubscribe=void 0);try{c.call(this)}catch(h){t=h instanceof s?l(h.errors):[h]}}if(Object(i.a)(u)){let e=-1,n=u.length;for(;++e<n;){const n=u[e];
1if(Object(r.a)(n))try{n.unsubscribe()}catch(h){t=t||[],h instanceof s?t=t.concat(l(h.errors)):t.push(h)}}}if(t)throw new s(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function l(e){return e.reduce((e,t)=>e.concat(t instanceof s?t.errors:t),[])}},r1uz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.BlockCipher;const n=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],r
vendor: 11,033 bytes, line 1
1=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]]
1;var o={pbox:[],sbox:[]};function s(e,t){let n=e.sbox[0][t>>24&255]+e.sbox[1][t>>16&255];return n^=e.sbox[2][t>>8&255],n+=e.sbox[3][255&t],n}function a(e,t,n){let i,r=t,o=n;for(let a=0;a<16;++a)r^=e.pbox[a],o=s(e,r)^o,i=r,r=o,o=i;return i=r,r=o,o=i,o^=e.pbox[16],r^=e.pbox[17],{left:r,right:o}}var l=e.algo.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key;!function(e,t,i){for(let n=0;n<4;n++){e.sbox[n]=[];for(let t=0;t<256;t++)e.sbox[n][t]=r[n][t]}let o=0;for(let r=0;r<18;r++)e.pbox[r]=n[r]^t[o],o++,o>=i&&(o=0);let s=0,l=0,c=0;for(let n=0;n<18;n+=2)c=a(e,s,l),s=c.left,l=c.right,e.pbox[n]=s,e.pbox[n+1]=l;for(let n=0;n<4;n++)for(let t=0;t<256;t+=2)c=a(e,s,l),s=c.left,l=c.right,e.sbox[n][t]=s,e.sbox[n][t+1]=l}
1(o,e.words,e.sigBytes/4)}},encryptBlock:function(e,t){var n=a(o,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=function(e,t,n){let i,r=t,o=n;for(let a=17;a>1;--a)r^=e.pbox[a],o=s(e,r)^o,i=r,r=o,o=i;return i=r,r=o,o=i,o^=e.pbox[1],r^=e.pbox[0],{left:r,right:o}}(o,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(l)}(),i.Blowfish)},rDax:function(e,t,n){"use strict";n.d(t,"a",(function(){return $})),n.d(t,"b",(function(){return X})),n.d(t,"c",(function(){return q})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return D})),n.d(t,"f",(function(){return Y}));var i=n("vxfF"),r=n("fXoL"),o=n("nLfN"),s=n("cH1L"),a=n("ofXK"),l=n("8LU1"),c=n("+rOU"),u=n("XNiG"),h=n("quSY"),d=n("VRyK"),p=n("IzEk"),f=n("1G5W"),m=n("7o/Q");class g{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new b(e,this.predicate,this.inclusive))}}class b extends m.a{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}var _=n("FtGj");class v{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(l.c)(-this._previousScrollPosition.left),e.style.top=Object(l.c)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=i,n.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class y{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class w{enable(){}disable(){}attach(){}}function C(e,t){return t.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function x(e,t){return t.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class S{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();C(e,[{width:t,height:n,bottom:n,right:t,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 O=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler
1=t,this._ngZone=n,this.noop=()=>new w,this.close=e=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=e=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.b),r["\u0275\u0275inject"](i.d),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](a.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.b),Object(r["\u0275\u0275inject"])(i.d),Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(a.DOCUMENT))},token:e,providedIn:"root"}),e})();class k{constructor(e){if(this.scrollStrategy=new w,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class E{constructor(e,t,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class P{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let I=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](a.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(a.DOCUMENT))},token:e,providedIn:"root"}),e})(),T=(()=>{class e extends I{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](a.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(a.DOCUMENT))},token:e,providedIn:"root"}),e})(),M=(()=>{class e extends I{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(t))break;r._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](a.DOCUMENT),r["\u0275\u0275inject"](o.a))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(a.DOCUMENT),Object(r["\u0275\u0275inject"])(o.a))},token:e,providedIn:"root"}),e})();const A=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let D=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window,t="cdk-overlay-container";if(e||A){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const n=this._document.createElement("div");n.classList.add(t),A?n.setAttribute("platform","test"):e||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](a.DOCUMENT),r["\u0275\u0275inject"](o.a))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(a.DOCUMENT),Object(r["\u0275\u0275inject"])(o.a))},token:e,providedIn:"root"}),e})();
1class j{constructor(e,t,n,i,r,o,s,a,l){this._portalOutlet=e,this._host=t,this._pane=n,this._config=i,this._ngZone=r,this._keyboardDispatcher=o,this._document=s,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new u.a,this._attachments=new u.a,this._detachments=new u.a,this._locationChanges=h.a.EMPTY,this._backdropClickHandler=e=>this._backdropClick.next(e),this._keydownEvents=new u.a,this._outsidePointerEvents=new u.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(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())),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),e}dispose(){const e=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._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Object(l.c)(this._config.width),e.height=Object(l.c)(this._config.height),e.minWidth=Object(l.c)(this._config.minWidth),e.minHeight=Object(l.c)(this._config.minHeight),e.maxWidth=Object(l.c)(this._config.maxWidth),e.maxHeight=Object(l.c)(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const i=e.classList;
1Object(l.a)(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Object(f.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)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const N="cdk-overlay-connected-position-bounding-box",R=/([A-Za-z%]+)$/;class L{constructor(e,t,n,i,r){this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r,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 u.a,this._resizeSubscription=h.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(N),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=[];let r;for(let o of this._preferredPositions){let s=this._getOriginPoint(e,o),a=this._getOverlayPoint(s,t,o),l=this._getOverlayFit(a,t,n,o);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,s);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:o,origin:s,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(s,o)}):(!r||r.overlayFit.visibleArea<l.visibleArea)&&(r={overlayFit:l,overlayPoint:a,originPoint:s,position:o,overlayRect:t})}if(i.length){let e=null,t=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>t&&(t=i,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&F(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(N),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,i;if("center"==t.originX)n=e.left+e.width/2;else{const i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:i}}_getOverlayPoint(e,t,n){let i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}_getOverlayFit(e,t,n,i){let{x:r,y:o}=e,s=this._getOffset(i,"x"),a=this._getOffset(i,"y");s&&(r+=s),a&&(o+=a);
1let l=0-o,c=o+t.height-n.height,u=this._subtractOverflows(t.width,0-r,r+t.width-n.width),h=this._subtractOverflows(t.height,l,c),d=u*h;return{visibleArea:d,isCompletelyWithinViewport:t.width*t.height===d,fitsInViewportVertically:h===t.height,fitsInViewportHorizontally:u==t.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const i=n.bottom-t.y,r=n.right-t.x,o=V(this._overlayRef.getConfig().minHeight),s=V(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=s&&s<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&a}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=this._viewportRect,r=Math.max(e.x+t.width-i.width,0),o=Math.max(e.y+t.height-i.height,0),s=Math.max(i.top-n.top-e.y,0),a=Math.max(i.left-n.left-e.x,0);let l=0,c=0;return l=t.width<=i.width?a||-r:e.x<this._viewportMargin?i.left-n.left-e.x:0,c=t.height<=i.height?s||-o:e.y<this._viewportMargin?i.top-n.top-e.y:0,this._previousPushAmount={x:l,y:c},{x:e.x+l,y:e.y+c}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const t=this._getScrollVisibility(),n=new P(e,t);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=e.overlayY;n="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let r=0;r<t.length;r++)t[r].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(e,t){const n=this._viewportRect,i=this._isRtl();let r,o,s,a,l,c;if("top"===t.overlayY)o=e.y,r=n.height-o+this._viewportMargin;else if("bottom"===t.overlayY)s=n.height-e.y+2*this._viewportMargin,r=n.height-s+this._viewportMargin;else{const t=Math.min(n.bottom-e.y+n.top,e.y),i=this._lastBoundingBoxSize.height;r=2*t,o=e.y-t,r>i&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-i/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)c=n.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)l=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;a=2*t,l=e.x-t,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-i/2)}return{top:o,left:l,bottom:s,right:c,width:a,height:r}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(l.c)(n.height),i.top=Object(l.c)(n.top),i.bottom=Object(l.c)(n.bottom),i.width=Object(l.c)(n.width),i.left=Object(l.c)(n.left),i.right=Object(l.c)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(i.maxHeight=Object(l.c)(e)),r&&(i.maxWidth=Object(l.c)(r))}this._lastBoundingBoxSize=n,F(this._boundingBox.style,i)}_resetBoundingBoxStyles(){F(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){F(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();F(n,this._getExactOverlayY(t,e,i)),F(n,this._getExactOverlayX(t,e,i))}else n.position="static";let s="",a=this._getOffset(t,"x"),c=this._getOffset(t,"y");a&&(s+=`translateX(${a}px) `),c&&(s+=`translateY(${c}px)`),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=Object(l.c)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=Object(l.c)(o.maxWidth):r&&(n.maxWidth="")),F(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(l.c)(r.y),i}_getExactOverlayX(e,t,n){let i,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Object(l.c)(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:x(e,n),isOriginOutsideView:C(e,n),isOverlayClipped:x(t,n),isOverlayOutsideView:C(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>
1e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Object(l.a)(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof r.ElementRef)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function F(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function V(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(R);return n&&"px"!==n?null:parseFloat(t)}return e||null}class B{constructor(e,t,n,i,r,o,s){this._preferredPositions=[],this._positionStrategy=new L(n,i,r,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,i){const r=new E(e,t,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const U="cdk-global-overlay-wrapper";class H{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(U),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:o,maxHeight:s}
1=n,a=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),l=!("100%"!==r&&"100vh"!==r||s&&"100%"!==s&&"100vh"!==s);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(U),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let z=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new H}connectedTo(e,t,n){return new B(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new L(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.d),r["\u0275\u0275inject"](a.DOCUMENT),r["\u0275\u0275inject"](o.a),r["\u0275\u0275inject"](D))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.d),Object(r["\u0275\u0275inject"])(a.DOCUMENT),Object(r["\u0275\u0275inject"])(o.a),Object(r["\u0275\u0275inject"])(D))},token:e,providedIn:"root"}),e})(),G=0,q=(()=>{class e{constructor(e,t,n,i,r,o,s,a,l,c,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=o,this._ngZone=s,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new k(e);return r.direction=r.direction||this._directionality.value,new j(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+G++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(r.ApplicationRef)),new c.e(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](O),r["\u0275\u0275inject"](D),r["\u0275\u0275inject"](r.ComponentFactoryResolver),r["\u0275\u0275inject"](z),r["\u0275\u0275inject"](T),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](a.DOCUMENT),r["\u0275\u0275inject"](s.b),r["\u0275\u0275inject"](a.Location),r["\u0275\u0275inject"](M))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const W=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],K=new r.InjectionToken("cdk-connected-overlay-scroll-strategy");let X=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),$=(()=>{class e{constructor(e,t,n,i,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.a.EMPTY,this._attachSubscription=h.a.EMPTY,this._detachSubscription=h.a.EMPTY,this._positionSubscription=h.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new r.EventEmitter,this.positionChange=new r.EventEmitter,this.attach=new r.EventEmitter,this.detach=new r.EventEmitter,this.overlayKeydown=new r.EventEmitter,this.overlayOutsideClick=new r.EventEmitter,this._templatePortal=new c.h(t,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Object(l.b)(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Object(l.b)(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Object(l.b)(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Object(l.b)(e)}get push(){return this._push}set push(e){this._push=Object(l.b)(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=W);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==_.f||Object(_.r)(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new k({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return n=>n.lift(new g(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](q),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](K),r["\u0275\u0275directiveInject"](s.b,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})();const Q={provide:K,deps:[q],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Y=(()=>{class e{}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[q,Q],imports:[[s.a,c.g,i.c],i.c]}),e})()},sVev:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},spgP:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return y}
1)),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return O})),n.d(t,"h",(function(){return C})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return x}));var i=n("qgXg"),r=n("D0XW"),o=n("vkgz"),s=n("tf+s"),a=n("pxpQ"),l=n("fXoL"),c=n("Jgta");function u(){}class h{constructor(e,t=i.b){this.zone=e,this.delegate=t}now(){return this.delegate.now()}schedule(e,t,n){const i=this.zone;return this.delegate.schedule((function(t){i.runGuarded(()=>{e.apply(this,[t])})}),t,n)}}class d{constructor(e){this.zone=e,this.task=null}call(e,t){const n=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",u,{},u,u)),t.pipe(Object(o.a)({next:n,complete:n,error:n})).subscribe(e).add(n)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}class p{constructor(e){this.ngZone=e,this.outsideAngular=e.runOutsideAngular(()=>new h(Zone.current)),this.insideAngular=e.run(()=>new h(Zone.current,r.b))}}function f(e){return function(t){return(t=t.lift(new d(e.ngZone))).pipe(Object(s.a)(e.outsideAngular),Object(a.b)(e.insideAngular))}}const m=["ngOnDestroy"],g=(e,t,n,i={})=>new Proxy(e,{get:(r,o)=>n.runOutsideAngular(()=>{var r;if(e[o])return(null===(r=null==i?void 0:i.spy)||void 0===r?void 0:r.get)&&i.spy.get(o,e[o]),e[o];if(m.indexOf(o)>-1)return()=>{};const s=t.toPromise().then(e=>{const t=e&&e[o];return"function"==typeof t?t.bind(e):t&&t.then?t.then(e=>n.run(()=>e)):n.run(()=>t)});return new Proxy(()=>{},{get:(e,t)=>s[t],apply:(e,t,n)=>s.then(e=>{var t;const r=e&&e(...n);return(null===(t=null==i?void 0:i.spy)||void 0===t?void 0:t.apply)&&i.spy.apply(o,n,r),r})})})}),b=(e,t)=>{t.forEach(t=>{Object.getOwnPropertyNames(t.prototype||t).forEach(n=>{Object.defineProperty(e.prototype,n,Object.getOwnPropertyDescriptor(t.prototype||t,n))})})},_=new l.InjectionToken("angularfire2.app.options"),v=new l.InjectionToken("angularfire2.app.nameOrConfig");class y{}const w=new l.Version("6.1.5");function C(t,n,i){const r="object"==typeof i&&i||{};r.name=r.name||"string"==typeof i&&i||"[DEFAULT]";const o=c.a.apps.filter(e=>e&&e.name===r.name)[0]||n.runOutsideAngular(()=>c.a.initializeApp(t,r));try{JSON.stringify(t)!==JSON.stringify(o.options)&&S("error",`${o.name} Firebase App already initialized with different options${e.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch(s){}return o}const x=()=>{S("warn","You may need to import 'firebase/auth' manually in your component rather than rely on AngularFireAuth's dynamic import, when using the emulator suite https://github.com/angular/angularfire/issues/2656")},S=(e,...t)=>{Object(l.isDevMode)()&&"undefined"!=typeof console&&console[e](...t)};function O(t,n,i,r,o){const[s,...a]=globalThis.\u0275AngularfireInstanceCache.get(t)||[];if(s){try{o.some((e,t)=>{const n=a[t];return e&&"object"==typeof e?JSON.stringify(e)!==JSON.stringify(n):e!==n})&&S("error",`${n} was already initialized on the ${i.name} Firebase App instance with different settings.${e.hot?" You may need to reload as Firebase is not HMR aware.":""}`)}catch(l){}return s}{const e=r();return globalThis.\u0275AngularfireInstanceCache.set(t,[e,...o]),e}}globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=new Map);const k={provide:y,useFactory:C,deps:[_,l.NgZone,[new l.Optional,v]]};let E=(()=>{class e{constructor(e){c.a.registerVersion("angularfire",w.full,e.toString()),c.a.registerVersion("angular",l.VERSION.full)}static initializeApp(t,n){return{ngModule:e,providers:[{provide:_,useValue:t},{provide:v,useValue:n}]}}}return e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(l["\u0275\u0275inject"](l.PLATFORM_ID))},providers:[k]}),e})()}).call(this,n("3UD+")(e))},"tf+s":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("7Hc7"),o=n("Y7HM");class s extends i.a{constructor(e,t=0,n=r.a){super(),this.source=e,this.delayTime=t,this.scheduler
1=n,(!Object(o.a)(t)||t<0)&&(this.delayTime=0),n&&"function"==typeof n.schedule||(this.scheduler=r.a)}static create(e,t=0,n=r.a){return new s(e,t,n)}static dispatch(e){const{source:t,subscriber:n}=e;return this.add(t.subscribe(n))}_subscribe(e){return this.scheduler.schedule(s.dispatch,this.delayTime,{source:this.source,subscriber:e})}}function a(e,t=0){return function(n){return n.lift(new l(e,t))}}class l{constructor(e,t){this.scheduler=e,this.delay=t}call(e,t){return new s(t,this.delay,this.scheduler).subscribe(e)}}},"tk/3":function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return U})),n.d(t,"c",(function(){return d}));var i=n("fXoL"),r=n("LRne"),o=n("HDdC"),s=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("ofXK");class u{}class h{}class d{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new d;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).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 m{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const i=e.indexOf("="),[r,o]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],s=n.get(r)||[];s.push(o),n.set(r,s)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}
vendor: 7,589 bytes, line 1
1keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new m({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function b(e){return"undefined"!=typeof Blob&&e instanceof Blob}function _(e){return"undefined"!=typeof FormData&&e instanceof FormData}class v{constructor(e,t,n,i){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){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,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new m,this.urlWithParams=t}serializeBody(){return null===this.body?null:g(this.body)||b(this.body)||_(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?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:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,r=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new v(t,n,r,{params:l,headers:a,reportProgress:s,responseType:i,withCredentials:o})}}var y=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class w{constructor(e,t=200,n="OK"){this.headers=e.headers||new d,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class C extends w{constructor(e={}){super(e),this.type=y.ResponseHeader}clone(e={}){return new C({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class x extends w{constructor(e={}){super(e),this.type=y.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new x({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class S extends w{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function O(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let k=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof v)i=e;else{let r=void 0;r=n.headers instanceof d?n.headers:new d(n.headers);let o=void 0;n.params&&(o=n.params instanceof m?n.params:new m({fromObject:n.params})),i=new v(e,t,void 0!==n.body?n.body:null,{headers:r,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=Object(r.a)(i).pipe(Object(s.a)(e=>this.handler.handle(e)));if(e instanceof v||"events"===n.observe)return o;const c=o.pipe(Object(a.a)(e=>e instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return c.pipe(Object(l.a)(e=>e.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,O(n,t))}post(e,t,n={}){return this.request("POST",e,O(n,t))}put(e,t,n={}){return this.request("PUT",e,O(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](u))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();class E{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const P=new i.InjectionToken("HTTP_INTERCEPTORS");let I=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const T=/^\)\]\}',?\n/;class M{}let A=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEac
1h((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let r=null;const o=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,i=n.statusText||"OK",o=new d(n.getAllResponseHeaders()),s=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return r=new C({headers:o,status:t,statusText:i,url:s}),r},s=()=>{let{headers:i,status:r,statusText:s,url:a}=o(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(T,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new x({body:l,headers:i,status:r,statusText:s,url:a||void 0})),t.complete()):t.error(new S({error:l,headers:i,status:r,statusText:s,url:a||void 0}))},a=e=>{const{url:i}=o(),r=new S({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(r)};let l=!1;const c=i=>{l||(t.next(o()),l=!0);let r={type:y.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:y.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:y.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",s),e.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](M))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const j=new i.InjectionToken("XSRF_COOKIE_NAME"),N=new i.InjectionToken("XSRF_HEADER_NAME");class R{}let L=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c["\u0275parseCookieValue"])(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](c.DOCUMENT),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](j))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),F=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](R),i["\u0275\u0275inject"](N))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(P,[]);this.chain=e.reduceRight((e,t)=>new E(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](h),i["\u0275\u0275inject"](i.Injector))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),B=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:F,useClass:I}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:j,useValue:t.cookieName}:[],t.headerName?{provide:N,useValue:t.headerName}:[]]}}}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[F,{provide:P,useExisting:F,multi:!0},{provide:R,useClass:L},{provide:j,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}
1]}),e})(),U=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[k,{provide:u,useClass:V},D,{provide:h,useExisting:D},A,{provide:M,useExisting:A}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},tyNb:function(e,t,n){"use strict";n.d(t,"a",(function(){return Fe})),n.d(t,"b",(function(){return Y})),n.d(t,"c",(function(){return F})),n.d(t,"d",(function(){return Jt})),n.d(t,"e",(function(){return en})),n.d(t,"f",(function(){return rn})),n.d(t,"g",(function(){return tn})),n.d(t,"h",(function(){return mn})),n.d(t,"i",(function(){return on})),n.d(t,"j",(function(){return Bt}));var i=n("ofXK"),r=n("fXoL"),o=n("LRne"),s=n("Cfvw"),a=n("2Vo4"),l=n("itXk"),c=n("HDdC"),u=n("sVev"),h=n("NXyV"),d=n("EY2u"),p=n("XNiG"),f=n("lJxs"),m=n("0EUg"),g=n("pLZG"),b=n("7o/Q"),_=n("4I5i");function v(e){return function(t){return 0===e?Object(d.b)():t.lift(new y(e))}}class y{constructor(e){if(this.total=e,this.total<0)throw new _.a}call(e,t){return t.subscribe(new w(e,this.total))}}class w extends b.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=t++%n;e.next(i[r])}}e.complete()}}var C=n("XDbj"),x=n("xbPD"),S=n("SpAZ"),O=n("eIep"),k=n("IzEk"),E=n("JX91"),P=n("Kqap"),I=n("JIr8"),T=n("bOdf"),M=n("SxV6"),A=n("5+tZ"),D=n("vkgz"),j=n("nYR2"),N=n("bHdf");class R{constructor(e,t){this.id=e,this.url=t}}class L extends R{constructor(e,t,n="imperative",i=null){super(e,t),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class F extends R{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class V extends R{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class B extends R{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class U extends R{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class H extends R{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class z extends R{constructor(e,t,n,i,r){super(e,t),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class G extends R{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class q extends R{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class K{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class X{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Y{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Z{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const J="primary";class ee{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function te(e){return new ee(e)}function ne(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ie(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;const r={};for(let o=0;o<i.length;o++){const t=i[o],n=e[o];if(t.startsWith(":"))r[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function re(e,t){const n=Object.keys(e),i=Object.keys(t);if(!n||!i||n.length!=i.length)return!1;let r;for(let o=0;o<n.length;o++)if(r=n[o],!oe(e[r],t[r]))return!1;return!0}function oe(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),i=[...t].sort();return n.every((e,t)=>i[t]===e)}return e===t}function se(e){return Array.prototype.concat.apply([],e)}function ae(e){return e.length>0?e[e.length-1]:null}function le(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ce(e){return Object(r["\u0275isObservable"])(e)?e:Object(r["\u0275isProm
1ise"])(e)?Object(s.a)(Promise.resolve(e)):Object(o.a)(e)}function ue(e,t,n){return n?function(e,t){return re(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!fe(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>oe(e[n],t[n]))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,r){if(n.segments.length>r.length)return!!fe(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!fe(n.segments,r))return!1;for(const t in i.children){if(!n.children[t])return!1;if(!e(n.children[t],i.children[t]))return!1}return!0}{const e=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!!fe(n.segments,e)&&!!n.children.primary&&t(n.children.primary,i,o)}}(t,n,n.segments)}(e.root,t.root)}class he{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=te(this.queryParams)),this._queryParamMap}toString(){return _e.serialize(this)}}class de{constructor(e,t){this.segments=e,this.children=t,this.parent=null,le(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ve(this)}}class pe{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=te(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function fe(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function me(e,t){let n=[];return le(e.children,(e,i)=>{i===J&&(n=n.concat(t(e,i)))}),le(e.children,(e,i)=>{i!==J&&(n=n.concat(t(e,i)))}),n}class ge{}class be{parse(e){const t=new Te(e);return new he(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,n){if(!t.hasChildren())return ve(t);if(n){const n=t.children.primary?e(t.children.primary,!1):"",i=[];return le(t.children,(t,n)=>{n!==J&&i.push(`${n}:${e(t,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=me(t,(n,i)=>i===J?[e(t.children.primary,!1)]:[`${i}:${e(n,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${ve(t)}/${n[0]}`:`${ve(t)}/(${n.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${we(t)}=${we(e)}`).join("&"):`${we(t)}=${we(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const _e=new be;function ve(e){return e.segments.map(e=>Oe(e)).join("/")}function ye(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function we(e){return ye(e).replace(/%3B/gi,";")}function Ce(e){return ye(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xe(e){return decodeURIComponent(e)}function Se(e){return xe(e.replace(/\+/g,"%20"))}function Oe(e){return`${Ce(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Ce(e)}=${Ce(t[e])}`).join("")}`;var t}const ke=/^[^\/()?;=#]+/;function Ee(e){const t=e.match(ke);return t?t[0]:""}const Pe=/^[^=?&#]+/,Ie=/^[^?&#]+/;class Te{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new de([],{}):new de([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new de(e,t)),n}parseSegment(){const e=Ee(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new pe(xe(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Ee(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Ee(this.remaining);e&&(n=e,this.capture(n))}e[xe(t)]=xe(n)}parseQueryParam(e){const t=function(e){const t=e.match(Pe);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Ie);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=Se(t),r=Se(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(r)}else e[i]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ee(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=J);const o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new de([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Me{constructor(e){this._root=e}get root(){return this._root.value}
1parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Ae(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Ae(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=De(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return De(e,this._root).map(e=>e.value)}}function Ae(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ae(e,n);if(t)return t}return null}function De(e,t){if(e===t.value)return[t];for(const n of t.children){const i=De(e,n);if(i.length)return i.unshift(t),i}return[]}class je{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Ne(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Re extends Me{constructor(e,t){super(e),this.snapshot=t,He(this,e)}toString(){return this.snapshot.toString()}}function Le(e,t){const n=function(e,t){const n=new Be([],{},{},"",{},J,t,null,e.root,-1,{});return new Ue("",new je(n,[]))}(e,t),i=new a.a([new pe("",{})]),r=new a.a({}),o=new a.a({}),s=new a.a({}),l=new a.a(""),c=new Fe(i,r,s,l,o,J,t,n.root);return c.snapshot=n.root,new Re(new je(c,[]),n)}class Fe{constructor(e,t,n,i,r,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,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)(e=>
1te(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(e=>te(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ve(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Be{constructor(e,t,n,i,r,o,s,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}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=te(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=te(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ue extends Me{constructor(e,t){super(t),this.url=e,He(this,t)}toString(){return ze(this._root)}}function He(e,t){t.value._routerState=e,t.children.forEach(t=>He(e,t))}function ze(e){const t=e.children.length>0?` { ${e.children.map(ze).join(", ")} } `:"";return`${e.value}${t}`}function Ge(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,re(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),re(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!re(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),re(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function qe(e,t){var n,i;return re(e.params,t.params)&&fe(n=e.url,i=t.url)&&n.every((e,t)=>re(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||qe(e.parent,t.parent))}function We(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ke(e){return"object"==typeof e&&null!=e&&e.outlets}function Xe(e,t,n,i,r){let o={};return i&&le(i,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new he(n.root===e?t:function e(t,n,i){const r={};return le(t.children,(t,o)=>{r[o]=t===n?i:e(t,n,i)}),new de(t.segments,r)}(n.root,e,t),o,r)}class $e{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&We(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Ke);if(i&&i!==ae(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qe{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function Ye(e,t,n){if(e||(e=new de([],{})),0===e.segments.length&&e.hasChildren())return Ze(e,t,n);const i=function(e,t,n){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=n.length)return o;const t=e.segments[r],s=n[i];if(Ke(s))break;const a=""+s,l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!nt(a,l,t))return o;i+=2}else{if(!nt(a,{},t))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const t=new de(e.segments.slice(0,i.pathIndex),{});return t.children.primary=new de(e.segments.slice(i.pathIndex),e.children),Ze(t,0,r)}return i.match&&0===r.length?new de(e.segments,{}):i.match&&!e.hasChildren()?Je(e,t,n):i.match?Ze(e,0,r):Je(e,t,n)}function Ze(e,t,n){if(0===n.length)return new de(e.segments,{});{const i=function(e){return Ke(e[0])?e[0].outlets:{[J]:e}}(n),r={};return le(i,(n,i)=>{null!==n&&(r[i]=Ye(e.children[i],t,n))}),le(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new de(e.segments,r)}}function Je(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r<n.length;){const o=n[r];if(Ke(o)){const e=et(o.outlets);return new de(i,e)}if(0===r&&We(n[0])){i.push(new pe(e.segments[t].path,n[0])),r++;continue}const s=Ke(o)?o.outlets.primary:""+o,a=r<n.length-1?n[r+1]:null;s&&a&&We(a)?(i.push(new pe(s,tt(a))),r+=2):(i.push(new pe(s,{})),r++)}return new de(i,{})}function et(e){const t={};return le(e,(e,n)=>{null!==e&&(t[n]=Je(new de([],{}),0,e))}),t}function tt(e){const t={};return le(e,(e,n)=>t[n]=""+e),t}function nt(e,t,n){return e==n.path&&re(t,n.parameters)}class it{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Ge(this.futureState.root),this.activateChildRoutes(t,n,e)}
1deactivateChildRoutes(e,t,n){const i=Ne(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),le(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const i=Ne(e),r=e.value.component?n.children:t;le(i,(e,t)=>this.deactivateRouteAndItsChildren(e,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const i=Ne(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new Y(e.value.snapshot))}),e.children.length&&this.forwardEvent(new $(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(Ge(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),rt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=r,t.outlet&&t.outlet.activateWith(i,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function rt(e){Ge(e.value),e.children.forEach(rt)}class ot{constructor(e,t){this.routes=e,this.module=t}}function st(e){return"function"==typeof e}function at(e){return e instanceof he}const lt=Symbol("INITIAL_VALUE");function ct(){return Object(O.a)(e=>Object(l.a)(...e.map(e=>e.pipe(Object(k.a)(1),Object(E.a)(lt)))).pipe(Object(P.a)((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==lt)return e;if(i===lt&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||at(i))return i}return e},e)},lt),Object(g.a)(e=>e!==lt),Object(f.a)(e=>at(e)?e:!0===e),Object(k.a)(1)))}class ut{constructor(e){this.segmentGroup=e||null}}class ht{constructor(e){this.urlTree=e}}function dt(e){return new c.a(t=>t.error(new ut(e)))}function pt(e){return new c.a(t=>t.error(new ht(e)))}function ft(e){return new c.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class mt{constructor(e,t,n,i,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(r.NgModuleRef)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,J).pipe(Object(f.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(I.a)(e=>{if(e instanceof ht)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof ut)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,J).pipe(Object(f.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Object(I.a)(e=>{if(e instanceof ut)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new de([],{[J]:e}):e;return new he(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n
1).pipe(Object(f.a)(e=>new de([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Object(o.a)({});const n=[],i=[],r={};return le(e,(e,o)=>{const s=t(o,e).pipe(Object(f.a)(e=>r[o]=e));o===J?n.push(s):i.push(s)}),o.a.apply(null,n.concat(i)).pipe(Object(m.a)(),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Object(g.a)((t,n)=>e(t,n,i)):S.a,v(1),n?Object(x.a)(t):Object(C.a)(()=>new u.a))}(),Object(f.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(e,t,i,n))}expandSegment(e,t,n,i,r,s){return Object(o.a)(...n).pipe(Object(T.a)(a=>this.expandSegmentAgainstRoute(e,t,n,a,i,r,s).pipe(Object(I.a)(e=>{if(e instanceof ut)return Object(o.a)(null);throw e}))),Object(M.a)(e=>!!e),Object(I.a)((e,n)=>{if(e instanceof u.a||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,i,r))return Object(o.a)(new de([],{}));throw new ut(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,i,r,o,s){return vt(i)!==o?dt(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):dt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?pt(r):this.lineralizeSegments(n,r).pipe(Object(A.a)(n=>{const r=new de(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:c}=gt(t,i,r);if(!s)return dt(t);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?pt(u):this.lineralizeSegments(i,u).pipe(Object(A.a)(i=>this.expandSegment(e,t,n,i.concat(r.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(f.a)(e=>(n._loadedConfig=e,new de(i,{})))):Object(o.a)(new de(i,{}));const{matched:r,consumedSegments:s,lastChild:a}=gt(t,n,i);if(!r)return dt(t);const l=i.slice(a);return this.getChildConfig(e,n,i).pipe(Object(A.a)(e=>{const n=e.module,i=e.routes,{segmentGroup:r,slicedSegments:a}=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some(n=>_t(e,t,n)&&vt(n)!==J)}(e,n,i)?{segmentGroup:bt(new de(t,function(e,t){const n={};n.primary=t;for(const i of e)""===i.path&&vt(i)!==J&&(n[vt(i)]=new de([],{}));return n}(i,new de(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>_t(e,t,n))}(e,n,i)?{segmentGroup:bt(new de(e.segments,function(e,t,n,i){const r={};for(const o of n)_t(e,t,o)&&!i[vt(o)]&&(r[vt(o)]=new de([],{}));return Object.assign(Object.assign({},i),r)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,i);return 0===a.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(f.a)(e=>new de(s,e))):0===i.length&&0===a.length?Object(o.a)(new de(s,{})):this.expandSegment(n,r,i,a,J,!0).pipe(Object(f.a)(e=>new de(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(o.a)(new ot(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(A.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(f.a)(e=>(t._loadedConfig=e,e))):function(e){return new c.a(t=>t.error(ne(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(o.a)(new ot([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;if(!i||0===i.length)return Object(o.a)(!0);const r=i.map(i=>{const r=e.get(i);let o;if(function(e){return e&&st(e.canLoad)}(r))o=r.canLoad(t,n);else{if(!st(r))throw new Error("Invalid CanLoad guard");o=r(t,n)}return ce(o)});return Object(o.a)(r).pipe(ct(),Object(D.a)(e=>{if(!at(e))return;const t=ne(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),Object(f.a)(e=>!0===e))}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(o.a)(n);if(i.numberOfChildren>1||!i.children.primary)return ft(e.redirectTo);i=i.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const r=this.createSegmentGroup(e,t.root,n,i);return new he(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return le(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const r=this.createSegments(e,t.segments,n,i);let o={};return le(t.children,(t,r)=>{o[r]=this.createSegmentGroup(e,t,n,i)}),new de(r,o)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function gt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(t.matcher||ie)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function bt(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new de(e.segments.concat(t.segments),t.children)}return e}function _t(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function vt(e){return e.outlet||J}class yt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class wt{constructor(e,t){this.component=e,this.route=t}}function Ct(e,t,n){const i=e._root;return function e(t,n,i,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ne(n);
1return t.children.forEach(t=>{!function(t,n,i,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=n?n.value:null,l=i?i.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!fe(e.url,t.url);case"pathParamsOrQueryParamsChange":return!fe(e.url,t.url)||!re(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qe(e,t)||!re(e.queryParams,t.queryParams);case"paramsChange":default:return!qe(e,t)}}(a,s,s.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new yt(r)):(s.data=a.data,s._resolvedData=a._resolvedData),e(t,n,s.component?l?l.children:null:i,r,o),c&&l&&l.outlet&&l.outlet.isActivated&&o.canDeactivateChecks.push(new wt(l.outlet.component,a))}else a&&St(n,l,o),o.canActivateChecks.push(new yt(r)),e(t,null,s.component?l?l.children:null:i,r,o)}(t,s[t.value.outlet],i,r.concat([t.value]),o),delete s[t.value.outlet]}),le(s,(e,t)=>St(e,i.getContext(t),o)),o}(i,t?t._root:null,n,[i.value])}function xt(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function St(e,t,n){const i=Ne(e),r=e.value;le(i,(e,i)=>{St(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new wt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Ot(e,t){return null!==e&&t&&t(new Q(e)),Object(o.a)(!0)}function kt(e,t){return null!==e&&t&&t(new X(e)),Object(o.a)(!0)}function Et(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(o.a)(!0);const r=i.map(i=>Object(h.a)(()=>{const r=xt(i,t,n);let o;if(function(e){return e&&st(e.canActivate)}(r))o=ce(r.canActivate(t,e));else{if(!st(r))throw new Error("Invalid CanActivate guard");o=ce(r(t,e))}return o.pipe(Object(M.a)())}));return Object(o.a)(r).pipe(ct())}function Pt(e,t,n){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(h.a)(()=>{const r=t.guards.map(r=>{const o=xt(r,t.node,n);let s;if(function(e){return e&&st(e.canActivateChild)}(o))s=ce(o.canActivateChild(i,e));else{if(!st(o))throw new Error("Invalid CanActivateChild guard");s=ce(o(i,e))}return s.pipe(Object(M.a)())});return Object(o.a)(r).pipe(ct())}));return Object(o.a)(r).pipe(ct())}class It{}class Tt{constructor(e,t,n,i,r,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}recognize(){try{const e=Dt(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,J),n=new Be([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},J,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new je(n,t),r=new Ue(this.url,i);return this.inheritParamsAndData(r._root),Object(o.a)(r)}catch(e){return new c.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=Ve(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=me(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),i=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${i}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>e.value.outlet===J?-1:t.value.outlet===J?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,i){for(const o of e)try{return this.processSegmentAgainstRoute(o,t,n,i)}catch(r){if(!(r instanceof It))throw r}if(this.noLeftoversInUrl(t,n,i))return[];throw new It}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo)throw new It;if((e.outlet||J)!==i)throw new It;let r,o=[],s=[];if("**"===e.path){const o=n.length>0?ae(n).parameters:{};r=new Be(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Rt(e),i,e.component,e,Mt(t),At(t)+n.length,Lt(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new It;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(t.matcher||ie)(n,e,t);if(!i)throw new It;const r={};le(i.posParams,(e,t)=>{r[t]=e.path});const o=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o}}(t,e,n);o=a.consumedSegments,s=n.slice(a.lastChild),r=new Be(o,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Rt(e),i,e.component,e,Mt(t),At(t)+o.length,Lt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Dt(t,o,s,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new je(r,e)]}if(0===a.length&&0===c.length)return[new je(r,[])];const u=this.processSegment(a,l,c,J);return[new je(r,u)]}}function Mt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function At(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Dt(e,t,n,i,r){if(n.length>0&&function(e,t,n){return n.some(n=>jt(e,t,n)&&Nt(n)!==J)}(e,n,i)){const r=new de(t,function(e,t,n,i){const r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&Nt(o)!==J){const n=new de([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[Nt(o)]=n}return r}(e,t,i,new de(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>jt(e,t,n))}(e,n,i)){const o=new de(e.segments,function(e,t,n,i,r,o){const s={};for(const a of i)if(jt(e,n,a)&&!r[Nt(a)]){const n=new de([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Nt
1(a)]=n}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new de(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function jt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Nt(e){return e.outlet||J}function Rt(e){return e.data||{}}function Lt(e){return e.resolve||{}}function Ft(e){return function(t){return t.pipe(Object(O.a)(t=>{const n=e(t);return n?Object(s.a)(n).pipe(Object(f.a)(()=>t)):Object(s.a)([t])}))}}class Vt extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}let Bt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[on]},encapsulation:2}),e})();function Ut(e,t=""){for(let n=0;n<e.length;n++){const i=e[n];Ht(i,zt(t,i))}}function Ht(e,t){if(!e)throw new Error(`\n      Invalid configuration of route '${t}': 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(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==J)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&Ut(e.children,t)}function zt(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function Gt(e){const t=e.children&&e.children.map(Gt),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==J&&(n.component=Bt),n}const qt=new r.InjectionToken("ROUTES");class Wt{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new ot(se(i.injector.get(qt)).map(Gt),i)}))}loadModuleFactory(e){return"string"==typeof e?Object(s.a)(this.loader.load(e)):ce(e()).pipe(Object(A.a)(e=>e instanceof r.NgModuleFactory?Object(o.a)(e):Object(s.a)(this.compiler.compileModuleAsync(e))))}}class Kt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Xt,this.attachRef=null}}class Xt{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Kt,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class $t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Qt(e){throw e}function Yt(e,t,n){return t.parse("/")}function Zt(e,t){return Object(o.a)(null)}let Jt=(()=>{class e{constructor(e,t,n,i,o,s,l,c){this.rootComponentType=e,this.urlSerializer
1=t,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.a,this.errorHandler=Qt,this.malformedUriErrorHandler=Yt,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Zt,afterPreactivation:Zt},this.urlHandlingStrategy=new $t,this.routeReuseStrategy=new Vt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(r.NgModuleRef),this.console=o.get(r["\u0275Console"]);const u=o.get(r.NgZone);this.isNgZoneEnabled=u instanceof r.NgZone,this.resetConfig(c),this.currentUrlTree=new he(new de([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Wt(s,l,e=>this.triggerEvent(new W(e)),e=>this.triggerEvent(new K(e))),this.routerState=Le(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({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(e){const t=this.events;return e.pipe(Object(g.a)(e=>0!==e.id),Object(f.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(O.a)(e=>{let n=!1,i=!1;return Object(o.a)(e).pipe(Object(D.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(O.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(O.a)(e=>{const n=this.transitions.getValue();return t.next(new L(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?d.a:[e]}),Object(O.a)(e=>Promise.resolve(e)),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Object(O.a)(e=>function(e,t,n,i,r){return new mt(e,t,n,i,r).apply()}(i,r,s,e.extractedUrl,a).pipe(Object(f.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),Object(D.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return function(o){return o.pipe(Object(A.a)(o=>function(e,t,n,i,r="emptyOnly",o="legacy"){return new Tt(e,t,n,i,r,o).recognize()}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),i,r).pipe(Object(f.a)(e=>Object.assign(Object.assign({},o),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(D.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Object(D.a)(e=>{const n=new U(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:a}=e,l=new L(n,this.serializeUrl(i),r,s);t.next(l);const c=Le(i,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),d.a}),Ft(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(D.a)(e=>{const t=new H(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(f.a)(e=>Object.assign(Object.assign({},e),{guards:Ct(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(A.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(s.a)(e).pipe(Object(A.a)(e=>function(e,t,n,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(o.a)(!0);const a=s.map(o=>{const s=xt(o,t,r);let a;if(function(e){return e&&st(e.canDeactivate)}(s))a=ce(s.canDeactivate(e,t,n,i));else{if(!st(s))throw new Error("Invalid CanDeactivate guard");a=ce(s(e,t,n,i))}return a.pipe(Object(M.a)())});return Object(o.a)(a).pipe(ct())}(e.component,e.route,n,t,i)),Object(M.a)(e=>!0!==e,!0))}(l,i,r,e).pipe(Object(A.a)(n=>n&&"boolean"==typeof n?function(e,t,n,i){return Object(s.a)(t).pipe(Object(T.a)(t=>Object(s.a)([kt(t.route.parent,i),Ot(t.route,i),Pt(e,t.path,n),Et(e,t.route,n)]).pipe(Object(m.a)(),Object(M.a)(e=>!0!==e,!0))),Object(M.a)(e=>!0!==e,!0))}(i,a,e,t):Object(o.a)(n)),Object(f.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(D.a)(e=>{if(at(e.guardsResult)){const t=ne(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Object(D.a)(e=>{const t=new z(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(g.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new V(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Ft(e=>{if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(D.a)(e=>{const t=new G(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(O.a)(e=>{let n=!1;return Object(o.a)(e).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,function(e){return e.pipe(Object(A.a)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return Object(o.a)(e);let a=0;return Object(s.a)(n).pipe(Object(T.a)(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return Object(o.a)({});const a={};return Object(s.a)(r).pipe(Object(A.a)(r=>function(e,t,n,i){const r=xt(e,t,i);return ce(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(Object(D.a)(e=>{a[r]=e}))),v(1),Object(A.a)(()=>Object.keys(a).length===r.length?Object(o.a)(a):d.a))}(e._resolve,e,t,i).pipe(Object(f.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ve(e,n).resolve),null)))}(e.route,t,i,r)),Object(D.a)(()=>a++),v(1),Object(A.a)(t=>a===n.length?Object(o.a)(e):d.a))}))}),Object(D.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new V(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var i,r}),Object(D.a)(e=>{const t=new q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Ft(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(f.a)(e=>{const t=function(e,t,n){const i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=n.value;const o=function(t,n,i){return n.children.map(n=>{for(const r of i.children)if(t.shouldReuseRoute(r.value.snapshot,n.value))return e(t,n,r);return e(t,n)})}(t,n,i);return new je(r,o)}{const i=t.retrieve(n.value);if(i){const e=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let i=0;i<t.children.length;++i)e(t.children[i],n.children[i])}(n,e),e}{const i=new Fe(new a.a((r=n.value).url),new a.a(r.params),new a.a(r.queryParams),new a.a(r.fragment),new a.a(r.data),r.outlet,r.component,r),o=n.children.map(n=>e(t,n));return new je(i,o)}}var r}(e,t._root,n?n._root:void 0);return new Re(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(D.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(r=this.rootContexts,l=this.routeReuseStrategy,c=e=>this.triggerEvent(e),Object(f.a)(e=>(new it(l,e.targetRouterState,e.currentRouterState,c).activate(r),e))),Object(D.a)({next(){n=!0},complete(){n=!0}}),Object(j.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new V(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),Object(I.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=at(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new V(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new B(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var r;return d.a}));var r,l,c}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:i}=t,r={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(r.state=e)}this.scheduleNavigation(i,e,n,r)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Ut(e),this.config=e.map(Gt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:o,preserveQueryParams:s,queryParamsHandling:a,preserveFragment:l}=t;Object(r.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,u=l?this.currentUrlTree.fragment:o;let h=null;if(a)switch(a){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=s?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,i,r){if(0===n.length)return Xe(t.root,t.root,t,i,r);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new $e(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return le(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new $e(n,t,i)}(n);if(o.toRoot())return Xe(t.root,new de([],{}),t,i,r);const s=function(e,t,n){if(e.isAbsolute)return new Qe(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new Qe(e,e===t.root,0)}const i=We(e.commands[0])?0:1;return function(e,t,n){let i=e,r=t,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new Qe(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?Ze(s.segmentGroup,s.index,o.commands):Ye(s.segmentGroup,s.index,o.commands);return Xe(s.segmentGroup,a,t,i,r)}(c,this.currentUrlTree,e,h,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(r.isDevMode)()&&this.isNgZoneEnabled&&!r.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did 
1you forget to call 'ngZone.run()'?");const n=at(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(at(e))return ue(this.currentUrlTree,e,t);const n=this.parseUrl(e);return ue(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new F(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,r){const o=this.getTransition(),s="imperative"!==t&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===e.toString();if(s&&a)return Promise.resolve(!0);let l,c,u;r?(l=r.resolve,c=r.reject,u=r.promise):u=new Promise((e,t)=>{l=e,c=t});const h=++this.navigationId;return this.setTransition({id:h,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.Type),r["\u0275\u0275inject"](ge),r["\u0275\u0275inject"](Xt),r["\u0275\u0275inject"](i.Location),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](r.NgModuleFactoryLoader),r["\u0275\u0275inject"](r.Compiler),r["\u0275\u0275inject"](void 0))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),en=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.commands=[],this.onChanges=new p.a,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Jt),r["\u0275\u0275directiveInject"](Fe),r["\u0275\u0275injectAttribute"]("tabindex"),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})(),tn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new p.a,this.subscription=e.events.subscribe(e=>{e instanceof F&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;
1if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!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:nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Jt),r["\u0275\u0275directiveInject"](Fe),r["\u0275\u0275directiveInject"](i.LocationStrategy))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r["\u0275\u0275listener"]("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)})),2&e&&(r["\u0275\u0275hostProperty"]("href",t.href,r["\u0275\u0275sanitizeUrl"]),r["\u0275\u0275attribute"]("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})();function nn(e){return""===e||!!e}let rn=(()=>{class e{constructor(e,t,n,i,r,o){this.router=e,this.element=t,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof F&&this.update()})}ngAfterContentInit(){Object(s.a)([this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)]).pipe(Object(N.a)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=Object(s.a)(t).pipe(Object(N.a)()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Jt),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](en,8),r["\u0275\u0275directiveInject"](tn,8))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var i;1&e&&(r["\u0275\u0275contentQuery"](n,en,!0),r["\u0275\u0275contentQuery"](n,tn,!0)),2&e&&(r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(t.links=i),r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(t.linksWithHrefs=i))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})(),on=(()=>{class e{constructor(e,t,n,i,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.EventEmitter,this.deactivateEvents=new r.EventEmitter,this.name=i||J,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new sn(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](Xt),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ComponentFactoryResolver),r["\u0275\u0275injectAttribute"]("name"),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class sn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Fe?this.route:e===Xt?this.childContexts:this.parent.get(e,t)}}class an{}class ln{preload(e,t){return Object(o.a)(null)}}let cn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new Wt(t,n,t=>e.triggerEvent(new W(t)),t=>e.triggerEvent(new K(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(g.a)(e=>e instanceof F),Object(T.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(r.NgModuleRef);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const e=i._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(e,i)):i.children&&n.push(this.processRoutes(e,i.children));return Object(s.a)(n).pipe(Object(N.a)(),Object(f.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(A.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Jt),r["\u0275\u0275inject"](r.NgModuleFactoryLoader),r["\u0275\u0275inject"](r.Compiler),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](an))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})(),un=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
1orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof L?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof F&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Z&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Z(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](Jt),r["\u0275\u0275inject"](i.ViewportScroller),r["\u0275\u0275inject"](void 0))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const hn=new r.InjectionToken("ROUTER_CONFIGURATION"),dn=new r.InjectionToken("ROUTER_FORROOT_GUARD"),pn=[i.Location,{provide:ge,useClass:be},{provide:Jt,useFactory:function(e,t,n,r,o,s,a,l={},c,u){const h=new Jt(null,e,t,n,r,o,s,se(a));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Object(i["\u0275getDOM"])();h.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h},deps:[ge,Xt,i.Location,r.Injector,r.NgModuleFactoryLoader,r.Compiler,qt,hn,[class{},new r.Optional],[class{},new r.Optional]]},Xt,{provide:Fe,useFactory:function(e){return e.routerState.root},deps:[Jt]},{provide:r.NgModuleFactoryLoader,useClass:r.SystemJsNgModuleLoader},cn,ln,class{preload(e,t){return t().pipe(Object(I.a)(()=>Object(o.a)(null)))}},{provide:hn,useValue:{enableTracing:!1}}];function fn(){return new r.NgProbeToken("Router",Jt)}let mn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[pn,vn(t),{provide:dn,useFactory:_n,deps:[[Jt,new r.Optional,new r.SkipSelf]]},{provide:hn,useValue:n||{}},{provide:i.LocationStrategy,useFactory:bn,deps:[i.PlatformLocation,[new r.Inject(i.APP_BASE_HREF),new r.Optional],hn]},{provide:un,useFactory:gn,deps:[Jt,i.ViewportScroller,hn]},{provide:an,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:ln},{provide:r.NgProbeToken,multi:!0,useFactory:fn},[yn,{provide:r.APP_INITIALIZER,multi:!0,useFactory:wn,deps:[yn]},{provide:xn,useFactory:Cn,deps:[yn]},{provide:r.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:xn}]]}}static forChild(t){return{ngModule:e,providers:[vn(t)]}}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(r["\u0275\u0275inject"](dn,8),r["\u0275\u0275inject"](Jt,8))}}),e})();function gn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new un(e,t,n)}function bn(e,t,n={}){return n.useHash?new i.HashLocationStrategy(e,t):new i.PathLocationStrategy(e,t)}function _n(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function vn(e){return[{provide:r.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:qt,multi:!0,useValue:e}]}let yn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new p.a}appInitializer(){return this.injector.get(i.LOCATION_INITIALIZED,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Jt),i=this.injector.get(hn);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(hn),n=this.injector.get(cn),i=this.injector.get(un),o=this.injector.get(Jt),s=this.injector.get(r.ApplicationRef);e===s.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.Injector))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();function wn(e){return e.appInitializer.bind(e)}function Cn(e){return e.bootstrapListener.bind(e)}const xn=new r.InjectionToken("Router Initializer")},u47x:function(e,t,n){"use strict";n.d(t,"a",(function(){return K})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return H})),n.d(t,"f",(function(){return A})),n.d(t,"g",(function(){return k})),n.d(t,"h",(function(){return B})),n.d(t,"i",(function(){return M})),n.d(t,"j",(function(){return W})),n.d(t,"k",(function(){return N})),n.d(t,"l",(function(){return L}));var i=n("ofXK"),r=n("fXoL"),o=n("nLfN"),s=n("XNiG"),a=n("quSY"),l=n("LRne"),c=n("FtGj"),u=n("vkgz"),h=n("Kj3r"),d=n("pLZG"),p=n("lJxs"),f=n("IzEk"),m=n("8LU1"),g=n("GU7r");function b(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}
1const _="cdk-describedby-message-container",v="cdk-describedby-host";let y=0;const w=new Map;let C=null,x=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}describe(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),w.set(t,{messageElement:t,referenceCount:0})):w.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}removeDescription(e,t){if(t&&this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){const e=w.get(t);e&&0===e.referenceCount&&this._deleteMessageElement(t)}C&&0===C.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(v);C&&this._deleteMessagesContainer(),w.clear()}_createMessageElement(e){const t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),C.appendChild(t),w.set(e,{messageElement:t,referenceCount:0})}_setMessageId(e){e.id||(e.id="cdk-describedby-message-"+y++)}_deleteMessageElement(e){const t=w.get(e),n=t&&t.messageElement;C&&n&&C.removeChild(n),w.delete(e)}_createMessagesContainer(){if(!C){const e=!this._platform||!this._platform.EDGE&&!this._platform.TRIDENT,t=this._document.getElementById(_);t&&t.parentNode&&t.parentNode.removeChild(t),C=this._document.createElement("div"),C.id=_,C.classList.add("cdk-visually-hidden"),C.setAttribute("aria-hidden",e+""),this._document.body.appendChild(C)}}_deleteMessagesContainer(){C&&C.parentNode&&(C.parentNode.removeChild(C),C=null)}_removeCdkDescribedByReferenceIds(e){const t=b(e,"aria-describedby").filter(e=>0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const n=w.get(t);!function(e,t,n){const i=b(e,t);i.some(e=>e.trim()==n.trim())||(i.push(n.trim()),e.setAttribute(t,i.join(" ")))}(e,"aria-describedby",n.messageElement.id),e.setAttribute(v,""),n.referenceCount++}_removeMessageReference(e,t){const n=w.get(t);n.referenceCount--,function(e,t,n){const i=b(e,t).filter(e=>e!=n.trim());i.length?e.setAttribute(t,i.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",n.messageElement.id),e.removeAttribute(v)}_isElementDescribedByMessage(e,t){const n=b(e,"aria-describedby"),i=w.get(t),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const n=null==t?"":(""+t).trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](i.DOCUMENT),r["\u0275\u0275inject"](o.a))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(i.DOCUMENT),Object(r["\u0275\u0275inject"])(o.a))},token:e,providedIn:"root"}),e})();class S{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.a,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new s.a,this.change=new s.a,e instanceof r.QueryList&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(u.a)(e=>this._pressedLetters.push(e)),Object(h.a)(e),Object(d.a)(()=>this._pressedLetters.length>0),Object(p.a)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n<t.length+1;n++){const i=(this._activeItemIndex+n)%t.length,r=t[i];if(!this._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}setActiveItem(e){const t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(t=>!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case c.n:return void this.tabOut.next();case c.c:if(this._vertical&&n){this.setNextItemActive();break}return;case c.o:if(this._vertical&&n){this.setPreviousItemActive();break}return;case c.l:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.h:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.g:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case c.d:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(c.r)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=c.a&&t<=c.p||t>=c.q&&t<=c.i)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof r.QueryList?this._items.toArray():this._items}}class O extends S{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class k extends S{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let E=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(t){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===I(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),r=I(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIRE
1FOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||P(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](o.a))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(o.a))},token:e,providedIn:"root"}),e})();function P(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function I(e){if(!P(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class T{constructor(e,t,n,i,r=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn(`Found use of deprecated attribute 'cdk-focus-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.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",e),e.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const e=this._getRegionBoundary("start");return e&&e.focus(),!!e}focusLastTabbableElement(){const e=this._getRegionBoundary("end");return e&&e.focus(),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=0;n<t.length;n++){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(e)return e}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=t.length-1;n>=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Object(f.a)(1)).subscribe(e)}}let M=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new T(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](E),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(E),Ob
1ject(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(i.DOCUMENT))},token:e,providedIn:"root"}),e})(),A=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=Object(m.b)(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=Object(m.b)(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](M),r["\u0275\u0275directiveInject"](i.DOCUMENT))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r["\u0275\u0275NgOnChangesFeature"]]}),e})();"undefined"!=typeof Element&&Element;const D=new r.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),j=new r.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let N=(()=>{class e{constructor(e,t,n,i){this._ngZone=t,this._defaultOptions=i,this._document=n,this._liveElement=e||this._createLiveElement()}announce(e,...t){const n=this._defaultOptions;let i,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[i,r]=t,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},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 e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),n=this._document.createElement("div");for(let i=0;i<t.length;i++)t[i].parentNode.removeChild(t[i]);return n.classList.add(e),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](D,8),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](i.DOCUMENT),r["\u0275\u0275inject"](j,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(D,8),Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(i.DOCUMENT),Object(r["\u0275\u0275inject"])(j,8))},token:e,providedIn:"root"}),e})(),R=(()=>{class e{constructor(e,t,n,i){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](N),r["\u0275\u0275directiveInject"](g.b),r["\u0275\u0275directiveInject"](r.NgZone))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();function L(e){return 0===e.buttons}const F=new r.InjectionToken("cdk-focus-monitor-default-options"),V=Object(o.f)({passive:!0,capture:!0});let B=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=L(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=U(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=U(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let i=t;i;i=i.parentElement)n.call(this,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=Object(m.d)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(l.a)(null);const i=Object(o.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;
1const a={checkChildren:t,subject:new s.a,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const t=Object(m.d)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const i=Object(m.d)(e);this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n)}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=U(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);if(!n||!n.checkChildren&&t!==U(e))return;const i=this._getFocusOrigin(e);this._setClasses(t,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,V),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,V)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,V),e.addEventListener("mousedown",this._documentMousedownListener,V),e.addEventListener("touchstart",this._documentTouchstartListener,V),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,V),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,V),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,V),e.removeEventListener("mousedown",this._documentMousedownListener,V),e.removeEventListener("touchstart",this._documentTouchstartListener,V),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](o.a),r["\u0275\u0275inject"](i.DOCUMENT,8),r["\u0275\u0275inject"](F,8))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(o.a),Object(r["\u0275\u0275inject"])(i.DOCUMENT,8),Object(r["\u0275\u0275inject"])(F,8))},token:e,providedIn:"root"}),e})();function U(e){return e.composedPath?e.composedPath()[0]:e.target}let H=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new r.EventEmitter}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](B))},e.\u0275dir=r["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();const z="cdk-high-contrast-black-on-white",G="cdk-high-contrast-white-on-black",q="cdk-high-contrast-active";let W=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}
1_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(q),e.remove(z),e.remove(G);const t=this.getHighContrastMode();1===t?(e.add(q),e.add(z)):2===t&&(e.add(q),e.add(G))}}}return e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](o.a),r["\u0275\u0275inject"](i.DOCUMENT))},e.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(r["\u0275\u0275inject"])(o.a),Object(r["\u0275\u0275inject"])(i.DOCUMENT))},token:e,providedIn:"root"}),e})(),K=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(r["\u0275\u0275inject"](W))},imports:[[o.b,g.c]]}),e})()},uGsb:function(e,t,n){var i,r,o,s,a,l,c,u;e.exports=(u=n("Ib8C"),n("MlIO"),n("1uat"),o=(r=(i=u).x64).Word,s=r.WordArray,c=(a=i.algo).SHA384=(l=a.SHA512).extend({_doReset:function(){this._hash=new s.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),i.SHA384=l._createHelper(c),i.HmacSHA384=l._createHmacHelper(c),u.SHA384)},uGxW:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding)},"un/a":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e=-1){return t=>t.lift(new o(e,t))}class o{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new s(e,this.count,this.source))}}class s extends i.a{constructor(e,t,n){super(e),this.count=t,this.source=n}error(e){if(!this.isStopped){const{source:t,count:n}=this;if(0===n)return super.error(e);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}}}},vkgz:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("7o/Q"),r=n("KqfI"),o=n("n6bG");function s(e,t,n){return function(i){return i.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(e,t,n,i){super(e),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(o.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||r.a,this._tapError=t.error||r.a,this._tapComplete=t.complete||r.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},vxfF:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return f})),n("8LU1");var i=n("fXoL"),r=n("XNiG"),o=n("LRne"),s=n("HDdC"),a=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var l=(n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),c=n("pLZG"),u=(n("1G5W"),n("JX91"),n("Zy1z"),n("eIep"),n("UXun"),n("nLfN")),h=n("ofXK"),d=n("cH1L");n("0EQZ");let p=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new s.a(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(Object(l.a)(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(o.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
1h((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(c.a)(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(e,t){let n=t.nativeElement,i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return Object(a.a)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](u.a),i["\u0275\u0275inject"](h.DOCUMENT,8))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(u.a),Object(i["\u0275\u0275inject"])(h.DOCUMENT,8))},token:e,providedIn:"root"}),e})(),f=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new r.a,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._getDocument(),t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Object(l.a)(e)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](u.a),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](h.DOCUMENT,8))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(u.a),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(h.DOCUMENT,8))},token:e,providedIn:"root"}),e})(),m=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e})(),g=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[d.a,u.b,m],d.a,m]}),e})()},w1tV:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("XNiG"),r=n("HDdC"),o=n("7o/Q"),s=n("quSY");function a(){return function(e){return e.lift(new l(e))}}class l{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new c(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class c extends o.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;
1if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class u extends r.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new s.a,e.add(this.source.subscribe(new d(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.a.EMPTY)),e}refCount(){return a()(this)}}const h=(()=>{const e=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class d extends i.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function p(){return new i.a}function f(){return e=>{return a()((t=p,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,h);return i.source=e,i.subjectFactory=n,i})(e));var t}}},w7YG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var o=0;r<256;r++){var s=r%n,a=i[r];i[r]=i[o=(o+i[r]+(t[s>>>2]>>>24-s%4*8&255))%256],i[o]=a}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,i=0,r=0;r<4;r++){var o=e[t=(t+1)%256];e[t]=e[n=(n+e[t])%256],e[n]=o,i|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,i}e.RC4=t._createHelper(r);var s=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});e.RC4Drop=t._createHelper(s)}(),i.RC4)},wZgz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.BlockCipher,n=e.algo,r=[],o=[],s=[],a=[],l=[],c=[],u=[],h=[],d=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var f=i^i<<1^i<<2^i<<3^i<<4;r[n]=f=f>>>8^255&f^99,o[f]=n;var m,g=e[n],b=e[g],_=e[b];s[n]=(m=257*e[f]^16843008*f)<<24|m>>>8,a[n]=m<<16|m>>>16,l[n]=m<<8|m>>>24,c[n]=m,u[f]=(m=16843009*_^65537*b^257*g^16843008*n)<<24|m>>>8,h[f]=m<<16|m>>>16,d[f]=m<<8|m>>>24,p[f]=m,n?(n=g^e[e[e[_^g]]],i^=e[e[i]]):n=i=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],s=0;s<i;s++)s<n?o[s]=t[s]:(c=o[s-1],s%n?n>6&&s%n==4&&(c=r[c>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c]):(c=r[(c=c<<8|c>>>24)>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c],c^=f[s/n|0]<<24),o[s]=o[s-n]^c);for(var a=this._invKeySchedule=[],l=0;l<i;l++){if(s=i-l,l%4)var c=o[s];else c=o[s-4];a[l]=l<4||s<=4?c:u[r[c>>>24]]^h[r[c>>>16&255]]^d[r[c>>>8&255]]^p[r[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,l,c,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,h,d,p,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,i,r,o,s,a){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],h=e[t+2]^n[2],d=e[t+3]^n[3],p=4,f=1;f<l;f++){var m=i[c>>>24]^r[u>>>16&255]^o[h>>>8&255]^s[255&d]^n[p++],g=i[u>>>24]^r[h>>>16&255]^o[d>>>8&255]^s[255&c]^n[p++],b=i[h>>>24]^r[d>>>16&255]^o[c>>>8&255]^s[255&u]^n[p++],_=i[d>>>24]^r[c>>>16&255]^o[u>>>8&255]^s[255&h]^n[p++];c=m,u=g,h=b,d=_}m=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&d])^n[p++],g=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[d>>>8&255]<<8|a[255&c])^n[p++],b=(a[h>>>24]<<24|a[d>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^n[p++],_=(a[d>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^n[p++],e[t]=m,e[t+1]=g,e[t+2]=b,e[t+3]=_},keySize:8});e.AES=t._createHelper(m)}(),i.AES)},wbyO:function(e,t,n){var i,r;e.exports=(i=n("Ib8C"),r=i.lib.WordArray,i.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,i=e.sigBytes,r=t?this._safe_map:this._map;e.clamp();for(var o=[],s=0;s<i;s+=3)for(var a=(n[s>>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,l=0;l<4&&s+.75*l<i;l++)o.push(r.charAt(a>>>6*(3-l)&63));var c=r.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,i=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<i.length;
1s++)o[i.charCodeAt(s)]=s}var a=i.charAt(64);if(a){var l=e.indexOf(a);-1!==l&&(n=l)}return function(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,l=n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|l)<<24-o%4*8,o++}return r.create(i,o)}(e,n,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},i.enc.Base64url)},wf0l:function(e,t,n){"use strict";n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return L}));var i=n("XNiG"),r=n("LRne"),o=n("HDdC"),s=n("jtHE"),a=n("KqfI");const l=new o.a(a.a);n("EY2u");var c=n("pLZG"),u=n("vkgz"),h=n("IzEk"),d=n("5+tZ"),p=n("lJxs"),f=n("JIr8"),m=n("eIep");n("JX91"),n("7o/Q"),n("D0XW"),n("w1tV");var g=n("ofXK"),b=n("fXoL");function _(e){return Boolean(e.parentElement&&"picture"===e.parentElement.nodeName.toLowerCase())}function v(e){return"img"===e.nodeName.toLowerCase()}function y(e,t,n){return v(e)?n&&"srcset"in e?e.srcset=t:e.src=t:e.style.backgroundImage=`url('${t}')`,e}function w(e){return t=>{const n=t.parentElement.getElementsByTagName("source");for(let i=0;i<n.length;i++){const t=n[i].getAttribute(e);t&&("srcset"in n[i]?n[i].srcset=t:n[i].src=t)}}}const C=w("defaultImage"),x=w("lazyLoad"),S=w("errorImage");function O(e){return(t,n,i)=>{v(t)&&_(t)&&e(t),n&&y(t,n,i)}}const k=O(C),E=O(x),P=O(S),I="ng-lazyloaded",T="ng-lazyloading";function M(e,t){e.className=e.className.replace(t,"")}function A(e,t){e.className.includes(t)||(e.className+=" "+t)}let D=(()=>{class e extends class extends class{constructor(){this.navigator="undefined"!=typeof window?window.navigator:void 0}setPlatformId(e){this.platformId=e}onDestroy(e){}onAttributeChange(e){}}{setup(e){var t;k(e.element,e.defaultImagePath,e.useSrcset),A(e.element,T),(t=e.element).className&&t.className.includes("ng-lazyloaded")&&M(e.element,I)}finally(e){A(e.element,I),M(e.element,T)}loadImage(e){if(this.skipLazyLoading(e))return[e.imagePath];const{element:t,useSrcset:n,imagePath:i,decode:r}=e;let o;if(v(t)&&_(t)){const e=t.parentNode.cloneNode(!0);o=e.getElementsByTagName("img")[0],x(o),y(o,i,n)}else o=new Image,v(t)&&t.referrerPolicy&&(o.referrerPolicy=t.referrerPolicy),v(t)&&t.sizes&&(o.sizes=t.sizes),n&&"srcset"in o?o.srcset=i:o.src=i;return r&&o.decode?o.decode().then(()=>i):new Promise((e,t)=>{o.onload=()=>e(i),o.onerror=()=>t(null)})}setErrorImage(e,t){const{element:n,useSrcset:i,errorImagePath:r}=t;P(n,r,i),A(n,"ng-failed-lazyloaded")}setLoadedImage(e,t){const{element:n,useSrcset:i}=t;E(n,e,i)}isDisabled(){return Object(g.isPlatformServer)(this.platformId)&&!this.isBot()}skipLazyLoading(e){return this.isBot(e)}isBot(e){var t;return!!(null===(t=this.navigator)||void 0===t?void 0:t.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(this.navigator.userAgent)}}{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=ne
1w i.a,this.uniqKey={}}getObservable(e){if(this.skipLazyLoading(e))return Object(r.a)({isIntersecting:!0});if(e.customObservable)return e.customObservable;const t=e.scrollContainer||this.uniqKey,n={root:e.scrollContainer||null};e.offset&&(n.rootMargin=e.offset+"px");let i=this.observers.get(t);return i||(i=new IntersectionObserver(e=>this.loadingCallback(e),n),this.observers.set(t,i)),i.observe(e.element),o.a.create(t=>{const n=this.intersectionSubject.pipe(Object(c.a)(t=>t.target===e.element)).subscribe(t);return()=>{n.unsubscribe(),i.unobserve(e.element)}})}isVisible(e){return e.isIntersecting}loadingCallback(e){e.forEach(e=>this.intersectionSubject.next(e))}}return e.\u0275fac=function(t){return j(t||e)},e.\u0275prov=b["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e})();const j=b["\u0275\u0275getInheritedFactory"](D),N=new b.InjectionToken("LazyLoadImageHooks");let R=(()=>{class e{constructor(e,t,n,i){this.onStateChange=new b.EventEmitter,this.elementRef=e,this.ngZone=t,this.propertyChanges$=new s.a,this.hooks=i,this.hooks.setPlatformId(n),this.uid=Math.random().toString(36).substr(2,9)}ngOnChanges(){!0!==this.debug||this.debugSubscription||(this.debugSubscription=this.onStateChange.subscribe(e=>console.log(e))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?0|this.offset:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}ngAfterContentInit(){if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe(Object(u.a)(e=>this.hooks.onAttributeChange(e)),Object(u.a)(e=>e.onStateChange.emit({reason:"setup"})),Object(u.a)(e=>this.hooks.setup(e)),Object(m.a)(e=>e.imagePath?this.hooks.getObservable(e).pipe(function(e,t){return n=>n.pipe(Object(u.a)(e=>t.onStateChange.emit({reason:"observer-emit",data:e})),Object(c.a)(n=>e.isVisible(n,t)),Object(h.a)(1),Object(u.a)(()=>t.onStateChange.emit({reason:"start-loading"})),Object(d.a)(()=>e.loadImage(t)),Object(u.a)(()=>t.onStateChange.emit({reason:"mount-image"})),Object(u.a)(n=>e.setLoadedImage(n,t)),Object(u.a)(()=>t.onStateChange.emit({reason:"loading-succeeded"})),Object(p.a)(()=>!0),Object(f.a)(n=>(t.onStateChange.emit({reason:"loading-failed",data:n}),e.setErrorImage(n,t),Object(r.a)(!1))),Object(u.a)(()=>{t.onStateChange.emit({reason:"finally"}),e.finally(t)}))}(this.hooks,e)):l)).subscribe({next:()=>null})})}ngOnDestroy(){var e,t;this.propertyChanges$.pipe(Object(h.a)(1)).subscribe({next:e=>this.hooks.onDestroy(e)}).unsubscribe(),null===(e=this.loadSubscription)||void 0===e||e.unsubscribe(),null===(t=this.debugSubscription)||void 0===t||t.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(b["\u0275\u0275directiveInject"](b.ElementRef),b["\u0275\u0275directiveInject"](b.NgZone),b["\u0275\u0275directiveInject"](b.PLATFORM_ID),b["\u0275\u0275directiveInject"](N))},e.\u0275dir=b["\u0275\u0275defineDirective"]({type:e,selectors:[["","lazyLoad",""]],inputs:{lazyImage:["lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange"},features:[b["\u0275\u0275NgOnChangesFeature"]]}),e})(),L=(()=>{class e{}return e.\u0275mod=b["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=b["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:N,useClass:D}]}),e})()},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e=null){return t=>t.lift(new o(e))}class o{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new s(e,this.defaultValue))}}class s extends i.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("DH7j"),o=n("n6bG"),s=n("lJxs");function a(e,t,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?a(e,t,n).pipe(Object(s.a)(e=>Object(r.a)(e)?l(...e):l(e))):new i.a(i=>{!function e(t,n,i,r,o){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,i,o),s=()=>e.removeEventListener(n,i,o)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,i),s=()=>e.off(n,i)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,i),s=()=>e.removeListener(n,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,a=t.length;s<a;s++)e(t[s],n,i,r,o)}r.add(s)}(e,t,(function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),i,n)})}},"y+iE":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("HDdC"),r=n("fXoL");let o=(()=>{class e{getCurrentLocation(){return new i.a(e=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>{e.next({latitude:t.coords.latitude,longitude:t.coords.longitude,accuracy:t.coords.accuracy}),e.complete()},t=>{e.error(this.getErrorMessage(t))},{enableHighAccuracy:!0,timeout:1e4,maximumAge:0}):e.error("Geolocation is not supported by this browser.")})}getErrorMessage(e){switch(e.code){case 1:return"Permission denied";case 2:return"Position unavailable";case 3:return"Timeout";default:return"Unknown error"}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("ngJS"),o=n("jZKg");function s(e,t){return t?Object(o.a)(e,t):new i.a(Object(r.a)(e))}},"z+Ro":function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return i}))},z6cu:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("HDdC");function r(e,t){return new i.a(t?n=>t.schedule(o,0,{error:e,subscriber:n}):t=>t.error(e))}function o({error:e,subscriber:t}){t.error(e)}},zIRd:function(e,t,n){"use strict";var i,r,o=n("mrSG"),s=n("qOnz"),a=n("/6Yf"),l=n("q/0M"),c=((i={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",i["bad-app-name"]="Illegal App name: '{$appName}",i["duplicate-app"]="Firebase App named '{$appName}' already exists",i["app-deleted"]="Firebase App named '{$appName}' already deleted",i["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",i["invalid-log-argument"]="First argument to `onLog` must be null or a function.",i),u=new s.b("app","Firebase",c),h="@firebase/app",d="[DEFAULT]",p=((r={})[h]="fire-core",r["@firebase/analytics"]="fire-analytics",r["@firebase/app-check"]="fire-app-check",r["@firebase/auth"]="fire-auth",r["@firebase/database"]="fire-rtdb",r["@firebase/functions"]="fire-fn",r["@firebase/installations"]="fire-iid",r["@firebase/messaging"]="fire-fcm",r["@firebase/performance"]="fire-perf",r["@firebase/remote-config"]="fire-rc",r["@firebase/storage"]="fire-gcs",r["@firebase/firestore"]="fire-fst",r["fire-js"]="fire-js",r["firebase-wrapper"]="fire-js-all",r),f=new l.b("@firebase/app"),m=function(){function e(e,t,n){var i=this;this.firebase_=n,this.isDeleted_=!1,this.name_=t.name,this.automaticDataCollectionEnabled_=t.automaticDataCollectionEnabled||!1,this.options_=Object(s.i)(e),this.container=new a.b(t.name),this._addComponent(new a.a("app",(function(){return i}),"PUBLIC")),this.firebase_.INTERNAL.components.forEach((function(e){return i._addComponent(e)}))}return Object.defineProperty(e.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(e){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),e.prototype.delete=function(){var e=this;return new Promise((function(t){e.checkDestroyed_(),t()})).then((function(){return e.firebase_.INTERNAL.removeApp(e.name_),Promise.all(e.container.getProviders().map((function(e){return e.delete()})))})).then((function(){e.isDeleted_=!0}))},e.prototype._getService=function(e,t){var n;void 0===t&&(t=d),this.checkDestroyed_();var i=this.container.getProvider(e);return i.isInitialized()||"EXPLICIT"!==(null===(n=i.getComponent())||void 0===n?void 0:n.instantiationMode)||i.initialize(),i.getImmediate({identifier:t})},e.prototype._removeServiceInstance=function(e,t){void 0===t&&(t=d),this.container.getProvider(e).clearInstance(t)},e.prototype._addComponent=function(e){try{this.container.addComponent(e)}catch(t){f.debug("Component "+e.name+" failed to register with FirebaseApp "+this.name,t)}},e.prototype._addOrOverwriteComponent=function(e){this.container.addOrOverwriteComponent(e)},e.prototype.toJSON=function(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}},e.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw u.create("app-deleted",{appName:this.name_})},e}();m.prototype.name&&m.prototype.options||m.prototype.delete||console.log("dc");var g=function e(){var t=function(e){var t={},n=new Map,i={__esModule:!0,initializeApp:function(n,r){void 0===r&&(r={}),"object"==typeof r&&null!==r||(r={name:r});var o=r;void 0===o.name&&(o.name=d);var a=o.name;if("string"!=typeof a||!a)throw u.create("bad-app-name",{appName:String(a)});if(Object(s.f)(t,a))throw u.create("duplicate-app",{appName:a});var l=new e(n,o,i);return t[a]=l,l},app:r,registerVersion:function(e,t,n){var i,r=null!==(i=p[e])&&void 0!==i?i:e;n&&(r+="-"+n);var s=r.match(/\s|\//),l=t.match(/\s|\//);if(s||l){var c=['Unable to register library "'+r+'" with version "'+t+'":'];return s&&c.push('library name "'+r+'" contains illegal characters (whitespace or "/")'),s&&l&&c.push("and"),l&&c.push('version name "'+t+'" contains illegal characters (whitespace or "/")'),void f.warn(c.join(" "))}o(new a.a(r+"-version",(function(){return{library:r,version:t}}),"VERSION"))},setLogLevel:l.c,onLog:function(e,t){if(null!==e&&"function"!=typeof e)throw u.create("invalid-log-argument");Object(l.d)(e,t)},apps:null,SDK_VERSION:"8.10.0",INTERNAL:{registerComponent:o,removeApp:function(e){delete t[e]}
1,components:n,useAsService:function(e,t){return"serverAuth"===t?null:t}}};function r(e){if(e=e||d,!Object(s.f)(t,e))throw u.create("no-app",{appName:e});return t[e]}function o(o){var a=o.name;if(n.has(a))return f.debug("There were multiple attempts to register component "+a+"."),"PUBLIC"===o.type?i[a]:null;if(n.set(a,o),"PUBLIC"===o.type){var l=function(e){if(void 0===e&&(e=r()),"function"!=typeof e[a])throw u.create("invalid-app-argument",{appName:a});return e[a]()};void 0!==o.serviceProps&&Object(s.j)(l,o.serviceProps),i[a]=l,e.prototype[a]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this._getService.bind(this,a).apply(this,o.multipleInstances?e:[])}}for(var c=0,h=Object.keys(t);c<h.length;c++)t[h[c]]._addComponent(o);return"PUBLIC"===o.type?i[a]:null}return i.default=i,Object.defineProperty(i,"apps",{get:function(){return Object.keys(t).map((function(e){return t[e]}))}}),r.App=e,i}(m);return t.INTERNAL=Object(o.a)(Object(o.a)({},t.INTERNAL),{createFirebaseNamespace:e,extendNamespace:function(e){Object(s.j)(t,e)},createSubscribe:s.h,ErrorFactory:s.b,deepExtend:s.j}),t}(),b=function(){function e(e){this.container=e}return e.prototype.getPlatformInfoString=function(){return this.container.getProviders().map((function(e){if(function(e){var t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){var t=e.getImmediate();return t.library+"/"+t.version}return null})).filter((function(e){return e})).join(" ")},e}();if(Object(s.m)()&&void 0!==self.firebase){f.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");var _=self.firebase.SDK_VERSION;_&&_.indexOf("LITE")>=0&&f.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ")}var v=g.initializeApp;g.initializeApp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object(s.s)()&&f.warn('\n      Warning: This is a browser-targeted Firebase bundle but it appears it is being\n      run in a Node environment.  If running in a Node environment, make sure you\n      are using the bundle specified by the "main" field in package.json.\n      \n      If you are using Webpack, you can specify "main" as the first item in\n      "resolve.mainFields":\n      https://webpack.js.org/configuration/resolve/#resolvemainfields\n      \n      If using Rollup, use the @rollup/plugin-node-resolve plugin and specify "main"\n      as the first item in "mainFields", e.g. [\'main\', \'module\'].\n      https://github.com/rollup/@rollup/plugin-node-resolve\n      '),v.apply(void 0,e)};var y=g;!function(e,t){e.INTERNAL.registerComponent(new a.a("platform-logger",(function(e){return new b(e)}),"PRIVATE")),e.registerVersion(h,"0.6.30",void 0),e.registerVersion("fire-js","")}(y),t.a=y},zUnb:function(e,t,n){"use strict";n.r(t);var i=n("fXoL"),r=n("AytR"),o=n("ofXK"),s=n("jhN1"),a=n("R1ws"),l=n("tk/3"),c=n("3Pt+"),u=n("qFsG"),h=n("FKr1"),d=(n("8LU1"),n("LRne")),p=(n("z6cu"),n("cp0P"),n("quSY"),n("vkgz"),n("lJxs")),f=n("JIr8");n("nYR2"),n("w1tV"),n("IzEk");let m=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[h.h],h.h]}),e})();var g=n("dNgK"),b=n("Qu3c"),_=n("bTqV"),v=n("bSwM"),y=n("d3UM"),w=n("kmnG"),C=(n("FtGj"),n("2Vo4"),n("itXk"),n("XNiG"),n("eIep"),n("JX91")),x=(n("3E0/"),n("1G5W"),n("pLZG"));n("nLfN");let S=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[h.h,o.CommonModule],h.h]}),e})();n("vxfF"),n("u47x");let O=(()=>{let e=class{};return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[o.CommonModule,c.u,_.b,v.b,m,S,b.b]]}),e})();var k=n("QibW"),E=n("UbJi"),P=n("kmKP"),I=n("7o2P"),T=n("ngAm"),M=n("B7fh"),A=n("Dvla"),D=n("tyNb"),j=n("jp60");function N(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"small"),i["\u0275\u0275text"](1," Password must be at least 6 characters "),i["\u0275\u0275elementEnd"]())}function R(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"small"),i["\u0275\u0275text"](1," Confirm password is required "),i["\u0275\u0275elementEnd"]())}function L(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"small"),i["\u0275\u0275text"](1," Password and Confirm Password must match "),i["\u0275\u0275elementEnd"]())}let F=(()=>{class e{constructor(e,t,n,i,r){this.fb=e,this.plansService=t,this.userService=n,this.route=i,this.router=r,this.submitted=!1,this.showPassword=!1,this.showConfirmPassword=!1,this.region="IN"}ngOnInit(){this.changePasswordForm=this.fb.group({password:["",[c.w.required,
1c.w.minLength(6)]],confirm_password:["",c.w.required]},{validators:this.passwordMatchValidator}),this.route.queryParams.subscribe(e=>{this.forgotPinSecretKey=e.forgot_pin_secret_key,console.log("forgot_pin_secret_key:",this.forgotPinSecretKey)}),this.userService.autoRegion(this.region).subscribe(e=>{this.region=e.region.country_code2,window.localStorage.setItem("IPzip",JSON.stringify(e.region)),window.localStorage.setItem("region",this.region)})}passwordMatchValidator(e){var t,n,i,r,o;const s=null===(t=e.get("password"))||void 0===t?void 0:t.value,a=null===(n=e.get("confirm_password"))||void 0===n?void 0:n.value;if(s&&a&&s!==a)null===(i=e.get("confirm_password"))||void 0===i||i.setErrors({mismatch:!0});else{const t=null===(r=e.get("confirm_password"))||void 0===r?void 0:r.errors;t&&(delete t.mismatch,Object.keys(t).length||null===(o=e.get("confirm_password"))||void 0===o||o.setErrors(null))}return null}get f(){return this.changePasswordForm.controls}onSubmit(){this.submitted=!0,this.changePasswordForm.invalid||this.plansService.changePassword({user:{key:this.forgotPinSecretKey,password:this.changePasswordForm.value.password,confirm_password:this.changePasswordForm.value.confirm_password,region:this.region,type:"email"}},this.region).subscribe({next:e=>{console.log("Success:",e),this.router.navigate(["/"])},error:e=>{console.error("Change password error:",e),alert("Error changing password: "+e.error.error.message)}})}changePassword(e){console.log(e)}togglePassword(){this.showPassword=!this.showPassword}toggleConfirmPassword(){this.showConfirmPassword=!this.showConfirmPassword}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](c.e),i["\u0275\u0275directiveInject"](j.a),i["\u0275\u0275directiveInject"](P.a),i["\u0275\u0275directiveInject"](D.a),i["\u0275\u0275directiveInject"](D.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-change-password"]],decls:22,vars:8,consts:[[1,"change-password-wrapper"],[1,"card"],[3,"formGroup","ngSubmit"],[1,"form-group"],[2,"position","relative"],["formControlName","password",3,"type"],["alt","toggle password",2,"position","absolute","right","12px","top","50%","transform","translateY(-50%)","cursor","pointer","width","18px","height","18px",3,"src","click"],[4,"ngIf"],["formControlName","confirm_password",3,"type"],["type","submit",1,"btn-submit"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3,"Reset Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"form",2),i["\u0275\u0275listener"]("ngSubmit",(function(){return t.onSubmit()})),i["\u0275\u0275elementStart"](5,"div",3),i["\u0275\u0275elementStart"](6,"label"),i["\u0275\u0275text"](7,"New Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",4),i["\u0275\u0275element"](9,"input",5),i["\u0275\u0275elementStart"](10,"img",6),i["\u0275\u0275listener"]("click",(function(){return t.togglePassword()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,N,2,0,"small",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",3),i["\u0275\u0275elementStart"](13,"label"),i["\u0275\u0275text"](14,"Confirm Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",4),i["\u0275\u0275element"](16,"input",8),i["\u0275\u0275elementStart"](17,"img",6),i["\u0275\u0275listener"]("click",(function(){return t.toggleConfirmPassword()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,R,2,0,"small",7),i["\u0275\u0275template"](19,L,2,0,"small",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"button",9),i["\u0275\u0275text"](21," Reset "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("formGroup",t.changePasswordForm),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("type",t.showPassword?"text":"password"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",t.showPassword?"assets/images/hide_password.svg":"assets/images/show_password.svg",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.submitted&&(null==t.f.password||null==t.f.password.errors?null:t.f.password.errors.minlength)),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("type",t.showConfirmPassword?"text":"password"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",t.showConfirmPassword?"assets/images/hide_password.svg":"assets/images/show_password.svg",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.submitted&&(null==t.f.confirm_password||null==t.f.confirm_password.errors?null:t.f.confirm_password.errors.required)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.submitted&&(null==t.f.confirm_password||null==t.f.confirm_password.errors?null:t.f.confirm_password.errors.mismatch)))},directives:[c.x,c.q,c.i,c.d,c.p,c.h,o.NgIf],styles:[".change-password-wrapper[_ngcontent-%COMP%]{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px}.card[_ngcontent-%COMP%]{width:100%;max-width:420px;background:#111827;padding:24px;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.4)}.card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#e5e7eb;text-align:center;margin-bottom:24px}.form-group[_ngcontent-%COMP%]{margin-bottom:18px}.form-group[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;margin-bottom:6px;color:#9ca3af;font-size:14px}.form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;padding:12px;border-radius:8px;border:1px solid #374151;background:#020617;color:#e5e7eb;outline:none}.form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.form-group[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:#f87171;font-size:12px;margin-top:4px;display:block}.btn-submit[_ngcontent-%COMP%]{width:100%;padding:12px;background:linear-gradient(135deg,#f5841f,#f5841f);border:none;border-radius:10px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;margin-top:8px}.btn-submit[_ngcontent-%COMP%]:hover{opacity:.9}@media (max-width:480px){.card[_ngcontent-%COMP%]{padding:20px}.card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:18px}}"]}),e})();const V=[{path:"",loadChildren:()=>Promise.all([n.e(5),n.e(11)]).then(n.bind(null,"7vJP")).then(e=>e.HomeModule),data:{page:"homepage"}},{path:"memebattle",component:(()=>{class e{constructor(e){this.sanitizer=e,this.iframeUrl=this.sanitizer.bypassSecurityTrustResourceUrl("/assets/Tarang-meme-battle/index.html")}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.c))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-meme-battle"]],decls:1,vars:0,consts:[["src","/assets/Tarang-meme-battle/index.html","width","100%","height","100%","frameborder","0","scrolling","auto",2,"display","block","border","none","width","100%","height","100vh"]],template:function(e,t){1&e&&i["\u0275\u0275element"](0,"iframe",0)},styles:[""]}),e})()},{path:"shorts",redirectTo:"shorts-list",pathMatch:"full"},{path:"users/reset_password_email",component:F},{path:"signin",loadChildren:()=>n.e(5).then(n.bind(null,"NOed")).then(e=>e.HomeRoutingModule)},{path:"rentalPayment",loadChildren:()=>n.e(16).then(n.bind(null,"q7rs")).then(e=>e.RentalPaymentModule)},{path:"payments/payment-pending",loadChildren:()=>n.e(21).then(n.bind(null,"9S43")).then(e=>e.PaymentPendingModule)},{path:"live-tv",loadChildren:()=>Promise.all([n.e(2),n.e(20)]).then(n.bind(null,"i+KO")).then(e=>e.EpgModule)},{path:"plans",loadChildren:()=>Promise.all([n.e(3),n.e(32)]).then(n.bind(null,"VOhO")).then(e=>e.PlansModule)},{path:"tv",loadChildren:()=>n.e(24).then(n.bind(null,"XEy6")).then(e=>e.ActivateTvModule)},{path:"users/watchlist",loadChildren:()=>n.e(6).then(n.bind(null,"V1YL")).then(e=>e.UserModule),data:{page:"watchlist"}},{path:"users/watchlist/all/:theme",loadChildren:()=>n.e(6).then(n.bind(null,"V1YL")).then(e=>e.UserModule),data:{page:"watchlist-all"}},{path:"starrer/:id",loadChildren:()=>n.e(9).then(n.bind(null,"+frK")).then(e=>e.StarringDetailsModule),data:{page:"star-details"}},{path:"starrer/:id/:type/all",loadChildren:()=>n.e(9).then(n.bind(null,"+frK")).then(e=>e.StarringDetailsModule),data:{page:"starring-see-all"}},{path:"users/continue_watching",loadChildren:()=>n.e(6).then(n.bind(null,"V1YL")).then(e=>e.UserModule),data:{page:"continue_watching"}},{path:"about-us",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"about"}},{path:"content_redressal_mechanism",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"content"}},{path:"meta-pixel-page",loadChildren:()=>n.e(28).then(n.bind(null,"Z/b3")).then(e=>e.MetaPixelPageModule)},{path:"app-plans",loadChildren:()=>n.e(18).then(n.bind(null,"Io3Y")).then(e=>e.AndroidPlansPageModule)},{path:"coming-soon",loadChildren:()=>n.e(25).then(n.bind(null,"JfUC")).then(e=>e.ComingSoonModule)},{path:"privacy_policy",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"pp"}},{path:"terms_and_conditions",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"tc"}},{path:"faq",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"faq"}},{path:"contact-us",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"contact"}},{path:"refund_policy",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"refund_policy"}},{path:"digital-delivery-exchange",loadChildren:()=>n.e(0).then(n.bind(null,"rfz8")).then(e=>e.StaticpageModule),data:{page:"digital-delivery-exchange"}},{path:"tv-about-us",loadChildren:()=>n.e(1).then(n.bind(null,"J/mK")).then(e=>e.TvStaticPagesModule),data:{page:"tv-about"}},{path:"tv-contact-us",loadChildren:()=>n.e(1).then(n.bind(null,"J/mK")).then(e=>e.TvStaticPagesModule),data:{page:"tv-contact"}},{path:"tv-privacy_policy",loadChildren:()=>n.e(1).then(n.bind(null,"J/mK")).then(e=>e.TvStaticPagesModule),data:{page:"tv-pp"}},{path:"tv-faq",loadChildren:()=>n.e(1).then(n.bind(null,"J/mK")).then(e=>e.TvStaticPagesModule),data:{page:"tv-faq"}},{path:"tv-terms_and_conditions",loadChildren:()=>n.e(1).then(n.bind(null,"J/mK")).then(e=>e.TvStaticPagesModule),data:{page:"tv-tc"}},{path:"sursangram",loadChildren:()=>Promise.all([n.e(2),n.e(22)]).then(n.bind(null,"Frve")).then(e=>e.SursangramModule),data:{page:"sursangrampage"}},{path:"awards",loadChildren:()=>Promise.all([n.e(2),n.e(19)]).then(n.bind(null,"wI2U")).then(e=>e.AwardsModule),data:{page:"awards"}},{path:"payments/payment_success",loadChildren:()=>Promise.all([n.e(3),n.e(31)]).then(n.bind(null,"6Phi")).then(e=>e.PaymentSuccessModule)},{path:"payments/payment_failure",loadChildren:()=>Promise.all([n.e(3),n.e(29)]).then(n.bind(null,"p0HU")).then(e=>e.PaymentFailureModule)},{path:"payments/payment_stripe",loadChildren:()=>Promise.all([n.e(3),n.e(30)]).then(n.bind(null,"WIfi")).then(e=>e.PaymentStripeModule)},{path:":catalogname/:itemname/play",loadChildren:()=>n.e(12).then(n.bind(null,"WcMY")).then(e=>e.VideopopupModule)},{path:":catalog_name/:show_name/:episode_name/play",loadChildren:()=>n.e(12).then(n.bind(null,"WcMY")).then(e=>e.VideopopupModule)},{path:":catalogname",loadChildren:()=>n.e(17).then(n.bind(null,"NnPM")).then(e=>e.ShowcatalogModule),data:{page:"cataloglist"}},{path:":catalogname/all",loadChildren:()=>n.e(7).then(n.bind(null,"p1I+")).then(e=>e.AllitemslistModule),data:{page:"allitemlist"}},{path:":catalogname/others/all",loadChildren:()=>n.e(7).then(n.bind(null,"p1I+")).then(e=>e.AllitemslistModule),data:{page:"othertvshows"}},{path:":catalogname/:genre/all",loadChildren:()=>n.e(7).then(n.bind(null,"p1I+")).then(e=>e.AllitemslistModule),data:{page:"genreall"}},{path:":catalogname/:showname/episodes",loadChildren:()=>n.e(10).then(n.bind(null,"/2fx")).then(e=>e.AllEpisodesModule),data:{page:"allepisdoes"}},{path:":catalogname/:showname/:season/episodes",loadChildren:()=>n.e(10).then(n.bind(null,"/2fx")).then(e=>e.AllEpisodesModule),data:{page:"seasonepisdoes"}},{path:":catalogname/:itemname",loadChildren:()=>Promise.all([n.e(8),n.e(2),n.e(26)]).then(n.bind(null,"bDDY")).then(e=>e.DetailsRedirectionModule)},{path:":catalog_name/:show_name/:episode_name",loadChildren:()=>Promise.all([n.e(8),n.e(27)]).then(n.bind(null,"QoFs")).then(e=>e.EpisodedetailsModule),data:{page:"episodedetailspage"}},{path:"**/*",pathMatch:"full",loadChildren:()=>Promise.all([n.e(5),n.e(11)]).then(n.bind(null,"7vJP")).then(e=>e.HomeModule),data:{page:"homepage"}}];let B=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[D.h.forRoot(V,{useHash:!1,onSameUrlNavigation:"reload"})],D.h]}),e})();var U=n("gw8Y");let H=(()=>{class e{constructor(e){this.router=e,this.isAndroid=!1,this.isIOS=!1,this.showButton=!1,this.isMweb=!1,this.isWeb=!1}ngOnInit(){const e=navigator.userAgent||navigator.vendor;this.isAndroid=/android/i.test(e),this.isIOS=/iPad|iPhone|iPod/.test(e)&&!window.MSStream;const t=window.innerWidth<=768;this.isWeb=!t&&!this.isAndroid&&!this.isIOS,t&&(this.isMweb=!0),this.router.events.subscribe(e=>{if(e instanceof D.c){const t="true"===sessionStorage.getItem("installBannerDismissed"),n=e.url,i=e.url.includes("/rentalPayment")||e.url.includes("/payments/payment_success")||e.url.includes("/payments/payment_failure")||e.url.includes("/payments/payment_stripe")||e.url.includes("/payments/payment-pending")||e.url.includes("/privacy_policy")||e.url.includes("/about-us")||e.url.includes("/terms_and_conditions")||e.url.includes("/contact-us")||e.url.includes("/faq")||e.url.includes("/refund_policy")||e.url.includes("/content_redressal_mechanism")||e.url.includes("/app-plans"),r=e.url.includes("/plans"),o=e.url.includes("/meta-pixel-page"),s=n.includes("browser=android");this.showButton=this.isMweb?!(t||i||r&&s):!!this.isWeb&&!t&&(r||o)}})}closeBanner(){this.showButton=!1,sessionStorage.setItem("installBannerDismissed","true")}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](D.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-app-install-button"]],decls:0,vars:0,template:function(e,t){},styles:[".install-banner[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;background-color:#000;color:#fff;display:flex;align-items:center;padding:12px;box-shadow:0 -2px 6px rgba(0,0,0,.4);z-index:9999}.app-icon[_ngcontent-%COMP%]{width:48px;height:48px;margin-right:12px;border-radius:8px}.app-info[_ngcontent-%COMP%]{flex:1}.app-title[_ngcontent-%COMP%]{font-weight:700;font-size:16px}.app-desc[_ngcontent-%COMP%], .stars[_ngcontent-%COMP%]{font-size:14px}.stars[_ngcontent-%COMP%]{color:gold}.install-button[_ngcontent-%COMP%]{background:#f5841f 0 0 no-repeat padding-box;color:#fbf9fa;font-weight:700;padding:8px 16px;text-decoration:none;border-radius:4px;margin-right:10px}.close-btn[_ngcontent-%COMP%]{background:transparent;color:#fff;font-size:20px;border:none;cursor:pointer}"]}),e})(),z=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-splash-screen"]],decls:2,vars:0,consts:[[1,"loader-container"],["src","./assets/logos/loader_V1.gif",1,"loader-logo"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275element"](1,"img",1),i["\u0275\u0275elementEnd"]())},styles:['body[_ngcontent-%COMP%]{background-color:#191919}.loader-container[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#000;z-index:9999}.loader-logo[_ngcontent-%COMP%]{width:90%;height:100%;object-fit:cover}.lds-spinner[_ngcontent-%COMP%]{color:inherit;display:inline-block;position:relative;width:85px;height:60px}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{transform-origin:4
10px 45px;animation:lds-spinner 1.2s linear infinite}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;top:3px;left:37px;width:0;height:20px;border:2px solid #fccf1b;opacity:1;border-radius:3px;background:#fccf1b}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{transform:rotate(0deg);animation-delay:-1.1s}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){transform:rotate(45deg);animation-delay:-1s}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(90deg);animation-delay:-.9s}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(135deg);animation-delay:-.8s}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(5){transform:rotate(180deg);animation-delay:-.7s}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(6){transform:rotate(225deg);animation-delay:-.6s}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(7){transform:rotate(270deg);animation-delay:-.5s}.lds-spinner[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(8){transform:rotate(315deg);animation-delay:-.4s}@keyframes lds-spinner{0%{opacity:1}to{opacity:0}}.new-logo[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:24px;opacity:1}#my_video[_ngcontent-%COMP%]{position:relative;z-index:999999;min-width:100%;min-height:100%;width:100px;height:100px}']}),e})();var G=n("oqF8"),q=n("BHl3"),W=n("6GTT"),K=n("h+eY"),X=n("9YtQ"),Q=n("y+iE"),Y=n("wf0l"),Z=n("un/a");let J=(()=>{class e{constructor(e,t){this.http=e,this.commonService=t}getTrendingSearch(e,t){return this.http.get(r.a.apiURL+"catalog_lists/trending-search.gzip?region="+t+"&auth_token="+r.a.authtoken).pipe(Object(Z.a)(1),Object(f.a)(this.commonService.handleError))}getSearchResults(e,t,n,i){return this.http.get(r.a.apiURL+"search.gzip?filters=category,all&q="+e+"&region="+n+"&item_language="+(t="od"==t?"od":"")+"&session_id="+i+"&auth_token="+r.a.authtoken).pipe(Object(Z.a)(1),Object(f.a)(this.commonService.handleError))}getRecentSearch(e,t){return console.log("recent search"),t?this.http.get(r.a.apiURL+`users/${e}/search_list?auth_token=${r.a.authtoken}&type=clear`).pipe(Object(Z.a)(1),Object(f.a)(this.commonService.handleError)):this.http.get(r.a.apiURL+`users/${e}/search_list?auth_token=${r.a.authtoken}`).pipe(Object(Z.a)(1),Object(f.a)(this.commonService.handleError))}filterPackageSelection(e,t,n){return this.http.get(r.a.apiURL+"search.gzip?filters=category,all&q="+e+"&region="+n+"&item_language="+(t="od"==t?"od":"")+"&auth_token="+r.a.authtoken+"&exclude_filters=theme,show_episode$live$event").pipe(Object(Z.a)(1),Object(f.a)(this.commonService.handleError))}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](l.a),i["\u0275\u0275inject"](I.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var ee=n("3bO9"),te=n("0IaG");function ne(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",14),i["\u0275\u0275text"](1,"Please enter Search text"),i["\u0275\u0275elementEnd"]())}function ie(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"i",15),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().clearSearch()})),i["\u0275\u0275text"](1,"clear"),i["\u0275\u0275elementEnd"]()}}function re(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",21),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](2).hitRecentSearch(n)})),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](e)}}function oe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",16),i["\u0275\u0275elementStart"](2,"h4",17),i["\u0275\u0275text"](3,"Recent Search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",18),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().clearRecentSearch()})),i["\u0275\u0275text"](5,"Clear All"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",19),i["\u0275\u0275template"](7,re,2,1,"button",20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngForOf",e.recentSearchTags)}}function se(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h1",25),i["\u0275\u0275text"](1,"Search Results("),i["\u0275\u0275elementStart"](2,"span",26),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4,")"),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.search_results.length)}}function ae(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275elementStart"](2,"a",29),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);
1const n=t.$implicit,r=t.index;return i["\u0275\u0275nextContext"](2).onClickSearchResult(n,r)})),i["\u0275\u0275element"](3,"img",30),i["\u0275\u0275elementStart"](4,"p",31),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("routerLink",n.commonService.getItemURL(e)),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("title",e.title),i["\u0275\u0275property"]("lazyLoad",e.thumbnails&&null!=e.thumbnails&&e.thumbnails.medium_16_9?null==e.thumbnails||null==e.thumbnails.medium_16_9?null:e.thumbnails.medium_16_9.url:"https://hls.tarangplus.in/default_images/xl_image_16_9_1920-1080.jpeg"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](e.display_title?e.display_title:e.title)}}function le(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",0),i["\u0275\u0275template"](2,se,5,1,"h1",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275template"](4,ae,6,4,"div",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.search_results.length>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",e.search_results)}}function ce(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275elementStart"](1,"div",33),i["\u0275\u0275element"](2,"img",34),i["\u0275\u0275elementStart"](3,"p",35),i["\u0275\u0275text"](4,"Sorry!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p",36),i["\u0275\u0275text"](6,"We couldn't find anything that "),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275text"](8,"matches your search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",37),i["\u0275\u0275elementStart"](10,"button",38),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().clearSearch()})),i["\u0275\u0275text"](11,"Clear Search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function ue(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275elementStart"](2,"a",29),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit;return i["\u0275\u0275nextContext"](2).onClickTrendingSearchResult(n)})),i["\u0275\u0275element"](3,"img",30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("routerLink",n.commonService.getItemURL(e)),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("title",e.title),i["\u0275\u0275property"]("lazyLoad",e.thumbnails&&null!=e.thumbnails&&e.thumbnails.medium_16_9?null==e.thumbnails||null==e.thumbnails.medium_16_9?null:e.thumbnails.medium_16_9.url:"https://hls.tarangplus.in/default_images/xl_image_16_9_1920-1080.jpeg")}}function he(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",0),i["\u0275\u0275elementStart"](2,"p",39),i["\u0275\u0275text"](3,"Trending Search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",23),i["\u0275\u0275template"](5,ue,4,3,"div",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngForOf",e.trendingSearchResults)}}function de(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",40),i["\u0275\u0275element"](1,"div",41),i["\u0275\u0275elementEnd"]())}const pe=function(e){return{"min-height":e}};let fe=(()=>{class e{constructor(e,t,n,i,r,o,s,a,l,c,u){var h,d,p,f,m;this.analytics=e,this.service=t,this.commonService=n,this.router=i,this.route=r,this.loadingService=o,this.broadcastService=s,this.snackbar=a,this.pageService=l,this.dialog=c,this.userService=u,this.search_results=[],this.trendingSearchResults=[],this.searchError=!1,this.search_results1=!1,this.closeIcon=!1,this.recentSearchTags=[],this.session="",this.isshowNoResult=!0,this.browser="web",this.searchRediect="",this.trendingSearchRedirect="",this.ad_slot1=[],this.isSubscribedAcc="false",this.ads_available=!1,this.banner_ads_available=!1,this.searchTrackTimer=null,(null===(h=this.router.browserUrlTree)||void 0===h?void 0:h.queryParams)&&
1(null===(p=null===(d=this.router.browserUrlTree)||void 0===d?void 0:d.queryParams)||void 0===p?void 0:p.browser)&&(this.browser=null===(m=null===(f=this.router.browserUrlTree)||void 0===f?void 0:f.queryParams)||void 0===m?void 0:m.browser),this.browser=screen.width<1200?"mweb":"web",this.router.events.subscribe(e=>{e instanceof D.c&&e.snapshot&&e.snapshot.queryParams&&(this.browser=e.snapshot.queryParams.browser?e.snapshot.queryParams.browser:"web",window.localStorage&&window.localStorage.setItem("browser",this.browser)),$("#search").val()&&(this.clearSearch(),this.getTrendingSearch(),null!==(window.localStorage&&window.localStorage.getItem("otv_user_id"))&&"android"!=this.browser&&"ios"!=this.browser&&this.getRecentSearch())}),this.broadcastService.on(new G.a("recentsearch",null)).subscribe(e=>this.getRecentSearch()),this.broadcastService.on(new G.a("bannerAds",null)).subscribe(e=>this.bannerAds())}ngOnInit(){window.localStorage&&window.localStorage.getItem("otv_user_id")&&"android"!=this.browser&&"ios"!=this.browser&&this.getRecentSearch(),this.getTrendingSearch(),window.localStorage&&(this.region=window.localStorage.getItem("region"),this.session=window.localStorage.getItem("otv_user_id"),this.isSubscribedAcc=this.session?window.localStorage.getItem("is_subscribed"):"false"),this.contentHeight=this.commonService.pageHeight();try{this.user=JSON.parse(window.localStorage.getItem("user")||"null")}catch(yg){this.user=null}}ngAfterViewChecked(){}bannerAds(){var e,t;if(window.localStorage&&(this.ads_available="undefined"!=window.localStorage.getItem("ad_slot1")&&(null===(e=JSON.parse(window.localStorage.getItem("ad_slot1")))||void 0===e?void 0:e.showlisitngpage_ad_avialble),this.ad_slot1="undefined"!=window.localStorage.getItem("ad_slot1")?null===(t=JSON.parse(window.localStorage.getItem("ad_slot1")))||void 0===t?void 0:t.showlisitngpage_ad_url:void 0,this.banner_ads_available="undefined"!=window.localStorage.getItem("banner_ads_available")&&JSON.parse(window.localStorage.getItem("banner_ads_available"))),this.banner_ads_available&&this.ads_available&&"true"!=this.isSubscribedAcc){const e=window.googletag||{cmd:[]};let t=this.ad_slot1;$(document).ready((function(){var n,i;0==(null===(n=$("#banner-ad-search"))||void 0===n?void 0:n.children().length)&&t.adUnitPath&&($("#banner-ad-search").css("width",JSON.parse(t.size)[0][0]),$("#banner-ad-search").css("height",JSON.parse(t.size)[0][1]),e.cmd.push((function(){e.defineSlot(t.adUnitPath,JSON.parse(t.size),"banner-ad-search").addService(e.pubads()),e.pubads().enableSingleRequest(),e.enableServices(),e.display("banner-ad-search")})),0==(null===(i=$("#banner-ad-search"))||void 0===i?void 0:i.children().length)?$("#banner-ad-search").css("display","none"):$("#banner-ad-search").css("display","block"))}))}}getTrendingSearch(){this.search_results1=!1,window.localStorage&&(this.language=window.localStorage.getItem("language"),this.region=window.localStorage.getItem("region"));const e="true"===window.localStorage.getItem("parentalControl")?this.region+"&parental_control=true":this.region;this.loadingService.showLoader(),this.service.getTrendingSearch(this.language,e).subscribe(e=>{this.loadingService.hideLoader(),this.trendingSearchResults=e.data.catalog_list_items},e=>{this.loadingService.hideLoader(),this.statusMessage=e})}getRecentSearch(){this.loadingService.showLoader(),this.session&&(window.localStorage.getItem("parentalControl"),this.service.getRecentSearch(this.session,!1).subscribe(e=>{this.loadingService.hideLoader(),this.recentSearchTags=e.data.items},e=>{this.loadingService.hideLoader(),this.statusMessage=e,"1016"===e.server_error_code&&this.broadcastService.dispatch(new G.a("sessionExpired",null))}))}showSnackbarMsg(e,t){this.snackbar.open(e,"X","success"===t?{verticalPosition:"top",horizontalPosition:"center",duration:3e3,panelClass:["success-snackbar"]}:"warning"===t?{verticalPosition:"top",horizontalPosition:"center",duration:3e3,panelClass:["alert-snackbar"]}:"info"===t?{verticalPosition:"top",horizontalPosition:"center",duration:3e3,panelClass:["info-snackbar"]}:{verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})}clearRecentSearch(){this.service.getRecentSearch(this.session,!0).subscribe(e=>{this.loadingService.hideLoader(),this.recentSearchTags=[],this.showSnackbarMsg(e.message,"info")},e=>{this.loadingService.hideLoader(),this.statusMessage=e,"1016"===e.server_error_code&&this.broadcastService.dispatch(new G.a("sessionExpired",null))})}trackSearch(e,t){try{const n=Math.floor(Number(t)||0),i={query:e,results_count:n,is_zero_result:0===n,query_length:(e||"").length,search_type:"text",source_screen:"search"};console.log("WebEngage Search",i),webengage.track("Search",i)}catch(yg){}}onSearch(e){this.region=window.localStorage?window.localStorage.getItem("region"):"";const t="true"===window.localStorage.getItem("parentalControl")?this.region+"&parental_control=true":this.region;if(e){if(!/[a-zA-Z0-9]/.test(e))return;this.language=window.localStorage?window.localStorage.getItem("language"):"",e.length>=2?(this.closeIcon=!0,this.searchError=!1,this.loadingService.showLoader(),this.searchSub&&this.searchSub.unsubscribe(),this.searchSub=this.service.getSearchResults(e,this.language,t,"").subscribe(t=>{const n=($("#search").val()||"").toString().trim();if(!n||n.length<2)this.loadingService.hideLoader();else{if(this.loadingService.hideLoader(),!(t.data.items.length>0))return this.search_results=t.data.items,this.isshowNoResult=!1,this.searchTrackTimer&&clearTimeout(this.searchTrackTimer),void(this.searchTrackTimer=setTimeout(()=>{this.trackSearch(e,0)},1800));this.search_results1=!0,this.search_results=t.data.items,this.isshowNoResult=!0,console.log("%c[DEBOUNCE] keystroke received at","color: orange",Date.now(),"val:",e),this.searchTrackTimer&&(clearTimeout(this.searchTrackTimer),console.log("%c[DEBOUNCE] cleared previous timer","color: red")),this.searchTrackTimer=setTimeout(()=>{var t;this.trackSearch(e,(null===(t=this.search_results)||void 0===t?void 0:t.length)||0)},1800)}},e=>{this.loadingService.hideLoader(),this.statusMessage=e,this.search_results1=!0,this.search_results.length=0})):(this.search_results1=!1,this.closeIcon=!1,this.search_results=[],this.isshowNoResult=!0,this.getTrendingSearch(),this.loadingService.hideLoader())}else this.searchSub&&(this.searchSub.unsubscribe(),this.searchSub=null),this.search_results1=!1,this.closeIcon=!1,this.search_results=[],this.isshowNoResult=!0,this.getTrendingSearch(),this.loadingService.hideLoader()}onHitEnterSearch(e,t){window.localStorage&&(this.language=window.localStorage.getItem("language"),this.region=window.localStorage.getItem("region")),e.length>0?(this.closeIcon=!0,this.searchError=!1,this.loadingService.showLoader(),this.service.getSearchResults(e,this.language,this.region,this.session).subscribe(e=>{if(this.loadingService.hideLoader(),!1===t){if(!(e.data.items.length>0))return this.search_results=e.data.items,void(this.isshowNoResult=!1);this.search_results1=!0,this.search_results=e.data.items,this.isshowNoResult=!0}},e=>{this.loadingService.hideLoader(),this.statusMessage=e,this.search_results1=!0,this.search_results.length=0,"1016"===e.server_error_code&&this.broadcastService.dispatch(new G.a("sessionExpired",null))})):(this.search_results1=!1,this.closeIcon=!1,this.search_results=[],this.getTrendingSearch(),this.loadingService.hideLoader())}clearSearch(){this.searchSub&&(this.searchSub.unsubscribe(),this.searchSub=null),$("#search").val(""),this.search_results1=!1,this.closeIcon=!1,this.search_results=[],this.isshowNoResult=!0,this.getTrendingSearch()}onClickSearchResult(e,t,n=""){try{webengage.track("Artwork Click",{content_id:(null==e?void 0:e.content_id)||"",artwork_type:"thumbnail",artwork_position:(t||0)+1,container:"search result",title:(null==e?void 0:e.display_title)||(null==e?void 0:e.title)||"",source_screen:"search"})}catch(yg){}try{window.localStorage.setItem("globalTabName","search"),window.localStorage.setItem("globalTrayName","search result"),window.localStorage.setItem("globalArtworkPosition",String((t||0)+1))}catch(yg){}let i=t;const r=n||e.title||"";this.broadcastService.dispatch(new G.a("sessionEmpty",null)),this.searchRediect=this.commonService.getItemURL(e),this.onHitEnterSearch(e.title,!0);let o="";this.pageService.getItemDetails(e.langauge,e.catalog_object.friendly_id,e.friendly_id,e.regi
1ons[0]).subscribe(t=>{var n,s,a;const l=t.data.access_control;let c=t.data.content_id,u=t.data.display_title||t.data.title,h=!t.data.access_control.is_free;console.log("@@@@@@@@@@@@@@@@@content_id:",t.data.content_id),l.is_free?o="avod":l.premium_tag&&(o="svod"),this.analytics.logEvent("search_result_clicked",{video_name:e.title,keyword:r,clicked:!0,content_type:e.theme,content_value:o,platform:this.browser});const d={query:r,result_position:i+1,content_id:c,content_type:e.theme,content_title:u,is_premium:h};console.log("WebEngage Search Result Clicked",d),webengage.track("Search Result Clicked",d);let p={video_name:e.title,keyword:"NA",clicked:"true",content_type:e.theme,content_value:o,platform:this.browser?this.browser:"NA",uid:window.localStorage.getItem("otv_user_id"),gender:null===(n=this.user)||void 0===n?void 0:n.gender,age:null===(s=this.user)||void 0===s?void 0:s.age.toString(),u_id:null===(a=this.user)||void 0===a?void 0:a.user_id,event_name:"search_Result_Clicked"};this.userService.analytics(p).subscribe(e=>{},e=>{"1016"===e.server_error_code&&this.broadcastService.dispatch(new G.a("sessionExpired",null))})},t=>{const n={query:r,result_position:i+1,content_id:e.content_id||"",content_type:e.theme,content_title:e.display_title||e.title||"",is_premium:!1};console.log("WebEngage Search Result Clicked",n),webengage.track("Search Result Clicked",n)}),this.closePop()}onClickTrendingSearchResult(e){this.broadcastService.dispatch(new G.a("sessionEmpty",null)),this.closePop()}hitRecentSearch(e){$("#search").val(""),$("#search").val(e),this.onSearch(e)}
1closePop(){$(".modal").modal("hide"),this.clearSearch(),this.search_results=[],this.isshowNoResult=!0}charOnly(e){const t=String.fromCharCode(e.keyCode);/[a-zA-Z0-9\s]/.test(t)||e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](K.a),i["\u0275\u0275directiveInject"](J),i["\u0275\u0275directiveInject"](I.a),i["\u0275\u0275directiveInject"](D.d),i["\u0275\u0275directiveInject"](D.a),i["\u0275\u0275directiveInject"](U.a),i["\u0275\u0275directiveInject"](M.a),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](ee.a),i["\u0275\u0275directiveInject"](te.a),i["\u0275\u0275directiveInject"](P.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-search"]],decls:16,vars:10,consts:[[1,"pull-left","w-100"],[1,"container"],[1,"row"],[1,"wrapper","min-veight-div",2,"overflow-y","auto",3,"ngStyle"],[1,"pull-left","w-100","search-page"],[1,"search-box-wrap","pull-left","w-100","margin-top-50","margin-bottom-30"],["id","search","type","text","maxlength","30","name","searchval","placeholder","Search for movies, songs & more\u2026","value","","autocomplete","off",1,"item_search",3,"keypress","keyup.enter","keyup"],["box",""],["class","search_errors",4,"ngIf"],["class","clear",3,"click",4,"ngIf"],["lazyLoad","/assets/dangalPlay/icon_close_alert.svg",3,"click"],[4,"ngIf"],["class","w-100",4,"ngIf"],["class","dangal-ads-slot1 margin-top-15",4,"ngIf"],[1,"search_errors"],[1,"clear",3,"click"],[1,"pull-left","search-header"],[1,"margin-bottom-0","oriya-color1","font-size2","medium_16_9"],[1,"clerall-btn",3,"click"],["id","recent-search",1,"w-100","pull-left","flex","flex-row","margin-top-10"],["class","recent-search-btn font-size2 margin-left-8",3,"click",4,"ngFor","ngForOf"],[1,"recent-search-btn","font-size2","margin-left-8",3,"click"],["class","page-title pull-left w-100 margin-bottom-15","id","search_heading",4,"ngIf"],["id","trending_results",1,"thumbnail-list-wrap","shows-list-page","pull-left","inline-block"],["class","thumbnail-search-list-box margin-bottom-20 relative-content",4,"ngFor","ngForOf"],["id","search_heading",1,"page-title","pull-left","w-100","margin-bottom-15"],[1,"search_item_cnt"],[1,"thumbnail-search-list-box","margin-bottom-20","relative-content"],[1,"item-image","relative-content","margin-bottom-10"],[3,"routerLink","click"],[1,"img-fluid","search",3,"lazyLoad","title"],[1,"search-item-title"],[1,"w-100"],[1,"text-center"],["src","./assets/errorMessages/icon_noResultsFound.svg","alt","","title","",1,"search-error_image"],[1,"margin-bottom-25","text-center","font-size3","oriya-color1"],[1,"margin-bottom-30","text-center","oriya-color2","font-size2",2,"line-height","21px"],[1,"text-center","text-capitalize"],[1,"font-size2","font-mbold","close-search-btn",3,"click"],["id","trending_search",1,"font-size1","oriya-color1","pull-left","w-100","margin-bottom-25"],[1,"dangal-ads-slot1","margin-top-15"],["id","banner-ad-search"]],template:function(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"section",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275elementStart"](6,"input",6,7),i["\u0275\u0275listener"]("keypress",(function(e){return t.charOnly(e)}))("keyup.enter",(function(){i["\u0275\u0275restoreView"](e);const n=i["\u0275\u0275reference"](7);return t.onHitEnterSearch(n.value,!1)}))("keyup",(function(){i["\u0275\u0275restoreView"](e);const n=i["\u0275\u0275reference"](7);return t.onSearch(n.value)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,ne,2,0,"span",8),i["\u0275\u0275template"](9,ie,2,0,"i",9),i["\u0275\u0275elementStart"](10,"img",10),i["\u0275\u0275listener"]("click",(function(){return t.closePop()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,oe,8,1,"div",11),i["\u0275\u0275template"](12,le,5,2,"div",11),i["\u0275\u0275template"](13,ce,12,0,"div",12),i["\u0275\u0275template"](14,he,6,1,"div",11),i["\u0275\u0275template"](15,de,2,0,"div",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](8,pe,t.contentHeight+"px")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.searchError),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.closeIcon),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.recentSearchTags.length>0&&0===t.search_results.length),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.search_results.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.isshowNoResult),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.trendingSearchResults.length>0&&0==t.search_results.length&&t.isshowNoResult),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.banner_ads_available&&t.ads_available&&"true"!=t.isSubscribedAcc))},directives:[o.NgStyle,o.NgIf,Y.a,o.NgForOf,D.g],styles:[".search-page[_ngcontent-%COMP%]   input[type=search][_ngcontent-%COMP%]{background-color:#f2f2f2;border:0;border-radius:20px;color:#212121;float:left;margin-bottom:5px;padding:15px 30px;width:100%}.search-page[_ngcontent-%COMP%]{height:100vh}.search-box-wrap[_ngcontent-%COMP%]{float:left;width:100%}.search-box-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:28px;float:right;margin-top:14px;cursor:pointer}.search-box-wrap[_ngcontent-%COMP%]   .clear[_ngcontent-%COMP%]{position:absolute;right:70px;top:17px;font-size:16px;color:#999;cursor:pointer;font-style:normal}.search-box-wrap[_ngcontent-%COMP%]{position:relative}#search[_ngcontent-%COMP%]{background-color:#242424;border:0;border-radius:5px;color:hsla(0,0%,100%,.6);float:left;margin-bottom:5px;padding:15px 30px;width:calc(100% - 50px);font-family:Roboto}#recent-search[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;background-color:initial}#recent-search[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:initial;outline:none}#recent-search[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:initial;border:none}#trending_search[_ngcontent-%COMP%]{color:#fbf9fa}#recent-search[_ngcontent-%COMP%]{overflow-y:scroll;margin-bottom:32px}.free-txt[_ngcontent-%COMP%]{position:absolute;top:7px;right:7px;width:50px}.free-txt[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:0!important}.premium-txt[_ngcontent-%COMP%]{position:absolute;top:7px;right:7px;width:25px}.premium-txt[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:0!important}.search-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:calc(100% - 50px)}#trending_results[_ngcontent-%COMP%]{width:100%;max-height:calc(100vh - 180px);overflow-y:auto;overflow-x:hidden;display:inline-block;padding-bottom:100px}.clerall-btn[_ngcontent-%COMP%]{font-size:14px;line-height:19px;letter-spacing:.29px;color:#fae6ea;background-color:rgba(245,132,31,.10196078431372549)!important;border:none;opacity:1}.recent-search-btn[_ngcontent-%COMP%]{width:auto;height:auto;padding:8px 16px!important;background:rgba(246,24,66,.10196078431372549)!important;border:none;border-radius:8px;opacity:1;color:#fae6ea!important}  #recent-search .recent-search-btn:first-child{margin-left:0!important}.thumbnail-search-list-box[_ngcontent-%COMP%]{padding:0!important;width:calc(20%-14px);margin-bottom:10px!important;margin:0 7px;float:left;width:calc(20% - 14px)}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-image[_ngcontent-%COMP%]{float:left;width:100%}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:16px;width:100%}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-content[_ngcontent-%COMP%]{float:left;padding:0 0 0 13px;width:50%}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;color:#212121;line-height:16px}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:17px;line-height:19px}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-bottom:10px;line-height:16px;font-size:12px;color:hsla(0,0%,100%,.6)}@media(max-width:1600px){.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-bottom:10px}}@media(max-width:1400px){.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-bottom:10px}}@media(max-width:1199px){.search-page[_ngcontent-%COMP%]{padding:0 20px 0 40px}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{top:25%;width:100%!important}}@media(max-width:767px){.search-box-wrap[_ngcontent-%COMP%]   .clear[_ngcontent-%COMP%]{right:45px;top:9px}.search-box-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:16px;margin-top:14px}.search-page[_ngcontent-%COMP%]   input[type=search][_ngcontent-%COMP%]{width:calc(100% - 10px
1)}#search[_ngcontent-%COMP%]{padding:8px 15px!important;width:calc(100% - 30px)}#trending_results[_ngcontent-%COMP%]{width:100%!important;padding-right:30px;display:inline-block;padding-bottom:130px}.thumbnail-search-list-box[_ngcontent-%COMP%]   .item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:5px}.thumbnail-search-list-box[_ngcontent-%COMP%]{width:100%;margin-right:0}}@media(max-width:640px){.search-page[_ngcontent-%COMP%]{height:100vh}}@media(max-width:576px){.free-txt[_ngcontent-%COMP%]{width:45px}.free-txt[_ngcontent-%COMP%], .premium-txt[_ngcontent-%COMP%]{top:5px;right:5px;line-height:normal}.premium-txt[_ngcontent-%COMP%]{width:21px}}@media(min-width:320px) and (max-width:480px){.search-page[_ngcontent-%COMP%]{padding:0 10px}.search-header[_ngcontent-%COMP%]{margin-bottom:0!important;width:calc(100% - 30px);margin-bottom:16px!important}.recent-search[_ngcontent-%COMP%]:first-child   recent-search-btn[_ngcontent-%COMP%]{margin-left:0}#trending_results[_ngcontent-%COMP%]{padding-right:0;display:inline-block}.thumbnail-search-list-box[_ngcontent-%COMP%]{width:45%!important;height:90px!important;border-radius:16px}#trending_search[_ngcontent-%COMP%]{margin-bottom:16px!important}}"]}),e})(),me=(()=>{class e{constructor(e){this.elementRef=e,this.clickElsewhere=new i.EventEmitter}onDocumentClick(e){const t=e.target;t&&!this.elementRef.nativeElement.contains(t)&&this.clickElsewhere.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","clickElsewhere",""]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",(function(e){return t.onDocumentClick(e)}),!1,i["\u0275\u0275resolveDocument"])},outputs:{clickElsewhere:"clickElsewhere"}}),e})();const ge=["verifyTokenForm"],be=["verifyTokenEmailForm"],_e=["mobileLoginForm"],ve=["emailLoginForm"],ye=["userProfileForm"],we=function(e){return{"active-menu":e}};function Ce(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"li",188),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);const n=t.$implicit,r=t.index;return i["\u0275\u0275nextContext"](2).menuRedirect(n,r,!0)})),i["\u0275\u0275elementContainerStart"](1),i["\u0275\u0275elementStart"](2,"a",189),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementContainerEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=t.$implicit,n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",e.home_link),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](3,we,n.isActiveHeaderTab(e))),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",e.display_title&&"all"==e.display_title.toLowerCase()?"home":e.display_title," ")}}const xe=function(e){return{active:e}};function Se(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",190),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).menuRedirect("plans","",!0)})),i["\u0275\u0275text"](1,"Subscribe"),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](1,xe,"plans"==e.activeMenuString))}}function Oe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",191),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).loginBasedonRegion()}))("mouseleave",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).onMouseOutbeforelogin(t)})),i["\u0275\u0275text"](1,"Login/Register"),i["\u0275\u0275elementEnd"]()}}function ke(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",192),i["\u0275\u0275listener"]("mouseenter",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).onMouseEnterBeforeLogin(t)})),i["\u0275\u0275element"](1,"img",193),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](1,xe,e.userAccountMenuBeforeLogin))}}const Ee=function(e){return{"disabled-slider":e}};function Pe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"ul",194),i["\u0275\u0275elementStart"](1,"li",8),i["\u0275\u0275elementStart"](2,"a",195),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).loginBasedonRegion()})),i["\u0275\u0275text"](3,"Login/Register"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"li",8),i["\u0275\u0275elementStart"](5,"a",196),i["\u0275\u0275text"](6,"Parental Lock"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"label",197),i["\u0275\u0275elementStart"](8,"input",198),i["\u0275\u0275listener"]("change",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).onToggleChange(t)}
1)),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"span",199),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("checked",e.isParentalControlEnabled),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](2,Ee,!e.isParentalControlEnabled))}}function Ie(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",200),i["\u0275\u0275elementStart"](1,"a",201),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("my-profile_pop")})),i["\u0275\u0275elementStart"](2,"span",202),i["\u0275\u0275element"](3,"img",203),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"span",204),i["\u0275\u0275elementStart"](5,"a",205),i["\u0275\u0275listener"]("mouseenter",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).onMouseEnter(t)}))("clickElsewhere",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).closeAccountMenu()})),i["\u0275\u0275element"](6,"img",193),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](1,xe,e.userAccountMenu))}}function Te(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"ul",206),i["\u0275\u0275elementStart"](1,"li",207),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("my-profile_pop")})),i["\u0275\u0275elementStart"](2,"a",208),i["\u0275\u0275text"](3,"My Profile"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"li",8),i["\u0275\u0275elementStart"](5,"a",209),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("activate-tv")})),i["\u0275\u0275text"](6," Activate TV"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"li",8),i["\u0275\u0275elementStart"](8,"a",210),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).closeAccountMenu()})),i["\u0275\u0275text"](9," My List"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li",207),i["\u0275\u0275listener"]("click",(function(t){return i["\u0275\u0275restoreView"](e),t.stopPropagation()})),i["\u0275\u0275elementStart"](11,"a",211),i["\u0275\u0275text"](12," Parental Lock "),i["\u0275\u0275elementStart"](13,"label",197),i["\u0275\u0275elementStart"](14,"input",198),i["\u0275\u0275listener"]("change",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).onToggleChange(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"span",212),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li",8),i["\u0275\u0275elementStart"](17,"a",213),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).onPlansMenuClick()})),i["\u0275\u0275text"](18,"Plans"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li",207),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("logout_pop")})),i["\u0275\u0275elementStart"](20,"a",214),i["\u0275\u0275text"](21,"Logout"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](14),i["\u0275\u0275property"]("checked",e.isParentalControlEnabled)}}function Me(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",162),i["\u0275\u0275elementStart"](1,"div",20),i["\u0275\u0275elementStart"](2,"header",163),i["\u0275\u0275elementStart"](3,"div",164),i["\u0275\u0275elementStart"](4,"a",165),i["\u0275\u0275elementStart"](5,"img",166),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().setActiveMenu("home")})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"nav",167),i["\u0275\u0275listener"]("load",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onLoadHeaderActiveMenu()})),i["\u0275\u0275elementStart"](7,"ul",168),i["\u0275\u0275template"](8,Ce,4,5,"li",169),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",170),i["\u0275\u0275listener"]("mouseleave",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onMouseOutbeforelogin(t)})),i["\u0275\u0275elementStart"](10,"div",171),i["\u0275\u0275elementStart"](11,"a",172),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showPop("search_pop")})),i["\u0275\u0275element"](12,"img",173),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"a",174),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showPop("search_pop")})),i["\u0275\u0275element"](14,"img",175),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,Se,2,3,"a",176),i["\u0275\u0275template"](16,Oe,2,0,"a",177),i["\u0275\u0275template"](17,ke,2,3,"a",178),i["\u0275\u0275elementStart"](18,"span",179),i["\u0275\u0275listener"]("mouseleave",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onMouseOutbeforelogin(t)})),i["\u0275\u0275template"](19,Pe,10,4,"ul",180),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"span",179),i["\u0275\u0275listener"]("mouseleave",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onMouseOut(t)})),i["\u0275\u0275template"](21,Ie,7,3,"a",181),i["\u0275\u0275template"](22,Te,22,1,"ul",182),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"div",183),i["\u0275\u0275elementStart"](24,"div",184),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showPop("search_pop")})),i["\u0275\u0275elementStart"](25,"a"),i["\u0275\u0275element"](26,"img",173),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"a",185),i["\u0275\u0275element"](28,"img",175),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"a",186),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().mobileToggle("mobileMenu")})),i["\u0275\u0275element"](30,"img",187),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngForOf",e.header_tabs),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!e.showSubscribeButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.loginStatus),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.loginStatus),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.userAccountMenuBeforeLogin),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.loginStatus),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.userAccountMenu)}}function Ae(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"li",229),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);
1const n=t.$implicit,r=t.index;return i["\u0275\u0275nextContext"](2).menuRedirect(n,r,!0)})),i["\u0275\u0275elementStart"](2,"a",230),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=t.$implicit,n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](3,xe,n.isActiveHeaderTab(e))),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("id","",e.home_link,"_mobile"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"]("all"==e.display_title.toLowerCase()?"Home":e.display_title)}}function De(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"li",224),i["\u0275\u0275elementStart"](1,"a",225),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("my-profile_pop")})),i["\u0275\u0275text"](2,"My Profile"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](1,xe,"profile"==e.activeMenuString))}}function je(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"li",224),i["\u0275\u0275elementStart"](1,"a",231),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).closeMobileMenu()})),i["\u0275\u0275text"](2,"My List"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](1,xe,"watchlist"==e.activeMenuString))}}function Ne(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"li",224),i["\u0275\u0275elementStart"](1,"a",225),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("activate-tv")})),i["\u0275\u0275text"](2,"Activate TV"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](1,xe,"tv"==e.activeMenuString))}}function Re(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"li",163),i["\u0275\u0275elementStart"](1,"a",232),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("logout_pop")})),i["\u0275\u0275text"](2,"Logout"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function Le(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"li",41),i["\u0275\u0275elementStart"](1,"div",233),i["\u0275\u0275elementStart"](2,"a",234),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).loginBasedonRegion()})),i["\u0275\u0275text"](3,"sign in"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function Fe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",215),i["\u0275\u0275elementStart"](1,"div",162),i["\u0275\u0275elementStart"](2,"div",20),i["\u0275\u0275elementStart"](3,"header",216),i["\u0275\u0275elementStart"](4,"div",217),i["\u0275\u0275elementStart"](5,"div",218),i["\u0275\u0275elementStart"](6,"a",219),i["\u0275\u0275element"](7,"img",220),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"img",221),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closeMobileMenu()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"nav",163),i["\u0275\u0275elementStart"](10,"ul",222),i["\u0275\u0275template"](11,Ae,4,5,"ng-container",223),i["\u0275\u0275elementStart"](12,"li",224),i["\u0275\u0275elementStart"](13,"a",225),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);const t=i["\u0275\u0275nextContext"]();return t.onPlansMenuClick(),t.menuRedirect("plans","",!0)})),i["\u0275\u0275text"](14,"Plans"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,De,3,3,"li",226),i["\u0275\u0275template"](16,je,3,3,"li",226),i["\u0275\u0275template"](17,Ne,3,3,"li",226),i["\u0275\u0275template"](18,Re,3,0,"li",227),i["\u0275\u0275template"](19,Le,4,0,"li",228),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("ngForOf",e.header_tabs),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](7,xe,"plans"==e.activeMenuString)),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.loginStatus),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.loginStatus),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.loginStatus),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.loginStatus),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.loginStatus)}}function Ve(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"li",163),i["\u0275\u0275elementStart"](1,"a",241),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"](2).showPop("delete_watch")})),i["\u0275\u0275text"](2,"Clear Watch History"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function Be(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",235),i["\u0275\u0275elementStart"](1,"div",162),i["\u0275\u0275elementStart"](2,"div",20),i["\u0275\u0275elementStart"](3,"header",216),i["\u0275\u0275elementStart"](4,"div",217),i["\u0275\u0275elementStart"](5,"div",218),i["\u0275\u0275elementStart"](6,"a",236),i["\u0275\u0275element"](7,"img",220),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"i",237),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closeMobileMenu()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"nav",218),i["\u0275\u0275elementStart"](10,"ul",168),i["\u0275\u0275elementStart"](11,"li",163),i["\u0275\u0275elementStart"](12,"a",238),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showPop("acc_details","accountDetailsForm")})),i["\u0275\u0275text"](13,"Account Details"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li",163),i["\u0275\u0275elementStart"](15,"a",239),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closeMobileMenu()})),i["\u0275\u0275text"](16,"Watchlist"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,Ve,3,0,"li",227),i["\u0275\u0275elementStart"](18,"li",163),i["\u0275\u0275elementStart"](19,"a",240),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showPop("logout_pop")})),i["\u0275\u0275text"](20,"Logout"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();
1i["\u0275\u0275advance"](17),i["\u0275\u0275property"]("ngIf",e.continueWatchLength>0)}}function Ue(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"form",90,28),i["\u0275\u0275listener"]("ngSubmit",(function(){i["\u0275\u0275restoreView"](e);const t=i["\u0275\u0275nextContext"]();return t.onClickSendOtpToMobile(t.userMobileLogin.get("sign_in_userid").value)})),i["\u0275\u0275elementStart"](2,"div",242),i["\u0275\u0275elementStart"](3,"mat-form-field",243),i["\u0275\u0275elementStart"](4,"mat-label",244),i["\u0275\u0275text"](5," Country Code * "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-select",245),i["\u0275\u0275listener"]("valueChange",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().callingCode=t})),i["\u0275\u0275elementStart"](7,"mat-option",246),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-form-field",247),i["\u0275\u0275elementStart"](10,"mat-label",248),i["\u0275\u0275text"](11,"Mobile Number *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"input",249),i["\u0275\u0275listener"]("cut",(function(t){return i["\u0275\u0275restoreView"](e),t.preventDefault()}))("copy",(function(t){return i["\u0275\u0275restoreView"](e),t.preventDefault()}))("paste",(function(t){return i["\u0275\u0275restoreView"](e),t.preventDefault()}))("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numberOnly(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",11),i["\u0275\u0275elementStart"](14,"button",250),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closePop("logoutform")})),i["\u0275\u0275text"](15,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"button",251),i["\u0275\u0275text"](17,"Continue"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"div",65),i["\u0275\u0275elementStart"](19,"p",10),i["\u0275\u0275text"](20," Not a member? "),i["\u0275\u0275elementStart"](21,"span",135),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showPop("register-popup","")})),i["\u0275\u0275text"](22,"REGISTER"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("formGroup",e.userMobileLogin),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("value",e.callingCode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("value",e.callingCode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](e.callingCode),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",e.userMobileLogin.get("sign_in_userid").touched&&e.userMobileLogin.get("sign_in_userid").errors?"oriya-color8":"oriya-color1"),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("disabled",e.showLoginOTP),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",e.showLoginOTP)("ngClass",e.showLoginOTP?"oriya-btn-grn_new":"login_sub_btn continue")}}function He(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"form",90,28),i["\u0275\u0275listener"]("ngSubmit",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onClickEmail()})),i["\u0275\u0275elementStart"](2,"div",30),i["\u0275\u0275elementStart"](3,"p",92),i["\u0275\u0275text"](4,"Email ID *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"input",31),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",30),i["\u0275\u0275elementStart"](7,"p",92),i["\u0275\u0275text"](8,"Password *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"input",252),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",32),i["\u0275\u0275elementStart"](11,"button",250),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closePop("emailpop")})),i["\u0275\u0275text"](12,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"button",251),i["\u0275\u0275text"](14,"Login"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",253),i["\u0275\u0275elementStart"](16,"p",254),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().forgotpopup()})),i["\u0275\u0275text"](17," Forgot password? "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("formGroup",e.userEmailPasswordLogin),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("disabled",e.showLoginOTP),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",e.showLoginOTP)("ngClass",e.showLoginOTP?"oriya-btn-gr
1n_new":"login_sub_btn continue")}}function ze(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",255),i["\u0275\u0275text"](1),i["\u0275\u0275elementStart"](2,"span",256),i["\u0275\u0275text"](3,"sec"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("disabled",!0),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",e.timer.sec," ")}}function Ge(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",257),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);const t=i["\u0275\u0275nextContext"]();return t.resendOtp(t.mobileNumber||t.registerForm.get("email_id").value||t.userMobileLogin.get("sign_in_userid").value)})),i["\u0275\u0275text"](1,"RESEND"),i["\u0275\u0275elementEnd"]()}}function qe(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",258),i["\u0275\u0275elementStart"](1,"span",259),i["\u0275\u0275text"](2,"Didn't receive the OTP click on "),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275text"](4,' "RESEND"'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("line-height",23,"px"))}function We(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"form",90,28),i["\u0275\u0275listener"]("ngSubmit",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onClickEmail()})),i["\u0275\u0275elementStart"](2,"div",30),i["\u0275\u0275elementStart"](3,"p",92),i["\u0275\u0275text"](4,"Email ID *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"input",31),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",30),i["\u0275\u0275elementStart"](7,"p",92),i["\u0275\u0275text"](8,"Password *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"input",252),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",32),i["\u0275\u0275elementStart"](11,"button",250),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closePop("emailpop")})),i["\u0275\u0275text"](12,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"button",251),i["\u0275\u0275text"](14,"Login"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("formGroup",e.userEmailPasswordLogin),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("disabled",e.showLoginOTP),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",e.showLoginOTP)("ngClass",e.showLoginOTP?"oriya-btn-grn_new":"login_sub_btn continue")}}function Ke(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",255),i["\u0275\u0275text"](1),i["\u0275\u0275elementStart"](2,"span",256),i["\u0275\u0275text"](3,"sec"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("disabled",!0),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",e.timer.sec," ")}}function Xe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",257),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);const t=i["\u0275\u0275nextContext"]();return t.resendOtpEmail(t.userEmailLogin.get("sign_in_userid").value)})),i["\u0275\u0275text"](1,"RESEND"),i["\u0275\u0275elementEnd"]()}}function $e(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",260),i["\u0275\u0275elementStart"](1,"span",259),i["\u0275\u0275text"](2,"Didn't receive the OTP click on "),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275text"](4,' "RESEND"'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("line-height",23,"px"))}function Qe(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",119),i["\u0275\u0275elementStart"](1,"div",120),i["\u0275\u0275elementStart"](2,"div",30),i["\u0275\u0275elementStart"](3,"p",92),i["\u0275\u0275text"](4,"Name *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"input",261),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",91),i["\u0275\u0275elementStart"](7,"p",92),i["\u0275\u0275text"](8,"Mobile Number *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"input",261),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",120),i["\u0275\u0275elementStart"](11,"div",30),i["\u0275\u0275elementStart"](12,"p",92),i["\u0275\u0275text"](13,"Email Id"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](14,"input",261),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",91),i["\u0275\u0275elementStart"](16,"p",92),i["\u0275\u0275text"](17,"Age"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"input",261),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",132),i["\u0275\u0275elementStart"](20,"button",33),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closePop("logoutform")})),i["\u0275\u0275text"](21,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"button",134),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onClickEditProfile()}
1)),i["\u0275\u0275text"](23,"Edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"div",65),i["\u0275\u0275elementStart"](25,"p",152),i["\u0275\u0275text"](26,' Click to "delete" Tarang account! '),i["\u0275\u0275elementStart"](27,"a",262),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showPop("delete-popup","")})),i["\u0275\u0275text"](28,"DELETE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("value",e.user.firstname?e.user.firstname:"-"),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("value",e.user.mobile_number?e.user.mobile_number:"-"),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("value",e.user.email_id?e.user.email_id:e.user.ext_email_id?e.user.ext_email_id:"_"),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("value",e.user.age?e.user.age:"-"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",e.showLoginOTP)}}function Ye(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1,"Enter alphabets only"),i["\u0275\u0275elementEnd"]())}function Ze(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1,"Enter a valid Mobile Number"),i["\u0275\u0275elementEnd"]())}function Je(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1,"Mobile number cannot exceed 15 digits"),i["\u0275\u0275elementEnd"]())}function et(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1,"Enter valid email id"),i["\u0275\u0275elementEnd"]())}function tt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",246),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit;i["\u0275\u0275property"]("value",e),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](e)}}function nt(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"form",27,263),i["\u0275\u0275elementStart"](3,"div",120),i["\u0275\u0275elementStart"](4,"div",264),i["\u0275\u0275elementStart"](5,"mat-form-field",265),i["\u0275\u0275elementStart"](6,"mat-label",266),i["\u0275\u0275text"](7," Name"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"input",267),i["\u0275\u0275template"](9,Ye,2,0,"mat-error",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",264),i["\u0275\u0275elementStart"](11,"mat-form-field",268),i["\u0275\u0275elementStart"](12,"mat-label",269),i["\u0275\u0275text"](13," Mobile Number "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"input",270),i["\u0275\u0275listener"]("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numberOnlyForInternationalUsers(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,Ze,2,0,"mat-error",85),i["\u0275\u0275template"](16,Je,2,0,"mat-error",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"div",120),i["\u0275\u0275elementStart"](18,"div",264),i["\u0275\u0275elementStart"](19,"mat-form-field",268),i["\u0275\u0275elementStart"](20,"mat-label",269),i["\u0275\u0275text"](21," Email Id"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"input",271),i["\u0275\u0275template"](23,et,2,0,"mat-error",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"div",264),i["\u0275\u0275elementStart"](25,"mat-form-field",265),i["\u0275\u0275elementStart"](26,"mat-label",266),i["\u0275\u0275text"](27," Age"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"mat-select",272),i["\u0275\u0275template"](29,tt,2,2,"mat-option",273),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",274),i["\u0275\u0275elementStart"](31,"button",33),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showUpdateProfile=!1})),i["\u0275\u0275text"](32,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"button",275),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().onclickU
1pdateUserProfile()})),i["\u0275\u0275text"](34,"Save"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementContainerEnd"]()}if(2&e){const e=i["\u0275\u0275reference"](2),t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formGroup",t.userProfile),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("floatLabel",t.floatLabelControl.value),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("font-size",16,"px"),i["\u0275\u0275property"]("ngClass",t.userProfile.get("user_profile_name").touched&&t.userProfile.get("user_profile_name").errors?"oriya-color8":"oriya-color1"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.userProfile.get("user_profile_name").hasError("pattern")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("floatLabel",t.floatLabelControl.value),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("font-size",16,"px"),i["\u0275\u0275property"]("ngClass",t.userProfile.get("user_profile_mobileNo").touched&&t.userProfile.get("user_profile_mobileNo").errors?"oriya-color8":"oriya-color1"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.userProfile.get("user_profile_mobileNo").hasError("pattern")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.userProfile.get("user_profile_mobileNo").hasError("maxlength")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("floatLabel",t.floatLabelControl.value),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("font-size",16,"px"),i["\u0275\u0275property"]("ngClass",t.userProfile.get("user_profile_email").touched&&t.userProfile.get("user_profile_email").errors?"oriya-color8":"oriya-color1"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.userProfile.get("user_profile_email").hasError("pattern")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("floatLabel",t.floatLabelControl.value),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("font-size",16,"px"),i["\u0275\u0275property"]("ngClass",t.userProfile.get("user_profile_age").touched&&t.userProfile.get("user_profile_age").errors?"oriya-color8":"oriya-color1"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.ageOptions),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.showLoginOTP),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",e.invalid)("ngClass",t.userProfile.touched&&t.userProfile.valid?"oriya-btn-grn_new":"login_sub_btn continue")}}function it(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1," Password is required "),i["\u0275\u0275elementEnd"]())}function rt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1," Password must be at least 6 characters "),i["\u0275\u0275elementEnd"]())}function ot(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1," Confirm password is required "),i["\u0275\u0275elementEnd"]())}function st(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1," Password and Confirm Password must match "),i["\u0275\u0275elementEnd"]())}function at(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",276),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"div",99),i["\u0275\u0275elementStart"](3,"div",277),i["\u0275\u0275elementStart"](4,"p",278),i["\u0275\u0275text"](5,"Session expired"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p",279),i["\u0275\u0275text"](7,"Your current session has expired."),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275text"](9,"Please login again."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",280),i["\u0275\u0275elementStart"](11,"a",281),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().refreshPage()})),i["\u0275\u0275text"](12,"Ok"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p",282),i["\u0275\u0275text"](14,"Note: Please note that you can only"),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275text"](16,"login to 2 devices simultaneously."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function lt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",292),i["\u0275\u0275text"](1," Required "),i["\u0275\u0275elementEnd"]())}function ct(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",283),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"div",99),i["\u0275\u0275elementStart"](3,"div",277),i["\u0275\u0275elementStart"](4,"p",278),i["\u0275\u0275text"](5,"Terms Of Service and Usage"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p",284),i["\u0275\u0275text"](7," Please take a minute to review the terms and conditions for using our services. Our terms describe how we use your data in accordance with the applicable laws and the options available to you. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"form",285),i["\u0275\u0275elementStart"](9,"p",286),i["\u0275\u0275element"](10,"input",287),i["\u0275\u0275text"](11," I agree to "),i["\u0275\u0275elementStart"](12,"a",288),i["\u0275\u0275text"](13,"terms and conditions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,lt,2,0,"div",289),i["\u0275\u0275elementStart"](15,"div",290),i["\u0275\u0275elementStart"](16,"button",291),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().agreeGDPI()})),i["\u0275\u0275text"](17,"CONTINUE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("formGroup",e.formGroupGDPI),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",e.formGroupGDPI.hasError("required","cb")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",e.formGroupGDPI.invalid)("ngClass",e.formGroupGDPI.invalid?"disabled-continuePayBtn":"continuePayBtn")}}function ut(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",293),i["\u0275\u0275text"](1,"Please enter a valid Email Address"),i["\u0275\u0275elementEnd"]())}function ht(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",293),i["\u0275\u0275text"](1,"Please enter a valid Mobile Number"),i["\u0275\u0275elementEnd"]())}function dt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",294),i["\u0275\u0275text"](1,"Please accept the terms and conditions to proceed"),i["\u0275\u0275elementEnd"]())}function pt(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",295),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"div",296
1),i["\u0275\u0275elementStart"](3,"div",297),i["\u0275\u0275elementStart"](4,"p",298),i["\u0275\u0275text"](5,"Alert!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"img",299),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closePop("signInRequired")})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",300),i["\u0275\u0275elementStart"](8,"p",301),i["\u0275\u0275text"](9," Sign in required for this action "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",302),i["\u0275\u0275elementStart"](11,"button",303),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().loginBasedonRegion()})),i["\u0275\u0275text"](12,"Let's Login"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"button",304),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closePop("signInRequired")})),i["\u0275\u0275text"](14,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function ft(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",305),i["\u0275\u0275elementStart"](1,"div",306),i["\u0275\u0275elementStart"](2,"div",307),i["\u0275\u0275element"](3,"img",308),i["\u0275\u0275elementStart"](4,"p",309),i["\u0275\u0275text"](5," Please try again "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function mt(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",310),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"div",311),i["\u0275\u0275elementStart"](3,"div",100),i["\u0275\u0275elementStart"](4,"div",20),i["\u0275\u0275elementStart"](5,"div",101),i["\u0275\u0275element"](6,"img",312),i["\u0275\u0275elementStart"](7,"p",103),i["\u0275\u0275text"](8,"Your Tarang account is not"),i["\u0275\u0275element"](9,"br"),i["\u0275\u0275text"](10," valid for use in this region."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p",104),i["\u0275\u0275text"](12,"Continue to experience Tarang in this"),i["\u0275\u0275element"](13,"br"),i["\u0275\u0275text"](14," region by Signing Up using credentials "),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275text"](16," valid for this region"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"div",41),i["\u0275\u0275elementStart"](18,"a",313),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().loginBasedonRegion()})),i["\u0275\u0275text"](19,"SIGN IN"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function gt(e,t){1&e&&i["\u0275\u0275element"](0,"img",327)}function bt(e,t){1&e&&i["\u0275\u0275element"](0,"img",328)}function _t(e,t){1&e&&i["\u0275\u0275element"](0,"img",329)}function vt(e,t){1&e&&i["\u0275\u0275element"](0,"img",330)}function yt(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",314),i["\u0275\u0275elementStart"](1,"div",57),i["\u0275\u0275elementStart"](2,"div",36),i["\u0275\u0275elementStart"](3,"div",315),i["\u0275\u0275elementStart"](4,"a"),i["\u0275\u0275elementStart"](5,"img",316),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().showSursangramPop=!1})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",317),i["\u0275\u0275elementStart"](7,"section",318),i["\u0275\u0275elementStart"](8,"div",21),i["\u0275\u0275elementStart"](9,"div",319),i["\u0275\u0275elementStart"](10,"div",320),i["\u0275\u0275element"](11,"img",321),i["\u0275\u0275template"](12,gt,1,0,"img",322),i["\u0275\u0275template"](13,bt,1,0,"img",323),i["\u0275\u0275template"](14,_t,1,0,"img",324),i["\u0275\u0275template"](15,vt,1,0,"img",325),i["\u0275\u0275elementStart"](16,"a",326),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().loginCheckSursangram()})),i["\u0275\u0275text"](17,"\u0907\u0939\u0935\u093e\u0902 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0940\u0902"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](12),i["\u0275\u0275property"]("ngIf",e.isDesktop),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isTab),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isSTab),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isMobile)}}function wt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-error",347),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](e.errorMessage)}}function Ct(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",348),i["\u0275\u0275text"](1,"Activated Successfully"),i["\u0275\u0275elementEnd"]())}const xt=function(e){return{disabled:e}};function St(e,t){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",331),i["\u0275\u0275elementStart"](1,"p",332),i["\u0275\u0275text"](2,"Enter the 6 digit code"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"form",27,47),i["\u0275\u0275elementStart"](5,"div",333),i["\u0275\u0275elementStart"](6,"input",334),i["\u0275\u0275listener"]("keyup",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().keytabTV(t)}))("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numbCharOnly(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"input",335),i["\u0275\u0275listener"]("keyup",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().keytabTV(t)}))("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numbCharOnly(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"input",336),i["\u0275\u0275listener"]("keyup",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().keytabTV(t)}))("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numbCharOnly(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"input",337),i["\u0275\u0275listener"]("keyup",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().keytabTV(t)}))("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numbCharOnly(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"input",338),i["\u0275\u0275listener"]("keyup",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().keytabTV(t)}))("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numbCharOnly(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"input",339),i["\u0275\u0275listener"]("keyup",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().keytabTV(t)}))("keypress",(function(t){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().numbCharOnly(t)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",340),i["\u0275\u0275template"](14,wt,2,1,"mat-error",341),i["\u0275\u0275template"](15,Ct,2,0,"p",342),i["\u0275\u0275elementStart"](16,"button",343),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().closePop("logoutform")})),i["\u0275\u0275text"](17," Cancel "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"button",344,345),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](e),i["\u0275\u0275nextContext"]().verifyCode()})),i["\u0275\u0275text"](20," Activate "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p",346),i["\u0275\u0275text"](22,"Once you enter the activation code"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p",159),i["\u0275\u0275text"](24,'& click "ACTIVATE" can stream seamlessly in TV'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("formGroup",e.verifyToken),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("ngIf",e.errorFlag),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.successFlag),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](4,xt,e.disableActivate))}}function Ot(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",349),i["\u0275\u0275elementStart"](1,"p",350),i["\u0275\u0275text"](2,"Please Login to Activate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}const kt="pb_signup_flow_start_ts",Et="pb_signup_otp_failure_count";let Pt=(()=>{class e{constructor(e,t,n,i,r,o,s,a,l,u,h,d,p,f,m){var g,b,_,v,y,w,C,x,S,O,k,E,P,I,T,M,A,D,j,N,R,L,F,V;let B;if(this.broadcastService=e,this.userService=t,this.commonService=n,this.router=i,this.route=r,this.fb=o,this.loadingService=s,this.snackbar=a,this.globalService=l,this.location=u,this.analytics=
1h,this.plansService=d,this.activatedRoute=p,this.deviceService=f,this.locationService=m,this.coords=null,this.loading=!1,this.ageOptions=[],this.userAccountMenuBeforeLogin=!1,this.successFlag=!1,this.errorMessage="",this.errorFlag=!1,this.loginStatus=!1,this.errorStatus=!1,this.backendErrorStatus=!0,this.timer={},this.forgotPassMobileNumber="",this.forgotPassEmailId="",this.browser="web",this.user_det={user_name:""},this.loginTypes="email",this.userAccountMenu=!1,this.countryCodeStatus=!1,this.mobileMenu=!1,this.profileMenu=!1,this.mobileMenuOpen=!0,this.user={},this.backendMessageStatus=!1,this.loginType="",this.session="",this.region="",this.floatLabelControl=new c.f("always"),this.countryCodes=q,this.searchFilter="",this.defaultCountrycode=[],this.callingCode="+91",this.closeSwitchNetworkPopup=!1,this.retryToast=!1,this.otpMobileValue="0000000000",this.showUpdateProfile=!1,this.showChangeNumber=!1,this.showChangeName=!1,this.showChangeEmail=!1,this.showProfileUpdateOtp=!1,this.showLoginOTP=!1,this.showLoginEmailOTP=!1,this.keepOtpCountdown=!1,this.idleTimeoutMs=36e5,this.lastActivityAt=Date.now(),this.idleLogoutFired=!1,this.userProfileDetails={},this.isSessionExpired=!1,this.isGDPIApproved=!0,this.isDesktop=!1,this.isMobile=!1,this.isTab=!1,this.isSTab=!1,this.showSursangramPop=!1,this.showDiffRegionPop=!1,this.forgot_pasword_mobile=new c.f(""),this.forgot_pasword_email=new c.f(""),this.forgotPasswordOtp="",this.gdprText="",this.termsAndConditionUrl="",this.isParentalControlEnabled=!1,this.isRegisterPopupVisible=!1,this.termsAccepted=!1,this.hasAttemptedSubmit=!1,this.disableActivate=!0,this.showSubscribeButton=!1,this.supportedRegion=[],this.gdprFlag=!1,this.gdprforregion=!1,this.showGDPRPopup=!1,this.isGdprPopupVisible=!0,this.deviceType="",this.submitted=!1,this.showPassword=!1,this.showConfirmPassword=!1,this.upcomingMenuOpen=!1,this.userMobileLogin=this.fb.group({floatLabel:this.floatLabelControl}),this.userEmailLogin=this.fb.group({floatLabel:this.floatLabelControl}),this.userProfile=this.fb.group({floatLabel:this.floatLabelControl}),(null===(g=this.router.browserUrlTree)||void 0===g?void 0:g.queryParams)&&(null===(_=null===(b=this.router.browserUrlTree)||void 0===b?void 0:b.queryParams)||void 0===_?void 0:_.browser)&&(this.browser=null===(y=null===(v=this.router.browserUrlTree)||void 0===v?void 0:v.queryParams)||void 0===y?void 0:y.browser),this.browser=window.innerWidth<1200?"mweb":"web",this.deviceType=this.deviceService.isMobile()?"mweb":this.deviceService.isTablet()?"Tablet":"browser",$(".modal").modal("hide"),$("body").removeClass("menu-open"),window.scrollTo(0,0),this.router.browserUrlTree&&(null===(w=this.router.browserUrlTree)||void 0===w?void 0:w.queryParams)&&("mobile"!=(null===(x=null===(C=this.router.browserUrlTree)||void 0===C?void 0:C.queryParams)||void 0===x?void 0:x.browser)&&"android"!=(null===(O=null===(S=this.router.browserUrlTree)||void 0===S?void 0:S.queryParams)||void 0===O?void 0:O.browser)&&"ios"!=(null===(E=null===(k=this.router.browserUrlTree)||void 0===k?void 0:k.queryParams)||void 0===E?void 0:E.browser)||(this.browser=null===(I=null===(P=this.router.browserUrlTree)||void 0===P?void 0:P.queryParams)||void 0===I?void 0:I.browser,this.region=null===(M=null===(T=this.router.browserUrlTree)||void 0===T?void 0:T.queryParams)||void 0===M?void 0:M.region),"appStores"!=(null===(D=null===(A=this.router.browserUrlTree)||void 0===A?void 0:A.queryParams)||void 0===D?void 0:D.utm_medium)&&"true"!=(null===(N=null===(j=this.router.browserUrlTree)||void 0===j?void 0:j.queryParams)||void 0===N?void 0:N.share_url)||this.analytics.logEvent("utm_link",{source:window.location.href.slice(-100),platform:this.browser}),"appStores"!=(null===(L=null===(R=this.router.browserUrlTree)||void 0===R?void 0:R.queryParams)||void 0===L?void 0:L.utm_medium)&&"zingplay"!=(null===(V=null===(F=this.router.browserUrlTree)||void 0===F?void 0:F.queryParams)||void 0===V?void 0:V.source)||("iOS"==this.deviceService.getDeviceInfo().os||"Mac"==this.deviceService.getDeviceInfo().os?setTimeout(()=>{window.location.href="https://apps.apple.com/in/app/dangal-play/id1635779590"},1500):setTimeout(()=>{window.location.href="https://play.google.com/store/apps/details?id=com.dangalplay.tv&pli=1"},1500))),B=""==this.location.path()?"home":this.location.path().split("/")[1],"users"==this.location.path().split("/")[1])B=this.location.path().split("/")[2];else if("live-tv"==this.location.path().split("/")[1])B="o-live";else if("shorts"==this.location.path().split("/")[1])B="shorts-list";else if("home"==this.location.path().split("/")[1])B="home",this.router.navigate(["/"]);else if("signin"==this.location.path().split("/")[1]){let e=this;window.localStorage.getItem("otv_user_id")?this.router.navigate(["/"]):$(document).ready((function(){e.loginScreen()}))}window.localStorage&&window.localStorage.setItem("globalTabName",B),window.localStorage&&(this.activeMenuString=window.localStorage.getItem("globalTabName")),window.localStorage&&(this.gdprText=window.localStorage.getItem("gdprText")),this.mobileMenu=!1,this.profileMenu=!1,this.mobileMenuOpen=!0,this.broadcastService.on(new G.a("switchnetworkpopup",null)).subscribe(e=>this.showSwitchNetworkPopup()),this.broadcastService.on(new G.a("getContiueWatching",null)).subscribe(e=>this.getContinueWatching()),this.broadcastService.on(new G.a("sessionExpired",null)).subscribe(e=>this.sessionExpired()),this.broadcastService.on(new G.a("logout",null)).subscribe(e=>this.refreshPage()),this.broadcastService.on(new G.a("showRegionCheck",null)).subscribe(e=>this.fireRegionCheck()),this.broadcastService.on(new G.a("showDiffRegionPop",null)).subscribe(e=>this.popupForDiffRegion()),this.broadcastService.on(new G.a("openLogin",null)).subscribe(e=>this.loginBasedonRegion())}getLocation(){this.loading=!0,this.locationService.getCurrentLocation().subscribe({next:e=>{this.coords=e,this.loading=!1,this.plansService.locationTrack(e.latitude,e.longitude,this.session).subscribe({next:e=>{console.log("\u2713 Location tracked successfully",e),this.loading=!1},error:e=>{console.error("\u2717 API error:",e),this.loading=!1}})},error:e=>{this.errorMessage=e,this.loading=!1;
1const t=window.localStorage.getItem("regionDetails");if(t){const e=JSON.parse(t);this.plansService.locationTrack(e.region.latitude,e.region.longitude,this.session).subscribe({next:e=>{console.log("\u2713 Location tracked successfully",e),this.loading=!1},error:e=>{console.error("\u2717 API error:",e),this.loading=!1}})}}})}useFallbackLocation(){var e,t;console.log("Using fallback location from localStorage");const n=localStorage.getItem("regionDetails");if(n)try{const i=JSON.parse(n),r=null===(e=null==i?void 0:i.region)||void 0===e?void 0:e.latitude,o=null===(t=null==i?void 0:i.region)||void 0===t?void 0:t.longitude;console.log("Fallback location:",r,o),this.coords={latitude:r,longitude:o}}catch(i){console.error("Invalid regionDetails JSON:",i)}this.loading=!1}shouldShowPopup(){const e=this.router.url,t=this.supportedRegion.includes(this.region),n="true"===localStorage.getItem("gdpr_flag");return this.session&&"IN"!==this.region&&t&&n&&"ios"!==this.browser&&"android"!==this.browser&&"/terms_and_conditions"!==e}visibilitychange(){this.checkHiddenDocument(this)}checkHiddenDocument(e){"android"!=this.browser&&(document.hidden||(window.localStorage.getItem("otv_user_id")&&e.userService.autoRegion(this.region).subscribe(t=>{let n=window.localStorage.getItem("region");e.region=t.region.country_code2,window.localStorage.setItem("portal_code",t.region.postal_code),window.localStorage&&window.localStorage.setItem("region",this.region),n&&n!=e.region&&("web"==e.browser?e.fireRegionCheck():androidRegionCheck()),this.callingCode=t.region.calling_code.startsWith("00")?"+"+t.region.calling_code.split("00")[1]:t.region.calling_code,this.defaultCountrycode=this.countryCodes.filter(e=>e.code===this.region)[0]},e=>{"1016"===e.server_error_code&&this.sessionExpired()}),"/"==document.location.pathname&&e.appConfigApi(!1)))}showSwitchNetworkPopup(){this.closeSwitchNetworkPopup=!0}loginScreen(){this.showPop("signin_pop","")}getDeepestChild(e){for(;e.firstChild;)e=e.firstChild;return e}ngOnInit(){this.changePasswordForm=this.fb.group({password:["",[c.w.required,c.w.minLength(6)]],confirm_password:["",c.w.required]},{validators:this.passwordMatchValidator}),this.route.queryParams.subscribe(e=>{this.forgotPinSecretKey=e.forgot_pin_secret_key,console.log("forgot_pin_secret_key:",this.forgotPinSecretKey)}),this.userService.autoRegion(this.region).subscribe(e=>{this.region=e.region.country_code2,window.localStorage.setItem("IPzip",JSON.stringify(e.region)),window.localStorage.setItem("region",this.region)}),this.userEmailPasswordLogin=this.fb.group({email:["",[c.w.required,c.w.email]],password:["",[c.w.required,c.w.minLength(6)]]}),this.userForgotPassword=this.fb.group({email:["",[c.w.required,c.w.email]]}),"android"!==this.browser&&this.regionAutoDetect(),this.setLoginStatus(),this.initializeForms(),window.innerWidth>1199?this.isDesktop=!0:window.innerWidth>767&&window.innerWidth<1200?this.isTab=!0:window.innerWidth>480&&window.innerWidth<768?this.isSTab=!0:window.innerWidth<481&&(this.isMobile=!0),null!=window.localStorage&&(this.session=window.localStorage.getItem("otv_user_id"),this.browser=window.localStorage.getItem("browser")),this.userDetails(),this.ageOptions=Array.from({length:83},(e,t)=>t+18);const e=localStorage.getItem("parentalControl");null!==e&&(this.isParentalControlEnabled="true"===e),"true"===localStorage.getItem("redirectToHome")&&(localStorage.removeItem("redirectToHome"),this.router.navigate(["/"])),this.session?this.verifyToken=this.fb.group({in1:new c.f("",[c.w.required,c.w.maxLength(1),c.w.pattern("/^[a-zA-Z0-9]/g")]),in2:new c.f("",[c.w.required,c.w.maxLength(1),c.w.pattern("^[a-zA-Z0-9]+$")]),in3:new c.f("",[c.w.required,c.w.maxLength(1),c.w.pattern("^[a-zA-Z0-9]+$")]),in4:new c.f("",[c.w.required,c.w.maxLength(1),c.w.pattern("^[a-zA-Z0-9]+$")]),in5:new c.f("",[c.w.required,c.w.maxLength(1),c.w.pattern("^[a-zA-Z0-9]+$")]),in6:new c.f("",[c.w.required,c.w.maxLength(1),c.w.pattern("^[a-zA-Z0-9]+$")])}):this.broadcastService.dispatch(new G.a("login",null))}passwordMatchValidator(e){var t,n,i,r,o;const s=null===(t=e.get("password"))||void 0===t?void 0:t.value,a=null===(n=e.get("
1confirm_password"))||void 0===n?void 0:n.value;if(s&&a&&s!==a)null===(i=e.get("confirm_password"))||void 0===i||i.setErrors({mismatch:!0});else{const t=null===(r=e.get("confirm_password"))||void 0===r?void 0:r.errors;t&&(delete t.mismatch,Object.keys(t).length||null===(o=e.get("confirm_password"))||void 0===o||o.setErrors(null))}return null}onSubmit(){if(this.submitted=!0,this.changePasswordForm.invalid)return;const e={user:{password:this.changePasswordForm.value.password,confirm_password:this.changePasswordForm.value.confirm_password,region:this.region,key:window.localStorage.getItem("forgot_otp"),type:"msisdn",email_id:localStorage.getItem("forgot_password_email")}};console.log(e),this.plansService.changePassword(e,this.region).subscribe({next:e=>{console.log("Success:",e),this.showLogin()},error:e=>{var t,n;console.error("Change password error:",e);const i=(null===(n=null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.error)||void 0===n?void 0:n.message)||"Something went wrong";alert("Error changing password: "+i)}})}setActiveMenu(e){this.activeMenuString=e}isActiveHeaderTab(e){if(!e)return!1;if(e.home_link===this.activeMenuString)return!0;const t=["shorts","shorts-list"];return-1!==t.indexOf(e.home_link)&&-1!==t.indexOf(this.activeMenuString)}autoLogin(e){}setLoginStatus(){this.loginStatus=!!window.localStorage.getItem("otv_user_id")}showSursangram(){"/sursangram"!=window.location.pathname&&(this.showSursangramPop=!0)}fireRegionCheck(){$(".modal").modal("hide"),window.localStorage.getItem("otv_user_id")&&this.commonService.removeOtvUserLocalStorage(),this.session="",this.loginStatus=!1,""==this.location.path()?this.showDiffRegionPop=!0:this.router.navigate(["/"],{state:{flag:"diffRegionPop"}})}popupForDiffRegion(){$("#region_change_pop").modal("show"),this.showDiffRegionPop=!0}fixCode(e,t){(e.controls.sign_in_userid||0==e.get(t).value.length||e.get(t).value.length<3)&&e.get(t).setValue(this.callingCode)}showErrorSnackbar(e,t){e.controls[t].errors&&(e.controls[t].errors.required&&("user_register_mobile"===t&&this.snackbar.open("Enter a valid 9mobile number","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"user_register_password"===t&&this.snackbar.open("Password cannot be blank","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"sign_in_userid"===t&&this.snackbar.open("Enter a valid User ID","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"sign_in_password"===t&&this.snackbar.open("Password cannot be blank","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"frgt_pwd_mobile_no"===t&&this.snackbar.open("User Id cannot be empty","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"reset_password"===t&&this.snackbar.open("Password cannot be blank","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"reset_confirm_password"===t&&this.snackbar.open("Password cannot be blank","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"frgt_userid_mobile_no"===t&&this.snackbar.open("Mobile Number cannot be empty","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})),e.controls[t].errors.minlength&&("user_register_mobile"===t&&this.snackbar.open("Enter a valid 9mobile number","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"user_register_confirm_password"!==t&&"reset_confirm_password"!==t||this.snackbar.open("Password Minimum length is 8 characters","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"sign_in_userid"===t&&this.snackbar.open("User id Minimum length is 8 characters","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"sign_in_password"===t&&this.snackbar.open("Password Minimum length is 8 characters","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"frgt_pwd_mobile_no"===t&&this.snackbar.open("Invalid User Id","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"reset_password"===t&&this.snackbar.open("Password Minimum length is 8 characters","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"frgt_userid_mobile_no"===t&&this.snackbar.open("Enter a valid 9mobile number","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})),e.controls[t].errors.maxlength&&("user_register_mobile"===t&&this.snackbar.open("Enter a valid 9mobile number","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"sign_in_userid"===t&&this.snackbar.open("User id Maximum length is 8 characters","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"frgt_pwd_mobile_no"===t&&this.snackbar.open("Invalid User Id","",{duration:2500,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"frgt_userid_mobile_no"===t&&this.snackbar.open("Mobile number should not be more than 10 digits","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})),(e.controls[t].errors.email||e.controls[t].errors.pattern)&&("user_register_email"!==t&&"user_profile_email"!==t||this.snackbar.open("Email Id is invali
1d","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})),e.controls[t].errors.mustMatch&&("user_register_confirm_password"===t&&this.snackbar.open("Password should be same","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),"reset_confirm_password"===t&&this.snackbar.open("Password should be same","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})))}showSuccessMsgSnackbar(e){this.snackbar.open(e,"X",{verticalPosition:"top",horizontalPosition:"center",panelClass:["success-snackbar"],duration:3e3})}showErrorMsgSnackbar(e){this.snackbar.open(e,"X",{verticalPosition:"top",horizontalPosition:"center",panelClass:["alert-snackbar"],duration:3e3})}startTimer(e){if(this.timer.oldIntervalId&&(clearInterval(this.timer.oldIntervalId),this.timer.oldIntervalId=null),this.timer.sec=e?0:120,0==this.timer.sec)return;let t=setInterval(()=>{""===e&&this.timer.sec-1==-1?this.timer.sec=120:--this.timer.sec,0==this.timer.sec&&clearInterval(t)},1e3);return this.timer.oldIntervalId=t}stopTimer(){this.keepOtpCountdown||this.startTimer(!0)}isSignUpOtpFlow(){return"sign_up"===(localStorage.getItem("phone_login_type")||"").toLowerCase()}resendOtp(e){const t=this.mobileNumber||this.forgotPassMobileNumber||e,n=t?t.toString().replace(/\D/g,"").slice(-10):"";n&&10===n.length?(this.keepOtpCountdown=!0,this.isSignUpOtpFlow()?(localStorage.setItem("phone_login_type","Sign_up"),this.resendRegisterOtp(n)):this.onClickSendOtpToMobile(n)):this.showErrorMsgSnackbar("Please enter a valid Mobile Number")}startOtpCountdown(){this.keepOtpCountdown=!0,this.startTimer("")}resendRegisterOtp(e){var t,n;const i=(null===(n=null===(t=this.registerForm)||void 0===t?void 0:t.value)||void 0===n?void 0:n.region)||"+91",r=this.mobileNumber||this.forgotPassMobileNumber||i+e,o="+91"!==this.region&&this.region?this.region:"IN",s={email_id:r.startsWith("+")?r:"+"+r.replace(/^\+/,""),region:o,type:"msisdn"};this.loadingService.showLoader(),this.userService.resendOtp(s).subscribe(e=>{var t;this.loadingService.hideLoader(),(null==e?void 0:e.error)?this.resendRegisterVerificationFallback(r,o):(this.showSuccessMsgSnackbar((null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.message)||"OTP resent to your mobile number"),this.startOtpCountdown())},()=>{this.resendRegisterVerificationFallback(r,o)})}resendRegisterVerificationFallback(e,t){this.userService.resendRegisterVerification(e,t).subscribe(e=>{var t;this.loadingService.hideLoader(),(null==e?void 0:e.error)?this.showErrorMsgSnackbar(e.error.message||"Something went wrong. Please try again."):(this.showSuccessMsgSnackbar((null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.message)||"OTP resent to your mobile number"),this.startOtpCountdown())},e=>{this.loadingService.hideLoader(),this.showErrorMsgSnackbar(e.server_error_messsage||"Something went wrong. Please try again.")})}resendOtpEmail(e){this.timer.sec=120,this.onClickSendOtpToEmail(e),this.startTimer("")}showerrorSnackbarFormControl(e){e.errors.required&&this.snackbar.open("Enter a valid Mobile Number","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),e.errors.minlength&&this.snackbar.open("Mobile number should be minimum of 10 digits","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]}),e.errors.maxlength&&this.snackbar.open("Mobile number should not be more than 10 digits","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})}verifyCode(){this.userService.getGenerateToken(this.session,this.verifyToken.controls.in1.value+this.verifyToken.controls.in2.value+this.verifyToken.controls.in3.value+this.verifyToken.controls.in4.value+this.verifyToken.controls.in5.value+this.verifyToken.controls.in6.value,this.region).subscribe(e=>{this.successFlag=!0,this.verifyTokenForm.resetForm(),setTimeout((function(){this.successFlag=!1,this.router.navigate(["/"])}).bind(this),2500)},e=>{this.errorMessage=e.server_error_messsage,"1016"===e.server_error_code?this.sessionExpired():(this.errorFlag=!0,setTimeout((function(){this.errorFlag=!1}).bind(this),4500))})}keytab(e){"Backspace"==e.key?e.target.previousElementSibling&&e.target.previousElementSibling.focus():1==e.key.length&&" "!==e.key&&e.key.match(/[0-9]/)&&e.target.nextElementSibling&&e.target.nextElementSibling.focus()}ngAfterViewInit(){window.localStorage&&"true"==window.localStorage.getItem("retryToast")&&(this.retryToast=!0,setTimeout((function(){this.retryToast=!1,window.localStorage.setItem("retryToast","false")}).bind(this),3e3)),this.startIdleWatch()}ngOnDestroy(){this.stopIdleWatch()}markUserActivity(){this.lastActivityAt=Date.now(),this.idleLogoutFired=!1}onWindowBecameActive(){this.checkIdleTimeout()}startIdleWatch(){"android"!==this.browser&&"ios"!==this.browser&&(this.markUserActivity(),this.stopIdleWatch(),this.idleCheckTimer=setInterval(()=>this.checkIdleTimeout(),15e3))}stopIdleWatch(){this.idleCheckTimer&&(clearInterval(this.idleCheckTimer),this.idleCheckTimer=null)}isVideoPlaying(){const e=document.querySelectorAll("video");for(let t=0;t<e.length;t++){const n=e[t];if(!n.paused&&!n.ended&&n.currentTime>0)return!0}return!1}checkIdleTimeout(){"android"!==this.browser&&"ios"!==this.browser&&(!window.localStorage.getItem("otv_user_id")&&!this.session||this.idleLogoutFired||this.isSessionExpired||(this.isVideoPlaying()?this.lastActivityAt=Date.now():Date.now()-this.lastActivityAt>=this.idleTimeoutMs&&(this.idleLogoutFired=!0,this.sessionExpired())))}regionAutoDetect(){this.userService.autoRegion(this.region).subscribe(e=>
1{window.localStorage.setItem("regionDetails",JSON.stringify(e));let t=window.localStorage.getItem("region");if(this.region=e.region.country_code2,window.localStorage.setItem("portal_code",e.region.postal_code),window.localStorage.setItem("IPzip",JSON.stringify(e.region)),window.localStorage&&window.localStorage.setItem("region",this.region),window.localStorage.getItem("otv_user_id")&&t&&t!=this.region&&("web"==this.browser?this.fireRegionCheck():androidRegionCheck()),this.callingCode=e.region.calling_code.startsWith("00")?"+"+e.region.calling_code.split("00")[1]:e.region.calling_code,this.defaultCountrycode=this.countryCodes.filter(e=>e.code===this.region)[0],this.minPhnLimit=this.defaultCountrycode.min_limit,this.maxPhnLimit=this.defaultCountrycode.max_limit,"IN"==this.region){let e=this.userMobileLogin.get("sign_in_userid").value;this.userMobileLogin.get("sign_in_userid").valueChanges.pipe().subscribe(t=>{e!==this.userMobileLogin.get("sign_in_userid").value&&(this.showLoginOTP=!1)})}else{let e=this.userEmailLogin.get("sign_in_userid").value;this.userEmailLogin.get("sign_in_userid").valueChanges.pipe().subscribe(t=>{e!==this.userEmailLogin.get("sign_in_userid").value&&(this.showLoginEmailOTP=!1)})}if(this.region&&window.localStorage&&window.localStorage&&window.localStorage.setItem("region",this.region),this.session&&"ios"!==this.browser&&"android"!==this.browser){this.userService.userDetails(this.session,this.region).subscribe(e=>{var t,n,i;this.loginStatus=!0,this.userProfileDetails=e.data,this.isGDPIApproved=!!(null===(t=e.data)||void 0===t?void 0:t.gdpr_flag)&&(null===(n=e.data)||void 0===n?void 0:n.gdpr_flag),window.localStorage&&window.localStorage.setItem("is_subscribed",null===(i=this.userProfileDetails)||void 0===i?void 0:i.is_subscribed),this.userPlans("reload"),this.getContinueWatching()},e=>{this.loadingService.hideLoader(),"1016"!==e.server_error_code&&"Invalid User Id"!==e.server_error_messsage||this.sessionExpired()});let e=new Date,t=e.getMonth()+1+"/"+e.getDate()+"/"+(e.getFullYear()-18);this.maxDate=new Date(t)}this.session&&(this.loginStatus=!0,this.closeSwitchNetworkPopup=!1),this.getMenu(),this.appConfigApi(!0)},e=>{"1016"===e.server_error_code&&this.sessionExpired()})}forgotpopup(){$("#signin_pop").modal("hide"),$("#forgot_password_pop").modal("show")}forgotEmail(){var e;const t=null===(e=this.userForgotPassword.get("email"))||void 0===e?void 0:e.value;this.plansService.forgotEmail({region:this.region,user_id:t,type:"email"},this.region).subscribe({next:e=>{console.log("Success:",e),this.showSuccessMsgSnackbar("Reset link sent to your email"),this.userForgotPassword.reset(),this.closePop("forgotform"),$("#forgot_password_pop").modal("hide"),$("#signin_otp_pop_email").modal("show"),this.forgot_pasword_email.setValue(t),window.localStorage.setItem("screen_from","forgot_email")},error:e=>{console.error("Forgot password error:",e),this.showSuccessMsgSnackbar(e.error.error.message)}})}onClickMobileForgot(e){this.plansService.forgotEmail({region:this.region,user_id:"91"+e,type:"msisdn"},this.region).subscribe({next:e=>{console.log("Success:",e),this.showSuccessMsgSnackbar("Reset link sent to your mobile number"),this.userMobileLogin.reset(),this.closePop("forgotform")},error:e=>{console.error("Forgot password error:",e),this.showSuccessMsgSnackbar(e.error.error.message)}})}userPlans(e){this.loadingService.showLoader(),this.plansService.userPlans(this.session,this.region).subscribe(e=>{var t;this.loadingService.hideLoader();const n=(null===(t=(Array.isArray(null==e?void 0:e.current_active_plans)?e.current_active_plans:[])[0])||void 0===t?void 0:t.plan_title)||"";window.localStorage.setItem("userType",n)},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code&&this.sessionExpired()})}sessionExpired(){this.loadingService.hideLoader(),this.unblockUi(),this.isSessionExpired||(this.isSessionExpired=!0,this.closePop("ctn_watch_delete_pop"),window.localStorage.getItem("otv_user_id")&&this.commonService.removeOtvUserLocalStorage(),this.session="",this.loginStatus=!1,this.userProfileDetails={},this.user={},setTimeout(()=>{this.unblockUi(),$("#session_expired").modal("show")},50))}unblockUi(){this.loadingService.hideLoader(),$(".modal-backdrop").remove(),$("body").removeClass("modal-open menu-open"),$("body").css("overflow",""),$("body").css("padding-right","")}clearInvalidSession(){this.closePop("my-profile_pop"),this.closePop("session_expired"),window.localStorage.getItem("otv_user_id")&&this.commonService.removeOtvUserLocalStorage(),this.session="",this.loginStatus=!1,this.userProfileDetails={},this.user={}}appConfigApi(e){"android"!=this.browser&&this.userService.appConfig(this.region).subscribe(t=>{var n,i,r,o,s,a,l;this.termsAndConditionUrl=t.data.params_hash2.config_params.web_pages.terms_conditions,this.loadingService.hideLoader(),this.supportedRegion=t.data.params_hash.supported_regions_for_gdpr,window.innerWidth<1200?window.localStorage&&window.localStorage.setItem("ad_slot1",JSON.stringify(null===(r=null===(i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.params_hash2)||void 0===i?void 0:i.config_params)||void 0===r?void 0:r.mweb_ads)):window.localStorage&&window.localStorage.setItem("ad_slot1",JSON.stringify(null===(a=null===(s=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.params_hash2)||void 0===s?void 0:s.config_params)||void 0===a?void 0:a.web_ads)),window.localStorage&&window.localStorage.setItem("banner_ads_available",JSON.stringify(null===(l=null==t?void 0:t.data)||void 0===l?void 0:l.banner_ads_available)),t.data.sur_sangram_flag?e&&this.showSursangram():this.showSursangramPop=!1},e=>{this.loadingService.hideLoader()})}refreshPage(){this.isSessionExpired=!1,this.unblockUi(),$(".modal").modal("hide"),window.localStorage.getItem("otv_user_id")&&this.commonService.removeOtvUserLocalStorage(),this.session="",this.loginStatus=!1,""==this.location.path()?window.location.reload():this.router.navigate(["/"])}reloadAfterLogin(){window.location.reload()}getContinueWatching(){this.loadingService.showLoader(),this.session&&this.userService.getContinueWatching(this.session,this.region).subscribe(e=>{this.loadingService.hideLoader();let t=e.data.items;this.continueWatchLength=t.length;for(var n=0;n<t.length;n++)t[n].itemURL=this.commonService.getItemURL(t[n]);window.localStorage&&window.localStorage.setItem("continueWatchItems",JSON.stringify(t)),this.broadcastService.dispatch(new G.a("continueWatchItem",t.total_items_count))},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code&&this.sessionExpired()})}initializeForms(){this.verifyToken=this.fb.group({in1:new c.f("",c.w.required),in2:new c.f("",c.w.required),in3:new c.f("",c.w.required),in4:new c.f("",c.w.required)}),this.verifyTokenEmail=this.fb.group({in1:new c.f("",c.w.required),in2:new c.f("",c.w.required),in3:new c.f("",c.w.required),in4:new c.f("",c.w.required)}),this.userMobileLogin=this.fb.group({sign_in_userid:new c.f("",[c.w.required])}),this.userEmailLogin=this.fb.group({sign_in_userid:new c.f("",c.w.compose([c.w.required,
1c.w.pattern("^[A-Za-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]))}),this.userProfile=this.fb.group({user_profile_name:new c.f("",[c.w.pattern("^[A-Za-z ]+$")]),user_profile_mobileNo:new c.f(""),user_profile_email:new c.f("",[c.w.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,}$")]),user_profile_age:new c.f("")}),this.registerForm=this.fb.group({region:new c.f("+91",[c.w.required]),email_id:new c.f("",[c.w.required,c.w.pattern("^[0-9]{10}$")]),user_email_id:new c.f("",[c.w.pattern("^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}$")]),firstname:new c.f("")}),this.getUserid=this.fb.group({userid_inputfeild:new c.f("")}),this.formGroupGDPI=this.fb.group({cb:[!1,c.w.requiredTrue]})}numberOnly(e){const t=e.which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}numberOnlyForInternationalUsers(e){const t=e.which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}reload(){window.location.reload()}showPop(e,t){var n;$(".modal").modal("hide"),$("#"+e).modal("show"),this.errorStatus=!1,"search_pop"==e?($("#dangalPlayer")[0]&&$("#dangalPlayer")[0].hasAttribute("src")&&this.broadcastService.dispatch(new G.a("stopBannerTrailer",null)),this.analytics.logEvent("app_event_click",{e_v:1,typ:"search",vst:"search",app:"web",s_q:"",e_t:"click",title:"search",u_st:window.localStorage.getItem("otv_user_analytic_id")?"registered":"anonymous",u_p_r:"NA",u_p:"NA",u_id:window.localStorage.getItem("otv_user_analytic_id"),platform:this.browser}),this.analytics.logEvent("app_event_page_visit",{e_v:1,typ:"search",vst:"search_page",app:"web",s_q:"",e_t:"page_visit",title:"search",u_st:window.localStorage.getItem("otv_user_analytic_id")?"registered":"anonymous",u_p_r:"NA",u_p:"NA",u_id:window.localStorage.getItem("otv_user_analytic_id"),platform:this.browser}),this.broadcastService.dispatch(new G.a("bannerAds",null))):"my-profile_pop"==e&&this.analytics.logEvent("app_event_click",{e_v:1,typ:"profile",vst:"profile",app:"web",s_q:"",e_t:"click",title:"profile",u_st:window.localStorage.getItem("otv_user_analytic_id")?"registered":"anonymous",u_p_r:"NA",u_p:"NA",u_id:window.localStorage.getItem("otv_user_analytic_id"),platform:this.browser}),"signin_pop"===e&&($("#dangalPlayer")[0]&&$("#dangalPlayer")[0].hasAttribute("src")&&this.broadcastService.dispatch(new G.a("stopBannerTrailer",null)),this.keepOtpCountdown=!1,this.mobileNumber="",this.stopTimer(),this.showLoginOTP=!1,null===(n=this.verifyToken)||void 0===n||n.reset()),"signin_email_pop"==e&&($("#dangalPlayer")[0]&&$("#dangalPlayer")[0].hasAttribute("src")&&this.broadcastService.dispatch(new G.a("stopBannerTrailer",null)),this.verifyTokenEmail.reset()),"loginform"==t&&(null!=this.userMobileLogin&&this.mobileLoginForm.resetForm(),this.countryCodeStatus=!1,$("#signin_pop").modal("hide")),"loginemailform"==t&&(null!=this.userEmailLogin&&this.emailLoginForm.resetForm(),this.countryCodeStatus=!1,$("#signin_email_pop").modal("hide")),"forgotuseridotpform"==t&&$("#forgot_userid_otp_pop").modal("hide"),"finduseridform"==t&&$("#find_userid_pop").modal("hide"),"signInRequired"==t&&(this.closeSwitchNetwork(),$("#closeSwitch-Network-PopUp").modal("hide")),"signInRequired"==t&&"signin_pop"==e&&(this.closeSwitchNetwork(),$("#closeSwitch-Network-PopUp").modal("hide")),"my-profile_pop"===e&&this.userDetails(!0),"accountDetailsForm"==t&&(this.countryCodeStatus=!1)}togglePassword(){this.showPassword=!this.showPassword}toggleConfirmPassword(){this.showConfirmPassword=!this.showConfirmPassword}loginBasedonRegion(){this.region=window.localStorage.getItem("region"),this.closePop("signInRequired"),"IN"==this.region?this.showLogin():this.showEmailLogin(),$("#region_change_pop").modal("hide"),this.showDiffRegionPop=!1}closePop(e){this.statusMessage="",this.errorStatus=!1,"signin_otp_pop"!==e&&"signin_otp_pop_email"!==e||(this.keepOtpCountdown=!1),this.stopTimer(),$(".modal").modal("hide"),"emailpop"==e&&(this.userEmailPasswordLogin.reset(),this.userForgotPassword.reset(),this.userMobileLogin.reset()),"forgotForm"==e&&(this.userMobileLogin.reset(),this.userForgotPassword.reset()),e&&this.clearAllFields(),"loginform"!=e&&"forgotpasswordotpform"!=e||(this.showLoginOTP=!1,this.countryCodeStatus=!1),"loginemailform"!=e&&"forgotpasswordotpformemail"!=e||(this.showLoginEmailOTP=!1,this.countryCodeStatus=!1),"forgotpasswordotpform"==e&&this.verifyToken.reset(),"forgotpasswordotpformemail"==e&&this.verifyTokenEmail.reset(),"logoutform"==e&&(this.countryCodeStatus=!1),"deleteWatchHistory"==e&&(this.countryCodeStatus=!1),"signInRequired"==e&&(this.closeSwitchNetworkPopup=!1,$("#closeSwitch-Network-PopUp").modal("hide")),"user_updatedetails_otp"==e&&(this.verifyTokenForm.resetForm(),$("#update_otp_verify").modal("hide")),"profileform"!==e&&"user_updatedetails_otp"!=e||(this.userProfile.reset(),this.showUpdateProfile=!1),$(".modal-backdrop.show").hide()}clearAllFields(){this.userMobileLogin.reset(),this.userEmailLogin.reset()}onClickProfilePop(){this.userProfile.controls.user_profile_name.setValue(this.user.firstname),this.userProfile.controls.user_profile_mobileNo.setValue(this.user.mobile_number),this.userProfile.controls.user_profile_email.setValue(this.user.email_id),this.userProfile.controls.user_profile_age.setValue(Number(this.user.age))}onToggleChange(e){const t=e.target;t.checked?this.updateParentalControl(t.checked):(this.isParentalControlEnabled=!0,t.checked=!0,this.showConfirmationPopup())}showConfirmationPopup(){const e=document.getElementById("parentak-popup");e&&(e.style.display="block")}setLoginType(e){this.loginTypes=e}closeConfirmationPopup(){const e=document.getElementById("parentak-popup");e&&(e.style.display="none")}disableParentalLock(){this.isParentalControlEnabled=!1,this.updateParentalControl(!1),this.closeConfirmationPopup()}updateParentalControl(e){if(localStorage.setItem("parentalControl",e.toString()),localStorage.setItem("redirectToHome","true"),!this.session)return this.showSuccessMsgSnackbar(e?"Parental control is On!":"Parental control is Off!"),void setTimeout(()=>{window.location.reload()},1e3);const t={auth_token:"3zZmzoHg8z6SM3wpDoyw",user:{parental_control:e?"true":"false"}};this.loadingService.showLoader(),this.userService.getUpdateUserData(t,this.session).subscribe(t=>{this.loadingService.hideLoader(),t.error||(this.showSuccessMsgSnackbar(e?"Parental control is On!":"Parental control is Off!"),setTimeout(()=>{window.location.reload()},1e3))},e=>{this.loadingService.hideLoader(),this.showErrorMsgSnackbar(e.server_error_messsage||"Failed to update parental control. Try again!")})}onclickUpdateUserProfile(){if(this.session){let e={auth_token:"3zZmzoHg8z6SM3wpDoyw",user:{user_email_id:this.userProfile.controls.user_profile_email.value,mobile_number:this.userProfile.controls.user_profile_mobileNo.value,firstname:this.userProfile.controls.user_profile_name.value,age:this.userProfile.controls.user_profile_age.value}};this.loadingService.showLoader(),this.userService.getUpdateUserData(e,this.session).subscribe(e=>{var t,n,i,r,o,s,a,l,c,u,h,d,p,f,m,g,b,_,v,y,w,C,x,S,O,k;if(this.loadingService.hideLoader(),!e.error){this.showSuccessMsgSnackbar("Changes saved successfully!"),this.userDetails(),this.showUpdateProfile=!1;try{if("undefined"!=typeof webengage&&(null===webengage||void 0===webengage?void 0:webengage.track)){const e=(null!==(n=null===(t=this.user)||void 0===t?void 0:t.firstname)&&void 0!==n?n:"").toString().trim(),E=(null!==(s=null!==(r=null===(i=this.user)||void 0===i?void 0:i.user_email_id)&&void 0!==r?r:null===(o=this.user)||void 0===o?void 0:o.email_id)&&void 0!==s?s:"").toString().trim(),P=(null!==(l=null===(a=this.user)||void 0===a?void 0:a.mobile_number)&&void 0!==l?l:"").toString().trim(),I=(null!==(u=null===(c=this.user)||void 0===c?void 0:c.age)&&void 0!==u?u:"").toString().trim(),T=(null!==(f=null===(p=null===(d=null===(h=this.userProfile)||void 0===h?void 0:h.controls)||void 0===d?void 0:d.user_profile_name)||void 0===p?void 0:p.value)&&void 0!==f?f:"").toString().trim(),M=(null!==(_=null===(b=null===(g=null===(m=this.userProfile)||void 0===m?void 0:m.controls)||void 0===g?void 0:g.user_profile_email)||void 0===b?void 0:b.value)&&void 0!==_?_:"").toString().trim(),A=(null!==(C=null===(w=null===(y=null===(v=this.userProfile)||void 0===v?void 0:v.controls)||void 0===y?void 0:y.user_profile_mobileNo)||void 0===w?void 0:w.value)&&void 0!==C?C:"").toString().trim(),D=(null!==(k=null===(O=null===(S=null===(x=this.userProfile)||void 0===x?void 0:x.controls)||void 0===S?void 0:S.user_profile_age)||void 0===O?void 0:O.value)&&void 0!==k?k:"").toString().trim(),j=[];T&&T!==e&&j.push("name"),M&&M!==E&&j.push("email"),A&&A!==P&&j.push("mobile_number"),D&&D!==I&&j.push("age");
1const N={country:"-",Email:"-",device_model:"-",Address:"-",app_version:"-",city:"-",Email_ID:"-",os_version:"-",fields_updated:j,"Email id":"-",ua:"-",platform:"-",Name:"-",source_screen:"profile_screen",phone:"-",user_id:"-",Phone:"-",State:"-",DOB:"-",Country:"-",state:"-",network_type:"-",Age:"-",age:"-"};console.log("WebEngage Account Details Updated",N),webengage.track("Account Details Updated",N)}}catch(E){}}},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code?this.sessionExpired():500!==e.server_error_code?(this.userProfile.controls.user_profile_mobileNo.setValue(this.userProfileDetails.mobile_number),this.showChangeNumber=!1,this.showChangeEmail=!1,this.showChangeName=!1,this.showErrorMsgSnackbar(e.server_error_messsage)):this.showErrorMsgSnackbar("Try again!!!")})}}onClickSendOtpToMobile(e){if(e&&10===e.toString().length){const t={email_id:"+91"+e,region:this.region,type:"msisdn"};localStorage.setItem("phone_login_type","login"),this.loadingService.showLoader(),this.userService.getLoginOtp(t).subscribe(t=>{var n;if(this.loadingService.hideLoader(),t.error){const e="string"==typeof t.error?t.error:null===(n=t.error)||void 0===n?void 0:n.message;this.showErrorMsgSnackbar(e||"Something went wrong. Please try again.")}else{this.showSuccessMsgSnackbar(t.data.message);const n=this.callingCode||"+91";this.mobileNumber=n+e,this.forgotPassMobileNumber=n+" "+e,this.forgot_pasword_mobile.setValue(e),$("#signin_otp_pop").modal("show"),this.stopTimer(),this.startTimer(""),this.showLoginOTP=!0}},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code&&this.sessionExpired(),this.showErrorMsgSnackbar(e.server_error_messsage||"Something went wrong. Please try again.")})}else this.showErrorMsgSnackbar("Please enter a valid Mobile Number")}onClickEmail(){var e,t,n,i,r,o;
1if(this.userEmailPasswordLogin.invalid){this.userEmailPasswordLogin.markAllAsTouched();const r=this.userEmailPasswordLogin.get("email"),o=this.userEmailPasswordLogin.get("password");return void((null===(e=null==r?void 0:r.errors)||void 0===e?void 0:e.required)||(null===(t=null==r?void 0:r.errors)||void 0===t?void 0:t.email)?this.showErrorMsgSnackbar("Please enter a valid email address"):(null===(n=null==o?void 0:o.errors)||void 0===n?void 0:n.required)?this.showErrorMsgSnackbar("Password cannot be blank"):(null===(i=null==o?void 0:o.errors)||void 0===i?void 0:i.minlength)?this.showErrorMsgSnackbar("Password must be at least 6 characters"):this.showErrorMsgSnackbar("Please fill all required fields"))}const s=null===(r=this.userEmailPasswordLogin.get("email"))||void 0===r?void 0:r.value,a=null===(o=this.userEmailPasswordLogin.get("password"))||void 0===o?void 0:o.value;this.userService.getEmail({auth_token:"3zZmzoHg8z6SM3wpDoyw",user:{password:a,region:this.region,email_id:s,type:"email"}}).subscribe(e=>{var t,n;if(e.error){this.showErrorMsgSnackbar(e.error.message);const t=(null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.message)||"";console.log("Tracking Signup Failure",t),webengage.track("Signup Failure",{failure_step:"mobile_entry",failure_reason:t,registration_method_attempted:"email"})}else{this.showSuccessMsgSnackbar("Signed In Successfully!"),this.getLocation(),this.closePop("signin_google_pop");const n=e.data;if(this.gdprFlag=null!==(t=e.gdpr_flag)&&void 0!==t&&t,localStorage.setItem("gdpr_flag",this.gdprFlag.toString()),this.signed_emailid=e.data.email_id,window.localStorage.setItem("signed_emailid",this.signed_emailid),this.loginStatus=!0,this.user_det={status:!0,user_id:n.session,user_name:n.firstname,user_signin_id:n.user_id,user_login_type:n.login_type,user_analy_id:n.user_id,user_subscribed:n.new_user},this.commonService.setOtvUserLocalStorage(this.user_det),this.userDetails(),null==n?void 0:n.new_user){const e=Object.assign({registration_method:"email",mobile_number_provided:!!(null==n?void 0:n.mobile_number)},this.userRegisteredContext(!1,n));console.log("WebEngage User Registered",e),webengage.track("User Registered",e)}this.saranyu_login(n.user_id,"email",e.data.email_id,"login_success")}},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code&&this.sessionExpired(),this.showErrorMsgSnackbar(e.server_error_messsage||"Something went wrong. Please try again.")})}onClickSendOtpToEmail(e){if(this.userEmailLogin.valid){const t={email_id:e,region:this.region,type:"email"};this.loadingService.showLoader(),this.userService.getLoginOtp(t).subscribe(t=>{var n;if(this.loadingService.hideLoader(),t.error){const e="string"==typeof t.error?t.error:null===(n=t.error)||void 0===n?void 0:n.message;this.showErrorMsgSnackbar(e||"Something went wrong. Please try again.")}else this.showSuccessMsgSnackbar(t.data.message),$("#signin_otp_pop_email").modal("show"),this.stopTimer(),this.startTimer(""),this.showLoginEmailOTP=!0,this.forgot_pasword_email.setValue(e)},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code&&this.sessionExpired(),this.showErrorMsgSnackbar(e.server_error_messsage||"Something went wrong. Please try again.")})}else this.showErrorMsgSnackbar("Please enter a valid Email Id")}onClickLogin(e){const t=this.mobileNumber||this.callingCode.split("+")[1]+this.userMobileLogin.controls.sign_in_userid.value;let n=this.verifyToken.controls.in1.value+this.verifyToken.controls.in2.value+this.verifyToken.controls.in3.value+this.verifyToken.controls.in4.value;4===n.length?(this.loadingService.showLoader(),this.userService.loginwithOtp(n,t).subscribe(e=>{var n,i,r,o,s;if(this.loadingService.hideLoader(),!e.error){this.showSuccessMsgSnackbar("Signed In Successfully!"),this.getLocation(),this.closePop("signin_otp_pop");var a=e.data.session_id;if(this.loginDetails=e.data,this.loginStatus=!0,this.user_det={status:!0,user_id:a,user_name:"",user_signin_id:e.data.user_id,user_login_type:e.data.login_type,user_analy_id:e.data.user_id,user_subscribed:e.data.is_subscribed},this.showLoginOTP=!1,this.commonService.setOtvUserLocalStorage(this.user_det),window.localStorage&&(this.session=window.localStorage.getItem("otv_user_id")),this.userDetails(),"login"!=localStorage.getItem("phone_login_type")||(null===(n=e.data)||void 0===n?void 0:n.new_user)){const t=Object.assign({registration_method:"mobile_otp",mobile_number_provided:!0},this.userRegisteredContext(!0,e.data,{email:null===(r=null===(i=this.registerForm)||void 0===i?void 0:i.value)||void 0===r?void 0:r.user_email_id,name:null===(s=null===(o=this.registerForm)||void 0===o?void 0:o.value)||void 0===s?void 0:s.firstname}));console.log("WebEngage User Registered",t),webengage.track("User Registered",t)}"login"==localStorage.getItem("phone_login_type")?this.saranyu_login(e.data.user_id,"phone",t,"login_success"):this.saranyu_login(e.data.user_id,"phone",t,"signup_success"),this.userPlans("signIn"),this.getContinueWatching(),this.reloadAfterLogin()}},e=>{if(this.loadingService.hideLoader(),this.showErrorMsgSnackbar("Otp 
1Expired"===e.server_error_messsage?e.server_error_messsage:"Invalid OTP"),"login"!=localStorage.getItem("phone_login_type"))try{const e=parseInt(sessionStorage.getItem(Et)||"0",10);sessionStorage.setItem(Et,String((Number.isNaN(e)?0:e)+1))}catch(n){}this.analytics.logEvent("signup_failure",{error_type:e.server_error_messsage,method:"phone",u_id:window.localStorage.getItem("otv_user_analytic_id"),platform:this.browser}),console.log("Tracking Signup Failure");const t=1+(parseInt(sessionStorage.getItem(Et)||"0",10)||0);webengage.track("Signup Failure",{failure_step:"otp_entry",failure_reason:"otp_failed",registration_method_attempted:"mobile_otp",error_code:e.server_error_code||"NA",attempt_number:t}),this.saranyu_signup_failure(window.localStorage.getItem("otv_user_analytic_id"),"phone",e.server_error_messsage)})):this.snackbar.open("Please fill all required fields","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})}saranyu_signup_failure(e,t,n){var i,o;let s={method:t,u_id:e,platform:"web",event_name:"signup_failure",environment:r.a.envType,error_type:n,app_version:"NA",device_brand:"NA",device_model:"NA",device_id:"NA",network_type:"web"==this.browser?"Wifi":"Mobile data",os_version:"NA",country:window.localStorage.getItem("region").toLowerCase(),device_type:this.deviceType,screen_size:`${window.screen.width}*${window.screen.height}`,city:(window.localStorage.IPzip?JSON.parse(window.localStorage.getItem("IPzip")).city_name.toLowerCase():"NA").toLowerCase(),state:(window.localStorage.IPzip?null===(o=null===(i=JSON.parse(window.localStorage.getItem("IPzip")))||void 0===i?void 0:i.state)||void 0===o?void 0:o.toLowerCase():"NA").toLowerCase(),ip:window.localStorage.IPzip?JSON.parse(window.localStorage.getItem("IPzip")).ip:"NA",subscription_status:window.localStorage.user?JSON.parse(window.localStorage.user).is_subscribed?"Active":"Inactive":"NA",user_state:window.localStorage.user_state?window.localStorage.user_state:"NA",postal_code:window.localStorage.postal_code?window.localStorage.postal_code:"NA",event_time:(new Date).toISOString().slice(0,19)};this.userService.analytics(s).subscribe(e=>{})}saranyu_login(e,t,n,i){let o={};try{o=JSON.parse(window.localStorage.getItem("IPzip")||"{}")||{}}catch(yg){o={}}let s={};try{s=JSON.parse(window.localStorage.getItem("user")||"{}")||{}}catch(yg){s={}}const a=(window.localStorage.getItem("region")||"IN").toLowerCase();let l={method:t,u_id:e,platform:"web",event_name:i,environment:r.a.envType,phone_number:n,app_version:"NA",device_brand:"NA",device_model:"NA",device_id:"NA",network_type:"web"==this.browser?"Wifi":"Mobile data",os_version:"NA",country:a,device_type:this.deviceType,screen_size:`${window.screen.width}*${window.screen.height}`,city:((null==o?void 0:o.city_name)?String(o.city_name).toLowerCase():"na").toLowerCase(),state:((null==o?void 0:o.state)?String(o.state).toLowerCase():"na").toLowerCase(),ip:(null==o?void 0:o.ip)||"NA",subscription_status:(null==s?void 0:s.is_subscribed)?"Active":"Inactive",user_state:window.localStorage.getItem("user_state")||"NA",postal_code:window.localStorage.getItem("postal_code")||"NA",event_time:(new Date).toISOString().slice(0,19)};this.userService.analytics(l).subscribe(e=>{})}onClickEmailLogin(e){const t=this.forgot_pasword_email.value;localStorage.setItem("forgot_password_email",t);let n=this.verifyTokenEmail.controls.in1.value+this.verifyTokenEmail.controls.in2.value+this.verifyTokenEmail.controls.in3.value+this.verifyTokenEmail.controls.in4.value;window.localStorage.setItem("forgot_otp",n),4===n.length?(this.loadingService.showLoader(),this.userService.emailloginwithOtp(n,t).subscribe(e=>{this.loadingService.hideLoader(),this.showPop("reset_password_pop",null)},e=>{this.loadingService.hideLoader(),this.showErrorMsgSnackbar(e.server_error_messsage)})):this.snackbar.open("Please fill all required fields","",{duration:3e3,verticalPosition:"top",horizontalPosition:"center",panelClass:["red-snackbar"]})}onMouseEnter(e){this.userAccountMenu=!0}onMouseOut(e){this.userAccountMenu=!1}closeAccountMenu(){this.userAccountMenu=!1}mobileToggle(e){"mobileMenu"==e&&(this.mobileMenu=!0,this.profileMenu=!1,this.mobileMenuOpen=!1,$("body").addClass("menu-open")),"profileMenu"==e&&(this.mobileMenu=!1,this.profileMenu=!0,this.mobileMenuOpen=!1),"langMenu"==e&&(this.mobileMenu=!1,this.profileMenu=!1,this.mobileMenuOpen=!1)}closeMobileMenu(){this.mobileMenu=!1,this.profileMenu=!1,this.mobileMenuOpen=!0,$("body").removeClass("menu-open")}getMenu(){const e="true"===window.localStorage.getItem("parentalControl");this.commonService.getMenuList(e?this.region+"&parental_control=true":this.region).subscribe(e=>{this.header_tabs=e.data.catalog_list_items;let t=this.location.path().split("/")[1];for(var n=0;n<this.header_tabs.length;n++)return void(this.header_tabs[n].home_link===t?(this.activeMenuString=t,this.menuRedirect(this.header_tabs[n],n)):"o-live"===this.header_tabs[n].home_link?this.activeMenuString="o-live":""===t&&(this.activeMenuString="home"))},e=>{0==e.server_error_code?this.showPop("no_internet_pop",""):this.showErrorMsgSnackbar(e.server_error_messsage)})}logoutConfirm(e){var t;this.clearAllFields(),window,"/"!=this.location.path()&&this.loadingService.showLoader(),(null===(t=JSON.parse(window.localStorage.getItem("user")))||void 0===t?void 0:t.email_id)||JSON.parse(window.localStorage.getItem("user")),window.localStorage.getItem("otv_user_analytic_id"),this.loadingService.showLoader(),this.userService.userSignout(this.session).subscribe(e=>{this.loadingService.hideLoader(),this.commonService.removeOtvUserLocalStorage(),this.session="",this.closePop("logoutform"),this.showSuccessMsgSnackbar("Signed out successfully!"),this.getLocation(),this.loginStatus=!1,this.analytics.logEvent("logout",{u_id:this.user?this.user.user_id:"NA"}),this.broadcastService.dispatch(new G.a("continuewatchonlogout",e)),this.router.navigate(["/"]),window.location.reload()},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code?this.sessionExpired():(this.loginStatus=!1,this.closePop("logout_pop"),this.showSuccessMsgSnackbar("Signed out successfully!"),this.getLocation(),this.router.navigate(["/"]),"/"==this.location.path()&&window.location.reload())})}deleteWatchHistory(){this.loadingService.showLoader(),this.analytics.logEvent("app_event_click",{e_v:1,typ:"delete_watch_history",vst:"delete_watch_history",app:"web",s_q:"",e_t:"click",title:"delete_watch_history",u_st:window.localStorage.getItem("otv_user_analytic_id")?"registered":"anonymous",u_p_r:"NA",u_p:"NA",u_id:window.localStorage.getItem("otv_user_analytic_id"),platform:this.browser}),this.userService.deleteWatchHistory(this.session,this.region).subscribe(e=>{this.loadingService.hideLoader(),$("#delete_watch").modal("hide"),this.showSuccessMsgSnackbar("Your watch history is cleared!"),this.getContinueWatching()},e=>{this.loadingService.hideLoader(),"1016"===e.server_error_code&&this.sessionExpired()})}getFavourites(){this.userService.favourites(this.session,this.region).subscribe(e=>{window.localStorage&&window.localStorage.setItem("favouritesList",JSON.stringify(e.data.items)),this.getWatchList(),this.closePop("IN"==this.region?"loginform":"loginemailform")},e=>{this.statusMessage=e.server_error_messsage,"1016"===e.server_error_code&&this.sessionExpired()})}getWatchList(){this.userService.watchlist(this.session,this.region).subscribe(e=>{window.localStorage&&window.localStorage.setItem("watchList",JSON.stringify(e.data.items)),window,this.broadcastService.dispatch(new G.a("tvVerificationReload",null))},e=>{this.statusMessage=e.server_error_messsage,"1016"===e.server_error_code&&this.sessionExpired()})}showLogin(){this.showPop("signin_pop",null)}showEmailLogin(){this.showPop("signin_email_pop",null)}openProfileOrLogin(){this.session&&window.localStorage.getItem("otv_user_id")?this.showPop("my-profile_pop",""):this.loginBasedonRegion()}
1userDetails(e=!1){let t=this.session;t?"android"!=this.browser&&this.userService.userDetails(t,this.region).subscribe(e=>{this.user=e.data,this.loginType=e.data.login_type,this.userProfile.get("user_profile_name").setValue(this.user.firstname),this.userProfile.get("user_profile_age").setValue(Number(this.user.age)),this.userProfile.get("user_profile_mobileNo").setValue(this.user.mobile_number),this.userProfile.get("user_profile_email").setValue(this.user.email_id),this.userProfile.get("user_profile_name").setValue(this.user.firstname),this.userProfile.get("user_profile_age").setValue(Number(this.user.age)),this.userProfile.get("user_profile_mobileNo").setValue(this.user.mobile_number),this.userProfile.get("user_profile_email").setValue(this.user.email_id),setTimeout(()=>{document.querySelectorAll(".profile_pop_input_wid").forEach(e=>{e.scrollLeft=0;try{e.setSelectionRange&&e.setSelectionRange(0,0)}catch(t){}})},0),window.localStorage.setItem("user",JSON.stringify(this.user)),window.localStorage.setItem("sessionId",t),webengage.user.setAttribute("we_email",this.user.email_id),webengage.user.setAttribute("we_first_name",this.user.firstname),webengage.user.setAttribute("we_phone",this.user.mobile_number),this.activePlans=e.data.is_subscribed,this.accessPack=e.data.active_plans,this.activePlans&&(this.accessPack.includes("all_access_pack")||this.accessPack.includes("livetv_and_originals"))&&(this.showSubscribeButton=!0)},e=>{this.statusMessage=e.server_error_messsage,"1016"!==e.server_error_code&&"Invalid User Id"!==e.server_error_messsage||this.sessionExpired()}):e&&(this.loginStatus=!1,this.loginBasedonRegion())}ValidateEmail(e){return/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e)?e:""}onPlansMenuClick(){window.localStorage&&window.localStorage.setItem("plans_source_screen","home")}menuRedirect(e,t,n=!1){let i;if(n&&this.trackMenuCategoryViewed(e),this.mobileMenu&&this.closeMobileMenu(),e.display_title&&"all"==e.display_title.toLowerCase())i="/",this.activeMenuString=e.home_link,this.router.navigate(["/"]);else if("plans"===e)this.activeMenuString=e,console.log("plans clicked --------------------------"),window.localStorage&&(window.localStorage.setItem("isDetailspage","false"),window.localStorage.setItem("plans_source_screen","home")),fbq("track","SubscribedButtonClick",{button_text:"Subscribe",page_url:window.location.href,manual_trigger:!0}),this.router.navigate(["/plans"]);else if("o-live"===e.home_link)this.activeMenuString="o-live",this.router.navigate(["/live-tv"]);else if("Rumble"===e.home_link)this.activeMenuString="Rumble",window.location.href="https://dangal.play.rumbleapp.gg/";else if("watchlater"==e)i="/users/watchlist",this.router.navigate([i]);else if("tv"==e)i="/tv",this.router.navigate([i]);else if("shorts"===e.home_link||"shorts-list"===e.home_link||e.display_title&&"shorts"===e.display_title.toLowerCase())this.activeMenuString=e.home_link||"shorts-list",this.router.navigate(["/shorts-list"]);else{let t,n;i="home"!=e.display_title.toLowerCase()?e.home_link:"/",this.activeMenuString=e.home_link,"event"==e.display_title.toLowerCase()?(t=e.display_title.toLowerCase(),n="liv9ja"):(t=e.display_title.toLowerCase(),n=t),this.router.navigateByUrl("/").then(()=>this.router.navigate([i]))}}trackMenuCategoryViewed(e){try{const t="plans"===e,n="watchlater"===e,i="tv"===e,r={category_id:t?"plans":n?"watchlist":i?"tv":(e&&e.home_link||"").toString()||"-",category_name:t?"Plans":n?"Watchlist":i?"TV":(e&&e.display_title||"").toString()||"-",source_screen:"home"};"undefined"!=typeof webengage&&(null===webengage||void 0===webengage?void 0:webengage.track)&&webengage.track("Category Viewed",r)}catch(yg){}}menuOtherRedirect(e){let t;"live-tv"==e?t=e:"events"==e?t="liv9ja":(e="loveisland")&&(t=e),this.router.navigateByUrl("/").then(()=>this.router.navigate([e]))}openInNewWindow(e){this.router.navigate([e])}onCountrycodeSelection(e){e.source._elementRef.nativeElement.querySelector(".mat-select-min-line").innerHTML=e.value.dial_code,this.minPhnLimit=e.value.min_limit,this.maxPhnLimit=e.value.max_limit}closeSwitchNetwork(){this.closeSwitchNetworkPopup=!1}agreeGDPI(){const e={email:window.localStorage.getItem("signed_emailid"),status:!1};this.loadingService.showLoader(),this.userService.gdpiStatus(e).subscribe(e=>{this.loadingService.hideLoader(),this.isGdprPopupVisible=!1,localStorage.setItem("gdpr_flag","false")},e=>{this.loadingService.hideLoader()})}loginCheckSursangram(){this.showSursangramPop=!1,window.localStorage.getItem("otv_user_id")?"android"!=this.browser&&"ios"!=this.browser&&(this.router.navigate(["/sursangram"]),this.analytics.logEvent("sur_sangram_click",{source:window.localStorage.getItem("globalTabName"),video_name:window.localStorage.getItem("globalSsName"),tray_name:window.localStorage.getItem("globalTrayName"),position_within_tray:"NA",u_id:window.localStorage.getItem("otv_user_analytic_id"),platform:this.browser})):this.loginBasedonRegion()}onMouseEnterBeforeLogin(e){this.userAccountMenuBeforeLogin=!0}closeAccountMenuBeforeLogin(){this.userAccountMenuBeforeLogin=!1}onMouseOutbeforelogin(e){this.userAccountMenuBeforeLogin=!1}onTermsChange(e){this.termsAccepted=e.target.checked}onRegister(){var e,t,n;if(this.hasAttemptedSubmit=!0,this.termsAccepted)if(this.registerForm.valid)if(this.mobileNumber=this.registerForm.value.region+this.registerForm.value.email_id,this.forgotPassMobileNumber=this.mobileNumber,this.mobileNumber){const e=Object.assign(Object.assign({},this.registerForm.value),{email_id:this.mobileNumber,type:"msisdn"});"+91"===e.region&&(e.region="IN"),this.userService.userRegister(e).subscribe(e=>{localStorage.setItem("phone_login_type","Sign_up"),sessionStorage.setItem(kt,String(Date.now())),sessionStorage.setItem(Et,"0"),this.snackbar.open("OTP sent to your registered mobile number: ","Close",{duration:1e4,verticalPosition:"top",panelClass:["success-snackbar"]}),this.keepOtpCountdown=!0,this.showPop("signin_otp_pop",""),setTimeout(()=>{this.startTimer("")},400)},e=>{this.showErrorMsgSnackbar(e.server_error_messsage||"Something went wrong. Please try again.")})}else this.snackbar.open("Please enter a valid mobile number.","Close",{duration:3e3,verticalPosition:"top",panelClass:["red-snackbar"]});else{const i=this.registerForm.get("user_email_id"),r=this.registerForm.get("email_id");(null===(e=null==i?void 0:i.errors)||void 0===e?void 0:e.pattern)?this.showErrorMsgSnackbar("Please enter a valid Email Address to continue."):(null===(t=null==r?void 0:r.errors)||void 0===t?void 0:t.required)||(null===(n=null==r?void 0:r.errors)||void 0===n?void 0:n.pattern)?this.showErrorMsgSnackbar("Please enter a valid Mobile Number to continue."):this.showErrorMsgSnackbar("Please fill all required fields correctly.")}}closeregisterPopup(e){if("register-popup"===e){const e=this.registerForm.value.region;this.registerForm.reset(),this.registerForm.patchValue({region:e})}localStorage.setItem("phone_login_type","Sign_up");const t=document.getElementById(e);t&&(t.style.display="none")}onInputChange(e){const t=e.target,n=t.value.replace(/\D/g,"");t.value=n.length>10?n.slice(0,10):n,this.registerForm.controls.email_id.setValue(t.value)}signInWithFacebook(){this.userService.facebookSignIn(this.region).then(e=>{var t;if(e&&e.data){this.showSuccessMsgSnackbar("Signed In Successfully!"),this.getLocation(),this.closePop("signin_google_pop");const n=e.data;if(this.gdprFlag=null!==(t=e.gdpr_flag)&&void 0!==t&&t,localStorage.setItem("gdpr_flag",this.gdprFlag.toString()),this.signed_emailid=e.data.email_id,window.localStorage.setItem("signed_emailid",this.signed_emailid),this.loginStatus=!0,this.user_det={status:!0,user_id:n.session_id,user_name:n.firstname,user_signin_id:n.user_id,user_login_type:n.login_type,user_analy_id:n.user_id,user_subscribed:n.new_user},this.commonService.setOtvUserLocalStorage(this.user_det),this.userDetails(),null==n?void 0:n.new_user){const e=Object.assign({registration_method:"facebook",mobile_number_provided:!!(null==n?void 0:n.mobile_number)},this.userRegisteredContext(!1,n));console.log("WebEngage User Registered",e),webengage.track("User Registered",e)}this.saranyu_login(n.user_id,"facebook",e.data.email_id,"login_success"),this.userPlans("signIn"),this.getContinueWatching(),this.reloadAfterLogin()}}).catch(e=>{this.showErrorMsgSnackbar("Facebook Sign-In Failed: "+((null==e?void 0:e.message)||(null==e?void 0:e.server_error_messsage)||"An error occurred")),console.error("Error during Facebook Sign-In:",e),console.log("Tracking Signup Failure"),webengage.track("Signup Failure",{failure_step:"facebook_signin",failure_reason:(null==e?void 0:e.message)||(null==e?void 0:e.server_error_messsage)||"An error occurred",registration_method_attempted:"facebook"})})}signInWithGoogle(){this.userService.googleSignIn(this.region).then(e=>{var t;if(e&&e.data){this.showSuccessMsgSnackbar("Signed In Successfully!"),this.getLocation(),this.closePop("signin_google_pop");const n=e.data;if(this.gdprFlag=null!==(t=e.gdpr_flag)&&void 0!==t&&t,localStorage.setItem("gdpr_flag",this.gdprFlag.toString()),this.signed_emailid=e.data.email_id,window.localStorage.setItem("signed_emailid",this.signed_emailid),window.localStorage.setItem("user",JSON.stringify(this.user)),this.loginStatus=!0,this.user_det={status:!0,user_id:n.session_id,user_name:n.firstname,user_signin_id:n.user_id,user_login_type:n.login_type,user_analy_id:n.user_id,user_subscribed:n.new_user},this.commonService.setOtvUserLocalStorage(this.user_det),this.userDetails(),null==n?void 0:n.new_user){const e=Object.assign({registration_method:"google",mobile_number_provided:!!(null==n?void 0:n.mobile_number)},this.userRegisteredContext(!1,n));console.log("WebEngage User Registered",e),webengage.track("User Registered",e)}this.saranyu_login(n.user_id,"google",this.signed_emailid,"login_success"),this.userPlans("signIn"),this.getContinueWatching(),this.reloadAfterLogin()}}).catch(e=>{this.showErrorMsgSnackbar("Google Sign-In Failed: "+e.server_error_messsage||!1),console.error("Error during Google Sign-In:",e),console.log("Tracking Signup Failure"),webengage.track("Signup Failure",{failure_step:"Google signin",failure_reason:e.server_error_messsage,registration_method_attempted:"Google"})})}userRegisteredContext(e,t,n){var i;const r=((null==t?void 0:t.email_id)||(null==n?void 0:n.email)||"").toString().trim(),o=((null==t?void 0:t.firstname)||(null==n?void 0:n.name)||"").toString().trim(),s=null!=(null==t?void 0:t.user_id)&&""!==String(t.user_id).trim()?String(t.user_id):"-";e&&(sessionStorage.removeItem(kt),sessionStorage.removeItem(Et));
1const a={registration_source:"-",country:"-",EmailID:"-",app_version:"-",device_model:"-",city:"-",Email_ID:r||"-",os_version:"-",email_provided:!!r,ua:"-",time_to_register_sec:"-",platform:"-",Name:o||"-",user_id:s,Phone:"-",state:"-",network_type:"-",signup_attempt_number:"-",preferred_language_at_signup:"-"},l=null===(i=localStorage.getItem("referral_code"))||void 0===i?void 0:i.trim();return l&&(a.referral_code_used=l),a}confirmDeleteUser(){this.userService.deleteUserAccount(this.session).subscribe(e=>{window.localStorage.clear(),window.location.reload()},e=>{})}OnClickUpcomingMenu(){this.upcomingMenuOpen=!0}closeUpcomingMenu(){this.upcomingMenuOpen=!1}getUpcomingData(){const e="true"===window.localStorage.getItem("parentalControl");this.commonService.getUpcomingData(e).subscribe(e=>{this.UpcomingData=e.data.catalog_list_items})}UpcomingItemClicked(e){this.upcomingMenuOpen=!1,window.localStorage.setItem("globalTabName","coming soon"),window.localStorage.setItem("globalTrayName",""),window.localStorage.setItem("globalTrayId","")}keytabTV(e){var t,n,i,r,o,s,a,l,c,u,h,d;this.disableActivate=!((null===(n=null===(t=this.verifyToken.controls.in1)||void 0===t?void 0:t.value)||void 0===n?void 0:n.length)>0&&(null===(r=null===(i=this.verifyToken.controls.in2)||void 0===i?void 0:i.value)||void 0===r?void 0:r.length)>0&&(null===(s=null===(o=this.verifyToken.controls.in3)||void 0===o?void 0:o.value)||void 0===s?void 0:s.length)>0&&(null===(l=null===(a=this.verifyToken.controls.in4)||void 0===a?void 0:a.value)||void 0===l?void 0:l.length)>0&&(null===(u=null===(c=this.verifyToken.controls.in5)||void 0===c?void 0:c.value)||void 0===u?void 0:u.length)>0&&(null===(d=null===(h=this.verifyToken.controls.in6)||void 0===h?void 0:h.value)||void 0===d?void 0:d.length)>0),"Backspace"==e.key?e.target.previousElementSibling&&e.target.previousElementSibling.focus():1==e.key.length&&e.target.nextElementSibling&&e.target.nextElementSibling.focus()}clear(){this.verifyTokenForm.resetForm(),this.errorFlag=!1,this.disableActivate=!0}numbCharOnly(e){const t=e.which?e.which:e.keyCode;return t>47&&t<58||t>64&&t<91||t>96&&t<123}onClickEditProfile(){this.onClickProfilePop(),this.showUpdateProfile=!0,setTimeout(()=>{document.querySelectorAll(".profile_pop_input_wid").forEach(e=>{e.scrollLeft=0;try{e.setSelectionRange&&e.setSelectionRange(0,0)}catch(t){}})},50)}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](M.a),i["\u0275\u0275directiveInject"](P.a),i["\u0275\u0275directiveInject"](I.a),i["\u0275\u0275directiveInject"](D.d),i["\u0275\u0275directiveInject"](D.a),i["\u0275\u0275directiveInject"](c.e),i["\u0275\u0275directiveInject"](U.a),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](W.a),i["\u0275\u0275directiveInject"](o.Location),i["\u0275\u0275directiveInject"](K.a),i["\u0275\u0275directiveInject"](j.a),i["\u0275\u0275directiveInject"](D.a),i["\u0275\u0275directiveInject"](X.a),i["\u0275\u0275directiveInject"](Q.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-header"]],viewQuery:function(e,t){var n;1&e&&(i["\u0275\u0275viewQuery"](ge,!0),i["\u0275\u0275viewQuery"](be,!0),i["\u0275\u0275viewQuery"](_e,!0),i["\u0275\u0275viewQuery"](ve,!0),i["\u0275\u0275viewQuery"](ye,!0)),2&e&&(i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.verifyTokenForm=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.verifyTokenEmailForm=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.mobileLoginForm=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.emailLoginForm=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.userProfileForm=n.first))},hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("visibilitychange",(function(){return t.onWindowBecameActive()}),!1,i["\u0275\u0275resolveDocument"])("click",(function(){return t.markUserActivity()}),!1,i["\u0275\u0275resolveDocument"])("keydown",(function(){return t.markUserActivity()}),!1,i["\u0275\u0275resolveDocument"])("mousemove",(function(){return t.markUserActivity()}),!1,i["\u0275\u0275resolveDocument"])("scroll",(function(){return t.markUserActivity()}),!1,i["\u0275\u0275resolveDocument"])("touchstart",(function(){return t.markUserActivity()}),!1,i["\u0275\u0275resolveDocument"])("wheel",(function(){return t.markUserActivity()}),!1,i["\u0275\u0275resolveDocument"])("focus",(function(){return t.onWindowBecameActive()}),!1,i["\u0275\u0275resolveWindow"])},decls:385,vars:66,consts:[[1,"header","desktop-header","pull-left","w-100"],["class","container",4,"ngIf"],["class","mobile_slider_menu","id","navbarCollapseMobile",4,"ngIf"],["class","mobile_slider_menu","id","navbarCollapseAccount",4,"ngIf"],["id","signin_pop",1,"modal","model-overflow","cdk-overlay-dark-backdrop"],[1,"modal-dialog"],[1,"modal-content","user_flow","otp-sign-in"],[1,"modal-header","border-0","padding-left-24","padding-right-24","padding-top-13","padding-bottom-15","flex","flex-items-center","flex-space-between"],[1,"w-100"],[1,"font-normal","font-mbold","font-size4","oriya-color6","margin-bottom-10","centered-text"],["target","blank",1,"oriya-color2","font-size2","font-mbold","font-normal","m-0"],[1,"login-group-button"],[1,"social-media-btn","width-15","facebook-btn",3,"click"],["lazyLoad","./assets/dangalPlay/icon_google.svg",1,"google-icon"],[1,"signin_with_google"],["lazyLoad","./assets/dangalPlay/facebook.svg",1,"fb-icon"],[1,"button-divider"],[1,"toggle-container"],[1,"toggle-btn",3,"click"],[1,"modal-body","text-left","padding-left-24","padding-right-24","padding-top-0","padding-bottom-0"],[1,"row"],[1,"col-xl-12","col-lg-12","col-md-12","col-sm-12","col-","margin-bottom-0"],[1,"pull-left","w-100","padding-left-0","padding-right-0","margin-top-0"],[1,"pull-left","w-100","padding-bottom-0","margin-top-14","relative-content"],[1,"input-wrapper"],[3,"formGroup","ngSubmit",4,"ngIf"],["id","forgot_password_pop",1,"modal","model-overflow","cdk-overlay-dark-backdrop"],[3,"formGroup"],["mobileForgotForm","ngForm"],[1,"profile_title","pb-2"],[1,"margin-bottom-32","margin-right-30"],["formControlName","email","id","email","type","text","placeholder","Enter your email id",1,"profile_input_line"],[1,"login-group-button","pb-4"],["matSuffix","",1,"low-prior-cancel",3,"disabled","click"],["matSuffix","",3,"disabled","ngClass","click"],["id","signin_otp_pop","data-keyboard","false",1,"modal","otp-verfication-bg","cdk-overlay-dark-backdrop"],[1,"modal-content","user_flow"],[1,"modal-header","border-0","padding-left-24","padding-right-24","padding-top-14","padding-bottom-14","flex","flex-items-center","flex-space-between"],[1,"otp-verify-text","font-mbold","font-normal","font-size4","oriya-color6","margin-bottom-10"],[1,"modal-body","text-left","padding-left-10","padding-right-10","margin-top-16","padding-bottom-0","padding-top-0"],[1,"pull-left","w-100","padding-bottom-0","relative-content"],[1,"text-center"],[1,"oriya-color6","font-mbold","otp-sent-mobile"],[1,"flex","flex-column","otp-verify","margin-top-30","margin-left-60"],["id","otp-p",1,"oriya-color1","font-size5","margin-left-60"],[1,"w-100","otp-parent","margin-top-10","padding-left-30","margin-left-13"],[1,"pull-left","center-align-content","margin-right-30",3,"formGroup"],["verifyTokenForm","ngForm"],["formControlName","in1","matInput","","type","text","inputmode","numeric","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in2","matInput","","type","text","inputmode","numeric","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in3","matInput","","type","text","inputmode","numeric","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in4","matInput","","type","text","inputmode","numeric","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],[1,"padding-left-30","counter-otp-parent"],["class","counter-otp text-center font-size2 font-mbold margin-top-5 ",3,"disabled",4,"ngIf"],["class","counter-otp-resend text-center font-size2  font-mbold margin-top-5 ",3,"click",4,"ngIf"],["class","text-center margin-bottom-10 m-0 font-size2 form_bottom padding-top-15",4,"ngIf"],[1,"flex","margin-bottom-40","margin-top-40",2,"flex-direction","row","align-items","center","gap","35px","justify-content","center"],[1,""],[1,"low-prior-cancel",3,"click"],["type","submit",1,"text-uppercase","font-mbold",3,"ngClass","click"],["target","blank",1,"oriya-color2","font-size2","font-mbold","footer-text","m-0"],["id","signin_email_pop",1,"modal","model-overflow","cdk-overlay-dark-backdrop"],[1,"font-normal","font-mbold","font-size4","oriya-color6","margin-bottom-10","regional-user"],["lazyLoad","./assets/images/icon_close.svg","alt","","title","","id","signin_close",3,"click"],["emailLoginForm","ngForm"],[1,"w-100","text-center","margin-top-20","margin-bottom-27","padding-bottom-12","padding-top-12","padding-right-48","padding-left-48"],["id","signin_otp_pop_email","data-keyboard","false",1,"modal","otp-verfication-bg","cdk-overlay-dark-backdrop"],[1,"font-mbold","font-normal","font-size4","oriya-color6","margin-bottom-10"],["lazyLoad","./assets/images/icon_close.svg","alt","","title","","id","fgt_pwd_close",3,"click"],[1,"col-sm-12","col-md-12","col-lg-12",3,"floatLabel"],[1,"oriya-color6","font-size2","font-mbold"],["
1id","place-hold-clr","matInput","","placeholder","eg: [email protected]","readonly","true",1,"oriya-color6","font-size1",3,"formControl"],[1,"oriya-color2","font-size2","text-center","padding-top-5"],[1,"flex","flex-column"],[1,"w-100","otp-parent","margin-top-10","padding-left-30","margin-left-30"],["verifyTokenEmailForm","ngForm"],["class","text-center margin-bottom-40 m-0 font-size2 form_bottom padding-top-40",4,"ngIf"],["id","my-profile_pop","data-keyboard","false","data-backdrop","static",1,"modal","cdk-overlay-dark-backdrop"],[1,"modal-header","border-0","w-100","padding-left-24","padding-right-24","padding-top-25","padding-bottom-16","flex","flex-space-between"],[1,"font-semibold","font-size4","oriya-color6","padding-top-5","margin-bottom-10","margin-left-editProfile"],[1,"flex"],[1,"modal-body","text-left","padding-left-24","padding-right-24","padding-top-0"],[1,"col-xl-12","col-lg-12","col-md-12","col-sm-12","margin-bottom-0"],[1,"pull-left","w-100","padding-bottom-0","padding-top-30","relative-content"],["class","user_details user-detail-block",4,"ngIf"],[4,"ngIf"],["id","reset_password_pop",1,"modal","model-overflow","cdk-overlay-dark-backdrop"],[1,"font-normal","font-mbold","font-size4","oriya-color6","margin-bottom-10"],["src","./assets/images/icon_close.svg","id","signin_close",3,"click"],[1,"modal-body","padding-left-24","padding-right-24","padding-bottom-24"],[3,"formGroup","ngSubmit"],[1,"margin-bottom-32"],[1,"profile_title"],[2,"position","relative"],["formControlName","password","autocomplete","off","matInput","","placeholder","Enter new password",1,"profile_pop_input_wid",3,"type"],[2,"position","absolute","right","12px","top","50%","transform","translateY(-50%)","cursor","pointer","width","18px","height","18px",3,"src","click"],["formControlName","confirm_password","autocomplete","off","matInput","","placeholder","Re-enter password",1,"profile_pop_input_wid",3,"type"],["type","submit",1,"login_sub_btn","continue"],["id","no_internet_pop",1,"modal","cdk-overlay-dark-backdrop"],[1,"modal-content"],[1,"modal-body","text-left","padding-left-28","padding-right-28","padding-top-0"],[1,"empty-watchlist"],["lazyLoad","./assets/dangalPlay/icon_noInternetConnection.svg",1,"emptyWatchlist_image"],[1,"margin-bottom-25","text-center","font-size3","oriya-color1"],[1,"margin-bottom-40","text-center","oriya-color2","font-size2",2,"line-height","21px"],[1,"browse-btn","font-medium",3,"click"],["class","modal small-popup","id","session_expired",4,"ngIf"],["class","modal cdk-overlay-dark-backdrop small-popup","id","gdpi_popup",4,"ngIf"],["id","search_pop",1,"modal","p-0"],[1,"modal-body","text-left","p-0"],["id","logout_pop",1,"modal","cdk-overlay-dark-backdrop"],[1,"modal-header","border-0","padding-left-24","padding-right-24","padding-top-30","padding-bottom-30","flex","flex-items-center","flex-space-between"],[1,"font-mbold","font-size4","oriya-color6","text-center"],[1,"pull-left","w-100","relative-content"],["target","blank",1,"oriya-color2","font-size3","font-mbold","m-0","text-center"],[1,"pull-left","flex","flex-items-center","text-center","w-100","padding-bottom-12","margin-top-40","center-align-content"],["type","submit","value","sign in",1,"login_sub_btn","margin-bottom-40","text-center","text-uppercase","font-mbold",3,"click"],["type","submit",1,"logout-confirm","low-prior-cancel","margin-left-10","margin-bottom-40","text-center","text-uppercase",3,"click"],["id","register-popup",1,"modal","cdk-overlay-dark-backdrop"],[1,"user_details","user-detail-block"],[1,"personal-data"],["formControlName","firstname","type","text","placeholder","eg: John Doe",1,"profile_input_line"],["formControlName","user_email_id","type","email","placeholder","eg: [email protected]",1,"profile_input_line"],["class","tc-error-message","style","color: #F14336; margin-top: 6px; font-size: 12px;",4,"ngIf"],["formControlName","region","value","+91","type","text","readonly","true",1,"profile_input_line"],["formControlName","email_id","type","text","placeholder","eg: 000 000 0000","maxlength","10","pattern","[0-9]*",1,"profile_input_line",3,"input"],[1,"tacbox"],["id","checkbox","type","checkbox",3,"change"],["checkbox",""],["for","checkbox",1,"custom-checkbox","oriya-color2","register-link"],["target","blank",1,"font-mbold","font-normal","register-link","line-break"],["class","tc-error-message text-center","style","color: #F14336;",4,"ngIf"],[1,"edit","w-100","text-center","margin-top-20","margin-bottom-20","padding-top-12","padding-right-48","padding-left-48","login-group-button"],["type","button","matSuffix","",1,"low-prior-cancel",3,"click"],["type","submit",1,"text-uppercase","font-mbold","login_sub_btn","continue",3,"click"],[1,"register-link",3,"click"],["id","delete-popup",1,"modal","cdk-overlay-dark-backdrop"],["id","delete_watch","data-keyboard","false",1,"modal","cdk-overlay-dark-backdrop"],[1,"modal-body","text-left","padding-left-30","padding-right-30"],[1,"pull-left","margin-bottom-10","font-semibold","w-100","text-center","page-title","oriya-color"],[1,"pull-left","w-100","margin-top-15","margin-bottom-25","text-center","oriya-color2","font-size1"],[1,"d-block","margin-top-5"],[1,"pull-left","w-100","margin-bottom-20","margin-top-0","center-align-content"],["id","clear_watch_confirm",1,"text-uppercase","pull-left","oriya-btn-gr
1n_new",3,"click"],[1,"text-uppercase","pull-left","margin-left-10","low-prior-cancel",3,"click"],[1,"pull-left","w-100","margin-top-15","margin-bottom-25","text-center","oriya-color2","font-size6"],["class","modal retry_connecting cdk-overlay-dark-backdrop","id","closeSwitch-Network-PopUp",4,"ngIf"],["class","toster-message-wrap","id","retry_toast",4,"ngIf"],["class","modal cdk-overlay-dark-backdrop","id","region_change_pop",4,"ngIf"],["class","modal model-overflow sursangram padding-right-0 padding-left-0","id","sursangram_pop",4,"ngIf"],["id","parentak-popup",1,"modal","cdk-overlay-dark-backdrop",2,"display","none"],[1,"modal-header","border-0","padding-left-24","padding-right-24","flex","flex-items-center","flex-space-between"],[1,"oriya-color2","font-size2","font-mbold","font-normal","m-0"],[1,"edit","w-100","text-center","margin-bottom-40","padding-top-12","padding-right-48","padding-left-48","parental-group-button"],["type","submit",1,"text-uppercase","font-mbold","login_sub_btn",3,"click"],[1,"low-prior-cancel","margin-top-10",3,"click"],[1,"parental-alert"],["id","activate-tv",1,"modal","cdk-overlay-dark-backdrop",2,"display","none"],[1,"activate-tv-text","mt-4"],[1,"oriya-color2","font-size2","font-mbold","text-center"],["class","p-4 active-box",4,"ngIf"],["class","border p-4 active-box",4,"ngIf"],[1,"container"],[1,"pull-left","w-100"],[1,"header-left"],["routerLink","/",1,"logoid"],["lazyLoad","./assets/logos/otv_logo.png","alt","Tarang","title","Tarang",3,"click"],[1,"d-none","d-xl-block","pull-left",3,"load"],[1,"list-none","padding-left-0","margin-bottom-0","pull-left","w-100"],["class","menu-item mr-2",3,"click",4,"ngFor","ngForOf"],[1,"header-right","d-none","d-xl-block","relative-content","header-icon-set",3,"mouseleave"],[1,"search-wrap"],["id","searchId",3,"click"],["alt","Search","title","Search","src","assets/dangalPlay/icon_search.svg"],[1,"selected",3,"click"],["alt","Search","title","Search","src","assets/images/icon_search_selected.svg"],["class","text-capitalize before_login plans login ",3,"ngClass","click",4,"ngIf"],["class","text-capitalize before_login login","id","user_login",3,"click","mouseleave",4,"ngIf"],["class","text-capitalize before_login hamberge-icon hamberge-icon-container after_login_hamberg hamberg-icon-before","id","user_login",3,"ngClass","mouseenter",4,"ngIf"],[3,"mouseleave"],["class","list-none margin-bottom-0 login-account-menu",4,"ngIf"],["class","after_login",4,"ngIf"],["class","list-none margin-bottom-0 account-menu",4,"ngIf"],[1,"header-right","mobile-header-right","d-block","d-xl-none"],["id","searchId",1,"search-wrap",3,"click"],[1,"selected"],[1,"text-uppercase","mobile-menu-nav",3,"click"],["alt","","lazyLoad","./assets/dangalPlay/icon_hamburgerMenu.svg","title",""],[1,"menu-item","mr-2",3,"click"],[1,"oriya-color2",3,"id","ngClass"],[1,"text-capitalize","before_login","plans","login",3,"ngClass","click"],["id","user_login",1,"text-capitalize","before_login","login",3,"click","mouseleave"],["id","user_login",1,"text-capitalize","before_login","hamberge-icon","hamberge-icon-container","after_login_hamberg","hamberg-icon-before",3,"ngClass","mouseenter"],["lazyLoad","./assets/dangalPlay/icon_more_default.svg","alt","Account","title","Account"],[1,"list-none","margin-bottom-0","login-account-menu"],["href","javascript:void(0)",1,"menu_item","oriya-color1",3,"click"],["href","javascript:void(0)",1,"menu_item","oriya-color1"],[1,"switch"],["type","checkbox","id","toggleSwitch",3,"checked","change"],[1,"slider","round","initial-slider",3,"ngClass"],[1,"after_login"],[3,"click"],[1,"icon-container"],["lazyLoad","./assets/dangalPlay/icon_castPlaceholder.svg","alt","Account","title","Account"],[1,"caret-container"],[1,"hamberge-icon","hamberge-icon-container","after_login_hamberg","hamberg-icon-after",3,"ngClass","mouseenter","clickElsewhere"],[1,"list-none","margin-bottom-0","account-menu"],[1,"w-100",3,"click"],["id","",1,"account_det","oriya-color1"],["id","",1,"watch_list","oriya-color1",2,"display","block","width","100%",3,"click"],["routerLink","/users/watchlist","id","",1,"watch_list","oriya-color1",2,"display","block","width","100%",3,"click"],[1,"watch_list","oriya-color1",2,"display","block","width","100%"],[1,"slider","round","login-slider"],["routerLink","/plans",1,"menu_item","oriya-color1",3,"click"],["href","javascript:void(0)",1,"account_url","oriya-color1","logout_link"],["id","navbarCollapseMobile",1,"mobile_slider_menu"],[1,"pull-left","w-100","padding-left-0","padding-right-0"],[1,"open-logo","pull-left","w-100"],[1,"pull-left","w-100","padding-left-10","padding-right-10"],["href","/",1,"pull-left","logo"],["lazyLoad","./assets/logos/otv_logo.png","alt","dangalPlay","title","dangalPlay"],["lazyLoad","./assets/images/icon_close.svg",1,"pull-right","close-btn","cursor-pointer",3,"click"],[1,"list-none","padding-left-10","padding-right-10","margin-bottom-0","pull-left","w-100","scrollable-list"],[4,"ngFor","ngForOf"],[3,"ngClass"],["
1id","",1,"oriya-color2",3,"click"],[3,"ngClass",4,"ngIf"],["class","pull-left w-100",4,"ngIf"],["class","text-center",4,"ngIf"],[3,"ngClass","click"],[1,"oriya-color2",3,"id"],["routerLink","/users/watchlist","id","",1,"oriya-color2",3,"click"],["href","javascript:void(0)",1,"account_url","oriya-color2","logout_link",3,"click"],[1,"w-full",2,"display","flex","flex-direction","column","width","100%","margin-right","10px"],["id","user_login",1,"text-uppercase","before_login","login",3,"click"],["id","navbarCollapseAccount",1,"mobile_slider_menu"],["href","/",1,"pull-left"],["aria-hidden","true",1,"fa","fa-times","pull-right",3,"click"],["id","",1,"account_det","oriya-color1",3,"click"],["routerLink","/users/watchlist","id","",1,"watch_list","oriya-color1",3,"click"],["href","javascript:void(0)",1,"account_url","oriya-color1","logout_link",3,"click"],["id","",1,"clear_watch_his","oriya-color1","clear_watch",3,"click"],[1,"mobile-login-row"],["floatLabel","always",1,"calling-code"],[1,"mat-label-font"],["required","",3,"value","valueChange"],[3,"value"],["floatLabel","always",1,"mobile-number"],["required","",1,"mat-label-font","font-size2","font-mbold",3,"ngClass"],["formControlName","sign_in_userid","inputmode","numeric","autocomplete","off","maxlength","10","minlength","10","type","text","matInput","","placeholder","eg: 000 000 0000","id","place-hold-clr",3,"cut","copy","paste","keypress"],["type","button","matSuffix","",1,"low-prior-cancel",3,"disabled","click"],["type","submit","matSuffix","",3,"disabled","ngClass"],["formControlName","password","id","password","type","password","placeholder","Enter your password",1,"profile_input_line"],[1,"w-100","text-center","margin-top-20","margin-bottom-27","padding-bottom-12","padding-top-12","padding-left-12"],[1,"forgot-password",3,"click"],[1,"counter-otp","text-center","font-size2","font-mbold","margin-top-5",3,"disabled"],[1,"font-size0"],[1,"counter-otp-resend","text-center","font-size2","font-mbold","margin-top-5",3,"click"],[1,"text-center","margin-bottom-10","m-0","font-size2","form_bottom","padding-top-15"],[1,"font-mbold","oriya-color2"],[1,"text-center","margin-bottom-40","m-0","font-size2","form_bottom","padding-top-40"],["type","text","readonly","",1,"profile_input_line",3,"value"],["href","javascript:void(0)",1,"delete-link",3,"click"],["userProfileForm","ngForm"],[1,"padding-top-10","flex","flex-space-between"],[1,"w-100","margin-right-30",3,"floatLabel"],["required","",1,"font-size2","font-mbold",3,"ngClass"],["formControlName","user_profile_name","type","text","maxlength","50","placeholder","John Doe","matInput","","id","place-hold-clr","autocomplete","off",1,"profile_pop_input_wid"],[1,"phn","w-100","margin-right-30",3,"floatLabel"],[1,"font-size2","font-mbold",3,"ngClass"],["formControlName","user_profile_mobileNo","autocomplete","off","matInput","","placeholder","131123456789","id","place-hold-clr","maxlength","15",1,"profile_pop_input_wid",3,"keypress"],["formControlName","user_profile_email","type","email","autocomplete","off","matInput","","placeholder","[email protected]","id","place-hold-clr",1,"profile_pop_input_wid"],["formControlName","user_profile_age","id","place-hold-clr","required","",1,"profile_age_input_wid"],[3,"value",4,"ngFor","ngForOf"],[1,"w-100","text-center","margin-top-20","margin-bottom-20","padding-top-12","padding-right-48","padding-left-48","edit-group-button"],["type","submit",1,"text-uppercase","font-mbold","edit-group-save","ml-4",3,"disabled","ngClass","click"],["id","session_expired",1,"modal","small-popup"],[1,"modal-body","text-left","padding-left-28","padding-right-28","padding-top-30","padding-bottom-30"],[1,"margin-bottom-15","text-center","font-size1","oriya-color1"],[1,"margin-bottom-15","text-center","font-size2","oriya-color2"],[1,"text-center","margin-bottom-15"],[1,"browse-btn","font-medium","margin-bottom-0","text-capitalize","inline-block",3,"click"],[1,"text-center","oriya-color4","font-size6"],["id","gdpi_popup",1,"modal","cdk-overlay-dark-backdrop","small-popup"],[1,"oriya-color2","gdpr-text","font-size2","font-mbold","font-normal","m-0"],[1,"relative-content",3,"formGroup"],[1,"oriya-color2","margin-top-20"],["type","checkbox","formControlName","cb",1,"custom-gdpr-checkbox"],["target","_blank","href","https://www.ratri.app/terms_and_conditions"],["class","all_error text-center","style","color: red; padding-top: 0.2rem",4,"ngIf"],[1,"margin-top-20"],["type","submit",1,"w-100","browse-btn","font-medium","margin-bottom-0","text-capitalize","inline-block",3,"disabled","ngClass","click"],[1,"all_error","text-center",2,"color","red","padding-top","0.2rem"],[1,"tc-error-message",2,"color","#F14336","margin-top","6px","font-size","12px"],[1,"tc-error-message","text-center",2,"color","#F14336"],["id","closeSwitch-Network-PopUp",1,"modal","retry_connecting","cdk-overlay-dark-backdrop"],[1,"modal-content","user_flow","signin-popup","login_alert"],[1,"modal-header","border-0","padding-left-24","padding-right-24","padding-top-32","pb-0"],[1,"pull-left","mb-0","padding-left-20","font-semibold","w-100","text-center","oriya-color","font-size4"],["lazyLoad","./assets/images/icon_close.svg","alt","","title","",2,"z-index","10",3,"click"],[1,"modal-body","text-center","padding-left-24","padding-right-24","padding-bottom-0","padding-top-0"],[1,"pull-left","w-100","font-size2","text-center","oriya-color2","padding-left-30","padding-right-30","margin-top-20"],[1,"pull-left","flex","flex-items-center","text-center","w-100","padding-bottom-12","margin-top-10","center-align-content","vertical-stack"],["type","submit","value","sign in",1,"oriya-btn-gr
1n_new","margin-bottom-40","text-center","font-mbold",3,"click"],["type","submit",1,"low-prior-cancel","verticle-button","margin-bottom-40","text-center",3,"click"],["id","retry_toast",1,"toster-message-wrap"],[1,"center-align-content"],[1,"toster-message"],["lazyLoad","./assets/images/tick.svg","alt","","title",""],["id","watch_later_message"],["id","region_change_pop",1,"modal","cdk-overlay-dark-backdrop"],[1,"modal-content",2,"background","transparent","border","0"],["lazyLoad","./assets/errorMessages/icon_regionChange.svg",1,"emptyWatchlist_image"],[1,"browse-btn","font-medium","cursor-pointer",3,"click"],["id","sursangram_pop",1,"modal","model-overflow","sursangram","padding-right-0","padding-left-0"],[1,"float-right","border-0","padding-left-24","padding-right-24","padding-top-14","padding-bottom-14","close_btndiv","margin-top-0"],["src","./assets/sursangam/icon_close.svg","alt","","title","",1,"sursangram_close",3,"click"],[1,"modal-body","padding-0"],["id","section_float",1,"w-100"],[1,"sursangram_card","center-align-content"],[1,"flex","flex-column","center-align-content2"],["src","./assets/sursangam/your text here.png",1,"d-none","d-xl-block","text_img"],["src","./assets/sursangam/01_bgnew_1366x768.png","class","banner-img",4,"ngIf"],["src","./assets/sursangam/01_iPad_bg.jpg","class","banner-img",4,"ngIf"],["src","./assets/sursangam/01_tab_bg.jpg","class","banner-img",4,"ngIf"],["src","./assets/sursangam/01_m_bg.jpg","class","banner-img",4,"ngIf"],[1,"margin-top-40","sursangam_button","sursangam_box_background","font-wt600","sursangam_color","relative-content",3,"click"],["src","./assets/sursangam/01_bgnew_1366x768.png",1,"banner-img"],["src","./assets/sursangam/01_iPad_bg.jpg",1,"banner-img"],["src","./assets/sursangam/01_tab_bg.jpg",1,"banner-img"],["src","./assets/sursangam/01_m_bg.jpg",1,"banner-img"],[1,"p-4","active-box"],[1,"active-tv-desc","margin-left-20","small-heading-color"],[1,"margin-left-20"],["formControlName","in1","matInput","","type","text","inputmode","text","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in2","matInput","","type","text","inputmode","text","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in3","matInput","","type","text","inputmode","text","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in4","matInput","","type","text","inputmode","text","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in5","matInput","","type","text","inputmode","text","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],["formControlName","in6","matInput","","type","text","inputmode","text","maxlength","1","id","reg-otp-input","placeholder","0","autocomplete","off",1,"mr-2",3,"keyup","keypress"],[1,"margin-bottom-30","text-center","pt-5","relative-content"],["style","color:#F5841F;line-height: 30px;","class","margin-top-10 text-center error-desc",4,"ngIf"],["class","oriya-color successMsg margin-bottom-10",4,"ngIf"],["matSuffix","",1,"low-prior-cancel",3,"click"],[1,"login_sub_btn","margin-left-20",3,"ngClass","click"],["matSuffix",""],[1,"oriya-color2","font-size2","font-mbold","m-0","margin-top-30","text-center"],[1,"margin-top-10","text-center","error-desc",2,"color","#F5841F","line-height","30px"],[1,"oriya-color","successMsg","margin-bottom-10"],[1,"border","p-4","active-box"],[1,"oriya-color1","mt-3","text-center"]],template:function(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"section",0),i["\u0275\u0275template"](1,Me,31,7,"div",1),i["\u0275\u0275template"](2,Fe,20,9,"div",2),i["\u0275\u0275template"](3,Be,21,1,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275elementStart"](7,"div",7),i["\u0275\u0275elementStart"](8,"div",8),i["\u0275\u0275elementStart"](9,"p",9),i["\u0275\u0275text"](10,"Login"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p",10),i["\u0275\u0275text"](12," Will be signed in using OTP "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",11),i["\u0275\u0275elementStart"](14,"button",12),i["\u0275\u0275listener"]("click",(function(){return t.signInWithGoogle()})),i["\u0275\u0275element"](15,"img",13),i["\u0275\u0275elementStart"](16,"span",14),i["\u0275\u0275text"](17,"Continue with Google"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"div",11),i["\u0275\u0275elementStart"](19,"button",12),i["\u0275\u0275listener"]("click",(function(){return t.signInWithFacebook()})),i["\u0275\u0275element"](20,"img",15),i["\u0275\u0275elementStart"](21,"span",14),i["\u0275\u0275text"](22,"Login with Facebook"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"div",16),i["\u0275\u0275elementStart"](24,"p",10),i["\u0275\u0275text"](25," ------ Or ------ "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"div",17),i["\u0275\u0275elementStart"](27,"button",18),i["\u0275\u0275listener"]("click",(function(){return t.setLoginType("email")})),i["\u0275\u0275text"](28," Email "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"button",18),i["\u0275\u0275listener"]("click",(function(){return t.setLoginType("mobile")})),i["\u0275\u0275text"](30," Mobile "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",19),i["\u0275\u0275elementStart"](32,"div",20),i["\u0275\u0275elementStart"](33,"div",21),i["\u0275\u0275elementStart"](34,"div",22),i["\u0275\u0275elementStart"](35,"div",23),i["\u0275\u0275elementStart"](36,"div",24),i["\u0275\u0275template"](37,Ue,23,8,"form",25),i["\u0275\u0275template"](38,He,18,4,"form",25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"div",26),i["\u0275\u0275elementStart"](40,"div",5),i["\u0275\u0275elementStart"](41,"div",6),i["\u0275\u0275elementStart"](42,"div",7),i["\u0275\u0275elementStart"](43,"div",8),i["\u0275\u0275elementStart"](44,"p",9),i["\u0275\u0275text"](45,"Forgot Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"div",19),i["\u0275\u0275elementStart"](47,"div",20),i["\u0275\u0275elementStart"](48,"div",21),i["\u0275\u0275elementStart"](49,"div",22),i["\u0275\u0275elementStart"](50,"div",23),i["\u0275\u0275elementStart"](51,"div",24),i["\u0275\u0275elementStart"](52,"form",27,28),i["\u0275\u0275elementStart"](54,"p",29),i["\u0275\u0275text"](55,"To reset your password, enter your registered email address"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"div",30),i["\u0275\u0275element"](57,"input",31),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"div",32),i["\u0275\u0275elementStart"](59,"button",33),i["\u0275\u0275listener"]("click",(function(){return t.closePop("emailpop")})),i["\u0275\u0275text"](60,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"button",34),i["\u0275\u0275listener"]("click",(function(){return t.forgotEmail()})),i["\u0275\u0275text"](62,"Confirm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"div",35),i["\u0275\u0275elementStart"](64,"div",5),i["\u0275\u0275elementStart"](65,"div",36),i["\u0275\u0275elementStart"](66,"div",37),i["\u0275\u0275elementStart"](67,"div",8),i["\u0275\u0275elementStart"](68,"p",38),i["\u0275\u0275text"](69,"OTP Verification"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"p",10),i["\u0275\u0275text"](71," Enter the OTP sent to your mobile number via SMS"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"div",39),i["\u0275\u0275elementStart"](73,"div",20),i["\u0275\u0275elementStart"](74,"div",21),i["\u0275\u0275elementStart"](75,"div",22),i["\u0275\u0275elementStart"](76,"div",40),i["\u0275\u0275elementStart"](77,"div",41),i["\u0275\u0275elementStart"](78,"p",42),i["\u0275\u0275text"](79),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](80,"div",43),i["\u0275\u0275elementStart"](81,"p",44),i["\u0275\u0275text"](82," Enter 4 digit code"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](83,"div",45),i["\u0275\u0275elementStart"](84,"form",46,47),i["\u0275\u0275elementStart"](86,"input",48),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](87,"input",49),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](88,"input",50),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](89,"input",51),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](90,"div",52),i["\u0275\u0275template"](91,ze,4,2,"button",53),i["\u0275\u0275template"](92,Ge,2,0,"button",54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](93,qe,5,2,"div",55),i["\u0275\u0275elementStart"](94,"div",56),i["\u0275\u0275elementStart"](95,"div",57),i["\u0275\u0275elementStart"](96,"button",58),i["\u0275\u0275listener"]("click",(function(){return t.showPop("signin_pop","")})),i["\u0275\u0275text"](97,"Back "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](98,"div"),i["\u0275\u0275elementStart"](99,"button",59),i["\u0275\u0275listener"]("click",(function(){return t.onClickLogin("")})),i["\u0275\u0275text"](100,"Verify"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](101,"p",60),i["\u0275\u0275text"](102," OTP will be sent to the above mentioned Mobile number."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](103,"div",61),i["\u0275\u0275elementStart"](104,"div",5),i["\u0275\u0275elementStart"](105,"div",36),i["\u0275\u0275elementStart"](106,"div",7),i["\u0275\u0275elementStart"](107,"div",8),i["\u0275\u0275elementStart"](108,"p",62),i["\u0275\u0275text"](109,"Login "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](110,"p",10),i["\u0275\u0275text"](111," Login or Registered Using Google "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"img",63),i["\u0275\u0275listener"]("click",(function(){return t.closePop("loginemailform")})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](113,"div",19),i["\u0275\u0275elementStart"](114,"div",20),i["\u0275\u0275elementStart"](115,"div",21),i["\u0275\u0275elementStart"](116,"div",22),i["\u0275\u0275elementStart"](117,"div",23),i["\u0275\u0275elementStart"](118,"form",27,64),i["\u0275\u0275elementStart"](120,"div",11),i["\u0275\u0275elementStart"](121,"button",12),i["\u0275\u0275listener"]("click",(function(){return t.signInWithGoogle()})),i["\u0275\u0275element"](122,"img",13),i["\u0275\u0275elementStart"](123,"span",14),i["\u0275\u0275text"](124,"Continue with Google"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](125,"div",11),i["\u0275\u0275elementStart"](126,"button",12),i["\u0275\u0275listener"]("click",(function(){return t.signInWithFacebook()})),i["\u0275\u0275element"](127,"img",15),i["\u0275\u0275elementStart"](128,"span",14),i["\u0275\u0275text"](129,"Login with Facebook"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](130,"div",19),i["\u0275\u0275elementStart"](131,"div",20),i["\u0275\u0275elementStart"](132,"div",21),i["\u0275\u0275elementStart"](133,"div",22),i["\u0275\u0275elementStart"](134,"div",23),i["\u0275\u0275elementStart"](135,"div",24),i["\u0275\u0275template"](136,We,15,4,"form",25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](137,"div",65),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](138,"div",66),i["\u0275\u0275elementStart"](139,"div",5),i["\u0275\u0275elementStart"](140,"div",36),i["\u0275\u0275elementStart"](141,"div",37),i["\u0275\u0275elementStart"](142,"div",8),i["\u0275\u0275elementStart"](143,"p",67),i["\u0275\u0275text"](144,"OTP Verification"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](145,"p",10),i["\u0275\u0275text"](14
16," Enter the OTP sent to your email id"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](147,"img",68),i["\u0275\u0275listener"]("click",(function(){return t.closePop("forgotpasswordotpformemail")})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](148,"div",39),i["\u0275\u0275elementStart"](149,"div",20),i["\u0275\u0275elementStart"](150,"div",21),i["\u0275\u0275elementStart"](151,"div",22),i["\u0275\u0275elementStart"](152,"div",40),i["\u0275\u0275elementStart"](153,"div"),i["\u0275\u0275elementStart"](154,"mat-form-field",69),i["\u0275\u0275elementStart"](155,"mat-label",70),i["\u0275\u0275text"](156,"Email Id *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](157,"input",71),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](158,"p",72),i["\u0275\u0275text"](159),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](160,"div",73),i["\u0275\u0275elementStart"](161,"p",44),i["\u0275\u0275text"](162," Enter 4 digit code"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](163,"div",74),i["\u0275\u0275elementStart"](164,"form",46,75),i["\u0275\u0275elementStart"](166,"input",48),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](167,"input",49),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](168,"input",50),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](169,"input",51),i["\u0275\u0275listener"]("keyup",(function(e){return t.keytab(e)}))("keypress",(function(e){return t.numberOnly(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](170,"div",52),i["\u0275\u0275template"](171,Ke,4,2,"button",53),i["\u0275\u0275template"](172,Xe,2,0,"button",54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](173,$e,5,2,"div",76),i["\u0275\u0275elementStart"](174,"div",56),i["\u0275\u0275elementStart"](175,"div",57),i["\u0275\u0275elementStart"](176,"button",58),i["\u0275\u0275listener"]("click",(function(){return t.showPop("signin_email_pop","")})),i["\u0275\u0275text"](177,"BACK "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](178,"div"),i["\u0275\u0275elementStart"](179,"button",59),i["\u0275\u0275listener"]("click",(function(){return t.onClickEmailLogin("")})),i["\u0275\u0275text"](180,"NEXT"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](181,"div",77),i["\u0275\u0275elementStart"](182,"div",5),i["\u0275\u0275elementStart"](183,"div",36),i["\u0275\u0275elementStart"](184,"div",78),i["\u0275\u0275elementStart"](185,"p",79),i["\u0275\u0275text"](186),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](187,"div",80),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](188,"div",81),i["\u0275\u0275elementStart"](189,"div",20),i["\u0275\u0275elementStart"](190,"div",82),i["\u0275\u0275elementStart"](191,"div",22),i["\u0275\u0275elementStart"](192,"div",83),i["\u0275\u0275template"](193,Qe,29,5,"div",84),i["\u0275\u0275template"](194,nt,35,25,"ng-container",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](195,"div",86),i["\u0275\u0275elementStart"](196,"div",5),i["\u0275\u0275elementStart"](197,"div",36),i["\u0275\u0275elementStart"](198,"div",7),i["\u0275\u0275elementStart"](199,"div",8),i["\u0275\u0275elementStart"](200,"p",87),i["\u0275\u0275text"](201," Reset Password "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](202,"img",88),i["\u0275\u0275listener"]("click",(function(){return t.closePop("reset_password_pop")})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](203,"div",89),i["\u0275\u0275elementStart"](204,"form",90),i["\u0275\u0275listener"]("ngSubmit",(function(){return t.onSubmit()})),i["\u0275\u0275elementStart"](205,"div",91),i["\u0275\u0275elementStart"](206,"p",92),i["\u0275\u0275text"](207,"New Password *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](208,"div",93),i["\u0275\u0275element"](209,"input",94),i["\u0275\u0275elementStart"](210,"img",95),i["\u0275\u0275listener"]("click",(function(){return t.togglePassword()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](211,it,2,0,"mat-error",85),i["\u0275\u0275template"](212,rt,2,0,"mat-error",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](213,"div",91),i["\u0275\u0275elementStart"](214,"p",92),i["\u0275\u0275text"](215,"Confirm Password *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](216,"div",93),i["\u0275\u0275element"](217,"input",96),i["\u0275\u0275elementStart"](218,"img",95),i["\u0275\u0275listener"]("click",(function(){return t.toggleConfirmPassword()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](219,ot,2,0,"mat-error",85),i["\u0275\u0275template"](220,st,2,0,"mat-error",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](221,"div",32),i["\u0275\u0275elementStart"](222,"button",97),i["\u0275\u0275text"](223," Reset Password "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](224,"div",98),i["\u0275\u0275elementStart"](225,"div",5),i["\u0275\u0275elementStart"](226,"div",99),i["\u0275\u0275elementStart"](227,"div",100),i["\u0275\u0275elementStart"](228,"div",20),i["\u0275\u0275elementStart"](229,"div",101),i["\u0275\u0275element"](230,"img",102),i["\u0275\u0275elementStart"](231,"p",103),i["\u0275\u0275text"](232,"Oops..!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](233,"p",104),i["\u0275\u0275text"](234,"Slow or no internet connection. "),i["\u0275\u0275element"](235,"br"),i["\u0275\u0275text"](236," Please check your internet setting."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](237,"div",41),i["\u0275\u0275elementStart"](238,"a",105),i["\u0275\u0275listener"]("click",(function(){return t.reload()})),i["\u0275\u0275text"](239,"Try Again"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](240,at,17,0,"div",106),i["\u0275\u0275template"](241,ct,18,4,"div",107),i["\u0275\u0275elementStart"](242,"div",108),i["\u0275\u0275elementStart"](243,"div",5),i["\u0275\u0275elementStart"](244,"div",36),i["\u0275\u0275elementStart"](245,"div",109),i["\u0275\u0275element"](246,"app-search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](247,"div",110),i["\u0275\u0275elementStart"](248,"div",5),i["\u0275\u0275elementStart"](249,"div",36),i["\u0275\u0275elementStart"](250,"div",111),i["\u0275\u0275elementStart"](251,"div",8),i["\u0275\u0275elementStart"](252,"p",112),i["\u0275\u0275text"](253,"Alert!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](254,"div",81),i["\u0275\u0275elementStart"](255,"div",20),i["\u0275\u0275elementStart"](256,"div",21),i["\u0275\u0275elementStart"](257,"div",22),i["\u0275\u0275elementStart"](258,"div",113),i["\u0275\u0275elementStart"](259,"p",114),i["\u0275\u0275text"](260," Are you sure you want to logout?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](261,"div",115),i["\u0275\u0275elementStart"](262,"button",116),i["\u0275\u0275listener"]("click",(function(){return t.logoutConfirm("logoutform")})),i["\u0275\u0275text"](263,"Yes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](264,"button",117),i["\u0275\u0275listener"]("click",(function(){return t.closePop("logoutform")})),i["\u0275\u0275text"](265,"No"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](266,"div",118),i["\u0275\u0275elementStart"](267,"div",5),i["\u0275\u0275elementStart"](268,"div",36),i["\u0275\u0275elementStart"](269,"div",111),i["\u0275\u0275elementStart"](270,"div",8),i["\u0275\u0275elementStart"](271,"p",112),i["\u0275\u0275text"](272,"Register"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](273,"p",10),i["\u0275\u0275text"](274," Will be registered using OTP "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](275,"form",90),i["\u0275\u0275listener"]("ngSubmit",(function(){return t.onRegister()})),i["\u0275\u0275elementStart"](276,"div",119),i["\u0275\u0275elementStart"](277,"div",120),i["\u0275\u0275elementStart"](278,"div",30),i["\u0275\u0275elementStart"](279,"p",92),i["\u0275\u0275text"](280," Full Name *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](281,"input",121),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](282,"div",91),i["\u0275\u0275elementStart"](283,"p",92),i["\u0275\u0275text"](284," Email Id"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](285,"input",122),i["\u0275\u0275template"](286,ut,2,0,"p",123),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](287,"div",120),i["\u0275\u0275elementStart"](288,"div",30),i["\u0275\u0275elementStart"](289,"p",92),i["\u0275\u0275text"](290," Country Code *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](291,"input",124),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](292,"div",91),i["\u0275\u0275elementStart"](293,"p",92),i["\u0275\u0275text"](294,"Mobile Number *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](295,"input",125),i["\u0275\u0275listener"]("input",(function(e){return t.onInputChange(e)}
1)),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](296,ht,2,0,"p",123),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](297,"div",126),i["\u0275\u0275elementStart"](298,"input",127,128),i["\u0275\u0275listener"]("change",(function(e){return t.onTermsChange(e)})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](300,"label",129),i["\u0275\u0275text"](301," By creating an account you agree to our"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](302,"br"),i["\u0275\u0275elementStart"](303,"p",130),i["\u0275\u0275text"](304,"Terms of Use "),i["\u0275\u0275elementStart"](305,"span"),i["\u0275\u0275text"](306," & "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](307,"Your age is 18+ "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](308,dt,2,0,"p",131),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](309,"div",132),i["\u0275\u0275elementStart"](310,"button",133),i["\u0275\u0275listener"]("click",(function(){return t.closeregisterPopup("register-popup")})),i["\u0275\u0275text"](311,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](312,"button",134),i["\u0275\u0275listener"]("click",(function(){return t.showUpdateProfile=!0})),i["\u0275\u0275text"](313,"Continue"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](314,"div",65),i["\u0275\u0275elementStart"](315,"p",10),i["\u0275\u0275text"](316,"Already a member? "),i["\u0275\u0275elementStart"](317,"span",135),i["\u0275\u0275listener"]("click",(function(){return t.showPop("signin_pop","")})),i["\u0275\u0275text"](318,"Login"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](319,"div",136),i["\u0275\u0275elementStart"](320,"div",5),i["\u0275\u0275elementStart"](321,"div",36),i["\u0275\u0275elementStart"](322,"div",111),i["\u0275\u0275elementStart"](323,"div",8),i["\u0275\u0275elementStart"](324,"p",112),i["\u0275\u0275text"](325,"Delete Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](326,"p",10),i["\u0275\u0275text"](327," are you sure you want to delete this account? "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](328,"div",132),i["\u0275\u0275elementStart"](329,"button",33),i["\u0275\u0275listener"]("click",(function(){return t.closePop("logoutform")})),i["\u0275\u0275text"](330,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](331,"button",134),i["\u0275\u0275listener"]("click",(function(){return t.confirmDeleteUser()})),i["\u0275\u0275text"](332,"Continue"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](333,"div",137),i["\u0275\u0275elementStart"](334,"div",5),i["\u0275\u0275elementStart"](335,"div",99),i["\u0275\u0275elementStart"](336,"div",138),i["\u0275\u0275elementStart"](337,"p",139),i["\u0275\u0275text"](338,"Alert!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](339,"p",140),i["\u0275\u0275text"](340," Are you sure you want to clear "),i["\u0275\u0275element"](341,"br"),i["\u0275\u0275elementStart"](342,"span",141),i["\u0275\u0275text"](343,"watch history? "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](344,"div",142),i["\u0275\u0275elementStart"](345,"a",143),i["\u0275\u0275listener"]("click",(function(){return t.deleteWatchHistory()})),i["\u0275\u0275text"](346,"Yes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](347,"button",144),i["\u0275\u0275listener"]("click",(function(){return t.closePop("deleteWatchHistory")})),i["\u0275\u0275text"](348,"No"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](349,"p",145),i["\u0275\u0275text"](350," Note: All content in your continue"),i["\u0275\u0275element"](351,"br"),i["\u0275\u0275text"](352," watching list will be removed and"),i["\u0275\u0275element"](353,"br"),i["\u0275\u0275text"](354," this can't be und
1one! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](355,pt,15,0,"div",146),i["\u0275\u0275template"](356,ft,6,0,"div",147),i["\u0275\u0275template"](357,mt,20,0,"div",148),i["\u0275\u0275template"](358,yt,18,4,"div",149),i["\u0275\u0275elementStart"](359,"div",150),i["\u0275\u0275elementStart"](360,"div",5),i["\u0275\u0275elementStart"](361,"div",36),i["\u0275\u0275elementStart"](362,"div",151),i["\u0275\u0275elementStart"](363,"div",8),i["\u0275\u0275elementStart"](364,"p",112),i["\u0275\u0275text"](365,"Alert!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](366,"p",152),i["\u0275\u0275text"](367," Are you sure you want to disable the Parental Lock? "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](368,"div",153),i["\u0275\u0275elementStart"](369,"button",154),i["\u0275\u0275listener"]("click",(function(){return t.disableParentalLock()})),i["\u0275\u0275text"](370," Yes Disable ..! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](371,"button",155),i["\u0275\u0275listener"]("click",(function(){return t.closeConfirmationPopup()})),i["\u0275\u0275text"](372," No "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](373,"p",156),i["\u0275\u0275text"](374,"Note: By Clicking Yes. Disable Explicit content will apppear in your feed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](375,"div",157),i["\u0275\u0275elementStart"](376,"div",5),i["\u0275\u0275elementStart"](377,"div",36),i["\u0275\u0275elementStart"](378,"div"),i["\u0275\u0275elementStart"](379,"h4",158),i["\u0275\u0275text"](380,"Activate TV"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](381,"p",159),i["\u0275\u0275text"](382,"Enter the code shown in your tv to activate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](383,St,25,6,"div",160),i["\u0275\u0275template"](384,Ot,3,0,"div",161),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=null,r=null,o=null,s=null,a=null;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.mobileMenuOpen),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.mobileMenu),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.profileMenu),i["\u0275\u0275advance"](24),i["\u0275\u0275classProp"]("active","email"===t.loginTypes),i["\u0275\u0275advance"](2),i["\u0275\u0275classProp"]("active","mobile"===t.loginTypes),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf","mobile"===t.loginTypes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","email"===t.loginTypes),i["\u0275\u0275advance"](14),i["\u0275\u0275property"]("formGroup",t.userForgotPassword),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("disabled",t.showLoginOTP),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.showLoginOTP)("ngClass",t.showLoginOTP?"oriya-btn-grn_new":"login_sub_btn continue"),i["\u0275\u0275advance"](18),i["\u0275\u0275textInterpolate1"](" ",t.forgotPassMobileNumber||(t.callingCode||"+91")+" "+((null==t.userMobileLogin||null==(n=t.userMobileLogin.get("sign_in_userid"))?null:n.value)||"")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("formGroup",t.verifyToken),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",0!==t.timer.sec),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.timer.sec),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.timer.sec),i["\u0275\u0275advance"](3),i["\u0275\u0275styleProp"]("font-size",14,"px")("line-height",19,"px"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngClass",t.verifyToken.valid?"oriya-btn-grn_new":"login_sub_btn"),i["\u0275\u0275advance"](19),i["\u0275\u0275property"]("formGroup",t.userEmailLogin),i["\u0275\u0275advance"](18),i["\u0275\u0275property"]("ngIf","email"===t.loginTypes),i["\u0275\u0275advance"](18),i["\u0275\u0275property"]("floatLabel",t.floatLabelControl.value),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("font-size",18,"px")("line-height",19,"px"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("formControl",t.forgot_pasword_email),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",t.forgotPassEmailId," "),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("formGroup",t.verifyTokenEmail),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",0!==t.timer.sec),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.timer.sec),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.timer.sec),i["\u0275\u0275advance"](3),i["\u0275\u0275styleProp"]("font-size",14,"px")("line-height",19,"px"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngClass",t.verifyTokenEmail.valid?"oriya-btn-gr
1n_new":"login_sub_btn"),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](!1===t.showUpdateProfile?"My Profile":"Edit Profile"),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!t.showUpdateProfile),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showUpdateProfile),i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("formGroup",t.changePasswordForm),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("type",t.showPassword?"text":"password"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",t.showPassword?"assets/images/hide_password.svg":"assets/images/show_password.svg",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.submitted&&(null==(r=t.changePasswordForm.get("password"))?null:r.hasError("required"))),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.submitted&&(null==(o=t.changePasswordForm.get("password"))?null:o.hasError("minlength"))),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("type",t.showConfirmPassword?"text":"password"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",t.showConfirmPassword?"assets/images/hide_password.svg":"assets/images/show_password.svg",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.submitted&&(null==(s=t.changePasswordForm.get("confirm_password"))?null:s.hasError("required"))),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.submitted&&(null==(a=t.changePasswordForm.get("confirm_password"))?null:a.hasError("mismatch"))),i["\u0275\u0275advance"](20),i["\u0275\u0275property"]("ngIf",t.isSessionExpired),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.shouldShowPopup()),i["\u0275\u0275advance"](34),i["\u0275\u0275property"]("formGroup",t.registerForm),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("ngIf",(t.hasAttemptedSubmit||t.registerForm.get("user_email_id").touched)&&t.registerForm.get("user_email_id").hasError("pattern")),i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",(t.hasAttemptedSubmit||t.registerForm.get("email_id").touched)&&t.registerForm.get("email_id").invalid),i["\u0275\u0275advance"](12),i["\u0275\u0275property"]("ngIf",t.hasAttemptedSubmit&&!t.termsAccepted),i["\u0275\u0275advance"](21),i["\u0275\u0275property"]("disabled",t.showLoginOTP),i["\u0275\u0275advance"](26),i["\u0275\u0275property"]("ngIf",t.closeSwitchNetworkPopup&&"ios"!==t.browser&&"android"!==t.browser),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.retryToast),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showDiffRegionPop),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSursangramPop&&"android"!=t.browser&&"ios"!=t.browser),i["\u0275\u0275advance"](25),i["\u0275\u0275property"]("ngIf",t.session),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.session)}},directives:[o.NgIf,Y.a,c.x,c.q,c.i,c.d,c.p,c.h,w.g,o.NgClass,u.b,c.k,w.c,w.f,c.g,fe,c.t,D.g,o.NgForOf,me,y.a,h.j,c.l,c.v,w.b,c.a],styles:['a.btn-oria[_ngcontent-%COMP%], input.btn-oria[_ngcontent-%COMP%]{border-radius:8px;width:124px;height:40px}.regional-user[_ngcontent-%COMP%]{justify-content:center;text-align:center} .mat-select-arrow{width:10px!important;height:11px!important;border-left:none!important;border-right:none!important;border-top:none!important;content:url(icon_downArrow.9c853c01dcdb76ca3c21.svg)!important}.social-icons[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}.fb-login[_ngcontent-%COMP%]{background:#4267b2;padding:4px 15px;border-radius:25px;text-align:left}.search-wrap[_ngcontent-%COMP%]{float:left;position:relative;height:28px;width:30px;padding:0;margin-top:11px;border-radius:4px;display:block!important}.profile_input_line[_ngcontent-%COMP%]::placeholder{font-size:14px}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:Roboto!important}.search-wrap[_ngcontent-%COMP%]:hover{background:#fccf1b}.search-wrap[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%], .search-wrap[_ngcontent-%COMP%]   a.selected[_ngcontent-%COMP%]{display:none}.search-wrap[_ngcontent-%COMP%]:hover   a.selected[_ngcontent-%COMP%]{display:block}.search-wrap[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;border-bottom:1px solid #b1b2b4;padding-bottom:3px;width:calc(100% - 15px)}.search-wrap[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{color:#0b130e;font-size:17px;position:absolute;right:10px}.search-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:18px;height:23px!important;margin-left:6px}.search-wrap[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:inherit}.register_close[_ngcontent-%COMP%]{color:#fff}#reg-otp-input[_ngcontent-%COMP%]{width:40px;height:40px;background:#292933 0 0 no-repeat padding-box;border:1px solid #44444a;border-radius:8px;opacity:1;text-align:center;font-size:14px;line-height:19px;color:#fbf9fa}#reg-otp-input[_ngcontent-%COMP%], .font-size0[_ngcontent-%COMP%]{font-style:normal;font-variant:normal;font-weight:500;font-family:Roboto;letter-spacing:0}.font-size0[_ngcontent-%COMP%]{font-size:10px;line-height:11px}.boder-8[_ngcontent-%COMP%]{border-radius:8px;width:143px;height:40px}#place-hold-clr[_ngcontent-%COMP%]::placeholder{letter-spacing:0;color:hsla(0,0%,100%,.30196078431372547);opacity:1;font-size:17px;line-height:19px}#reg-otp-input[_ngcontent-%COMP%]::placeholder{color:hsla(0,0%,100%,.6)!important;opacity:1}input.mat-input-element[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.8666666666666667)}.outline-btn-disabled.mat-suffix[_ngcontent-%COMP%], .outline-btn.mat-suffix[_ngcontent-%COMP%]{position:absolute;right:0}#logout_cancel[_ngcontent-%COMP%]{border-radius:4px;width:60px;padding:8px}.modal[_ngcontent-%COMP%]{overflow:auto}.margin-left-neg15[_ngcontent-%COMP%]{margin-left:-15px}.margin-left-editProfile[_ngcontent-%COMP%]{margin-left:37%}.forgot-pass-link[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.back-btn[_ngcontent-%COMP%]{font-style:normal;font-variant:normal;font-weight:500;font-size:14px;line-height:21px;font-family:Roboto;letter-spacing:0;color:hsla(0,0%,100%,.8666666666666667);background-color:#242424;border:none;text-transform:uppercase;opacity:1} .mat-simple-snackbar{padding-left:46px}  simple-snack-bar.mat-simple-snackbar:after{content:url(/assets/dangalPlay/icon_close_alert.svg);padding-right:23px;margin-top:11px;margin-left:16px}  simple-snack-bar.mat-simple-snackbar span{padding-top:3px}  .success-snackbar{width:312px;
1height:56px;background:#e6faeb 0 0 no-repeat padding-box;border:1px solid #3fc063;opacity:1;text-align:left;text-transform:capitalize;font-style:normal;font-variant:normal;font-weight:500;font-size:14px;line-height:21px;font-family:Roboto;letter-spacing:.29px;color:#65656b}  .success-snackbar:before{content:url(icon_success.57adea0be6f559db5f50.svg);padding:8px 8px 0;width:40px;height:40px;background:#3fc063 0 0 no-repeat padding-box;border-radius:8px;position:absolute;font-size:24px;display:flex;align-items:center}  snack-bar-container.mat-snack-bar-container.success-snackbar{border-radius:16px!important;padding:8px;min-width:max-content}  .alert-snackbar{width:312px;height:56px;background:#faf2e6 0 0 no-repeat padding-box;border:1px solid #ee9500;opacity:1;text-align:left;font-style:normal;font-variant:normal;font-weight:500;font-size:14px;line-height:21px;font-family:Roboto;letter-spacing:.29px;color:#65656b}  .alert-snackbar:before{content:url(icon_alert.90879b8d5b1a8fbb1827.svg);padding:4px 8px 0;width:40px;height:40px;background:#ee9500 0 0 no-repeat padding-box;border-radius:8px;position:absolute;font-size:24px;display:flex;align-items:center}  snack-bar-container.mat-snack-bar-container.alert-snackbar{border-radius:16px!important;padding:8px;min-width:max-content}  .info-snackbar{width:312px;height:56px;background:#e6effa 0 0 no-repeat padding-box;border:1px solid #076de3;opacity:1;text-align:left;font-style:normal;font-variant:normal;font-weight:500;font-size:14px;line-height:21px;font-family:Roboto;letter-spacing:.29px;color:#65656b;display:flex;align-items:center}  .info-snackbar:before{content:url(icon_success-1.73d9c3670969cacd5957.svg);padding:8px 8px 0;width:40px;height:40px;background:#076de3 0 0 no-repeat padding-box;border-radius:8px;position:absolute;font-size:24px;display:flex;align-items:center}  snack-bar-container.mat-snack-bar-container.info-snackbar{border-radius:16px!important;padding:8px;min-width:312px!important}  .mat-simple-snackbar-action>button{position:absolute;bottom:6px;opacity:0}  .red-snackbar{width:312px!important;height:56px!important;opacity:1;text-align:left;font-style:normal;font-variant:normal;font-weight:500;font-size:14px;line-height:21px;font-family:Roboto;letter-spacing:.29px;background:#f0dad8 0 0 no-repeat padding-box;border:1px solid #ea948c;color:#ea4335} .red-snackbar:before{content:url(icon_success-1.73d9c3670969cacd5957.svg);padding:8px 8px 0;width:40px;height:40px;background:#ea4335 0 0 no-repeat padding-box;border-radius:8px;position:absolute;font-size:24px;display:flex;align-items:center}  snack-bar-container.mat-snack-bar-container.red-snackbar{border-radius:16px!important;padding:8px;min-width:312px!important}  .mat-form-field-infix input.mat-input-element{width:100%!important}#region_change_pop[_ngcontent-%COMP%], #sursangram_pop[_ngcontent-%COMP%]{display:block!important}.modal#sursangram_pop[_ngcontent-%COMP%]{width:100vw!important;height:100vh}#sursangram_pop[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{max-width:100%!important}#section_float[_ngcontent-%COMP%]{float:right}.sursangram_card[_ngcontent-%COMP%]{background-color:initial;width:45%;padding:20px 100px;float:right;display:flex;flex-direction:column;justify-content:space-evenly;margin-top:20vh}.sursangam_box[_ngcontent-%COMP%]{opacity:1;text-align:left;font-style:normal;font-variant:normal;font-weight:500;font-size:17px;line-height:26px;font-family:Poppins;letter-spacing:.29px;color:#f0d667;height:-moz-fit-content;height:fit-content;width:-moz-fit-content;width:fit-content}.sursangam_color[_ngcontent-%COMP%]{color:#f0d667}.sursangam_colorE7[_ngcontent-%COMP%]{color:#f8e3e7!important}.sursangam_button[_ngcontent-%COMP%]{color:#f0d667;width:-moz-fit-content;width:fit-content;padding:11px 35px;background:transparent radial-gradient(closest-side at 50% 50%,#930b27 0,#350a20 100%) 0 0 no-repeat padding-box;border:2px solid #fdd968;border-radius:26px;font-size:21px;line-height:24px}.sursangram_close[_ngcontent-%COMP%]{float:right;width:32px!important;height:32px!important}.banner-img[_ngcontent-%COMP%]{width:100%;height:100vh;position:absolute;right:0;left:0;top:0;bottom:0}.text_img[_ngcontent-%COMP%]{position:relative;margin-top:100px;z-index:9999}.close_btndiv[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;right:0;z-index:1}#no_internet_pop[_ngcontent-%COMP%] > .modal-dialog[_ngcontent-%COMP%] > .modal-content[_ngcontent-%COMP%]{background:none!important}.empty-watchlist[_ngcontent-%COMP%]{width:360px;height:640px;background:#191919 0 0 no-repeat padding-box;border-radius:4px;opacity:1;margin:auto}.emptyWatchlist_image[_ngcontent-%COMP%]{padding:100px 40px 40px}.browse-btn[_ngcontent-%COMP%]{width:auto;height:41px;padding:11px 16px;background:#f5841f 0 0 no-repeat padding-box;border-radius:18px;font-style:normal;font-variant:normal;font-weight:500;font-size:14px;line-height:21px;font-family:Roboto;letter-spacing:.29px;color:#fbf9fa;text-transform:uppercase;opacity:1;margin-bottom:100px;line-height:20px;border:0}.modal-content.user_flow[_ngcontent-%COMP%]{background:#1a1c23}  #empty_watchlist_pop.modal{position:fixed!important;margin-top:20px}.centered-text[_ngcontent-%COMP%]{text-align:center}button.low-prior-cancel.verticle-button[_ngcontent-%COMP%]{margin-top:-29px}.icon-container[_ngcontent-%COMP%]{background-color:#f0f0f0;margin-top:-5px;margin-left:-21px;padding-top:0}.hamberge-icon-container[_ngcontent-%COMP%], .icon-container[_ngcontent-%COMP%]{display:block;margin-right:16px;width:37px;height:37px;padding-left:9px;border-radius:8px}.hamberge-icon-container[_ngcontent-%COMP%]{background-color:initial;
1margin-top:-7px;margin-left:-12px;padding-top:2px}.hamberge-icon-container.before_login[_ngcontent-%COMP%]{float:left;display:flex;margin-right:16px;margin-left:9px!important;margin-top:3px;align-items:center;justify-content:center;padding-left:0}.upcoming_default[_ngcontent-%COMP%]{height:32px;width:44px;border-radius:8px;float:left;font-weight:500;margin-top:4px;padding:7px 5px 14px}.hamberge-icon[_ngcontent-%COMP%]{margin-left:0}.after_login_hamberg[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:unset;position:absolute;height:31px;width:39px}.after_login_hamberg[_ngcontent-%COMP%]:hover{background:#0f1014 0 0 no-repeat padding-box;border-radius:8px}.hamberg-icon-after[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-left:-10px;margin-top:0}  #empty_watchlist_pop .modal-content{background:transparent;box-shadow:none}  #empty_watchlist_pop .modal-body{padding:0!important}p.otp-verify-text[_ngcontent-%COMP%]{text-align:center;letter-spacing:.29px;color:#fbf9fa;font-size:14px}.number-format[_ngcontent-%COMP%]   input#place-hold-clr[_ngcontent-%COMP%]{color:#9ca3af;font-size:31px;letter-spacing:1.43px}.margin-left-13[_ngcontent-%COMP%]{margin-left:-13px}.otp-verify[_ngcontent-%COMP%]   p#otp-p[_ngcontent-%COMP%]{margin-left:20px}.otp-verify[_ngcontent-%COMP%]{margin-top:-36px}.otp-sent-mobile[_ngcontent-%COMP%]{margin:8px 0 0;color:#fbf9fa;letter-spacing:.3px;font-size:25px!important;line-height:1.2}p.footer-text[_ngcontent-%COMP%]{margin-bottom:35px!important}mat-label.ng-tns-c61-1.ng-star-inserted[_ngcontent-%COMP%]{color:#fff}.mobile-login-row[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:center;gap:12px;width:100%;box-sizing:border-box;padding:15px 28px 0}.mobile-login-row[_ngcontent-%COMP%]   .calling-code[_ngcontent-%COMP%]{flex:0 0 120px;width:120px!important;margin:0!important}.mobile-login-row[_ngcontent-%COMP%]   .mobile-number[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;margin:0!important}  .mobile-login-row .mat-form-field-flex,   .mobile-login-row .mat-form-field-wrapper{width:100%;padding-bottom:0}  .mobile-login-row .mat-form-field-flex{align-items:center}  .mobile-login-row .mat-form-field-infix{display:flex!important;align-items:center;position:relative;flex:auto;min-width:0;width:100%!important;height:44px!important;padding:0 12px!important;border-top:none!important;box-sizing:border-box;background:#121212;border:1px solid #2c2c2c;border-radius:8px}  .mobile-login-row .mat-select{display:block!important;width:100%!important;outline:none;margin-top:0!important}  .mobile-login-row .mat-form-field-underline{display:none}  .mobile-login-row .mat-form-field-label-wrapper{top:-1.35em;padding-top:0;overflow:visible}  .mobile-login-row .mat-form-field-label,   .mobile-login-row .mat-label-font{font-size:14px!important;line-height:16px!important}  .input-wrapper .mobile-login-row input,   .mobile-login-row input.mat-input-element{margin:0!important;width:100%!important;height:auto!important;padding:0!important;background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important}.login-group-button[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:16px}.edit-group-button[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:16px}.edit-group-save[_ngcontent-%COMP%]{margin-right:47px}.profile_age_input_wid[_ngcontent-%COMP%]{width:280px!important;max-width:calc(100% - 11%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:-3px}  .mat-form-field-required-marker{display:none}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%]   .mat-select-arrow[_ngcontent-%COMP%]{color:#fbf9fa!important}span.mat-option-text[_ngcontent-%COMP%]{color:#0f1014}.login_sub_btn.continue[_ngcontent-%COMP%]{margin-left:17px}.width-15[_ngcontent-%COMP%]{width:80%;border-radius:26px;height:42px}.facebook-btn[_ngcontent-%COMP%]{margin-right:17px;margin-left:17px;display:flex;align-items:center}.button-divider[_ngcontent-%COMP%]{margin-top:18px}.personal-data[_ngcontent-%COMP%]{display:flex;justify-content:center}.personal-data[_ngcontent-%COMP%]   input.profile_input_line[_ngcontent-%COMP%]{color:#fbf9fa;border:none;border-bottom:1px solid #727272;background:transparent;width:100%;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-profile-heading[_ngcontent-%COMP%]{justify-content:center}.register-link[_ngcontent-%COMP%]{cursor:pointer;color:#fbf9fa;font-size:12px}.tacbox[_ngcontent-%COMP%]{display:block;max-width:800px;margin:-10px 2em 2em 113px}.tacbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:1.1em;width:1.1em;vertical-align:middle;margin-top:15px}.tacbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:12px;color:#65656b;margin-left:5px}.tacbox[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{display:none}.line-break[_ngcontent-%COMP%]{margin-left:33px!important;margin-top:-17px}.custom-checkbox[_ngcontent-%COMP%]:before{content:"";display:inline-block;width:16px;height:16px;background-color:#1f1d19;border-radius:4px;margin-right:8px;vertical-align:middle;margin-top:14px;border:1px solid #fff}input[type=checkbox][_ngcontent-%COMP%]:checked + .custom-checkbox[_ngcontent-%COMP%]:before{background-color:#1f1d19;content:"\u2714";color:#fff;text-align:center;line-height:16px}ul.upcoming-menu[_ngcontent-%COMP%]{background:#1a1915;position:absolute;top:60px;right:20vw;padding:0;width:400px;border-radius:4px}ul.upcoming-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:142px;height:80px;border-radius:16px}.upcominglist[_ngcontent-%COMP%]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}ul.upcoming-menu[_ngcontent-%COMP%]{max-height:100vh;overflow:auto;overflow-y:scroll}.upcominglist[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.header-left-image[_ngcontent-%COMP%]{object-fit:cover;padding:0;height:100%!important}.color-FA[_ngcontent-%COMP%]{color:#f5f8fa}@media(max-width:1600px){.wrapper[_ngcontent-%COMP%], header[_ngcontent-%COMP%]{padding-left:calc(100vw - 94.5%);padding-right:calc(100vw - 94.5%)}.search-wrap[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{top:5px}}@media(max-width:1200px){  #signin_otp_pop .mat-form-field-wrapper{padding-left:15px!important;padding-right:15px!important}}@media(max-width:1199px){.search-wrap[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{top:-1px}.search-wrap[_ngcontent-%COMP%]{margin-left:0;margin-right:15px;margin-top:3px;height:19px;width:18px}}@media(min-width:768px)and (max-width:1199px){.modal#sursangram_pop[_ngcontent-%COMP%]{width:100%;height:100vh!important}.sursangram_card[_ngcontent-%COMP%]{padding:20px;
1display:flex;flex-direction:column;justify-content:center;margin-top:68vh;width:100%}}@media(max-width:767px){.search-wrap[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{top:-4px}.search-wrap[_ngcontent-%COMP%]{margin-top:0}}@media(min-width:320px)and (max-width:991px){  snack-bar-container.mat-snack-bar-container.alert-snackbar,   snack-bar-container.mat-snack-bar-container.info-snackbar,   snack-bar-container.mat-snack-bar-container.success-snackbar{min-width:min-content;display:flex;align-items:center;height:auto}}@media (min-width:481px) and (max-width:768px){.modal#sursangram_pop[_ngcontent-%COMP%]{width:100%;height:100vh!important}#section_float[_ngcontent-%COMP%]{float:none}.sursangam_button[_ngcontent-%COMP%]{font-size:17px;line-height:21px}.sursangram_card[_ngcontent-%COMP%]{padding:20px;display:flex;flex-direction:column;justify-content:center;margin-top:68vh;width:100%}.scrollable-list[_ngcontent-%COMP%]{height:111vh}}@media(max-width:480px){.edit[_ngcontent-%COMP%]{padding-right:0;padding-left:0}#my-profile_pop[_ngcontent-%COMP%]{padding-right:0!important}.personal-data[_ngcontent-%COMP%]{width:100%;gap:8px}.personal-data[_ngcontent-%COMP%]   .padding-top-10.flex.flex-space-between[_ngcontent-%COMP%]{flex:1 1 50%;min-width:0}.personal-data[_ngcontent-%COMP%]   mat-form-field.phn.w-100.margin-right-30[_ngcontent-%COMP%], .personal-data[_ngcontent-%COMP%]   mat-form-field.w-100.margin-right-30[_ngcontent-%COMP%]{width:100%!important;margin-right:0!important;min-width:0}  .personal-data .mat-form-field-infix{width:auto!important}#section_float[_ngcontent-%COMP%]{float:none}.sursangam_button[_ngcontent-%COMP%]{font-size:17px;line-height:21px}.sursangram_card[_ngcontent-%COMP%]{padding:20px;display:flex;flex-direction:column;justify-content:center;margin-top:68vh;width:100%}}@media (max-width:1080px){.header-left[_ngcontent-%COMP%]   a.logoid[_ngcontent-%COMP%]{width:60%;margin-top:22px;margin-bottom:22px;margin-left:0}}.oriya-color2[_ngcontent-%COMP%]{text-align:center}.text-left[_ngcontent-%COMP%]{text-align:left}.switch[_ngcontent-%COMP%]{position:relative;display:inline-block;width:60px;height:34px;float:right;margin-top:-26px}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.slider[_ngcontent-%COMP%]{cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;border-radius:34px;width:19px;height:12px}.slider[_ngcontent-%COMP%], .slider[_ngcontent-%COMP%]:before{position:absolute;transition:.4s}.slider[_ngcontent-%COMP%]:before{content:"";height:24px;width:24px;left:-15px;bottom:-5px;background-color:#fff;border-radius:50%}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#e5d9da}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translateX(26px);background-color:#f5841f}.initial-slider[_ngcontent-%COMP%]{margin-top:28px;margin-left:10px}.disabled-slider[_ngcontent-%COMP%]{margin-left:20px}.font-size31[_ngcontent-%COMP%]{font-size:31px}.login-slider[_ngcontent-%COMP%]{margin-left:35px;margin-top:29px}ul.account-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover, ul.login-account-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background:#373536 0 0 no-repeat padding-box;border-radius:8px;color:#fbf9fa!important}.header-icon-set[_ngcontent-%COMP%]{margin-right:21px}.google-icon[_ngcontent-%COMP%]{height:17px;width:17px}.fb-icon[_ngcontent-%COMP%], .google-icon[_ngcontent-%COMP%]{float:left;margin-left:11px}.fb-icon[_ngcontent-%COMP%]{height:37px;width:28px}.signin_with_google[_ngcontent-%COMP%]{float:left;padding-left:10px}.parental-group-button[_ngcontent-%COMP%]{display:grid;justify-content:center;margin-top:16px}.parental-alert[_ngcontent-%COMP%]{text-align:center;font-size:11px;color:#65656b}.coming-soon[_ngcontent-%COMP%]{color:#9ca3af;background:transparent;border:none;margin-top:22px}.delete-link[_ngcontent-%COMP%]{color:#f5841f}.tc-error-message[_ngcontent-%COMP%]{font-size:10px;text-align:center;line-height:0;margin-inline-start:-90px}@media(min-width:1277px) and (max-width:1280px){.header-icon-set[_ngcontent-%COMP%]{margin-right:0}}@media only screen and (max-width:768px){.mobile-login-row[_ngcontent-%COMP%]   .calling-code[_ngcontent-%COMP%]{flex:0 0 100px;width:100px!important;margin:0!important}.tacbox[_ngcontent-%COMP%]{margin-left:52px}}@supports (-moz-appearance:none){@media only screen and (max-width:768px){.user_details.user-detail-block[_ngcontent-%COMP%]{width:-moz-fit-content!important;padding-left:10px}.edit[_ngcontent-%COMP%]{padding-right:48px}}}.activate-tv-text[_ngcontent-%COMP%]{height:25px;text-align:center;letter-spacing:.29px;color:#fbf9fa;opacity:1;font-size:21px}.active-tv-desc[_ngcontent-%COMP%]{text-align:left;letter-spacing:.15px;color:hsla(0,0%,100%,.6);opacity:1;font-size:12px;font-family:KohinoorLatin-Medium}a.verify.disabled[_ngcontent-%COMP%]{background:grey;
1cursor:default}.error-desc[_ngcontent-%COMP%]{letter-spacing:.15px;color:#f5841f;opacity:1;font-size:14px;font-family:KohinoorLatin-Medium}.gdpr-text[_ngcontent-%COMP%]{text-align:justify;padding:0 10px;line-height:23px;font-size:14px}.custom-gdpr-checkbox[_ngcontent-%COMP%]{width:16px;height:15px;appearance:none;background-color:#1f1d19;border:2px solid #292325;border-radius:4px;position:relative;cursor:pointer;top:2px;margin-right:4px}.custom-gdpr-checkbox[_ngcontent-%COMP%]:checked:after{content:"\u2714";color:#fff;position:absolute;left:2px;top:-1px;font-size:14px}.custom-gdpr-checkbox[_ngcontent-%COMP%]:hover{opacity:.8}.toggle-container[_ngcontent-%COMP%]{display:flex;background-color:#1e1e1e;border-radius:10px;padding:4px;width:260px;margin:0 auto}.toggle-btn[_ngcontent-%COMP%]{flex:1;background:transparent;border:none;color:#9e9e9e;padding:10px 0;font-size:14px;border-radius:8px;cursor:pointer;transition:all .3s ease;&.active,&:hover{color:#fff}&.active{background-color:#f5841f;font-weight:600;box-shadow:0 0 8px rgba(41,121,255,.5)}}.input-wrapper[_ngcontent-%COMP%]{margin-top:16px;input{width:100%;padding:12px;background:#121212;border:1px solid #2c2c2c;border-radius:8px;color:#fff;font-size:14px;&::placeholder{color:#7a7a7a}&:focus{outline:none;border-color:#2979ff}}}.forgot-password[_ngcontent-%COMP%]{color:#8ab4f8;font-size:14px;cursor:pointer;text-align:right;margin-top:8px;transition:color .2s ease,opacity .2s ease;text-align:center}.forgot-password[_ngcontent-%COMP%]:hover{color:#aecbfa}.forgot-password[_ngcontent-%COMP%]:active{opacity:.7}.profile_pop_input_wid[_ngcontent-%COMP%]{background-color:initial!important;color:#fff!important;border-bottom:1px solid #fff!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.profile_pop_input_wid[_ngcontent-%COMP%]::placeholder{color:#aaa!important;opacity:1}.profile_pop_input_wid[_ngcontent-%COMP%]:focus{border-bottom:1px solid #00e676!important}.profile_title[_ngcontent-%COMP%]{color:#fff}mat-error[_ngcontent-%COMP%]{color:#ff5252!important}.modal.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{pointer-events:none}.modal[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%], .modal[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{pointer-events:auto}.header-left[_ngcontent-%COMP%]{display:flex!important;align-items:center;flex-wrap:nowrap}.header-left[_ngcontent-%COMP%]   a.logoid[_ngcontent-%COMP%]{flex-shrink:0}.header-left[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.header-left[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:flex!important;flex-wrap:nowrap;width:auto!important}.header-left[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{flex-shrink:0;white-space:nowrap}@media (min-width:600px){section.header.desktop-header[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   nav.d-none.d-xl-block[_ngcontent-%COMP%]{display:block!important;overflow-x:auto!important;max-width:100%!important;scrollbar-width:none}section.header.desktop-header[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   nav.d-none.d-xl-block[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}section.header.desktop-header[_ngcontent-%COMP%]   .header-right.d-none.d-xl-block[_ngcontent-%COMP%]{display:flex!important;flex-shrink:0!important}section.header.desktop-header[_ngcontent-%COMP%]   .header-right.mobile-header-right.d-block.d-xl-none[_ngcontent-%COMP%]{display:none!important}section.header.desktop-header[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   nav.d-none.d-xl-block[_ngcontent-%COMP%]   ul.list-none[_ngcontent-%COMP%]{display:flex!important;flex-wrap:nowrap!important;width:auto!important}section.header.desktop-header[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   nav.d-none.d-xl-block[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:auto!important;margin-bottom:0!important;flex-shrink:0!important}}']}),e})();var It=n("JqCM");let Tt=(()=>{class e{constructor(){}ngOnInit(){}newWindowRoutes(e){window.open(window.location.origin+"/"+e+"?browser=mobile","_blank")}externalRedirect(e,t){window.open(e+"?browser=mobile","_blank")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-footer"]],decls:73,vars:0,consts:[[1,"footer","pull-left","w-100"],[1,"container"],[1,"row"],[1,"wrapper","footer-wrapper"],[1,""],[1,"col-xl-5","col-lg-12","col-md-12","col-sm-12","col-","footer-left"],[1,"pull-left","w-100","d-none","d-xl-block"],[1,"font-size3","oriya-color1","list-none","padding-left-0","margin-bottom-30","pull-left","w-100"],["href","/about-us","routerLink","/about-us",1,"aboutgap","staticroutes","padding-bottom-10"],["href","/terms_and_conditions","routerLink","/terms_and_conditions",1,"staticroutes","padding-bottom-10"],["href","/privacy_policy","routerLink","/privacy_policy",1,"staticroutes","padding-bottom-10"],["href","/contact-us","routerLink","/contact-us",1,"staticroutes","padding-bottom-10"],["href","/refund_policy","routerLink","/refund_policy",1,"staticroutes","padding-bottom-10"],["href","/digital-delivery-exchange","routerLink","/digital-delivery-exchange",1,"staticroutes","padding-bottom-10"],[1,"pull-left","w-100","d-block","d-xl-none"],[1,"list-none","padding-left-0","margin-bottom-25","pull-left","w-100"],[1,"staticroutes",3,"click"],[1,"footer-desc","oriya-color2","d-none","d-xl-block","pull-left"],[1,"footer-right"],[1,"pull-left","social_icons"],[1,"margin-bottom-30"],["target","_blank",3,"click"],["src","./assets/dangalPlay/instagram.svg","alt","Instagram","title","Instagram"],["src","./assets/dangalPlay/instagram_hover.svg","alt","Instagram","title","Instagram",1,"hover"],["src","./assets/dangalPlay/facebook.svg","alt","Facebook","title","Facebook"],["src","./assets/dangalPlay/facebook_hover.svg","alt","Facebook","title","Facebook",1,"hover"],["src","./assets/dangalPlay/icon_default_twitter.svg","alt","Twitter","title","Twitter"],["src","./assets/dangalPlay/icon_default_twitter-1.svg","alt","Twitter","title","Twitter",1,"hover"],["src","./assets/dangalPlay/icon_default_youTube.svg","alt","Youtube","title","Youtube"],["src","./assets/dangalPlay/icon_default_youTube-1.svg","alt","Youtube","title","Youtube",1,"hover"],[1,"margin-bottom-30","margin-left-0","font-size3"],[1,"footer-icons"],["href","https://play.google.com/store/apps/details?id=com.otl.tarangplus","target","_blank"],["src","./assets/dangalPlay/icon_playStore.svg","alt","Android App","title","Android App"],["src","./assets/dangalPlay/icon_playStore_hover.svg","alt","Android App","title","Android App",1,"hover"],["href","https://apps.apple.com/us/app/tarangplus/id1478384536","target","_blank"],["src","./assets/dangalPlay/icon_appStore.svg","alt"," App Store","title"," App Store"],["src","./assets/dangalPlay/icon_appStore_hover.svg","alt"," App Store","title"," App Store",1,"hover"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"section",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"footer",4),i["\u0275\u0275elementStart"](5,"div",2),i["\u0275\u0275elementStart"](6,"div",5),i["\u0275\u0275elementStart"](7,"nav",6),i["\u0275\u0275elementStart"](8,"ul",7),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275elementStart"](10,"a",8),i["\u0275\u0275text"](11,"About Us"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275elementStart"](13,"a",9),i["\u0275\u0275text"](14,"Terms Of Use"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275elementStart"](16,"a",10),i["\u0275\u0275text"](17,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275elementStart"](19,"a",11),i["\u0275\u0275text"](20,"Contact us"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275elementStart"](22,"a",12),i["\u0275\u0275text"](23,"Refund Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275elementStart"](25,"a",13),i["\u0275\u0275text"](26,"Digital Delivery Exchange"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"nav",14),i["\u0275\u0275elementStart"](28,"ul",15),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275elementStart"](30,"a",16),i["\u0275\u0275listener"]("click",(function(){return t.newWindowRoutes("about-us")})),i["\u0275\u0275text"](31,"About Us"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275elementStart"](33,"a",16),i["\u0275\u0275listener"]("click",(function(){return t.newWindowRoutes("terms_and_conditions")})),i["\u0275\u0275text"](34,"Terms Of Use"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"li"),i["\u0275\u0275elementStart"](36,"a",16),i["\u0275\u0275listener"]("click",(function(){return t.newWindowRoutes("privacy_policy")})),i["\u0275\u0275text"](37,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"li"),i["\u0275\u0275elementStart"](39,"a",16),i["\u0275\u0275listener"]("click",(function(){return t.newWindowRoutes("contact-us")})),i["\u0275\u0275text"](40,"Contact us"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"li"),i["\u0275\u0275elementStart"](42,"a",16),i["\u0275\u0275listener"]("click",(function(){return t.newWindowRoutes("refund_policy")})),i["\u0275\u0275text"](43,"Refund Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"p",17),i["\u0275\u0275text"](45," Tarang Plus \xa9 2026, All Rights Reserved "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"div",18),i["\u0275\u0275elementStart"](47,"div",19),i["\u0275\u0275elementStart"](48,"p",20),i["\u0275\u0275text"](49,"Connect With Us"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"span"),i["\u0275\u0275elementStart"](51,"a",21),i["\u0275\u0275listener"]("click",(function(){return t.externalRedirect("https://www.instagram.com/tarangplusodisha/","Instagram")})),i["\u0275\u0275element"](52,"img",22),i["\u0275\u0275element"](53,"img",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"a",21),i["\u0275\u0275listener"]("click",(function(){return t.externalRedirect("https://www.facebook.com/tarangplus","Facebook")})),i["\u0275\u0275element"](55,"img",24),i["\u0275\u0275element"](56,"img",25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"a",21),i["\u0275\u0275listener"]("click",(function(){return t.externalRedirect("https://x.com/tarangplusodia","Twitter")})),i["\u0275\u0275element"](58,"img",26),i["\u0275\u0275element"](59,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](60,"a",21),i["\u0275\u0275listener"]("click",(function(){return t.externalRedirect("https://www.youtube.com/channel/UCujyiVE2bbQwzkQX-nGI1yQ","Youtube")})),i["\u0275\u0275element"](61,"img",28),i["\u0275\u0275element"](62,"img",29),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"div",4),i["\u0275\u0275elementStart"](64,"p",30),i["\u0275\u0275text"](65,"Tarang App"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"div",31),i["\u0275\u0275elementStart"](67,"a",32),i["\u0275\u0275element"](68,"img",33),i["\u0275\u0275element"](69,"img",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"a",35),i["\u0275\u0275element"](71,"img",36),i["\u0275\u0275element"](72,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},directives:[D.g],styles:[".footer-desc[_ngcontent-%COMP%]{color:#a7a6a4!important;font-weight:300;font-size:17px;line-height:22.4px}.footer-icons[_ngcontent-%COMP%]{display:flex;justify-content:center;float:left}@media (max-width:1080px){.footer-icons[_ngcontent-%COMP%]{float:none}}"]}),e})(),Mt=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-not-supported"]],decls:5,vars:0,consts:[[1,"w-100","center-align-content2","text-center",2,"height","100%"],[1,"oriya-color1","font-size4"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"p",1),i["\u0275\u0275text"](2,"Tarang is presently not available in your country."),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275text"](4,"We will be coming soon."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},styles:[""]}),e})();function At(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"app-splash-screen"),i["\u0275\u0275elementEnd"]())}function Dt(e,t){1&e&&i["\u0275\u0275element"](0,"app-footer")}function jt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275element"](1,"app-header"),i["\u0275\u0275element"](2,"router-outlet"),i["\u0275\u0275element"](3,"ngx-spinner",4),i["\u0275\u0275template"](4,Dt,1,0,"app-footer",0),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf","android"!==e.browser)}}function Nt(e,t){1&e&&i["\u0275\u0275element"](0,"app-header")}function Rt(e,t){1&e&&i["\u0275\u0275element"](0,"ngx-spinner",7)}function Lt(e,t){1&e&&i["\u0275\u0275element"](0,"app-footer")}function Ft(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,Nt,1,0,"app-header",0),i["\u0275\u0275element"](2,"router-outlet"),i["\u0275\u0275template"](3,Rt,1,0,"ngx-spinner",6),i["\u0275\u0275template"](4,Lt,1,0,"app-footer",0),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.showLayout),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.showLayout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.showLayout)}}function Vt(e,t){1&e&&i["\u0275\u0275element"](0,"app-not-supported")}function Bt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275template"](1,Ft,5,3,"div",0),i["\u0275\u0275template"](2,Vt,1,0,"app-not-supported",0),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.isRegionSupported),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.isRegionSupported)}}const Ut="we_deeplink_opened_session",Ht="we_site_visited_before",zt="we_onboarding_started_at",Gt="we_first_visit_ts",qt="we_notif_permission_granted_tracked",Wt="we_notif_permission_denied_tracked";let Kt=(()=>{class e{constructor(e,t,n,i,r,s){var a,c,u,h;this.httpClient=e,this.router=t,this.userService=n,this.loadingService=i,this.broadcastService=r,this.platformId=s,this.browser="web",this.showLayout=!0,this.title="Dangal Play",this.showSplash=!0,this.firstTimeLoad=!0,this.deeplinkOpenedFlush=null,this.headers=(new l.c).set("content-type","application/json").set("charset","utf-8"),this.options={headers:this.headers},this.region="",this.isRegionSupported=!0,this.disableSplash=!1,this.landingPathname=window.location.pathname||"/",this.landingSearch=window.location.search||"";const d=new URLSearchParams(window.location.search);this.browser=d.get("browser")||"web",this.region=d.get("region")||"",console.log("Browser detected from query param:",this.browser);try{Object(o.isPlatformBrowser)(this.platformId)&&((null===(a=window.localStorage)||void 0===a?void 0:a.getItem(zt))||null===(c=window.localStorage)||void 0===c||c.setItem(zt,String(Date.now())),(
1null===(u=window.localStorage)||void 0===u?void 0:u.getItem(Gt))||null===(h=window.localStorage)||void 0===h||h.setItem(Gt,String(Date.now())))}catch(p){}"android"===this.browser&&(this.disableSplash=!0,this.showSplash=!1),this.router.events.subscribe(e=>{if(e instanceof D.c){if(this.syncBrowserFromRoute(e.urlAfterRedirects),Object(o.isPlatformBrowser)(this.platformId)&&this.trackDeeplinkOpened(),["android","ios","mobile"].includes(this.browser))return void(this.showSplash=!1);this.firstTimeLoad&&"/"===e.urlAfterRedirects?(this.firstTimeLoad=!1,this.showSplash=!0,setTimeout(()=>{this.showSplash=!1},3e3)):this.showSplash=!1}})}onRightClick(e){e.preventDefault()}ngOnInit(){this.syncBrowserFromRoute(this.router.url||window.location.pathname),this.httpClient.get(".well-known/assetlinks.json",this.options).subscribe(e=>{}),this.isServer=Object(o.isPlatformServer)(this.platformId),this.isBrowser=Object(o.isPlatformBrowser)(this.platformId),this.isBrowser&&this.initNotificationPermissionListener()}ngAfterViewInit(){console.log("App Component - ngAfterViewInit")}isAndroidLayoutRoute(e){var t;if(!Object(o.isPlatformBrowser)(this.platformId))return!1;try{const n=e.startsWith("http")?e:`${window.location.origin}${e.startsWith("/")?e:"/"+e}`,i=new URL(n),r=i.pathname.replace(/\/$/,"")||"/";return!!("android"===i.searchParams.get("browser")||"/app-plans"===r||r.startsWith("/app-plans/")||["/plans","/payments/payment_success","/payments/payment_failure"].some(e=>r===e||r.startsWith(e+"/"))&&"android"===(null===(t=window.localStorage)||void 0===t?void 0:t.getItem("browser")))}catch(n){return!1}}syncBrowserFromRoute(e){if(this.isAndroidLayoutRoute(e))return this.browser="android",void(this.showLayout=!1);const t=e.includes("?")?e.split("?")[1]:window.location.search.replace(/^\?/,""),n=new URLSearchParams(t);this.browser=n.get("browser")||"web",this.showLayout=!0,this.restoreHeaderFooter()}restoreHeaderFooter(){if(Object(o.isPlatformBrowser)(this.platformId))try{document.querySelectorAll("app-header, app-footer").forEach(e=>{e.style.display=""})}catch(e){}}trackDeeplinkOpened(){try{if("undefined"==typeof sessionStorage)return;if(sessionStorage.getItem(Ut))return;this.deeplinkOpenedFlush&&clearTimeout(this.deeplinkOpenedFlush),this.deeplinkOpenedFlush=setTimeout(()=>{this.deeplinkOpenedFlush=null,this.flushDeeplinkOpened()},250)}catch(e){}}flushDeeplinkOpened(){try{if("undefined"==typeof sessionStorage)return;if(sessionStorage.getItem(Ut))return;if((window.location.pathname||"/").startsWith("/payments/"))return;if("undefined"==typeof webengage||!(null===webengage||void 0===webengage?void 0:webengage.track))return;const e=this.landingSearch||window.location.search||"",t=new URLSearchParams(e.startsWith("?")?e:e?"?"+e:""),n="true"===t.get("share_url")||"deeplinked"===t.get("url");if(!(t.get("utm_source")||t.get("utm_medium")||t.get("utm_campaign")||t.get("utm_content")||t.get("utm_term")||t.get("campaign_id")||t.get("cid")||t.get("we_campaign_id")||t.get("deeplink")||n))return;sessionStorage.setItem(Ut,"1");const i=this.landingPathname||window.location.pathname||"/",{target_screen:r,target_id:o}=function(e){const t=(e||"/").replace(/^\//,"").split("/").filter(Boolean),n=t.length;if(0===n)return{target_screen:"homepage",target_id:""};const i=t[0],r=t[n-1];if("play"===r)return{target_screen:n>=4?"episode_play":"title_play",target_id:t[n-2]||""};if("all"===r||"episodes"===r)return{target_screen:"listing",target_id:t[n-2]||t[0]||""};if("starrer"===i&&t[1])return{target_screen:"star_detail",target_id:t[1]};if("plans"===i)return{target_screen:"plans",target_id:""};if("live-tv"===i)return{target_screen:"live_tv",target_id:""};if("shorts"===i)return{target_screen:"shorts",target_id:""};if("users"===i&&t[1])return{target_screen:"user_"+t[1].replace(/-/g,"_"),target_id:t[2]||""};if("payments"===i)return{target_screen:"payment_result",target_id:r||""};if(2===n)return{target_screen:"title_detail",target_id:t[1]};if(3===n)return{target_screen:"episode_detail",target_id:t[2]};if(1===n){const e={"serial-list":"serial_list","web-series-list":"web_series_list","shorts-list":"shorts_list","movie-list":"mov
1ie_list","shows-list":"shows_list","all-channels":"live_tv_list"};return e[i]?{target_screen:e[i],target_id:""}:{target_screen:"catalog_list",target_id:t[0]}}return{target_screen:"other",target_id:t.join("/")}}(i),s=localStorage.getItem(Ht),a=!s;s||localStorage.setItem(Ht,"1");const l=n?"share":"organic",c={utm_source:t.get("utm_source")||l,utm_medium:t.get("utm_medium")||l,utm_campaign:t.get("utm_campaign")||l,deeplink_path:i,deeplink_url:`${window.location.origin}${i}${e.startsWith("?")||!e?e:"?"+e}`||window.location.href||"",target_screen:r,is_first_session:a},u=t.get("utm_content");u&&(c.utm_content=u);const h=t.get("utm_term");h&&(c.utm_term=h);const d=t.get("campaign_id")||t.get("cid")||t.get("we_campaign_id");d&&(c.campaign_id=d),o&&(c.target_id=o),console.log("WebEngage Deeplink Opened",c),webengage.track("Deeplink Opened",c)}catch(e){}}initNotificationPermissionListener(){var e,t,n,i;try{if("undefined"==typeof window)return;if("undefined"==typeof Notification)return;const o=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(qt),s=null===(t=window.localStorage)||void 0===t?void 0:t.getItem(Wt);if(o&&s)return;const a=(e,t,n)=>{const i="prompt"===e||"default"===e||""===e;i&&"granted"===t?this.trackNotificationPermissionGranted(n):i&&"denied"===t&&this.trackNotificationPermissionDenied(n)};try{const e=null===(n=Notification.requestPermission)||void 0===n?void 0:n.bind(Notification);"function"!=typeof e||Notification.__wePatched||(Notification.__wePatched=!0,Notification.requestPermission=t=>{const n="default"===Notification.permission?"prompt":Notification.permission,i=e(t);return Promise.resolve(i).then(e=>(a(n,e,"webpush_prompt"),e)).catch(()=>{}),i})}catch(r){}const l=navigator;if(!(null===(i=null==l?void 0:l.permissions)||void 0===i?void 0:i.query)){let e=Notification.permission;const t=window.setInterval(()=>{const n=Notification.permission;n!==e&&(a("default"===e?"prompt":e,n,"permission_poll"),e=n),"default"!==n&&window.clearInterval(t)},1e3);return void window.setTimeout(()=>window.clearInterval(t),6e4)}l.permissions.query({name:"notifications"}).then(e=>{let t=(null==e?void 0:e.state)||Notification.permission||"prompt";const n=()=>{const n=(null==e?void 0:e.state)||("default"===Notification.permission?"prompt":Notification.permission);a(t,n,"contextual"),t=n};e&&(e.onchange=n);let i=0;const r=setInterval(()=>{var e,t;if(i++,i>24)return void clearInterval(r);const o=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(qt),s=null===(t=window.localStorage)||void 0===t?void 0:t.getItem(Wt);o&&s?clearInterval(r):n()},5e3)}).catch(()=>{})}catch(o){}}trackNotificationPermissionGranted(e){var t,n;try{if(null===(t=window.localStorage)||void 0===t?void 0:t.getItem(qt))return;null===(n=window.localStorage)||void 0===n||n.setItem(qt,"1")}catch(i){}}trackNotificationPermissionDenied(e){var t,n;try{if(null===(t=window.localStorage)||void 0===t?void 0:t.getItem(Wt))return;null===(n=window.localStorage)||void 0===n||n.setItem(Wt,"1")}catch(i){}}appConfigApi(){this.loadingService.showLoader(),this.userService.appConfig(this.region).subscribe(e=>{var t,n,i,r,o,s,a,l;this.loadingService.hideLoader(),this.isRegionSupported=null===(t=e.data)||void 0===t?void 0:t.is_region_supported,screen.width<1200?window.localStorage&&window.localStorage.setItem("ad_slot1",JSON.stringify(null===(r=null===(i=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.params_hash2)||void 0===i?void 0:i.config_params)||void 0===r?void 0:r.mweb_ads)):window.localStorage&&window.localStorage.setItem("ad_slot1",JSON.stringify(null===(a=null===(s=null===(o=null==e?void 0:e.data)||void 0===o?void 0:o.params_hash2)||void 0===s?void 0:s.config_params)||void 0===a?void 0:a.web_ads)),window.localStorage&&window.localStorage.setItem("banner_ads_available",JSON.stringify(null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.banner_ads_available))},e=>{this.loadingService.hideLoader()})}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](l.a),i["\u0275\u0275directiveInject"](D.d),i["\u0275\u0275directiveInject"](P.a),i["\u0275\u0275directiveInject"](U.a),i["\u0275\u0275directiveInject"](M.a),i["\u0275\u0275directiveInject"](i.PLATFORM_ID))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-root"]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("contextmenu",(function(e){return t.onRightClick(e)}))},decls:4,vars:3,consts:[[4,"ngIf"],["style","display: none",4,"ngIf"],["style","height: 100%;",4,"ngIf"],[2,"display","none"],["template","<img src='./assets/dangalPlay/ratri-loader-logo.gif' style='width:100px;height:100px'/>",1,"loader-1"],[2,"height","100%"],["template","<img src='./assets/dangalPlay/ratri-loader-logo.gif' style='width:100px;height:100px'/>",4,"ngIf"],["template","<img src='./assets/dangalPlay/ratri-loader-logo.gif' style='width:100px;height:100px'/>"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,At,2,0,"div",0),i["\u0275\u0275element"](1,"app-app-install-button"),i["\u0275\u0275template"](2,jt,5,1,"div",1),i["\u0275\u0275template"](3,Bt,3,2,"div",2)),2&e&&(i["\u0275\u0275property"]("ngIf",t.showSplash&&"android"!=t.browser),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.isServer&&!t.showSplash),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isBrowser&&!t.showSplash))},directives:[o.NgIf,H,z,Pt,D.i,It.a,Tt,Mt],styles:[""]}),e})();var Xt=n("iadO"),$t=n("spgP"),Qt=n("D0XW"),Yt=n("HDdC"),Zt=n("Cfvw"),Jt=n("Zy1z"),en=n("Kqa
1p"),tn=n("/uUt"),nn=n("pxpQ"),rn=n("Jgta"),on=n("zIRd"),sn=n("mrSG"),an=n("qOnz"),ln=n("q/0M"),cn=function(e,t){return(cn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function un(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var hn,dn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},pn=pn||{},fn=dn||self;function mn(){}function gn(e){var t=typeof e;return"array"==(t="object"!=t?t:e?Array.isArray(e)?"array":t:"null")||"object"==t&&"number"==typeof e.length}function bn(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}var _n="closure_uid_"+(1e9*Math.random()>>>0),vn=0;function yn(e,t,n){return e.call.apply(e.bind,arguments)}function wn(e,t,n){if(!e)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,i),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function Cn(e,t,n){return(Cn=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?yn:wn).apply(null,arguments)}function xn(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}function Sn(e,t){function n(){}n.prototype=t.prototype,e.Z=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.Vb=function(e,n,i){for(var r=Array(arguments.length-2),o=2;o<arguments.length;o++)r[o-2]=arguments[o];return t.prototype[n].apply(e,r)}}function On(){this.s=this.s,this.o=this.o}var kn={};On.prototype.s=!1,On.prototype.na=function(){if(!this.s&&(this.s=!0,this.M(),0)){var e=function(e){return Object.prototype.hasOwnProperty.call(e,_n)&&e[_n]||(e[_n]=++vn)}(this);delete kn[e]}},On.prototype.M=function(){if(this.o)for(;this.o.length;)this.o.shift()()};var En=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(e,t){if("string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,0);for(var n=0;n<e.length;n++)if(n in e&&e[n]===t)return n;return-1},Pn=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(e,t,n){for(var i=e.length,r="string"==typeof e?e.split(""):e,o=0;o<i;o++)o in r&&t.call(n,r[o],o,e)};function In(e){return Array.prototype.concat.apply([],arguments)}function Tn(e){var t=e.length;if(0<t){for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}return[]}function Mn(e){return/^[\s\xa0]*$/.test(e)}var An,Dn=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]};function jn(e,t){return-1!=e.indexOf(t)}function Nn(e,t){return e<t?-1:e>t?1:0}e:{var Rn=fn.navigator;if(Rn){var Ln=Rn.userAgent;if(Ln){An=Ln;break e}}An=""}function Fn(e,t,n){for(var i in e)t.call(n,e[i],i,e)}function Vn(e){var t={};for(var n in e)t[n]=e[n];return t}var Bn="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Un(e,t){for(var n,i,r=1;r<arguments.length;r++){for(n in i=arguments[r])e[n]=i[n];for(var o=0;o<Bn.length;o++)n=Bn[o],Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}}function Hn(e){return Hn[" "](e),e}Hn[" "]=mn;var zn,Gn,qn=jn(An,"Opera"),Wn=jn(An,"Trident")||jn(An,"MSIE"),Kn=jn(An,"Edge"),Xn=Kn||Wn,$n=jn(An,"Gecko")&&!(jn(An.toLowerCase(),"webkit")&&!jn(An,"Edge"))&&!(jn(An,"Trident")||jn(An,"MSIE"))&&!jn(An,"Edge"),Qn=jn(An.toLowerCase(),"webkit")&&!jn(An,"Edge");function Yn(){var e=fn.document;return e?e.documentMode:void 0}e:{var Zn="",Jn=(Gn=An,$n?/rv:([^\);]+)(\)|;)/.exec(Gn):Kn?/Edge\/([\d\.]+)/.exec(Gn):Wn?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(Gn):Qn?/WebKit\/(\S+)/.exec(Gn):qn?/(?:Version)[ \/]?(\S+)/.exec(Gn):void 0);if(Jn&&(Zn=Jn?Jn[1]:""),Wn){var ei=Yn();if(null!=ei&&ei>parseFloat(Zn)){zn=String(ei);break e}}zn=Zn}var ti={};var ni=fn.document&&Wn&&(Yn()||parseInt(zn,10))||void 0,ii=function(){if(!fn.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{fn.addEventListener("test",mn,t),fn.removeEventListener("test",mn,t)}catch(n){}return e}();function ri(e,t){this.type=e,this.g=this.target=t,this.defaultPrevented=!1}function oi(e,t){if(ri.call(this,e?e.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,e){var n=this.type=e.type,i=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.g=t,t=e.relatedTarget){if($n){e:{try{Hn(t.nodeName);var r=!0;break e}catch(o){}r=!1}r||(t=null)}}
1else"mouseover"==n?t=e.fromElement:"mouseout"==n&&(t=e.toElement);this.relatedTarget=t,i?(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"==typeof e.pointerType?e.pointerType:si[e.pointerType]||"",this.state=e.state,this.i=e,e.defaultPrevented&&oi.Z.h.call(this)}}ri.prototype.h=function(){this.defaultPrevented=!0},Sn(oi,ri);var si={2:"touch",3:"pen",4:"mouse"};oi.prototype.h=function(){oi.Z.h.call(this);var e=this.i;e.preventDefault?e.preventDefault():e.returnValue=!1};var ai="closure_listenable_"+(1e6*Math.random()|0),li=0;function ci(e,t,n,i,r){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!i,this.ia=r,this.key=++li,this.ca=this.fa=!1}function ui(e){e.ca=!0,e.listener=null,e.proxy=null,e.src=null,e.ia=null}function hi(e){this.src=e,this.g={},this.h=0}function di(e,t){var n=t.type;if(n in e.g){var i,r=e.g[n],o=En(r,t);(i=0<=o)&&Array.prototype.splice.call(r,o,1),i&&(ui(t),0==e.g[n].length&&(delete e.g[n],e.h--))}}function pi(e,t,n,i){for(var r=0;r<e.length;++r){var o=e[r];if(!o.ca&&o.listener==t&&o.capture==!!n&&o.ia==i)return r}return-1}hi.prototype.add=function(e,t,n,i,r){var o=e.toString();(e=this.g[o])||(e=this.g[o]=[],this.h++);var s=pi(e,t,i,r);return-1<s?(t=e[s],n||(t.fa=!1)):((t=new ci(t,this.src,o,!!i,r)).fa=n,e.push(t)),t};var fi="closure_lm_"+(1e6*Math.random()|0),mi={};function gi(e,t,n,i,r){if(i&&i.once)return function e(t,n,i,r,o){if(Array.isArray(n)){for(var s=0;s<n.length;s++)e(t,n[s],i,r,o);return null}return i=xi(i),t&&t[ai]?t.O(n,i,bn(r)?!!r.capture:!!r,o):bi(t,n,i,!0,r,o)}(e,t,n,i,r);if(Array.isArray(t)){for(var o=0;o<t.length;o++)gi(e,t[o],n,i,r);return null}return n=xi(n),e&&e[ai]?e.N(t,n,bn(i)?!!i.capture:!!i,r):bi(e,t,n,!1,i,r)}function bi(e,t,n,i,r,o){if(!t)throw Error("Invalid event type");var s=bn(r)?!!r.capture:!!r,a=wi(e);if(a||(e[fi]=a=new hi(e)),(n=a.add(t,n,i,s,o)).proxy)return n;if(i=function(){var e=yi;return function t(n){return e.call(t.src,t.listener,n)}}(),n.proxy=i,i.src=e,i.listener=n,e.addEventListener)ii||(r=s),void 0===r&&(r=!1),e.addEventListener(t.toString(),i,r);else if(e.attachEvent)e.attachEvent(vi(t.toString()),i);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(i)}return n}function _i(e){if("number"!=typeof e&&e&&!e.ca){var t=e.src;if(t&&t[ai])di(t.i,e);else{var n=e.type,i=e.proxy;t.removeEventListener?t.removeEventListener(n,i,e.capture):t.detachEvent?t.detachEvent(vi(n),i):t.addListener&&t.removeListener&&t.removeListener(i),(n=wi(t))?(di(n,e),0==n.h&&(n.src=null,t[fi]=null)):ui(e)}}}function vi(e){return e in mi?mi[e]:mi[e]="on"+e}function yi(e,t){if(e.ca)e=!0;else{t=new oi(t,this);var n=e.listener,i=e.ia||e.src;e.fa&&_i(e),e=n.call(i,t)}return e}function wi(e){return(e=e[fi])instanceof hi?e:null}var Ci="__closure_events_fn_"+(1e9*Math.random()>>>0);function xi(e){return"function"==typeof e?e:(e[Ci]||(e[Ci]=function(t){return e.handleEvent(t)}),e[Ci])}function Si(){On.call(this),this.i=new hi(this),this.P=this,this.I=null}function Oi(e,t){var n,i=e.I;if(i)for(n=[];i;i=i.I)n.push(i);if(e=e.P,i=t.type||t,"string"==typeof t)t=new ri(t,e);else if(t instanceof ri)t.target=t.target||e;else{var r=t;Un(t=new ri(i,e),r)}if(r=!0,n)for(var o=n.length-1;0<=o;o--){var s=t.g=n[o];r=ki(s,i,!0,t)&&r}if(r=ki(s=t.g=e,i,!0,t)&&r,r=ki(s,i,!1,t)&&r,n)for(o=0;o<n.length;o++)r=ki(s=t.g=n[o],i,!1,t)&&r}function ki(e,t,n,i){if(!(t=e.i.g[String(t)]))return!0;t=t.concat();for(var r=!0,o=0;o<t.length;++o){var s=t[o];if(s&&!s.ca&&s.capture==n){var a=s.listener,l=s.ia||s.src;s.fa&&di(e.i,s),r=!1!==a.call(l,i)&&r}}return r&&!i.defaultPrevented}Sn(Si,On),Si.prototype[ai]=!0,Si.prototype.removeEventListener=function(e,t,n,i){!function e(t,n,i,r,o){if(Array.isArray(n))for(var s=0;s<n.length;s++)e(t,n[s],i,r,o);else r=bn(r)?!!r.capture:!!r,i=xi(i),t&&t[ai]?(t=t.i,(n=String(n).toString())in t.g&&-1<(i=pi(s=t.g[n],i,r,o))&&(ui(s[i]),Array.prototype.splice.call(s,i,1
1),0==s.length&&(delete t.g[n],t.h--))):t&&(t=wi(t))&&(n=t.g[n.toString()],t=-1,n&&(t=pi(n,i,r,o)),(i=-1<t?n[t]:null)&&_i(i))}(this,e,t,n,i)},Si.prototype.M=function(){if(Si.Z.M.call(this),this.i){var e,t=this.i;for(e in t.g){for(var n=t.g[e],i=0;i<n.length;i++)ui(n[i]);delete t.g[e],t.h--}}this.I=null},Si.prototype.N=function(e,t,n,i){return this.i.add(String(e),t,!1,n,i)},Si.prototype.O=function(e,t,n,i){return this.i.add(String(e),t,!0,n,i)};var Ei=fn.JSON.stringify;function Pi(){var e=Ri,t=null;return e.g&&(t=e.g,e.g=e.g.next,e.g||(e.h=null),t.next=null),t}var Ii,Ti=function(){function e(){this.h=this.g=null}return e.prototype.add=function(e,t){var n=Mi.get();n.set(e,t),this.h?this.h.next=n:this.g=n,this.h=n},e}(),Mi=new(function(){function e(e,t){this.i=e,this.j=t,this.h=0,this.g=null}return e.prototype.get=function(){var e;return 0<this.h?(this.h--,this.g=(e=this.g).next,e.next=null):e=this.i(),e},e}())((function(){return new Ai}),(function(e){return e.reset()})),Ai=function(){function e(){this.next=this.g=this.h=null}return e.prototype.set=function(e,t){this.h=e,this.g=t,this.next=null},e.prototype.reset=function(){this.next=this.g=this.h=null},e}();function Di(e){fn.setTimeout((function(){throw e}),0)}function ji(e,t){Ii||function(){var e=fn.Promise.resolve(void 0);Ii=function(){e.then(Li)}}(),Ni||(Ii(),Ni=!0),Ri.add(e,t)}var Ni=!1,Ri=new Ti;function Li(){for(var e;e=Pi();){try{e.h.call(e.g)}catch(n){Di(n)}var t=Mi;t.j(e),100>t.h&&(t.h++,e.next=t.g,t.g=e)}Ni=!1}function Fi(e,t){Si.call(this),this.h=e||1,this.g=t||fn,this.j=Cn(this.kb,this),this.l=Date.now()}function Vi(e){e.da=!1,e.S&&(e.g.clearTimeout(e.S),e.S=null)}function Bi(e,t,n){if("function"==typeof e)n&&(e=Cn(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=Cn(e.handleEvent,e)}return 2147483647<Number(t)?-1:fn.setTimeout(e,t||0)}function Ui(e){e.g=Bi((function(){e.g=null,e.i&&(e.i=!1,Ui(e))}),e.j);var t=e.h;e.h=null,e.m.apply(null,t)}Sn(Fi,Si),(hn=Fi.prototype).da=!1,hn.S=null,hn.kb=function(){if(this.da){var e=Date.now()-this.l;0<e&&e<.8*this.h?this.S=this.g.setTimeout(this.j,this.h-e):(this.S&&(this.g.clearTimeout(this.S),this.S=null),Oi(this,"tick"),this.da&&(Vi(this),this.start()))}},hn.start=function(){this.da=!0,this.S||(this.S=this.g.setTimeout(this.j,this.h),this.l=Date.now())},hn.M=function(){Fi.Z.M.call(this),Vi(this),delete this.g};var Hi=function(e){function t(t,n){var i=e.call(this)||this;return i.m=t,i.j=n,i.h=null,i.i=!1,i.g=null,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}cn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.l=function(e){this.h=arguments,this.g?this.i=!0:Ui(this)},t.prototype.M=function(){e.prototype.M.call(this),this.g&&(fn.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)},t}(On);function zi(e){On.call(this),this.h=e,this.g={}}Sn(zi,On);var Gi=[];function qi(e,t,n,i){Array.isArray(n)||(n&&(Gi[0]=n.toString()),n=Gi);for(var r=0;r<n.length;r++){var o=gi(t,n[r],i||e.handleEvent,!1,e.h||e);if(!o)break;e.g[o.key]=o}}function Wi(e){Fn(e.g,(function(e,t){this.g.hasOwnProperty(t)&&_i(e)}),e),e.g={}}function Ki(){this.g=!0}function Xi(e,t,n,i){e.info((function(){return"XMLHTTP TEXT ("+t+"): "+function(e,t){if(!e.g)return t;if(!t)return null;try{var n=JSON.parse(t);if(n)for(e=0;e<n.length;e++)if(Array.isArray(n[e])){var i=n[e];if(!(2>i.length)){var r=i[1];if(Array.isArray(r)&&!(1>r.length)){var o=r[0];if("noop"!=o&&"stop"!=o&&"close"!=o)for(var s=1;s<r.length;s++)r[s]=""}}}return Ei(n)}catch(a){return t}}(e,n)+(i?" "+i:"")}))}zi.prototype.M=function(){zi.Z.M.call(this),Wi(this)},zi.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")},Ki.prototype.Aa=function(){this.g=!1},Ki.prototype.info=function(){};var $i={},Qi=null;function Yi(){return Qi=Qi||new Si}function Zi(e){ri.call(this,$i.Ma,e)}function Ji(e){var t=Yi();Oi(t,new Zi(t,e))}function er(e,t){ri.call(this,$i.STAT_EVENT,e),this.stat=t}function tr(e){var t=Yi();Oi(t,new er(t,e))}function nr(e,t){ri.call(this,$i.Na,e),this.size=t}function ir(e,t){if("function"!=typeof e)throw Error("Fn must not be null and must be a function");return fn.setTimeout((function(){e()}),t)}$i.Ma="serverreachability",Sn(Zi,ri),$i.STAT_EVENT="statevent",Sn(er,ri
1),$i.Na="timingevent",Sn(nr,ri);var rr={NO_ERROR:0,lb:1,yb:2,xb:3,sb:4,wb:5,zb:6,Ja:7,TIMEOUT:8,Cb:9},or={qb:"complete",Mb:"success",Ka:"error",Ja:"abort",Eb:"ready",Fb:"readystatechange",TIMEOUT:"timeout",Ab:"incrementaldata",Db:"progress",tb:"downloadprogress",Ub:"uploadprogress"};function sr(){}function ar(){}sr.prototype.h=null;var lr,cr={OPEN:"a",pb:"b",Ka:"c",Bb:"d"};function ur(){ri.call(this,"d")}function hr(){ri.call(this,"c")}function dr(){}function pr(e,t,n,i){this.l=e,this.j=t,this.m=n,this.X=i||1,this.V=new zi(this),this.P=mr,this.W=new Fi(e=Xn?125:void 0),this.H=null,this.i=!1,this.s=this.A=this.v=this.K=this.F=this.Y=this.B=null,this.D=[],this.g=null,this.C=0,this.o=this.u=null,this.N=-1,this.I=!1,this.O=0,this.L=null,this.aa=this.J=this.$=this.U=!1,this.h=new fr}function fr(){this.i=null,this.g="",this.h=!1}Sn(ur,ri),Sn(hr,ri),Sn(dr,sr),dr.prototype.g=function(){return new XMLHttpRequest},dr.prototype.i=function(){return{}},lr=new dr;var mr=45e3,gr={},br={};function _r(e,t,n){e.K=1,e.v=Ur(Nr(t)),e.s=n,e.U=!0,vr(e,null)}function vr(e,t){e.F=Date.now(),xr(e),e.A=Nr(e.v);var n=e.A,i=e.X;Array.isArray(i)||(i=[String(i)]),eo(n.h,"t",i),e.C=0,n=e.l.H,e.h=new fr,e.g=ns(e.l,n?t:null,!e.s),0<e.O&&(e.L=new Hi(Cn(e.Ia,e,e.g),e.O)),qi(e.V,e.g,"readystatechange",e.gb),t=e.H?Vn(e.H):{},e.s?(e.u||(e.u="POST"),t["Content-Type"]="application/x-www-form-urlencoded",e.g.ea(e.A,e.u,e.s,t)):(e.u="GET",e.g.ea(e.A,e.u,null,t)),Ji(1),function(e,t,n,i,r,o){e.info((function(){if(e.g)if(o)for(var s="",a=o.split("&"),l=0;l<a.length;l++){var c=a[l].split("=");if(1<c.length){var u=c[0];c=c[1];var h=u.split("_");s=2<=h.length&&"type"==h[1]?s+(u+"=")+c+"&":s+(u+"=redacted&")}}else s=null;else s=o;return"XMLHTTP REQ ("+i+") [attempt "+r+"]: "+t+"\n"+n+"\n"+s}))}(e.j,e.u,e.A,e.m,e.X,e.s)}function yr(e){return!!e.g&&"GET"==e.u&&2!=e.K&&e.l.Ba}function wr(e,t,n){for(var i,r=!0;!e.I&&e.C<n.length;){if((i=Cr(e,n))==br){4==t&&(e.o=4,tr(14),r=!1),Xi(e.j,e.m,null,"[Incomplete Response]");break}if(i==gr){e.o=4,tr(15),Xi(e.j,e.m,n,"[Invalid Chunk]"),r=!1;break}Xi(e.j,e.m,i,null),Pr(e,i)}yr(e)&&i!=br&&i!=gr&&(e.h.g="",e.C=0),4!=t||0!=n.length||e.h.h||(e.o=1,tr(16),r=!1),e.i=e.i&&r,r?0<n.length&&!e.aa&&(e.aa=!0,(t=e.l).g==e&&t.$&&!t.L&&(t.h.info("Great, no buffering proxy detected. Bytes received: "+n.length),Xo(t),t.L=!0,tr(11))):(Xi(e.j,e.m,n,"[Invalid Chunked Response]"),Er(e),kr(e))}function Cr(e,t){var n=e.C,i=t.indexOf("\n",n);return-1==i?br:(n=Number(t.substring(n,i)),isNaN(n)?gr:(i+=1)+n>t.length?br:(t=t.substr(i,n),e.C=i+n,t))}function xr(e){e.Y=Date.now()+e.P,Sr(e,e.P)}function Sr(e,t){if(null!=e.B)throw Error("WatchDog timer not null");e.B=ir(Cn(e.eb,e),t)}function Or(e){e.B&&(fn.clearTimeout(e.B),e.B=null)}function kr(e){0==e.l.G||e.I||Yo(e.l,e)}function Er(e){Or(e);var t=e.L;t&&"function"==typeof t.na&&t.na(),e.L=null,Vi(e.W),Wi(e.V),e.g&&(t=e.g,e.g=null,t.abort(),t.na())}function Pr(e,t){try{var n=e.l;if(0!=n.G&&(n.g==e||ao(n.i,e)))if(n.I=e.N,!e.J&&ao(n.i,e)&&3==n.G){try{var i=n.Ca.g.parse(t)}catch(o){i=null}if(Array.isArray(i)&&3==i.length){var r=i;if(0==r[0]){e:if(!n.u){if(n.g){if(!(n.g.F+3e3<e.F))break e;Qo(n),Vo(n)}Ko(n),tr(18)}}else n.ta=r[1],0<n.ta-n.U&&37500>r[2]&&n.N&&0==n.A&&!n.v&&(n.v=ir(Cn(n.ab,n),6e3));if(1>=so(n.i)&&n.ka){try{n.ka()}catch(o){}n.ka=void 0}}else Jo(n,11)}else if((e.J||n.g==e)&&Qo(n),!Mn(t))for(r=n.Ca.g.parse(t),t=0;t<r.length;t++){var o=r[t];if(n.U=o[0],o=o[1],2==n.G)if("c"==o[0]){n.J=o[1],n.la=o[2];var s=o[3];null!=s&&(n.ma=s,n.h.info("VER="+n.ma));var a=o[4];null!=a&&(n.za=a,n.h.info("SVER="+n.za));var l=o[5];null!=l&&"number"==typeof l&&0<l&&(n.K=i=1.5*l,n.h.info("backChannelRequestTimeoutMs_="+i)),i=n;var c=e.g;if(c){var u=c.g?c.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(u){var h=i.i;!h.g&&(jn(u,"spdy")||jn(u,"quic")||jn(u,"h2"))&&(h.j=h.l,h.g=new Set,h.h&&(lo(h,h.h),h.h=null))}if(i.D){var d=c.g?c.g.getResponseHeader("X-HTTP-Session-Id"):null;d&&(i.sa=d,Br(i.F,i.D,d))}}n.G=3,n.j&&n.j.xa(),n.$&&(n.O=Date.now()-e.F,n.h.info("Handshake RTT: "+n.O+"ms"));var p=e;if((i=n).oa=ts(i,i.H?i.la:null,i.W),p.J){co(i.i,p);var f=p,m=i.K;m&&f.setTimeout(m),f.B&&(Or(f),xr(f)),i.g=p}else Wo(i);0<n.l.length&&Ho(n)}else"stop"!=o[0]&&"close"!=o[0]||Jo(n,7);else 3==n.G&&("stop"==o[0]||"close"==o[0]?"stop"==o[0]?Jo(n,7):Fo(n):"noop"!=o[0]&&n.j&&n.j.wa(o),n.A=0)}Ji(4)}catch(o){}}function Ir(e,t){if(e.forEach&&"function"==typeof e.forEach)e.forEach(t,void 0);else if(gn(e)||"string"==typeof e)Pn(e,t,void 0);else{if(e.T&&"function"==typeof e.T)var n=e.T();else if(e.R&&"function"==typeof e.R)n=void 0;else if(gn(e)||"string"==typeof e){n=[];for(var i=e.length,r=0;r<i;r++)n.push(r)}else for(r in n=[],i=0,e)n[i++]=r;r=(i=function(e){if(e.R&&"function"==typeof e.R)return e.R();if("string"==typeof e)return e.split("");
1if(gn(e)){for(var t=[],n=e.length,i=0;i<n;i++)t.push(e[i]);return t}for(i in t=[],n=0,e)t[n++]=e[i];return t}(e)).length;for(var o=0;o<r;o++)t.call(void 0,i[o],n&&n[o],e)}}function Tr(e,t){this.h={},this.g=[],this.i=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var i=0;i<n;i+=2)this.set(arguments[i],arguments[i+1])}else if(e)if(e instanceof Tr)for(n=e.T(),i=0;i<n.length;i++)this.set(n[i],e.get(n[i]));else for(i in e)this.set(i,e[i])}function Mr(e){if(e.i!=e.g.length){for(var t=0,n=0;t<e.g.length;){var i=e.g[t];Ar(e.h,i)&&(e.g[n++]=i),t++}e.g.length=n}if(e.i!=e.g.length){var r={};for(n=t=0;t<e.g.length;)Ar(r,i=e.g[t])||(e.g[n++]=i,r[i]=1),t++;e.g.length=n}}function Ar(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(hn=pr.prototype).setTimeout=function(e){this.P=e},hn.gb=function(e){e=e.target;var t=this.L;t&&3==Do(e)?t.l():this.Ia(e)},hn.Ia=function(e){try{if(e==this.g)e:{var t=Do(this.g),n=this.g.Da(),i=this.g.ba();if(!(3>t)&&(3!=t||Xn||this.g&&(this.h.h||this.g.ga()||jo(this.g)))){this.I||4!=t||7==n||Ji(8==n||0>=i?3:2),Or(this);var r=this.g.ba();this.N=r;t:if(yr(this)){var o=jo(this.g);e="";var s=o.length,a=4==Do(this.g);if(!this.h.i){if("undefined"==typeof TextDecoder){Er(this),kr(this);var l="";break t}this.h.i=new fn.TextDecoder}for(n=0;n<s;n++)this.h.h=!0,e+=this.h.i.decode(o[n],{stream:a&&n==s-1});o.splice(0,s),this.h.g+=e,this.C=0,l=this.h.g}else l=this.g.ga();if(this.i=200==r,function(e,t,n,i,r,o,s){e.info((function(){return"XMLHTTP RESP ("+i+") [ attempt "+r+"]: "+t+"\n"+n+"\n"+o+" "+s}))}(this.j,this.u,this.A,this.m,this.X,t,r),this.i){if(this.$&&!this.J){t:{if(this.g){var c,u=this.g;if((c=u.g?u.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!Mn(c)){var h=c;break t}}h=null}if(!(r=h)){this.i=!1,this.o=3,tr(12),Er(this),kr(this);break e}Xi(this.j,this.m,r,"Initial handshake response via X-HTTP-Initial-Response"),this.J=!0,Pr(this,r)}this.U?(wr(this,t,l),Xn&&this.i&&3==t&&(qi(this.V,this.W,"tick",this.fb),this.W.start())):(Xi(this.j,this.m,l,null),Pr(this,l)),4==t&&Er(this),this.i&&!this.I&&(4==t?Yo(this.l,this):(this.i=!1,xr(this)))}else 400==r&&0<l.indexOf("Unknown SID")?(this.o=3,tr(12)):(this.o=0,tr(13)),Er(this),kr(this)}}}catch(t){}},hn.fb=function(){if(this.g){var e=Do(this.g),t=this.g.ga();this.C<t.length&&(Or(this),wr(this,e,t),this.i&&4!=e&&xr(this))}},hn.cancel=function(){this.I=!0,Er(this)},hn.eb=function(){this.B=null;var e=Date.now();0<=e-this.Y?(function(e,t){e.info((function(){return"TIMEOUT: "+t}))}(this.j,this.A),2!=this.K&&(Ji(3),tr(17)),Er(this),this.o=2,kr(this)):Sr(this,this.Y-e)},(hn=Tr.prototype).R=function(){Mr(this);for(var e=[],t=0;t<this.g.length;t++)e.push(this.h[this.g[t]]);return e},hn.T=function(){return Mr(this),this.g.concat()},hn.get=function(e,t){return Ar(this.h,e)?this.h[e]:t},hn.set=function(e,t){Ar(this.h,e)||(this.i++,this.g.push(e)),this.h[e]=t},hn.forEach=function(e,t){for(var n=this.T(),i=0;i<n.length;i++){var r=n[i],o=this.get(r);e.call(t,o,r,this)}};var Dr=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function jr(e,t){if(this.i=this.s=this.j="",this.m=null,this.o=this.l="",this.g=!1,e instanceof jr){this.g=void 0!==t?t:e.g,Rr(this,e.j),this.s=e.s,Lr(this,e.i),Fr(this,e.m),this.l=e.l,t=e.h;var n=new Qr;n.i=t.i,t.g&&(n.g=new Tr(t.g),n.h=t.h),Vr(this,n),this.o=e.o}else e&&(n=String(e).match(Dr))?(this.g=!!t,Rr(this,n[1]||"",!0),this.s=Hr(n[2]||""),Lr(this,n[3]||"",!0),Fr(this,n[4]),this.l=Hr(n[5]||"",!0),Vr(this,n[6]||"",!0),this.o=Hr(n[7]||"")):(this.g=!!t,this.h=new Qr(null,this.g))}function Nr(e){return new jr(e)}function Rr(e,t,n){e.j=n?Hr(t,!0):t,e.j&&(e.j=e.j.replace(/:$/,""))}function Lr(e,t,n){e.i=n?Hr(t,!0):t}function Fr(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.m=t}else e.m=null}function Vr(e,t,n){t instanceof Qr?(e.h=t,function(e,t){t&&!e.j&&(Yr(e),e.i=null,e.g.forEach((function(e,t){var n=t.toLowerCase();t!=n&&(Zr(this,t),eo(this,n,e))}),e)),e.j=t}(e.h,e.g)):(n||(t=zr(t,Xr)),e.h=new Qr(t,e.g))}function Br(e,t,n){e.h.set(t,n)}function Ur(e){return Br(e,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),e}function Hr(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function zr(e,t,n){return"string"==typeof e?(e=encodeURI(e).replace(t,Gr),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Gr(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}jr.prototype.toString=function(){var e=[],t=this.j;t&&e.push(zr(t,qr,!0),":");var n=this.i;return(n||"file"==t)&&(e.push("//"),(t=this.s)&&e.push(zr(t,qr,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.m)&&e.push(":",String(n))),(n=this.l)&&(this.i&&"/"!=n.charAt(0)&&e.push("/"),e.push(zr(n,"/"==n.charAt(0)?Kr:Wr,!0))),(n=this.h.toString())&&e.push("?",n),(n=this.o)&&e.push("#",zr(n,$r)),e.join("")};var qr=/[#\/\?@]/g,Wr=/[#\?:]/g,Kr=/[#\?]/g,Xr=/[#\?@]/g,$r=/#/g;function Qr(e,t){this.h=this.g=null,this.i=e||null,this.j=!!t}function Yr(e){e.g||(e.g=new Tr,e.h=0,e.i&&function(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var i=e[n].indexOf("="),r=null;if(0<=i){var o=e[n].substring(0,i);r=e[n].substring(i+1)}else o=e[n];t(o,r?decodeURIComponent(r.replace(/\+/g," ")):"")}}}(e.i,(function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)})))}function Zr(e,t){Yr(e),t=to(e,t),Ar(e.g.h,t)&&(e.i=null,e.h-=e.g.get(t).length,Ar((e=e.g).h,t)&&(delete e.h[t],e.i--,e.g.length>2*e.i&&Mr(e)))}function Jr(e,t){return Yr(e),t=to(e,t),Ar(e.g.h,t)}function eo(e,t,n){Zr(e,t),0<n.length&&(e.i=null,e.g.set(to(e,t),Tn(n)),e.h+=n.length)}function to(e,t){return t=String(t),e.j&&(t=t.toLowerCase()),t}(hn=Qr.prototype).add=function(e,t){Yr(this),this.i=null,e=to(this,e);var n=this.g.get(e);return n||this.g.set(e,n=[]),n.push(t),this.h+=1,this},hn.forEach=function(e,t){Yr(this),this.g.forEach((function(n,i){Pn(n,(function(n){e.call(t,n,i,this)}),this)}),this)},hn.T=function(){Yr(this);for(var e=this.g.R(),t=this.g.T(),n=[],i=0;i<t.length;i++)for(var r=e[i],o=0;o<r.length;o++)n.push(t[i]);return n},hn.R=function(e){Yr(this);var t=[];if("string"==typeof e)Jr(this,e)&&(t=In(t,this.g.get(to(this,e))));else{e=this.g.R();for(var n=0;n<e.length;n++)t=In(t,e[n])}return t},hn.set=function(e,t){return Yr(this),this.i=null,Jr(this,e=to(this,e))&&(this.h-=this.g.get(e).length),this.g.set(e,[t]),this.h+=1,this},hn.get=function(e,t){return e&&0<(e=this.R(e)).length?String(e[0]):t},hn.toString=function(){if(this.i)return this.i;if(!this.g)return"";for(var e=[],t=this.g.T(),n=0;n<t.length;n++){var i=t[n],r=encodeURIComponent(String(i));i=this.R(i);for(var o=0;o<i.length;o++){var s=r;""!==i[o]&&(s+="="+encodeURIComponent(String(i[o]))),e.push(s)}}return this.i=e.join("&")};var no=function(){return function(e,t){this.h=e,this.g=t}}();function io(e){this.l=e||ro,e=fn.PerformanceNavigationTiming?0<(e=fn.performance.getEntriesByType("navigation")).length&&("hq"==e[0].nextHopProtocol||"h2"==e[0].nextHopProtocol):!!(fn.g&&fn.g.Ea&&fn.g.Ea()&&fn.g.Ea().Zb),this.j=e?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}var ro=10;function oo(e){return!!e.h||!!e.g&&e.g.size>=e.j}function so(e){return e.h?1:e.g?e.g.size:0}function ao(e,t){return e.h?e.h==t:!!e.g&&e.g.has(t)}function lo(e,t){e.g?e.g.add(t):e.h=t}function co(e,t){e.h&&e.h==t?e.h=null:e.g&&e.g.has(t)&&e.g.delete(t)}function uo(e){var t,n;if(null!=e.h)return e.i.concat(e.h.D);if(null!=e.g&&0!==e.g.size){var i=e.i;
1try{for(var r=un(e.g.values()),o=r.next();!o.done;o=r.next())i=i.concat(o.value.D)}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return i}return Tn(e.i)}function ho(){}function po(){this.g=new ho}function fo(e,t,n){var i=n||"";try{Ir(e,(function(e,n){var r=e;bn(e)&&(r=Ei(e)),t.push(i+n+"="+encodeURIComponent(r))}))}catch(yg){throw t.push(i+"type="+encodeURIComponent("_badmap")),yg}}function mo(e,t,n,i,r){try{t.onload=null,t.onerror=null,t.onabort=null,t.ontimeout=null,r(i)}catch(o){}}function go(e){this.l=e.$b||null,this.j=e.ib||!1}function bo(e,t){Si.call(this),this.D=e,this.u=t,this.m=void 0,this.readyState=_o,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.v=new Headers,this.h=null,this.C="GET",this.B="",this.g=!1,this.A=this.j=this.l=null}io.prototype.cancel=function(){var e,t;if(this.i=uo(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){try{for(var n=un(this.g.values()),i=n.next();!i.done;i=n.next())i.value.cancel()}catch(r){e={error:r}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.g.clear()}},ho.prototype.stringify=function(e){return fn.JSON.stringify(e,void 0)},ho.prototype.parse=function(e){return fn.JSON.parse(e,void 0)},Sn(go,sr),go.prototype.g=function(){return new bo(this.l,this.j)},go.prototype.i=function(e){return function(){return e}}({}),Sn(bo,Si);var _o=0;function vo(e){e.j.read().then(e.Sa.bind(e)).catch(e.ha.bind(e))}function yo(e){e.readyState=4,e.l=null,e.j=null,e.A=null,wo(e)}function wo(e){e.onreadystatechange&&e.onreadystatechange.call(e)}(hn=bo.prototype).open=function(e,t){if(this.readyState!=_o)throw this.abort(),Error("Error reopening a connection");this.C=e,this.B=t,this.readyState=1,wo(this)},hn.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;var t={headers:this.v,method:this.C,credentials:this.m,cache:void 0};e&&(t.body=e),(this.D||fn).fetch(new Request(this.B,t)).then(this.Va.bind(this),this.ha.bind(this))},hn.abort=function(){this.response=this.responseText="",this.v=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted."),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,yo(this)),this.readyState=_o},hn.Va=function(e){if(this.g&&(this.l=e,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=e.headers,this.readyState=2,wo(this)),this.g&&(this.readyState=3,wo(this),this.g)))if("arraybuffer"===this.responseType)e.arrayBuffer().then(this.Ta.bind(this),this.ha.bind(this));else if(void 0!==fn.ReadableStream&&"body"in e){if(this.j=e.body.getReader(),this.u){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.A=new TextDecoder;vo(this)}else e.text().then(this.Ua.bind(this),this.ha.bind(this))},hn.Sa=function(e){if(this.g){if(this.u&&e.value)this.response.push(e.value);else if(!this.u){var t=e.value?e.value:new Uint8Array(0);(t=this.A.decode(t,{stream:!e.done}))&&(this.response=this.responseText+=t)}e.done?yo(this):wo(this),3==this.readyState&&vo(this)}},hn.Ua=function(e){this.g&&(this.response=this.responseText=e,yo(this))},hn.Ta=function(e){this.g&&(this.response=e,yo(this))},hn.ha=function(){this.g&&yo(this)},hn.setRequestHeader=function(e,t){this.v.append(e,t)},hn.getResponseHeader=function(e){return this.h&&this.h.get(e.toLowerCase())||""},hn.getAllResponseHeaders=function(){if(!this.h)return"";for(var e=[],t=this.h.entries(),n=t.next();!n.done;)e.push((n=n.value)[0]+": "+n[1]),n=t.next();return e.join("\r\n")},Object.defineProperty(bo.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(e){this.m=e?"include":"same-origin"}});var Co=fn.JSON.parse;function xo(e){Si.call(this),this.headers=new Tr,this.u=e||null,this.h=!1,this.C=this.g=null,this.H="",this.m=0,this.j="",this.l=this.F=this.v=this.D=!1,this.B=0,this.A=null,this.J=So,this.K=this.L=!1}Sn(xo,Si);var So="",Oo=/^https?$/i,ko=["POST","PUT"];function Eo(e){return"content-type"==e.toLowerCase()}function Po(e,t){e.h=!1,e.g&&(e.l=!0,e.g.abort(),e.l=!1),e.j=t,e.m=5,Io(e),Mo(e)}function Io(e){e.D||(e.D=!0,Oi(e,"complete"),Oi(e,"error"))}function To(e){if(e.h&&void 0!==pn&&(!e.C[1]||4!=Do(e)||2!=e.ba()))if(e.v&&4==Do(e))Bi(e.Fa,0,e);else if(Oi(e,"readystatechange"),4==Do(e)){e.h=!1;try{var t,n=e.ba();e:switch(n){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var i=!0;break e;default:i=!1}if(!(t=i)){var r;if(r=0===n){var o=String(e.H).match(Dr)[1]||null;if(!o&&fn.self&&fn.self.location){var s=fn.self.location.protocol;o=s.substr(0,s.length-1)}r=!Oo.test(o?o.toLowerCase():"")}t=r}if(t)Oi(e,"complete"),Oi(e,"success");else{e.m=6;try{var a=2<Do(e)?e.g.statusText:""}catch(l){a=""}e.j=a+" ["+e.ba()+"]",Io(e)}}finally{Mo(e)}}}function Mo(e,t){if(e.g){Ao(e);var n=e.g,i=e.C[0]?mn:null;e.g=null,e.C=null,t||Oi(e,"ready");try{n.onreadystatechange=i}catch(yg){}}}function Ao(e){e.g&&e.K&&(e.g.ontimeout=null),e.A&&(fn.clearTimeout(e.A),e.A=null)}function Do(e){return e.g?e.g.readyState:0}function jo(e){try{if(!e.g)return null;if("response"in e.g)return e.g.response;switch(e.J){case So:case"text":return e.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in e.g)return e.g.mozResponseArrayBuffer}return null}catch(t){return null}}function No(e,t,n){e:{for(i in n){var i=!1;break e}i=!0}i||(n=function(e){var t="";return Fn(e,(function(e,n){t+=n,t+=":",t+=e,t+="\r\n"})),t}(n),"string"==typeof e?null!=n&&encodeURIComponent(String(n)):Br(e,t,n))}
1function Ro(e,t,n){return n&&n.internalChannelParams&&n.internalChannelParams[e]||t}function Lo(e){this.za=0,this.l=[],this.h=new Ki,this.la=this.oa=this.F=this.W=this.g=this.sa=this.D=this.aa=this.o=this.P=this.s=null,this.Za=this.V=0,this.Xa=Ro("failFast",!1,e),this.N=this.v=this.u=this.m=this.j=null,this.X=!0,this.I=this.ta=this.U=-1,this.Y=this.A=this.C=0,this.Pa=Ro("baseRetryDelayMs",5e3,e),this.$a=Ro("retryDelaySeedMs",1e4,e),this.Ya=Ro("forwardChannelMaxRetries",2,e),this.ra=Ro("forwardChannelRequestTimeoutMs",2e4,e),this.qa=e&&e.xmlHttpFactory||void 0,this.Ba=e&&e.Yb||!1,this.K=void 0,this.H=e&&e.supportsCrossDomainXhr||!1,this.J="",this.i=new io(e&&e.concurrentRequestLimit),this.Ca=new po,this.ja=e&&e.fastHandshake||!1,this.Ra=e&&e.Wb||!1,e&&e.Aa&&this.h.Aa(),e&&e.forceLongPolling&&(this.X=!1),this.$=!this.ja&&this.X&&e&&e.detectBufferingProxy||!1,this.ka=void 0,this.O=0,this.L=!1,this.B=null,this.Wa=!e||!1!==e.Xb}function Fo(e){if(Bo(e),3==e.G){var t=e.V++,n=Nr(e.F);Br(n,"SID",e.J),Br(n,"RID",t),Br(n,"TYPE","terminate"),Go(e,n),(t=new pr(e,e.h,t,void 0)).K=2,t.v=Ur(Nr(n)),n=!1,fn.navigator&&fn.navigator.sendBeacon&&(n=fn.navigator.sendBeacon(t.v.toString(),"")),!n&&fn.Image&&((new Image).src=t.v,n=!0),n||(t.g=ns(t.l,null),t.g.ea(t.v)),t.F=Date.now(),xr(t)}es(e)}function Vo(e){e.g&&(Xo(e),e.g.cancel(),e.g=null)}function Bo(e){Vo(e),e.u&&(fn.clearTimeout(e.u),e.u=null),Qo(e),e.i.cancel(),e.m&&("number"==typeof e.m&&fn.clearTimeout(e.m),e.m=null)}function Uo(e,t){e.l.push(new no(e.Za++,t)),3==e.G&&Ho(e)}function Ho(e){oo(e.i)||e.m||(e.m=!0,ji(e.Ha,e),e.C=0)}function zo(e,t){var n;n=t?t.m:e.V++;var i=Nr(e.F);Br(i,"SID",e.J),Br(i,"RID",n),Br(i,"AID",e.U),Go(e,i),e.o&&e.s&&No(i,e.o,e.s),n=new pr(e,e.h,n,e.C+1),null===e.o&&(n.H=e.s),t&&(e.l=t.D.concat(e.l)),t=qo(e,n,1e3),n.setTimeout(Math.round(.5*e.ra)+Math.round(.5*e.ra*Math.random())),lo(e.i,n),_r(n,i,t)}function Go(e,t){e.j&&Ir({},(function(e,n){Br(t,n,e)}))}function qo(e,t,n){n=Math.min(e.l.length,n);var i=e.j?Cn(e.j.Oa,e.j,e):null;e:for(var r=e.l,o=-1;;){var s=["count="+n];-1==o?0<n?s.push("ofs="+(o=r[0].h)):o=0:s.push("ofs="+o);for(var a=!0,l=0;l<n;l++){var c=r[l].h,u=r[l].g;if(0>(c-=o))o=Math.max(0,r[l].h-100),a=!1;else try{fo(u,s,"req"+c+"_")}catch(js){i&&i(u)}}if(a){i=s.join("&");break e}}return e=e.l.splice(0,n),t.D=e,i}function Wo(e){e.g||e.u||(e.Y=1,ji(e.Ga,e),e.A=0)}function Ko(e){return!(e.g||e.u||3<=e.A||(e.Y++,e.u=ir(Cn(e.Ga,e),Zo(e,e.A)),e.A++,0))}function Xo(e){null!=e.B&&(fn.clearTimeout(e.B),e.B=null)}function $o(e){e.g=new pr(e,e.h,"rpc",e.Y),null===e.o&&(e.g.H=e.s),e.g.O=0;var t=Nr(e.oa);Br(t,"RID","rpc"),Br(t,"SID",e.J),Br(t,"CI",e.N?"0":"1"),Br(t,"AID",e.U),Go(e,t),Br(t,"TYPE","xmlhttp"),e.o&&e.s&&No(t,e.o,e.s),e.K&&e.g.setTimeout(e.K);var n=e.g;e=e.la,n.K=1,n.v=Ur(Nr(t)),n.s=null,n.U=!0,vr(n,e)}function Qo(e){null!=e.v&&(fn.clearTimeout(e.v),e.v=null)}function Yo(e,t){var n=null;if(e.g==t){Qo(e),Xo(e),e.g=null;var i=2}else{if(!ao(e.i,t))return;n=t.D,co(e.i,t),i=1}if(e.I=t.N,0!=e.G)if(t.i)if(1==i){n=t.s?t.s.length:0,t=Date.now()-t.F;var r=e.C;Oi(i=Yi(),new nr(i,n,t,r)),Ho(e)}else Wo(e);else if(3==(r=t.o)||0==r&&0<e.I||!(1==i&&function(e,t){return!(so(e.i)>=e.i.j-(e.m?1:0)||(e.m?(e.l=t.D.concat(e.l),0):1==e.G||2==e.G||e.C>=(e.Xa?0:e.Ya)||(e.m=ir(Cn(e.Ha,e,t),Zo(e,e.C)),e.C++,0)))}(e,t)||2==i&&Ko(e)))switch(n&&0<n.length&&(t=e.i,t.i=t.i.concat(n)),r){case 1:Jo(e,5);break;case 4:Jo(e,10);break;case 3:Jo(e,6);break;default:Jo(e,2)}}function Zo(e,t){var n=e.Pa+Math.floor(Math.random()*e.$a);return e.j||(n*=2),n*t}function Jo(e,t){if(e.h.info("Error code "+t),2==t){var n=null;e.j&&(n=null);var i=Cn(e.jb,e);n||(n=new jr("//www.google.com/images/cleardot.gif"),fn.location&&"http"==fn.location.protocol||Rr(n,"https"),Ur(n)),function(e,t){var n=new Ki;if(fn.Image){var i=new Image;i.onload=xn(mo,n,i,"TestLoadImage: loaded",!0,t),i.onerror=xn(mo,n,i,"TestLoadImage: error",!1,t),i.onabort=xn(mo,n,i,"TestLoadImage: abort",!1,t),i.ontimeout=xn(mo,n,i,"TestLoadImage: timeout",!1,t),fn.setTimeout((function(){i.ontimeout&&i.ontimeout()}),1e4),i.src=e}else t(!1)}(n.toString(),i)}else tr(2);e.G=0,e.j&&e.j.va(t),es(e),Bo(e)}function es(e){e.G=0,e.I=-1,e.j&&(0==uo(e.i).length&&0==e.l.length||(e.i.i.length=0,Tn(e.l),e.l.length=0),e.j.ua())}function ts(e,t,n){var i=function(e){return e instanceof jr?Nr(e):new jr(e,void 0)}(n);if(""!=i.i)t&&Lr(i,t+"."+i.i),Fr(i,i.m);else{var r=fn.location;i=function(e,t,n,i){var r=new jr(null,void 0);return e&&Rr(r,e),t&&Lr(r,t),n&&Fr(r,n),i&&(r.l=i),r}(r.protocol,t?t+"."+r.hostname:r.hostname,+r.port,n)}return e.aa&&Fn(e.aa,(function(e,t){Br(i,t,e)})),n=e.sa,(t=e.D)&&n&&Br(i,t,n),Br(i,"VER",e.ma),Go(e,i),i}function ns(e,t,n){if(t&&!e.H)throw Error("Can't create secondary domain capable XhrIo object.");return(t=new xo(n&&e.Ba&&!e.qa?new go({ib:!0}):e.qa)).L=e.H,t}function is(){}function rs(){if(Wn&&!(10<=Number(ni)))throw Error("Environmental error: no available transport.")}function os(e,t){Si.call(this),this.g=new Lo(t),this.l=e,this.h=t&&t.messageUrlParams||null,e=t&&t.messageHeaders||null,t&&t.clientProtocolHeaderRequired&&(e?e["X-Client-Protocol"]="webchannel":e={"X-Client-Protocol":"webchannel"}),this.g.s=e,e=t&&t.initMessageHeaders||null,t&&t.messageContentType&&(e?e["X-WebChannel-Content-Type"]=t.messageContentType:e={"X-WebChannel-Content-Type":t.messageContentType}),t&&t.ya&&(e?e["X-WebChannel-Client-Profile"]=t.ya:e={"X-WebChannel-Client-Profile":t.y
1a}),this.g.P=e,(e=t&&t.httpHeadersOverwriteParam)&&!Mn(e)&&(this.g.o=e),this.A=t&&t.supportsCrossDomainXhr||!1,this.v=t&&t.sendRawJson||!1,(t=t&&t.httpSessionIdParam)&&!Mn(t)&&(this.g.D=t,null!==(e=this.h)&&t in e&&t in(e=this.h)&&delete e[t]),this.j=new ls(this)}function ss(e){ur.call(this);var t=e.__sm__;if(t){e:{for(var n in t){e=n;break e}e=void 0}(this.i=e)&&(e=this.i,t=null!==t&&e in t?t[e]:void 0),this.data=t}else this.data=e}function as(){hr.call(this),this.status=1}function ls(e){this.g=e}(hn=xo.prototype).ea=function(e,t,n,i){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.H+"; newUri="+e);t=t?t.toUpperCase():"GET",this.H=e,this.j="",this.m=0,this.D=!1,this.h=!0,this.g=this.u?this.u.g():lr.g(),this.C=function(e){return e.h||(e.h=e.i())}(this.u?this.u:lr),this.g.onreadystatechange=Cn(this.Fa,this);try{this.F=!0,this.g.open(t,String(e),!0),this.F=!1}catch(o){return void Po(this,o)}e=n||"";var r=new Tr(this.headers);i&&Ir(i,(function(e,t){r.set(t,e)})),i=function(e){e:{for(var t=Eo,n=e.length,i="string"==typeof e?e.split(""):e,r=0;r<n;r++)if(r in i&&t.call(void 0,i[r],r,e)){t=r;break e}t=-1}return 0>t?null:"string"==typeof e?e.charAt(t):e[t]}(r.T()),n=fn.FormData&&e instanceof fn.FormData,!(0<=En(ko,t))||i||n||r.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),r.forEach((function(e,t){this.g.setRequestHeader(t,e)}),this),this.J&&(this.g.responseType=this.J),"withCredentials"in this.g&&this.g.withCredentials!==this.L&&(this.g.withCredentials=this.L);try{Ao(this),0<this.B&&((this.K=function(e){return Wn&&function(){return e=ti,Object.prototype.hasOwnProperty.call(e,9)?e[9]:e[9]=function(){for(var e=0,t=Dn(String(zn)).split("."),n=Dn("9").split("."),i=Math.max(t.length,n.length),r=0;0==e&&r<i;r++){var o=t[r]||"",s=n[r]||"";do{if(o=/(\d*)(\D*)(.*)/.exec(o)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==o[0].length&&0==s[0].length)break;e=Nn(0==o[1].length?0:parseInt(o[1],10),0==s[1].length?0:parseInt(s[1],10))||Nn(0==o[2].length,0==s[2].length)||Nn(o[2],s[2]),o=o[3],s=s[3]}while(0==e)}return 0<=e}();var e}()&&"number"==typeof e.timeout&&void 0!==e.ontimeout}(this.g))?(this.g.timeout=this.B,this.g.ontimeout=Cn(this.pa,this)):this.A=Bi(this.pa,this.B,this)),this.v=!0,this.g.send(e),this.v=!1}catch(o){Po(this,o)}},hn.pa=function(){void 0!==pn&&this.g&&(this.j="Timed out after "+this.B+"ms, aborting",this.m=8,Oi(this,"timeout"),this.abort(8))},hn.abort=function(e){this.g&&this.h&&(this.h=!1,this.l=!0,this.g.abort(),this.l=!1,this.m=e||7,Oi(this,"complete"),Oi(this,"abort"),Mo(this))},hn.M=function(){this.g&&(this.h&&(this.h=!1,this.l=!0,this.g.abort(),this.l=!1),Mo(this,!0)),xo.Z.M.call(this)},hn.Fa=function(){this.s||(this.F||this.v||this.l?To(this):this.cb())},hn.cb=function(){To(this)},hn.ba=function(){try{return 2<Do(this)?this.g.status:-1}catch(Gn){return-1}},hn.ga=function(){try{return this.g?this.g.responseText:""}catch(Gn){return""}},hn.Qa=function(e){if(this.g){var t=this.g.responseText;return e&&0==t.indexOf(e)&&(t=t.substring(e.length)),Co(t)}},hn.Da=function(){return this.m},hn.La=function(){return"string"==typeof this.j?this.j:String(this.j)},(hn=Lo.prototype).ma=8,hn.G=1,hn.hb=function(e){try{this.h.info("Origin Trials invoked: "+e)}catch(t){}},hn.Ha=function(e){if(this.m)if(this.m=null,1==this.G){if(!e){this.V=Math.floor(1e5*Math.random()),e=this.V++;var t=new pr(this,this.h,e,void 0),n=this.s;if(this.P&&(n?Un(n=Vn(n),this.P):n=this.P),null===this.o&&(t.H=n),this.ja)e:{for(var i=0,r=0;r<this.l.length;r++){var o=this.l[r];if(void 0===(o="__data__"in o.g&&"string"==typeof(o=o.g.__data__)?o.length:void 0))break;if(4096<(i+=o)){i=r;break e}if(4096===i||r===this.l.length-1){i=r+1;break e}}i=1e3}else i=1e3;i=qo(this,t,i),Br(r=Nr(this.F),"RID",e),Br(r,"CVER",22),this.D&&Br(r,"X-HTTP-Session-Id",this.D),Go(this,r),this.o&&n&&No(r,this.o,n),lo(this.i,t),this.Ra&&Br(r,"TYPE","init"),this.ja?(Br(r,"$req",i),Br(r,"SID","null"),t.$=!0,_r(t,r,null)):_r(t,r,i),this.G=2}}else 3==this.G&&(e?zo(this,e):0==this.l.length||oo(this.i)||zo(this))},hn.Ga=function(){if(this.u=null,$o(this),this.$&&!(this.L||null==this.g||0>=this.O)){var e=2*this.O;this.h.info("BP detection timer enabled: "+e),this.B=ir(Cn(this.bb,this),e)}},hn.bb=function(){this.B&&(this.B=null,this.h.info("BP detection timeout reached."),this.h.info("Buffering proxy detected and switch to long-polling!"),this.N=!1,this.L=!0,tr(10),Vo(this),$o(this))},hn.ab=function(){null!=this.v&&(this.v=null,Vo(this),Ko(this),tr(19))},hn.jb=function(e){e?(this.h.info("Successfully pinged google.com"),tr(2)):(this.h.info("Failed to ping google.com"),tr(1))},(hn=is.prototype).xa=function(){},hn.wa=function(){},hn.va=function(){},hn.ua=function(){},hn.Oa=function(){},rs.prototype.g=function(e,t){return new os(e,t)},Sn(os,Si),os.prototype.m=function(){this.g.j=this.j,this.A&&(this.g.H=!0);var e=this.g,t=this.l,n=this.h||void 0;e.Wa&&(e.h.info("Origin Trials enabled."),ji(Cn(e.hb,e,t))),tr(0),e.W=t,e.aa=n||{},e.N=e.X,e.F=ts(e,null,e.W),Ho(e)},os.prototype.close=function(){Fo(this.g)},os.prototype.u=function(e){if("string"==typeof e){var t={};t.__data__=e,Uo(this.g,t)}else this.v?((t={}).__data__=Ei(e),Uo(this.g,t)):Uo(this.g,e)},os.prototype.M=function(){this.g.j=null,delete this.j,Fo(this.g),delete this.g,os.Z.M.call(this)},Sn(ss,ur),Sn(as,hr),Sn(ls,is),ls.prototype.xa=function(){Oi(this.g,"a")},ls.prototype.wa=function(e){Oi(this.g,new ss(e))},ls.prototype.va=function(e){Oi(this.g,new as(e))},ls.prototype.ua=function(){Oi(this.g,"b")}
1,rs.prototype.createWebChannel=rs.prototype.g,os.prototype.send=os.prototype.u,os.prototype.open=os.prototype.m,os.prototype.close=os.prototype.close,rr.NO_ERROR=0,rr.TIMEOUT=8,rr.HTTP_ERROR=6,or.COMPLETE="complete",ar.EventType=cr,cr.OPEN="a",cr.CLOSE="b",cr.ERROR="c",cr.MESSAGE="d",Si.prototype.listen=Si.prototype.N,xo.prototype.listenOnce=xo.prototype.O,xo.prototype.getLastError=xo.prototype.La,xo.prototype.getLastErrorCode=xo.prototype.Da,xo.prototype.getStatus=xo.prototype.ba,xo.prototype.getResponseJson=xo.prototype.Qa,xo.prototype.getResponseText=xo.prototype.ga,xo.prototype.send=xo.prototype.ea;var cs=rr,us=or,hs=$i,ds=go,ps=ar,fs=xo,ms=function(){function e(e,t){var n=this;this.previousValue=e,t&&(t.sequenceNumberHandler=function(e){return n.t(e)},this.i=function(e){return t.writeSequenceNumber(e)})}return e.prototype.t=function(e){return this.previousValue=Math.max(e,this.previousValue),this.previousValue},e.prototype.next=function(){var e=++this.previousValue;return this.i&&this.i(e),e},e}();ms.o=-1;var gs={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"},bs=function(e){function t(t,n){var i=this;return(i=e.call(this,n)||this).code=t,i.message=n,i.name="FirebaseError",i.toString=function(){return i.name+": [code="+i.code+"]: "+i.message},i}return Object(sn.c)(t,e),t}(Error),_s=new ln.b("@firebase/firestore");function vs(){return _s.logLevel}function ys(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(_s.logLevel<=ln.a.DEBUG){var i=t.map(xs);_s.debug.apply(_s,Object(sn.f)(["Firestore (8.10.1): "+e],i))}}function ws(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(_s.logLevel<=ln.a.ERROR){var i=t.map(xs);_s.error.apply(_s,Object(sn.f)(["Firestore (8.10.1): "+e],i))}}function Cs(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(_s.logLevel<=ln.a.WARN){var i=t.map(xs);_s.warn.apply(_s,Object(sn.f)(["Firestore (8.10.1): "+e],i))}}function xs(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch(yg){return e}}function Ss(e){void 0===e&&(e="Unexpected state");var t="FIRESTORE (8.10.1) INTERNAL ASSERTION FAILED: "+e;throw ws(t),new Error(t)}function Os(e,t){e||Ss()}function ks(e,t){return e}function Es(e){var t="undefined"!=typeof self&&(self.crypto||self.msCrypto),n=new Uint8Array(e);if(t&&"function"==typeof t.getRandomValues)t.getRandomValues(n);else for(var i=0;i<e;i++)n[i]=Math.floor(256*Math.random());return n}var Ps=function(){function e(){}return e.u=function(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=Math.floor(256/e.length)*e.length,n="";n.length<20;)for(var i=Es(40),r=0;r<i.length;++r)n.length<20&&i[r]<t&&(n+=e.charAt(i[r]%e.length));return n},e}();function Is(e,t){return e<t?-1:e>t?1:0}function Ts(e,t,n){return e.length===t.length&&e.every((function(e,i){return n(e,t[i])}))}function Ms(e){return e+"\0"}var As=function(){function e(e,t){if(this.seconds=e,this.nanoseconds=t,t<0)throw new bs(gs.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(t>=1e9)throw new bs(gs.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(e<-62135596800)throw new bs(gs.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e);if(e>=253402300800)throw new bs(gs.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e)}return e.now=function(){return e.fromMillis(Date.now())},e.fromDate=function(t){return e.fromMillis(t.getTime())},e.fromMillis=function(t){var n=Math.floor(t/1e3);return new e(n,Math.floor(1e6*(t-1e3*n)))},e.prototype.toDate=function(){return new Date(this.toMillis())},e.prototype.toMillis=function(){return 1e3*this.seconds+this.nanoseconds/1e6},e.prototype._compareTo=function(e){return this.seconds===e.seconds?Is(this.nanoseconds,e.nanoseconds):Is(this.seconds,e.seconds)},e.prototype.isEqual=function(e){return e.seconds===this.seconds&&e.nanoseconds===this.nanoseconds},e.prototype.toString=function(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"},e.prototype.toJSON=function(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}},e.prototype.valueOf=function(){return String(this.seconds- -62135596800).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}
1,e}(),Ds=function(){function e(e){this.timestamp=e}return e.fromTimestamp=function(t){return new e(t)},e.min=function(){return new e(new As(0,0))},e.prototype.compareTo=function(e){return this.timestamp._compareTo(e.timestamp)},e.prototype.isEqual=function(e){return this.timestamp.isEqual(e.timestamp)},e.prototype.toMicroseconds=function(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3},e.prototype.toString=function(){return"SnapshotVersion("+this.timestamp.toString()+")"},e.prototype.toTimestamp=function(){return this.timestamp},e}();function js(e){var t=0;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function Ns(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])}function Rs(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}var Ls=function(){function e(e,t,n){void 0===t?t=0:t>e.length&&Ss(),void 0===n?n=e.length-t:n>e.length-t&&Ss(),this.segments=e,this.offset=t,this.len=n}return Object.defineProperty(e.prototype,"length",{get:function(){return this.len},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(t){return 0===e.comparator(this,t)},e.prototype.child=function(t){var n=this.segments.slice(this.offset,this.limit());return t instanceof e?t.forEach((function(e){n.push(e)})):n.push(t),this.construct(n)},e.prototype.limit=function(){return this.offset+this.length},e.prototype.popFirst=function(e){return this.construct(this.segments,this.offset+(e=void 0===e?1:e),this.length-e)},e.prototype.popLast=function(){return this.construct(this.segments,this.offset,this.length-1)},e.prototype.firstSegment=function(){return this.segments[this.offset]},e.prototype.lastSegment=function(){return this.get(this.length-1)},e.prototype.get=function(e){return this.segments[this.offset+e]},e.prototype.isEmpty=function(){return 0===this.length},e.prototype.isPrefixOf=function(e){if(e.length<this.length)return!1;for(var t=0;t<this.length;t++)if(this.get(t)!==e.get(t))return!1;return!0},e.prototype.isImmediateParentOf=function(e){if(this.length+1!==e.length)return!1;for(var t=0;t<this.length;t++)if(this.get(t)!==e.get(t))return!1;return!0},e.prototype.forEach=function(e){for(var t=this.offset,n=this.limit();t<n;t++)e(this.segments[t])},e.prototype.toArray=function(){return this.segments.slice(this.offset,this.limit())},e.comparator=function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i++){var r=e.get(i),o=t.get(i);if(r<o)return-1;if(r>o)return 1}return e.length<t.length?-1:e.length>t.length?1:0},e}(),Fs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t.prototype.construct=function(e,n,i){return new t(e,n,i)},t.prototype.canonicalString=function(){return this.toArray().join("/")},t.prototype.toString=function(){return this.canonicalString()},t.fromString=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var i=[],r=0,o=e;r<o.length;r++){var s=o[r];if(s.indexOf("//")>=0)throw new bs(gs.INVALID_ARGUMENT,"Invalid segment ("+s+"). Paths must not contain // in them.");i.push.apply(i,s.split("/").filter((function(e){return e.length>0})))}return new t(i)},t.emptyPath=function(){return new t([])},t}(Ls),Vs=/^[_a-zA-Z][_a-zA-Z0-9]*$/,Bs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t.prototype.construct=function(e,n,i){return new t(e,n,i)},t.isValidIdentifier=function(e){return Vs.test(e)},t.prototype.canonicalString=function(){return this.toArray().map((function(e){return e=e.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),t.isValidIdentifier(e)||(e="`"+e+"`"),e})).join(".")},t.prototype.toString=function(){return this.canonicalString()},t.prototype.isKeyField=function(){return 1===this.length&&"__name__"===this.get(0)},t.keyField=function(){return new t(["__name__"])},t.fromServerFormat=function(e){for(var n=[],i="",r=0,o=function(){if(0===i.length)throw new bs(gs.INVALID_ARGUMENT,"Invalid field path ("+e+"). Paths must not be empty, begin with '.', end with '.', or contain '..'");n.push(i),i=""},s=!1;r<e.length;){var a=e[r];if("\\"===a){if(r+1===e.length)throw new bs(gs.INVALID_ARGUMENT,"Path has trailing escape character: "+e);var l=e[r+1];if("\\"!==l&&"."!==l&&"`"!==l)throw new bs(gs.INVALID_ARGUMENT,"Path has invali
1d escape sequence: "+e);i+=l,r+=2}else"`"===a?(s=!s,r++):"."!==a||s?(i+=a,r++):(o(),r++)}if(o(),s)throw new bs(gs.INVALID_ARGUMENT,"Unterminated ` in path: "+e);return new t(n)},t.emptyPath=function(){return new t([])},t}(Ls),Us=function(){function e(e){this.fields=e,e.sort(Bs.comparator)}return e.prototype.covers=function(e){for(var t=0,n=this.fields;t<n.length;t++)if(n[t].isPrefixOf(e))return!0;return!1},e.prototype.isEqual=function(e){return Ts(this.fields,e.fields,(function(e,t){return e.isEqual(t)}))},e}(),Hs=function(){function e(e){this.binaryString=e}return e.fromBase64String=function(t){return new e(atob(t))},e.fromUint8Array=function(t){return new e(function(e){for(var t="",n=0;n<e.length;++n)t+=String.fromCharCode(e[n]);return t}(t))},e.prototype.toBase64=function(){return btoa(this.binaryString)},e.prototype.toUint8Array=function(){return function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(this.binaryString)},e.prototype.approximateByteSize=function(){return 2*this.binaryString.length},e.prototype.compareTo=function(e){return Is(this.binaryString,e.binaryString)},e.prototype.isEqual=function(e){return this.binaryString===e.binaryString},e}();Hs.EMPTY_BYTE_STRING=new Hs("");var zs=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function Gs(e){if(Os(!!e),"string"==typeof e){var t=0,n=zs.exec(e);if(Os(!!n),n[1]){var i=n[1];i=(i+"000000000").substr(0,9),t=Number(i)}var r=new Date(e);return{seconds:Math.floor(r.getTime()/1e3),nanos:t}}return{seconds:qs(e.seconds),nanos:qs(e.nanos)}}function qs(e){return"number"==typeof e?e:"string"==typeof e?Number(e):0}function Ws(e){return"string"==typeof e?Hs.fromBase64String(e):Hs.fromUint8Array(e)}function Ks(e){var t,n;return"server_timestamp"===(null===(n=((null===(t=null==e?void 0:e.mapValue)||void 0===t?void 0:t.fields)||{}).__type__)||void 0===n?void 0:n.stringValue)}function Xs(e){var t=Gs(e.mapValue.fields.__local_write_time__.timestampValue);return new As(t.seconds,t.nanos)}function $s(e){return null==e}function Qs(e){return 0===e&&1/e==-1/0}function Ys(e){return"number"==typeof e&&Number.isInteger(e)&&!Qs(e)&&e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER}var Zs=function(){function e(e){this.path=e}return e.fromPath=function(t){return new e(Fs.fromString(t))},e.fromName=function(t){return new e(Fs.fromString(t).popFirst(5))},e.prototype.hasCollectionId=function(e){return this.path.length>=2&&this.path.get(this.path.length-2)===e},e.prototype.isEqual=function(e){return null!==e&&0===Fs.comparator(this.path,e.path)},e.prototype.toString=function(){return this.path.toString()},e.comparator=function(e,t){return Fs.comparator(e.path,t.path)},e.isDocumentKey=function(e){return e.length%2==0},e.fromSegments=function(t){return new e(new Fs(t.slice()))},e}();function Js(e){return"nullValue"in e?0:"booleanValue"in e?1:"integerValue"in e||"doubleValue"in e?2:"timestampValue"in e?3:"stringValue"in e?5:"bytesValue"in e?6:"referenceValue"in e?7:"geoPointValue"in e?8:"arrayValue"in e?9:"mapValue"in e?Ks(e)?4:10:Ss()}function ea(e,t){var n=Js(e);if(n!==Js(t))return!1;switch(n){case 0:return!0;case 1:return e.booleanValue===t.booleanValue;case 4:return Xs(e).isEqual(Xs(t));case 3:return function(e,t){if("string"==typeof e.timestampValue&&"string"==typeof t.timestampValue&&e.timestampValue.length===t.timestampValue.length)return e.timestampValue===t.timestampValue;var n=Gs(e.timestampValue),i=Gs(t.timestampValue);return n.seconds===i.seconds&&n.nanos===i.nanos}(e,t);case 5:return e.stringValue===t.stringValue;case 6:return function(e,t){return Ws(e.bytesValue).isEqual(Ws(t.bytesValue))}(e,t);case 7:return e.referenceValue===t.referenceValue;case 8:return function(e,t){return qs(e.geoPointValue.latitude)===qs(t.geoPointValue.latitude)&&qs(e.geoPointValue.longitude)===qs(t.geoPointValue.longitude)}(e,t);case 2:return function(e,t){if("integerValue"in e&&"integerValue"in t)return qs(e.integerValue)===qs(t.integerValue);if("doubleValue"in e&&"doubleValue"in t){var n=qs(e.doubleValue),i=qs(t.doubleValue);return n===i?Qs(n)===Qs(i):isNaN(n)&&isNaN(i)}return!1}(e,t);case 9:return Ts(e.arrayValue.values||[],t.arrayValue.values||[],ea);case 10:return function(e,t){var n=e.mapValue.fields||{},i=t.mapValue.fields||{};if(js(n)!==js(i))return!1;for(var r in n)if(n.hasOwnProperty(r)&&(void 0===i[r]||!ea(n[r],i[r])))return!1;return!0}(e,t);default:return Ss()}}function ta(e,t){return void 0!==(e.values||[]).find((function(e){return ea(e,t)}))}function na(e,t){var n=Js(e),i=Js(t);if(n!==i)return Is(n,i);switch(n){case 0:return 0;case 1:return Is(e.booleanValue,t.booleanValue);case 2:return function(e,t){var n=qs(e.integerValue||e.doubleValue),i=qs(t.integerValue||t.doubleValue);return n<i?-1:n>i?1:n===i?0:isNaN(n)?isNaN(i)?0:-1:1}(e,t);case 3:return ia(e.timestampValue,t.timestampValue);case 4:return ia(Xs(e),Xs(t));case 5:return Is(e.stringValue,t.stringValue);case 6:return function(e,t){var n=Ws(e),i=Ws(t);return n.compareTo(i)}(e.bytesValue,t.bytesValue);case 7:return function(e,t){for(var n=e.split("/"),i=t.split("/"),r=0;r<n.length&&r<i.length;r++){var o=Is(n[r],i[r]);if(0!==o)return o}return Is(n.length,i.length)}(e.referenceValue,t.referenceValue);case 8:return function(e,t){var n=Is(qs(e.latitude),qs(t.latitude));return 0!==n?n:Is(qs(e.longitude),qs(t.longitude))}(e.geoPointValue,t.geoPointValue);case 9:return function(e,t){for(var n=e.values||[],i=t.values||[],r=0;r<n.length&&r<i.length;++r){var o=na(n[r],i[r]);if(o)return o}return Is(n.length,i.length)}(e.arrayValue,t.arrayValue);case 10:return function(e,t){var n=e.fields||{},i=Object.keys(n),r=t.fields||{},o=Object.keys(r);i.sort(),o.sort();for(var s=0;s<i.length&&s<o.length;++s){var a=Is(i[s],o[s]);if(0!==a)return a;var l=na(n[i[s]],r[o[s]]);if(0!==l)return l}return Is(i.length,o.length)}(e.mapValue,t.mapValue);default:throw Ss()}}function ia(e,t){if("string"==typeof e&&"string"==typeof t&&e.length===t.length)return Is(e,t);var n=Gs(e),i=Gs(t),r=Is(n.seconds,i.seconds);return 0!==r?r:Is(n.nanos,i.nanos)}function ra(e){return function e(t){return"nullValue"in t?"null":"booleanValue"in t?""+t.booleanValue:"integerValue"in t?""+t.integerValue:"doubleValue"in t?""+t.doubleValue:"timestampValue"in t?function(e){var t=Gs(e);return"time("+t.seconds+","+t.nanos+")"}
1(t.timestampValue):"stringValue"in t?t.stringValue:"bytesValue"in t?Ws(t.bytesValue).toBase64():"referenceValue"in t?Zs.fromName(t.referenceValue).toString():"geoPointValue"in t?"geo("+(n=t.geoPointValue).latitude+","+n.longitude+")":"arrayValue"in t?function(t){for(var n="[",i=!0,r=0,o=t.values||[];r<o.length;r++)i?i=!1:n+=",",n+=e(o[r]);return n+"]"}(t.arrayValue):"mapValue"in t?function(t){for(var n="{",i=!0,r=0,o=Object.keys(t.fields||{}).sort();r<o.length;r++){var s=o[r];i?i=!1:n+=",",n+=s+":"+e(t.fields[s])}return n+"}"}(t.mapValue):Ss();var n}(e)}function oa(e,t){return{referenceValue:"projects/"+e.projectId+"/databases/"+e.database+"/documents/"+t.path.canonicalString()}}function sa(e){return!!e&&"integerValue"in e}function aa(e){return!!e&&"arrayValue"in e}function la(e){return!!e&&"nullValue"in e}function ca(e){return!!e&&"doubleValue"in e&&isNaN(Number(e.doubleValue))}function ua(e){return!!e&&"mapValue"in e}function ha(e){if(e.geoPointValue)return{geoPointValue:Object.assign({},e.geoPointValue)};if(e.timestampValue&&"object"==typeof e.timestampValue)return{timestampValue:Object.assign({},e.timestampValue)};if(e.mapValue){var t={mapValue:{fields:{}}};return Ns(e.mapValue.fields,(function(e,n){return t.mapValue.fields[e]=ha(n)})),t}if(e.arrayValue){for(var n={arrayValue:{values:[]}},i=0;i<(e.arrayValue.values||[]).length;++i)n.arrayValue.values[i]=ha(e.arrayValue.values[i]);return n}return Object.assign({},e)}var da=function(){function e(e){this.value=e}return e.empty=function(){return new e({mapValue:{}})},e.prototype.field=function(e){if(e.isEmpty())return this.value;for(var t=this.value,n=0;n<e.length-1;++n)if(!ua(t=(t.mapValue.fields||{})[e.get(n)]))return null;return(t=(t.mapValue.fields||{})[e.lastSegment()])||null},e.prototype.set=function(e,t){this.getFieldsMap(e.popLast())[e.lastSegment()]=ha(t)},e.prototype.setAll=function(e){var t=this,n=Bs.emptyPath(),i={},r=[];e.forEach((function(e,o){if(!n.isImmediateParentOf(o)){var s=t.getFieldsMap(n);t.applyChanges(s,i,r),i={},r=[],n=o.popLast()}e?i[o.lastSegment()]=ha(e):r.push(o.lastSegment())}));var o=this.getFieldsMap(n);this.applyChanges(o,i,r)},e.prototype.delete=function(e){var t=this.field(e.popLast());ua(t)&&t.mapValue.fields&&delete t.mapValue.fields[e.lastSegment()]},e.prototype.isEqual=function(e){return ea(this.value,e.value)},e.prototype.getFieldsMap=function(e){var t=this.value;t.mapValue.fields||(t.mapValue={fields:{}});for(var n=0;n<e.length;++n){var i=t.mapValue.fields[e.get(n)];ua(i)&&i.mapValue.fields||(i={mapValue:{fields:{}}},t.mapValue.fields[e.get(n)]=i),t=i}return t.mapValue.fields},e.prototype.applyChanges=function(e,t,n){Ns(t,(function(t,n){return e[t]=n}));for(var i=0,r=n;i<r.length;i++)delete e[r[i]]},e.prototype.clone=function(){return new e(ha(this.value))},e}();function pa(e){var t=[];return Ns(e.fields,(function(e,n){var i=new Bs([e]);if(ua(n)){var r=pa(n.mapValue).fields;if(0===r.length)t.push(i);else for(var o=0,s=r;o<s.length;o++)t.push(i.child(s[o]))}else t.push(i)})),new Us(t)}var fa=function(){function e(e,t,n,i,r){this.key=e,this.documentType=t,this.version=n,this.data=i,this.documentState=r}return e.newInvalidDocument=function(t){return new e(t,0,Ds.min(),da.empty(),0)},e.newFoundDocument=function(t,n,i){return new e(t,1,n,i,0)},e.newNoDocument=function(t,n){return new e(t,2,n,da.empty(),0)},e.newUnknownDocument=function(t,n){return new e(t,3,n,da.empty(),2)},e.prototype.convertToFoundDocument=function(e,t){return this.version=e,this.documentType=1,this.data=t,this.documentState=0,this},e.prototype.convertToNoDocument=function(e){return this.version=e,this.documentType=2,this.data=da.empty(),this.documentState=0,this},e.prototype.convertToUnknownDocument=function(e){return this.version=e,this.documentType=3,this.data=da.empty(),this.documentState=2,this},e.prototype.setHasCommittedMutations=function(){return this.documentState=2,this},e.prototype.setHasLocalMutations=function(){return this.documentState=1,this},Object.defineProperty(e.prototype,"hasLocalMutations",{get:function(){return 1===this.documentState}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasCommittedMutations",{get:function(){return 2===this.documentState},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasPendingWrites",{get:function(){return this.hasLocalMutations||this.hasCommittedMutations},enumerable:!1,configurable:!0}),e.prototype.isValidDocument=function(){return 0!==this.documentType},e.prototype.isFoundDocument=function(){return 1===this.documentType},e.prototype.isNoDocument=function(){return 2===this.documentType},e.prototype.isUnknownDocument=function(){return 3===this.documentType},e.prototype.isEqual=function(t){return t instanceof e&&this.key.isEqual(t.key)&&this.version.isEqual(t.version)&&this.documentType===t.documentType&&this.documentState===t.documentState&&this.data.isEqual(t.data)},e.prototype.clone=function(){return new e(this.key,this.documentType,this.version,this.data.clone(),this.documentState)},e.prototype.toString=function(){return"Document("+this.key+", "+this.version+", "+JSON.stringify(this.data.value)+", {documentType: "+this.documentType+"}), {documentState: "+this.documentState+"})"},e}(),ma=function(e,t,n,i,r,o,s){void 0===t&&(t=null),void 0===n&&(n=[]),void 0===i&&(i=[]),void 0===r&&(r=null),void 0===o&&(o=null),void 0===s&&(s=null),this.path=e,this.collectionGroup=t,this.orderBy=n,this.filters=i,this.limit=r,this.startAt=o,this.endAt=s,this.h=null};function ga(e,t,n,i,r,o,s){return void 0===t&&(t=null),void 0===n&&(n=[]),void 0===i&&(i=[]),void 0===r&&(r=null),void 0===o&&(o=null),void 0===s&&(s=null),new ma(e,t,n,i,r,o,s)}function ba(e){var t=ks(e);if(null===t.h){var n=t.path.canonicalString();null!==t.collectionGroup&&(n+="|cg:"+t.collectionGroup),n+="|f:",n+=t.filters.map((function(e){return function(e){return e.field.canonicalString()+e.op.toString()+ra(e.value)}(e)})).join(","),n+="|ob:",n+=t.orderBy.map((function(e){return function(e){return e.field.canonicalString()+e.dir}(e)})).join(","),$s(t.limit)||(n+="|l:",n+=t.limit),t.startAt&&(n+="|lb:",n+=Ta(t.startAt)),t.endAt&&(n+="|ub:",n+=Ta(t.endAt)),t.h=n}return t.h}function _a(e,t){if(e.limit!==t.limit)return!1;if(e.orderBy.length!==t.orderBy.length)return!1;for(var n=0;n<e.orderBy.length;n++)if(!Aa(e.orderBy[n],t.orderBy[n]))return!1;if(e.filters.length!==t.filters.length)return!1;for(var i=0;i<e.filters.length;i++)if((r=e.filters[i]).op!==(o=t.filters[i]).op||!r.field.isEqual(o.field)||!ea(r.value,o.value))return!1;var r,o;return e.collectionGroup===t.collectionGroup&&!!e.path.isEqual(t.path)&&!!ja(e.startAt,t.startAt)&&ja(e.endAt,t.endAt)}function va(e){return Zs.isDocumentKey(e.path)&&null===e.collectionGroup&&0===e.filters.length}var ya=function(e){function t(t,n,i){var r=this;return(r=e.call(this)||this).field=t,r.op=n,r.value=i,r}return Object(sn.c)(t,e),t.create=function(e,n,i){return e.isKeyField()?"in"===n||"not-in"===n?this.l(e,n,i):new wa(e,n,i):"array-contains"===n?new Oa(e,i):"in"===n?new ka(e,i):"not-in"===n?new Ea(e,i):"array-contains-any"===n?new Pa(e,i):new t(e,n,i)},t.l=function(e,t,n){return"in"===t?new Ca(e,n):new xa(e,n)},t.prototype.matches=function(e){var t=e.data.field(this.field);return"!="===this.op?null!==t&&this.m(na(t,this.value)):null!==t&&Js(this.value)===Js(t)&&this.m(na(t,this.value))},t.prototype.m=function(e){switch(this.op){case"<":return e<0;case"<=":return e<=0;case"==":return 0===e;case"!=":return 0!==e;case">":return e>0;case">=":return e>=0;default:return Ss()}},t.prototype.g=function(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0},t}((function(){})),wa=function(e){function t(t,n,i){var r=this;return(r=e.call(this,t,n,i)||this).key=Zs.fromName(i.referenceValue),r}return Object(sn.c)(t,e),t.prototype.matches=function(e){var t=Zs.comparator(e.key,this.key);return this.m(t)},t}(ya),Ca=function(e){function t(t,n){var i=this;return(i=e.call(this,t,"in",n)||this).keys=Sa(0,n),i}return Object(sn.c)(t,e),t.prototype.matches=function(e){return this.keys.some((function(t){return t.isEqual(e.key)}))},t}(ya),xa=function(e){function t(t,n){var i=this;return(i=e.call(this,t,"not-in",n)||this).keys=Sa(0,n),i}return Object(sn.c)(t,e),t.prototype.matches=function(e){return!this.keys.some((function(t){return t.isEqual(e.key)}))},t}(ya);function Sa(e,t){var n;return((null===(n=t.arrayValue)||void 0===n?void 0:n.values)||[]).map((function(e){return Zs.fromN
1ame(e.referenceValue)}))}var Oa=function(e){function t(t,n){return e.call(this,t,"array-contains",n)||this}return Object(sn.c)(t,e),t.prototype.matches=function(e){var t=e.data.field(this.field);return aa(t)&&ta(t.arrayValue,this.value)},t}(ya),ka=function(e){function t(t,n){return e.call(this,t,"in",n)||this}return Object(sn.c)(t,e),t.prototype.matches=function(e){var t=e.data.field(this.field);return null!==t&&ta(this.value.arrayValue,t)},t}(ya),Ea=function(e){function t(t,n){return e.call(this,t,"not-in",n)||this}return Object(sn.c)(t,e),t.prototype.matches=function(e){if(ta(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;var t=e.data.field(this.field);return null!==t&&!ta(this.value.arrayValue,t)},t}(ya),Pa=function(e){function t(t,n){return e.call(this,t,"array-contains-any",n)||this}return Object(sn.c)(t,e),t.prototype.matches=function(e){var t=this,n=e.data.field(this.field);return!(!aa(n)||!n.arrayValue.values)&&n.arrayValue.values.some((function(e){return ta(t.value.arrayValue,e)}))},t}(ya),Ia=function(e,t){this.position=e,this.before=t};function Ta(e){return(e.before?"b":"a")+":"+e.position.map((function(e){return ra(e)})).join(",")}var Ma=function(e,t){void 0===t&&(t="asc"),this.field=e,this.dir=t};function Aa(e,t){return e.dir===t.dir&&e.field.isEqual(t.field)}function Da(e,t,n){for(var i=0,r=0;r<e.position.length;r++){var o=t[r],s=e.position[r];if(i=o.field.isKeyField()?Zs.comparator(Zs.fromName(s.referenceValue),n.key):na(s,n.data.field(o.field)),"desc"===o.dir&&(i*=-1),0!==i)break}return e.before?i<=0:i<0}function ja(e,t){if(null===e)return null===t;if(null===t)return!1;if(e.before!==t.before||e.position.length!==t.position.length)return!1;for(var n=0;n<e.position.length;n++)if(!ea(e.position[n],t.position[n]))return!1;return!0}var Na=function(e,t,n,i,r,o,s,a){void 0===t&&(t=null),void 0===n&&(n=[]),void 0===i&&(i=[]),void 0===r&&(r=null),void 0===o&&(o="F"),void 0===s&&(s=null),void 0===a&&(a=null),this.path=e,this.collectionGroup=t,this.explicitOrderBy=n,this.filters=i,this.limit=r,this.limitType=o,this.startAt=s,this.endAt=a,this.p=null,this.T=null};function Ra(e,t,n,i,r,o,s,a){return new Na(e,t,n,i,r,o,s,a)}function La(e){return new Na(e)}function Fa(e){return!$s(e.limit)&&"F"===e.limitType}function Va(e){return!$s(e.limit)&&"L"===e.limitType}function Ba(e){return e.explicitOrderBy.length>0?e.explicitOrderBy[0].field:null}function Ua(e){for(var t=0,n=e.filters;t<n.length;t++){var i=n[t];if(i.g())return i.field}return null}function Ha(e){return null!==e.collectionGroup}function za(e){var t=ks(e);if(null===t.p){t.p=[];var n=Ua(t),i=Ba(t);if(null!==n&&null===i)n.isKeyField()||t.p.push(new Ma(n)),t.p.push(new Ma(Bs.keyField(),"asc"));else{for(var r=!1,o=0,s=t.explicitOrderBy;o<s.length;o++){var a=s[o];t.p.push(a),a.field.isKeyField()&&(r=!0)}if(!r){var l=t.explicitOrderBy.length>0?t.explicitOrderBy[t.explicitOrderBy.length-1].dir:"asc";t.p.push(new Ma(Bs.keyField(),l))}}}return t.p}function Ga(e){var t=ks(e);if(!t.T)if("F"===t.limitType)t.T=ga(t.path,t.collectionGroup,za(t),t.filters,t.limit,t.startAt,t.endAt);else{for(var n=[],i=0,r=za(t);i<r.length;i++){var o=r[i];n.push(new Ma(o.field,"desc"===o.dir?"asc":"desc"))}var s=t.endAt?new Ia(t.endAt.position,!t.endAt.before):null,a=t.startAt?new Ia(t.startAt.position,!t.startAt.before):null;t.T=ga(t.path,t.collectionGroup,n,t.filters,t.limit,s,a)}return t.T}function qa(e,t,n){return new Na(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),t,n,e.startAt,e.endAt)}function Wa(e,t){return _a(Ga(e),Ga(t))&&e.limitType===t.limitType}function Ka(e){return ba(Ga(e))+"|lt:"+e.limitType}function Xa(e){return"Query(target="+function(e){var t=e.path.canonicalString();return null!==e.collectionGroup&&(t+=" collectionGroup="+e.collectionGroup),e.filters.length>0&&(t+=", filters: ["+e.filters.map((function(e){return(t=e).field.canonicalString()+" "+t.op+" "+ra(t.value);var t})).join(", ")+"]"),$s(e.limit)||(t+=", limit: "+e.limit),e.orderBy.length>0&&(t+=", orderBy: ["+e.orderBy.map((function(e){return function(e){return e.field.canonicalString()+" ("+e.dir+")"}(e)})).join(", ")+"]"),e.startAt&&(t+=", startAt: "+Ta(e.startAt)),e.endAt&&(t+=", endAt: "+Ta(e.endAt)),"Target("+t+")"}(Ga(e))+"; limitType="+e.limitType+")"}function $a(e,t){return t.isFoundDocument()&&function(e,t){var n=t.key.path;return null!==e.collectionGroup?t.key.hasCollectionId(e.collectionGroup)&&e.path.isPrefixOf(n):Zs.isDocumentKey(e.path)?e.path.isEqual(n):e.path.isImmediateParentOf(n)}(e,t)&&function(e,t){for(var n=0,i=e.explicitOrderBy;n<i.length;n++){var r=i[n];if(!r.field.isKeyField()&&null===t.data.field(r.field))return!1}return!0}(e,t)&&function(e,t){for(var n=0,i=e.filters;n<i.length;n++)if(!i[n].matches(t))return!1;return!0}(e,t)&&function(e,t){return!(e.startAt&&!Da(e.startAt,za(e),t)||e.endAt&&Da(e.endAt,za(e),t))}(e,t)}function Qa(e){return function(t,n){for(var i=!1,r=0,o=za(e);r<o.length;r++){var s=o[r],a=Ya(s,t,n);if(0!==a)return a;i=i||s.field.isKeyField()}return 0}}function Ya(e,t,n){var i=e.field.isKeyField()?Zs.comparator(t.key,n.key):function(e,t,n){var i=t.data.field(e),r=n.data.field(e);return null!==i&&null!==r?na(i,r):Ss()}(e.field,t,n);switch(e.dir){case"asc":return i;
1case"desc":return-1*i;default:return Ss()}}function Za(e,t){if(e.I){if(isNaN(t))return{doubleValue:"NaN"};if(t===1/0)return{doubleValue:"Infinity"};if(t===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Qs(t)?"-0":t}}function Ja(e){return{integerValue:""+e}}function el(e,t){return Ys(t)?Ja(t):Za(e,t)}var tl=function(){this._=void 0};function nl(e,t,n){return e instanceof ol?function(e,t){var n={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:e.seconds,nanos:e.nanoseconds}}}};return t&&(n.fields.__previous_value__=t),{mapValue:n}}(n,t):e instanceof sl?al(e,t):e instanceof ll?cl(e,t):function(e,t){var n=rl(e,t),i=hl(n)+hl(e.A);return sa(n)&&sa(e.A)?Ja(i):Za(e.R,i)}(e,t)}function il(e,t,n){return e instanceof sl?al(e,t):e instanceof ll?cl(e,t):n}function rl(e,t){return e instanceof ul?sa(n=t)||function(e){return!!e&&"doubleValue"in e}(n)?t:{integerValue:0}:null;var n}var ol=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t}(tl),sl=function(e){function t(t){var n=this;return(n=e.call(this)||this).elements=t,n}return Object(sn.c)(t,e),t}(tl);function al(e,t){for(var n=dl(t),i=function(e){n.some((function(t){return ea(t,e)}))||n.push(e)},r=0,o=e.elements;r<o.length;r++)i(o[r]);return{arrayValue:{values:n}}}var ll=function(e){function t(t){var n=this;return(n=e.call(this)||this).elements=t,n}return Object(sn.c)(t,e),t}(tl);function cl(e,t){for(var n=dl(t),i=function(e){n=n.filter((function(t){return!ea(t,e)}))},r=0,o=e.elements;r<o.length;r++)i(o[r]);return{arrayValue:{values:n}}}var ul=function(e){function t(t,n){var i=this;return(i=e.call(this)||this).R=t,i.A=n,i}return Object(sn.c)(t,e),t}(tl);function hl(e){return qs(e.integerValue||e.doubleValue)}function dl(e){return aa(e)&&e.arrayValue.values?e.arrayValue.values.slice():[]}var pl=function(e,t){this.field=e,this.transform=t},fl=function(e,t){this.version=e,this.transformResults=t},ml=function(){function e(e,t){this.updateTime=e,this.exists=t}return e.none=function(){return new e},e.exists=function(t){return new e(void 0,t)},e.updateTime=function(t){return new e(t)},Object.defineProperty(e.prototype,"isNone",{get:function(){return void 0===this.updateTime&&void 0===this.exists},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this.exists===e.exists&&(this.updateTime?!!e.updateTime&&this.updateTime.isEqual(e.updateTime):!e.updateTime)},e}();function gl(e,t){return void 0!==e.updateTime?t.isFoundDocument()&&t.version.isEqual(e.updateTime):void 0===e.exists||e.exists===t.isFoundDocument()}var bl=function(){};function _l(e,t,n){e instanceof xl?function(e,t,n){var i=e.value.clone(),r=kl(e.fieldTransforms,t,n.transformResults);i.setAll(r),t.convertToFoundDocument(n.version,i).setHasCommittedMutations()}(e,t,n):e instanceof Sl?function(e,t,n){if(gl(e.precondition,t)){var i=kl(e.fieldTransforms,t,n.transformResults),r=t.data;r.setAll(Ol(e)),r.setAll(i),t.convertToFoundDocument(n.version,r).setHasCommittedMutations()}else t.convertToUnknownDocument(n.version)}(e,t,n):function(e,t,n){t.convertToNoDocument(n.version).setHasCommittedMutations()}(0,t,n)}function vl(e,t,n){e instanceof xl?function(e,t,n){if(gl(e.precondition,t)){var i=e.value.clone(),r=El(e.fieldTransforms,n,t);i.setAll(r),t.convertToFoundDocument(Cl(t),i).setHasLocalMutations()}}(e,t,n):e instanceof Sl?function(e,t,n){if(gl(e.precondition,t)){var i=El(e.fieldTransforms,n,t),r=t.data;r.setAll(Ol(e)),r.setAll(i),t.convertToFoundDocument(Cl(t),r).setHasLocalMutations()}}(e,t,n):function(e,t){gl(e.precondition,t)&&t.convertToNoDocument(Ds.min())}(e,t)}function yl(e,t){for(var n=null,i=0,r=e.fieldTransforms;i<r.length;i++){var o=r[i],s=t.data.field(o.field),a=rl(o.transform,s||null);null!=a&&(null==n&&(n=da.empty()),n.set(o.field,a))}return n||null}function wl(e,t){return e.type===t.type&&!!e.key.isEqual(t.key)&&!!e.precondition.isEqual(t.precondition)&&!!function(e,t){return void 0===e&&void 0===t||!(!e||!t)&&Ts(e,t,(function(e,t){return function(e,t){return e.field.isEqual(t.field)&&function(e,t){return e instanceof sl&&t instanceof sl||e instanceof ll&&t instanceof ll?Ts(e.elements,t.elements,ea):e instanceof ul&&t instanceof ul?ea(e.A,t.A):e instanceof ol&&t instanceof ol}(e.transform,t.transform)}(e,t)}))}(e.fieldTransforms,t.fieldTransforms)&&(0===e.type?e.value.isEqual(t.value):1!==e.type||e.data.isEqual(t.data)&&e.fieldMask.isEqual(t.fieldMask))}function Cl(e){return e.isFoundDocument()?e.version:Ds.min()}var xl=function(e){function t(t,n,i,r){void 0===r&&(r=[]);var o=this;return(o=e.call(this)||this).key=t,o.value=n,o.precondition=i,o.fieldTransforms=r,o.type=0,o}return Object(sn.c)(t,e),t}(bl),Sl=function(e){function t(t,n,i,r,o){void 0===o&&(o=[]);var s=this;return(s=e.call(this)||this).key=t,s.data=n,s.fieldMask=i,s.precondition=r,s.fieldTransforms=o,s.type=1,s}return Object(sn.c)(t,e),t}(bl);function Ol(e){var t=new Map;return e.fieldMask.fields.forEach((function(n){if(!n.isEmpty()){var i=e.data.field(n);t.set(n,i)}})),t}function kl(e,t,n){var i=new Map;Os(e.length===n.length);for(var r=0;r<n.length;r++){var o=e[r],s=o.transform,a=t.data.field(o.field);i.set(o.field,il(s,a,n[r]))}return i}function El(e,t,n){for(var i=new Map,r=0,o=e;r<o.length;r++){var s=o[r],a=s.transform,l=n.data.field(s.field);i.set(s.field,nl(a,l,t))}return i}var Pl,Il,Tl=function(e){function t(t,n){var i=this;return(i=e.call(this)||this).key=t,i.precondition=n,i.type=2,i.fieldTransforms=[],i}return Object(sn.c)(t,e),t}(bl),Ml=function(e){function t(t,n){var i=this;return(i=e.call(this)||this).key=t,i.precondition=n,i.type=3,i.fieldTransforms=[],i}return Object(sn.c)(t,e),t}(bl),Al=function(e){this.count=e};function Dl(e){switch(e){case gs.OK:return Ss();case gs.CANCELLED:case gs.UNKNOWN:case gs.DEADLINE_EXCEEDED:case gs.RESOURCE_EXHAUSTED:case gs.INTERNAL:case gs.UNAVAILABLE:case gs.UNAUTHENTICATED:return!1;case gs.INVALID_ARGUMENT:case gs.NOT_FOUND:case gs.ALREADY_EXISTS:case gs.PERMISSION_DENIED:case gs.FAILED_PRECONDITION:case gs.ABORTED:case gs.OUT_OF_RANGE:case gs.UNIMPLEMENT
1ED:case gs.DATA_LOSS:return!0;default:return Ss()}}function jl(e){if(void 0===e)return ws("GRPC error has no .code"),gs.UNKNOWN;switch(e){case Pl.OK:return gs.OK;case Pl.CANCELLED:return gs.CANCELLED;case Pl.UNKNOWN:return gs.UNKNOWN;case Pl.DEADLINE_EXCEEDED:return gs.DEADLINE_EXCEEDED;case Pl.RESOURCE_EXHAUSTED:return gs.RESOURCE_EXHAUSTED;case Pl.INTERNAL:return gs.INTERNAL;case Pl.UNAVAILABLE:return gs.UNAVAILABLE;case Pl.UNAUTHENTICATED:return gs.UNAUTHENTICATED;case Pl.INVALID_ARGUMENT:return gs.INVALID_ARGUMENT;case Pl.NOT_FOUND:return gs.NOT_FOUND;case Pl.ALREADY_EXISTS:return gs.ALREADY_EXISTS;case Pl.PERMISSION_DENIED:return gs.PERMISSION_DENIED;case Pl.FAILED_PRECONDITION:return gs.FAILED_PRECONDITION;case Pl.ABORTED:return gs.ABORTED;case Pl.OUT_OF_RANGE:return gs.OUT_OF_RANGE;case Pl.UNIMPLEMENTED:return gs.UNIMPLEMENTED;case Pl.DATA_LOSS:return gs.DATA_LOSS;default:return Ss()}}(Il=Pl||(Pl={}))[Il.OK=0]="OK",Il[Il.CANCELLED=1]="CANCELLED",Il[Il.UNKNOWN=2]="UNKNOWN",Il[Il.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Il[Il.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Il[Il.NOT_FOUND=5]="NOT_FOUND",Il[Il.ALREADY_EXISTS=6]="ALREADY_EXISTS",Il[Il.PERMISSION_DENIED=7]="PERMISSION_DENIED",Il[Il.UNAUTHENTICATED=16]="UNAUTHENTICATED",Il[Il.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Il[Il.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Il[Il.ABORTED=10]="ABORTED",Il[Il.OUT_OF_RANGE=11]="OUT_OF_RANGE",Il[Il.UNIMPLEMENTED=12]="UNIMPLEMENTED",Il[Il.INTERNAL=13]="INTERNAL",Il[Il.UNAVAILABLE=14]="UNAVAILABLE",Il[Il.DATA_LOSS=15]="DATA_LOSS";var Nl=function(){function e(e,t){this.comparator=e,this.root=t||Ll.EMPTY}return e.prototype.insert=function(t,n){return new e(this.comparator,this.root.insert(t,n,this.comparator).copy(null,null,Ll.BLACK,null,null))},e.prototype.remove=function(t){return new e(this.comparator,this.root.remove(t,this.comparator).copy(null,null,Ll.BLACK,null,null))},e.prototype.get=function(e){for(var t=this.root;!t.isEmpty();){var n=this.comparator(e,t.key);if(0===n)return t.value;n<0?t=t.left:n>0&&(t=t.right)}return null},e.prototype.indexOf=function(e){for(var t=0,n=this.root;!n.isEmpty();){var i=this.comparator(e,n.key);if(0===i)return t+n.left.size;i<0?n=n.left:(t+=n.left.size+1,n=n.right)}return-1},e.prototype.isEmpty=function(){return this.root.isEmpty()},Object.defineProperty(e.prototype,"size",{get:function(){return this.root.size},enumerable:!1,configurable:!0}),e.prototype.minKey=function(){return this.root.minKey()},e.prototype.maxKey=function(){return this.root.maxKey()},e.prototype.inorderTraversal=function(e){return this.root.inorderTraversal(e)},e.prototype.forEach=function(e){this.inorderTraversal((function(t,n){return e(t,n),!1}))},e.prototype.toString=function(){var e=[];return this.inorderTraversal((function(t,n){return e.push(t+":"+n),!1})),"{"+e.join(", ")+"}"},e.prototype.reverseTraversal=function(e){return this.root.reverseTraversal(e)},e.prototype.getIterator=function(){return new Rl(this.root,null,this.comparator,!1)},e.prototype.getIteratorFrom=function(e){return new Rl(this.root,e,this.comparator,!1)},e.prototype.getReverseIterator=function(){return new Rl(this.root,null,this.comparator,!0)},e.prototype.getReverseIteratorFrom=function(e){return new Rl(this.root,e,this.comparator,!0)},e}(),Rl=function(){function e(e,t,n,i){this.isReverse=i,this.nodeStack=[];for(var r=1;!e.isEmpty();)if(r=t?n(e.key,t):1,i&&(r*=-1),r<0)e=this.isReverse?e.left:e.right;else{if(0===r){this.nodeStack.push(e);break}this.nodeStack.push(e),e=this.isReverse?e.right:e.left}}return e.prototype.getNext=function(){var e=this.nodeStack.pop(),t={key:e.key,value:e.value};if(this.isReverse)for(e=e.left;!e.isEmpty();)this.nodeStack.push(e),e=e.right;else for(e=e.right;!e.isEmpty();)this.nodeStack.push(e),e=e.left;return t},e.prototype.hasNext=function(){return this.nodeStack.length>0},e.prototype.peek=function(){if(0===this.nodeStack.length)return null;var e=this.nodeStack[this.nodeStack.length-1];return{key:e.key,value:e.value}},e}(),Ll=function(){function e(t,n,i,r,o){this.key=t,this.value=n,this.color=null!=i?i:e.RED,this.left=null!=r?r:e.EMPTY,this.right=null!=o?o:e.EMPTY,this.size=this.left.size+1+this.right.size}return e.prototype.copy=function(t,n,i,r,o){return new e(null!=t?t:this.key,null!=n?n:this.value,
1null!=i?i:this.color,null!=r?r:this.left,null!=o?o:this.right)},e.prototype.isEmpty=function(){return!1},e.prototype.inorderTraversal=function(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)},e.prototype.min=function(){return this.left.isEmpty()?this:this.left.min()},e.prototype.minKey=function(){return this.min().key},e.prototype.maxKey=function(){return this.right.isEmpty()?this.key:this.right.maxKey()},e.prototype.insert=function(e,t,n){var i=this,r=n(e,i.key);return(i=r<0?i.copy(null,null,null,i.left.insert(e,t,n),null):0===r?i.copy(null,t,null,null,null):i.copy(null,null,null,null,i.right.insert(e,t,n))).fixUp()},e.prototype.removeMin=function(){if(this.left.isEmpty())return e.EMPTY;var t=this;return t.left.isRed()||t.left.left.isRed()||(t=t.moveRedLeft()),(t=t.copy(null,null,null,t.left.removeMin(),null)).fixUp()},e.prototype.remove=function(t,n){var i,r=this;if(n(t,r.key)<0)r.left.isEmpty()||r.left.isRed()||r.left.left.isRed()||(r=r.moveRedLeft()),r=r.copy(null,null,null,r.left.remove(t,n),null);else{if(r.left.isRed()&&(r=r.rotateRight()),r.right.isEmpty()||r.right.isRed()||r.right.left.isRed()||(r=r.moveRedRight()),0===n(t,r.key)){if(r.right.isEmpty())return e.EMPTY;i=r.right.min(),r=r.copy(i.key,i.value,null,null,r.right.removeMin())}r=r.copy(null,null,null,null,r.right.remove(t,n))}return r.fixUp()},e.prototype.isRed=function(){return this.color},e.prototype.fixUp=function(){var e=this;return e.right.isRed()&&!e.left.isRed()&&(e=e.rotateLeft()),e.left.isRed()&&e.left.left.isRed()&&(e=e.rotateRight()),e.left.isRed()&&e.right.isRed()&&(e=e.colorFlip()),e},e.prototype.moveRedLeft=function(){var e=this.colorFlip();return e.right.left.isRed()&&(e=(e=(e=e.copy(null,null,null,null,e.right.rotateRight())).rotateLeft()).colorFlip()),e},e.prototype.moveRedRight=function(){var e=this.colorFlip();return e.left.left.isRed()&&(e=(e=e.rotateRight()).colorFlip()),e},e.prototype.rotateLeft=function(){var t=this.copy(null,null,e.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)},e.prototype.rotateRight=function(){var t=this.copy(null,null,e.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)},e.prototype.colorFlip=function(){var e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)},e.prototype.checkMaxDepth=function(){var e=this.check();return Math.pow(2,e)<=this.size+1},e.prototype.check=function(){if(this.isRed()&&this.left.isRed())throw Ss();if(this.right.isRed())throw Ss();var e=this.left.check();if(e!==this.right.check())throw Ss();return e+(this.isRed()?0:1)},e}();Ll.EMPTY=null,Ll.RED=!0,Ll.BLACK=!1,Ll.EMPTY=new(function(){function e(){this.size=0}return Object.defineProperty(e.prototype,"key",{get:function(){throw Ss()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){throw Ss()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){throw Ss()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){throw Ss()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){throw Ss()},enumerable:!1,configurable:!0}),e.prototype.copy=function(e,t,n,i,r){return this},e.prototype.insert=function(e,t,n){return new Ll(e,t)},e.prototype.remove=function(e,t){return this},e.prototype.isEmpty=function(){return!0},e.prototype.inorderTraversal=function(e){return!1},e.prototype.reverseTraversal=function(e){return!1},e.prototype.minKey=function(){return null},e.prototype.maxKey=function(){return null},e.prototype.isRed=function(){return!1},e.prototype.checkMaxDepth=function(){return!0},e.prototype.check=function(){return 0},e}());var Fl=function(){function e(e){this.comparator=e,this.data=new Nl(this.comparator)}return e.prototype.has=function(e){return null!==this.data.get(e)},e.prototype.first=function(){return this.data.minKey()},e.prototype.last=function(){return this.data.maxKey()},Object.defineProperty(e.prototype,"size",{get:function(){return this.data.size}
1,enumerable:!1,configurable:!0}),e.prototype.indexOf=function(e){return this.data.indexOf(e)},e.prototype.forEach=function(e){this.data.inorderTraversal((function(t,n){return e(t),!1}))},e.prototype.forEachInRange=function(e,t){for(var n=this.data.getIteratorFrom(e[0]);n.hasNext();){var i=n.getNext();if(this.comparator(i.key,e[1])>=0)return;t(i.key)}},e.prototype.forEachWhile=function(e,t){var n;for(n=void 0!==t?this.data.getIteratorFrom(t):this.data.getIterator();n.hasNext();)if(!e(n.getNext().key))return},e.prototype.firstAfterOrEqual=function(e){var t=this.data.getIteratorFrom(e);return t.hasNext()?t.getNext().key:null},e.prototype.getIterator=function(){return new Vl(this.data.getIterator())},e.prototype.getIteratorFrom=function(e){return new Vl(this.data.getIteratorFrom(e))},e.prototype.add=function(e){return this.copy(this.data.remove(e).insert(e,!0))},e.prototype.delete=function(e){return this.has(e)?this.copy(this.data.remove(e)):this},e.prototype.isEmpty=function(){return this.data.isEmpty()},e.prototype.unionWith=function(e){var t=this;return t.size<e.size&&(t=e,e=this),e.forEach((function(e){t=t.add(e)})),t},e.prototype.isEqual=function(t){if(!(t instanceof e))return!1;if(this.size!==t.size)return!1;for(var n=this.data.getIterator(),i=t.data.getIterator();n.hasNext();){var r=n.getNext().key,o=i.getNext().key;if(0!==this.comparator(r,o))return!1}return!0},e.prototype.toArray=function(){var e=[];return this.forEach((function(t){e.push(t)})),e},e.prototype.toString=function(){var e=[];return this.forEach((function(t){return e.push(t)})),"SortedSet("+e.toString()+")"},e.prototype.copy=function(t){var n=new e(this.comparator);return n.data=t,n},e}(),Vl=function(){function e(e){this.iter=e}return e.prototype.getNext=function(){return this.iter.getNext().key},e.prototype.hasNext=function(){return this.iter.hasNext()},e}(),Bl=new Nl(Zs.comparator);function Ul(){return Bl}var Hl=new Nl(Zs.comparator);function zl(){return Hl}var Gl=new Nl(Zs.comparator);function ql(){return Gl}var Wl=new Fl(Zs.comparator);function Kl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=Wl,i=0,r=e;i<r.length;i++){var o=r[i];n=n.add(o)}return n}var Xl=new Fl(Is);function $l(){return Xl}var Ql=function(){function e(e,t,n,i,r){this.snapshotVersion=e,this.targetChanges=t,this.targetMismatches=n,this.documentUpdates=i,this.resolvedLimboDocuments=r}return e.createSynthesizedRemoteEventForCurrentChange=function(t,n){var i=new Map;return i.set(t,Yl.createSynthesizedTargetChangeForCurrentChange(t,n)),new e(Ds.min(),i,$l(),Ul(),Kl())},e}(),Yl=function(){function e(e,t,n,i,r){this.resumeToken=e,this.current=t,this.addedDocuments=n,this.modifiedDocuments=i,this.removedDocuments=r}return e.createSynthesizedTargetChangeForCurrentChange=function(t,n){return new e(Hs.EMPTY_BYTE_STRING,n,Kl(),Kl(),Kl())},e}(),Zl=function(e,t,n,i){this.v=e,this.removedTargetIds=t,this.key=n,this.P=i},Jl=function(e,t){this.targetId=e,this.V=t},ec=function(e,t,n,i){void 0===n&&(n=Hs.EMPTY_BYTE_STRING),void 0===i&&(i=null),this.state=e,this.targetIds=t,this.resumeToken=n,this.cause=i},tc=function(){function e(){this.S=0,this.D=rc(),this.C=Hs.EMPTY_BYTE_STRING,this.N=!1,this.k=!0}return Object.defineProperty(e.prototype,"current",{get:function(){return this.N},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resumeToken",{get:function(){return this.C},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"F",{get:function(){return 0!==this.S},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"$",{get:function(){return this.k},enumerable:!1,configurable:!0}),e.prototype.O=function(e){e.approximateByteSize()>0&&(this.k=!0,this.C=e)},e.prototype.M=function(){var e=Kl(),t=Kl(),n=Kl();return this.D.forEach((function(i,r){switch(r){case 0:e=e.add(i);break;case 2:t=t.add(i);break;case 1:n=n.add(i);break;default:Ss()}})),new Yl(this.C,this.N,e,t,n)},e.prototype.L=function(){this.k=!1,this.D=rc()},e.prototype.B=function(e,t){this.k=!0,this.D=this.D.insert(e,t)},e.prototype.q=function(e){this.k=!0,this.D=this.D.remove(e)},e.prototype.U=function(){this.S+=1},e.prototype.K=function(){this.S-=1},e.prototype.j=function(){this.k=!0,this.N=!0},e}(),nc=function(){function e(e){this.W=e,this.G=new Map,this.H=Ul(),this.J=ic(),this.Y=new Fl(Is)}return e.prototype.X=function(e){for(var t=0,n=e.v;t<n.length;t++){var i=n[t];e.P&&e.P.isFoundDocument()?this.Z(i,e.P):this.tt(i,e.key,e.P)}for(var r=0,o=e.removedTargetIds;r<o.length;r++)this.tt(i=o[r],e.key,e.P)},e.prototype.et=function(e){var t=this;this.forEachTarget(e,(function(n){var i=t.nt(n);switch(e.state){case 0:t.st(n)&&i.O(e.resumeToken);break;case 1:i.K(),i.F||i.L(),i.O(e.resumeToken);break;case 2:i.K(),i.F||t.removeTarget(n);break;case 3:t.st(n)&&(i.j(),i.O(e.resumeToken));break;case 4:t.st(n)&&(t.it(n),i.O(e.resumeToken));break;default:Ss()}}))},e.prototype.forEachTarget=function(e,t){var n=this;e.targetIds.length>0?e.targetIds.forEach(t):this.G.forEach((function(e,i){n.st(i)&&t(i)}))}
1,e.prototype.rt=function(e){var t=e.targetId,n=e.V.count,i=this.ot(t);if(i){var r=i.target;if(va(r))if(0===n){var o=new Zs(r.path);this.tt(t,o,fa.newNoDocument(o,Ds.min()))}else Os(1===n);else this.ct(t)!==n&&(this.it(t),this.Y=this.Y.add(t))}},e.prototype.ut=function(e){var t=this,n=new Map;this.G.forEach((function(i,r){var o=t.ot(r);if(o){if(i.current&&va(o.target)){var s=new Zs(o.target.path);null!==t.H.get(s)||t.at(r,s)||t.tt(r,s,fa.newNoDocument(s,e))}i.$&&(n.set(r,i.M()),i.L())}}));var i=Kl();this.J.forEach((function(e,n){var r=!0;n.forEachWhile((function(e){var n=t.ot(e);return!n||2===n.purpose||(r=!1,!1)})),r&&(i=i.add(e))}));var r=new Ql(e,n,this.Y,this.H,i);return this.H=Ul(),this.J=ic(),this.Y=new Fl(Is),r},e.prototype.Z=function(e,t){if(this.st(e)){var n=this.at(e,t.key)?2:0;this.nt(e).B(t.key,n),this.H=this.H.insert(t.key,t),this.J=this.J.insert(t.key,this.ht(t.key).add(e))}},e.prototype.tt=function(e,t,n){if(this.st(e)){var i=this.nt(e);this.at(e,t)?i.B(t,1):i.q(t),this.J=this.J.insert(t,this.ht(t).delete(e)),n&&(this.H=this.H.insert(t,n))}},e.prototype.removeTarget=function(e){this.G.delete(e)},e.prototype.ct=function(e){var t=this.nt(e).M();return this.W.getRemoteKeysForTarget(e).size+t.addedDocuments.size-t.removedDocuments.size},e.prototype.U=function(e){this.nt(e).U()},e.prototype.nt=function(e){var t=this.G.get(e);return t||(t=new tc,this.G.set(e,t)),t},e.prototype.ht=function(e){var t=this.J.get(e);return t||(t=new Fl(Is),this.J=this.J.insert(e,t)),t},e.prototype.st=function(e){var t=null!==this.ot(e);return t||ys("WatchChangeAggregator","Detected inactive target",e),t},e.prototype.ot=function(e){var t=this.G.get(e);return t&&t.F?null:this.W.lt(e)},e.prototype.it=function(e){var t=this;this.G.set(e,new tc),this.W.getRemoteKeysForTarget(e).forEach((function(n){t.tt(e,n,null)}))},e.prototype.at=function(e,t){return this.W.getRemoteKeysForTarget(e).has(t)},e}();function ic(){return new Nl(Zs.comparator)}function rc(){return new Nl(Zs.comparator)}var oc={asc:"ASCENDING",desc:"DESCENDING"},sc={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},ac=function(e,t){this.databaseId=e,this.I=t};function lc(e,t){return e.I?new Date(1e3*t.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")+"."+("000000000"+t.nanoseconds).slice(-9)+"Z":{seconds:""+t.seconds,nanos:t.nanoseconds}}function cc(e,t){return e.I?t.toBase64():t.toUint8Array()}function uc(e,t){return lc(e,t.toTimestamp())}function hc(e){return Os(!!e),Ds.fromTimestamp(function(e){var t=Gs(e);return new As(t.seconds,t.nanos)}(e))}function dc(e,t){return function(e){return new Fs(["projects",e.projectId,"databases",e.database])}(e).child("documents").child(t).canonicalString()}function pc(e){var t=Fs.fromString(e);return Os(Rc(t)),t}function fc(e,t){return dc(e.databaseId,t.path)}function mc(e,t){var n=pc(t);if(n.get(1)!==e.databaseId.projectId)throw new bs(gs.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+n.get(1)+" vs "+e.databaseId.projectId);if(n.get(3)!==e.databaseId.database)throw new bs(gs.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+n.get(3)+" vs "+e.databaseId.database);return new Zs(vc(n))}function gc(e,t){return dc(e.databaseId,t)}function bc(e){var t=pc(e);return 4===t.length?Fs.emptyPath():vc(t)}function _c(e){return new Fs(["projects",e.databaseId.projectId,"databases",e.databaseId.database]).canonicalString()}function vc(e){return Os(e.length>4&&"documents"===e.get(4)),e.popFirst(5)}function yc(e,t,n){return{name:fc(e,t),fields:n.value.mapValue.fields}}function wc(e,t,n){var i=mc(e,t.name),r=hc(t.updateTime),o=new da({mapValue:{fields:t.fields}}),s=fa.newFoundDocument(i,r,o);return n&&s.setHasCommittedMutations(),n?s.setHasCommittedMutations():s}function Cc(e,t){var n;if(t instanceof xl)n={update:yc(e,t.key,t.value)};else if(t instanceof Tl)n={delete:fc(e,t.key)};else if(t instanceof Sl)n={update:yc(e,t.key,t.data),updateMask:Nc(t.fieldMask)};else{if(!(t instanceof Ml))return Ss();n={verify:fc(e,t.key)}}return t.fieldTransforms.length>0&&(n.updateTransforms=t.fieldTransforms.map((function(e){return function(e,t){var n=t.transform;if(n instanceof ol)return{fieldPath:t.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(n instanceof sl)return{fieldPath:t.field.canonicalString(),appendMissingElements:{values:n.elements}};if(n instanceof ll)return{fieldPath:t.field.canonicalString(),removeAllFromArray:{values:n.elements}};if(n instanceof ul)return{fieldPath:t.field.canonicalString(),increment:n.A};throw Ss()}(0,e)}))),t.precondition.isNone||(n.currentDocument=function(e,t){return void 0!==t.updateTime?{updateTime:uc(e,t.updateTime)}:void 0!==t.exists?{exists:t.exists}:Ss()}(e,t.precondition)),n}function xc(e,t){var n=t.currentDocument?function(e){return void 0!==e.updateTime?ml.updateTime(hc(e.updateTime)):void 0!==e.exists?ml.exists(e.exists):ml.none()}(t.currentDocument):ml.none(),i=t.updateTransforms?t.updateTransforms.map((function(t){return function(e,t){var n=null;"setToServerValue"in t?(Os("REQUEST_TIME"===t.setToServerValue),n=new ol):"appendMissingElements"in t?n=new sl(t.appendMissingElements.values||[]):"removeAllFromArray"in t?n=new ll(t.removeAllFromArray.values||[]):"increment"in t?n=new ul(e,t.increment):Ss();var i=Bs.fromServerFormat(t.fieldPath);return new pl(i,n)}(e,t)})):[];if(t.update){var r=mc(e,t.update.name),o=new da({mapValue:{fields:t.update.fields}});if(t.updateMask){var s=function(e){return new Us((e.fieldPaths||[]).map((function(e){return Bs.fromServerFormat(e)})))}(t.updateMask);return new Sl(r,o,s,n,i)}return new xl(r,o,n,i)}if(t.delete){var a=mc(e,t.delete);return new Tl(a,n)}if(t.verify){var l=mc(e,t.verify);return new Ml(l,n)}return Ss()}function Sc(e,t){return{documents:[gc(e,t.path)]}}function Oc(e,t){var n={structuredQuery:{}},i=t.path;null!==t.collectionGroup?(n.parent=gc(e,i),n.structuredQuery.from=[{collectionId:t.collectionGroup,allDescendants:!0}]):(n.parent=gc(e,i.popLast()),n.structuredQuery.from=[{collectionId:i.lastSegment()}]);var r=function(e){if(0!==e.length){var t=e.map((function(e){return function(e){if("=="===e.op){if(ca(e.value))return{unaryFilter:{field:Mc(e.field),op:"IS_NAN"}};if(la(e.value))return{unaryFilter:{field:Mc(e.field),op:"IS_NULL"}}}else if("!="===e.op){if(ca(e.value))return{unaryFilter:{field:Mc(e.field),op:"IS_NOT_NA
1N"}};if(la(e.value))return{unaryFilter:{field:Mc(e.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:Mc(e.field),op:Tc(e.op),value:e.value}}}(e)}));return 1===t.length?t[0]:{compositeFilter:{op:"AND",filters:t}}}}(t.filters);r&&(n.structuredQuery.where=r);var o=function(e){if(0!==e.length)return e.map((function(e){return function(e){return{field:Mc(e.field),direction:Ic(e.dir)}}(e)}))}(t.orderBy);o&&(n.structuredQuery.orderBy=o);var s=function(e,t){return e.I||$s(t)?t:{value:t}}(e,t.limit);return null!==s&&(n.structuredQuery.limit=s),t.startAt&&(n.structuredQuery.startAt=Ec(t.startAt)),t.endAt&&(n.structuredQuery.endAt=Ec(t.endAt)),n}function kc(e){var t=bc(e.parent),n=e.structuredQuery,i=n.from?n.from.length:0,r=null;if(i>0){Os(1===i);var o=n.from[0];o.allDescendants?r=o.collectionId:t=t.child(o.collectionId)}var s=[];n.where&&(s=function e(t){return t?void 0!==t.unaryFilter?[jc(t)]:void 0!==t.fieldFilter?[Dc(t)]:void 0!==t.compositeFilter?t.compositeFilter.filters.map((function(t){return e(t)})).reduce((function(e,t){return e.concat(t)})):Ss():[]}(n.where));var a=[];n.orderBy&&(a=n.orderBy.map((function(e){return function(e){return new Ma(Ac(e.field),function(e){switch(e){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(e.direction))}(e)})));var l=null;n.limit&&(l=function(e){var t;return $s(t="object"==typeof e?e.value:e)?null:t}(n.limit));var c=null;n.startAt&&(c=Pc(n.startAt));var u=null;return n.endAt&&(u=Pc(n.endAt)),Ra(t,r,a,s,l,"F",c,u)}function Ec(e){return{before:e.before,values:e.position}}function Pc(e){return new Ia(e.values||[],!!e.before)}function Ic(e){return oc[e]}function Tc(e){return sc[e]}function Mc(e){return{fieldPath:e.canonicalString()}}function Ac(e){return Bs.fromServerFormat(e.fieldPath)}function Dc(e){return ya.create(Ac(e.fieldFilter.field),function(e){switch(e){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";case"OPERATOR_UNSPECIFIED":default:return Ss()}}(e.fieldFilter.op),e.fieldFilter.value)}function jc(e){switch(e.unaryFilter.op){case"IS_NAN":var t=Ac(e.unaryFilter.field);return ya.create(t,"==",{doubleValue:NaN});case"IS_NULL":var n=Ac(e.unaryFilter.field);return ya.create(n,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":var i=Ac(e.unaryFilter.field);return ya.create(i,"!=",{doubleValue:NaN});case"IS_NOT_NULL":var r=Ac(e.unaryFilter.field);return ya.create(r,"!=",{nullValue:"NULL_VALUE"});case"OPERATOR_UNSPECIFIED":default:return Ss()}}function Nc(e){var t=[];return e.fields.forEach((function(e){return t.push(e.canonicalString())})),{fieldPaths:t}}function Rc(e){return e.length>=4&&"projects"===e.get(0)&&"databases"===e.get(2)}function Lc(e){for(var t="",n=0;n<e.length;n++)t.length>0&&(t=Vc(t)),t=Fc(e.get(n),t);return Vc(t)}function Fc(e,t){for(var n=t,i=e.length,r=0;r<i;r++){var o=e.charAt(r);switch(o){case"\0":n+="\x01\x10";break;case"\x01":n+="\x01\x11";break;default:n+=o}}return n}function Vc(e){return e+"\x01\x01"}function Bc(e){var t=e.length;if(Os(t>=2),2===t)return Os("\x01"===e.charAt(0)&&"\x01"===e.charAt(1)),Fs.emptyPath();for(var n=t-2,i=[],r="",o=0;o<t;){var s=e.indexOf("\x01",o);switch((s<0||s>n)&&Ss(),e.charAt(s+1)){case"\x01":var a=e.substring(o,s),l=void 0;0===r.length?l=a:(l=r+=a,r=""),i.push(l);break;case"\x10":r+=e.substring(o,s),r+="\0";break;case"\x11":r+=e.substring(o,s+1);break;default:Ss()}o=s+2}return new Fs(i)}var Uc=function(e,t){this.seconds=e,this.nanoseconds=t},Hc=function(e,t,n){this.ownerId=e,this.allowTabSynchronization=t,this.leaseTimestampMs=n};Hc.store="owner",Hc.key="owner";var zc=function(e,t,n){this.userId=e,this.lastAcknowledgedBatchId=t,this.lastStreamToken=n};zc.store="mutationQueues",zc.keyPath="userId";var Gc=function(e,t,n,i,r){this.userId=e,this.batchId=t,this.localWriteTimeMs=n,this.baseMutations=i,this.mutations=r};Gc.store="mutations",Gc.keyPath="batchId",Gc.userMutationsIndex="userMutationsIndex",Gc.userMutationsKeyPath=["userId","batchId"];var qc=function(){function e(){}return e.prefixForUser=function(e){return[e]},e.prefixForPath=function(e,t){return[e,Lc(t)]},e.key=function(e,t,n){return[e,Lc(t),n]},e}();qc.store="documentMutations",qc.PLACEHOLDER=new qc;var Wc=function(e,t){this.path=e,this.readTime=t},Kc=function(e,t){this.path=e,this.version=t},Xc=function(e,t,n,i,r,o){this.unknownDocument=e,this.noDocument=t,this.document=n,this.hasCommittedMutations=i,this.readTime=r,this.parentPath=o};Xc.store="remoteDocuments",Xc.readTimeIndex="readTimeIndex",Xc.readTimeIndexPath="readTime",Xc.collectionReadTimeIndex="collectionReadTimeIndex",Xc.
1collectionReadTimeIndexPath=["parentPath","readTime"];var $c=function(e){this.byteSize=e};$c.store="remoteDocumentGlobal",$c.key="remoteDocumentGlobalKey";var Qc=function(e,t,n,i,r,o,s){this.targetId=e,this.canonicalId=t,this.readTime=n,this.resumeToken=i,this.lastListenSequenceNumber=r,this.lastLimboFreeSnapshotVersion=o,this.query=s};Qc.store="targets",Qc.keyPath="targetId",Qc.queryTargetsIndexName="queryTargetsIndex",Qc.queryTargetsKeyPath=["canonicalId","targetId"];var Yc=function(e,t,n){this.targetId=e,this.path=t,this.sequenceNumber=n};Yc.store="targetDocuments",Yc.keyPath=["targetId","path"],Yc.documentTargetsIndex="documentTargetsIndex",Yc.documentTargetsKeyPath=["path","targetId"];var Zc=function(e,t,n,i){this.highestTargetId=e,this.highestListenSequenceNumber=t,this.lastRemoteSnapshotVersion=n,this.targetCount=i};Zc.key="targetGlobalKey",Zc.store="targetGlobal";var Jc=function(e,t){this.collectionId=e,this.parent=t};Jc.store="collectionParents",Jc.keyPath=["collectionId","parent"];var eu=function(e,t,n,i){this.clientId=e,this.updateTimeMs=t,this.networkEnabled=n,this.inForeground=i};eu.store="clientMetadata",eu.keyPath="clientId";var tu=function(e,t,n){this.bundleId=e,this.createTime=t,this.version=n};tu.store="bundles",tu.keyPath="bundleId";var nu=function(e,t,n){this.name=e,this.readTime=t,this.bundledQuery=n};nu.store="namedQueries",nu.keyPath="name";var iu=Object(sn.f)(Object(sn.f)([],Object(sn.f)(Object(sn.f)([],Object(sn.f)(Object(sn.f)([],Object(sn.f)(Object(sn.f)([],[zc.store,Gc.store,qc.store,Xc.store,Qc.store,Hc.store,Zc.store,Yc.store]),[eu.store])),[$c.store])),[Jc.store])),[tu.store,nu.store]),ru="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.",ou=function(){function e(){this.onCommittedListeners=[]}return e.prototype.addOnCommittedListener=function(e){this.onCommittedListeners.push(e)},e.prototype.raiseOnCommittedEvent=function(){this.onCommittedListeners.forEach((function(e){return e()}))},e}(),su=function(){var e=this;this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))},au=function(){function e(e){var t=this;this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,e((function(e){t.isDone=!0,t.result=e,t.nextCallback&&t.nextCallback(e)}),(function(e){t.isDone=!0,t.error=e,t.catchCallback&&t.catchCallback(e)}))}return e.prototype.catch=function(e){return this.next(void 0,e)},e.prototype.next=function(t,n){var i=this;return this.callbackAttached&&Ss(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(n,this.error):this.wrapSuccess(t,this.result):new e((function(e,r){i.nextCallback=function(n){i.wrapSuccess(t,n).next(e,r)},i.catchCallback=function(t){i.wrapFailure(n,t).next(e,r)}}))},e.prototype.toPromise=function(){var e=this;return new Promise((function(t,n){e.next(t,n)}))},e.prototype.wrapUserFunction=function(t){try{var n=t();return n instanceof e?n:e.resolve(n)}catch(t){return e.reject(t)}},e.prototype.wrapSuccess=function(t,n){return t?this.wrapUserFunction((function(){return t(n)})):e.resolve(n)},e.prototype.wrapFailure=function(t,n){return t?this.wrapUserFunction((function(){return t(n)})):e.reject(n)},e.resolve=function(t){return new e((function(e,n){e(t)}))}
1,e.reject=function(t){return new e((function(e,n){n(t)}))},e.waitFor=function(t){return new e((function(e,n){var i=0,r=0,o=!1;t.forEach((function(t){++i,t.next((function(){++r,o&&r===i&&e()}),(function(e){return n(e)}))})),o=!0,r===i&&e()}))},e.or=function(t){for(var n=e.resolve(!1),i=function(t){n=n.next((function(n){return n?e.resolve(n):t()}))},r=0,o=t;r<o.length;r++)i(o[r]);return n},e.forEach=function(e,t){var n=this,i=[];return e.forEach((function(e,r){i.push(t.call(n,e,r))})),this.waitFor(i)},e}(),lu=function(){function e(e,t){var n=this;this.action=e,this.transaction=t,this.aborted=!1,this.ft=new su,this.transaction.oncomplete=function(){n.ft.resolve()},this.transaction.onabort=function(){t.error?n.ft.reject(new hu(e,t.error)):n.ft.resolve()},this.transaction.onerror=function(t){var i=gu(t.target.error);n.ft.reject(new hu(e,i))}}return e.open=function(t,n,i,r){try{return new e(n,t.transaction(r,i))}catch(t){throw new hu(n,t)}},Object.defineProperty(e.prototype,"dt",{get:function(){return this.ft.promise},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){e&&this.ft.reject(e),this.aborted||(ys("SimpleDb","Aborting transaction:",e?e.message:"Client-initiated abort"),this.aborted=!0,this.transaction.abort())},e.prototype.store=function(e){var t=this.transaction.objectStore(e);return new pu(t)},e}(),cu=function(){function e(t,n,i){this.name=t,this.version=n,this.wt=i,12.2===e._t(Object(an.l)())&&ws("Firestore persistence suffers from a bug in iOS 12.2 Safari that may cause your app to stop working. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.")}return e.delete=function(e){return ys("SimpleDb","Removing database:",e),fu(window.indexedDB.deleteDatabase(e)).toPromise()},e.yt=function(){if("undefined"==typeof indexedDB)return!1;if(e.gt())return!0;var t=Object(an.l)(),n=e._t(t),i=0<n&&n<10,r=e.Et(t),o=0<r&&r<4.5;return!(t.indexOf("MSIE ")>0||t.indexOf("Trident/")>0||t.indexOf("Edge/")>0||i||o)},e.gt=function(){var e;return"undefined"!=typeof process&&"YES"===(null===(e=process.env)||void 0===e?void 0:e.Tt)},e.It=function(e,t){return e.store(t)},e._t=function(e){var t=e.match(/i(?:phone|pad|pod) os ([\d_]+)/i),n=t?t[1].split("_").slice(0,2).join("."):"-1";return Number(n)},e.Et=function(e){var t=e.match(/Android ([\d.]+)/i),n=t?t[1].split(".").slice(0,2).join("."):"-1";return Number(n)},e.prototype.At=function(e){return Object(sn.b)(this,void 0,void 0,(function(){var t,n=this;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return this.db?[3,2]:(ys("SimpleDb","Opening database:",this.name),t=this,[4,new Promise((function(t,i){var r=indexedDB.open(n.name,n.version);r.onsuccess=function(e){t(e.target.result)},r.onblocked=function(){i(new hu(e,"Cannot upgrade IndexedDB schema while another tab is open. Close all tabs that access Firestore and reload this page to proceed."))},r.onerror=function(t){var n=t.target.error;i("VersionError"===n.name?new bs(gs.FAILED_PRECONDITION,"A newer version of the Firestore SDK was previously used and so the persisted data is not compatible with the version of the SDK you are now using. The SDK will operate with persistence disabled. If you need persistence, please re-upgrade to a newer version of the SDK or else clear the persisted IndexedDB data for your app to start fresh."):new hu(e,n))},r.onupgradeneeded=function(e){ys("SimpleDb",'Database "'+n.name+'" requires upgrade from version:',e.oldVersion),n.wt.Rt(e.target.result,r.transaction,e.oldVersion,n.version).next((function(){ys("SimpleDb","Database upgrade to version "+n.version+" complete")}))}}))]);case 1:t.db=i.sent(),i.label=2;case 2:return[2,(this.bt&&(this.db.onversionchange=function(e){return n.bt(e)}),this.db)]}}))}))},e.prototype.vt=function(e){this.bt=e,this.db&&(this.db.onversionchange=function(t){return e(t)})},e.prototype.runTransaction=function(e,t,n,i){return Object(sn.b)(this,void 0,void 0,(function(){var r,o,s,a,l;return Object(sn.d)(this,(function(c){switch(c.label){case 0:r="readonly"===t,o=0,s=function(){var t,s,l,c,u;return Object(sn.d)(this,(function(h){switch(h.label){case 0:++o,h.label=1;case 1:return h.trys.push([1,4,,5]),[4,a.At(e)];case 2:return a.db=h.sent(),t=lu.open(a.db,e,r?"readonly":"readwrite",n),s=i(t).catch((function(e){return t.abort(e),au.reject(e)})).toPromise(),l={},s.catch((function(){})),[4,t.dt];case 3:return[2,(l.value=(h.sent(),s),l)];case 4:return ys("SimpleDb","Transaction failed with error:",(c=h.sent()).message,"Retrying:",u="FirebaseError"!==c.name&&o<3),a.close(),u?[3,5]:[2,{value:Promise.reject(c)}];case 5:return[2]}}
1))},a=this,c.label=1;case 1:return[5,s()];case 2:if("object"==typeof(l=c.sent()))return[2,l.value];c.label=3;case 3:return[3,1];case 4:return[2]}}))}))},e.prototype.close=function(){this.db&&this.db.close(),this.db=void 0},e}(),uu=function(){function e(e){this.Pt=e,this.Vt=!1,this.St=null}return Object.defineProperty(e.prototype,"isDone",{get:function(){return this.Vt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Dt",{get:function(){return this.St},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursor",{set:function(e){this.Pt=e},enumerable:!1,configurable:!0}),e.prototype.done=function(){this.Vt=!0},e.prototype.Ct=function(e){this.St=e},e.prototype.delete=function(){return fu(this.Pt.delete())},e}(),hu=function(e){function t(t,n){var i=this;return(i=e.call(this,gs.UNAVAILABLE,"IndexedDB transaction '"+t+"' failed: "+n)||this).name="IndexedDbTransactionError",i}return Object(sn.c)(t,e),t}(bs);function du(e){return"IndexedDbTransactionError"===e.name}var pu=function(){function e(e){this.store=e}return e.prototype.put=function(e,t){var n;return void 0!==t?(ys("SimpleDb","PUT",this.store.name,e,t),n=this.store.put(t,e)):(ys("SimpleDb","PUT",this.store.name,"<auto-key>",e),n=this.store.put(e)),fu(n)},e.prototype.add=function(e){return ys("SimpleDb","ADD",this.store.name,e,e),fu(this.store.add(e))},e.prototype.get=function(e){var t=this;return fu(this.store.get(e)).next((function(n){return void 0===n&&(n=null),ys("SimpleDb","GET",t.store.name,e,n),n}))},e.prototype.delete=function(e){return ys("SimpleDb","DELETE",this.store.name,e),fu(this.store.delete(e))},e.prototype.count=function(){return ys("SimpleDb","COUNT",this.store.name),fu(this.store.count())},e.prototype.Nt=function(e,t){var n=this.cursor(this.options(e,t)),i=[];return this.xt(n,(function(e,t){i.push(t)})).next((function(){return i}))},e.prototype.kt=function(e,t){ys("SimpleDb","DELETE ALL",this.store.name);var n=this.options(e,t);n.Ft=!1;var i=this.cursor(n);return this.xt(i,(function(e,t,n){return n.delete()}))},e.prototype.$t=function(e,t){var n;t?n=e:(n={},t=e);var i=this.cursor(n);return this.xt(i,t)},e.prototype.Ot=function(e){var t=this.cursor({});return new au((function(n,i){t.onerror=function(e){var t=gu(e.target.error);i(t)},t.onsuccess=function(t){var i=t.target.result;i?e(i.primaryKey,i.value).next((function(e){e?i.continue():n()})):n()}}))},e.prototype.xt=function(e,t){var n=[];return new au((function(i,r){e.onerror=function(e){r(e.target.error)},e.onsuccess=function(e){var r=e.target.result;if(r){var o=new uu(r),s=t(r.primaryKey,r.value,o);if(s instanceof au){var a=s.catch((function(e){return o.done(),au.reject(e)}));n.push(a)}o.isDone?i():null===o.Dt?r.continue():r.continue(o.Dt)}else i()}})).next((function(){return au.waitFor(n)}))},e.prototype.options=function(e,t){var n;return void 0!==e&&("string"==typeof e?n=e:t=e),{index:n,range:t}},e.prototype.cursor=function(e){var t="next";if(e.reverse&&(t="prev"),e.index){var n=this.store.index(e.index);return e.Ft?n.openKeyCursor(e.range,t):n.openCursor(e.range,t)}return this.store.openCursor(e.range,t)},e}();function fu(e){return new au((function(t,n){e.onsuccess=function(e){t(e.target.result)},e.onerror=function(e){var t=gu(e.target.error);n(t)}}))}var mu=!1;function gu(e){var t=cu._t(Object(an.l)());if(t>=12.2&&t<13){var n="An internal error was encountered in the Indexed Database server";if(e.message.indexOf(n)>=0){var i=new bs("internal","IOS_INDEXEDDB_BUG1: IndexedDb has thrown '"+n+"'. This is likely due to an unavoidable bug in iOS. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.");return mu||(mu=!0,setTimeout((function(){throw i}),0)),i}}return e}var bu=function(e){function t(t,n){var i=this;return(i=e.call(this)||this).Mt=t,i.currentSequenceNumber=n,i}return Object(sn.c)(t,e),t}(ou);function _u(e,t){var n=ks(e);return cu.It(n.Mt,t)}var vu=function(){function e(e,t,n,i){this.batchId=e,this.localWriteTime=t,this.baseMutations=n,this.mutations=i}return e.prototype.applyToRemoteDocument=function(e,t){for(var n=t.mutationResults,i=0;i<this.mutations.length;i++){var r=this.mutations[i];r.key.isEqual(e.key)&&_l(r,e,n[i])}},e.prototype.applyToLocalView=function(e){for(var t=0,n=this.baseMutations;t<n.length;t++)(o=n[t]).key.isEqual(e.key)&&vl(o,e,this.localWriteTime);for(var i=0,r=this.mutations;i<r.length;i++){var o;(o=r[i]).key.isEqual(e.key)&&vl(o,e,this.localWriteTime)}},e.prototype.applyToLocalDocumentSet=function(e){var t=this;this.mutations.forEach((function(n){var i=e.get(n.key),r=i;t.applyToLocalView(r),i.isValidDocument()||r.convertToNoDocument(Ds.min())}))},e.prototype.keys=function(){return this.mutations.reduce((function(e,t){return e.add(t.key)}),Kl())},e.prototype.isEqual=function(e){return this.batchId===e.batchId&&Ts(this.mutations,e.mutations,(function(e,t){return wl(e,t)}))&&Ts(this.baseMutations,e.baseMutations,(function(e,t){return wl(e,t)}))},e}(),yu=function(){function e(e,t,n,i){this.batch=e,this.commitVersion=t,this.mutationResults=n,this.docVersions=i}return e.from=function(t,n,i){Os(t.mutations.length===i.length);for(var r=ql(),o=t.mutations,s=0;s<o.length;s++)r=r.insert(o[s].key,i[s].version);return new e(t,n,i,r)},e}(),wu=function(){function e(e,t,n,i,r,o,s){void 0===r&&(r=Ds.min()),void 0===o&&(o=Ds.min()),void 0===s&&(s=Hs.EMPTY_BYTE_STRING),this.target=e,this.targetId=t,this.purpose=n,this.sequenceNumber=i,this.snapshotVersion=r,this.lastLimboFreeSnapshotVersion=o,this.resumeToken=s}return e.prototype.withSequenceNumber=function(t){return new e(this.target,this.targetId,this.purpose,t,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken)},e.prototype.withResumeToken=function(t,n){return new e(this.target,this.targetId,this.purpose,this.sequenceNumber,n,this.lastLimboFreeSnapshotVersion,t)},e.prototype.withLastLimboFreeSnapshotVersion=function(t){return new e(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,t,this.resumeToken)},e}(),Cu=function(e){this.Lt=e};function xu(e,t){if(t.document)return wc(e.Lt,t.document,!!t.hasCommittedMutations);if(t.noDocument){var n=Zs.fromSegments(t.noDocument.path),i=Pu(t.noDocument.readTime),r=fa.newNoDocument(n,i);return t.hasCommittedMutations?r.setHasCommittedMutations():r}if(t.unknownDocument){var o=Zs.fromSegments(t.unknownDocument.path);return i=Pu(t.unknownDocument.version),fa.newUnknownDocument(o,i)}return Ss()}function Su(e,t,n){var i=Ou(n),r=t.key.path.popLast().toArray();if(t.isFoundDocument()){var o=function(e,t){return{name:fc(e,t.key),fields:t.data.value.mapValue.fields,updateTime:lc(e,t.version.toTimestamp())}}(e.Lt,t),s=t.hasCommittedMutations;return new Xc(null,null,o,s,i,r)}if(t.isNoDocument()){var a=t.key.path.toArray(),l=Eu(t.version);return s=t.hasCommittedMutations,new Xc(null,new Wc(a,l),null,s,i,r)}if(t.isUnknownDocument()){var c=t.key.path.toArray(),u=Eu(t.version);
1return new Xc(new Kc(c,u),null,null,!0,i,r)}return Ss()}function Ou(e){var t=e.toTimestamp();return[t.seconds,t.nanoseconds]}function ku(e){var t=new As(e[0],e[1]);return Ds.fromTimestamp(t)}function Eu(e){var t=e.toTimestamp();return new Uc(t.seconds,t.nanoseconds)}function Pu(e){var t=new As(e.seconds,e.nanoseconds);return Ds.fromTimestamp(t)}function Iu(e,t){for(var n=(t.baseMutations||[]).map((function(t){return xc(e.Lt,t)})),i=0;i<t.mutations.length-1;++i)i+1<t.mutations.length&&void 0!==t.mutations[i+1].transform&&(t.mutations[i].updateTransforms=t.mutations[i+1].transform.fieldTransforms,t.mutations.splice(i+1,1),++i);var r=t.mutations.map((function(t){return xc(e.Lt,t)})),o=As.fromMillis(t.localWriteTimeMs);return new vu(t.batchId,o,n,r)}function Tu(e){var t,n,i=Pu(e.readTime),r=void 0!==e.lastLimboFreeSnapshotVersion?Pu(e.lastLimboFreeSnapshotVersion):Ds.min();return void 0!==e.query.documents?(Os(1===(n=e.query).documents.length),t=Ga(La(bc(n.documents[0])))):t=function(e){return Ga(kc(e))}(e.query),new wu(t,e.targetId,0,e.lastListenSequenceNumber,i,r,Hs.fromBase64String(e.resumeToken))}function Mu(e,t){var n,i=Eu(t.snapshotVersion),r=Eu(t.lastLimboFreeSnapshotVersion);n=va(t.target)?Sc(e.Lt,t.target):Oc(e.Lt,t.target);var o=t.resumeToken.toBase64();return new Qc(t.targetId,ba(t.target),i,o,t.sequenceNumber,r,n)}function Au(e){var t=kc({parent:e.parent,structuredQuery:e.structuredQuery});return"LAST"===e.limitType?qa(t,t.limit,"L"):t}var Du=function(){function e(){}return e.prototype.getBundleMetadata=function(e,t){return ju(e).get(t).next((function(e){if(e)return{id:(t=e).bundleId,createTime:Pu(t.createTime),version:t.version};var t}))},e.prototype.saveBundleMetadata=function(e,t){return ju(e).put({bundleId:(n=t).id,createTime:Eu(hc(n.createTime)),version:n.version});var n},e.prototype.getNamedQuery=function(e,t){return Nu(e).get(t).next((function(e){if(e)return{name:(t=e).name,query:Au(t.bundledQuery),readTime:Pu(t.readTime)};var t}))},e.prototype.saveNamedQuery=function(e,t){return Nu(e).put(function(e){return{name:e.name,readTime:Eu(hc(e.readTime)),bundledQuery:e.bundledQuery}}(t))},e}();function ju(e){return _u(e,tu.store)}function Nu(e){return _u(e,nu.store)}var Ru=function(){function e(){this.Bt=new Lu}return e.prototype.addToCollectionParentIndex=function(e,t){return this.Bt.add(t),au.resolve()},e.prototype.getCollectionParents=function(e,t){return au.resolve(this.Bt.getEntries(t))},e}(),Lu=function(){function e(){this.index={}}return e.prototype.add=function(e){var t=e.lastSegment(),n=e.popLast(),i=this.index[t]||new Fl(Fs.comparator),r=!i.has(n);return this.index[t]=i.add(n),r},e.prototype.has=function(e){var t=e.lastSegment(),n=e.popLast(),i=this.index[t];return i&&i.has(n)},e.prototype.getEntries=function(e){return(this.index[e]||new Fl(Fs.comparator)).toArray()},e}(),Fu=function(){function e(){this.qt=new Lu}return e.prototype.addToCollectionParentIndex=function(e,t){var n=this;if(!this.qt.has(t)){var i=t.lastSegment(),r=t.popLast();e.addOnCommittedListener((function(){n.qt.add(t)}));var o={collectionId:i,parent:Lc(r)};return Vu(e).put(o)}return au.resolve()},e.prototype.getCollectionParents=function(e,t){var n=[],i=IDBKeyRange.bound([t,""],[Ms(t),""],!1,!0);return Vu(e).Nt(i).next((function(e){for(var i=0,r=e;i<r.length;i++){var o=r[i];if(o.collectionId!==t)break;n.push(Bc(o.parent))}return n}))},e}();function Vu(e){return _u(e,Jc.store)}var Bu={didRun:!1,sequenceNumbersCollected:0,targetsRemoved:0,documentsRemoved:0},Uu=function(){function e(e,t,n){this.cacheSizeCollectionThreshold=e,this.percentileToCollect=t,this.maximumSequenceNumbersToCollect=n}return e.withCacheSize=function(t){return new e(t,e.DEFAULT_COLLECTION_PERCENTILE,e.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)},e}();function Hu(e,t,n){var i=e.store(Gc.store),r=e.store(qc.store),o=[],s=IDBKeyRange.only(n.batchId),a=0,l=i.$t({range:s},(function(e,t,n){return a++,n.delete()}));o.push(l.next((function(){Os(1===a)})));for(var c=[],u=0,h=n.mutations;u<h.length;u++){var d=h[u],p=qc.key(t,d.key.path,n.batchId);o.push(r.delete(p)),c.push(d.key)}return au.waitFor(o).next((function(){return c}))}function zu(e){if(!e)return 0;var t;if(e.document)t=e.document;else if(e.unknownDocument)t=e.unknownDocument;else{if(!e.noDocument)throw Ss();t=e.noDocument}return JSON.stringify(t).length}
1Uu.DEFAULT_COLLECTION_PERCENTILE=10,Uu.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,Uu.DEFAULT=new Uu(41943040,Uu.DEFAULT_COLLECTION_PERCENTILE,Uu.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),Uu.DISABLED=new Uu(-1,0,0);var Gu=function(){function e(e,t,n,i){this.userId=e,this.R=t,this.Ut=n,this.referenceDelegate=i,this.Kt={}}return e.Qt=function(t,n,i,r){return Os(""!==t.uid),new e(t.isAuthenticated()?t.uid:"",n,i,r)},e.prototype.checkEmpty=function(e){var t=!0,n=IDBKeyRange.bound([this.userId,Number.NEGATIVE_INFINITY],[this.userId,Number.POSITIVE_INFINITY]);return Wu(e).$t({index:Gc.userMutationsIndex,range:n},(function(e,n,i){t=!1,i.done()})).next((function(){return t}))},e.prototype.addMutationBatch=function(e,t,n,i){var r=this,o=Ku(e),s=Wu(e);return s.add({}).next((function(a){Os("number"==typeof a);for(var l=new vu(a,t,n,i),c=function(e,t,n){var i=n.baseMutations.map((function(t){return Cc(e.Lt,t)})),r=n.mutations.map((function(t){return Cc(e.Lt,t)}));return new Gc(t,n.batchId,n.localWriteTime.toMillis(),i,r)}(r.R,r.userId,l),u=[],h=new Fl((function(e,t){return Is(e.canonicalString(),t.canonicalString())})),d=0,p=i;d<p.length;d++){var f=p[d],m=qc.key(r.userId,f.key.path,a);h=h.add(f.key.path.popLast()),u.push(s.put(c)),u.push(o.put(m,qc.PLACEHOLDER))}return h.forEach((function(t){u.push(r.Ut.addToCollectionParentIndex(e,t))})),e.addOnCommittedListener((function(){r.Kt[a]=l.keys()})),au.waitFor(u).next((function(){return l}))}))},e.prototype.lookupMutationBatch=function(e,t){var n=this;return Wu(e).get(t).next((function(e){return e?(Os(e.userId===n.userId),Iu(n.R,e)):null}))},e.prototype.jt=function(e,t){var n=this;return this.Kt[t]?au.resolve(this.Kt[t]):this.lookupMutationBatch(e,t).next((function(e){if(e){var i=e.keys();return n.Kt[t]=i,i}return null}))},e.prototype.getNextMutationBatchAfterBatchId=function(e,t){var n=this,i=t
1+1,r=IDBKeyRange.lowerBound([this.userId,i]),o=null;return Wu(e).$t({index:Gc.userMutationsIndex,range:r},(function(e,t,r){t.userId===n.userId&&(Os(t.batchId>=i),o=Iu(n.R,t)),r.done()})).next((function(){return o}))},e.prototype.getHighestUnacknowledgedBatchId=function(e){var t=IDBKeyRange.upperBound([this.userId,Number.POSITIVE_INFINITY]),n=-1;return Wu(e).$t({index:Gc.userMutationsIndex,range:t,reverse:!0},(function(e,t,i){n=t.batchId,i.done()})).next((function(){return n}))},e.prototype.getAllMutationBatches=function(e){var t=this,n=IDBKeyRange.bound([this.userId,-1],[this.userId,Number.POSITIVE_INFINITY]);return Wu(e).Nt(Gc.userMutationsIndex,n).next((function(e){return e.map((function(e){return Iu(t.R,e)}))}))},e.prototype.getAllMutationBatchesAffectingDocumentKey=function(e,t){var n=this,i=qc.prefixForPath(this.userId,t.path),r=IDBKeyRange.lowerBound(i),o=[];return Ku(e).$t({range:r},(function(i,r,s){var a=i[0],l=i[2],c=Bc(i[1]);if(a===n.userId&&t.path.isEqual(c))return Wu(e).get(l).next((function(e){if(!e)throw Ss();Os(e.userId===n.userId),o.push(Iu(n.R,e))}));s.done()})).next((function(){return o}))},e.prototype.getAllMutationBatchesAffectingDocumentKeys=function(e,t){var n=this,i=new Fl(Is),r=[];return t.forEach((function(t){var o=qc.prefixForPath(n.userId,t.path),s=IDBKeyRange.lowerBound(o),a=Ku(e).$t({range:s},(function(e,r,o){var s=e[0],a=e[2],l=Bc(e[1]);s===n.userId&&t.path.isEqual(l)?i=i.add(a):o.done()}));r.push(a)})),au.waitFor(r).next((function(){return n.Wt(e,i)}))},e.prototype.getAllMutationBatchesAffectingQuery=function(e,t){var n=this,i=t.path,r=i.length+1,o=qc.prefixForPath(this.userId,i),s=IDBKeyRange.lowerBound(o),a=new Fl(Is);return Ku(e).$t({range:s},(function(e,t,o){var s=e[0],l=e[2],c=Bc(e[1]);s===n.userId&&i.isPrefixOf(c)?c.length===r&&(a=a.add(l)):o.done()})).next((function(){return n.Wt(e,a)}))},e.prototype.Wt=function(e,t){var n=this,i=[],r=[];return t.forEach((function(t){r.push(Wu(e).get(t).next((function(e){if(null===e)throw Ss();Os(e.userId===n.userId),i.push(Iu(n.R,e))})))})),au.waitFor(r).next((function(){return i}))},e.prototype.removeMutationBatch=function(e,t){var n=this;return Hu(e.Mt,this.userId,t).next((function(i){return e.addOnCommittedListener((function(){n.Gt(t.batchId)})),au.forEach(i,(function(t){return n.referenceDelegate.markPotentiallyOrphaned(e,t)}))}))},e.prototype.Gt=function(e){delete this.Kt[e]},e.prototype.performConsistencyCheck=function(e){var t=this;return this.checkEmpty(e).next((function(n){if(!n)return au.resolve();
1var i=IDBKeyRange.lowerBound(qc.prefixForUser(t.userId)),r=[];return Ku(e).$t({range:i},(function(e,n,i){if(e[0]===t.userId){var o=Bc(e[1]);r.push(o)}else i.done()})).next((function(){Os(0===r.length)}))}))},e.prototype.containsKey=function(e,t){return qu(e,this.userId,t)},e.prototype.zt=function(e){var t=this;return Xu(e).get(this.userId).next((function(e){return e||new zc(t.userId,-1,"")}))},e}();function qu(e,t,n){var i=qc.prefixForPath(t,n.path),r=i[1],o=IDBKeyRange.lowerBound(i),s=!1;return Ku(e).$t({range:o,Ft:!0},(function(e,n,i){e[0]===t&&e[1]===r&&(s=!0),i.done()})).next((function(){return s}))}function Wu(e){return _u(e,Gc.store)}function Ku(e){return _u(e,qc.store)}function Xu(e){return _u(e,zc.store)}var $u=function(){function e(e){this.Ht=e}return e.prototype.next=function(){return this.Ht+=2,this.Ht},e.Jt=function(){return new e(0)},e.Yt=function(){return new e(-1)},e}(),Qu=function(){function e(e,t){this.referenceDelegate=e,this.R=t}return e.prototype.allocateTargetId=function(e){var t=this;return this.Xt(e).next((function(n){var i=new $u(n.highestTargetId);return n.highestTargetId=i.next(),t.Zt(e,n).next((function(){return n.highestTargetId}))}))},e.prototype.getLastRemoteSnapshotVersion=function(e){return this.Xt(e).next((function(e){return Ds.fromTimestamp(new As(e.lastRemoteSnapshotVersion.seconds,e.lastRemoteSnapshotVersion.nanoseconds))}))},e.prototype.getHighestSequenceNumber=function(e){return this.Xt(e).next((function(e){return e.highestListenSequenceNumber}))},e.prototype.setTargetsMetadata=function(e,t,n){var i=this;return this.Xt(e).next((function(r){return r.highestListenSequenceNumber=t,n&&(r.lastRemoteSnapshotVersion=n.toTimestamp()),t>r.highestListenSequenceNumber&&(r.highestListenSequenceNumber=t),i.Zt(e,r)}))},e.prototype.addTargetData=function(e,t){var n=this;return this.te(e,t).next((function(){return n.Xt(e).next((function(i){return i.targetCount+=1,n.ee(t,i),n.Zt(e,i)}))}))},e.prototype.updateTargetData=function(e,t){return this.te(e,t)},e.prototype.removeTargetData=function(e,t){var n=this;return this.removeMatchingKeysForTargetId(e,t.targetId).next((function(){return Yu(e).delete(t.targetId)})).next((function(){return n.Xt(e)})).next((function(t){return Os(t.targetCount>0),t.targetCount-=1,n.Zt(e,t)}))},e.prototype.removeTargets=function(e,t,n){var i=this,r=0,o=[];return Yu(e).$t((function(s,a){var l=Tu(a);l.sequenceNumber<=t&&null===n.get(l.targetId)&&(r++,o.push(i.removeTargetData(e,l)))})).next((function(){return au.waitFor(o)})).next((function(){return r}))},e.prototype.forEachTarget=function(e,t){return Yu(e).$t((function(e,n){var i=Tu(n);t(i)}))},e.prototype.Xt=function(e){return Zu(e).get(Zc.key).next((function(e){return Os(null!==e),e}))},e.prototype.Zt=function(e,t){return Zu(e).put(Zc.key,t)},e.prototype.te=function(e,t){return Yu(e).put(Mu(this.R,t))},e.prototype.ee=function(e,t){var n=!1;return e.targetId>t.highestTargetId&&(t.highestTargetId=e.targetId,n=!0),e.sequenceNumber>t.highestListenSequenceNumber&&(t.highestListenSequenceNumber=e.sequenceNumber,n=!0),n},e.prototype.getTargetCount=function(e){return this.Xt(e).next((function(e){return e.targetCount}))},e.prototype.getTargetData=function(e,t){var n=ba(t),i=IDBKeyRange.bound([n,Number.NEGATIVE_INFINITY],[n,Number.POSITIVE_INFINITY]),r=null;return Yu(e).$t({range:i,index:Qc.queryTargetsIndexName},(function(e,n,i){var o=Tu(n);_a(t,o.target)&&(r=o,i.done())})).next((function(){return r}))},e.prototype.addMatchingKeys=function(e,t,n){var i=this,r=[],o=Ju(e);return t.forEach((function(t){var s=Lc(t.path);r.push(o.put(new Yc(n,s))),r.push(i.referenceDelegate.addReference(e,n,t))})),au.waitFor(r)},e.prototype.removeMatchingKeys=function(e,t,n){var i=this,r=Ju(e);return au.forEach(t,(function(t){var o=Lc(t.path);return au.waitFor([r.delete([n,o]),i.referenceDelegate.removeReference(e,n,t)])}))},e.prototype.removeMatchingKeysForTargetId=function(e,t){var n=Ju(e),i=IDBKeyRange.bound([t],[t+1],!1,!0);return n.delete(i)},e.prototype.getMatchingKeysForTargetId=function(e,t){var n=IDBKeyRange.bound([t],[t+1],!1,!0),i=Ju(e),r=Kl();return i.$t({range:n,Ft:!0},(function(e,t,n){var i=Bc(e[1]),o=new Zs(i);r=r.add(o)})).next((function(){return r}))},e.prototype.containsKey=function(e,t){var n=Lc(t.path),i=IDBKeyRange.bound([n],[Ms(n)],!1,!0),r=0;return Ju(e).$t({index:Yc.documentTargetsIndex,Ft:!0,range:i},(function(e,t,n){0!==e[0]&&(r++,n.done())})).next((function(){return r>0}))},e.prototype.lt=function(e,t){return Yu(e).get(t).next((function(e){return e?Tu(e):null}))},e}();function Yu(e){return _u(e,Qc.store)}function Zu(e){return _u(e,Zc.store)}function Ju(e){return _u(e,Yc.store)}function eh(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){if(e.code!==gs.FAILED_PRECONDITION||e.message!==ru)throw e;return ys("LocalStore","Unexpectedly lost primary lease"),[2]}))}
1))}function th(e,t){var n=e[1],i=t[1],r=Is(e[0],t[0]);return 0===r?Is(n,i):r}var nh=function(){function e(e){this.ne=e,this.buffer=new Fl(th),this.se=0}return e.prototype.ie=function(){return++this.se},e.prototype.re=function(e){var t=[e,this.ie()];if(this.buffer.size<this.ne)this.buffer=this.buffer.add(t);else{var n=this.buffer.last();th(t,n)<0&&(this.buffer=this.buffer.delete(n).add(t))}},Object.defineProperty(e.prototype,"maxValue",{get:function(){return this.buffer.last()[0]},enumerable:!1,configurable:!0}),e}(),ih=function(){function e(e,t){this.garbageCollector=e,this.asyncQueue=t,this.oe=!1,this.ce=null}return e.prototype.start=function(e){-1!==this.garbageCollector.params.cacheSizeCollectionThreshold&&this.ue(e)},e.prototype.stop=function(){this.ce&&(this.ce.cancel(),this.ce=null)},Object.defineProperty(e.prototype,"started",{get:function(){return null!==this.ce},enumerable:!1,configurable:!0}),e.prototype.ue=function(e){var t=this,n=this.oe?3e5:6e4;ys("LruGarbageCollector","Garbage collection scheduled in "+n+"ms"),this.ce=this.asyncQueue.enqueueAfterDelay("lru_garbage_collection",n,(function(){return Object(sn.b)(t,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:this.ce=null,this.oe=!0,n.label=1;case 1:return n.trys.push([1,3,,7]),[4,e.collectGarbage(this.garbageCollector)];case 2:return n.sent(),[3,7];case 3:return du(t=n.sent())?(ys("LruGarbageCollector","Ignoring IndexedDB error during garbage collection: ",t),[3,6]):[3,4];case 4:return[4,eh(t)];case 5:n.sent(),n.label=6;case 6:return[3,7];case 7:return[4,this.ue(e)];case 8:return n.sent(),[2]}}))}))}))},e}(),rh=function(){function e(e,t){this.ae=e,this.params=t}return e.prototype.calculateTargetCount=function(e,t){return this.ae.he(e).next((function(e){return Math.floor(t/100*e)}))},e.prototype.nthSequenceNumber=function(e,t){var n=this;if(0===t)return au.resolve(ms.o);var i=new nh(t);return this.ae.forEachTarget(e,(function(e){return i.re(e.sequenceNumber)})).next((function(){return n.ae.le(e,(function(e){return i.re(e)}))})).next((function(){return i.maxValue}))},e.prototype.removeTargets=function(e,t,n){return this.ae.removeTargets(e,t,n)},e.prototype.removeOrphanedDocuments=function(e,t){return this.ae.removeOrphanedDocuments(e,t)},e.prototype.collect=function(e,t){var n=this;return-1===this.params.cacheSizeCollectionThreshold?(ys("LruGarbageCollector","Garbage collection skipped; disabled"),au.resolve(Bu)):this.getCacheSize(e).next((function(i){return i<n.params.cacheSizeCollectionThreshold?(ys("LruGarbageCollector","Garbage collection skipped; Cache size "+i+" is lower than threshold "+n.params.cacheSizeCollectionThreshold),Bu):n.fe(e,t)}))},e.prototype.getCacheSize=function(e){return this.ae.getCacheSize(e)},e.prototype.fe=function(e,t){var n,i,r,o,s,a,l,c=this,u=Date.now();return this.calculateTargetCount(e,this.params.percentileToCollect).next((function(t){return t>c.params.maximumSequenceNumbersToCollect?(ys("LruGarbageCollector","Capping sequence numbers to collect down to the maximum of "+c.params.maximumSequenceNumbersToCollect+" from "+t),i=c.params.maximumSequenceNumbersToCollect):i=t,o=Date.now(),c.nthSequenceNumber(e,i)})).next((function(i){return n=i,s=Date.now(),c.removeTargets(e,n,t)})).next((function(t){return r=t,a=Date.now(),c.removeOrphanedDocuments(e,n)})).next((function(e){return l=Date.now(),vs()<=ln.a.DEBUG&&ys("LruGarbageCollector","LRU Garbage Collection\n\tCounted targets in "+(o-u)+"ms\n\tDetermined least recently used "+i+" in "+(s-o)+"ms\n\tRemoved "+r+" targets in "+(a-s)+"ms\n\tRemoved "+e+" documents in "+(l-a)+"ms\nTotal Duration: "+(l-u)+"ms"),au.resolve({didRun:!0,sequenceNumbersCollected:i,targetsRemoved:r,documentsRemoved:e})}))},e}(),oh=function(){function e(e,t){this.db=e,this.garbageCollector=function(e,t){return new rh(e,t)}(this,t)}return e.prototype.he=function(e){var t=this.de(e);return this.db.getTargetCache().getTargetCount(e).next((function(e){return t.next((function(t){return e+t}))}))},e.prototype.de=function(e){var t=0;return this.le(e,(function(e){t++})).next((function(){return t}))},e.prototype.forEachTarget=function(e,t){return this.db.getTargetCache().forEac
1hTarget(e,t)},e.prototype.le=function(e,t){return this.we(e,(function(e,n){return t(n)}))},e.prototype.addReference=function(e,t,n){return sh(e,n)},e.prototype.removeReference=function(e,t,n){return sh(e,n)},e.prototype.removeTargets=function(e,t,n){return this.db.getTargetCache().removeTargets(e,t,n)},e.prototype.markPotentiallyOrphaned=function(e,t){return sh(e,t)},e.prototype._e=function(e,t){return function(e,t){var n=!1;return Xu(e).Ot((function(i){return qu(e,i,t).next((function(e){return e&&(n=!0),au.resolve(!e)}))})).next((function(){return n}))}(e,t)},e.prototype.removeOrphanedDocuments=function(e,t){var n=this,i=this.db.getRemoteDocumentCache().newChangeBuffer(),r=[],o=0;return this.we(e,(function(s,a){if(a<=t){var l=n._e(e,s).next((function(t){if(!t)return o++,i.getEntry(e,s).next((function(){return i.removeEntry(s),Ju(e).delete([0,Lc(s.path)])}))}));r.push(l)}})).next((function(){return au.waitFor(r)})).next((function(){return i.apply(e)})).next((function(){return o}))},e.prototype.removeTarget=function(e,t){var n=t.withSequenceNumber(e.currentSequenceNumber);return this.db.getTargetCache().updateTargetData(e,n)},e.prototype.updateLimboDocument=function(e,t){return sh(e,t)},e.prototype.we=function(e,t){var n,i=Ju(e),r=ms.o;return i.$t({index:Yc.documentTargetsIndex},(function(e,i){var o=i.path,s=i.sequenceNumber;0===e[0]?(r!==ms.o&&t(new Zs(Bc(n)),r),r=s,n=o):r=ms.o})).next((function(){r!==ms.o&&t(new Zs(Bc(n)),r)}))},e.prototype.getCacheSize=function(e){return this.db.getRemoteDocumentCache().getSize(e)},e}();function sh(e,t){return Ju(e).put(function(e,t){return new Yc(0,Lc(e.path),t)}(t,e.currentSequenceNumber))}var ah=function(){function e(e,t){this.mapKeyFn=e,this.equalsFn=t,this.inner={}}return e.prototype.get=function(e){var t=this.mapKeyFn(e),n=this.inner[t];if(void 0!==n)for(var i=0,r=n;i<r.length;i++){var o=r[i],s=o[1];if(this.equalsFn(o[0],e))return s}},e.prototype.has=function(e){return void 0!==this.get(e)},e.prototype.set=function(e,t){var n=this.mapKeyFn(e),i=this.inner[n];if(void 0!==i){for(var r=0;r<i.length;r++)if(this.equalsFn(i[r][0],e))return void(i[r]=[e,t]);i.push([e,t])}else this.inner[n]=[[e,t]]},e.prototype.delete=function(e){var t=this.mapKeyFn(e),n=this.inner[t];if(void 0===n)return!1;for(var i=0;i<n.length;i++)if(this.equalsFn(n[i][0],e))return 1===n.length?delete this.inner[t]:n.splice(i,1),!0;return!1},e.prototype.forEach=function(e){Ns(this.inner,(function(t,n){for(var i=0,r=n;i<r.length;i++){var o=r[i];e(o[0],o[1])}}))},e.prototype.isEmpty=function(){return Rs(this.inner)},e}(),lh=function(){function e(){this.changes=new ah((function(e){return e.toString()}),(function(e,t){return e.isEqual(t)})),this.changesApplied=!1}return e.prototype.getReadTime=function(e){var t=this.changes.get(e);return t?t.readTime:Ds.min()},e.prototype.addEntry=function(e,t){this.assertNotApplied(),this.changes.set(e.key,{document:e,readTime:t})},e.prototype.removeEntry=function(e,t){void 0===t&&(t=null),this.assertNotApplied(),this.changes.set(e,{document:fa.newInvalidDocument(e),readTime:t})},e.prototype.getEntry=function(e,t){this.assertNotApplied();var n=this.changes.get(t);return void 0!==n?au.resolve(n.document):this.getFromCache(e,t)},e.prototype.getEntries=function(e,t){return this.getAllFromCache(e,t)},e.prototype.apply=function(e){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(e)},e.prototype.assertNotApplied=function(){},e}(),ch=function(){function e(e,t){this.R=e,this.Ut=t}return e.prototype.addEntry=function(e,t,n){return dh(e).put(ph(t),n)},e.prototype.removeEntry=function(e,t){var n=dh(e),i=ph(t);return n.delete(i)},e.prototype.updateMetadata=function(e,t){var n=this;return this.getMetadata(e).next((function(i){return i.byteSize+=t,n.me(e,i)}))},e.prototype.getEntry=function(e,t){var n=this;return dh(e).get(ph(t)).next((function(e){return n.ye(t,e)}))},e.prototype.ge=function(e,t){var n=this;return dh(e).get(ph(t)).next((function(e){return{document:n.ye(t,e),size:zu(e)}}))},e.prototype.getEntries=function(e,t){var n=this,i=Ul();return this.pe(e,t,(function(e,t){var r=n.ye(e,t);i=i.insert(e,r)})).next((function(){return i}))},e.prototype.Ee=function(e,t){var n=this,i=Ul(),r=new Nl(Zs.comparator);return this.pe(e,t,(function(e,t){var o=n.ye(e,t);i=i.insert(e,o),r=r.insert(e,zu(t))})).next((function(){return{documents:i,Te:r}}))},e.prototype.pe=function(e,t,n){if(t.isEmpty())return au.resolve();var i=IDBKeyRange.bound(t.first().path.toArray(),t.last().path.toArray()),r=t.getIterator(),o=r.getNext();return dh(e).$t({range:i},(function(e,t,i){for(var s=Zs.fromSegments(e);o&&Zs.comparator(o,s)<0;)n(o,null),o=r.getNext();o&&o.isEqual(s)&&(n(o,t),o=r.hasNext()?r.getNext():null),o?i.Ct(o.path.toArray()):i.done()})).next((function(){for(;o;)n(o,null),o=r.hasNext()?r.getNext():null}))},e.prototype.getDocumentsMatchingQuery=function(e,t,n){var i=this,r=Ul(),o=t.path.length+1,s={};if(n.isEqual(Ds.min())){var a=t.path.toArray();s.range=IDBKeyRange.lowerBound(a)}else{var l=t.path.toArray(),c=Ou(n);s.range=IDBKeyRange.lowerBound([l,c],!0),s.index=Xc.collectionReadTimeIndex}return dh(e).$t(s,(function(e,n,s){if(e.length===o){var a=xu(i.R,n);
1t.path.isPrefixOf(a.key.path)?$a(t,a)&&(r=r.insert(a.key,a)):s.done()}})).next((function(){return r}))},e.prototype.newChangeBuffer=function(e){return new uh(this,!!e&&e.trackRemovals)},e.prototype.getSize=function(e){return this.getMetadata(e).next((function(e){return e.byteSize}))},e.prototype.getMetadata=function(e){return hh(e).get($c.key).next((function(e){return Os(!!e),e}))},e.prototype.me=function(e,t){return hh(e).put($c.key,t)},e.prototype.ye=function(e,t){if(t){var n=xu(this.R,t);if(!n.isNoDocument()||!n.version.isEqual(Ds.min()))return n}return fa.newInvalidDocument(e)},e}(),uh=function(e){function t(t,n){var i=this;return(i=e.call(this)||this).Ie=t,i.trackRemovals=n,i.Ae=new ah((function(e){return e.toString()}),(function(e,t){return e.isEqual(t)})),i}return Object(sn.c)(t,e),t.prototype.applyChanges=function(e){var t=this,n=[],i=0,r=new Fl((function(e,t){return Is(e.canonicalString(),t.canonicalString())}));return this.changes.forEach((function(o,s){var a=t.Ae.get(o);if(s.document.isValidDocument()){var l=Su(t.Ie.R,s.document,t.getReadTime(o));r=r.add(o.path.popLast());var c=zu(l);i+=c-a,n.push(t.Ie.addEntry(e,o,l))}else if(i-=a,t.trackRemovals){var u=Su(t.Ie.R,fa.newNoDocument(o,Ds.min()),t.getReadTime(o));n.push(t.Ie.addEntry(e,o,u))}else n.push(t.Ie.removeEntry(e,o))})),r.forEach((function(i){n.push(t.Ie.Ut.addToCollectionParentIndex(e,i))})),n.push(this.Ie.updateMetadata(e,i)),au.waitFor(n)},t.prototype.getFromCache=function(e,t){var n=this;return this.Ie.ge(e,t).next((function(e){return n.Ae.set(t,e.size),e.document}))},t.prototype.getAllFromCache=function(e,t){var n=this;return this.Ie.Ee(e,t).next((function(e){var t=e.documents;return e.Te.forEach((function(e,t){n.Ae.set(e,t)})),t}))},t}(lh);function hh(e){return _u(e,$c.store)}function dh(e){return _u(e,Xc.store)}function ph(e){return e.path.toArray()}var fh=function(){function e(e){this.R=e}return e.prototype.Rt=function(e,t,n,i){var r=this;Os(n<i&&n>=0&&i<=11);var o=new lu("createOrUpgrade",t);n<1&&i>=1&&(function(e){e.createObjectStore(Hc.store)}(e),function(e){e.createObjectStore(zc.store,{keyPath:zc.keyPath}),e.createObjectStore(Gc.store,{keyPath:Gc.keyPath,autoIncrement:!0}).createIndex(Gc.userMutationsIndex,Gc.userMutationsKeyPath,{unique:!0}),e.createObjectStore(qc.store)}(e),mh(e),function(e){e.createObjectStore(Xc.store)}(e));var s=au.resolve();return n<3&&i>=3&&(0!==n&&(function(e){e.deleteObjectStore(Yc.store),e.deleteObjectStore(Qc.store),e.deleteObjectStore(Zc.store)}(e),mh(e)),s=s.next((function(){return function(e){var t=e.store(Zc.store),n=new Zc(0,0,Ds.min().toTimestamp(),0);return t.put(Zc.key,n)}(o)}))),n<4&&i>=4&&(0!==n&&(s=s.next((function(){return function(e,t){return t.store(Gc.store).Nt().next((function(n){e.deleteObjectStore(Gc.store),e.createObjectStore(Gc.store,{keyPath:Gc.keyPath,autoIncrement:!0}).createIndex(Gc.userMutationsIndex,Gc.userMutationsKeyPath,{unique:!0});var i=t.store(Gc.store),r=n.map((function(e){return i.put(e)}));return au.waitFor(r)}))}(e,o)}))),s=s.next((function(){!function(e){e.createObjectStore(eu.store,{keyPath:eu.keyPath})}(e)}))),n<5&&i>=5&&(s=s.next((function(){return r.Re(o)}))),n<6&&i>=6&&(s=s.next((function(){return function(e){e.createObjectStore($c.store)}(e),r.be(o)}))),n<7&&i>=7&&(s=s.next((function(){return r.ve(o)}))),n<8&&i>=8&&(s=s.next((function(){return r.Pe(e,o)}))),n<9&&i>=9&&(s=s.next((function(){!function(e){e.objectStoreNames.contains("remoteDocumentChanges")&&e.deleteObjectStore("remoteDocumentChanges")}(e),function(e){var t=e.objectStore(Xc.store);t.createIndex(Xc.readTimeIndex,Xc.readTimeIndexPath,{unique:!1}),t.createIndex(Xc.collectionReadTimeIndex,Xc.collectionReadTimeIndexPath,{unique:!1})}(t)}))),n<10&&i>=10&&(s=s.next((function(){return r.Ve(o)}))),n<11&&i>=11&&(s=s.next((function(){!function(e){e.createObjectStore(tu.store,{keyPath:tu.keyPath})}(e),function(e){e.createObjectStore(nu.store,{keyPath:nu.keyPath})}(e)}))),s},e.prototype.be=function(e){var t=0;return e.store(Xc.store).$t((function(e,n){t+=zu(n)})).next((function(){var n=new $c(t);return e.store($c.store).put($c.key,n)}))},e.prototype.Re=function(e){var t=this,n=e.store(zc.store),i=e.store(Gc.store);return n.Nt().next((function(n){return au.forEach(n,(function(n){var r=IDBKeyRange.bound([n.userId,-1],[n.userId,n.lastAcknowledgedBatchId]);return i.Nt(Gc.userMutationsIndex,r).next((function(i){return au.forEach(i,(function(i){Os(i.userId===n.userId);var r=Iu(t.R,i);return Hu(e,n.userId,r).next((function(){}))}))}))}))}))},e.prototype.ve=function(e){var t=e.store(Yc.store),n=e.store(Xc.store);return e.store(Zc.store).get(Zc.key).next((function(e){var i=[];return n.$t((function(n,r){var o=new Fs(n),s=function(e){return[0,Lc(e)]}(o);i.push(t.get(s).next((function(n){return n?au.resolve():function(n){return t.put(new Yc(0,Lc(n),e.highestListenSequenceNumber))}(o)})))})).next((function(){return au.waitFor(i)}))}))},e.prototype.Pe=function(e,t){e.createObjectStore(Jc.store,{keyPath:Jc.keyPath});var n=t.store(Jc.store),i=new Lu,r=function(e){if(i.add(e)){var t=e.lastSegment(),r=e.popLast();return n.put({collectionId:t,parent:Lc(r)})}};return t.store(Xc.store).$t({Ft:!0},(function(e,t){var n=new Fs(e);return r(n.popLast())})).next((function(){return t.store(qc.store).$t({Ft:!0},(function(e,t){var n=Bc(e[1]);return r(n.popLast())}))}))},e.prototype.Ve=function(e){var t=this,n=e.store(Qc.store);return n.$t((function(e,i){var r=Tu(i),o=Mu(t.R,r);
1return n.put(o)}))},e}();function mh(e){e.createObjectStore(Yc.store,{keyPath:Yc.keyPath}).createIndex(Yc.documentTargetsIndex,Yc.documentTargetsKeyPath,{unique:!0}),e.createObjectStore(Qc.store,{keyPath:Qc.keyPath}).createIndex(Qc.queryTargetsIndexName,Qc.queryTargetsKeyPath,{unique:!0}),e.createObjectStore(Zc.store)}var gh="Failed to obtain exclusive access to the persistence layer. To allow shared access, multi-tab synchronization has to be enabled in all tabs. If you are using `experimentalForceOwningTab:true`, make sure that only one tab has persistence enabled at any given time.",bh=function(){function e(t,n,i,r,o,s,a,l,c,u){if(this.allowTabSynchronization=t,this.persistenceKey=n,this.clientId=i,this.Se=o,this.window=s,this.document=a,this.De=c,this.Ce=u,this.Ne=null,this.xe=!1,this.isPrimary=!1,this.networkEnabled=!0,this.ke=null,this.inForeground=!1,this.Fe=null,this.$e=null,this.Oe=Number.NEGATIVE_INFINITY,this.Me=function(e){return Promise.resolve()},!e.yt())throw new bs(gs.UNIMPLEMENTED,"This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");this.referenceDelegate=new oh(this,r),this.Le=n+"main",this.R=new Cu(l),this.Be=new cu(this.Le,11,new fh(this.R)),this.qe=new Qu(this.referenceDelegate,this.R),this.Ut=new Fu,this.Ue=function(e,t){return new ch(e,t)}(this.R,this.Ut),this.Ke=new Du,this.window&&this.window.localStorage?this.Qe=this.window.localStorage:(this.Qe=null,!1===u&&ws("IndexedDbPersistence","LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."))}return e.prototype.start=function(){var e=this;return this.je().then((function(){if(!e.isPrimary&&!e.allowTabSynchronization)throw new bs(gs.FAILED_PRECONDITION,gh);return e.We(),e.Ge(),e.ze(),e.runTransaction("getHighestListenSequenceNumber","readonly",(function(t){return e.qe.getHighestSequenceNumber(t)}))})).then((function(t){e.Ne=new ms(t,e.De)})).then((function(){e.xe=!0})).catch((function(t){return e.Be&&e.Be.close(),Promise.reject(t)}))},e.prototype.He=function(e){var t=this;return this.Me=function(n){return Object(sn.b)(t,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){return this.started?[2,e(n)]:[2]}))}))},e(this.isPrimary)},e.prototype.setDatabaseDeletedListener=function(e){var t=this;this.Be.vt((function(n){return Object(sn.b)(t,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return null===n.newVersion?[4,e()]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}
1))}))}))},e.prototype.setNetworkEnabled=function(e){var t=this;this.networkEnabled!==e&&(this.networkEnabled=e,this.Se.enqueueAndForget((function(){return Object(sn.b)(t,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){switch(e.label){case 0:return this.started?[4,this.je()]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))})))},e.prototype.je=function(){var e=this;return this.runTransaction("updateClientMetadataAndTryBecomePrimary","readwrite",(function(t){return vh(t).put(new eu(e.clientId,Date.now(),e.networkEnabled,e.inForeground)).next((function(){if(e.isPrimary)return e.Je(t).next((function(t){t||(e.isPrimary=!1,e.Se.enqueueRetryable((function(){return e.Me(!1)})))}))})).next((function(){return e.Ye(t)})).next((function(n){return e.isPrimary&&!n?e.Xe(t).next((function(){return!1})):!!n&&e.Ze(t).next((function(){return!0}))}))})).catch((function(t){if(du(t))return ys("IndexedDbPersistence","Failed to extend owner lease: ",t),e.isPrimary;if(!e.allowTabSynchronization)throw t;return ys("IndexedDbPersistence","Releasing owner lease after error during lease refresh",t),!1})).then((function(t){e.isPrimary!==t&&e.Se.enqueueRetryable((function(){return e.Me(t)})),e.isPrimary=t}))},e.prototype.Je=function(e){var t=this;return _h(e).get(Hc.key).next((function(e){return au.resolve(t.tn(e))}))},e.prototype.en=function(e){return vh(e).delete(this.clientId)},e.prototype.nn=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t,n,i=this;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return!this.isPrimary||this.sn(this.Oe,18e5)?[3,2]:(this.Oe=Date.now(),[4,this.runTransaction("maybeGarbageCollectMultiClientState","readwrite-primary",(function(e){var t=_u(e,eu.store);return t.Nt().next((function(e){var n=i.rn(e,18e5),r=e.filter((function(e){return-1===n.indexOf(e)}));return au.forEach(r,(function(e){return t.delete(e.clientId)})).next((function(){return r}))}))})).catch((function(){return[]}))]);case 1:if(e=r.sent(),this.Qe)for(t=0,n=e;t<n.length;t++)this.Qe.removeItem(this.on(n[t].clientId));r.label=2;case 2:return[2]}}
1))}))},e.prototype.ze=function(){var e=this;this.$e=this.Se.enqueueAfterDelay("client_metadata_refresh",4e3,(function(){return e.je().then((function(){return e.nn()})).then((function(){return e.ze()}))}))},e.prototype.tn=function(e){return!!e&&e.ownerId===this.clientId},e.prototype.Ye=function(e){var t=this;return this.Ce?au.resolve(!0):_h(e).get(Hc.key).next((function(n){if(null!==n&&t.sn(n.leaseTimestampMs,5e3)&&!t.cn(n.ownerId)){if(t.tn(n)&&t.networkEnabled)return!0;if(!t.tn(n)){if(!n.allowTabSynchronization)throw new bs(gs.FAILED_PRECONDITION,gh);return!1}}return!(!t.networkEnabled||!t.inForeground)||vh(e).Nt().next((function(e){return void 0===t.rn(e,5e3).find((function(e){return!(t.clientId===e.clientId||!(!t.networkEnabled&&e.networkEnabled||!t.inForeground&&e.inForeground&&t.networkEnabled===e.networkEnabled))}))}))})).next((function(e){return t.isPrimary!==e&&ys("IndexedDbPersistence","Client "+(e?"is":"is not")+" eligible for a primary lease."),e}))},e.prototype.shutdown=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e=this;return Object(sn.d)(this,(function(t){switch(t.label){case 0:return this.xe=!1,this.un(),this.$e&&(this.$e.cancel(),this.$e=null),this.an(),this.hn(),[4,this.Be.runTransaction("shutdown","readwrite",[Hc.store,eu.store],(function(t){var n=new bu(t,ms.o);return e.Xe(n).next((function(){return e.en(n)}))}))];case 1:return t.sent(),this.Be.close(),this.ln(),[2]}}))}))},e.prototype.rn=function(e,t){var n=this;return e.filter((function(e){return n.sn(e.updateTimeMs,t)&&!n.cn(e.clientId)}))},e.prototype.fn=function(){var e=this;return this.runTransaction("getActiveClients","readonly",(function(t){return vh(t).Nt().next((function(t){return e.rn(t,18e5).map((function(e){return e.clientId}))}))}))},Object.defineProperty(e.prototype,"started",{get:function(){return this.xe},enumerable:!1,configurable:!0}),e.prototype.getMutationQueue=function(e){return Gu.Qt(e,this.R,this.Ut,this.referenceDelegate)},e.prototype.getTargetCache=function(){return this.qe},e.prototype.getRemoteDocumentCache=function(){return this.Ue},e.prototype.getIndexManager=function(){return this.Ut},e.prototype.getBundleCache=function(){return this.Ke},e.prototype.runTransaction=function(e,t,n){var i,r=this;return ys("IndexedDbPersistence","Starting transaction:",e),this.Be.runTransaction(e,"readonly"===t?"readonly":"readwrite",iu,(function(o){return i=new bu(o,r.Ne?r.Ne.next():ms.o),"readwrite-primary"===t?r.Je(i).next((function(e){return!!e||r.Ye(i)})).next((function(t){if(!t)throw ws("Failed to obtain primary lease for action '"+e+"'."),r.isPrimary=!1,r.Se.enqueueRetryable((function(){return r.Me(!1)})),new bs(gs.FAILED_PRECONDITION,ru);return n(i)})).next((function(e){return r.Ze(i).next((function(){return e}))})):r.dn(i).next((function(){return n(i)}))})).then((function(e){return i.raiseOnCommittedEvent(),e}))},e.prototype.dn=function(e){var t=this;return _h(e).get(Hc.key).next((function(e){if(null!==e&&t.sn(e.leaseTimestampMs,5e3)&&!t.cn(e.ownerId)&&!t.tn(e)&&!(t.Ce||t.allowTabSynchronization&&e.allowTabSynchronization))throw new bs(gs.FAILED_PRECONDITION,gh)}))},e.prototype.Ze=function(e){var t=new Hc(this.clientId,this.allowTabSynchronization,Date.now());return _h(e).put(Hc.key,t)},e.yt=function(){return cu.yt()},e.prototype.Xe=function(e){var t=this,n=_h(e);return n.get(Hc.key).next((function(e){return t.tn(e)?(ys("IndexedDbPersistence","Releasing primary lease."),n.delete(Hc.key)):au.resolve()}))},e.prototype.sn=function(e,t){var n=Date.now();return!(e<n-t||e>n&&(ws("Detected an update time that is in the future: "+e+" > "+n),1))},e.prototype.We=function(){var e=this;null!==this.document&&"function"==typeof this.document.addEventListener&&(this.Fe=function(){e.Se.enqueueAndForget((function(){return e.inForeground="visible"===e.document.visibilityState,e.je()}))},this.document.addEventListener("visibilitychange",this.Fe),this.inForeground="visible"===this.document.visibilityState)},e.prototype.an=function(){this.Fe&&(this.document.removeEventListener("visibilitychange",this.Fe),this.Fe=null)},e.prototype.Ge=function(){var e,t=this;"function"==typeof(null===(e=this.window)||void 0===e?void 0:e.addEventListener)&&(this.ke=function(){t.un(),Object(an.u)()&&navigator.appVersion.match("Version/14")&&t.Se.enterRestrictedMode(!0),t.Se.enqueueAndForget((function(){return t.shutdown()}))},this.window.addEventListener("pagehide",this.ke))},e.prototype.hn=function(){this.ke&&(this.window.removeEventListener("pagehide",this.ke),this.ke=null)},e.prototype.cn=function(e){var t;try{var n=null!==(null===(t=this.Qe)||void 0===t?void 0:t.getItem(this.on(e)));return ys("IndexedDbPersistence","Client '"+e+"' "+(n?"is":"is not")+" zombied in LocalStorage"),n}catch(e){return ws("IndexedDbPersistence","Failed to get zombied client id.",e),!1}},e.prototype.un=function(){if(this.Qe)try{this.Qe.setItem(this.on(this.clientId),String(Date.now()))}catch(e){ws("Failed to set zombie client id.",e)}},e.prototype.ln=function(){if(this.Qe)try{this.Qe.removeItem(this.on(this.clientId))}catch(e){}},e.prototype.on=function(e){return"firestore_zombie_"+this.persistenceKey+"_"+e},e}();function _h(e){return _u(e,Hc.store)}function vh(e){return _u(e,eu.store)}function yh(e,t){var n=e.projectId;return e.isDefaultDatabase||(n+="."+e.database),"firestore/"+t+"/"+n+"/"}var wh=function(e,t){this.progress=e,this.wn=t},Ch=function(){function e(e,t,n){this.Ue=e,this._n=t,this.Ut=n}return e.prototype.mn=function(e,t){var n=this;return this._n.getAllMutationBatchesAffectingDocumentKey(e,t).next((function(i){return n.yn(e,t,i)}))},e.prototype.yn=function(e,t,n){return this.Ue.getEntry(e,t).next((function(e){for(var t=0,i=n;t<i.length;t++)i[t].applyToLocalView(e);return e}))},e.prototype.gn=function(e,t){e.forEach((function(e,n){for(var i=0,r=t;i<r.length;i++)r[i].applyToLocalView(n)}))},e.prototype.pn=function(e,t){var n=this;return this.Ue.getEntries(e,t).next((function(t){return n.En(e,t).next((function(){return t}))}))},e.prototype.En=function(e,t){var n=this;return this._n.getAllMutationBatchesAffectingDocumentKeys(e,t).next((function(e){return n.gn(t,e)}))},e.prototype.getDocumentsMatchingQuery=function(e,t,n){return function(e){return Zs.isDocumentKey(e.path)&&null===e.collectionGroup&&0===e.filters.length}
1(t)?this.Tn(e,t.path):Ha(t)?this.In(e,t,n):this.An(e,t,n)},e.prototype.Tn=function(e,t){return this.mn(e,new Zs(t)).next((function(e){var t=zl();return e.isFoundDocument()&&(t=t.insert(e.key,e)),t}))},e.prototype.In=function(e,t,n){var i=this,r=t.collectionGroup,o=zl();return this.Ut.getCollectionParents(e,r).next((function(s){return au.forEach(s,(function(s){var a=function(e,t){return new Na(t,null,e.explicitOrderBy.slice(),e.filters.slice(),e.limit,e.limitType,e.startAt,e.endAt)}(t,s.child(r));return i.An(e,a,n).next((function(e){e.forEach((function(e,t){o=o.insert(e,t)}))}))})).next((function(){return o}))}))},e.prototype.An=function(e,t,n){var i,r,o=this;return this.Ue.getDocumentsMatchingQuery(e,t,n).next((function(n){return i=n,o._n.getAllMutationBatchesAffectingQuery(e,t)})).next((function(t){return o.Rn(e,r=t,i).next((function(e){i=e;for(var t=0,n=r;t<n.length;t++)for(var o=n[t],s=0,a=o.mutations;s<a.length;s++){var l=a[s],c=l.key,u=i.get(c);null==u&&(u=fa.newInvalidDocument(c),i=i.insert(c,u)),vl(l,u,o.localWriteTime),u.isFoundDocument()||(i=i.remove(c))}}))})).next((function(){return i.forEach((function(e,n){$a(t,n)||(i=i.remove(e))})),i}))},e.prototype.Rn=function(e,t,n){for(var i=Kl(),r=0,o=t;r<o.length;r++)for(var s=0,a=o[r].mutations;s<a.length;s++){var l=a[s];l instanceof Sl&&null===n.get(l.key)&&(i=i.add(l.key))}var c=n;return this.Ue.getEntries(e,i).next((function(e){return e.forEach((function(e,t){t.isFoundDocument()&&(c=c.insert(e,t))})),c}))},e}(),xh=function(){function e(e,t,n,i){this.targetId=e,this.fromCache=t,this.bn=n,this.vn=i}return e.Pn=function(t,n){for(var i=Kl(),r=Kl(),o=0,s=n.docChanges;o<s.length;o++){var a=s[o];switch(a.type){case 0:i=i.add(a.doc.key);break;case 1:r=r.add(a.doc.key)}}return new e(t,n.fromCache,i,r)},e}(),Sh=function(){function e(){}return e.prototype.Vn=function(e){this.Sn=e},e.prototype.getDocumentsMatchingQuery=function(e,t,n,i){var r=this;return function(e){return 0===e.filters.length&&null===e.limit&&null==e.startAt&&null==e.endAt&&(0===e.explicitOrderBy.length||1===e.explicitOrderBy.length&&e.explicitOrderBy[0].field.isKeyField())}(t)||n.isEqual(Ds.min())?this.Dn(e,t):this.Sn.pn(e,i).next((function(o){var s=r.Cn(t,o);return(Fa(t)||Va(t))&&r.Nn(t.limitType,s,i,n)?r.Dn(e,t):(vs()<=ln.a.DEBUG&&ys("QueryEngine","Re-using previous result from %s to execute query: %s",n.toString(),Xa(t)),r.Sn.getDocumentsMatchingQuery(e,t,n).next((function(e){return s.forEach((function(t){e=e.insert(t.key,t)})),e})))}))},e.prototype.Cn=function(e,t){var n=new Fl(Qa(e));return t.forEach((function(t,i){$a(e,i)&&(n=n.add(i))})),n},e.prototype.Nn=function(e,t,n,i){if(n.size!==t.size)return!0;var r="F"===e?t.last():t.first();return!!r&&(r.hasPendingWrites||r.version.compareTo(i)>0)},e.prototype.Dn=function(e,t){return vs()<=ln.a.DEBUG&&ys("QueryEngine","Using full collection scan to execute query:",Xa(t)),this.Sn.getDocumentsMatchingQuery(e,t,Ds.min())},e}(),Oh=function(){function e(e,t,n,i){this.persistence=e,this.xn=t,this.R=i,this.kn=new Nl(Is),this.Fn=new ah((function(e){return ba(e)}),_a),this.$n=Ds.min(),this._n=e.getMutationQueue(n),this.On=e.getRemoteDocumentCache(),this.qe=e.getTargetCache(),this.Mn=new Ch(this.On,this._n,this.persistence.getIndexManager()),this.Ke=e.getBundleCache(),this.xn.Vn(this.Mn)}return e.prototype.collectGarbage=function(e){var t=this;return this.persistence.runTransaction("Collect garbage","readwrite-primary",(function(n){return e.collect(n,t.kn)}))},e}();function kh(e,t,n,i){return new Oh(e,t,n,i)}function Eh(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o;return Object(sn.d)(this,(function(s){switch(s.label){case 0:return n=ks(e),i=n._n,r=n.Mn,[4,n.persistence.runTransaction("Handle user change","readonly",(function(e){var o;return n._n.getAllMutationBatches(e).next((function(s){return o=s,i=n.persistence.getMutationQueue(t),r=new Ch(n.On,i,n.persistence.getIndexManager()),i.getAllMutationBatches(e)})).next((function(t){for(var n=[],i=[],s=Kl(),a=0,l=o;a<l.length;a++){var c=l[a];n.push(c.batchId);for(var u=0,h=c.mutations;u<h.length;u++)s=s.add(h[u].key)}for(var d=0,p=t;d<p.length;d++){var f=p[d];i.push(f.batchId);for(var m=0,g=f.mutations;m<g.length;m++)s=s.add(g[m].key)}return r.pn(e,s).next((function(e){return{Ln:e,removedBatchIds:n,addedBatchIds:i}}))}))}))];case 1:return o=s.sent(),[2,(n._n=i,n.Mn=r,n.xn.Vn(n.Mn),o)]}}))}))}function Ph(e,t){var n=ks(e);return n.persistence.runTransaction("Acknowledge batch","readwrite-primary",(function(e){var i=t.batch.keys(),r=n.On.newChangeBuffer({trackRemovals:!0});return function(e,t,n,i){var r=n.batch,o=r.keys(),s=au.resolve();return o.forEach((function(e){s=s.next((function(){return i.getEntry(t,e)})).next((function(t){var o=n.docVersions.get(e);Os(null!==o),t.version.compareTo(o)<0&&(r.applyToRemoteDocument(t,n),t.isValidDocument()&&i.addEntry(t,n.commitVersion))}))})),s.next((function(){return e._n.removeMutationBatch(t,r)}))}(n,e,t,r).next((function(){return r.apply(e)})).next((function(){return n._n.performConsistencyCheck(e)})).next((function(){return n.Mn.pn(e,i)}))}))}function Ih(e){var t=ks(e);return t.persistence.runTransaction("Get last remote snapshot version","readonly",(function(e){return t.qe.getLastRemoteSnapshotVersion(e)}))}function Th(e,t){var n=ks(e),i=t.snapshotVersion,r=n.kn;return n.persistence.runTransaction("Apply remote event","readwrite-primary",(function(e){var o=n.On.newChangeBuffer({trackRemovals:!0});r=n.kn;var s=[];
1t.targetChanges.forEach((function(t,o){var a=r.get(o);if(a){s.push(n.qe.removeMatchingKeys(e,t.removedDocuments,o).next((function(){return n.qe.addMatchingKeys(e,t.addedDocuments,o)})));var l=t.resumeToken;if(l.approximateByteSize()>0){var c=a.withResumeToken(l,i).withSequenceNumber(e.currentSequenceNumber);r=r.insert(o,c),function(e,t,n){return Os(t.resumeToken.approximateByteSize()>0),0===e.resumeToken.approximateByteSize()||t.snapshotVersion.toMicroseconds()-e.snapshotVersion.toMicroseconds()>=3e8||n.addedDocuments.size+n.modifiedDocuments.size+n.removedDocuments.size>0}(a,c,t)&&s.push(n.qe.updateTargetData(e,c))}}}));var a=Ul();if(t.documentUpdates.forEach((function(i,r){t.resolvedLimboDocuments.has(i)&&s.push(n.persistence.referenceDelegate.updateLimboDocument(e,i))})),s.push(Mh(e,o,t.documentUpdates,i,void 0).next((function(e){a=e}))),!i.isEqual(Ds.min())){var l=n.qe.getLastRemoteSnapshotVersion(e).next((function(t){return n.qe.setTargetsMetadata(e,e.currentSequenceNumber,i)}));s.push(l)}return au.waitFor(s).next((function(){return o.apply(e)})).next((function(){return n.Mn.En(e,a)})).next((function(){return a}))})).then((function(e){return n.kn=r,e}))}function Mh(e,t,n,i,r){var o=Kl();return n.forEach((function(e){return o=o.add(e)})),t.getEntries(e,o).next((function(e){var o=Ul();return n.forEach((function(n,s){var a=e.get(n),l=(null==r?void 0:r.get(n))||i;s.isNoDocument()&&s.version.isEqual(Ds.min())?(t.removeEntry(n,l),o=o.insert(n,s)):!a.isValidDocument()||s.version.compareTo(a.version)>0||0===s.version.compareTo(a.version)&&a.hasPendingWrites?(t.addEntry(s,l),o=o.insert(n,s)):ys("LocalStore","Ignoring outdated watch update for ",n,". Current version:",a.version," Watch version:",s.version)})),o}))}function Ah(e,t){var n=ks(e);return n.persistence.runTransaction("Get next mutation batch","readonly",(function(e){return void 0===t&&(t=-1),n._n.getNextMutationBatchAfterBatchId(e,t)}))}function Dh(e,t){var n=ks(e);return n.persistence.runTransaction("Allocate target","readwrite",(function(e){var i;return n.qe.getTargetData(e,t).next((function(r){return r?au.resolve(i=r):n.qe.allocateTargetId(e).next((function(r){return i=new wu(t,r,0,e.currentSequenceNumber),n.qe.addTargetData(e,i).next((function(){return i}))}))}))})).then((function(e){var i=n.kn.get(e.targetId);return(null===i||e.snapshotVersion.compareTo(i.snapshotVersion)>0)&&(n.kn=n.kn.insert(e.targetId,e),n.Fn.set(t,e.targetId)),e}))}function jh(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r,o,s;return Object(sn.d)(this,(function(a){switch(a.label){case 0:i=ks(e),r=i.kn.get(t),o=n?"readwrite":"readwrite-primary",a.label=1;case 1:return a.trys.push([1,4,,5]),n?[3,3]:[4,i.persistence.runTransaction("Release target",o,(function(e){return i.persistence.referenceDelegate.removeTarget(e,r)}))];case 2:a.sent(),a.label=3;case 3:return[3,5];case 4:if(!du(s=a.sent()))throw s;return ys("LocalStore","Failed to update sequence numbers for target "+t+": "+s),[3,5];case 5:return i.kn=i.kn.remove(t),i.Fn.delete(r.target),[2]}}))}))}function Nh(e,t,n){var i=ks(e),r=Ds.min(),o=Kl();return i.persistence.runTransaction("Execute query","readonly",(function(e){return function(e,t,n){var i=ks(e),r=i.Fn.get(n);return void 0!==r?au.resolve(i.kn.get(r)):i.qe.getTargetData(t,n)}(i,e,Ga(t)).next((function(t){if(t)return r=t.lastLimboFreeSnapshotVersion,i.qe.getMatchingKeysForTargetId(e,t.targetId).next((function(e){o=e}))})).next((function(){return i.xn.getDocumentsMatchingQuery(e,t,n?r:Ds.min(),n?o:Kl())})).next((function(e){return{documents:e,Bn:o}}))}))}function Rh(e,t){var n=ks(e),i=ks(n.qe),r=n.kn.get(t);return r?Promise.resolve(r.target):n.persistence.runTransaction("Get target data","readonly",(function(e){return i.lt(e,t).next((function(e){return e?e.target:null}))}))}function Lh(e){var t=ks(e);return t.persistence.runTransaction("Get new document changes","readonly",(function(e){return function(e,t,n){var i=ks(e),r=Ul(),o=Ou(n),s=dh(t),a=IDBKeyRange.lowerBound(o,!0);return s.$t({index:Xc.readTimeIndex,range:a},(function(e,t){var n=xu(i.R,t);r=r.insert(n.key,n),o=t.readTime})).next((function(){return{wn:r,readTime:ku(o)}}))}(t.On,e,t.$n)})).then((function(e){var n=e.wn;return t.$n=e.readTime,n}
1))}function Fh(e){return Object(sn.b)(this,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){return[2,(t=ks(e)).persistence.runTransaction("Synchronize last document change read time","readonly",(function(e){return function(e){var t=dh(e),n=Ds.min();return t.$t({index:Xc.readTimeIndex,reverse:!0},(function(e,t,i){t.readTime&&(n=ku(t.readTime)),i.done()})).next((function(){return n}))}(e)})).then((function(e){t.$n=e}))]}))}))}function Vh(e,t,n,i){return Object(sn.b)(this,void 0,void 0,(function(){var r,o,s,a,l,c,u,h,d,p;return Object(sn.d)(this,(function(f){switch(f.label){case 0:for(r=ks(e),o=Kl(),s=Ul(),a=ql(),l=0,c=n;l<c.length;l++)h=t.qn((u=c[l]).metadata.name),u.document&&(o=o.add(h)),s=s.insert(h,t.Un(u)),a=a.insert(h,t.Kn(u.metadata.readTime));return d=r.On.newChangeBuffer({trackRemovals:!0}),[4,Dh(r,function(e){return Ga(La(Fs.fromString("__bundle__/docs/"+e)))}(i))];case 1:return p=f.sent(),[2,r.persistence.runTransaction("Apply bundle documents","readwrite",(function(e){return Mh(e,d,s,Ds.min(),a).next((function(t){return d.apply(e),t})).next((function(t){return r.qe.removeMatchingKeysForTargetId(e,p.targetId).next((function(){return r.qe.addMatchingKeys(e,o,p.targetId)})).next((function(){return r.Mn.En(e,t)})).next((function(){return t}))}))}))]}}))}))}function Bh(e,t,n){return void 0===n&&(n=Kl()),Object(sn.b)(this,void 0,void 0,(function(){var i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return[4,Dh(e,Ga(Au(t.bundledQuery)))];case 1:return i=o.sent(),[2,(r=ks(e)).persistence.runTransaction("Save named query","readwrite",(function(e){var o=hc(t.readTime);if(i.snapshotVersion.compareTo(o)>=0)return r.Ke.saveNamedQuery(e,t);var s=i.withResumeToken(Hs.EMPTY_BYTE_STRING,o);return r.kn=r.kn.insert(s.targetId,s),r.qe.updateTargetData(e,s).next((function(){return r.qe.removeMatchingKeysForTargetId(e,i.targetId)})).next((function(){return r.qe.addMatchingKeys(e,n,i.targetId)})).next((function(){return r.Ke.saveNamedQuery(e,t)}))}))]}}))}))}var Uh=function(){function e(e){this.R=e,this.Qn=new Map,this.jn=new Map}return e.prototype.getBundleMetadata=function(e,t){return au.resolve(this.Qn.get(t))},e.prototype.saveBundleMetadata=function(e,t){var n;return this.Qn.set(t.id,{id:(n=t).id,version:n.version,createTime:hc(n.createTime)}),au.resolve()},e.prototype.getNamedQuery=function(e,t){return au.resolve(this.jn.get(t))},e.prototype.saveNamedQuery=function(e,t){return this.jn.set(t.name,function(e){return{name:e.name,query:Au(e.bundledQuery),readTime:hc(e.readTime)}}(t)),au.resolve()},e}(),Hh=function(){function e(){this.Wn=new Fl(zh.Gn),this.zn=new Fl(zh.Hn)}return e.prototype.isEmpty=function(){return this.Wn.isEmpty()},e.prototype.addReference=function(e,t){var n=new zh(e,t);this.Wn=this.Wn.add(n),this.zn=this.zn.add(n)},e.prototype.Jn=function(e,t){var n=this;e.forEach((function(e){return n.addReference(e,t)}))},e.prototype.removeReference=function(e,t){this.Yn(new zh(e,t))},e.prototype.Xn=function(e,t){var n=this;e.forEach((function(e){return n.removeReference(e,t)}))},e.prototype.Zn=function(e){var t=this,n=new Zs(new Fs([])),i=new zh(n,e),r=new zh(n,e+1),o=[];return this.zn.forEachInRange([i,r],(function(e){t.Yn(e),o.push(e.key)})),o},e.prototype.ts=function(){var e=this;this.Wn.forEach((function(t){return e.Yn(t)}))},e.prototype.Yn=function(e){this.Wn=this.Wn.delete(e),this.zn=this.zn.delete(e)},e.prototype.es=function(e){var t=new Zs(new Fs([])),n=new zh(t,e),i=new zh(t,e+1),r=Kl();return this.zn.forEachInRange([n,i],(function(e){r=r.add(e.key)})),r},e.prototype.containsKey=function(e){var t=new zh(e,0),n=this.Wn.firstAfterOrEqual(t);return null!==n&&e.isEqual(n.key)},e}(),zh=function(){function e(e,t){this.key=e,this.ns=t}return e.Gn=function(e,t){return Zs.comparator(e.key,t.key)||Is(e.ns,t.ns)},e.Hn=function(e,t){return Is(e.ns,t.ns)||Zs.comparator(e.key,t.key)},e}(),Gh=function(){function e(e,t){this.Ut=e,this.referenceDelegate=t,this._n=[],this.ss=1,this.rs=new Fl(zh.Gn)}return e.prototype.checkEmpty=function(e){return au.resolve(0===this._n.length)},e.prototype.addMutationBatch=function(e,t,n,i){var r=this.ss;this.ss++;var o=new vu(r,t,n,i);this._n.push(o);for(var s=0,a=i;s<a.length;s++){var l=a[s];this.rs=this.rs.add(new zh(l.key,r)),this.Ut.addToCollectionParentIndex(e,l.key.path.popLast())}return au.resolve(o)},e.prototype.lookupMutationBatch=function(e,t){return au.resolve(this.os(t))},e.prototype.getNextMutationBatchAfterBatchId=function(e,t){var n=this.cs(t+1),i=n<0?0:n;return au.resolve(this._n.length>i?this._n[i]:null)},e.prototype.getHighestUnacknowledgedBatchId=function(){return au.resolve(0===this._n.length?-1:this.ss-1)},e.prototype.getAllMutationBatches=function(e){return au.resolve(this._n.slice())},e.prototype.getAllMutationBatchesAffectingDocumentKey=function(e,t){var n=this,i=new zh(t,0),r=new zh(t,Number.POSITIVE_INFINITY),o=[];
1return this.rs.forEachInRange([i,r],(function(e){var t=n.os(e.ns);o.push(t)})),au.resolve(o)},e.prototype.getAllMutationBatchesAffectingDocumentKeys=function(e,t){var n=this,i=new Fl(Is);return t.forEach((function(e){var t=new zh(e,0),r=new zh(e,Number.POSITIVE_INFINITY);n.rs.forEachInRange([t,r],(function(e){i=i.add(e.ns)}))})),au.resolve(this.us(i))},e.prototype.getAllMutationBatchesAffectingQuery=function(e,t){var n=t.path,i=n.length+1,r=n;Zs.isDocumentKey(r)||(r=r.child(""));var o=new zh(new Zs(r),0),s=new Fl(Is);return this.rs.forEachWhile((function(e){var t=e.key.path;return!!n.isPrefixOf(t)&&(t.length===i&&(s=s.add(e.ns)),!0)}),o),au.resolve(this.us(s))},e.prototype.us=function(e){var t=this,n=[];return e.forEach((function(e){var i=t.os(e);null!==i&&n.push(i)})),n},e.prototype.removeMutationBatch=function(e,t){var n=this;Os(0===this.hs(t.batchId,"removed")),this._n.shift();var i=this.rs;return au.forEach(t.mutations,(function(r){var o=new zh(r.key,t.batchId);return i=i.delete(o),n.referenceDelegate.markPotentiallyOrphaned(e,r.key)})).next((function(){n.rs=i}))},e.prototype.Gt=function(e){},e.prototype.containsKey=function(e,t){var n=new zh(t,0),i=this.rs.firstAfterOrEqual(n);return au.resolve(t.isEqual(i&&i.key))},e.prototype.performConsistencyCheck=function(e){return au.resolve()},e.prototype.hs=function(e,t){return this.cs(e)},e.prototype.cs=function(e){return 0===this._n.length?0:e-this._n[0].batchId},e.prototype.os=function(e){var t=this.cs(e);return t<0||t>=this._n.length?null:this._n[t]},e}(),qh=function(){function e(e,t){this.Ut=e,this.ls=t,this.docs=new Nl(Zs.comparator),this.size=0}return e.prototype.addEntry=function(e,t,n){var i=t.key,r=this.docs.get(i),o=r?r.size:0,s=this.ls(t);return this.docs=this.docs.insert(i,{document:t.clone(),size:s,readTime:n}),this.size+=s-o,this.Ut.addToCollectionParentIndex(e,i.path.popLast())},e.prototype.removeEntry=function(e){var t=this.docs.get(e);t&&(this.docs=this.docs.remove(e),this.size-=t.size)},e.prototype.getEntry=function(e,t){var n=this.docs.get(t);return au.resolve(n?n.document.clone():fa.newInvalidDocument(t))},e.prototype.getEntries=function(e,t){var n=this,i=Ul();return t.forEach((function(e){var t=n.docs.get(e);i=i.insert(e,t?t.document.clone():fa.newInvalidDocument(e))})),au.resolve(i)},e.prototype.getDocumentsMatchingQuery=function(e,t,n){for(var i=Ul(),r=new Zs(t.path.child("")),o=this.docs.getIteratorFrom(r);o.hasNext();){var s=o.getNext(),a=s.value,l=a.document,c=a.readTime;if(!t.path.isPrefixOf(s.key.path))break;c.compareTo(n)<=0||$a(t,l)&&(i=i.insert(l.key,l.clone()))}return au.resolve(i)},e.prototype.fs=function(e,t){return au.forEach(this.docs,(function(e){return t(e)}))},e.prototype.newChangeBuffer=function(e){return new Wh(this)},e.prototype.getSize=function(e){return au.resolve(this.size)},e}(),Wh=function(e){function t(t){var n=this;return(n=e.call(this)||this).Ie=t,n}return Object(sn.c)(t,e),t.prototype.applyChanges=function(e){var t=this,n=[];
1return this.changes.forEach((function(i,r){r.document.isValidDocument()?n.push(t.Ie.addEntry(e,r.document,t.getReadTime(i))):t.Ie.removeEntry(i)})),au.waitFor(n)},t.prototype.getFromCache=function(e,t){return this.Ie.getEntry(e,t)},t.prototype.getAllFromCache=function(e,t){return this.Ie.getEntries(e,t)},t}(lh),Kh=function(){function e(e){this.persistence=e,this.ds=new ah((function(e){return ba(e)}),_a),this.lastRemoteSnapshotVersion=Ds.min(),this.highestTargetId=0,this.ws=0,this._s=new Hh,this.targetCount=0,this.ys=$u.Jt()}return e.prototype.forEachTarget=function(e,t){return this.ds.forEach((function(e,n){return t(n)})),au.resolve()},e.prototype.getLastRemoteSnapshotVersion=function(e){return au.resolve(this.lastRemoteSnapshotVersion)},e.prototype.getHighestSequenceNumber=function(e){return au.resolve(this.ws)},e.prototype.allocateTargetId=function(e){return this.highestTargetId=this.ys.next(),au.resolve(this.highestTargetId)},e.prototype.setTargetsMetadata=function(e,t,n){return n&&(this.lastRemoteSnapshotVersion=n),t>this.ws&&(this.ws=t),au.resolve()},e.prototype.te=function(e){this.ds.set(e.target,e);var t=e.targetId;t>this.highestTargetId&&(this.ys=new $u(t),this.highestTargetId=t),e.sequenceNumber>this.ws&&(this.ws=e.sequenceNumber)},e.prototype.addTargetData=function(e,t){return this.te(t),this.targetCount+=1,au.resolve()},e.prototype.updateTargetData=function(e,t){return this.te(t),au.resolve()},e.prototype.removeTargetData=function(e,t){return this.ds.delete(t.target),this._s.Zn(t.targetId),this.targetCount-=1,au.resolve()},e.prototype.removeTargets=function(e,t,n){var i=this,r=0,o=[];return this.ds.forEach((function(s,a){a.sequenceNumber<=t&&null===n.get(a.targetId)&&(i.ds.delete(s),o.push(i.removeMatchingKeysForTargetId(e,a.targetId)),r++)})),au.waitFor(o).next((function(){return r}))},e.prototype.getTargetCount=function(e){return au.resolve(this.targetCount)},e.prototype.getTargetData=function(e,t){var n=this.ds.get(t)||null;return au.resolve(n)},e.prototype.addMatchingKeys=function(e,t,n){return this._s.Jn(t,n),au.resolve()},e.prototype.removeMatchingKeys=function(e,t,n){this._s.Xn(t,n);var i=this.persistence.referenceDelegate,r=[];return i&&t.forEach((function(t){r.push(i.markPotentiallyOrphaned(e,t))})),au.waitFor(r)},e.prototype.removeMatchingKeysForTargetId=function(e,t){return this._s.Zn(t),au.resolve()},e.prototype.getMatchingKeysForTargetId=function(e,t){var n=this._s.es(t);return au.resolve(n)},e.prototype.containsKey=function(e,t){return au.resolve(this._s.containsKey(t))},e}(),Xh=function(){function e(e,t){var n=this;this.gs={},this.Ne=new ms(0),this.xe=!1,this.xe=!0,this.referenceDelegate=e(this),this.qe=new Kh(this),this.Ut=new Ru,this.Ue=function(e,t){return new qh(e,(function(e){return n.referenceDelegate.ps(e)}))}(this.Ut),this.R=new Cu(t),this.Ke=new Uh(this.R)}return e.prototype.start=function(){return Promise.resolve()},e.prototype.shutdown=function(){return this.xe=!1,Promise.resolve()},Object.defineProperty(e.prototype,"started",{get:function(){return this.xe},enumerable:!1,configurable:!0}),e.prototype.setDatabaseDeletedListener=function(){},e.prototype.setNetworkEnabled=function(){},e.prototype.getIndexManager=function(){return this.Ut},e.prototype.getMutationQueue=function(e){var t=this.gs[e.toKey()];return t||(t=new Gh(this.Ut,this.referenceDelegate),this.gs[e.toKey()]=t),t},e.prototype.getTargetCache=function(){return this.qe},e.prototype.getRemoteDocumentCache=function(){return this.Ue},e.prototype.getBundleCache=function(){return this.Ke},e.prototype.runTransaction=function(e,t,n){var i=this;ys("MemoryPersistence","Starting transaction:",e);var r=new $h(this.Ne.next());return this.referenceDelegate.Es(),n(r).next((function(e){return i.referenceDelegate.Ts(r).next((function(){return e}))})).toPromise().then((function(e){return r.raiseOnCommittedEvent(),e}))},e.prototype.Is=function(e,t){return au.or(Object.values(this.gs).map((function(n){return function(){return n.containsKey(e,t)}})))},e}(),$h=function(e){function t(t){var n=this;return(n=e.call(this)||this).currentSequenceNumber=t,n}return Object(sn.c)(t,e),t}(ou),Qh=function(){function e(e){this.persistence=e,this.As=new Hh,this.Rs=null}return e.bs=function(t){return new e(t)},Object.defineProperty(e.prototype,"vs",{get:function(){if(this.Rs)return this.Rs;throw Ss()}
1,enumerable:!1,configurable:!0}),e.prototype.addReference=function(e,t,n){return this.As.addReference(n,t),this.vs.delete(n.toString()),au.resolve()},e.prototype.removeReference=function(e,t,n){return this.As.removeReference(n,t),this.vs.add(n.toString()),au.resolve()},e.prototype.markPotentiallyOrphaned=function(e,t){return this.vs.add(t.toString()),au.resolve()},e.prototype.removeTarget=function(e,t){var n=this;this.As.Zn(t.targetId).forEach((function(e){return n.vs.add(e.toString())}));var i=this.persistence.getTargetCache();return i.getMatchingKeysForTargetId(e,t.targetId).next((function(e){e.forEach((function(e){return n.vs.add(e.toString())}))})).next((function(){return i.removeTargetData(e,t)}))},e.prototype.Es=function(){this.Rs=new Set},e.prototype.Ts=function(e){var t=this,n=this.persistence.getRemoteDocumentCache().newChangeBuffer();return au.forEach(this.vs,(function(i){var r=Zs.fromPath(i);return t.Ps(e,r).next((function(e){e||n.removeEntry(r)}))})).next((function(){return t.Rs=null,n.apply(e)}))},e.prototype.updateLimboDocument=function(e,t){var n=this;return this.Ps(e,t).next((function(e){e?n.vs.delete(t.toString()):n.vs.add(t.toString())}))},e.prototype.ps=function(e){return 0},e.prototype.Ps=function(e,t){var n=this;return au.or([function(){return au.resolve(n.As.containsKey(t))},function(){return n.persistence.getTargetCache().containsKey(e,t)},function(){return n.persistence.Is(e,t)}])},e}(),Yh=function(){function e(e){this.uid=e}return e.prototype.isAuthenticated=function(){return null!=this.uid},e.prototype.toKey=function(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"},e.prototype.isEqual=function(e){return e.uid===this.uid},e}();function Zh(e,t){return"firestore_clients_"+e+"_"+t}function Jh(e,t,n){var i="firestore_mutations_"+e+"_"+n;return t.isAuthenticated()&&(i+="_"+t.uid),i}function ed(e,t){return"firestore_targets_"+e+"_"+t}Yh.UNAUTHENTICATED=new Yh(null),Yh.GOOGLE_CREDENTIALS=new Yh("google-credentials-uid"),Yh.FIRST_PARTY=new Yh("first-party-uid"),Yh.MOCK_USER=new Yh("mock-user");var td=function(){function e(e,t,n,i){this.user=e,this.batchId=t,this.state=n,this.error=i}return e.Vs=function(t,n,i){var r,o=JSON.parse(i),s="object"==typeof o&&-1!==["pending","acknowledged","rejected"].indexOf(o.state)&&(void 0===o.error||"object"==typeof o.error);return s&&o.error&&(s="string"==typeof o.error.message&&"string"==typeof o.error.code)&&(r=new bs(o.error.code,o.error.message)),s?new e(t,n,o.state,r):(ws("SharedClientState","Failed to parse mutation state for ID '"+n+"': "+i),null)},e.prototype.Ss=function(){var e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)},e}(),nd=function(){function e(e,t,n){this.targetId=e,this.state=t,this.error=n}return e.Vs=function(t,n){var i,r=JSON.parse(n),o="object"==typeof r&&-1!==["not-current","current","rejected"].indexOf(r.state)&&(void 0===r.error||"object"==typeof r.error);return o&&r.error&&(o="string"==typeof r.error.message&&"string"==typeof r.error.code)&&(i=new bs(r.error.code,r.error.message)),o?new e(t,r.state,i):(ws("SharedClientState","Failed to parse target state for ID '"+t+"': "+n),null)},e.prototype.Ss=function(){var e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)},e}(),id=function(){function e(e,t){this.clientId=e,this.activeTargetIds=t}return e.Vs=function(t,n){for(var i=JSON.parse(n),r="object"==typeof i&&i.activeTargetIds instanceof Array,o=$l(),s=0;r&&s<i.activeTargetIds.length;++s)r=Ys(i.activeTargetIds[s]),o=o.add(i.activeTargetIds[s]);return r?new e(t,o):(ws("SharedClientState","Failed to parse client data for instance '"+t+"': "+n),null)},e}(),rd=function(){function e(e,t){this.clientId=e,this.onlineState=t}return e.Vs=function(t){var n=JSON.parse(t);return"object"==typeof n&&-1!==["Unknown","Online","Offline"].indexOf(n.onlineState)&&"string"==typeof n.clientId?new e(n.clientId,n.onlineState):(ws("SharedClientState","Failed to parse online state: "+t),null)},e}(),od=function(){function e(){this.activeTargetIds=$l()}return e.prototype.Ds=function(e){this.activeTargetIds=this.activeTargetIds.add(e)},e.prototype.Cs=function(e){this.activeTargetIds=this.activeTargetIds.delete(e)},e.prototype.Ss=function(){var e={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(e)},e}(),sd=function(){function e(e,t,n,i,r){this.window=e,this.Se=t,this.persistenceKey=n,this.Ns=i,this.syncEngine=null,this.onlineStateHandler=null,this.sequenceNumberHandler=null,this.xs=this.ks.bind(this),this.Fs=new Nl(Is),this.started=!1,this.$s=[];var o=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");this.storage=this.window.localStorage,this.currentUser=r,this.Os=Zh(this.persistenceKey,this.Ns),this.Ms=function(e){return"firestore_sequence_number_"+e}(this.persistenceKey),this.Fs=this.Fs.insert(this.Ns,new od),this.Ls=new RegExp("^firestore_clients_"+o+"_([^_]*)$"),this.Bs=new RegExp("^firestore_mutations_"+o+"_(\\d+)(?:_(.*))?$"),this.qs=new RegExp("^firestore_targets_"+o+"_(\\d+)$"),this.Us=function(e){return"firestore_online_state_"+e}(this.persistenceKey),this.Ks=function(e){return"firestore_bundle_loaded_"+e}(this.persistenceKey),this.window.addEventListener("storage",this.xs)}return e.yt=function(e){return!(!e||!e.localStorage)},e.prototype.start=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t,n,i,r,o,s,a,l,c,u=this;return Object(sn.d)(this,(function(h){switch(h.label){case 0:return[4,this.syncEngine.fn()];case 1:for(e=h.sent(),t=0,n=e;t<n.length;t++)(i=n[t])!==this.Ns&&(r=this.getItem(Zh(this.persistenceKey,i)))&&
1(o=id.Vs(i,r))&&(this.Fs=this.Fs.insert(o.clientId,o));for(this.Qs(),(s=this.storage.getItem(this.Us))&&(a=this.js(s))&&this.Ws(a),l=0,c=this.$s;l<c.length;l++)this.ks(c[l]);return this.$s=[],this.window.addEventListener("pagehide",(function(){return u.shutdown()})),this.started=!0,[2]}}))}))},e.prototype.writeSequenceNumber=function(e){this.setItem(this.Ms,JSON.stringify(e))},e.prototype.getAllActiveQueryTargets=function(){return this.Gs(this.Fs)},e.prototype.isActiveQueryTarget=function(e){var t=!1;return this.Fs.forEach((function(n,i){i.activeTargetIds.has(e)&&(t=!0)})),t},e.prototype.addPendingMutation=function(e){this.zs(e,"pending")},e.prototype.updateMutationState=function(e,t,n){this.zs(e,t,n),this.Hs(e)},e.prototype.addLocalQueryTarget=function(e){var t="not-current";if(this.isActiveQueryTarget(e)){var n=this.storage.getItem(ed(this.persistenceKey,e));if(n){var i=nd.Vs(e,n);i&&(t=i.state)}}return this.Js.Ds(e),this.Qs(),t},e.prototype.removeLocalQueryTarget=function(e){this.Js.Cs(e),this.Qs()},e.prototype.isLocalQueryTarget=function(e){return this.Js.activeTargetIds.has(e)},e.prototype.clearQueryState=function(e){this.removeItem(ed(this.persistenceKey,e))},e.prototype.updateQueryState=function(e,t,n){this.Ys(e,t,n)},e.prototype.handleUserChange=function(e,t,n){var i=this;t.forEach((function(e){i.Hs(e)})),this.currentUser=e,n.forEach((function(e){i.addPendingMutation(e)}))},e.prototype.setOnlineState=function(e){this.Xs(e)},e.prototype.notifyBundleLoaded=function(){this.Zs()},e.prototype.shutdown=function(){this.started&&(this.window.removeEventListener("storage",this.xs),this.removeItem(this.Os),this.started=!1)},e.prototype.getItem=function(e){var t=this.storage.getItem(e);return ys("SharedClientState","READ",e,t),t},e.prototype.setItem=function(e,t){ys("SharedClientState","SET",e,t),this.storage.setItem(e,t)},e.prototype.removeItem=function(e){ys("SharedClientState","REMOVE",e),this.storage.removeItem(e)},e.prototype.ks=function(e){var t=this,n=e;if(n.storageArea===this.storage){if(ys("SharedClientState","EVENT",n.key,n.newValue),n.key===this.Os)return void ws("Received WebStorage notification for local change. Another client might have garbage-collected our state");this.Se.enqueueRetryable((function(){return Object(sn.b)(t,void 0,void 0,(function(){var e,t,i,r,o,s;return Object(sn.d)(this,(function(a){if(this.started){if(null!==n.key)if(this.Ls.test(n.key)){if(null==n.newValue)return e=this.ti(n.key),[2,this.ei(e,null)];if(t=this.ni(n.key,n.newValue))return[2,this.ei(t.clientId,t)]}else if(this.Bs.test(n.key)){if(null!==n.newValue&&(i=this.si(n.key,n.newValue)))return[2,this.ii(i)]}else if(this.qs.test(n.key)){if(null!==n.newValue&&(r=this.ri(n.key,n.newValue)))return[2,this.oi(r)]}else if(n.key===this.Us){if(null!==n.newValue&&(o=this.js(n.newValue)))return[2,this.Ws(o)]}else if(n.key===this.Ms)(s=function(e){var t=ms.o;if(null!=e)try{var n=JSON.parse(e);Os("number"==typeof n),t=n}catch(e){ws("SharedClientState","Failed to read sequence number from WebStorage",e)}return t}(n.newValue))!==ms.o&&this.sequenceNumberHandler(s);else if(n.key===this.Ks)return[2,this.syncEngine.ci()]}else this.$s.push(n);return[2]}))}))}))}},Object.defineProperty(e.prototype,"Js",{get:function(){return this.Fs.get(this.Ns)},enumerable:!1,configurable:!0}),e.prototype.Qs=function(){this.setItem(this.Os,this.Js.Ss())},e.prototype.zs=function(e,t,n){var i=new td(this.currentUser,e,t,n),r=Jh(this.persistenceKey,this.currentUser,e);this.setItem(r,i.Ss())},e.prototype.Hs=function(e){var t=Jh(this.persistenceKey,this.currentUser,e);this.removeItem(t)},e.prototype.Xs=function(e){this.storage.setItem(this.Us,JSON.stringify({clientId:this.Ns,onlineState:e}))},e.prototype.Ys=function(e,t,n){var i=ed(this.persistenceKey,e),r=new nd(e,t,n);this.setItem(i,r.Ss())},e.prototype.Zs=function(){this.setItem(this.Ks,"value-not-used")},e.prototype.ti=function(e){var t=this.Ls.exec(e);return t?t[1]:null},e.prototype.ni=function(e,t){var n=this.ti(e);return id.Vs(n,t)},e.prototype.si=function(e,t){var n=this.Bs.exec(e),i=Number(n[1]);return td.Vs(new Yh(void 0!==n[2]?n[2]:null),i,t)},e.prototype.ri=function(e,t){var n=this.qs.exec(e),i=Number(n[1]);return nd.Vs(i,t)},e.prototype.js=function(e){return rd.Vs(e)},e.prototype.ii=function(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){return e.user.uid===this.currentUser.uid?[2,this.syncEngine.ui(e.batchId,e.state,e.error)]:(ys("SharedCl
1ientState","Ignoring mutation for non-active user "+e.user.uid),[2])}))}))},e.prototype.oi=function(e){return this.syncEngine.ai(e.targetId,e.state,e.error)},e.prototype.ei=function(e,t){var n=this,i=t?this.Fs.insert(e,t):this.Fs.remove(e),r=this.Gs(this.Fs),o=this.Gs(i),s=[],a=[];return o.forEach((function(e){r.has(e)||s.push(e)})),r.forEach((function(e){o.has(e)||a.push(e)})),this.syncEngine.hi(s,a).then((function(){n.Fs=i}))},e.prototype.Ws=function(e){this.Fs.get(e.clientId)&&this.onlineStateHandler(e.onlineState)},e.prototype.Gs=function(e){var t=$l();return e.forEach((function(e,n){t=t.unionWith(n.activeTargetIds)})),t},e}(),ad=function(){function e(){this.li=new od,this.fi={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}return e.prototype.addPendingMutation=function(e){},e.prototype.updateMutationState=function(e,t,n){},e.prototype.addLocalQueryTarget=function(e){return this.li.Ds(e),this.fi[e]||"not-current"},e.prototype.updateQueryState=function(e,t,n){this.fi[e]=t},e.prototype.removeLocalQueryTarget=function(e){this.li.Cs(e)},e.prototype.isLocalQueryTarget=function(e){return this.li.activeTargetIds.has(e)},e.prototype.clearQueryState=function(e){delete this.fi[e]},e.prototype.getAllActiveQueryTargets=function(){return this.li.activeTargetIds},e.prototype.isActiveQueryTarget=function(e){return this.li.activeTargetIds.has(e)},e.prototype.start=function(){return this.li=new od,Promise.resolve()},e.prototype.handleUserChange=function(e,t,n){},e.prototype.setOnlineState=function(e){},e.prototype.shutdown=function(){},e.prototype.writeSequenceNumber=function(e){},e.prototype.notifyBundleLoaded=function(){},e}(),ld=function(){function e(){}return e.prototype.di=function(e){},e.prototype.shutdown=function(){},e}(),cd=function(){function e(){var e=this;this.wi=function(){return e._i()},this.mi=function(){return e.yi()},this.gi=[],this.pi()}return e.prototype.di=function(e){this.gi.push(e)},e.prototype.shutdown=function(){window.removeEventListener("online",this.wi),window.removeEventListener("offline",this.mi)},e.prototype.pi=function(){window.addEventListener("online",this.wi),window.addEventListener("offline",this.mi)},e.prototype._i=function(){ys("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(var e=0,t=this.gi;e<t.length;e++)(0,t[e])(0)},e.prototype.yi=function(){ys("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(var e=0,t=this.gi;e<t.length;e++)(0,t[e])(1)},e.yt=function(){return"undefined"!=typeof window&&void 0!==window.addEventListener&&void 0!==window.removeEventListener},e}(),ud={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery"},hd=function(){function e(e){this.Ei=e.Ei,this.Ti=e.Ti}return e.prototype.Ii=function(e){this.Ai=e},e.prototype.Ri=function(e){this.bi=e},e.prototype.onMessage=function(e){this.vi=e},e.prototype.close=function(){this.Ti()},e.prototype.send=function(e){this.Ei(e)},e.prototype.Pi=function(){this.Ai()},e.prototype.Vi=function(e){this.bi(e)},e.prototype.Si=function(e){this.vi(e)},e}(),dd=function(e){function t(t){var n=this;return(n=e.call(this,t)||this).forceLongPolling=t.forceLongPolling,n.autoDetectLongPolling=t.autoDetectLongPolling,n.useFetchStreams=t.useFetchStreams,n}return Object(sn.c)(t,e),t.prototype.Fi=function(e,t,n,i){return new Promise((function(r,o){var s=new fs;s.listenOnce(us.COMPLETE,(function(){try{switch(s.getLastErrorCode()){case cs.NO_ERROR:var t=s.getResponseJson();ys("Connection","XHR received:",JSON.stringify(t)),r(t);break;case cs.TIMEOUT:ys("Connection",'RPC "'+e+'" timed out'),o(new bs(gs.DEADLINE_EXCEEDED,"Request time out"));break;case cs.HTTP_ERROR:var n=s.getStatus();if(ys("Connection",'RPC "'+e+'" failed with status:',n,"response text:",s.getResponseText()),n>0){var i=s.getResponseJson().error;if(i&&i.status&&i.message){var a=function(e){var t=e.toLowerCase().replace(/_/g,"-");return Object.values(gs).indexOf(t)>=0?t:gs.UNKNOWN}(i.status);o(new bs(a,i.message))}else o(new bs(gs.UNKNOWN,"Server responded with status "+s.getStatus()))}else o(new bs(gs.UNAVAILABLE,"Connection failed."));break;default:Ss()}}finally{ys("Connection",'RPC "'+e+'" completed.')}}));var a=JSON.stringify(i);s.send(t,"POST",a,n,15)}))},t.prototype.Oi=function(e,t){var n=[this.Di,"/","google.firestore.v1.Firestore","/",e,"/channel"],i=new rs,r=Yi(),o={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:"projects/"+this.databaseId.projectId+"/databases/"+this.databaseId.database}
1,sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling};this.useFetchStreams&&(o.xmlHttpFactory=new ds({})),this.ki(o.initMessageHeaders,t),Object(an.r)()||Object(an.t)()||Object(an.o)()||Object(an.p)()||Object(an.v)()||Object(an.n)()||(o.httpHeadersOverwriteParam="$httpHeaders");var s=n.join("");ys("Connection","Creating WebChannel: "+s,o);var a=i.createWebChannel(s,o),l=!1,c=!1,u=new hd({Ei:function(e){c?ys("Connection","Not sending because WebChannel is closed:",e):(l||(ys("Connection","Opening WebChannel transport."),a.open(),l=!0),ys("Connection","WebChannel sending:",e),a.send(e))},Ti:function(){return a.close()}}),h=function(e,t,n){e.listen(t,(function(e){try{n(e)}catch(e){setTimeout((function(){throw e}),0)}}))};return h(a,ps.EventType.OPEN,(function(){c||ys("Connection","WebChannel transport opened.")})),h(a,ps.EventType.CLOSE,(function(){c||(c=!0,ys("Connection","WebChannel transport closed"),u.Vi())})),h(a,ps.EventType.ERROR,(function(e){c||(c=!0,Cs("Connection","WebChannel transport errored:",e),u.Vi(new bs(gs.UNAVAILABLE,"The operation could not be completed")))})),h(a,ps.EventType.MESSAGE,(function(e){var t;if(!c){var n=e.data[0];Os(!!n);var i=n.error||(null===(t=n[0])||void 0===t?void 0:t.error);if(i){ys("Connection","WebChannel received error:",i);var r=i.status,o=function(e){var t=Pl[e];if(void 0!==t)return jl(t)}(r),s=i.message;void 0===o&&(o=gs.INTERNAL,s="Unknown error status: "+r+" with message "+i.message),c=!0,u.Vi(new bs(o,s)),a.close()}else ys("Connection","WebChannel received:",n),u.Si(n)}})),h(r,hs.STAT_EVENT,(function(e){10===e.stat?ys("Connection","Detected buffering proxy"):11===e.stat&&ys("Connection","Detected no buffering proxy")})),setTimeout((function(){u.Pi()}),0),u},t}(function(){function e(e){this.databaseInfo=e,this.databaseId=e.databaseId,this.Di=(e.ssl?"https":"http")+"://"+e.host,this.Ci="projects/"+this.databaseId.projectId+"/databases/"+this.databaseId.database+"/documents"}return e.prototype.Ni=function(e,t,n,i){var r=this.xi(e,t);ys("RestConnection","Sending: ",r,n);var o={};return this.ki(o,i),this.Fi(e,r,o,n).then((function(e){return ys("RestConnection","Received: ",e),e}),(function(t){throw Cs("RestConnection",e+" failed with error: ",t,"url: ",r,"request:",n),t}))},e.prototype.$i=function(e,t,n,i){return this.Ni(e,t,n,i)},e.prototype.ki=function(e,t){if(e["X-Goog-Api-Client"]="gl-js/ fire/8.10.1",e["Content-Type"]="text/plain",this.databaseInfo.appId&&(e["X-Firebase-GMPID"]=this.databaseInfo.appId),t)for(var n in t.authHeaders)t.authHeaders.hasOwnProperty(n)&&(e[n]=t.authHeaders[n])},e.prototype.xi=function(e,t){return this.Di+"/v1/"+t+":"+ud[e]},e}());function pd(){return"undefined"!=typeof window?window:null}function fd(){return"undefined"!=typeof document?document:null}function md(e){return new ac(e,!0)}var gd=function(){function e(e,t,n,i,r){void 0===n&&(n=1e3),void 0===i&&(i=1.5),void 0===r&&(r=6e4),this.Se=e,this.timerId=t,this.Mi=n,this.Li=i,this.Bi=r,this.qi=0,this.Ui=null,this.Ki=Date.now(),this.reset()}return e.prototype.reset=function(){this.qi=0},e.prototype.Qi=function(){this.qi=this.Bi},e.prototype.ji=function(e){var t=this;this.cancel();var n=Math.floor(this.qi+this.Wi()),i=Math.max(0,Date.now()-this.Ki),r=Math.max(0,n-i);r>0&&ys("ExponentialBackoff","Backing off for "+r+" ms (base delay: "+this.qi+" ms, delay with jitter: "+n+" ms, last attempt: "+i+" ms ago)"),this.Ui=this.Se.enqueueAfterDelay(this.timerId,r,(function(){return t.Ki=Date.now(),e()})),this.qi*=this.Li,this.qi<this.Mi&&(this.qi=this.Mi),this.qi>this.Bi&&(this.qi=this.Bi)},e.prototype.Gi=function(){null!==this.Ui&&(this.Ui.skipDelay(),this.Ui=null)},e.prototype.cancel=function(){null!==this.Ui&&(this.Ui.cancel(),this.Ui=null)},e.prototype.Wi=function(){return(Math.random()-.5)*this.qi},e}(),bd=function(){function e(e,t,n,i,r,o){this.Se=e,this.zi=n,this.Hi=i,this.Ji=r,this.listener=o,this.state=0,this.Yi=0,this.Xi=null,this.stream=null,this.Zi=new gd(e,t)}return e.prototype.tr=function(){return 1===this.state||2===this.state||4===this.state},e.prototype.er=function(){return 2===this.state},e.prototype.start=function(){3!==this.state?this.auth():this.nr()},e.prototype.stop=function(){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){switch(e.label){case 0:return this.tr()?[4,this.close(0)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}
1))}))},e.prototype.sr=function(){this.state=0,this.Zi.reset()},e.prototype.ir=function(){var e=this;this.er()&&null===this.Xi&&(this.Xi=this.Se.enqueueAfterDelay(this.zi,6e4,(function(){return e.rr()})))},e.prototype.cr=function(e){this.ur(),this.stream.send(e)},e.prototype.rr=function(){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){return this.er()?[2,this.close(0)]:[2]}))}))},e.prototype.ur=function(){this.Xi&&(this.Xi.cancel(),this.Xi=null)},e.prototype.close=function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(n){switch(n.label){case 0:return this.ur(),this.Zi.cancel(),this.Yi++,3!==e?this.Zi.reset():t&&t.code===gs.RESOURCE_EXHAUSTED?(ws(t.toString()),ws("Using maximum backoff delay to prevent overloading the backend."),this.Zi.Qi()):t&&t.code===gs.UNAUTHENTICATED&&this.Ji.invalidateToken(),null!==this.stream&&(this.ar(),this.stream.close(),this.stream=null),this.state=e,[4,this.listener.Ri(t)];case 1:return n.sent(),[2]}}))}))},e.prototype.ar=function(){},e.prototype.auth=function(){var e=this;this.state=1;var t=this.hr(this.Yi),n=this.Yi;this.Ji.getToken().then((function(t){e.Yi===n&&e.lr(t)}),(function(n){t((function(){var t=new bs(gs.UNKNOWN,"Fetching auth token failed: "+n.message);return e.dr(t)}))}))},e.prototype.lr=function(e){var t=this,n=this.hr(this.Yi);this.stream=this.wr(e),this.stream.Ii((function(){n((function(){return t.state=2,t.listener.Ii()}))})),this.stream.Ri((function(e){n((function(){return t.dr(e)}))})),this.stream.onMessage((function(e){n((function(){return t.onMessage(e)}))}))},e.prototype.nr=function(){var e=this;this.state=4,this.Zi.ji((function(){return Object(sn.b)(e,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){return this.state=0,this.start(),[2]}))}))}))},e.prototype.dr=function(e){return ys("PersistentStream","close with error: "+e),this.stream=null,this.close(3,e)},e.prototype.hr=function(e){var t=this;return function(n){t.Se.enqueueAndForget((function(){return t.Yi===e?n():(ys("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())}))}},e}(),_d=function(e){function t(t,n,i,r,o){var s=this;return(s=e.call(this,t,"listen_stream_connection_backoff","listen_stream_idle",n,i,o)||this).R=r,s}return Object(sn.c)(t,e),t.prototype.wr=function(e){return this.Hi.Oi("Listen",e)},t.prototype.onMessage=function(e){this.Zi.reset();var t=function(e,t){var n;if("targetChange"in t){var i=function(e){return"NO_CHANGE"===e?0:"ADD"===e?1:"REMOVE"===e?2:"CURRENT"===e?3:"RESET"===e?4:Ss()}(t.targetChange.targetChangeType||"NO_CHANGE"),r=t.targetChange.targetIds||[],o=function(e,t){return e.I?(Os(void 0===t||"string"==typeof t),Hs.fromBase64String(t||"")):(Os(void 0===t||t instanceof Uint8Array),Hs.fromUint8Array(t||new Uint8Array))}(e,t.targetChange.resumeToken),s=(a=t.targetChange.cause)&&function(e){var t=void 0===e.code?gs.UNKNOWN:jl(e.code);return new bs(t,e.message||"")}(a);n=new ec(i,r,o,s||null)}else if("documentChange"in t){r=mc(e,(i=t.documentChange).document.name),o=hc(i.document.updateTime);var a=new da({mapValue:{fields:i.document.fields}}),l=(s=fa.newFoundDocument(r,o,a),i.targetIds||[]);n=new Zl(l,i.removedTargetIds||[],s.key,s)}else if("documentDelete"in t)r=mc(e,(i=t.documentDelete).document),o=i.readTime?hc(i.readTime):Ds.min(),a=fa.newNoDocument(r,o),n=new Zl([],s=i.removedTargetIds||[],a.key,a);else if("documentRemove"in t)r=mc(e,(i=t.documentRemove).document),n=new Zl([],o=i.removedTargetIds||[],r,null);else{if(!("filter"in t))return Ss();var c=t.filter;r=new Al(i=c.count||0),n=new Jl(o=c.targetId,r)}return n}(this.R,e),n=function(e){if(!("targetChange"in e))return Ds.min();var t=e.targetChange;return t.targetIds&&t.targetIds.length?Ds.min():t.readTime?hc(t.readTime):Ds.min()}(e);return this.listener._r(t,n)},t.prototype.mr=function(e){var t={};t.database=_c(this.R),t.addTarget=function(e,t){var n,i=t.target;return(n=va(i)?{documents:Sc(e,i)}:{query:Oc(e,i)}).targetId=t.targetId,t.resumeToken.approximateByteSize()>0?n.resumeToken=cc(e,t.resumeToken):t.snapshotVersion.compareTo(Ds.min())>0&&(n.readTime=lc(e,t.snapshotVersion.toTimestamp())),n}(this.R,e);var n=function(e,t){var n=function(e,t){switch(t){case 0:return null;case 1:return"existence-filter-mismatch";case 2:return"limbo-document";default:return Ss()}}(0,t.purpose);return null==n?null:{"goog-listen-tags":n}}(0,e);n&&(t.labels=n),this.cr(t)},t.prototype.yr=function(e){var t={};t.database=_c(this.R),t.removeTarget=e,this.cr(t)},t}(bd),vd=function(e){function t(t,n,i,r,o){var s=this;return(s=e.call(this,t,"write_stream_connection_backoff","write_stream_idle",n,i,o)||this).R=r,s.gr=!1,s}return Object(sn.c)(t,e),Object.defineProperty(t.prototype,"pr",{get:function(){return this.gr}
1,enumerable:!1,configurable:!0}),t.prototype.start=function(){this.gr=!1,this.lastStreamToken=void 0,e.prototype.start.call(this)},t.prototype.ar=function(){this.gr&&this.Er([])},t.prototype.wr=function(e){return this.Hi.Oi("Write",e)},t.prototype.onMessage=function(e){if(Os(!!e.streamToken),this.lastStreamToken=e.streamToken,this.gr){this.Zi.reset();var t=function(e,t){return e&&e.length>0?(Os(void 0!==t),e.map((function(e){return function(e,t){var n=hc(e.updateTime?e.updateTime:t);return n.isEqual(Ds.min())&&(n=hc(t)),new fl(n,e.transformResults||[])}(e,t)}))):[]}(e.writeResults,e.commitTime),n=hc(e.commitTime);return this.listener.Tr(n,t)}return Os(!e.writeResults||0===e.writeResults.length),this.gr=!0,this.listener.Ir()},t.prototype.Ar=function(){var e={};e.database=_c(this.R),this.cr(e)},t.prototype.Er=function(e){var t=this,n={streamToken:this.lastStreamToken,writes:e.map((function(e){return Cc(t.R,e)}))};this.cr(n)},t}(bd),yd=function(e){function t(t,n,i){var r=this;return(r=e.call(this)||this).credentials=t,r.Hi=n,r.R=i,r.Rr=!1,r}return Object(sn.c)(t,e),t.prototype.br=function(){if(this.Rr)throw new bs(gs.FAILED_PRECONDITION,"The client has already been terminated.")},t.prototype.Ni=function(e,t,n){var i=this;return this.br(),this.credentials.getToken().then((function(r){return i.Hi.Ni(e,t,n,r)})).catch((function(e){throw"FirebaseError"===e.name?(e.code===gs.UNAUTHENTICATED&&i.credentials.invalidateToken(),e):new bs(gs.UNKNOWN,e.toString())}))},t.prototype.$i=function(e,t,n){var i=this;return this.br(),this.credentials.getToken().then((function(r){return i.Hi.$i(e,t,n,r)})).catch((function(e){throw"FirebaseError"===e.name?(e.code===gs.UNAUTHENTICATED&&i.credentials.invalidateToken(),e):new bs(gs.UNKNOWN,e.toString())}))},t.prototype.terminate=function(){this.Rr=!0},t}((function(){})),wd=function(){function e(e,t){this.asyncQueue=e,this.onlineStateHandler=t,this.state="Unknown",this.vr=0,this.Pr=null,this.Vr=!0}return e.prototype.Sr=function(){var e=this;0===this.vr&&(this.Dr("Unknown"),this.Pr=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,(function(){return e.Pr=null,e.Cr("Backend didn't respond within 10 seconds."),e.Dr("Offline"),Promise.resolve()})))},e.prototype.Nr=function(e){"Online"===this.state?this.Dr("Unknown"):(this.vr++,this.vr>=1&&(this.kr(),this.Cr("Connection failed 1 times. Most recent error: "+e.toString()),this.Dr("Offline")))},e.prototype.set=function(e){this.kr(),this.vr=0,"Online"===e&&(this.Vr=!1),this.Dr(e)},e.prototype.Dr=function(e){e!==this.state&&(this.state=e,this.onlineStateHandler(e))},e.prototype.Cr=function(e){var t="Could not reach Cloud Firestore backend. "+e+"\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.";this.Vr?(ws(t),this.Vr=!1):ys("OnlineStateTracker",t)},e.prototype.kr=function(){null!==this.Pr&&(this.Pr.cancel(),this.Pr=null)},e}(),Cd=function(e,t,n,i,r){var o=this;this.localStore=e,this.datastore=t,this.asyncQueue=n,this.remoteSyncer={},this.Fr=[],this.$r=new Map,this.Or=new Set,this.Mr=[],this.Lr=r,this.Lr.di((function(e){n.enqueueAndForget((function(){return Object(sn.b)(o,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){switch(e.label){case 0:return Md(this)?(ys("RemoteStore","Restarting streams for network reachability change."),[4,function(e){return Object(sn.b)(this,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return(t=ks(e)).Or.add(4),[4,Sd(t)];case 1:return n.sent(),t.Br.set("Unknown"),t.Or.delete(4),[4,xd(t)];case 2:return n.sent(),[2]}}))}))}(this)]):[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}
1))}))}))})),this.Br=new wd(n,i)};function xd(e){return Object(sn.b)(this,void 0,void 0,(function(){var t,n;return Object(sn.d)(this,(function(i){switch(i.label){case 0:if(!Md(e))return[3,4];t=0,n=e.Mr,i.label=1;case 1:return t<n.length?[4,(0,n[t])(!0)]:[3,4];case 2:i.sent(),i.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}))}function Sd(e){return Object(sn.b)(this,void 0,void 0,(function(){var t,n;return Object(sn.d)(this,(function(i){switch(i.label){case 0:t=0,n=e.Mr,i.label=1;case 1:return t<n.length?[4,(0,n[t])(!1)]:[3,4];case 2:i.sent(),i.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}))}function Od(e,t){var n=ks(e);n.$r.has(t.targetId)||(n.$r.set(t.targetId,t),Td(n)?Id(n):Wd(n).er()&&Ed(n,t))}function kd(e,t){var n=ks(e),i=Wd(n);n.$r.delete(t),i.er()&&Pd(n,t),0===n.$r.size&&(i.er()?i.ir():Md(n)&&n.Br.set("Unknown"))}function Ed(e,t){e.qr.U(t.targetId),Wd(e).mr(t)}function Pd(e,t){e.qr.U(t),Wd(e).yr(t)}function Id(e){e.qr=new nc({getRemoteKeysForTarget:function(t){return e.remoteSyncer.getRemoteKeysForTarget(t)},lt:function(t){return e.$r.get(t)||null}}),Wd(e).start(),e.Br.Sr()}function Td(e){return Md(e)&&!Wd(e).tr()&&e.$r.size>0}function Md(e){return 0===ks(e).Or.size}function Ad(e){e.qr=void 0}function Dd(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){return e.$r.forEach((function(t,n){Ed(e,t)})),[2]}))}))}function jd(e,t){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(n){return Ad(e),Td(e)?(e.Br.Nr(t),Id(e)):e.Br.set("Unknown"),[2]}))}))}function Nd(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r,o;return Object(sn.d)(this,(function(s){switch(s.label){case 0:if(e.Br.set("Online"),!(t instanceof ec&&2===t.state&&t.cause))return[3,6];s.label=1;case 1:return s.trys.push([1,3,,5]),[4,function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o;return Object(sn.d)(this,(function(s){switch(s.label){case 0:n=t.cause,i=0,r=t.targetIds,s.label=1;case 1:return i<r.length?e.$r.has(o=r[i])?[4,e.remoteSyncer.rejectListen(o,n)]:[3,3]:[3,5];case 2:s.sent(),e.$r.delete(o),e.qr.removeTarget(o),s.label=3;case 3:s.label=4;case 4:return i++,[3,1];case 5:return[2]}}
1))}))}(e,t)];case 2:return s.sent(),[3,5];case 3:return i=s.sent(),ys("RemoteStore","Failed to remove targets %s: %s ",t.targetIds.join(","),i),[4,Rd(e,i)];case 4:return s.sent(),[3,5];case 5:return[3,13];case 6:if(t instanceof Zl?e.qr.X(t):t instanceof Jl?e.qr.rt(t):e.qr.et(t),n.isEqual(Ds.min()))return[3,13];s.label=7;case 7:return s.trys.push([7,11,,13]),[4,Ih(e.localStore)];case 8:return r=s.sent(),n.compareTo(r)>=0?[4,function(e,t){var n=e.qr.ut(t);return n.targetChanges.forEach((function(n,i){if(n.resumeToken.approximateByteSize()>0){var r=e.$r.get(i);r&&e.$r.set(i,r.withResumeToken(n.resumeToken,t))}})),n.targetMismatches.forEach((function(t){var n=e.$r.get(t);if(n){e.$r.set(t,n.withResumeToken(Hs.EMPTY_BYTE_STRING,n.snapshotVersion)),Pd(e,t);var i=new wu(n.target,t,1,n.sequenceNumber);Ed(e,i)}})),e.remoteSyncer.applyRemoteEvent(n)}(e,n)]:[3,10];case 9:s.sent(),s.label=10;case 10:return[3,13];case 11:return ys("RemoteStore","Failed to raise snapshot:",o=s.sent()),[4,Rd(e,o)];case 12:return s.sent(),[3,13];case 13:return[2]}}
1))}))}function Rd(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i=this;return Object(sn.d)(this,(function(r){switch(r.label){case 0:if(!du(t))throw t;return e.Or.add(1),[4,Sd(e)];case 1:return r.sent(),e.Br.set("Offline"),n||(n=function(){return Ih(e.localStore)}),e.asyncQueue.enqueueRetryable((function(){return Object(sn.b)(i,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return ys("RemoteStore","Retrying IndexedDB access"),[4,n()];case 1:return t.sent(),e.Or.delete(1),[4,xd(e)];case 2:return t.sent(),[2]}}))}))})),[2]}}))}))}function Ld(e,t){return t().catch((function(n){return Rd(e,n,t)}))}function Fd(e){return Object(sn.b)(this,void 0,void 0,(function(){var t,n,i,r,o;return Object(sn.d)(this,(function(s){switch(s.label){case 0:t=ks(e),n=Kd(t),i=t.Fr.length>0?t.Fr[t.Fr.length-1].batchId:-1,s.label=1;case 1:if(!function(e){return Md(e)&&e.Fr.length<10}(t))return[3,7];s.label=2;case 2:return s.trys.push([2,4,,6]),[4,Ah(t.localStore,i)];case 3:return null===(r=s.sent())?(0===t.Fr.length&&n.ir(),[3,7]):(i=r.batchId,function(e,t){e.Fr.push(t);var n=Kd(e);n.er()&&n.pr&&n.Er(t.mutations)}(t,r),[3,6]);case 4:return o=s.sent(),[4,Rd(t,o)];case 5:return s.sent(),[3,6];case 6:return[3,1];case 7:return Vd(t)&&Bd(t),[2]}}))}))}function Vd(e){return Md(e)&&!Kd(e).tr()&&e.Fr.length>0}function Bd(e){Kd(e).start()}function Ud(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){return Kd(e).Ar(),[2]}))}))}function Hd(e){return Object(sn.b)(this,void 0,void 0,(function(){var t,n,i;return Object(sn.d)(this,(function(r){for(t=Kd(e),n=0,i=e.Fr;n<i.length;n++)t.Er(i[n].mutations);return[2]}))}))}function zd(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return i=e.Fr.shift(),r=yu.from(i,t,n),[4,Ld(e,(function(){return e.remoteSyncer.applySuccessfulWrite(r)}))];case 1:return o.sent(),[4,Fd(e)];case 2:return o.sent(),[2]}}))}))}function Gd(e,t){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(n){switch(n.label){case 0:return t&&Kd(e).pr?[4,function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return Dl(i=t.code)&&i!==gs.ABORTED?(n=e.Fr.shift(),Kd(e).sr(),[4,Ld(e,(function(){return e.remoteSyncer.rejectFailedWrite(n.batchId,t)}))]):[3,3];case 1:return r.sent(),[4,Fd(e)];case 2:r.sent(),r.label=3;case 3:return[2]}}
1))}))}(e,t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return Vd(e)&&Bd(e),[2]}}))}))}function qd(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return n=ks(e),t?(n.Or.delete(2),[4,xd(n)]):[3,2];case 1:return i.sent(),[3,5];case 2:return t?[3,4]:(n.Or.add(2),[4,Sd(n)]);case 3:i.sent(),n.Br.set("Unknown"),i.label=4;case 4:i.label=5;case 5:return[2]}}))}))}function Wd(e){var t=this;return e.Ur||(e.Ur=function(e,t,n){var i=ks(e);return i.br(),new _d(t,i.Hi,i.credentials,i.R,n)}(e.datastore,e.asyncQueue,{Ii:Dd.bind(null,e),Ri:jd.bind(null,e),_r:Nd.bind(null,e)}),e.Mr.push((function(n){return Object(sn.b)(t,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return n?(e.Ur.sr(),Td(e)?Id(e):e.Br.set("Unknown"),[3,3]):[3,1];case 1:return[4,e.Ur.stop()];case 2:t.sent(),Ad(e),t.label=3;case 3:return[2]}}))}))}))),e.Ur}function Kd(e){var t=this;return e.Kr||(e.Kr=function(e,t,n){var i=ks(e);return i.br(),new vd(t,i.Hi,i.credentials,i.R,n)}(e.datastore,e.asyncQueue,{Ii:Ud.bind(null,e),Ri:Gd.bind(null,e),Ir:Hd.bind(null,e),Tr:zd.bind(null,e)}),e.Mr.push((function(n){return Object(sn.b)(t,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return n?(e.Kr.sr(),[4,Fd(e)]):[3,2];case 1:return t.sent(),[3,4];case 2:return[4,e.Kr.stop()];case 3:t.sent(),e.Fr.length>0&&(ys("RemoteStore","Stopping write stream with "+e.Fr.length+" pending writes"),e.Fr=[]),t.label=4;case 4:return[2]}}
1))}))}))),e.Kr}var Xd=function(){function e(e,t,n,i,r){this.asyncQueue=e,this.timerId=t,this.targetTimeMs=n,this.op=i,this.removalCallback=r,this.deferred=new su,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch((function(e){}))}return e.createAndSchedule=function(t,n,i,r,o){var s=new e(t,n,Date.now()+i,r,o);return s.start(i),s},e.prototype.start=function(e){var t=this;this.timerHandle=setTimeout((function(){return t.handleDelayElapsed()}),e)},e.prototype.skipDelay=function(){return this.handleDelayElapsed()},e.prototype.cancel=function(e){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new bs(gs.CANCELLED,"Operation cancelled"+(e?": "+e:""))))},e.prototype.handleDelayElapsed=function(){var e=this;this.asyncQueue.enqueueAndForget((function(){return null!==e.timerHandle?(e.clearTimeout(),e.op().then((function(t){return e.deferred.resolve(t)}))):Promise.resolve()}))},e.prototype.clearTimeout=function(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)},e}();function $d(e,t){if(ws("AsyncQueue",t+": "+e),du(e))return new bs(gs.UNAVAILABLE,t+": "+e);throw e}var Qd=function(){function e(e){this.comparator=e?function(t,n){return e(t,n)||Zs.comparator(t.key,n.key)}:function(e,t){return Zs.comparator(e.key,t.key)},this.keyedMap=zl(),this.sortedSet=new Nl(this.comparator)}return e.emptySet=function(t){return new e(t.comparator)},e.prototype.has=function(e){return null!=this.keyedMap.get(e)},e.prototype.get=function(e){return this.keyedMap.get(e)},e.prototype.first=function(){return this.sortedSet.minKey()},e.prototype.last=function(){return this.sortedSet.maxKey()},e.prototype.isEmpty=function(){return this.sortedSet.isEmpty()},e.prototype.indexOf=function(e){var t=this.keyedMap.get(e);return t?this.sortedSet.indexOf(t):-1},Object.defineProperty(e.prototype,"size",{get:function(){return this.sortedSet.size},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e){this.sortedSet.inorderTraversal((function(t,n){return e(t),!1}))},e.prototype.add=function(e){var t=this.delete(e.key);return t.copy(t.keyedMap.insert(e.key,e),t.sortedSet.insert(e,null))},e.prototype.delete=function(e){var t=this.get(e);return t?this.copy(this.keyedMap.remove(e),this.sortedSet.remove(t)):this},e.prototype.isEqual=function(t){if(!(t instanceof e))return!1;if(this.size!==t.size)return!1;for(var n=this.sortedSet.getIterator(),i=t.sortedSet.getIterator();n.hasNext();){var r=n.getNext().key,o=i.getNext().key;if(!r.isEqual(o))return!1}return!0},e.prototype.toString=function(){var e=[];return this.forEach((function(t){e.push(t.toString())})),0===e.length?"DocumentSet ()":"DocumentSet (\n  "+e.join("  \n")+"\n)"},e.prototype.copy=function(t,n){var i=new e;return i.comparator=this.comparator,i.keyedMap=t,i.sortedSet=n,i},e}(),Yd=function(){function e(){this.Qr=new Nl(Zs.comparator)}return e.prototype.track=function(e){var t=e.doc.key,n=this.Qr.get(t);n?0!==e.type&&3===n.type?this.Qr=this.Qr.insert(t,e):3===e.type&&1!==n.type?this.Qr=this.Qr.insert(t,{type:n.type,doc:e.doc}):2===e.type&&2===n.type?this.Qr=this.Qr.insert(t,{type:2,doc:e.doc}):2===e.type&&0===n.type?this.Qr=this.Qr.insert(t,{type:0,doc:e.doc}):1===e.type&&0===n.type?this.Qr=this.Qr.remove(t):1===e.type&&2===n.type?this.Qr=this.Qr.insert(t,{type:1,doc:n.doc}):0===e.type&&1===n.type?this.Qr=this.Qr.insert(t,{type:2,doc:e.doc}):Ss():this.Qr=this.Qr.insert(t,e)},e.prototype.jr=function(){var e=[];return this.Qr.inorderTraversal((function(t,n){e.push(n)})),e},e}(),Zd=function(){function e(e,t,n,i,r,o,s,a){this.query=e,this.docs=t,this.oldDocs=n,this.docChanges=i,this.mutatedKeys=r,this.fromCache=o,this.syncStateChanged=s,this.excludesMetadataChanges=a}return e.fromInitialDocuments=function(t,n,i,r){var o=[];return n.forEach((function(e){o.push({type:0,doc:e})})),new e(t,n,Qd.emptySet(n),o,i,r,!0,!1)},Object.defineProperty(e.prototype,"hasPendingWrites",{get:function(){return!this.mutatedKeys.isEmpty()},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){if(!(this.fromCache===e.fromCache&&this.syncStateChanged===e.syncStateChanged&&this.mutatedKeys.isEqual(e.mutatedKeys)&&Wa(this.query,e.query)&&this.docs.isEqual(e.docs)&&this.oldDocs.isEqual(e.oldDocs)))return!1;var t=this.docChanges,n=e.docChanges;if(t.length!==n.length)return!1;for(var i=0;i<t.length;i++)if(t[i].type!==n[i].type||!t[i].doc.isEqual(n[i].doc))return!1;return!0},e}(),Jd=function(){this.Wr=void 0,this.listeners=[]},ep=function(){this.queries=new ah((function(e){return Ka(e)}),Wa),this.onlineState="Unknown",this.Gr=new Set};function tp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s,a,l;return Object(sn.d)(this,(function(c){switch(c.label){case 0:if(n=ks(e),r=!1,(o=n.queries.get(i=t.query))||(r=!0,o=new Jd),!r)return[3,4];c.label=1;case 1:return c.trys.push([1,3,,4]),s=o,[4,n.onListen(i)];case 2:return s.Wr=c.sent(),[3,4];case 3:return a=c.sent(),l=$d(a,"Initialization of query '"+Xa(t.query)+"' failed"),[2,void t.onError(l)];case 4:return n.queries.set(i,o),o.listeners.push(t),t.zr(n.onlineState),o.Wr&&t.Hr(o.Wr)&&op(n),[2]}}))}))}function np(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s;return Object(sn.d)(this,(function(a){return n=ks(e),r=!1,(o=n.queries.get(i=t.query))&&
1(s=o.listeners.indexOf(t))>=0&&(o.listeners.splice(s,1),r=0===o.listeners.length),r?[2,(n.queries.delete(i),n.onUnlisten(i))]:[2]}))}))}function ip(e,t){for(var n=ks(e),i=!1,r=0,o=t;r<o.length;r++){var s=o[r],a=n.queries.get(s.query);if(a){for(var l=0,c=a.listeners;l<c.length;l++)c[l].Hr(s)&&(i=!0);a.Wr=s}}i&&op(n)}function rp(e,t,n){var i=ks(e),r=i.queries.get(t);if(r)for(var o=0,s=r.listeners;o<s.length;o++)s[o].onError(n);i.queries.delete(t)}function op(e){e.Gr.forEach((function(e){e.next()}))}var sp=function(){function e(e,t,n){this.query=e,this.Jr=t,this.Yr=!1,this.Xr=null,this.onlineState="Unknown",this.options=n||{}}return e.prototype.Hr=function(e){if(!this.options.includeMetadataChanges){for(var t=[],n=0,i=e.docChanges;n<i.length;n++){var r=i[n];3!==r.type&&t.push(r)}e=new Zd(e.query,e.docs,e.oldDocs,t,e.mutatedKeys,e.fromCache,e.syncStateChanged,!0)}var o=!1;return this.Yr?this.Zr(e)&&(this.Jr.next(e),o=!0):this.eo(e,this.onlineState)&&(this.no(e),o=!0),this.Xr=e,o},e.prototype.onError=function(e){this.Jr.error(e)},e.prototype.zr=function(e){this.onlineState=e;var t=!1;return this.Xr&&!this.Yr&&this.eo(this.Xr,e)&&(this.no(this.Xr),t=!0),t},e.prototype.eo=function(e,t){return!e.fromCache||!(this.options.so&&"Offline"!==t||e.docs.isEmpty()&&"Offline"!==t)},e.prototype.Zr=function(e){return e.docChanges.length>0||!!(e.syncStateChanged||this.Xr&&this.Xr.hasPendingWrites!==e.hasPendingWrites)&&!0===this.options.includeMetadataChanges},e.prototype.no=function(e){e=Zd.fromInitialDocuments(e.query,e.docs,e.mutatedKeys,e.fromCache),this.Yr=!0,this.Jr.next(e)},e}(),ap=function(){function e(e,t){this.payload=e,this.byteLength=t}return e.prototype.io=function(){return"metadata"in this.payload},e}(),lp=function(){function e(e){this.R=e}return e.prototype.qn=function(e){return mc(this.R,e)},e.prototype.Un=function(e){return e.metadata.exists?wc(this.R,e.document,!1):fa.newNoDocument(this.qn(e.metadata.name),this.Kn(e.metadata.readTime))},e.prototype.Kn=function(e){return hc(e)},e}();!function(){function e(e,t,n){this.ro=e,this.localStore=t,this.R=n,this.queries=[],this.documents=[],this.progress=function(e){return{taskState:"Running",documentsLoaded:0,bytesLoaded:0,totalDocuments:e.totalDocuments,totalBytes:e.totalBytes}}(e)}e.prototype.oo=function(e){this.progress.bytesLoaded+=e.byteLength;var t=this.progress.documentsLoaded;return e.payload.namedQuery?this.queries.push(e.payload.namedQuery):e.payload.documentMetadata?(this.documents.push({metadata:e.payload.documentMetadata}),e.payload.documentMetadata.exists||++t):e.payload.document&&(this.documents[this.documents.length-1].document=e.payload.document,++t),t!==this.progress.documentsLoaded?(this.progress.documentsLoaded=t,Object.assign({},this.progress)):null},e.prototype.co=function(e){for(var t=new Map,n=new lp(this.R),i=0,r=e;i<r.length;i++){var o=r[i];if(o.metadata.queries)for(var s=n.qn(o.metadata.name),a=0,l=o.metadata.queries;a<l.length;a++){var c=l[a],u=(t.get(c)||Kl()).add(s);t.set(c,u)}}return t},e.prototype.complete=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t,n,i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return[4,Vh(this.localStore,new lp(this.R),this.documents,this.ro.id)];case 1:e=o.sent(),t=this.co(this.documents),n=0,i=this.queries,o.label=2;case 2:return n<i.length?[4,Bh(this.localStore,r=i[n],t.get(r.name))]:[3,5];case 3:o.sent(),o.label=4;case 4:return n++,[3,2];case 5:return[2,(this.progress.taskState="Success",new wh(Object.assign({},this.progress),e))]}}))}))}}();var cp=function(e){this.key=e},up=function(e){this.key=e},hp=function(){function e(e,t){this.query=e,this.uo=t,this.ao=null,this.current=!1,this.ho=Kl(),this.mutatedKeys=Kl(),this.lo=Qa(e),this.fo=new Qd(this.lo)}return Object.defineProperty(e.prototype,"wo",{get:function(){return this.uo},enumerable:!1,configurable:!0}),e.prototype._o=function(e,t){var n=this,i=t?t.mo:new Yd,r=t?t.fo:this.fo,o=t?t.mutatedKeys:this.mutatedKeys,s=r,a=!1,l=Fa(this.query)&&r.size===this.query.limit?r.last():null,c=Va(this.query)&&r.size===this.query.limit?r.first():null;if(e.inorderTraversal((function(e,t){var u=r.get(e),h=$a(n.query,t)?t:null,d=!!u&&n.mutatedKeys.has(u.key),p=!!h&&(h.hasLocalMutations||n.mutatedKeys.has(h.key)&&h.hasCommittedMutations),f=!1;u&&h?u.data.isEqual(h.data)?d!==p&&(i.track({type:3,doc:h}),f=!0):n.yo(u,h)||(i.track({type:2,doc:h}),f=!0,(l&&n.lo(h,l)>0||c&&n.lo(h,c)<0)&&(a=!0)):!u&&h?(i.track({type:0,doc:h}),f=!0):u&&!h&&(i.track({type:1,doc:u}),f=!0,(l||c)&&(a=!0)),f&&(h?(s=s.add(h),o=p?o.add(e):o.delete(e)):(s=s.delete(e),o=o.delete(e)))})),Fa(this.query)||Va(this.query))for(;s.size>this.query.limit;){var u=Fa(this.query)?s.last():s.first();s=s.delete(u.key),o=o.delete(u.key),i.track({type:1,doc:u})}return{fo:s,mo:i,Nn:a,mutatedKeys:o}},e.prototype.yo=function(e,t){return e.hasLocalMutations&&t.hasCommittedMutations&&!t.hasLocalMutations},e.prototype.applyChanges=function(e,t,n){var i=this,r=this.fo;this.fo=e.fo,this.mutatedKeys=e.mutatedKeys;var o=e.mo.jr();o.sort((function(e,t){return function(e,t){var n=function(e){switch(e){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return Ss()}};return n(e)-n(t)}(e.type,t.type)||i.lo(e.doc,t.doc)})),this.po(n);var s=t?this.Eo():[],a=0===this.ho.size&&this.current?1:0,l=a!==this.ao;return this.ao=a,0!==o.length||l?{snapshot:new Zd(this.query,e.fo,r,o,e.mutatedKeys,0===a,l,!1),To:s}:{To:s}},e.prototype.zr=function(e){return this.current&&"Offline"===e?(this.current=!1,this.applyChanges({fo:this.fo,mo:new Yd,mutatedKeys:this.mutatedKeys,Nn:!1},!1)):{To:[]}},e.prototype.Io=function(e){return!this.uo.has(e)&&!!this.fo.has(e)&&!this.fo.get(e).hasLocalMutations},e.prototype.po=function(e){var t=this;
1e&&(e.addedDocuments.forEach((function(e){return t.uo=t.uo.add(e)})),e.modifiedDocuments.forEach((function(e){})),e.removedDocuments.forEach((function(e){return t.uo=t.uo.delete(e)})),this.current=e.current)},e.prototype.Eo=function(){var e=this;if(!this.current)return[];var t=this.ho;this.ho=Kl(),this.fo.forEach((function(t){e.Io(t.key)&&(e.ho=e.ho.add(t.key))}));var n=[];return t.forEach((function(t){e.ho.has(t)||n.push(new up(t))})),this.ho.forEach((function(e){t.has(e)||n.push(new cp(e))})),n},e.prototype.Ao=function(e){this.uo=e.Bn,this.ho=Kl();var t=this._o(e.documents);return this.applyChanges(t,!0)},e.prototype.Ro=function(){return Zd.fromInitialDocuments(this.query,this.fo,this.mutatedKeys,0===this.ao)},e}(),dp=function(e,t,n){this.query=e,this.targetId=t,this.view=n},pp=function(e){this.key=e,this.bo=!1},fp=function(){function e(e,t,n,i,r,o){this.localStore=e,this.remoteStore=t,this.eventManager=n,this.sharedClientState=i,this.currentUser=r,this.maxConcurrentLimboResolutions=o,this.vo={},this.Po=new ah((function(e){return Ka(e)}),Wa),this.Vo=new Map,this.So=new Set,this.Do=new Nl(Zs.comparator),this.Co=new Map,this.No=new Hh,this.xo={},this.ko=new Map,this.Fo=$u.Yt(),this.onlineState="Unknown",this.$o=void 0}return Object.defineProperty(e.prototype,"isPrimaryClient",{get:function(){return!0===this.$o},enumerable:!1,configurable:!0}),e}();function mp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s;return Object(sn.d)(this,(function(a){switch(a.label){case 0:return n=Gp(e),(r=n.Po.get(t))?(n.sharedClientState.addLocalQueryTarget(r.targetId),i=r.view.Ro(),[3,4]):[3,1];case 1:return[4,Dh(n.localStore,Ga(t))];case 2:return o=a.sent(),s=n.sharedClientState.addLocalQueryTarget(o.targetId),[4,gp(n,t,o.targetId,"current"===s)];case 3:i=a.sent(),n.isPrimaryClient&&Od(n.remoteStore,o),a.label=4;case 4:return[2,i]}}))}))}function gp(e,t,n,i){return Object(sn.b)(this,void 0,void 0,(function(){var r,o,s,a,l,c;return Object(sn.d)(this,(function(u){switch(u.label){case 0:return e.Oo=function(t,n,i){return function(e,t,n,i){return Object(sn.b)(this,void 0,void 0,(function(){var r,o,s;return Object(sn.d)(this,(function(a){switch(a.label){case 0:return(r=t.view._o(n)).Nn?[4,Nh(e.localStore,t.query,!1).then((function(e){return t.view._o(e.documents,r)}))]:[3,2];case 1:r=a.sent(),a.label=2;case 2:return o=i&&i.targetChanges.get(t.targetId),s=t.view.applyChanges(r,e.isPrimaryClient,o),[2,(Ip(e,t.targetId,s.To),s.snapshot)]}}))}))}(e,t,n,i)},[4,Nh(e.localStore,t,!0)];case 1:return r=u.sent(),o=new hp(t,r.Bn),s=o._o(r.documents),a=Yl.createSynthesizedTargetChangeForCurrentChange(n,i&&"Offline"!==e.onlineState),l=o.applyChanges(s,e.isPrimaryClient,a),Ip(e,n,l.To),c=new dp(t,n,o),[2,(e.Po.set(t,c),e.Vo.has(n)?e.Vo.get(n).push(t):e.Vo.set(n,[t]),l.snapshot)]}}))}))}function bp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return n=ks(e),i=n.Po.get(t),(r=n.Vo.get(i.targetId)).length>1?[2,(n.Vo.set(i.targetId,r.filter((function(e){return!Wa(e,t)}))),void n.Po.delete(t))]:n.isPrimaryClient?(n.sharedClientState.removeLocalQueryTarget(i.targetId),n.sharedClientState.isActiveQueryTarget(i.targetId)?[3,2]:[4,jh(n.localStore,i.targetId,!1).then((function(){n.sharedClientState.clearQueryState(i.targetId),kd(n.remoteStore,i.targetId),Ep(n,i.targetId)})).catch(eh)]):[3,3];case 1:o.sent(),o.label=2;case 2:return[3,5];case 3:return Ep(n,i.targetId),[4,jh(n.localStore,i.targetId,!0)];case 4:o.sent(),o.label=5;case 5:return[2]}}
1))}))}function _p(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r,o,s;return Object(sn.d)(this,(function(a){switch(a.label){case 0:i=qp(e),a.label=1;case 1:return a.trys.push([1,5,,6]),[4,function(e,t){var n,i=ks(e),r=As.now(),o=t.reduce((function(e,t){return e.add(t.key)}),Kl());return i.persistence.runTransaction("Locally write mutations","readwrite",(function(e){return i.Mn.pn(e,o).next((function(o){n=o;for(var s=[],a=0,l=t;a<l.length;a++){var c=l[a],u=yl(c,n.get(c.key));null!=u&&s.push(new Sl(c.key,u,pa(u.value.mapValue),ml.exists(!0)))}return i._n.addMutationBatch(e,r,s,t)}))})).then((function(e){return e.applyToLocalDocumentSet(n),{batchId:e.batchId,changes:n}}))}(i.localStore,t)];case 2:return r=a.sent(),i.sharedClientState.addPendingMutation(r.batchId),function(e,t,n){var i=e.xo[e.currentUser.toKey()];i||(i=new Nl(Is)),i=i.insert(t,n),e.xo[e.currentUser.toKey()]=i}(i,r.batchId,n),[4,Ap(i,r.changes)];case 3:return a.sent(),[4,Fd(i.remoteStore)];case 4:return a.sent(),[3,6];case 5:return o=a.sent(),s=$d(o,"Failed to persist write"),n.reject(s),[3,6];case 6:return[2]}}
1))}))}function vp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i;return Object(sn.d)(this,(function(r){switch(r.label){case 0:n=ks(e),r.label=1;case 1:return r.trys.push([1,4,,6]),[4,Th(n.localStore,t)];case 2:return i=r.sent(),t.targetChanges.forEach((function(e,t){var i=n.Co.get(t);i&&(Os(e.addedDocuments.size+e.modifiedDocuments.size+e.removedDocuments.size<=1),e.addedDocuments.size>0?i.bo=!0:e.modifiedDocuments.size>0?Os(i.bo):e.removedDocuments.size>0&&(Os(i.bo),i.bo=!1))})),[4,Ap(n,i,t)];case 3:return r.sent(),[3,6];case 4:return[4,eh(r.sent())];case 5:return r.sent(),[3,6];case 6:return[2]}}))}))}function yp(e,t,n){var i=ks(e);if(i.isPrimaryClient&&0===n||!i.isPrimaryClient&&1===n){var r=[];i.Po.forEach((function(e,n){var i=n.view.zr(t);i.snapshot&&r.push(i.snapshot)})),function(e,t){var n=ks(e);n.onlineState=t;var i=!1;n.queries.forEach((function(e,n){for(var r=0,o=n.listeners;r<o.length;r++)o[r].zr(t)&&(i=!0)})),i&&op(n)}(i.eventManager,t),r.length&&i.vo._r(r),i.onlineState=t,i.isPrimaryClient&&i.sharedClientState.setOnlineState(t)}}function wp(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r,o,s,a,l;return Object(sn.d)(this,(function(c){switch(c.label){case 0:return(i=ks(e)).sharedClientState.updateQueryState(t,"rejected",n),r=i.Co.get(t),(o=r&&r.key)?(s=(s=new Nl(Zs.comparator)).insert(o,fa.newNoDocument(o,Ds.min())),a=Kl().add(o),l=new Ql(Ds.min(),new Map,new Fl(Is),s,a),[4,vp(i,l)]):[3,2];case 1:return c.sent(),i.Do=i.Do.remove(o),i.Co.delete(t),Mp(i),[3,4];case 2:return[4,jh(i.localStore,t,!1).then((function(){return Ep(i,t,n)})).catch(eh)];case 3:c.sent(),c.label=4;case 4:return[2]}}
1))}))}function Cp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:n=ks(e),i=t.batch.batchId,o.label=1;case 1:return o.trys.push([1,4,,6]),[4,Ph(n.localStore,t)];case 2:return r=o.sent(),kp(n,i,null),Op(n,i),n.sharedClientState.updateMutationState(i,"acknowledged"),[4,Ap(n,r)];case 3:return o.sent(),[3,6];case 4:return[4,eh(o.sent())];case 5:return o.sent(),[3,6];case 6:return[2]}}))}))}function xp(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:i=ks(e),o.label=1;case 1:return o.trys.push([1,4,,6]),[4,function(e,t){var n=ks(e);return n.persistence.runTransaction("Reject batch","readwrite-primary",(function(e){var i;return n._n.lookupMutationBatch(e,t).next((function(t){return Os(null!==t),i=t.keys(),n._n.removeMutationBatch(e,t)})).next((function(){return n._n.performConsistencyCheck(e)})).next((function(){return n.Mn.pn(e,i)}))}))}(i.localStore,t)];case 2:return r=o.sent(),kp(i,t,n),Op(i,t),i.sharedClientState.updateMutationState(t,"rejected",n),[4,Ap(i,r)];case 3:return o.sent(),[3,6];case 4:return[4,eh(o.sent())];case 5:return o.sent(),[3,6];case 6:return[2]}}
1))}))}function Sp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s;return Object(sn.d)(this,(function(a){switch(a.label){case 0:Md((n=ks(e)).remoteStore)||ys("SyncEngine","The network is disabled. The task returned by 'awaitPendingWrites()' will not complete until the network is enabled."),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,function(e){var t=ks(e);return t.persistence.runTransaction("Get highest unacknowledged batch id","readonly",(function(e){return t._n.getHighestUnacknowledgedBatchId(e)}))}(n.localStore)];case 2:return-1===(i=a.sent())?[2,void t.resolve()]:((r=n.ko.get(i)||[]).push(t),n.ko.set(i,r),[3,4]);case 3:return o=a.sent(),s=$d(o,"Initialization of waitForPendingWrites() operation failed"),t.reject(s),[3,4];case 4:return[2]}}))}))}function Op(e,t){(e.ko.get(t)||[]).forEach((function(e){e.resolve()})),e.ko.delete(t)}function kp(e,t,n){var i=ks(e),r=i.xo[i.currentUser.toKey()];if(r){var o=r.get(t);o&&(n?o.reject(n):o.resolve(),r=r.remove(t)),i.xo[i.currentUser.toKey()]=r}}function Ep(e,t,n){void 0===n&&(n=null),e.sharedClientState.removeLocalQueryTarget(t);for(var i=0,r=e.Vo.get(t);i<r.length;i++){var o=r[i];e.Po.delete(o),n&&e.vo.Mo(o,n)}e.Vo.delete(t),e.isPrimaryClient&&e.No.Zn(t).forEach((function(t){e.No.containsKey(t)||Pp(e,t)}))}function Pp(e,t){e.So.delete(t.path.canonicalString());var n=e.Do.get(t);null!==n&&(kd(e.remoteStore,n),e.Do=e.Do.remove(t),e.Co.delete(n),Mp(e))}function Ip(e,t,n){for(var i=0,r=n;i<r.length;i++){var o=r[i];o instanceof cp?(e.No.addReference(o.key,t),Tp(e,o)):o instanceof up?(ys("SyncEngine","Document no longer in limbo: "+o.key),e.No.removeReference(o.key,t),e.No.containsKey(o.key)||Pp(e,o.key)):Ss()}}function Tp(e,t){var n=t.key,i=n.path.canonicalString();e.Do.get(n)||e.So.has(i)||(ys("SyncEngine","New document in limbo: "+n),e.So.add(i),Mp(e))}function Mp(e){for(;e.So.size>0&&e.Do.size<e.maxConcurrentLimboResolutions;){var t=e.So.values().next().value;e.So.delete(t);var n=new Zs(Fs.fromString(t)),i=e.Fo.next();e.Co.set(i,new pp(n)),e.Do=e.Do.insert(n,i),Od(e.remoteStore,new wu(Ga(La(n.path)),i,2,ms.o))}}function Ap(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r,o,s;return Object(sn.d)(this,(function(a){switch(a.label){case 0:return i=ks(e),r=[],o=[],s=[],i.Po.isEmpty()?[3,3]:(i.Po.forEach((function(e,a){s.push(i.Oo(a,t,n).then((function(e){if(e){i.isPrimaryClient&&i.sharedClientState.updateQueryState(a.targetId,e.fromCache?"not-current":"current"),r.push(e);var t=xh.Pn(a.targetId,e);o.push(t)}})))})),[4,Promise.all(s)]);case 1:return a.sent(),i.vo._r(r),[4,function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s,a,l,c;return Object(sn.d)(this,(function(u){switch(u.label){case 0:n=ks(e),u.label=1;case 1:return u.trys.push([1,3,,4]),[4,n.persistence.runTransaction("notifyLocalViewChanges","readwrite",(function(e){return au.forEach(t,(function(t){return au.forEach(t.bn,(function(i){return n.persistence.referenceDelegate.addReference(e,t.targetId,i)})).next((function(){return au.forEach(t.vn,(function(i){return n.persistence.referenceDelegate.removeReference(e,t.targetId,i)}))}))}))}))];case 2:return u.sent(),[3,4];case 3:if(!du(i=u.sent()))throw i;return ys("LocalStore","Failed to update sequence numbers: "+i),[3,4];case 4:for(r=0,o=t;r<o.length;r++)a=(s=o[r]).targetId,s.fromCache||(l=n.kn.get(a),c=l.withLastLimboFreeSnapshotVersion(l.snapshotVersion),n.kn=n.kn.insert(a,c));return[2]}}))}))}(i.localStore,o)];case 2:a.sent(),a.label=3;case 3:return[2]}}
1))}))}function Dp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return(n=ks(e)).currentUser.isEqual(t)?[3,3]:(ys("SyncEngine","User change. New user:",t.toKey()),[4,Eh(n.localStore,t)]);case 1:return i=r.sent(),n.currentUser=t,function(e,t){e.ko.forEach((function(e){e.forEach((function(e){e.reject(new bs(gs.CANCELLED,"'waitForPendingWrites' promise is rejected due to a user change."))}))})),e.ko.clear()}(n),n.sharedClientState.handleUserChange(t,i.removedBatchIds,i.addedBatchIds),[4,Ap(n,i.Ln)];case 2:r.sent(),r.label=3;case 3:return[2]}}))}))}function jp(e,t){var n=ks(e),i=n.Co.get(t);if(i&&i.bo)return Kl().add(i.key);var r=Kl(),o=n.Vo.get(t);if(!o)return r;for(var s=0,a=o;s<a.length;s++){var l=n.Po.get(a[s]);r=r.unionWith(l.view.wo)}return r}function Np(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return[4,Nh((n=ks(e)).localStore,t.query,!0)];case 1:return i=o.sent(),r=t.view.Ao(i),[2,(n.isPrimaryClient&&Ip(n,t.targetId,r.To),r)]}}))}))}function Rp(e){return Object(sn.b)(this,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){return[2,Lh((t=ks(e)).localStore).then((function(e){return Ap(t,e)}))]}))}))}function Lp(e,t,n,i){return Object(sn.b)(this,void 0,void 0,(function(){var r,o;return Object(sn.d)(this,(function(s){switch(s.label){case 0:return[4,function(e,t){var n=ks(e),i=ks(n._n);return n.persistence.runTransaction("Lookup mutation documents","readonly",(function(e){return i.jt(e,t).next((function(t){return t?n.Mn.pn(e,t):au.resolve(null)}))}))}((r=ks(e)).localStore,t)];case 1:return null===(o=s.sent())?[3,6]:"pending"!==n?[3,3]:[4,Fd(r.remoteStore)];case 2:return s.sent(),[3,4];case 3:"acknowledged"===n||"rejected"===n?(kp(r,t,i||null),Op(r,t),function(e,t){ks(ks(e)._n).Gt(t)}(r.localStore,t)):Ss(),s.label=4;case 4:return[4,Ap(r,o)];case 5:return s.sent(),[3,7];case 6:ys("SyncEngine","Cannot apply mutation batch with id: "+t),s.label=7;case 7:return[2]}}
1))}))}function Fp(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s,a,l;return Object(sn.d)(this,(function(c){switch(c.label){case 0:return Gp(n=ks(e)),qp(n),!0!==t||!0===n.$o?[3,3]:(i=n.sharedClientState.getAllActiveQueryTargets(),[4,Vp(n,i.toArray())]);case 1:return r=c.sent(),n.$o=!0,[4,qd(n.remoteStore,!0)];case 2:for(c.sent(),o=0,s=r;o<s.length;o++)Od(n.remoteStore,s[o]);return[3,7];case 3:return!1!==t||!1===n.$o?[3,7]:(a=[],l=Promise.resolve(),n.Vo.forEach((function(e,t){n.sharedClientState.isLocalQueryTarget(t)?a.push(t):l=l.then((function(){return Ep(n,t),jh(n.localStore,t,!0)})),kd(n.remoteStore,t)})),[4,l]);case 4:return c.sent(),[4,Vp(n,a)];case 5:return c.sent(),function(e){var t=ks(e);t.Co.forEach((function(e,n){kd(t.remoteStore,n)})),t.No.ts(),t.Co=new Map,t.Do=new Nl(Zs.comparator)}(n),n.$o=!1,[4,qd(n.remoteStore,!1)];case 6:c.sent(),c.label=7;case 7:return[2]}}))}))}function Vp(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s,a,l,c,u,h,d,p,f;return Object(sn.d)(this,(function(m){switch(m.label){case 0:n=ks(e),i=[],r=[],o=0,s=t,m.label=1;case 1:return o<s.length?(l=void 0,(c=n.Vo.get(a=s[o]))&&0!==c.length?[4,Dh(n.localStore,Ga(c[0]))]:[3,7]):[3,13];case 2:l=m.sent(),u=0,h=c,m.label=3;case 3:return u<h.length?(d=n.Po.get(h[u]),[4,Np(n,d)]):[3,6];case 4:(p=m.sent()).snapshot&&r.push(p.snapshot),m.label=5;case 5:return u++,[3,3];case 6:return[3,11];case 7:return[4,Rh(n.localStore,a)];case 8:return f=m.sent(),[4,Dh(n.localStore,f)];case 9:return l=m.sent(),[4,gp(n,Bp(f),a,!1)];case 10:m.sent(),m.label=11;case 11:i.push(l),m.label=12;case 12:return o++,[3,1];case 13:return[2,(n.vo._r(r),i)]}}))}))}function Bp(e){return Ra(e.path,e.collectionGroup,e.orderBy,e.filters,e.limit,"F",e.startAt,e.endAt)}function Up(e){var t=ks(e);return ks(ks(t.localStore).persistence).fn()}function Hp(e,t,n,i){return Object(sn.b)(this,void 0,void 0,(function(){var r,o,s;return Object(sn.d)(this,(function(a){switch(a.label){case 0:return(r=ks(e)).$o?(ys("SyncEngine","Ignoring unexpected query state notification."),[3,8]):[3,1];case 1:if(!r.Vo.has(t))return[3,8];switch(n){case"current":case"not-current":return[3,2];case"rejected":return[3,5]}return[3,7];case 2:return[4,Lh(r.localStore)];case 3:return o=a.sent(),s=Ql.createSynthesizedRemoteEventForCurrentChange(t,"current"===n),[4,Ap(r,o,s)];case 4:return a.sent(),[3,8];case 5:return[4,jh(r.localStore,t,!0)];case 6:return a.sent(),Ep(r,t,i),[3,8];case 7:Ss(),a.label=8;case 8:return[2]}}
1))}))}function zp(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r,o,s,a,l,c,u,h;return Object(sn.d)(this,(function(d){switch(d.label){case 0:if(!(i=Gp(e)).$o)return[3,10];r=0,o=t,d.label=1;case 1:return r<o.length?i.Vo.has(s=o[r])?(ys("SyncEngine","Adding an already active target "+s),[3,5]):[4,Rh(i.localStore,s)]:[3,6];case 2:return a=d.sent(),[4,Dh(i.localStore,a)];case 3:return l=d.sent(),[4,gp(i,Bp(a),l.targetId,!1)];case 4:d.sent(),Od(i.remoteStore,l),d.label=5;case 5:return r++,[3,1];case 6:c=function(e){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return i.Vo.has(e)?[4,jh(i.localStore,e,!1).then((function(){kd(i.remoteStore,e),Ep(i,e)})).catch(eh)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))},u=0,h=n,d.label=7;case 7:return u<h.length?[5,c(h[u])]:[3,10];case 8:d.sent(),d.label=9;case 9:return u++,[3,7];case 10:return[2]}}))}))}function Gp(e){var t=ks(e);return t.remoteStore.remoteSyncer.applyRemoteEvent=vp.bind(null,t),t.remoteStore.remoteSyncer.getRemoteKeysForTarget=jp.bind(null,t),t.remoteStore.remoteSyncer.rejectListen=wp.bind(null,t),t.vo._r=ip.bind(null,t.eventManager),t.vo.Mo=rp.bind(null,t.eventManager),t}function qp(e){var t=ks(e);return t.remoteStore.remoteSyncer.applySuccessfulWrite=Cp.bind(null,t),t.remoteStore.remoteSyncer.rejectFailedWrite=xp.bind(null,t),t}var Wp=function(){function e(){this.synchronizeTabs=!1}return e.prototype.initialize=function(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return this.R=md(e.databaseInfo.databaseId),this.sharedClientState=this.Bo(e),this.persistence=this.qo(e),[4,this.persistence.start()];case 1:return t.sent(),this.gcScheduler=this.Uo(e),this.localStore=this.Ko(e),[2]}}))}))},e.prototype.Uo=function(e){return null},e.prototype.Ko=function(e){return kh(this.persistence,new Sh,e.initialUser,this.R)},e.prototype.qo=function(e){return new Xh(Qh.bs,this.R)},e.prototype.Bo=function(e){return new ad},e.prototype.terminate=function(){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){switch(e.label){case 0:return this.gcScheduler&&this.gcScheduler.stop(),[4,this.sharedClientState.shutdown()];case 1:return e.sent(),[4,this.persistence.shutdown()];case 2:return e.sent(),[2]}}))}))},e}(),Kp=function(e){function t(t,n,i){var r=this;return(r=e.call(this)||this).Qo=t,r.cacheSizeBytes=n,r.forceOwnership=i,r.synchronizeTabs=!1,r}return Object(sn.c)(t,e),t.prototype.initialize=function(t){return Object(sn.b)(this,void 0,void 0,(function(){var n=this;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return[4,e.prototype.initialize.call(this,t)];case 1:return i.sent(),[4,Fh(this.localStore)];case 2:return i.sent(),[4,this.Qo.initialize(this,t)];case 3:return i.sent(),[4,qp(this.Qo.syncEngine)];case 4:return i.sent(),[4,Fd(this.Qo.remoteStore)];case 5:return i.sent(),[4,this.persistence.He((function(){return n.gcScheduler&&!n.gcScheduler.started&&n.gcScheduler.start(n.localStore),Promise.resolve()}))];case 6:return i.sent(),[2]}}))}))},t.prototype.Ko=function(e){return kh(this.persistence,new Sh,e.initialUser,this.R)},t.prototype.Uo=function(e){return new ih(this.persistence.referenceDelegate.garbageCollector,e.asyncQueue)},t.prototype.qo=function(e){var t=yh(e.databaseInfo.databaseId,e.databaseInfo.persistenceKey),n=void 0!==this.cacheSizeBytes?Uu.withCacheSize(this.cacheSizeBytes):Uu.DEFAULT;return new bh(this.synchronizeTabs,t,e.clientId,n,e.asyncQueue,pd(),fd(),this.R,this.sharedClientState,!!this.forceOwnership)},t.prototype.Bo=function(e){return new ad},t}(Wp),Xp=function(e){function t(t,n){var i=this;return(i=e.call(this,t,n,!1)||this).Qo=t,i.cacheSizeBytes=n,i.synchronizeTabs=!0,i}return Object(sn.c)(t,e),t.prototype.initialize=function(t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i=this;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return[4,e.prototype.initialize.call(this,t)];case 1:return r.sent(),n=this.Qo.syncEngine,this.sharedClientState instanceof sd?(this.sharedClientState.syncEngine={ui:Lp.bind(null,n),ai:Hp.bind(null,n),hi:zp.bind(null,n),fn:Up.bind(null,n),ci:Rp.bind(null,n)}
1,[4,this.sharedClientState.start()]):[3,3];case 2:r.sent(),r.label=3;case 3:return[4,this.persistence.He((function(e){return Object(sn.b)(i,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return[4,Fp(this.Qo.syncEngine,e)];case 1:return t.sent(),this.gcScheduler&&(e&&!this.gcScheduler.started?this.gcScheduler.start(this.localStore):e||this.gcScheduler.stop()),[2]}}))}))}))];case 4:return r.sent(),[2]}}))}))},t.prototype.Bo=function(e){var t=pd();if(!sd.yt(t))throw new bs(gs.UNIMPLEMENTED,"IndexedDB persistence is only available on platforms that support LocalStorage.");var n=yh(e.databaseInfo.databaseId,e.databaseInfo.persistenceKey);return new sd(t,e.asyncQueue,n,e.clientId,e.initialUser)},t}(Kp),$p=function(){function e(){}return e.prototype.initialize=function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n=this;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return this.localStore?[3,2]:(this.localStore=e.localStore,this.sharedClientState=e.sharedClientState,this.datastore=this.createDatastore(t),this.remoteStore=this.createRemoteStore(t),this.eventManager=this.createEventManager(t),this.syncEngine=this.createSyncEngine(t,!e.synchronizeTabs),this.sharedClientState.onlineStateHandler=function(e){return yp(n.syncEngine,e,1)},this.remoteStore.remoteSyncer.handleCredentialChange=Dp.bind(null,this.syncEngine),[4,qd(this.remoteStore,this.syncEngine.isPrimaryClient)]);case 1:i.sent(),i.label=2;case 2:return[2]}}
1))}))},e.prototype.createEventManager=function(e){return new ep},e.prototype.createDatastore=function(e){var t=md(e.databaseInfo.databaseId),n=new dd(e.databaseInfo);return function(e,t,n){return new yd(e,t,n)}(e.credentials,n,t)},e.prototype.createRemoteStore=function(e){var t,n,i,r,o,s=this;return t=this.localStore,n=this.datastore,i=e.asyncQueue,r=function(e){return yp(s.syncEngine,e,0)},o=cd.yt()?new cd:new ld,new Cd(t,n,i,r,o)},e.prototype.createSyncEngine=function(e,t){return function(e,t,n,i,r,o,s){var a=new fp(e,t,n,i,r,o);return s&&(a.$o=!0),a}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,e.initialUser,e.maxConcurrentLimboResolutions,t)},e.prototype.terminate=function(){return function(e){return Object(sn.b)(this,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return t=ks(e),ys("RemoteStore","RemoteStore shutting down."),t.Or.add(5),[4,Sd(t)];case 1:return n.sent(),t.Lr.shutdown(),t.Br.set("Unknown"),[2]}}))}))}(this.remoteStore)},e}(),Qp=function(){function e(e){this.observer=e,this.muted=!1}return e.prototype.next=function(e){this.observer.next&&this.jo(this.observer.next,e)},e.prototype.error=function(e){this.observer.error?this.jo(this.observer.error,e):console.error("Uncaught Error in snapshot listener:",e)},e.prototype.Wo=function(){this.muted=!0},e.prototype.jo=function(e,t){var n=this;this.muted||setTimeout((function(){n.muted||e(t)}),0)},e}(),Yp=(function(){function e(e,t){var n=this;this.Go=e,this.R=t,this.metadata=new su,this.buffer=new Uint8Array,this.zo=new TextDecoder("utf-8"),this.Ho().then((function(e){e&&e.io()?n.metadata.resolve(e.payload.metadata):n.metadata.reject(new Error("The first element of the bundle is not a metadata, it is\n             "+JSON.stringify(null==e?void 0:e.payload)))}),(function(e){return n.metadata.reject(e)}))}e.prototype.close=function(){return this.Go.cancel()},e.prototype.getMetadata=function(){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){return[2,this.metadata.promise]}))}))},e.prototype.Lo=function(){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){switch(e.label){case 0:return[4,this.getMetadata()];case 1:return[2,(e.sent(),this.Ho())]}}))}))},e.prototype.Ho=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t,n,i;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return[4,this.Jo()];case 1:return null===(e=r.sent())?[2,null]:(t=this.zo.decode(e),n=Number(t),isNaN(n)&&this.Yo("length string ("+t+") is not valid number"),[4,this.Xo(n)]);case 2:return i=r.sent(),[2,new ap(JSON.parse(i),e.length+n)]}}))}))},e.prototype.Zo=function(){return this.buffer.findIndex((function(e){return e==="{".charCodeAt(0)}))},e.prototype.Jo=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return this.Zo()<0?[4,this.tc()]:[3,3];case 1:if(n.sent())return[3,3];n.label=2;case 2:return[3,0];case 3:return 0===this.buffer.length?[2,null]:((e=this.Zo())<0&&this.Yo("Reached the end of bundle when a length string is expected."),t=this.buffer.slice(0,e),[2,(this.buffer=this.buffer.slice(e),t)])}}))}))},e.prototype.Xo=function(e){return Object(sn.b)(this,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return this.buffer.length<e?[4,this.tc()]:[3,3];case 1:n.sent()&&this.Yo("Reached the end of bundle when more is expected."),n.label=2;case 2:return[3,0];case 3:return t=this.zo.decode(this.buffer.slice(0,e)),[2,(this.buffer=this.buffer.slice(e),t)]}}))}))},e.prototype.Yo=function(e){throw this.Go.cancel(),new Error("Invalid bundle format: "+e)},e.prototype.tc=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return[4,this.Go.read()];case 1:return(e=n.sent()).done||((t=new Uint8Array(this.buffer.length+e.value.length)).set(this.buffer),t.set(e.value,this.buffer.length),this.buffer=t),[2,e.done]}}))}))}}(),function(){function e(e){this.datastore=e,this.readVersions=new Map,this.mutations=[],this.committed=!1,this.lastWriteError=null,this.writtenDocs=new Set}return e.prototype.lookup=function(e){return Object(sn.b)(this,void 0,void 0,(function(){var t,n=this;return Object(sn.d)(this,(function(i){switch(i.label){case 0:if(this.ensureCommitNotCalled(),this.mutations.length>0)throw new bs(gs.INVALID_ARGUMENT,"Firestore transactions require all reads to be executed before all writes.");return[4,function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r,o,s,a;return Object(sn.d)(this,(function(l){switch(l.label){case 0:return n=ks(e),i=_c(n.R)+"/documents",r={documents:t.map((function(e){return fc(n.R,e)}))},[4,n.$i("BatchGetDocuments",i,r)];case 1:return o=l.sent(),s=new Map,o.forEach((function(e){var t=function(e,t){return"found"in t?function(e,t){Os(!!t.found);var n=mc(e,t.found.name),i=hc(t.found.updateTime),r=new da({mapValue:{fields:t.found.fields}});return fa.newFoundDocument(n,i,r)}(e,t):"missing"in t?function(e,t){Os(!!t.missing),Os(!!t.readTime);var n=mc(e,t.missing),i=hc(t.readTime);return fa.newNoDocument(n,i)}(e,t):Ss()}(n.R,e);s.set(t.key.toString(),t)})),a=[],[2,(t.forEach((function(e){var t=s.get(e.toString());Os(!!t),a.push(t)})),a)]}}))}))}(this.datastore,e)];
1case 1:return[2,((t=i.sent()).forEach((function(e){return n.recordVersion(e)})),t)]}}))}))},e.prototype.set=function(e,t){this.write(t.toMutation(e,this.precondition(e))),this.writtenDocs.add(e.toString())},e.prototype.update=function(e,t){try{this.write(t.toMutation(e,this.preconditionForUpdate(e)))}catch(e){this.lastWriteError=e}this.writtenDocs.add(e.toString())},e.prototype.delete=function(e){this.write(new Tl(e,this.precondition(e))),this.writtenDocs.add(e.toString())},e.prototype.commit=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t=this;return Object(sn.d)(this,(function(n){switch(n.label){case 0:if(this.ensureCommitNotCalled(),this.lastWriteError)throw this.lastWriteError;return e=this.readVersions,this.mutations.forEach((function(t){e.delete(t.key.toString())})),e.forEach((function(e,n){var i=Zs.fromPath(n);t.mutations.push(new Ml(i,t.precondition(i)))})),[4,function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return n=ks(e),i=_c(n.R)+"/documents",r={writes:t.map((function(e){return Cc(n.R,e)}))},[4,n.Ni("Commit",i,r)];case 1:return o.sent(),[2]}}))}))}(this.datastore,this.mutations)];case 1:return n.sent(),this.committed=!0,[2]}}))}))},e.prototype.recordVersion=function(e){var t;if(e.isFoundDocument())t=e.version;else{if(!e.isNoDocument())throw Ss();t=Ds.min()}var n=this.readVersions.get(e.key.toString());if(n){if(!t.isEqual(n))throw new bs(gs.ABORTED,"Document version changed between two reads.")}else this.readVersions.set(e.key.toString(),t)},e.prototype.precondition=function(e){var t=this.readVersions.get(e.toString());return!this.writtenDocs.has(e.toString())&&t?ml.updateTime(t):ml.none()},e.prototype.preconditionForUpdate=function(e){var t=this.readVersions.get(e.toString());if(!this.writtenDocs.has(e.toString())&&t){if(t.isEqual(Ds.min()))throw new bs(gs.INVALID_ARGUMENT,"Can't update a document that doesn't exist.");return ml.updateTime(t)}return ml.exists(!0)},e.prototype.write=function(e){this.ensureCommitNotCalled(),this.mutations.push(e)},e.prototype.ensureCommitNotCalled=function(){},e}()),Zp=function(){function e(e,t,n,i){this.asyncQueue=e,this.datastore=t,this.updateFunction=n,this.deferred=i,this.ec=5,this.Zi=new gd(this.asyncQueue,"transaction_retry")}return e.prototype.run=function(){this.ec-=1,this.nc()},e.prototype.nc=function(){var e=this;this.Zi.ji((function(){return Object(sn.b)(e,void 0,void 0,(function(){var e,t,n=this;return Object(sn.d)(this,(function(i){return e=new Yp(this.datastore),(t=this.sc(e))&&t.then((function(t){n.asyncQueue.enqueueAndForget((function(){return e.commit().then((function(){n.deferred.resolve(t)})).catch((function(e){n.ic(e)}))}))})).catch((function(e){n.ic(e)})),[2]}))}))}))},e.prototype.sc=function(e){try{var t=this.updateFunction(e);return!$s(t)&&t.catch&&t.then?t:(this.deferred.reject(Error("Transaction callback must return a Promise")),null)}catch(e){return this.deferred.reject(e),null}},e.prototype.ic=function(e){var t=this;this.ec>0&&this.rc(e)?(this.ec-=1,this.asyncQueue.enqueueAndForget((function(){return t.nc(),Promise.resolve()}))):this.deferred.reject(e)},e.prototype.rc=function(e){if("FirebaseError"===e.name){var t=e.code;return"aborted"===t||"failed-precondition"===t||!Dl(t)}return!1},e}(),Jp=function(){function e(e,t,n){var i=this;this.credentials=e,this.asyncQueue=t,this.databaseInfo=n,this.user=Yh.UNAUTHENTICATED,this.clientId=Ps.u(),this.credentialListener=function(){return Promise.resolve()},this.credentials.setChangeListener(t,(function(e){return Object(sn.b)(i,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return ys("FirestoreClient","Received user=",e.uid),[4,this.credentialListener(e)];case 1:return t.sent(),this.user=e,[2]}}))}))}))}return e.prototype.getConfiguration=function(){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){return[2,{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,credentials:this.credentials,initialUser:this.user,maxConcurrentLimboResolutions:100}]}))}))},e.prototype.setCredentialChangeListener=function(e){this.credentialListener=e},e.prototype.verifyNotTerminated=function(){if(this.asyncQueue.isShuttingDown)throw new bs(gs.FAILED_PRECONDITION,"The client has already been terminated.")},e.prototype.terminate=function(){var e=this;this.asyncQueue.enterRestrictedMode();var t=new su;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((function(){return Object(sn.b)(e,void 0,void 0,(function(){var e,n;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,5,,6]),this.onlineComponents?[4,this.onlineComponents.terminate()]:[3,2];case 1:i.sent(),i.label=2;case 2:return this.offlineComponents?[4,this.offlineComponents.terminate()]:[3,4];case 3:i.sent(),i.label=4;case 4:return this.credentials.removeChangeListener(),t.resolve(),[3,6];case 5:return e=i.sent(),n=$d(e,"Failed to shutdown persistence"),t.reject(n),[3,6];case 6:return[2]}}
1))}))})),t.promise},e}();function ef(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i,r=this;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return e.asyncQueue.verifyOperationInProgress(),ys("FirestoreClient","Initializing OfflineComponentProvider"),[4,e.getConfiguration()];case 1:return n=o.sent(),[4,t.initialize(n)];case 2:return o.sent(),i=n.initialUser,e.setCredentialChangeListener((function(e){return Object(sn.b)(r,void 0,void 0,(function(){return Object(sn.d)(this,(function(n){switch(n.label){case 0:return i.isEqual(e)?[3,2]:[4,Eh(t.localStore,e)];case 1:n.sent(),i=e,n.label=2;case 2:return[2]}}))}))})),t.persistence.setDatabaseDeletedListener((function(){return e.terminate()})),e.offlineComponents=t,[2]}}))}))}function tf(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return e.asyncQueue.verifyOperationInProgress(),[4,nf(e)];case 1:return n=r.sent(),ys("FirestoreClient","Initializing OnlineComponentProvider"),[4,e.getConfiguration()];case 2:return i=r.sent(),[4,t.initialize(n,i)];case 3:return r.sent(),e.setCredentialChangeListener((function(e){return function(e,t){return Object(sn.b)(this,void 0,void 0,(function(){var n,i;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return(n=ks(e)).asyncQueue.verifyOperationInProgress(),ys("RemoteStore","RemoteStore received new credentials"),i=Md(n),n.Or.add(3),[4,Sd(n)];case 1:return r.sent(),i&&n.Br.set("Unknown"),[4,n.remoteSyncer.handleCredentialChange(t)];case 2:return r.sent(),n.Or.delete(3),[4,xd(n)];case 3:return r.sent(),[2]}}))}))}(t.remoteStore,e)})),e.onlineComponents=t,[2]}}))}))}function nf(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return e.offlineComponents?[3,2]:(ys("FirestoreClient","Using default OfflineComponentProvider"),[4,ef(e,new Wp)]);case 1:t.sent(),t.label=2;case 2:return[2,e.offlineComponents]}}))}))}function rf(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return e.onlineComponents?[3,2]:(ys("FirestoreClient","Using default OnlineComponentProvider"),[4,tf(e,new $p)]);case 1:t.sent(),t.label=2;case 2:return[2,e.onlineComponents]}}))}))}function of(e){return nf(e).then((function(e){return e.persistence}))}function sf(e){return nf(e).then((function(e){return e.localStore}))}function af(e){return rf(e).then((function(e){return e.remoteStore}))}function lf(e){return rf(e).then((function(e){return e.syncEngine}))}function cf(e){return Object(sn.b)(this,void 0,void 0,(function(){var t,n;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return[4,rf(e)];case 1:return t=i.sent(),[2,((n=t.eventManager).onListen=mp.bind(null,t.syncEngine),n.onUnlisten=bp.bind(null,t.syncEngine),n)]}}))}))}function uf(e,t,n){var i=this;void 0===n&&(n={});var r=new su;return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(i,void 0,void 0,(function(){var i;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return i=function(e,t,n,i,r){var o=new Qp({next:function(o){t.enqueueAndForget((function(){return np(e,s)}));var a=o.docs.has(n);!a&&o.fromCache?r.reject(new bs(gs.UNAVAILABLE,"Failed to get document because the client is offline.")):a&&o.fromCache&&i&&"server"===i.source?r.reject(new bs(gs.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):r.resolve(o)},error:function(e){return r.reject(e)}}),s=new sp(La(n.path),o,{includeMetadataChanges:!0,so:!0});return tp(e,s)},[4,cf(e)];case 1:return[2,i.apply(void 0,[o.sent(),e.asyncQueue,t,n,r])]}}))}))})),r.promise}function hf(e,t,n){var i=this;void 0===n&&(n={});var r=new su;return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(i,void 0,void 0,(function(){var i;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return i=function(e,t,n,i,r){var o=new Qp({next:function(n){t.enqueueAndForget((function(){return np(e,s)})),n.fromCache&&"server"===i.source?r.reject(new bs(gs.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):r.resolve(n)},error:function(e){return r.reject(e)}}),s=new sp(n,o,{includeMetadataChanges:!0,so:!0});return tp(e,s)},[4,cf(e)];case 1:return[2,i.apply(void 0,[o.sent(),e.asyncQueue,t,n,r])]}}))}))})),r.promise}var df=function(e,t,n,i,r,o,s,a){this.databaseId=e,this.appId=t,this.persistenceKey=n,this.host=i,this.ssl=r,this.forceLongPolling=o,this.autoDetectLongPolling=s,this.useFetchStreams=a},pf=function(){function e(e,t){this.projectId=e,this.database=t||"(default)"}return Object.defineProperty(e.prototype,"isDefaultDatabase",{get:function(){return"(default)"===this.database}
1,enumerable:!1,configurable:!0}),e.prototype.isEqual=function(t){return t instanceof e&&t.projectId===this.projectId&&t.database===this.database},e}(),ff=new Map,mf=function(e,t){this.user=t,this.type="OAuth",this.authHeaders={},this.authHeaders.Authorization="Bearer "+e},gf=function(){function e(){this.changeListener=null}return e.prototype.getToken=function(){return Promise.resolve(null)},e.prototype.invalidateToken=function(){},e.prototype.setChangeListener=function(e,t){this.changeListener=t,e.enqueueRetryable((function(){return t(Yh.UNAUTHENTICATED)}))},e.prototype.removeChangeListener=function(){this.changeListener=null},e}(),bf=function(){function e(e){this.token=e,this.changeListener=null}return e.prototype.getToken=function(){return Promise.resolve(this.token)},e.prototype.invalidateToken=function(){},e.prototype.setChangeListener=function(e,t){var n=this;this.changeListener=t,e.enqueueRetryable((function(){return t(n.token.user)}))},e.prototype.removeChangeListener=function(){this.changeListener=null},e}(),_f=function(){function e(e){var t=this;this.currentUser=Yh.UNAUTHENTICATED,this.oc=new su,this.cc=0,this.forceRefresh=!1,this.auth=null,this.asyncQueue=null,this.uc=function(){t.cc++,t.currentUser=t.ac(),t.oc.resolve(),t.changeListener&&t.asyncQueue.enqueueRetryable((function(){return t.changeListener(t.currentUser)}))};var n=function(e){ys("FirebaseCredentialsProvider","Auth detected"),t.auth=e,t.auth.addAuthTokenListener(t.uc)};e.onInit((function(e){return n(e)})),setTimeout((function(){if(!t.auth){var i=e.getImmediate({optional:!0});i?n(i):(ys("FirebaseCredentialsProvider","Auth not yet detected"),t.oc.resolve())}}),0)}return e.prototype.getToken=function(){var e=this,t=this.cc,n=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(n).then((function(n){return e.cc!==t?(ys("FirebaseCredentialsProvider","getToken aborted due to token change."),e.getToken()):n?(Os("string"==typeof n.accessToken),new mf(n.accessToken,e.currentUser)):null})):Promise.resolve(null)},e.prototype.invalidateToken=function(){this.forceRefresh=!0},e.prototype.setChangeListener=function(e,t){var n=this;this.asyncQueue=e,this.asyncQueue.enqueueRetryable((function(){return Object(sn.b)(n,void 0,void 0,(function(){return Object(sn.d)(this,(function(e){switch(e.label){case 0:return[4,this.oc.promise];case 1:return e.sent(),[4,t(this.currentUser)];case 2:return e.sent(),this.changeListener=t,[2]}}))}))}))},e.prototype.removeChangeListener=function(){this.auth&&this.auth.removeAuthTokenListener(this.uc),this.changeListener=function(){return Promise.resolve()}},e.prototype.ac=function(){var e=this.auth&&this.auth.getUid();return Os(null===e||"string"==typeof e),new Yh(e)},e}(),vf=function(){function e(e,t,n){this.hc=e,this.lc=t,this.fc=n,this.type="FirstParty",this.user=Yh.FIRST_PARTY}return Object.defineProperty(e.prototype,"authHeaders",{get:function(){var e={"X-Goog-AuthUser":this.lc},t=this.hc.auth.getAuthHeaderValueForFirstParty([]);return t&&(e.Authorization=t),this.fc&&(e["X-Goog-Iam-Authorization-Token"]=this.fc),e},enumerable:!1,configurable:!0}),e}(),yf=function(){function e(e,t,n){this.hc=e,this.lc=t,this.fc=n}return e.prototype.getToken=function(){return Promise.resolve(new vf(this.hc,this.lc,this.fc))},e.prototype.setChangeListener=function(e,t){e.enqueueRetryable((function(){return t(Yh.FIRST_PARTY)}))},e.prototype.removeChangeListener=function(){},e.prototype.invalidateToken=function(){},e}();function wf(e,t,n){if(!n)throw new bs(gs.INVALID_ARGUMENT,"Function "+e+"() cannot be called with an empty "+t+".")}function Cf(e,t){if(void 0===t)return{merge:!1};if(void 0!==t.mergeFields&&void 0!==t.merge)throw new bs(gs.INVALID_ARGUMENT,"Invalid options passed to function "+e+'(): You cannot specify both "merge" and "mergeFields".');return t}function xf(e,t,n,i){if(!0===t&&!0===i)throw new bs(gs.INVALID_ARGUMENT,e+" and "+n+" cannot be used together.")}function Sf(e){if(!Zs.isDocumentKey(e))throw new bs(gs.INVALID_ARGUMENT,"Invalid document reference. Document references must have an even number of segments, but "+e+" has "+e.length+".")}function Of(e){if(Zs.isDocumentKey(e))throw new bs(gs.INVALID_ARGUMENT,"Invalid collection reference. Collection references must have an odd number of segments, but "+e+" has "+e.length+".")}function kf(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e.length>20&&(e=e.substring(0,20)+"..."),JSON.stringify(e);if("number"==typeof e||"boolean"==typeof e)return""+e;if("object"==typeof e){if(e instanceof Array)return"an array";var t=function(e){if(e.constructor){var t=/function\s+([^\s(]+)\s*\(/.exec(e.constructor.toString());if(t&&t.length>1)return t[1]}return null}(e);return t?"a custom "+t+" object":"an object"}return"function"==typeof e?"a function":Ss()}function Ef(e,t){if("_delegate"in e&&(e=e._delegate),!(e instanceof t)){if(t.name===e.constructor.name)throw new bs(gs.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");var n=kf(e);throw new bs(gs.INVALID_ARGUMENT,"Expected type '"+t.name+"', but it was: "+n)}return e}function Pf(e,t){if(t<=0)throw new bs(gs.INVALID_ARGUMENT,"Function "+e+"() requires a positive number, but it was: "+t+".")}var If=function(){function e(e){var t;if(void 0===e.host){if(void 0!==e.ssl)throw new bs(gs.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=e.host,this.ssl=null===(t=e.ssl)||void 0===t||t;if(this.credentials=e.credentials,this.ignoreUndefinedProperties=!!e.ignoreUndefinedProperties,void 0===e.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==e.cacheSizeBytes&&e.cacheSizeBytes<1048576)throw new bs(gs.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=e.cacheSizeBytes}this.experimentalForceLongPolling=!!e.experimentalForceLongPolling,this.experimentalAutoDetectLongPolling=!!e.experimentalAutoDetectLongPolling,this.useFetchStreams=!!e.useFetchStreams,xf("experimentalForceLongPolling",e.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",e.experimentalAutoDetectLongPolling)}return e.prototype.isEqual=function(e){return this.host===e.host&&this.ssl===e.ssl&&this.credentials===e.credentials&&this.cacheSizeBytes===e.cacheSizeBytes&&this.experimentalForceLongPolling===e.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===e.experimentalAutoDetectLongPolling&&this.ignoreUndefinedProperties===e.ignoreUndefinedProperties&&this.useFetchStreams===e.useFetchStreams},e}(),Tf=function(){function e(e,t){this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new If({}),this._settingsFrozen=!1,e instanceof pf?(this._databaseId=e,this._credentials=new gf):(this._app=e,this._databaseId=function(e){if(!Object.prototype.hasOwnProperty.apply(e.options,["projectId"]))throw new bs(gs.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new pf(e.options.projectId)}(e),this._credentials=new _f(t))}return Object.defineProperty(e.prototype,"app",{get:function(){if(!this._app)throw new bs(gs.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_initialized",{get:function(){return this._settingsFrozen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_terminated",{get:function(){return void 0!==this._terminateTask},enumerable:!1,configurable:!0}),e.prototype._setSettings=function(e){if(this._settingsFrozen)throw new bs(gs.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new If(e),void 0!==e.credentials&&(this._credentials=function(e){if(!e)return new gf;switch(e.type){case"gapi":var t=e.client;return Os(!("object"!=typeof t||null===t||!t.auth||!t.auth.getAuthHeaderValueForFirstParty)),new yf(t,e.sessionIndex||"0",e.iamToken||null);case"provider":return e.client;default:throw new bs(gs.INVALID_ARGUMENT,"makeCredentialsProvider failed due to invalid credential type")}}(e.credentials))},e.prototype._getSettings=function(){return this._settings},e.prototype._freezeSettings=function(){return this._settingsFrozen=!0,this._settings},e.prototype._delete=function(){return this._terminateTask||(this._terminateTask=this._terminate()),this._terminateTask},e.prototype.toJSON=function(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}},e.prototype._terminate=function(){return(e=ff.get(this))&&(ys("ComponentProvider","Removing Datastore"),ff.delete(this),e.terminate()),Promise.resolve();var e},e}(),Mf=function(){function e(e,t,n){this.converter=t,this._key=n,this.type="document",this.firestore=e}return Object.defineProperty(e.prototype,"_path",{get:function(){return this._key.path},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._key.path.lastSegment()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._key.path.canonicalString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return new Df(this.firestore,this.converter,this._key.path.popLast())},enumerable:!1,configurable:!0}),e.prototype.withConverter=function(t){return new e(this.firestore,t,this._key)},e}(),Af=function(){function e(e,t,n){this.converter=t,this._query=n,this.type="query",this.firestore=e}return e.prototype.withConverter=function(t){return new e(this.firestore,t,this._query)},e}(),Df=function(e){function t(t,n,i){var r=this;return(r=e.call(this,t,n,La(i))||this)._path=i,r.type="collection",r}return Object(sn.c)(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._query.path.lastSegment()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return this._query.path.canonicalString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){var e=this._path.popLast();return e.isEmpty()?null:new Mf(this.firestore,null,new Zs(e))},enumerable:!1,configurable:!0}),t.prototype.withConverter=function(e){return new t(this.firestore,e,this._path)},t}(Af);function jf(e,t){for(var n,i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];if(e=Object(an.k)(e),wf("collection","path",t),e instanceof Tf)return Of(n=Fs.fromString.apply(Fs,Object(sn.f)([t],i))),new Df(e,null,n);if(!(e instanceof Mf||e instanceof Df))throw new bs(gs.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");return Of(n=Fs.fromString.apply(Fs,Object(sn.f)([e.path],i)).child(Fs.fromString(t))),new Df(e.firestore,null,n)}function Nf(e,t){for(var n,i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];if(e=Object(an.k)(e),1===arguments.length&&(t=Ps.u()),wf("doc","path",t),e instanceof Tf)return Sf(n=Fs.fromString.apply(Fs,Object(sn.f)([t],i))),new Mf(e,null,new Zs(n));if(!(e instanceof Mf||e instanceof Df))throw new bs(gs.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");return Sf(n=e._path.child(Fs.fromString.apply(Fs,Object(sn.f)([t],i)))),new Mf(e.firestore,e instanceof Df?e.converter:null,new Zs(n))}function Rf(e,t){return e=Object(an.k)(e),t=Object(an.k)(t),(e instanceof Mf||e instanceof Df)&&(t instanceof Mf||t instanceof Df)&&e.firestore===t.firestore&&e.path===t.path&&e.converter===t.converter}function Lf(e,t){return e=Object(an.k)(e),t=Object(an.k)(t),e instanceof Af&&t instanceof Af&&e.firestore===t.firestore&&Wa(e._query,t._query)&&e.converter===t.converter}var Ff=function(){function e(){var e=this;
1this.dc=Promise.resolve(),this.wc=[],this._c=!1,this.mc=[],this.yc=null,this.gc=!1,this.Ec=!1,this.Tc=[],this.Zi=new gd(this,"async_queue_retry"),this.Ic=function(){var t=fd();t&&ys("AsyncQueue","Visibility state changed to "+t.visibilityState),e.Zi.Gi()};var t=fd();t&&"function"==typeof t.addEventListener&&t.addEventListener("visibilitychange",this.Ic)}return Object.defineProperty(e.prototype,"isShuttingDown",{get:function(){return this._c},enumerable:!1,configurable:!0}),e.prototype.enqueueAndForget=function(e){this.enqueue(e)},e.prototype.enqueueAndForgetEvenWhileRestricted=function(e){this.Ac(),this.Rc(e)},e.prototype.enterRestrictedMode=function(e){if(!this._c){this._c=!0,this.Ec=e||!1;var t=fd();t&&"function"==typeof t.removeEventListener&&t.removeEventListener("visibilitychange",this.Ic)}},e.prototype.enqueue=function(e){var t=this;if(this.Ac(),this._c)return new Promise((function(){}));var n=new su;return this.Rc((function(){return t._c&&t.Ec?Promise.resolve():(e().then(n.resolve,n.reject),n.promise)})).then((function(){return n.promise}))},e.prototype.enqueueRetryable=function(e){var t=this;this.enqueueAndForget((function(){return t.wc.push(e),t.bc()}))},e.prototype.bc=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e,t=this;return Object(sn.d)(this,(function(n){switch(n.label){case 0:if(0===this.wc.length)return[3,5];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.wc[0]()];case 2:return n.sent(),this.wc.shift(),this.Zi.reset(),[3,4];case 3:if(!du(e=n.sent()))throw e;return ys("AsyncQueue","Operation failed with retryable error: "+e),[3,4];case 4:this.wc.length>0&&this.Zi.ji((function(){return t.bc()})),n.label=5;case 5:return[2]}}
1))}))},e.prototype.Rc=function(e){var t=this,n=this.dc.then((function(){return t.gc=!0,e().catch((function(e){throw t.yc=e,t.gc=!1,ws("INTERNAL UNHANDLED ERROR: ",function(e){var t=e.message||"";return e.stack&&(t=e.stack.includes(e.message)?e.stack:e.message+"\n"+e.stack),t}(e)),e})).then((function(e){return t.gc=!1,e}))}));return this.dc=n,n},e.prototype.enqueueAfterDelay=function(e,t,n){var i=this;this.Ac(),this.Tc.indexOf(e)>-1&&(t=0);var r=Xd.createAndSchedule(this,e,t,n,(function(e){return i.vc(e)}));return this.mc.push(r),r},e.prototype.Ac=function(){this.yc&&Ss()},e.prototype.verifyOperationInProgress=function(){},e.prototype.Pc=function(){return Object(sn.b)(this,void 0,void 0,(function(){var e;return Object(sn.d)(this,(function(t){switch(t.label){case 0:return[4,e=this.dc];case 1:t.sent(),t.label=2;case 2:if(e!==this.dc)return[3,0];t.label=3;case 3:return[2]}}))}))},e.prototype.Vc=function(e){for(var t=0,n=this.mc;t<n.length;t++)if(n[t].timerId===e)return!0;return!1},e.prototype.Sc=function(e){var t=this;return this.Pc().then((function(){t.mc.sort((function(e,t){return e.targetTimeMs-t.targetTimeMs}));for(var n=0,i=t.mc;n<i.length;n++){var r=i[n];if(r.skipDelay(),"all"!==e&&r.timerId===e)break}return t.Pc()}))},e.prototype.Dc=function(e){this.Tc.push(e)},e.prototype.vc=function(e){var t=this.mc.indexOf(e);this.mc.splice(t,1)},e}();function Vf(e){return function(e,t){if("object"!=typeof e||null===e)return!1;for(var n=e,i=0,r=["next","error","complete"];i<r.length;i++){var o=r[i];if(o in n&&"function"==typeof n[o])return!0}return!1}(e)}!function(){function e(){this._progressObserver={},this._taskCompletionResolver=new su,this._lastProgress={taskState:"Running",totalBytes:0,totalDocuments:0,bytesLoaded:0,documentsLoaded:0}}e.prototype.onProgress=function(e,t,n){this._progressObserver={next:e,error:t,complete:n}},e.prototype.catch=function(e){return this._taskCompletionResolver.promise.catch(e)},e.prototype.then=function(e,t){return this._taskCompletionResolver.promise.then(e,t)},e.prototype._completeWith=function(e){this._updateProgress(e),this._progressObserver.complete&&this._progressObserver.complete(),this._taskCompletionResolver.resolve(e)},e.prototype._failWith=function(e){this._lastProgress.taskState="Error",this._progressObserver.next&&this._progressObserver.next(this._lastProgress),this._progressObserver.error&&this._progressObserver.error(e),this._taskCompletionResolver.reject(e)},e.prototype._updateProgress=function(e){this._lastProgress=e,this._progressObserver.next&&this._progressObserver.next(e)}}();var Bf=function(e){function t(t,n){var i=this;return(i=e.call(this,t,n)||this).type="firestore",i._queue=new Ff,i._persistenceKey="name"in t?t.name:"[DEFAULT]",i}return Object(sn.c)(t,e),t.prototype._terminate=function(){return this._firestoreClient||Hf(this),this._firestoreClient.terminate()},t}(Tf);function Uf(e){return e._firestoreClient||Hf(e),e._firestoreClient.verifyNotTerminated(),e._firestoreClient}function Hf(e){var t,n=e._freezeSettings(),i=function(e,t,n,i){return new df(e,t,n,i.host,i.ssl,i.experimentalForceLongPolling,i.experimentalAutoDetectLongPolling,i.useFetchStreams)}(e._databaseId,(null===(t=e._app)||void 0===t?void 0:t.options.appId)||"",e._persistenceKey,n);e._firestoreClient=new Jp(e._credentials,e._queue,i)}function zf(e,t,n){var i=this,r=new su;return e.asyncQueue.enqueue((function(){return Object(sn.b)(i,void 0,void 0,(function(){var i;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,ef(e,n)];case 1:return o.sent(),[4,tf(e,t)];case 2:return o.sent(),r.resolve(),[3,4];case 3:if(!function(e){return"FirebaseError"===e.name?e.code===gs.FAILED_PRECONDITION||e.code===gs.UNIMPLEMENTED:!("undefined"!=typeof DOMException&&e instanceof DOMException)||22===e.code||20===e.code||11===e.code}(i=o.sent()))throw i;return console.warn("Error enabling offline persistence. Falling back to persistence disabled: "+i),r.reject(i),[3,4];case 4:return[2]}}
1))}))})).then((function(){return r.promise}))}function Gf(e){if(e._initialized||e._terminated)throw new bs(gs.FAILED_PRECONDITION,"Firestore has already been started and persistence can no longer be enabled. You can only enable persistence before calling any other methods on a Firestore object.")}var qf=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0;n<e.length;++n)if(0===e[n].length)throw new bs(gs.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new Bs(e)}return e.prototype.isEqual=function(e){return this._internalPath.isEqual(e._internalPath)},e}(),Wf=function(){function e(e){this._byteString=e}return e.fromBase64String=function(t){try{return new e(Hs.fromBase64String(t))}catch(t){throw new bs(gs.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+t)}},e.fromUint8Array=function(t){return new e(Hs.fromUint8Array(t))},e.prototype.toBase64=function(){return this._byteString.toBase64()},e.prototype.toUint8Array=function(){return this._byteString.toUint8Array()},e.prototype.toString=function(){return"Bytes(base64: "+this.toBase64()+")"},e.prototype.isEqual=function(e){return this._byteString.isEqual(e._byteString)},e}(),Kf=function(e){this._methodName=e},Xf=function(){function e(e,t){if(!isFinite(e)||e<-90||e>90)throw new bs(gs.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+e);if(!isFinite(t)||t<-180||t>180)throw new bs(gs.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+t);this._lat=e,this._long=t}return Object.defineProperty(e.prototype,"latitude",{get:function(){return this._lat},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"longitude",{get:function(){return this._long},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this._lat===e._lat&&this._long===e._long},e.prototype.toJSON=function(){return{latitude:this._lat,longitude:this._long}},e.prototype._compareTo=function(e){return Is(this._lat,e._lat)||Is(this._long,e._long)},e}(),$f=/^__.*__$/,Qf=function(){function e(e,t,n){this.data=e,this.fieldMask=t,this.fieldTransforms=n}return e.prototype.toMutation=function(e,t){return null!==this.fieldMask?new Sl(e,this.data,this.fieldMask,t,this.fieldTransforms):new xl(e,this.data,t,this.fieldTransforms)},e}(),Yf=function(){function e(e,t,n){this.data=e,this.fieldMask=t,this.fieldTransforms=n}return e.prototype.toMutation=function(e,t){return new Sl(e,this.data,this.fieldMask,t,this.fieldTransforms)},e}();function Zf(e){switch(e){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw Ss()}}var Jf=function(){function e(e,t,n,i,r,o){this.settings=e,this.databaseId=t,this.R=n,this.ignoreUndefinedProperties=i,void 0===r&&this.Cc(),this.fieldTransforms=r||[],this.fieldMask=o||[]}return Object.defineProperty(e.prototype,"path",{get:function(){return this.settings.path},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Nc",{get:function(){return this.settings.Nc},enumerable:!1,configurable:!0}),e.prototype.xc=function(t){return new e(Object.assign(Object.assign({},this.settings),t),this.databaseId,this.R,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)},e.prototype.kc=function(e){var t,n=null===(t=this.path)||void 0===t?void 0:t.child(e),i=this.xc({path:n,Fc:!1});return i.$c(e),i},e.prototype.Oc=function(e){var t,n=null===(t=this.path)||void 0===t?void 0:t.child(e),i=this.xc({path:n,Fc:!1});return i.Cc(),i},e.prototype.Mc=function(e){return this.xc({path:void 0,Fc:!0})},e.prototype.Lc=function(e){return vm(e,this.settings.methodName,this.settings.Bc||!1,this.path,this.settings.qc)},e.prototype.contains=function(e){return void 0!==this.fieldMask.find((function(t){return e.isPrefixOf(t)}))||void 0!==this.fieldTransforms.find((function(t){return e.isPrefixOf(t.field)}))},e.prototype.Cc=function(){if(this.path)for(var e=0;e<this.path.length;e++)this.$c(this.path.get(e))},e.prototype.$c=function(e){if(0===e.length)throw this.Lc("Document fields must not be empty");if(Zf(this.Nc)&&$f.test(e))throw this.Lc('Document fields cannot begin and end with "__"')},e}(),em=function(){function e(e,t,n){this.databaseId=e,this.ignoreUndefinedProperties=t,this.R=n||md(e)}return e.prototype.Uc=function(e,t,n,i){return void 0===i&&(i=!1),new Jf({Nc:e,methodName:t,qc:n,path:Bs.emptyPath(),Fc:!1,Bc:i},this.databaseId,this.R,this.ignoreUndefinedProperties)},e}();function tm(e){var t=e._freezeSettings(),n=md(e._databaseId);return new em(e._databaseId,!!t.ignoreUndefinedProperties,n)}function nm(e,t,n,i,r,o){void 0===o&&(o={});var s=e.Uc(o.merge||o.mergeFields?2:0,t,n,r);mm("Data must be an object, but it was:",s,i);var a,l,c=pm(i,s);if(o.merge)a=new Us(s.fieldMask),l=s.fieldTransforms;else if(o.mergeFields){for(var u=[],h=0,d=o.mergeFields;h<d.length;h++){var p=gm(t,d[h],n);if(!s.contains(p))throw new bs(gs.INVALID_ARGUMENT,"Field '"+p+"' is specified in your field mask but missing from your input data.");ym(u,p)||u.push(p)}a=new Us(u),l=s.fieldTransforms.filter((function(e){return a.covers(e.field)}))}else a=null,l=s.fieldTransforms;return new Qf(new da(c),a,l)}var im=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t.prototype._toFieldTransform=function(e){if(2!==e.Nc)throw e.Lc(1===e.Nc?this._methodName+"() can only appear at the top level of your update data":this._methodName+"() cannot be used with set() unless you pass {merge:true}");return e.fieldMask.push(e.path),null},t.prototype.isEqual=function(e){return e instanceof t},t}(Kf);function rm(e,t,n){return new Jf({Nc:3,qc:t.settings.qc,methodName:e._methodName,Fc:n},t.databaseId,t.R,t.ignoreUndefinedProperties)}var om=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t.prototype._toFieldTransform=function(e){return new pl(e.path,new ol)},t.prototype.isEqual=function(e){return e instanceof t},t}(Kf),sm=function(e){function t(t,n){var i=this;return(i=e.call(this,t)||this).Kc=n,i}return Object(sn.c)(t,e),t.prototype._toFieldTransform=function(e){var t=rm(this,e,!0),n=this.Kc.map((function(e){return dm(e,t)})),i=new sl(n);return new pl(e.path,i)},t.prototype.isEqual=function(e){return this===e},t}(Kf),am=function(e){function t(t,n){var i=this;return(i=e.call(this,t)||this).Kc=n,i}return Object(sn.c)(t,e),t.prototype._toFieldTransform=function(e){var t=rm(this,e,!0),n=this.Kc.map((function(e){return dm(e,t)})),i=new ll(n);return new pl(e.path,i)},t.prototype.isEqual=function(e){return this===e},t}(Kf),lm=function(e){function t(t,n){var i=this;return(i=e.call(this,t)||this).Qc=n,i}return Object(sn.c)(t,e),t.prototype._toFieldTransform=function(e){var t=new ul(e.R,el(e.R,this.Qc));return new pl(e.path,t)},t.prototype.isEqual=function(e){return this===e},t}(Kf);function cm(e,t,n,i){var r=e.Uc(1,t,n);mm("Data must be an object, but it was:",r,i);var o=[],s=da.empty();Ns(i,(function(e,i){var a=_m(t,e,n);i=Object(an.k)(i);var l=r.Oc(a);if(i instanceof im)o.push(a);else{var c=dm(i,l);null!=c&&(o.push(a),s.set(a,c))}}));var a=new Us(o);
1return new Yf(s,a,r.fieldTransforms)}function um(e,t,n,i,r,o){var s=e.Uc(1,t,n),a=[gm(t,i,n)],l=[r];if(o.length%2!=0)throw new bs(gs.INVALID_ARGUMENT,"Function "+t+"() needs to be called with an even number of arguments that alternate between field names and values.");for(var c=0;c<o.length;c+=2)a.push(gm(t,o[c])),l.push(o[c+1]);for(var u=[],h=da.empty(),d=a.length-1;d>=0;--d)if(!ym(u,a[d])){var p=a[d],f=l[d];f=Object(an.k)(f);var m=s.Oc(p);if(f instanceof im)u.push(p);else{var g=dm(f,m);null!=g&&(u.push(p),h.set(p,g))}}var b=new Us(u);return new Yf(h,b,s.fieldTransforms)}function hm(e,t,n,i){return void 0===i&&(i=!1),dm(n,e.Uc(i?4:3,t))}function dm(e,t){if(fm(e=Object(an.k)(e)))return mm("Unsupported field value:",t,e),pm(e,t);if(e instanceof Kf)return function(e,t){if(!Zf(t.Nc))throw t.Lc(e._methodName+"() can only be used with update() and set()");if(!t.path)throw t.Lc(e._methodName+"() is not currently supported inside arrays");var n=e._toFieldTransform(t);n&&t.fieldTransforms.push(n)}(e,t),null;if(void 0===e&&t.ignoreUndefinedProperties)return null;if(t.path&&t.fieldMask.push(t.path),e instanceof Array){if(t.settings.Fc&&4!==t.Nc)throw t.Lc("Nested arrays are not supported");return function(e,t){for(var n=[],i=0,r=0,o=e;r<o.length;r++){var s=dm(o[r],t.Mc(i));null==s&&(s={nullValue:"NULL_VALUE"}),n.push(s),i++}return{arrayValue:{values:n}}}(e,t)}return function(e,t){if(null===(e=Object(an.k)(e)))return{nullValue:"NULL_VALUE"};if("number"==typeof e)return el(t.R,e);if("boolean"==typeof e)return{booleanValue:e};if("string"==typeof e)return{stringValue:e};if(e instanceof Date){var n=As.fromDate(e);return{timestampValue:lc(t.R,n)}}if(e instanceof As)return n=new As(e.seconds,1e3*Math.floor(e.nanoseconds/1e3)),{timestampValue:lc(t.R,n)};if(e instanceof Xf)return{geoPointValue:{latitude:e.latitude,longitude:e.longitude}};if(e instanceof Wf)return{bytesValue:cc(t.R,e._byteString)};if(e instanceof Mf){var i=e.firestore._databaseId;if(!i.isEqual(n=t.databaseId))throw t.Lc("Document reference is for database "+i.projectId+"/"+i.database+" but should be for database "+n.projectId+"/"+n.database);return{referenceValue:dc(e.firestore._databaseId||t.databaseId,e._key.path)}}throw t.Lc("Unsupported field value: "+kf(e))}(e,t)}function pm(e,t){var n={};return Rs(e)?t.path&&t.path.length>0&&t.fieldMask.push(t.path):Ns(e,(function(e,i){var r=dm(i,t.kc(e));null!=r&&(n[e]=r)})),{mapValue:{fields:n}}}function fm(e){return!("object"!=typeof e||null===e||e instanceof Array||e instanceof Date||e instanceof As||e instanceof Xf||e instanceof Wf||e instanceof Mf||e instanceof Kf)}function mm(e,t,n){if(!fm(n)||!function(e){return"object"==typeof e&&null!==e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}(n)){var i=kf(n);throw t.Lc("an object"===i?e+" a custom object":e+" "+i)}}function gm(e,t,n){if((t=Object(an.k)(t))instanceof qf)return t._internalPath;if("string"==typeof t)return _m(e,t);throw vm("Field path arguments must be of type string or FieldPath.",e,!1,void 0,n)}var bm=new RegExp("[~\\*/\\[\\]]");function _m(e,t,n){if(t.search(bm)>=0)throw vm("Invalid field path ("+t+"). Paths must not contain '~', '*', '/', '[', or ']'",e,!1,void 0,n);try{return(new(qf.bind.apply(qf,Object(sn.f)([void 0],t.split(".")))))._internalPath}catch(yg){throw vm("Invalid field path ("+t+"). Paths must not be empty, begin with '.', end with '.', or contain '..'",e,!1,void 0,n)}}function vm(e,t,n,i,r){var o=i&&!i.isEmpty(),s=void 0!==r,a="Function "+t+"() called with invalid data";n&&(a+=" (via `toFirestore()`)");var l="";return(o||s)&&(l+=" (found",o&&(l+=" in field "+i),s&&(l+=" in document "+r),l+=")"),new bs(gs.INVALID_ARGUMENT,(a+=". ")+e+l)}function ym(e,t){return e.some((function(e){return e.isEqual(t)}))}var wm=function(){function e(e,t,n,i,r){this._firestore=e,this._userDataWriter=t,this._key=n,this._document=i,this._converter=r}return Object.defineProperty(e.prototype,"id",{get:function(){return this._key.path.lastSegment()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ref",{get:function(){return new Mf(this._firestore,this._converter,this._key)}
1,enumerable:!1,configurable:!0}),e.prototype.exists=function(){return null!==this._document},e.prototype.data=function(){if(this._document){if(this._converter){var e=new Cm(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(e)}return this._userDataWriter.convertValue(this._document.data.value)}},e.prototype.get=function(e){if(this._document){var t=this._document.data.field(xm("DocumentSnapshot.get",e));if(null!==t)return this._userDataWriter.convertValue(t)}},e}(),Cm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t.prototype.data=function(){return e.prototype.data.call(this)},t}(wm);function xm(e,t){return"string"==typeof t?_m(e,t):t instanceof qf?t._internalPath:t._delegate._internalPath}var Sm=function(){function e(e,t){this.hasPendingWrites=e,this.fromCache=t}return e.prototype.isEqual=function(e){return this.hasPendingWrites===e.hasPendingWrites&&this.fromCache===e.fromCache},e}(),Om=function(e){function t(t,n,i,r,o,s){var a=this;return(a=e.call(this,t,n,i,r,s)||this)._firestore=t,a._firestoreImpl=t,a.metadata=o,a}return Object(sn.c)(t,e),t.prototype.exists=function(){return e.prototype.exists.call(this)},t.prototype.data=function(e){if(void 0===e&&(e={}),this._document){if(this._converter){var t=new km(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(t,e)}return this._userDataWriter.convertValue(this._document.data.value,e.serverTimestamps)}},t.prototype.get=function(e,t){if(void 0===t&&(t={}),this._document){var n=this._document.data.field(xm("DocumentSnapshot.get",e));if(null!==n)return this._userDataWriter.convertValue(n,t.serverTimestamps)}},t}(wm),km=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t.prototype.data=function(t){return void 0===t&&(t={}),e.prototype.data.call(this,t)},t}(Om),Em=function(){function e(e,t,n,i){this._firestore=e,this._userDataWriter=t,this._snapshot=i,this.metadata=new Sm(i.hasPendingWrites,i.fromCache),this.query=n}return Object.defineProperty(e.prototype,"docs",{get:function(){var e=[];return this.forEach((function(t){return e.push(t)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._snapshot.docs.size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return 0===this.size},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e,t){var n=this;this._snapshot.docs.forEach((function(i){e.call(t,new km(n._firestore,n._userDataWriter,i.key,i,new Sm(n._snapshot.mutatedKeys.has(i.key),n._snapshot.fromCache),n.query.converter))}))},e.prototype.docChanges=function(e){void 0===e&&(e={});var t=!!e.includeMetadataChanges;if(t&&this._snapshot.excludesMetadataChanges)throw new bs(gs.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===t||(this._cachedChanges=function(e,t){if(e._snapshot.oldDocs.isEmpty()){var n=0;return e._snapshot.docChanges.map((function(t){return{type:"added",doc:new km(e._firestore,e._userDataWriter,t.doc.key,t.doc,new Sm(e._snapshot.mutatedKeys.has(t.doc.key),e._snapshot.fromCache),e.query.converter),oldIndex:-1,newIndex:n++}}))}var i=e._snapshot.oldDocs;return e._snapshot.docChanges.filter((function(e){return t||3!==e.type})).map((function(t){var n=new km(e._firestore,e._userDataWriter,t.doc.key,t.doc,new Sm(e._snapshot.mutatedKeys.has(t.doc.key),e._snapshot.fromCache),e.query.converter),r=-1,o=-1;return 0!==t.type&&(r=i.indexOf(t.doc.key),i=i.delete(t.doc.key)),1!==t.type&&(o=(i=i.add(t.doc)).indexOf(t.doc.key)),{type:Pm(t.type),doc:n,oldIndex:r,newIndex:o}}))}(this,t),this._cachedChangesIncludeMetadataChanges=t),this._cachedChanges},e}();function Pm(e){switch(e){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return Ss()}}function Im(e,t){return e instanceof Om&&t instanceof Om?e._firestore===t._firestore&&e._key.isEqual(t._key)&&(null===e._document?null===t._document:e._document.isEqual(t._document))&&e._converter===t._converter:e instanceof Em&&t instanceof Em&&e._firestore===t._firestore&&Lf(e.query,t.query)&&e.metadata.isEqual(t.metadata)&&e._snapshot.isEqual(t._snapshot)}function Tm(e){if(Va(e)&&0===e.explicitOrderBy.length)throw new bs(gs.UNIMPLEMENT
1ED,"limitToLast() queries require specifying at least one orderBy() clause")}var Mm=function(){};function Am(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=0,r=t;i<r.length;i++){var o=r[i];e=o._apply(e)}return e}var Dm=function(e){function t(t,n,i){var r=this;return(r=e.call(this)||this).jc=t,r.Wc=n,r.Gc=i,r.type="where",r}return Object(sn.c)(t,e),t.prototype._apply=function(e){var t=tm(e.firestore),n=function(e,t,n,i,r,o,s){var a;if(r.isKeyField()){if("array-contains"===o||"array-contains-any"===o)throw new bs(gs.INVALID_ARGUMENT,"Invalid Query. You can't perform '"+o+"' queries on FieldPath.documentId().");if("in"===o||"not-in"===o){Bm(s,o);for(var l=[],c=0,u=s;c<u.length;c++)l.push(Vm(i,e,u[c]));a={arrayValue:{values:l}}}else a=Vm(i,e,s)}else"in"!==o&&"not-in"!==o&&"array-contains-any"!==o||Bm(s,o),a=hm(n,"where",s,"in"===o||"not-in"===o);var h=ya.create(r,o,a);return function(e,t){if(t.g()){var n=Ua(e);if(null!==n&&!n.isEqual(t.field))throw new bs(gs.INVALID_ARGUMENT,"Invalid query. All where filters with an inequality (<, <=, !=, not-in, >, or >=) must be on the same field. But you have inequality filters on '"+n.toString()+"' and '"+t.field.toString()+"'");var i=Ba(e);null!==i&&Um(0,t.field,i)}var r=function(e,t){for(var n=0,i=e.filters;n<i.length;n++){var r=i[n];if(t.indexOf(r.op)>=0)return r.op}return null}(e,function(e){switch(e){case"!=":return["!=","not-in"];case"array-contains":return["array-contains","array-contains-any","not-in"];case"in":return["array-contains-any","in","not-in"];case"array-contains-any":return["array-contains","array-contains-any","in","not-in"];case"not-in":return["array-contains","array-contains-any","in","not-in","!="];default:return[]}}(t.op));if(null!==r)throw new bs(gs.INVALID_ARGUMENT,r===t.op?"Invalid query. You cannot use more than one '"+t.op.toString()+"' filter.":"Invalid query. You cannot use '"+t.op.toString()+"' filters with '"+r.toString()+"' filters.")}(e,h),h}(e._query,0,t,e.firestore._databaseId,this.jc,this.Wc,this.Gc);return new Af(e.firestore,e.converter,function(e,t){var n=e.filters.concat([t]);return new Na(e.path,e.collectionGroup,e.explicitOrderBy.slice(),n,e.limit,e.limitType,e.startAt,e.endAt)}(e._query,n))},t}(Mm),jm=function(e){function t(t,n){var i=this;return(i=e.call(this)||this).jc=t,i.zc=n,i.type="orderBy",i}return Object(sn.c)(t,e),t.prototype._apply=function(e){var t=function(e,t,n){if(null!==e.startAt)throw new bs(gs.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==e.endAt)throw new bs(gs.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");var i=new Ma(t,n);return function(e,t){if(null===Ba(e)){var n=Ua(e);null!==n&&Um(0,n,t.field)}}(e,i),i}(e._query,this.jc,this.zc);return new Af(e.firestore,e.converter,function(e,t){var n=e.explicitOrderBy.concat([t]);return new Na(e.path,e.collectionGroup,n,e.filters.slice(),e.limit,e.limitType,e.startAt,e.endAt)}(e._query,t))},t}(Mm),Nm=function(e){function t(t,n,i){var r=this;return(r=e.call(this)||this).type=t,r.Hc=n,r.Jc=i,r}return Object(sn.c)(t,e),t.prototype._apply=function(e){return new Af(e.firestore,e.converter,qa(e._query,this.Hc,this.Jc))},t}(Mm),Rm=function(e){function t(t,n,i){var r=this;return(r=e.call(this)||this).type=t,r.Yc=n,r.Xc=i,r}return Object(sn.c)(t,e),t.prototype._apply=function(e){var t=Fm(e,this.type,this.Yc,this.Xc);return new Af(e.firestore,e.converter,function(e,t){return new Na(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),e.limit,e.limitType,t,e.endAt)}(e._query,t))},t}(Mm),Lm=function(e){function t(t,n,i){var r=this;return(r=e.call(this)||this).type=t,r.Yc=n,r.Xc=i,r}return Object(sn.c)(t,e),t.prototype._apply=function(e){var t=Fm(e,this.type,this.Yc,this.Xc);return new Af(e.firestore,e.converter,function(e,t){return new Na(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),e.limit,e.limitType,e.startAt,t)}(e._query,t))},t}(Mm);function Fm(e,t,n,i){if(n[0]=Object(an.k)(n[0]),n[0]instanceof wm)return function(e,t,n,i,r){if(!i)throw new bs(gs.NOT_FOUND,"Can't use a DocumentSnapshot that doesn't exist for "+n+"().");for(var o=[],s=0,a=za(e);s<a.length;s++){var l=a[s];if(l.field.isKeyField())o.push(oa(t,i.key));else{var c=i.data.field(l.field);if(Ks(c))throw new bs(gs.INVALID_ARGUMENT,'Invalid query. You are trying to start or end a query using a document for which the field "'+l.field+'" is an uncommitted server timestamp. (Since the value of this field is unknown, you cannot start/end a query with it.)');if(null===c){var u=l.field.canonicalString();throw new bs(gs.INVALID_ARGUMENT,"Invalid query. You are trying to start or end a query using a document for which the field '"+u+"' (used as the orderBy) does not exist.")}o.push(c)}}return new Ia(o,r)}(e._query,e.firestore._databaseId,t,n[0]._document,i);var r=tm(e.firestore);return function(e,t,n,i,r,o){var s=e.explicitOrderBy;if(r.length>s.length)throw new bs(gs.INVALID_ARGUMENT,"Too many arguments provided to "+i+"(). The number of arguments must be less than or equal to the number of orderBy() clauses");for(var a=[],l=0;l<r.length;l++){var c=r[l];
1if(s[l].field.isKeyField()){if("string"!=typeof c)throw new bs(gs.INVALID_ARGUMENT,"Invalid query. Expected a string for document ID in "+i+"(), but got a "+typeof c);if(!Ha(e)&&-1!==c.indexOf("/"))throw new bs(gs.INVALID_ARGUMENT,"Invalid query. When querying a collection and ordering by FieldPath.documentId(), the value passed to "+i+"() must be a plain document ID, but '"+c+"' contains a slash.");var u=e.path.child(Fs.fromString(c));if(!Zs.isDocumentKey(u))throw new bs(gs.INVALID_ARGUMENT,"Invalid query. When querying a collection group and ordering by FieldPath.documentId(), the value passed to "+i+"() must result in a valid document path, but '"+u+"' is not because it contains an odd number of segments.");var h=new Zs(u);a.push(oa(t,h))}else{var d=hm(n,i,c);a.push(d)}}return new Ia(a,o)}(e._query,e.firestore._databaseId,r,t,n,i)}function Vm(e,t,n){if("string"==typeof(n=Object(an.k)(n))){if(""===n)throw new bs(gs.INVALID_ARGUMENT,"Invalid query. When querying with FieldPath.documentId(), you must provide a valid document ID, but it was an empty string.");if(!Ha(t)&&-1!==n.indexOf("/"))throw new bs(gs.INVALID_ARGUMENT,"Invalid query. When querying a collection by FieldPath.documentId(), you must provide a plain document ID, but '"+n+"' contains a '/' character.");var i=t.path.child(Fs.fromString(n));if(!Zs.isDocumentKey(i))throw new bs(gs.INVALID_ARGUMENT,"Invalid query. When querying a collection group by FieldPath.documentId(), the value provided must result in a valid document path, but '"+i+"' is not because it has an odd number of segments ("+i.length+").");return oa(e,new Zs(i))}if(n instanceof Mf)return oa(e,n._key);throw new bs(gs.INVALID_ARGUMENT,"Invalid query. When querying with FieldPath.documentId(), you must provide a valid string or a DocumentReference, but it was: "+kf(n)+".")}function Bm(e,t){if(!Array.isArray(e)||0===e.length)throw new bs(gs.INVALID_ARGUMENT,"Invalid Query. A non-empty array is required for '"+t.toString()+"' filters.");if(e.length>10)throw new bs(gs.INVALID_ARGUMENT,"Invalid Query. '"+t.toString()+"' filters support a maximum of 10 elements in the value array.")}function Um(e,t,n){if(!n.isEqual(t))throw new bs(gs.INVALID_ARGUMENT,"Invalid query. You have a where filter with an inequality (<, <=, !=, not-in, >, or >=) on field '"+t.toString()+"' and so you must also use '"+t.toString()+"' as your first argument to orderBy(), but your first orderBy() is on field '"+n.toString()+"' instead.")}var Hm=function(){function e(){}return e.prototype.convertValue=function(e,t){switch(void 0===t&&(t="none"),Js(e)){case 0:return null;case 1:return e.booleanValue;case 2:return qs(e.integerValue||e.doubleValue);case 3:return this.convertTimestamp(e.timestampValue);case 4:return this.convertServerTimestamp(e,t);case 5:return e.stringValue;case 6:return this.convertBytes(Ws(e.bytesValue));case 7:return this.convertReference(e.referenceValue);case 8:return this.convertGeoPoint(e.geoPointValue);case 9:return this.convertArray(e.arrayValue,t);case 10:return this.convertObject(e.mapValue,t);default:throw Ss()}},e.prototype.convertObject=function(e,t){var n=this,i={};return Ns(e.fields,(function(e,r){i[e]=n.convertValue(r,t)})),i},e.prototype.convertGeoPoint=function(e){return new Xf(qs(e.latitude),qs(e.longitude))},e.prototype.convertArray=function(e,t){var n=this;return(e.values||[]).map((function(e){return n.convertValue(e,t)}))},e.prototype.convertServerTimestamp=function(e,t){switch(t){case"previous":var n=function e(t){var n=t.mapValue.fields.__previous_value__;return Ks(n)?e(n):n}(e);return null==n?null:this.convertValue(n,t);case"estimate":return this.convertTimestamp(Xs(e));default:return null}},e.prototype.convertTimestamp=function(e){var t=Gs(e);return new As(t.seconds,t.nanos)},e.prototype.convertDocumentKey=function(e,t){var n=Fs.fromString(e);Os(Rc(n));var i=new pf(n.get(1),n.get(3)),r=new Zs(n.popFirst(5));return i.isEqual(t)||ws("Document "+r+" contains a document reference within a different database ("+i.projectId+"/"+i.database+") which is not supported. It will be treated as a reference in the current database ("+t.projectId+"/"+t.database+") instead."),r},e}();function zm(e,t,n){return e?n&&(n.merge||n.mergeFields)?e.toFirestore(t,n):e.toFirestore(t):t}var Gm=function(e){function t(t){var n=this;return(n=e.call(this)||this).firestore=t,n}return Object(sn.c)(t,e),t.prototype.convertBytes=function(e){return new Wf(e)},t.prototype.convertReference=function(e){var t=this.convertDocumentKey(e,this.firestore._databaseId);
1return new Mf(this.firestore,null,t)},t}(Hm),qm=function(){function e(e,t){this._firestore=e,this._commitHandler=t,this._mutations=[],this._committed=!1,this._dataReader=tm(e)}return e.prototype.set=function(e,t,n){this._verifyNotCommitted();var i=Wm(e,this._firestore),r=zm(i.converter,t,n),o=nm(this._dataReader,"WriteBatch.set",i._key,r,null!==i.converter,n);return this._mutations.push(o.toMutation(i._key,ml.none())),this},e.prototype.update=function(e,t,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r];this._verifyNotCommitted();var o,s=Wm(e,this._firestore);return o="string"==typeof(t=Object(an.k)(t))||t instanceof qf?um(this._dataReader,"WriteBatch.update",s._key,t,n,i):cm(this._dataReader,"WriteBatch.update",s._key,t),this._mutations.push(o.toMutation(s._key,ml.exists(!0))),this},e.prototype.delete=function(e){this._verifyNotCommitted();var t=Wm(e,this._firestore);return this._mutations=this._mutations.concat(new Tl(t._key,ml.none())),this},e.prototype.commit=function(){return this._verifyNotCommitted(),this._committed=!0,this._mutations.length>0?this._commitHandler(this._mutations):Promise.resolve()},e.prototype._verifyNotCommitted=function(){if(this._committed)throw new bs(gs.FAILED_PRECONDITION,"A write batch can no longer be used after commit() has been called.")},e}();function Wm(e,t){if((e=Object(an.k)(e)).firestore!==t)throw new bs(gs.INVALID_ARGUMENT,"Provided document reference is from a different Firestore instance.");return e}var Km=function(e){function t(t){var n=this;return(n=e.call(this)||this).firestore=t,n}return Object(sn.c)(t,e),t.prototype.convertBytes=function(e){return new Wf(e)},t.prototype.convertReference=function(e){var t=this.convertDocumentKey(e,this.firestore._databaseId);return new Mf(this.firestore,null,t)},t}(Hm);function Xm(e,t,n){e=Ef(e,Mf);var i=Ef(e.firestore,Bf),r=zm(e.converter,t,n);return Ym(i,[nm(tm(i),"setDoc",e._key,r,null!==e.converter,n).toMutation(e._key,ml.none())])}function $m(e,t,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r];e=Ef(e,Mf);var o=Ef(e.firestore,Bf),s=tm(o);return Ym(o,[("string"==typeof(t=Object(an.k)(t))||t instanceof qf?um(s,"updateDoc",e._key,t,n,i):cm(s,"updateDoc",e._key,t)).toMutation(e._key,ml.exists(!0))])}function Qm(e){for(var t,n,i,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];e=Object(an.k)(e);var s={includeMetadataChanges:!1},a=0;"object"!=typeof r[a]||Vf(r[a])||(s=r[a],a++);var l,c,u,h={includeMetadataChanges:s.includeMetadataChanges};if(Vf(r[a])){var d=r[a];r[a]=null===(t=d.next)||void 0===t?void 0:t.bind(d),r[a+1]=null===(n=d.error)||void 0===n?void 0:n.bind(d),r[a+2]=null===(i=d.complete)||void 0===i?void 0:i.bind(d)}if(e instanceof Mf)c=Ef(e.firestore,Bf),u=La(e._key.path),l={next:function(t){r[a]&&r[a](Zm(c,e,t))},error:r[a+1],complete:r[a+2]};else{var p=Ef(e,Af);c=Ef(p.firestore,Bf),u=p._query;var f=new Km(c);l={next:function(e){r[a]&&r[a](new Em(c,f,p,e))},error:r[a+1],complete:r[a+2]},Tm(e._query)}return function(e,t,n,i){var r=this,o=new Qp(i),s=new sp(t,o,n);return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(r,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return t=tp,[4,cf(e)];case 1:return[2,t.apply(void 0,[n.sent(),s])]}}))}))})),function(){o.Wo(),e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(r,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return t=np,[4,cf(e)];case 1:return[2,t.apply(void 0,[n.sent(),s])]}}))}))}))}}(Uf(c),u,h,l)}function Ym(e,t){return function(e,t){var n=this,i=new su;return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(n,void 0,void 0,(function(){var n;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return n=_p,[4,lf(e)];case 1:return[2,n.apply(void 0,[r.sent(),t,i])]}}))}))})),i.promise}(Uf(e),t)}function Zm(e,t,n){var i=n.docs.get(t._key),r=new Km(e);return new Om(e,r,t._key,i,new Sm(n.hasPendingWrites,n.fromCache),t.converter)}var Jm=function(e){function t(t,n){var i=this;return(i=e.call(this,t,n)||this)._firestore=t,i}return Object(sn.c)(t,e),t.prototype.get=function(t){var n=this,i=Wm(t,this._firestore),r=new Km(this._firestore);return e.prototype.get.call(this,t).then((function(e){return new Om(n._firestore,r,i._key,e._document,new Sm(!1,!1),i.converter)}))},t}(function(){function e(e,t){this._firestore=e,this._transaction=t,this._dataReader=tm(e)}return e.prototype.get=function(e){var t=this,n=Wm(e,this._firestore),i=new Gm(this._firestore);return this._transaction.lookup([n._key]).then((function(e){if(!e||1!==e.length)return Ss();var r=e[0];if(r.isFoundDocument())return new wm(t._firestore,i,r.key,r,n.converter);if(r.isNoDocument())return new wm(t._firestore,i,n._key,null,n.converter);throw Ss()}))},e.prototype.set=function(e,t,n){var i=Wm(e,this._firestore),r=zm(i.converter,t,n),o=nm(this._dataReader,"Transaction.set",i._key,r,null!==i.converter,n);return this._transaction.set(i._key,o),this},e.prototype.update=function(e,t,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r];var o,s=Wm(e,this._firestore);
1return o="string"==typeof(t=Object(an.k)(t))||t instanceof qf?um(this._dataReader,"Transaction.update",s._key,t,n,i):cm(this._dataReader,"Transaction.update",s._key,t),this._transaction.update(s._key,o),this},e.prototype.delete=function(e){var t=Wm(e,this._firestore);return this._transaction.delete(t._key),this},e}());function eg(){if("undefined"==typeof Uint8Array)throw new bs(gs.UNIMPLEMENTED,"Uint8Arrays are not available in this environment.")}function tg(){if("undefined"==typeof atob)throw new bs(gs.UNIMPLEMENTED,"Blobs are unavailable in Firestore in this environment.")}var ng=function(){function e(e){this._delegate=e}return e.fromBase64String=function(t){return tg(),new e(Wf.fromBase64String(t))},e.fromUint8Array=function(t){return eg(),new e(Wf.fromUint8Array(t))},e.prototype.toBase64=function(){return tg(),this._delegate.toBase64()},e.prototype.toUint8Array=function(){return eg(),this._delegate.toUint8Array()},e.prototype.isEqual=function(e){return this._delegate.isEqual(e._delegate)},e.prototype.toString=function(){return"Blob(base64: "+this.toBase64()+")"},e}(),ig=function(){function e(){}return e.prototype.enableIndexedDbPersistence=function(e,t){return function(e,t){Gf(e=Ef(e,Bf));var n=Uf(e),i=e._freezeSettings(),r=new $p;return zf(n,r,new Kp(r,i.cacheSizeBytes,null==t?void 0:t.forceOwnership))}(e._delegate,{forceOwnership:t})},e.prototype.enableMultiTabIndexedDbPersistence=function(e){return function(e){Gf(e=Ef(e,Bf));var t=Uf(e),n=e._freezeSettings(),i=new $p;return zf(t,i,new Xp(i,n.cacheSizeBytes))}(e._delegate)},e.prototype.clearIndexedDbPersistence=function(e){return function(e){var t=this;if(e._initialized&&!e._terminated)throw new bs(gs.FAILED_PRECONDITION,"Persistence can only be cleared before a Firestore instance is initialized or after it is terminated.");var n=new su;return e._queue.enqueueAndForgetEvenWhileRestricted((function(){return Object(sn.b)(t,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,function(e){return Object(sn.b)(this,void 0,void 0,(function(){return Object(sn.d)(this,(function(t){switch(t.label){case 0:return cu.yt()?[4,cu.delete(e+"main")]:[2,Promise.resolve()];case 1:return t.sent(),[2]}}))}))}(yh(e._databaseId,e._persistenceKey))];case 1:return i.sent(),n.resolve(),[3,3];case 2:return t=i.sent(),n.reject(t),[3,3];case 3:return[2]}}
1))}))})),n.promise}(e._delegate)},e}(),rg=function(){function e(e,t,n){var i=this;this._delegate=t,this.Zc=n,this.INTERNAL={delete:function(){return i.terminate()}},e instanceof pf||(this.tu=e)}return Object.defineProperty(e.prototype,"_databaseId",{get:function(){return this._delegate._databaseId},enumerable:!1,configurable:!0}),e.prototype.settings=function(e){var t=this._delegate._getSettings();e.merge||t.host===e.host||Cs("You are overriding the original host. If you did not intend to override your settings, use {merge: true}."),e.merge&&delete(e=Object.assign(Object.assign({},t),e)).merge,this._delegate._setSettings(e)},e.prototype.useEmulator=function(e,t,n){void 0===n&&(n={}),function(e,t,n,i){var r;void 0===i&&(i={});var o=(e=Ef(e,Tf))._getSettings();if("firestore.googleapis.com"!==o.host&&o.host!==t&&Cs("Host has been set in both settings() and useEmulator(), emulator host will be used"),e._setSettings(Object.assign(Object.assign({},o),{host:t+":"+n,ssl:!1})),i.mockUserToken){var s,a;if("string"==typeof i.mockUserToken)s=i.mockUserToken,a=Yh.MOCK_USER;else{s=Object(an.g)(i.mockUserToken,null===(r=e._app)||void 0===r?void 0:r.options.projectId);var l=i.mockUserToken.sub||i.mockUserToken.user_id;if(!l)throw new bs(gs.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");a=new Yh(l)}e._credentials=new bf(new mf(s,a))}}(this._delegate,e,t,n)},e.prototype.enableNetwork=function(){return function(e){var t=this;return e.asyncQueue.enqueue((function(){return Object(sn.b)(t,void 0,void 0,(function(){var t,n;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return[4,of(e)];case 1:return t=i.sent(),[4,af(e)];case 2:return n=i.sent(),[2,(t.setNetworkEnabled(!0),function(e){var t=ks(e);return t.Or.delete(0),xd(t)}(n))]}}))}))}))}(Uf(Ef(this._delegate,Bf)))},e.prototype.disableNetwork=function(){return function(e){var t=this;return e.asyncQueue.enqueue((function(){return Object(sn.b)(t,void 0,void 0,(function(){var t,n;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return[4,of(e)];case 1:return t=i.sent(),[4,af(e)];case 2:return n=i.sent(),[2,(t.setNetworkEnabled(!1),function(e){return Object(sn.b)(this,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return(t=ks(e)).Or.add(0),[4,Sd(t)];case 1:return n.sent(),t.Br.set("Offline"),[2]}}))}))}(n))]}}))}))}))}(Uf(Ef(this._delegate,Bf)))},e.prototype.enablePersistence=function(e){var t=!1,n=!1;return e&&xf("synchronizeTabs",t=!!e.synchronizeTabs,"experimentalForceOwningTab",n=!!e.experimentalForceOwningTab),t?this.Zc.enableMultiTabIndexedDbPersistence(this):this.Zc.enableIndexedDbPersistence(this,n)},e.prototype.clearPersistence=function(){return this.Zc.clearIndexedDbPersistence(this)},e.prototype.terminate=function(){return this.tu&&(this.tu._removeServiceInstance("firestore"),this.tu._removeServiceInstance("firestore-exp")),this._delegate._delete()},e.prototype.waitForPendingWrites=function(){return function(e){var t=this,n=new su;return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(t,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(i){switch(i.label){case 0:return t=Sp,[4,lf(e)];case 1:return[2,t.apply(void 0,[i.sent(),n])]}}))}))})),n.promise}(Uf(Ef(this._delegate,Bf)))},e.prototype.onSnapshotsInSync=function(e){return function(e,t){return function(e,t){var n=this,i=new Qp(t);return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(n,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return t=function(e,t){ks(e).Gr.add(t),t.next()},[4,cf(e)];case 1:return[2,t.apply(void 0,[n.sent(),i])]}}))}))})),function(){i.Wo(),e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(n,void 0,void 0,(function(){var t;return Object(sn.d)(this,(function(n){switch(n.label){case 0:return t=function(e,t){ks(e).Gr.delete(t)},[4,cf(e)];case 1:return[2,t.apply(void 0,[n.sent(),i])]}}))}))}))}}(Uf(e=Ef(e,Bf)),Vf(t)?t:{next:t})}(this._delegate,e)},Object.defineProperty(e.prototype,"app",{get:function(){if(!this.tu)throw new bs(gs.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this.tu}
1,enumerable:!1,configurable:!0}),e.prototype.collection=function(e){try{return new _g(this,jf(this._delegate,e))}catch(e){throw ug(e,"collection()","Firestore.collection()")}},e.prototype.doc=function(e){try{return new cg(this,Nf(this._delegate,e))}catch(e){throw ug(e,"doc()","Firestore.doc()")}},e.prototype.collectionGroup=function(e){try{return new mg(this,function(e,t){if(e=Ef(e,Tf),wf("collectionGroup","collection id",t),t.indexOf("/")>=0)throw new bs(gs.INVALID_ARGUMENT,"Invalid collection ID '"+t+"' passed to function collectionGroup(). Collection IDs must not contain '/'.");return new Af(e,null,function(e){return new Na(Fs.emptyPath(),e)}(t))}(this._delegate,e))}catch(e){throw ug(e,"collectionGroup()","Firestore.collectionGroup()")}},e.prototype.runTransaction=function(e){var t=this;return function(e,t){return function(e,t){var n=this,i=new su;return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(n,void 0,void 0,(function(){var n;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return[4,function(e){return rf(e).then((function(e){return e.datastore}))}(e)];case 1:return n=r.sent(),new Zp(e.asyncQueue,n,t,i).run(),[2]}}))}))})),i.promise}(Uf(e),(function(n){return t(new Jm(e,n))}))}(this._delegate,(function(n){return e(new sg(t,n))}))},e.prototype.batch=function(){var e=this;return Uf(this._delegate),new ag(new qm(this._delegate,(function(t){return Ym(e._delegate,t)})))},e.prototype.loadBundle=function(e){throw new bs(gs.FAILED_PRECONDITION,'"loadBundle()" does not exist, have you imported "firebase/firestore/bundle"?')},e.prototype.namedQuery=function(e){throw new bs(gs.FAILED_PRECONDITION,'"namedQuery()" does not exist, have you imported "firebase/firestore/bundle"?')},e}(),og=function(e){function t(t){var n=this;return(n=e.call(this)||this).firestore=t,n}return Object(sn.c)(t,e),t.prototype.convertBytes=function(e){return new ng(new Wf(e))},t.prototype.convertReference=function(e){var t=this.convertDocumentKey(e,this.firestore._databaseId);return cg.eu(t,this.firestore,null)},t}(Hm),sg=function(){function e(e,t){this._firestore=e,this._delegate=t,this._userDataWriter=new og(e)}return e.prototype.get=function(e){var t=this,n=vg(e);return this._delegate.get(n).then((function(e){return new pg(t._firestore,new Om(t._firestore._delegate,t._userDataWriter,e._key,e._document,e.metadata,n.converter))}))},e.prototype.set=function(e,t,n){var i=vg(e);return n?(Cf("Transaction.set",n),this._delegate.set(i,t,n)):this._delegate.set(i,t),this},e.prototype.update=function(e,t,n){for(var i,r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var s=vg(e);return 2===arguments.length?this._delegate.update(s,t):(i=this._delegate).update.apply(i,Object(sn.f)([s,t,n],r)),this},e.prototype.delete=function(e){var t=vg(e);return this._delegate.delete(t),this},e}(),ag=function(){function e(e){this._delegate=e}return e.prototype.set=function(e,t,n){var i=vg(e);return n?(Cf("WriteBatch.set",n),this._delegate.set(i,t,n)):this._delegate.set(i,t),this},e.prototype.update=function(e,t,n){for(var i,r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var s=vg(e);return 2===arguments.length?this._delegate.update(s,t):(i=this._delegate).update.apply(i,Object(sn.f)([s,t,n],r)),this},e.prototype.delete=function(e){var t=vg(e);return this._delegate.delete(t),this},e.prototype.commit=function(){return this._delegate.commit()},e}(),lg=function(){function e(e,t,n){this._firestore=e,this._userDataWriter=t,this._delegate=n}return e.prototype.fromFirestore=function(e,t){var n=new km(this._firestore._delegate,this._userDataWriter,e._key,e._document,e.metadata,null);return this._delegate.fromFirestore(new fg(this._firestore,n),null!=t?t:{})},e.prototype.toFirestore=function(e,t){return t?this._delegate.toFirestore(e,t):this._delegate.toFirestore(e)},e.nu=function(t,n){var i=e.su,r=i.get(t);r||(r=new WeakMap,i.set(t,r));var o=r.get(n);return o||(o=new e(t,new og(t),n),r.set(n,o)),o},e}();lg.su=new WeakMap;var cg=function(){function e(e,t){this.firestore=e,this._delegate=t,this._userDataWriter=new og(e)}return e.iu=function(t,n,i){if(t.length%2!=0)throw new bs(gs.INVALID_ARGUMENT,"Invalid document reference. Document references must have an even number of segments, but "+t.canonicalString()+" has "+t.length);return new e(n,new Mf(n._delegate,i,new Zs(t)))},e.eu=function(t,n,i){return new e(n,new Mf(n._delegate,i,t))},Object.defineProperty(e.prototype,"id",{get:function(){return this._delegate.id}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return new _g(this.firestore,this._delegate.parent)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._delegate.path},enumerable:!1,configurable:!0}),e.prototype.collection=function(e){try{return new _g(this.firestore,jf(this._delegate,e))}catch(e){throw ug(e,"collection()","DocumentReference.collection()")}},e.prototype.isEqual=function(e){return(e=Object(an.k)(e))instanceof Mf&&Rf(this._delegate,e)},e.prototype.set=function(e,t){t=Cf("DocumentReference.set",t);try{return t?Xm(this._delegate,e,t):Xm(this._delegate,e)}catch(e){throw ug(e,"setDoc()","DocumentReference.set()")}},e.prototype.update=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];try{return 1===arguments.length?$m(this._delegate,e):$m.apply(void 0,Object(sn.f)([this._delegate,e,t],n))}catch(e){throw ug(e,"updateDoc()","DocumentReference.update()")}},e.prototype.delete=function(){return Ym(Ef((e=this._delegate).firestore,Bf),[new Tl(e._key,ml.none())]);var e},e.prototype.onSnapshot=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=hg(t),r=dg(t,(function(t){return new pg(e.firestore,new Om(e.firestore._delegate,e._userDataWriter,t._key,t._document,t.metadata,e._delegate.converter))}));return Qm(this._delegate,i,r)},e.prototype.get=function(e){var t=this;return("cache"===(null==e?void 0:e.source)?function(e){e=Ef(e,Mf);var t=Ef(e.firestore,Bf),n=Uf(t),i=new Km(t);return function(e,t){var n=this,i=new su;return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(n,void 0,void 0,(function(){var n;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return n=function(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r;return Object(sn.d)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,function(e,t){var n=ks(e);return n.persistence.runTransaction("read document","readonly",(function(e){return n.Mn.mn(e,t)}))}(e,t)];case 1:return(r=o.sent()).isFoundDocument()?n.resolve(r):r.isNoDocument()?n.resolve(null):n.reject(new bs(gs.UNAVAILABLE,"Failed to get document from cache. (However, this document may exist on the server. Run again without setting 'source' in the GetOptions to attempt to retrieve the document from the server.)")),[3,3];case 2:return i=o.sent(),r=$d(i,"Failed to get document '"+t+" from cache"),n.reject(r),[3,3];case 3:return[2]}}
1))}))},[4,sf(e)];case 1:return[2,n.apply(void 0,[r.sent(),t,i])]}}))}))})),i.promise}(n,e._key).then((function(n){return new Om(t,i,e._key,n,new Sm(null!==n&&n.hasLocalMutations,!0),e.converter)}))}(this._delegate):"server"===(null==e?void 0:e.source)?function(e){e=Ef(e,Mf);var t=Ef(e.firestore,Bf);return uf(Uf(t),e._key,{source:"server"}).then((function(n){return Zm(t,e,n)}))}(this._delegate):function(e){e=Ef(e,Mf);var t=Ef(e.firestore,Bf);return uf(Uf(t),e._key).then((function(n){return Zm(t,e,n)}))}(this._delegate)).then((function(e){return new pg(t.firestore,new Om(t.firestore._delegate,t._userDataWriter,e._key,e._document,e.metadata,t._delegate.converter))}))},e.prototype.withConverter=function(t){return new e(this.firestore,this._delegate.withConverter(t?lg.nu(this.firestore,t):null))},e}();function ug(e,t,n){return e.message=e.message.replace(t,n),e}function hg(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];if("object"==typeof i&&!Vf(i))return i}return{}}function dg(e,t){var n,i,r;return{next:function(e){r.next&&r.next(t(e))},error:null===(n=(r=Vf(e[0])?e[0]:Vf(e[1])?e[1]:"function"==typeof e[0]?{next:e[0],error:e[1],complete:e[2]}:{next:e[1],error:e[2],complete:e[3]}).error)||void 0===n?void 0:n.bind(r),complete:null===(i=r.complete)||void 0===i?void 0:i.bind(r)}}var pg=function(){function e(e,t){this._firestore=e,this._delegate=t}return Object.defineProperty(e.prototype,"ref",{get:function(){return new cg(this._firestore,this._delegate.ref)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._delegate.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"metadata",{get:function(){return this._delegate.metadata},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"exists",{get:function(){return this._delegate.exists()},enumerable:!1,configurable:!0}),e.prototype.data=function(e){return this._delegate.data(e)},e.prototype.get=function(e,t){return this._delegate.get(e,t)},e.prototype.isEqual=function(e){return Im(this._delegate,e._delegate)},e}(),fg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(sn.c)(t,e),t.prototype.data=function(e){return this._delegate.data(e)},t}(pg),mg=function(){function e(e,t){this.firestore=e,this._delegate=t,this._userDataWriter=new og(e)}return e.prototype.where=function(t,n,i){try{return new e(this.firestore,Am(this._delegate,function(e,t,n){var i=t,r=xm("where",e);return new Dm(r,i,n)}(t,n,i)))}catch(t){throw ug(t,/(orderBy|where)\(\)/,"Query.$1()")}},e.prototype.orderBy=function(t,n){try{return new e(this.firestore,Am(this._delegate,function(e,t){void 0===t&&(t="asc");var n=t,i=xm("orderBy",e);return new jm(i,n)}(t,n)))}catch(t){throw ug(t,/(orderBy|where)\(\)/,"Query.$1()")}},e.prototype.limit=function(t){try{return new e(this.firestore,Am(this._delegate,function(e){return Pf("limit",e),new Nm("limit",e,"F")}(t)))}catch(t){throw ug(t,"limit()","Query.limit()")}},e.prototype.limitToLast=function(t){try{return new e(this.firestore,Am(this._delegate,function(e){return Pf("limitToLast",e),new Nm("limitToLast",e,"L")}(t)))}catch(t){throw ug(t,"limitToLast()","Query.limitToLast()")}},e.prototype.startAt=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return new e(this.firestore,Am(this._delegate,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Rm("startAt",e,!0)}).apply(void 0,t)))}catch(t){throw ug(t,"startAt()","Query.startAt()")}},e.prototype.startAfter=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return new e(this.firestore,Am(this._delegate,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Rm("startAfter",e,!1)}).apply(void 0,t)))}catch(t){throw ug(t,"startAfter()","Query.startAfter()")}},e.prototype.endBefore=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return new e(this.firestore,Am(this._delegate,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Lm("endBefore",e,!0)}).apply(void 0,t)))}catch(t){throw ug(t,"endBefore()","Query.endBefore()")}},e.prototype.endAt=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return new e(this.firestore,Am(this._delegate,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Lm("endAt",e,!1)}).apply(void 0,t)))}catch(t){throw ug(t,"endAt()","Query.endAt()")}},e.prototype.isEqual=function(e){return Lf(this._delegate,e._delegate)},e.prototype.get=function(e){var t=this;
1return("cache"===(null==e?void 0:e.source)?function(e){e=Ef(e,Af);var t=Ef(e.firestore,Bf),n=Uf(t),i=new Km(t);return function(e,t){var n=this,i=new su;return e.asyncQueue.enqueueAndForget((function(){return Object(sn.b)(n,void 0,void 0,(function(){var n;return Object(sn.d)(this,(function(r){switch(r.label){case 0:return n=function(e,t,n){return Object(sn.b)(this,void 0,void 0,(function(){var i,r,o,s,a;return Object(sn.d)(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,Nh(e,t,!0)];case 1:return a=l.sent(),i=new hp(t,a.Bn),r=i._o(a.documents),o=i.applyChanges(r,!1),n.resolve(o.snapshot),[3,3];case 2:return s=l.sent(),a=$d(s,"Failed to execute query '"+t+" against cache"),n.reject(a),[3,3];case 3:return[2]}}))}))},[4,sf(e)];case 1:return[2,n.apply(void 0,[r.sent(),t,i])]}}))}))})),i.promise}(n,e._query).then((function(n){return new Em(t,i,e,n)}))}(this._delegate):"server"===(null==e?void 0:e.source)?function(e){e=Ef(e,Af);var t=Ef(e.firestore,Bf),n=Uf(t),i=new Km(t);return hf(n,e._query,{source:"server"}).then((function(n){return new Em(t,i,e,n)}))}(this._delegate):function(e){e=Ef(e,Af);var t=Ef(e.firestore,Bf),n=Uf(t),i=new Km(t);return Tm(e._query),hf(n,e._query).then((function(n){return new Em(t,i,e,n)}))}(this._delegate)).then((function(e){return new bg(t.firestore,new Em(t.firestore._delegate,t._userDataWriter,t._delegate,e._snapshot))}))},e.prototype.onSnapshot=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=hg(t),r=dg(t,(function(t){return new bg(e.firestore,new Em(e.firestore._delegate,e._userDataWriter,e._delegate,t._snapshot))}));return Qm(this._delegate,i,r)},e.prototype.withConverter=function(t){return new e(this.firestore,this._delegate.withConverter(t?lg.nu(this.firestore,t):null))},e}(),gg=function(){function e(e,t){this._firestore=e,this._delegate=t}return Object.defineProperty(e.prototype,"type",{get:function(){return this._delegate.type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"doc",{get:function(){return new fg(this._firestore,this._delegate.doc)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"oldIndex",{get:function(){return this._delegate.oldIndex},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"newIndex",{get:function(){return this._delegate.newIndex},enumerable:!1,configurable:!0}),e}(),bg=function(){function e(e,t){this._firestore=e,this._delegate=t}return Object.defineProperty(e.prototype,"query",{get:function(){return new mg(this._firestore,this._delegate.query)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"metadata",{get:function(){return this._delegate.metadata},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._delegate.size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return this._delegate.empty},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"docs",{get:function(){var e=this;return this._delegate.docs.map((function(t){return new fg(e._firestore,t)}))},enumerable:!1,configurable:!0}),e.prototype.docChanges=function(e){var t=this;return this._delegate.docChanges(e).map((function(e){return new gg(t._firestore,e)}))},e.prototype.forEach=function(e,t){var n=this;this._delegate.forEach((function(i){e.call(t,new fg(n._firestore,i))}))},e.prototype.isEqual=function(e){return Im(this._delegate,e._delegate)},e}(),_g=function(e){function t(t,n){var i=this;return(i=e.call(this,t,n)||this).firestore=t,i._delegate=n,i}return Object(sn.c)(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._delegate.id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return this._delegate.path},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){var e=this._delegate.parent;return e?new cg(this.firestore,e):null},enumerable:!1,configurable:!0}),t.prototype.doc=function(e){try{return new cg(this.firestore,void 0===e?Nf(this._delegate):Nf(this._delegate,e))}catch(e){throw ug(e,"doc()","CollectionReference.doc()")}},t.prototype.add=function(e){var t=this;return function(e,t){var n=Ef(e.firestore,Bf),i=Nf(e),r=zm(e.converter,t);return Ym(n,[nm(tm(e.firestore),"addDoc",i._key,r,null!==e.converter,{}).toMutation(i._key,ml.exists(!1))]).then((function(){return i}))}(this._delegate,e).then((function(e){return new cg(t.firestore,e)}))},t.prototype.isEqual=function(e){return Rf(this._delegate,e._delegate)},t.prototype.withConverter=function(e){return new t(this.firestore,this._delegate.withConverter(e?lg.nu(this.firestore,e):null))},t}(mg);function vg(e){return Ef(e,Mf)}var yg,wg=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._delegate=new(qf.bind.apply(qf,Object(sn.f)([void 0],e)))}return e.documentId=function(){return new e(Bs.keyField().canonicalString())},e.prototype.isEqual=function(e){return(e=Object(an.k)(e))instanceof qf&&this._delegate._internalPath.isEqual(e._internalPath)},e}(),Cg=function(){function e(e){this._delegate=e}return e.serverTimestamp=function(){var t=new om("serverTimestamp");return t._methodName="FieldValue.serverTimestamp",new e(t)},e.delete=function(){var t=new im("deleteField");return t._methodName="FieldValue.delete",new e(t)},e.arrayUnion=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new sm("arrayUnion",e)}).apply(void 0,t);return i._methodName="FieldValue.arrayUnion",new e(i)},e.arrayRemove=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new am("arrayRemove",e)}).apply(void 0,t);return i._methodName="FieldValue.arrayRemove",new e(i)},e.increment=function(t){var n=function(e){return new lm("increment",e)}(t);return n._methodName="FieldValue.increment",new e(n)},e.prototype.isEqual=function(e){return this._delegate.isEqual(e._delegate)},e}(),xg=n("/6Yf"),Sg={Firestore:rg,GeoPoint:Xf,Timestamp:As,Blob:ng,Transaction:sg,WriteBatch:ag,DocumentReference:cg,DocumentSnapshot:pg,Query:mg,QueryDocumentSnapshot:fg,QuerySnapsh
1ot:bg,CollectionReference:_g,FieldPath:wg,FieldValue:Cg,setLogLevel:function(e){_s.setLogLevel(e)},CACHE_SIZE_UNLIMITED:-1};function Og(e,t){return function(e,t=Qt.b){return new Yt.a(n=>{let i;return null!=t?t.schedule(()=>{i=e.onSnapshot({includeMetadataChanges:!0},n)}):i=e.onSnapshot({includeMetadataChanges:!0},n),()=>{null!=i&&i()}})}(e,t)}function kg(e,t){return Og(e,t).pipe(Object(p.a)(e=>({payload:e,type:"query"})))}function Eg(e,t){return kg(e,t).pipe(Object(C.a)(void 0),Object(Jt.a)(),Object(p.a)(([e,t])=>{const n=t.payload.docChanges(),i=n.map(e=>({type:e.type,payload:e}));return e&&JSON.stringify(e.payload.metadata)!==JSON.stringify(t.payload.metadata)&&t.payload.docs.forEach((t,r)=>{const o=n.find(e=>e.doc.ref.isEqual(t.ref)),s=null==e?void 0:e.payload.docs.find(e=>e.ref.isEqual(t.ref));o&&JSON.stringify(o.doc.metadata)===JSON.stringify(t.metadata)||!o&&s&&JSON.stringify(s.metadata)===JSON.stringify(t.metadata)||i.push({type:"modified",payload:{oldIndex:r,newIndex:r,type:"modified",doc:t}})}),i}))}function Pg(e,t,n){return Eg(e,n).pipe(Object(en.a)((e,n)=>function(e,t,n){return t.forEach(t=>{n.indexOf(t.type)>-1&&(e=function(e,t){switch(t.type){case"added":if(!e[t.newIndex]||!e[t.newIndex].doc.ref.isEqual(t.doc.ref))return Ig(e,t.newIndex,0,t);break;case"modified":if(null==e[t.oldIndex]||e[t.oldIndex].doc.ref.isEqual(t.doc.ref)){if(t.oldIndex!==t.newIndex){const n=e.slice();return n.splice(t.oldIndex,1),n.splice(t.newIndex,0,t),n}return Ig(e,t.newIndex,1,t)}break;case"removed":if(e[t.oldIndex]&&e[t.oldIndex].doc.ref.isEqual(t.doc.ref))return Ig(e,t.oldIndex,1)}return e}(e,t))}),e}(e,n.map(e=>e.payload),t),[]),Object(tn.a)(),Object(p.a)(e=>e.map(e=>({type:e.type,payload:e}))))}function Ig(e,t,n,...i){const r=e.slice();return r.splice(t,n,...i),r}function Tg(e){return e&&0!==e.length||(e=["added","removed","modified"]),e}(function(e,t){e.INTERNAL.registerComponent(new xg.a("firestore",(function(e){return function(e,t){return new rg(e,new Bf(e,t),new ig)}(e.getProvider("app").getImmediate(),e.getProvider("auth-internal"))}),"PUBLIC").setServiceProps(Object.assign({},Sg)))})(yg=on.a),yg.registerVersion("@firebase/firestore","2.4.1");class Mg{constructor(e,t,n){this.ref=e,this.query=t,this.afs=n}stateChanges(e){let t=Eg(this.query,this.afs.schedulers.outsideAngular);return e&&e.length>0&&(t=t.pipe(Object(p.a)(t=>t.filter(t=>e.indexOf(t.type)>-1)))),t.pipe(Object(C.a)(void 0),Object(Jt.a)(),Object(x.a)(([e,t])=>t.length>0||!e),Object(p.a)(([e,t])=>t),this.afs.keepUnstableUntilFirst)}auditTrail(e){return this.stateChanges(e).pipe(Object(en.a)((e,t)=>[...e,...t],[]))}snapshotChanges(e){const t=Tg(e);return Pg(this.query,t,this.afs.schedulers.outsideAngular).pipe(this.afs.keepUnstableUntilFirst)}valueChanges(e={}){return kg(this.query,this.afs.schedulers.outsideAngular).pipe(Object(p.a)(t=>t.payload.docs.map(t=>e.idField?Object.assign(Object.assign({},t.data()),{[e.idField]:t.id}):t.data())),this.afs.keepUnstableUntilFirst)}get(e){return Object(Zt.a)(this.query.get(e)).pipe(Object(nn.b)(this.afs.schedulers.insideAngular))}add(e){return this.ref.add(e)}doc(e){return new Ag(this.ref.doc(e),this.afs)}}class Ag{constructor(e,t){this.ref=e,this.afs=t}set(e,t){return this.ref.set(e,t)}update(e){return this.ref.update(e)}delete(){return this.ref.delete()}collection(e,t){const n=this.ref.collection(e),{ref:i,query:r}=Fg(n,t);return new Mg(i,r,this.afs)}snapshotChanges(){return Og(this.ref,this.afs.schedulers.outsideAngular).pipe(Object(C.a)(void 0),Object(Jt.a)(),Object(p.a)(([e,t])=>t.exists?(null==e?void 0:e.exists)?{payload:t,type:"modified"}:{payload:t,type:"added"}:{payload:t,type:"removed"})).pipe(this.afs.keepUnstableUntilFirst)}valueChanges(e={}){return this.snapshotChanges().pipe(Object(p.a)(({payload:t})=>e.idField?Object.assign(Object.assign({},t.data()),{[e.idField]:t.id}):t.data()))}get(e){return Object(Zt.a)(this.ref.get(e)).pipe(Object(nn.b)(this.afs.schedulers.insideAngular))}}class Dg{constructor(e,t){this.query=e,this.afs=t}stateChanges(e){return e&&0!==e.length?Eg(this.query,this.afs.schedulers.outsideAngular).pipe(Object(p.a)(t=>t.filter(t=>e.indexOf(t.type)>-1)),Object(x.a)(e=>e.length>0),this.afs.keepUnstableUntilFirst):Eg(this.query,this.afs.schedulers.outsideAngular).pipe(this.afs.keepUnstableUntilFirst)}auditTrail(e){return this.stateChanges(e).pipe(Object(en.a)((e,t)=>[...e,...t],[]))}
1snapshotChanges(e){const t=Tg(e);return Pg(this.query,t,this.afs.schedulers.outsideAngular).pipe(this.afs.keepUnstableUntilFirst)}valueChanges(e={}){return kg(this.query,this.afs.schedulers.outsideAngular).pipe(Object(p.a)(t=>t.payload.docs.map(t=>e.idField?Object.assign({[e.idField]:t.id},t.data()):t.data())),this.afs.keepUnstableUntilFirst)}get(e){return Object(Zt.a)(this.query.get(e)).pipe(Object(nn.b)(this.afs.schedulers.insideAngular))}}const jg=new i.InjectionToken("angularfire2.enableFirestorePersistence"),Ng=new i.InjectionToken("angularfire2.firestore.persistenceSettings"),Rg=new i.InjectionToken("angularfire2.firestore.settings"),Lg=new i.InjectionToken("angularfire2.firestore.use-emulator");function Fg(e,t=(e=>e)){return{query:t(e),ref:e}}let Vg=(()=>{class e{constructor(e,t,n,i,r,s,a,l,c){this.schedulers=new $t.e(s),this.keepUnstableUntilFirst=Object($t.i)(this.schedulers);const u=Object($t.h)(e,s,t);!rn.a.auth&&c&&Object($t.k)();const h=l;[this.firestore,this.persistenceEnabled$]=Object($t.g)(u.name+".firestore","AngularFirestore",u,()=>{const e=s.runOutsideAngular(()=>u.firestore());if(i&&e.settings(i),h&&e.useEmulator(...h),n&&!Object(o.isPlatformServer)(r)){const t=()=>{try{return Object(Zt.a)(e.enablePersistence(a||void 0).then(()=>!0,()=>!1))}catch(yg){return"undefined"!=typeof console&&console.warn(yg),Object(d.a)(!1)}};return[e,s.runOutsideAngular(t)]}return[e,Object(d.a)(!1)]},[i,h,n])}collection(e,t){let n;n="string"==typeof e?this.firestore.collection(e):e;const{ref:i,query:r}=Fg(n,t),o=this.schedulers.ngZone.run(()=>i);return new Mg(o,r,this)}collectionGroup(e,t){const n=t||(e=>e),i=this.firestore.collectionGroup(e);return new Dg(n(i),this)}doc(e){let t;t="string"==typeof e?this.firestore.doc(e):e;const n=this.schedulers.ngZone.run(()=>t);return new Ag(n,this)}createId(){return this.firestore.collection("_").doc().id}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"]($t.c),i["\u0275\u0275inject"]($t.b,8),i["\u0275\u0275inject"](jg,8),i["\u0275\u0275inject"](Rg,8),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](Ng,8),i["\u0275\u0275inject"](Lg,8),i["\u0275\u0275inject"](E.c,8))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e(i["\u0275\u0275inject"]($t.c),i["\u0275\u0275inject"]($t.b,8),i["\u0275\u0275inject"](jg,8),i["\u0275\u0275inject"](Rg,8),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](Ng,8),i["\u0275\u0275inject"](Lg,8),i["\u0275\u0275inject"](E.c,8))},token:e,providedIn:"any"}),e})(),Bg=(()=>{class e{static enablePersistence(t){return{ngModule:e,providers:[{provide:jg,useValue:!0},{provide:Ng,useValue:t}]}}}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[Vg]}),e})(),Ug=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e,bootstrap:[Kt]}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[s.d,P.a,I.a,T.a,M.a,U.a,K.c,o.DatePipe],imports:[[o.CommonModule,s.a.withServerTransition({appId:"app-dangal"}),s.b,B,a.b,c.j,c.u,l.b,u.c,k.c,m,g.b,b.b,_.b,v.b,Xt.a,h.i,y.b,A.a,It.b,$t.a.initializeApp(r.a.firebase),E.b,K.b,Bg,Y.b,O]]}),e})();r.a.production&&Object(i.enableProdMode)(),s.f().bootstrapModule(Ug).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zx2A:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));var i=n("7o/Q"),r=n("HDdC"),o=n("SeVD");class s extends i.a{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.a{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function l(e,t){if(t.closed)return;if(e instanceof r.a)return e.subscribe(t);let n;try{n=Object(o.a)(e)(t)}catch(i){t.error(i)}return n}}},[[0,4]]]);

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.