import{i as p,az as r,aA as d,n as u}from"./app-JmgyQoR0.js";import{b as _,g as y,h as t,t as a,u as s,B as c,q as m,z as v,H as f,x as h,I as k,J as B}from"./vue-y3KLWBaS.js";const b=o=>(k("data-v-6331f385"),o=o(),B(),o),C={class:"key"},I={class:"value"},w=b(()=>s("i",{class:"ph-clipboard-text ph-bold"},null,-1)),S=[w],V=_({__name:"MkKeyValue",props:{copy:{default:null},oneline:{type:Boolean,default:!1}},setup(o){const l=o,i=async()=>{var e;await r((e=l.copy)!=null?e:""),await d()};return(e,z)=>{const n=y("tooltip");return t(),a("div",{class:h(["alqyeyti",{oneline:e.oneline}])},[s("div",C,[c(e.$slots,"key",{},void 0,!0)]),s("div",I,[c(e.$slots,"value",{},void 0,!0),e.copy?m((t(),a("button",{key:0,class:"_textButton",style:{"margin-left":"0.5em"},onClick:i},S)),[[n,v(p).ts.copy]]):f("",!0)])],2)}}}),q=u(V,[["__scopeId","data-v-6331f385"]]);export{q as M};
