import{r as e,h as n}from"./p-DBTJNfo7.js";const a=class{constructor(n){e(this,n),this.isOpen=!1}async open(){this.isOpen=!0}async close(){this.isOpen=!1}render(){return n("div",{key:"3b45f4fd3cb1d3334a3b4161e2393b387a698115",class:"lime-banner "+(this.isOpen?"lime-banner--open":"")},n("div",{key:"a80b578b911600ba92a2a2be77b520cecced449c",class:"lime-banner__surface"},n("div",{key:"518f4bad3877cc35c0fdb486c0f62d2795676e93",class:"lime-banner__content"},n("div",{key:"1b8bc8d8474891f2f500f49da26e6c6b14a4f960",class:"icon-message"},this.renderIcon(),n("div",{key:"dc9bca9d54be61fba5724b63eec2290b257e6857"},this.message)),n("div",{key:"e44ac4f418d71e863edb078823ee0a82c4deecca",class:"lime-banner__actions"},n("slot",{key:"6fdea4e8efeca5b36028b22ea9fcac3e95ed80e8",name:"buttons"})))))}renderIcon(){if(this.icon)return n("div",{class:"lime-banner__icon"},n("limel-icon",{name:this.icon,badge:!0,size:"large"}))}};a.style=".lime-banner{min-height:3.25rem;display:none;background-color:rgba(var(--contrast-100), 0.7);backdrop-filter:blur(0.3125rem);box-shadow:var(--shadow-depth-16)}.lime-banner.lime-banner--open{display:block}.lime-banner.lime-banner--open .lime-banner__surface{opacity:1}.lime-banner .lime-banner__surface{display:flex;justify-content:center;box-sizing:border-box;opacity:0}.lime-banner .lime-banner__content{display:flex;align-items:center;align-content:stretch;padding:1rem;flex-wrap:wrap}.lime-banner .icon-message{display:flex;align-items:center}.lime-banner div[class^=mdc-typography]{color:rgb(var(--contrast-1200))}.lime-banner .lime-banner__icon{margin:0 0.625rem;align-self:flex-start}.lime-banner .lime-banner__actions{margin-left:3.125rem;display:flex;justify-content:flex-end}.lime-banner limel-icon{color:var(--banner-icon-fill-color, rgb(var(--contrast-100)));background-color:var(--banner-icon-background-color, rgb(var(--contrast-800)))}@media screen and (max-width: 760px){.lime-banner__content{flex-direction:column;gap:0.5rem}.icon-message{display:flex;align-items:center}.lime-banner__actions{margin-left:0}}";export{a as limel_banner}