"use client";
function c(a, e) {
  const p = e.value ? e.value + `
` : "", l = {};
  e.lang && (l.className = ["language-" + e.lang]);
  let t = {
    type: "element",
    tagName: "code",
    properties: l,
    children: [{ type: "text", value: p }]
  };
  return e.meta && (t.data = { meta: e.meta }), a.patch(e, t), t = a.applyData(e, t), t = { type: "element", tagName: "pre", properties: {}, children: [t] }, a.patch(e, t), t;
}
export {
  c as code
};
