import{d as f,s as c,A as u,ag as b,u as g,o as n,c as o,a as p,r as m,b as _,g as l,t as y,f as h,_ as v}from"./bdrFovXZ.js";import{_ as w}from"./zVBjPGXx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalthis:typeof self<"u"?self:{};e.sentry_release={id:"dcd43fef1e4af7f7614a43abf36301348c5fce67"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalthis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="d274fb6f-512c-4f01-91d2-4fd01a1d8a70",e._sentryDebugIdIdentifier="sentry-dbid-d274fb6f-512c-4f01-91d2-4fd01a1d8a70")})()}catch{}const k={class:"flex gap-4 text-body-2 [&_a]:text-inherit"},x=["innerHTML"],I=["aria-label"],T=f({__name:"Index",props:c({text:{},variant:{default:"info"},closable:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=e,r=u(()=>b("flex w-full justify-between gap-4 rounded-sm p-4 text-bt-blue-dark md:items-center",{variants:{variant:{error:"bg-light-error alert--error",warning:"bg-light-warning alert--warning",success:"bg-light-success alert--success",info:"bg-light-info alert--info"}}})({variant:a.variant})),s=g(e,"modelValue"),d=()=>{a.closable&&(s.value=!1)};return(t,V)=>{const i=v;return s.value?(n(),o("div",{key:0,class:y(h(r)),role:"alert"},[p("div",k,[t.$slots.content?m(t.$slots,"content",{key:0},void 0,!0):(n(),o("span",{key:1,class:"text-bt-blue-dark",innerHTML:t.text},null,8,x))]),t.closable?(n(),o("button",{key:0,"aria-label":t.$t("aria.label.close"),class:"self-start text-bt-blue-dark/30",onClick:d},[_(i,{name:"common/close"})],8,I)):l("",!0)],2)):l("",!0)}}}),C=w(T,[["__scopeId","data-v-a44d6a95"]]);export{C as default}; //# sourceMappingURL=DXB4Z3Fg.js.map

AltStyle によって変換されたページ (->オリジナル) /