(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.markdown=e()}})(function(){"use strict";var ll=Object.create;var kr=Object.defineProperty;var fl=Object.getOwnPropertyDescriptor;var Dl=Object.getOwnPropertyNames;var pl=Object.getPrototypeOf,hl=Object.prototype.hasOwnProperty;var zn=e=>{throw TypeError(e)};var C=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Yn=(e,r)=>{for(var t in r)kr(e,t,{get:r[t],enumerable:!0})},Gn=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of Dl(r))!hl.call(e,a)&&a!==t&&kr(e,a,{get:()=>r[a],enumerable:!(n=fl(r,a))||n.enumerable});return e};var Ue=(e,r,t)=>(t=e!=null?ll(pl(e)):{},Gn(r||!e||!e.__esModule?kr(t,"default",{value:e,enumerable:!0}):t,e)),dl=e=>Gn(kr({},"__esModule",{value:!0}),e);var Vn=(e,r,t)=>r.has(e)||zn("Cannot "+t);var ce=(e,r,t)=>(Vn(e,r,"read from private field"),t?t.call(e):r.get(e)),jn=(e,r,t)=>r.has(e)?zn("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,t),$n=(e,r,t,n)=>(Vn(e,r,"write to private field"),n?n.call(e,t):r.set(e,t),t);var Br=C((Vm,Wn)=>{"use strict";Wn.exports=gl;function gl(e){return String(e).replace(/\s+/g," ")}});var Vi=C((Tv,Gi)=>{"use strict";Gi.exports=xf;var Dr=9,Mr=10,je=32,bf=33,yf=58,$e=91,Af=92,St=93,pr=94,zr=96,Yr=4,wf=1024;function xf(e){var r=this.Parser,t=this.Compiler;kf(r)&&Tf(r,e),Bf(t)&&qf(t)}function kf(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function Bf(e){return!!(e&&e.prototype&&e.prototype.visitors)}function Tf(e,r){for(var t=r||{},n=e.prototype,a=n.blockTokenizers,u=n.inlineTokenizers,i=n.blockMethods,o=n.inlineMethods,s=a.definition,l=u.reference,c=[],f=-1,p=i.length,d;++f
Yr&&(Z=void 0,ve=T);else{if(Z 65535&&(w-=65536,T+=He(w>>>10|55296),w=56320|w&1023),w=T+He(w))):S!==Ke&&x(Nu,W)),w?(ve(),L=ee(),d=I-1,h+=I-O+1,y.push(w),Be=ee(),Be.offset++,u&&u.call(s,w,{start:L,end:Be},e.slice(O-1,I)),L=Be):(g=e.slice(O-1,I),F+=g,h+=g.length,d=I-1)}else A===10&&(m++,D++,h=0),A===A?(F+=He(A),h++):ve();return y.join("");function ee(){return{line:m,column:h,offset:d+(c.offset||0)}}function Z(Ee,M){var Dt=ee();Dt.column+=M,Dt.offset+=M,i.call(l,we[Ee],Dt,Ee)}function ve(){F&&(y.push(F),a&&a.call(o,F,{start:L,end:ee()}),F="")}}function qD(e){return e>=55296&&e<=57343||e>1114111}function _D(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}});var Gu=C((Kv,Yu)=>{"use strict";var SD=Ie(),zu=dr();Yu.exports=OD;function OD(e){return t.raw=n,t;function r(u){for(var i=e.offset,o=u.line,s=[];++o&&o in i;)s.push((i[o]||0)+1);return{start:u,indent:s}}function t(u,i,o){zu(u,{position:r(i),warning:a,text:o,reference:o,textContext:e,referenceContext:e})}function n(u,i,o){return zu(u,SD(o,{position:r(i),warning:a}))}function a(u,i,o){o!==3&&e.file.message(u,i)}}});var $u=C((Jv,ju)=>{"use strict";ju.exports=LD;function LD(e){return r;function r(t,n){var a=this,u=a.offset,i=[],o=a[e+"Methods"],s=a[e+"Tokenizers"],l=n.line,c=n.column,f,p,d,D,h,m;if(!t)return i;for(w.now=E,w.file=a.file,F("");t;){for(f=-1,p=o.length,h=!1;++f {"use strict";Hu.exports=jr;var Gt=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],Vt=Gt.concat(["~","|"]),Wu=Vt.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);jr.default=Gt;jr.gfm=Vt;jr.commonmark=Wu;function jr(e){var r=e||{};return r.commonmark?Wu:r.gfm?Vt:Gt}});var Xu=C((Qv,Ju)=>{"use strict";Ju.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]});var jt=C((Zv,Qu)=>{"use strict";Qu.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Xu()}});var ea=C((eE,Zu)=>{"use strict";var ND=Ie(),RD=Ku(),UD=jt();Zu.exports=MD;function MD(e){var r=this,t=r.options,n,a;if(e==null)e={};else if(typeof e=="object")e=ND(e);else throw new Error("Invalid value `"+e+"` for setting `options`");for(n in UD){if(a=e[n],a==null&&(a=t[n]),n!=="blocks"&&typeof a!="boolean"||n==="blocks"&&typeof a!="object")throw new Error("Invalid value `"+a+"` for setting `options."+n+"`");e[n]=a}return r.options=e,r.escape=RD(e),r}});var na=C((rE,ta)=>{"use strict";ta.exports=ra;function ra(e){if(e==null)return VD;if(typeof e=="string")return GD(e);if(typeof e=="object")return"length"in e?YD(e):zD(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function zD(e){return r;function r(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function YD(e){for(var r=[],t=-1;++t {"use strict";var er={}.hasOwnProperty;yc.exports=W0;function W0(e){return!e||typeof e!="object"?"":er.call(e,"position")||er.call(e,"type")?Cc(e.position):er.call(e,"start")||er.call(e,"end")?Cc(e):er.call(e,"line")||er.call(e,"column")?_n(e):""}function _n(e){return(!e||typeof e!="object")&&(e={}),bc(e.line)+":"+bc(e.column)}function Cc(e){return(!e||typeof e!="object")&&(e={}),_n(e.start)+"-"+_n(e.end)}function bc(e){return e&&typeof e=="number"?e:1}});var kc=C((oC,xc)=>{"use strict";var H0=Ac();xc.exports=Sn;function wc(){}wc.prototype=Error.prototype;Sn.prototype=new wc;var ke=Sn.prototype;ke.file="";ke.name="";ke.reason="";ke.message="";ke.stack="";ke.fatal=null;ke.column=null;ke.line=null;function Sn(e,r,t){var n,a,u;typeof r=="string"&&(t=r,r=null),n=K0(t),a=H0(r)||"1:1",u={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(u=r,r=r.start):u.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=u,this.source=n[0],this.ruleId=n[1]}function K0(e){var r=[null,null],t;return typeof e=="string"&&(t=e.indexOf(":"),t===-1?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1))),r}});var Bc=C(rr=>{"use strict";rr.basename=J0;rr.dirname=X0;rr.extname=Q0;rr.join=Z0;rr.sep="/";function J0(e,r){var t=0,n=-1,a,u,i,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(wr(e),a=e.length,r===void 0||!r.length||r.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(i){t=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(t,n)}if(r===e)return"";for(u=-1,o=r.length-1;a--;)if(e.charCodeAt(a)===47){if(i){t=a+1;break}}else u<0&&(i=!0,u=a+1),o>-1&&(e.charCodeAt(a)===r.charCodeAt(o--)?o<0&&(n=a):(o=-1,n=u));return t===n?n=u:n<0&&(n=e.length),e.slice(t,n)}function X0(e){var r,t,n;if(wr(e),!e.length)return".";for(r=-1,n=e.length;--n;)if(e.charCodeAt(n)===47){if(t){r=n;break}}else t||(t=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function Q0(e){var r=-1,t=0,n=-1,a=0,u,i,o;for(wr(e),o=e.length;o--;){if(i=e.charCodeAt(o),i===47){if(u){t=o+1;break}continue}n<0&&(u=!0,n=o+1),i===46?r<0?r=o:a!==1&&(a=1):r>-1&&(a=-1)}return r<0||n<0||a===0||a===1&&r===n-1&&r===t+1?"":e.slice(r,n)}function Z0(){for(var e=-1,r;++e1&&(p?(o+=f.slice(0,-1),f=f.charAt(f.length-1)):(o+=f,f="")),F=e.now(),e(o)({type:"tableCell",children:n.tokenizeInline(h,F)},s)),e(f+p),f="",h=""):(f&&(h+=f,f=""),h+=p,p===ed&&a!==l-2&&(h+=B.charAt(a+1),a++)),m=!1,a++}y||e(rt+u)}return g}}}});var Co=C((xE,Eo)=>{"use strict";var ad=Re(),od=Ht(),sd=Xr();Eo.exports=fd;var cd=" ",Cr=`
`,ld=" ",vo=4;function fd(e,r,t){for(var n=this,a=n.options,u=a.commonmark,i=n.blockTokenizers,o=n.interruptParagraph,s=r.indexOf(Cr),l=r.length,c,f,p,d,D;s