"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});c.peek=a;function c(s,d,i){let e=s.value||"",t="`",o=-1;for(;new RegExp("(^|[^`])"+t+"([^`]|$)").test(e);)t+="`";for(/[^ \r\n]/.test(e)&&(/^[ \r\n]/.test(e)&&/[ \r\n]$/.test(e)||/^`|`$/.test(e))&&(e=" "+e+" ");++o<i.unsafe.length;){const r=i.unsafe[o],u=i.compilePattern(r);let l;if(r.atBreak)for(;l=u.exec(e);){let n=l.index;e.charCodeAt(n)===10&&e.charCodeAt(n-1)===13&&n--,e=e.slice(0,n)+" "+e.slice(l.index+1)}}return t+e+t}function a(){return"`"}exports.inlineCode=c;
//# sourceMappingURL=inline-code.cjs.js.map
