"use strict";var i=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var $=Object.prototype.hasOwnProperty;var u=(t,o)=>{for(var n in o)i(t,n,{get:o[n],enumerable:!0})},l=(t,o,n,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of g(o))!$.call(t,r)&&r!==n&&i(t,r,{get:()=>o[r],enumerable:!(s=x(o,r))||s.enumerable});return t};var d=t=>l(i({},"__esModule",{value:!0}),t);var M={};u(M,{anchor:()=>q,bold:()=>m,bullet:()=>D,code:()=>p,codeBlock:()=>y,del:()=>h,details:()=>I,equation:()=>c,equationBlock:()=>_,h:()=>e,h1:()=>C,h2:()=>E,h3:()=>W,h4:()=>f,h5:()=>v,h6:()=>w,heading:()=>z,hr:()=>H,image:()=>G,indent:()=>L,inlineCode:()=>k,inlineEquation:()=>B,italic:()=>b,quote:()=>A,sub:()=>K,sup:()=>J,todo:()=>F,underline:()=>j});module.exports=d(M);var m=t=>`**${t}**`,b=t=>`_${t}_`,h=t=>`~~${t}~~`,j=t=>`<u>${t}</u>`,q=(t,o)=>`[${t}](${o})`,p=(t=!1)=>(o="")=>n=>{let s=t?"`":"```",r=t?"":o,a=t?"":`
`;return[s+r,n,s].join(a)},k=p(!0)(),y=p(),c=(t=!1)=>o=>{let n=t?"$":"$$",s=t?"":`
`;return[n,o,n].join(s)},B=c(!0),_=c(),e=(t=1)=>o=>`${"#".repeat(t)} ${o}`,C=e(),E=e(2),W=e(3),f=e(4),v=e(5),w=e(6),z=e,A=t=>t.split(`
`).map(o=>`> ${o}`).join(`
`),D=(t,o)=>o?`${o}. ${t}`:`- ${t}`,F=(t,o)=>o?`- [x] ${t}`:`- [ ] ${t}`,G=(t,o)=>o.startsWith("data:")?`![${t}](data:image/png;base64,${o.split(",").pop()})`:`![${t}](${o})`,H=()=>"---",I=(t,o)=>`<details>
<summary>${t}</summary>

${o}
</details>`,J=t=>`<sup>${t}</sup>`,K=t=>`<sub>${t}</sub>`,L=(t=2)=>(o,n=1)=>{let s=" ".repeat(t);return o.split(`
`).map(r=>s.repeat(n)+r).join(`
`)};0&&(module.exports={anchor,bold,bullet,code,codeBlock,del,details,equation,equationBlock,h,h1,h2,h3,h4,h5,h6,heading,hr,image,indent,inlineCode,inlineEquation,italic,quote,sub,sup,todo,underline});
//# sourceMappingURL=index.cjs.map