"use strict";(self.webpackChunkdemo1=self.webpackChunkdemo1||[]).push([["default-src_app_pages_demo-utils__models__base_model_ts-src_app_pages_demo-utils_alert_alert_-20100e"],{60931:(N,O,_)=>{_.d(O,{g:()=>l});class l{constructor(){this._isEditMode=!1,this._userId=0}}},46897:(N,O,_)=>{_.d(O,{w:()=>W});var l=_(94650),Y=_(36895),H=_(4859);function T(w,P){if(1&w){const k=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",5)(1,"button",6),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(k);const R=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(R.closeAlert())}),l.\u0275\u0275element(2,"i",7),l.\u0275\u0275elementEnd()()}}const K=["*"];let W=(()=>{class w{constructor(){this.duration=0,this.showCloseButton=!0,this.close=new l.EventEmitter,this.alertShowing=!0}ngOnInit(){0!==this.duration&&setTimeout(()=>{this.closeAlert()},this.duration)}closeAlert(){this.close.emit()}}return w.\u0275fac=function(k){return new(k||w)},w.\u0275cmp=l.\u0275\u0275defineComponent({type:w,selectors:[["kt-alert"]],inputs:{type:"type",duration:"duration",showCloseButton:"showCloseButton"},outputs:{close:"close"},ngContentSelectors:K,decls:6,vars:1,consts:[["role","alert",1,"kt-mat-alert","kt-mat-alert--warn","mt-2"],[1,"kt-mat-alert__icon"],[1,"mat-alert__icon","fa","fa-warning"],[1,"kt-mat-alert__text"],["class","kt-mat-alert__close",4,"ngIf"],[1,"kt-mat-alert__close"],["type","button","mat-icon-button","","color","warn",3,"click"],[1,"material-icons"]],template:function(k,S){1&k&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275element(2,"i",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"div",3),l.\u0275\u0275projection(4),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(5,T,3,0,"div",4),l.\u0275\u0275elementEnd()),2&k&&(l.\u0275\u0275advance(5),l.\u0275\u0275property("ngIf",S.showCloseButton))},dependencies:[Y.NgIf,H.RK],styles:[".kt-mat-alert[_ngcontent-%COMP%] {\n    display: flex;\n    align-items: center;\n    padding: 10px 10px 10px 20px;\n    border-radius: 3px;\n    margin: 0 0 10px 0;\n\tfont-size: 13px;\n}\n\n.kt-mat-alert__text[_ngcontent-%COMP%] {\n        display: flex;\n        align-items: center;\n        flex-grow: 1;\n        color: #fff;\n    }\n\n    .kt-mat-alert__close[_ngcontent-%COMP%] {\n        padding: 0 0 0 10px;\n        display: flex;\n        align-items: center;\n        justify-content: flex-end;\n    }\n\n    .kt-mat-alert__icon[_ngcontent-%COMP%] {\n        display: flex;\n        align-items: center;\n        padding: 0 15px 0 0;\n    }\n\n\t.mat-alert__icon[_ngcontent-%COMP%] {\n            font-size: 2.4rem;\n            color: #fff;\n    }\n\n\n\n\t.material-icons[_ngcontent-%COMP%] {\n\t\topacity: 0.8;\n\t\ttransition: all 0.3s ease;\n\t\tcolor: #fff;\n\t}\n   .kt-mat-alert--warn[_ngcontent-%COMP%] {\n        background: #fd397a;\n    }\n\n   .kt-mat-alert--primary[_ngcontent-%COMP%] {\n        background: blue;\n    }\n\n    .kt-mat-alert--accent[_ngcontent-%COMP%] {\n        background: blue;\n    }\n    .kt-mat-alert--marginless[_ngcontent-%COMP%] {\n        margin: 0;\n    }"]}),w})()},90730:(N,O,_)=>{_.d(O,{c_6:()=>Y.Z}),_(32542);var Y=_(53831);function T(e,f,d){this.k=e,this.x=f,this.y=d}_(94539),T.prototype={constructor:T,scale:function(e){return 1===e?this:new T(this.k*e,this.x,this.y)},translate:function(e,f){return 0===e&0===f?this:new T(this.k,this.x+this.k*e,this.y+this.k*f)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new T(1,0,0)}}]);