(window.webpackJsonp=window.webpackJsonp||[]).push([[304],{334:function(t,o,s){"use strict";s.r(o),s.d(o,"alert_box",(function(){return i}));var e=s(29);const i=class{constructor(t){Object(e.g)(this,t),this.type="info",this.message=void 0,this.noIcon=!0,this.noButton=!1,this.isVisible=!0}onClose(t){t.stopPropagation(),this.isVisible=!this.isVisible}render(){const t=`alert-box alert alert-${this.type} ${this.noIcon&&"no-icon"}`;return Object(e.e)(e.a,null,this.isVisible&&Object(e.e)("div",{class:t},!this.noButton&&Object(e.e)("a",{class:"close-button",onClick:t=>this.onClose(t)},"×"),Object(e.e)("div",{class:"message"},this.message)))}};i.style=".alert-box{position:relative;margin:10px 0}.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}"}}]);