1import y from"./ButtonIcon.a405cf71.js";import{o as i,c as d,a as t,f as w,ag as o,v as b,A as n,r as x,n as l,b as c,w as h,u as B,Y as C,D as F}from"./entry.5974df5d.js";/* empty css */import{_ as S}from"./_plugin-vue_export-helper.a1a6add7.js";const k={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function V(s,e){return i(),d("svg",k,e[0]||(e[0]=[t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.707.293a1 1 0 0 1 0 1.414l-18 18a1 1 0 0 1-1.414-1.414l18-18a1 1 0 0 1 1.414 0Z",fill:"#FF675F"},null,-1),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M.293.293a1 1 0 0 1 1.414 0l18 18a1 1 0 0 1-1.414 1.414l-18-18a1 1 0 0 1 0-1.414Z",fill:"#FF675F"},null,-1)]))}const I={render:V},N=w({__name:"Banner",props:{type:{type:String,default:"primary"}},setup(s){const e=s,u=o({primary:"",success:"success",warning:"warning",danger:"danger"}),p=o({primary:"",success:"success",warning:"warning",danger:"danger"}),a=b(!1),r=n(()=>["primary","success","warning","danger"].includes(e.type)?e.type:"primary"),_=n(()=>u[r.value]),m=n(()=>p[r.value]),f=()=>{a.value=!0,F({bodyAttrs:{class:"--no-banner"}})};return(v,$)=>{const g=y;return a.value?C("",!0):(i(),d("div",{key:0,class:l(`banner ${_.value}`)},[t("div",{class:l(`banner__content ${m.value}`)},[x(v.$slots,"default",{},void 0,!0)],2),c(g,{id:"close-banner-button",class:"banner__close-button",title:"close banner",onClick:f},{default:h(()=>[c(B(I),{width:"16",height:"16"})]),_:1})],2))}}}),z=S(N,[["__scopeId","data-v-8e81d90c"]]);export{z as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.