"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});l.peek=m;function l(n,k,e,a){const o=n.referenceType,u=e.enter("imageReference");let t=e.enter("label");const c=e.createTracker(a);let r=c.move("![");const f=e.safe(n.alt,{before:r,after:"]",...c.current()});r+=c.move(f+"]["),t();const s=e.stack;e.stack=[],t=e.enter("reference");const i=e.safe(e.associationId(n),{before:r,after:"]",...c.current()});return t(),e.stack=s,u(),o==="full"||!f||f!==i?r+=c.move(i+"]"):o==="shortcut"?r=r.slice(0,-1):r+=c.move("]"),r}function m(){return"!"}exports.imageReference=l;
//# sourceMappingURL=image-reference.cjs.js.map
