File "bottom-sheet.min.a7038420e2d6.js"

Full Path: /home/lacostenacom/public_html/wp/wp./wp-content/plugins/imunify-security/assets/ui-app/assets/static/shared-dependencies/bottom-sheet.min.a7038420e2d6.js
File size: 8.46 KB
MIME-type: text/plain
Charset: utf-8

System.register(["@angular/cdk/dialog","@angular/cdk/portal","@angular/core","@angular/material/core","@angular/cdk/a11y","@angular/cdk/layout","@angular/cdk/overlay","@angular/common","@angular/animations","@angular/cdk/keycodes","rxjs","rxjs/operators"],(function(t){"use strict";var e,o,i,n,a,s,r,c,h,l,m,d,u,p,f,b,g,_,v,S,x,y,C,k,R,I,B,w,O,M,T;return{setters:[function(t){e=t.CdkDialogContainer,o=t,i=t.DialogModule,n=t.Dialog},function(t){a=t,s=t.PortalModule},function(t){r=t.EventEmitter,c=t,t.Component,t.ChangeDetectionStrategy,t.ViewEncapsulation,t.Optional,t.Inject,t.NgModule,h=t.InjectionToken,t.Injectable,t.SkipSelf},function(t){l=t.AnimationDurations,m=t.AnimationCurves,d=t.MatCommonModule},function(t){u=t},function(t){p=t.Breakpoints,f=t},function(t){b=t},function(t){g=t.DOCUMENT},function(t){_=t.trigger,v=t.state,S=t.style,x=t.transition,y=t.group,C=t.animate,k=t.query,R=t.animateChild},function(t){I=t.ESCAPE,B=t.hasModifierKey},function(t){w=t.Subject,O=t.merge},function(t){M=t.filter,T=t.take}],execute:function(){function D(t,e){}const E=t("matBottomSheetAnimations",{bottomSheetState:_("state",[v("void, hidden",S({transform:"translateY(100%)"})),v("visible",S({transform:"translateY(0%)"})),x("visible => void, visible => hidden",y([C(`${l.COMPLEX} ${m.ACCELERATION_CURVE}`),k("@*",R(),{optional:!0})])),x("void => visible",y([C(`${l.EXITING} ${m.DECELERATION_CURVE}`),k("@*",R(),{optional:!0})]))])});class j extends e{constructor(t,e,o,i,n,a,s,c,h,l){super(t,e,o,i,n,a,s,l),this._changeDetectorRef=h,this._animationState="void",this._animationStateChanged=new r,this._breakpointSubscription=c.observe([p.Medium,p.Large,p.XLarge]).subscribe((()=>{this._toggleClass("mat-bottom-sheet-container-medium",c.isMatched(p.Medium)),this._toggleClass("mat-bottom-sheet-container-large",c.isMatched(p.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",c.isMatched(p.XLarge))}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}_toggleClass(t,e){this._elementRef.nativeElement.classList.toggle(t,e)}static{this.\u0275fac=function(t){return new(t||j)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(u.FocusTrapFactory),c.\u0275\u0275directiveInject(g,8),c.\u0275\u0275directiveInject(o.DialogConfig),c.\u0275\u0275directiveInject(u.InteractivityChecker),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(b.OverlayRef),c.\u0275\u0275directiveInject(f.BreakpointObserver),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(u.FocusMonitor))}}static{this.\u0275cmp=c.\u0275\u0275defineComponent({type:j,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(t,e){1&t&&c.\u0275\u0275syntheticHostListener("@state.start",(function(t){return e._onAnimationStart(t)}))("@state.done",(function(t){return e._onAnimationDone(t)})),2&t&&(c.\u0275\u0275attribute("role",e._config.role)("aria-modal",e._config.ariaModal)("aria-label",e._config.ariaLabel),c.\u0275\u0275syntheticHostProperty("@state",e._animationState))},features:[c.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&c.\u0275\u0275template(0,D,0,0,"ng-template",0)},dependencies:[a.CdkPortalOutlet],styles:[".mat-bottom-sheet-container{--mat-bottom-sheet-container-shape:4px;box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[E.bottomSheetState]}})}}t("MatBottomSheetContainer",j);class A{static{this.\u0275fac=function(t){return new(t||A)}}static{this.\u0275mod=c.\u0275\u0275defineNgModule({type:A})}static{this.\u0275inj=c.\u0275\u0275defineInjector({imports:[i,d,s,d]})}}t("MatBottomSheetModule",A);const L=t("MAT_BOTTOM_SHEET_DATA",new h("MatBottomSheetData"));class F{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}t("MatBottomSheetConfig",F);class N{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(t,e,o){this._ref=t,this._afterOpened=new w,this.containerInstance=o,this.disableClose=e.disableClose,o._animationStateChanged.pipe(M((t=>"done"===t.phaseName&&"visible"===t.toState)),T(1)).subscribe((()=>{this._afterOpened.next(),this._afterOpened.complete()})),o._animationStateChanged.pipe(M((t=>"done"===t.phaseName&&"hidden"===t.toState)),T(1)).subscribe((()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)})),t.overlayRef.detachments().subscribe((()=>{this._ref.close(this._result)})),O(this.backdropClick(),this.keydownEvents().pipe(M((t=>t.keyCode===I)))).subscribe((t=>{this.disableClose||"keydown"===t.type&&B(t)||(t.preventDefault(),this.dismiss())}))}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(M((t=>"start"===t.phaseName)),T(1)).subscribe((t=>{this._closeFallbackTimeout=setTimeout((()=>{this._ref.close(this._result)}),t.totalTime+100),this._ref.overlayRef.detachBackdrop()})),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}t("MatBottomSheetRef",N);const P=t("MAT_BOTTOM_SHEET_DEFAULT_OPTIONS",new h("mat-bottom-sheet-default-options"));class V{get _openedBottomSheetRef(){const t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,e,o,i){this._overlay=t,this._parentBottomSheet=o,this._defaultOptions=i,this._bottomSheetRefAtThisLevel=null,this._dialog=e.get(n)}open(t,e){const o={...this._defaultOptions||new F,...e};let i;return this._dialog.open(t,{...o,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:j,scrollStrategy:o.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:i}),providers:(t,e,n)=>(i=new N(t,o,n),[{provide:N,useValue:i},{provide:L,useValue:o.data}])}),i.afterDismissed().subscribe((()=>{this._openedBottomSheetRef===i&&(this._openedBottomSheetRef=null)})),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe((()=>i.containerInstance?.enter())),this._openedBottomSheetRef.dismiss()):i.containerInstance.enter(),this._openedBottomSheetRef=i,i}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}static{this.\u0275fac=function(t){return new(t||V)(c.\u0275\u0275inject(b.Overlay),c.\u0275\u0275inject(c.Injector),c.\u0275\u0275inject(V,12),c.\u0275\u0275inject(P,8))}}static{this.\u0275prov=c.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac,providedIn:A})}}t("MatBottomSheet",V)}}}));