const e=require(`./ir-BuO_jfHv.cjs`),t=require(`./render-CzHaQB0d.cjs`),n={bold:{open:`**`,close:`**`},italic:{open:`_`,close:`_`},strikethrough:{open:`~~`,close:`~~`},code:{open:"`",close:"`"},code_block:{open:"```\n",close:"```"}};function r(r,i){if(!r||i===`off`)return r;let{ir:a,hasTables:o}=e.r(r,{linkify:!1,autolink:!1,headingStyle:`none`,blockquotePrefix:``,tableMode:i});return o?t.t(a,{styleMarkers:n,escapeText:e=>e,buildLink:(e,t)=>{let n=e.href.trim();return!n||!t.slice(e.start,e.end)?null:{start:e.start,end:e.end,open:`[`,close:`](${n})`}}}):r}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
