(self.webpackJsonpworkbench=self.webpackJsonpworkbench||[]).push([[359],{9359(o,t,s){s.r(t),s.d(t,{alert_box:()=>i});var e=s(8644);const i=(()=>{let o=class{constructor(o){(0,e.r)(this,o),this.type="info",this.message=void 0,this.noIcon=!0,this.noButton=!1,this.isVisible=!0}onClose(o){o.stopPropagation(),this.isVisible=!this.isVisible}render(){return(0,e.h)(e.H,null,this.isVisible&&(0,e.h)("div",{class:`alert-box alert alert-${this.type} ${this.noIcon&&"no-icon"}`},!this.noButton&&(0,e.h)("a",{class:"close-button",onClick:o=>this.onClose(o)},"×"),(0,e.h)("div",{class:"message"},this.message)))}};return o.style=".alert-box{position:relative}.alert-box .close-button{position:absolute;top:10px;right:10px;cursor:pointer;font-size:21px;font-weight:700;line-height:1;color:#8a6d3b;opacity:0.2}.alert-box .close-button:hover{text-decoration:none;color:#000;opacity:0.5}",o})()}}]);