"use strict";(self.webpackChunkmikrowizard=self.webpackChunkmikrowizard||[]).push([[76],{7630:(h,p,r)=>{r.d(p,{y:()=>a});var t=r(4438),n=r(8921),l=r(177);const u=["*"];function _(i,s){1&i&&t.nrm(0,"i",8)}function f(i,s){1&i&&t.nrm(0,"i",9)}function m(i,s){1&i&&t.nrm(0,"i",10)}let a=(()=>{class i extends n.d3n{constructor(e,o,c,d){super(e,o,c,d),this.hostElement=e,this.renderer=o,this.toasterService=c,this.changeDetectorRef=d,this.closeButton=!0,this.title="",this.body=""}static#t=this.\u0275fac=function(o){return new(o||i)(t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(n.W9m),t.rXU(t.gRc))};static#e=this.\u0275cmp=t.VBU({type:i,selectors:[["app-toast-simple"]],inputs:{closeButton:"closeButton",title:"title",body:"body"},standalone:!0,features:[t.Jv_([{provide:n.d3n,useExisting:(0,t.Rfq)(()=>i)}]),t.Vt3,t.aNF],ngContentSelectors:u,decls:12,vars:7,consts:[["toastBody",""],[3,"closeButton"],["style","color:#e55353","class","fa-solid fa-xmark mx-1",4,"ngIf"],["style","color:#3399ff","class","fa-solid fa-exclamation mx-1",4,"ngIf"],["style","color:#f9b115","class","fa-solid fa-triangle-exclamation mx-1",4,"ngIf"],[2,"line-height","1"],[3,"cToastClose"],[1,"mb-1",2,"color","#fff"],[1,"fa-solid","fa-xmark","mx-1",2,"color","#e55353"],[1,"fa-solid","fa-exclamation","mx-1",2,"color","#3399ff"],[1,"fa-solid","fa-triangle-exclamation","mx-1",2,"color","#f9b115"]],template:function(o,c){if(1&o&&(t.NAR(),t.qex(0),t.j41(1,"c-toast-header",1),t.DNE(2,_,1,0,"i",2)(3,f,1,0,"i",3)(4,m,1,0,"i",4),t.j41(5,"strong",5),t.EFF(6),t.k0s()(),t.j41(7,"c-toast-body",6,0)(9,"p",7),t.EFF(10),t.k0s(),t.SdG(11),t.k0s(),t.bVm()),2&o){const d=t.sdS(8);t.R7$(),t.Y8G("closeButton",c.closeButton),t.R7$(),t.Y8G("ngIf","danger"==c.color),t.R7$(),t.Y8G("ngIf","info"==c.color),t.R7$(),t.Y8G("ngIf","warning"==c.color),t.R7$(2),t.JRh(c.title),t.R7$(),t.Y8G("cToastClose",d.toast),t.R7$(3),t.SpI("",c.body," ")}},dependencies:[n.eY7,n.jS2,n.T5C,l.MD,l.bT],styles:["[_nghost-%COMP%]{display:block;overflow:hidden}"]})}return i})()},3801:(h,p,r)=>{r.d(p,{FQ:()=>m,dF:()=>f});var t=r(177),n=r(4438);class l{constructor(i,s){this._document=s;const e=this._textarea=this._document.createElement("textarea"),o=e.style;o.position="fixed",o.top=o.opacity="0",o.left="-999em",e.setAttribute("aria-hidden","true"),e.value=i,e.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(e)}copy(){const i=this._textarea;let s=!1;try{if(i){const e=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),s=this._document.execCommand("copy"),e&&e.focus()}}catch{}return s}destroy(){const i=this._textarea;i&&(i.remove(),this._textarea=void 0)}}let u=(()=>{class a{constructor(s){this._document=s}copy(s){const e=this.beginCopy(s),o=e.copy();return e.destroy(),o}beginCopy(s){return new l(s,this._document)}static#t=this.\u0275fac=function(e){return new(e||a)(n.KVO(t.qQ))};static#e=this.\u0275prov=n.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const _=new n.nKC("CDK_COPY_TO_CLIPBOARD_CONFIG");let f=(()=>{class a{constructor(s,e,o){this._clipboard=s,this._ngZone=e,this.text="",this.attempts=1,this.copied=new n.bkB,this._pending=new Set,o&&null!=o.attempts&&(this.attempts=o.attempts)}copy(s=this.attempts){if(s>1){let e=s;const o=this._clipboard.beginCopy(this.text);this._pending.add(o);const c=()=>{const d=o.copy();d||! --e||this._destroyed?(this._currentTimeout=null,this._pending.delete(o),o.destroy(),this.copied.emit(d)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(c,1))};c()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(s=>s.destroy()),this._pending.clear(),this._destroyed=!0}static#t=this.\u0275fac=function(e){return new(e||a)(n.rXU(u),n.rXU(n.SKi),n.rXU(_,8))};static#e=this.\u0275dir=n.FsC({type:a,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,o){1&e&&n.bIt("click",function(){return o.copy()})},inputs:{text:[n.Mj6.None,"cdkCopyToClipboard","text"],attempts:[n.Mj6.None,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}})}return a})(),m=(()=>{class a{static#t=this.\u0275fac=function(e){return new(e||a)};static#e=this.\u0275mod=n.$C({type:a});static#o=this.\u0275inj=n.G2t({})}return a})()}}]);