var$s=[],DO=[];(()=>{leti="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(lete=0,t=0;e<i.length;e++)(e%2?DO:$s).push(t=t+i[e])})();functioni$(i){if(i<768)return!1;for(lete=0,t=$s.length;;){letr=e+t>>1;if(i<$s[r])t=r;elseif(i>=DO[r])e=r+1;elsereturn!0;if(e==t)return!1}}functionGO(i){returni>=127462&&i<=127487}varIO=8205;functionNO(i,e,t=!0,r=!0){return(t?FO:r$)(i,e,r)}functionFO(i,e,t){if(e==i.length)returne;e&&HO(i.charCodeAt(e))&&KO(i.charCodeAt(e-1))&&e--;letr=ds(i,e);for(e+=BO(r);e<i.length;){letn=ds(i,e);if(r==IO||n==IO||t&&i$(n))e+=BO(n),r=n;elseif(GO(n)){lets=0,o=e-2;for(;o>=0&&GO(ds(i,o));)s++,o-=2;if(s%2==0)break;e+=2}elsebreak}returne}functionr$(i,e,t){for(;e>0;){letr=FO(i,e-2,t);if(r<e)returnr;e--}return0}functionds(i,e){lett=i.charCodeAt(e);if(!KO(t)||e+1==i.length)returnt;letr=i.charCodeAt(e+1);returnHO(r)?(t-55296<<10)+(r-56320)+65536:t}functionHO(i){returni>=56320&&i<57344}functionKO(i){returni>=55296&&i<56320}functionBO(i){returni<65536?1:2}varW=classi{lineAt(e){if(e<0||e>this.length)thrownewRangeError(`Invalid position ${e} in document of length ${this.length}`);returnthis.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)thrownewRangeError(`Invalid line number ${e} in ${this.lines}-line document`);returnthis.lineInner(e,!0,1,0)}replace(e,t,r){[e,t]=Pi(this,e,t);letn=[];returnthis.decompose(0,e,n,2),r.length&&r.decompose(0,r.length,n,3),this.decompose(t,this.length,n,1),gi.from(n,this.length-(t-e)+r.length)}append(e){returnthis.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=Pi(this,e,t);letr=[];returnthis.decompose(e,t,r,0),gi.from(r,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;lett=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),n=newHt(this),s=newHt(e);for(leto=t,a=t;;){if(n.next(o),s.next(o),o=0,n.lineBreak!=s.lineBreak||n.done!=s.done||n.value!=s.value)return!1;if(a+=n.value.length,n.done||a>=r)return!0}}iter(e=1){returnnewHt(this,e)}iterRange(e,t=this.length){returnnewGr(this,e,t)}iterLines(e,t){letr;if(e==null)r=this.iter();else{t==null&&(t=this.lines+1);letn=this.line(e).from;r=this.iterRange(n,Math.max(n,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}returnnewIr(r)}toString(){returnthis.sliceString(0)}toJSON(){lete=[];returnthis.flatten(e),e}constructor(){}staticof(e){if(e.length==0)thrownewRangeError("A document must have at least one line");returne.length==1&&!e[0]?i.empty:e.length<=32?newRe(e):gi.from(Re.split(e,[]))}},Re=classiextendsW{constructor(e,t=n$(e)){super(),this.text=e,this.length=t}getlines(){returnthis.text.length}getchildren(){returnnull}lineInner(e,t,r,n){for(lets=0;;s++){leto=this.text[s],a=n+o.length;if((t?r:a)>=e)returnnewm
`){[e,t]=Pi(this,e,t);let n="";for(let s=0,o=0;s<=t&&o<this.text.length;o++){let a=this.text[o],O=s+a.length;s>e&&o&&(n+=r),e<O&&t>s&&(n+=a.slice(Math.max(0,e-s),t-s)),s=O+1}return n}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let r=[],n=-1;for(let s of e)r.push(s),n+=s.length+1,r.length==32&&(t.push(new i(r,n)),r=[],n=-1);return n>-1&&t.push(new i(r,n)),t}},gi=class i extends W{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,t,r,n){for(let s=0;;s++){let o=this.children[s],a=n+o.length,O=r+o.lines-1;if((t?O:a)>=e)return o.lineInner(e,t,r,n);n=a+1,r=O+1}}decompose(e,t,r,n){for(let s=0,o=0;o<=t&&s<this.children.length;s++){let a=this.children[s],O=o+a.length;if(e<=O&&t>=o){let l=n&((o<=e?1:0)|(O>=t?2:0));o>=e&&O<=t&&!l?r.push(a):a.decompose(e-o,t-o,r,l)}o=O+1}}replace(e,t,r){if([e,t]=Pi(this,e,t),r.lines<this.lines)for(let n=0,s=0;n<this.children.length;n++){let o=this.children[n],a=s+o.length;if(e>=s&&t<=a){let O=o.replace(e-s,t-s,r),l=this.lines-o.lines+O.lines;if(O.lines<l>>4&&O.lines>l>>6){let c=this.children.slice();return c[n]=O,new i(c,this.length-(t-e)+r.length)}return super.replace(s,a,O)}s=a+1}return super.replace(e,t,r)}sliceString(e,t=this.length,r=`
`){[e,t]=Pi(this,e,t);let n="";for(let s=0,o=0;s<this.children.length&&o<=t;s++){let a=this.children[s],O=o+a.length;o>e&&s&&(n+=r),e<O&&t>o&&(n+=a.sliceString(e-o,t-o,r)),o=O+1}return n}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof i))return 0;let r=0,[n,s,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=t,s+=t){if(n==o||s==a)return r;let O=this.children[n],l=e.children[s];if(O!=l)return r+O.scanIdentical(l,t);r+=O.length+1}}static from(e,t=e.reduce((r,n)=>r+n.length+1,-1)){let r=0;for(let d of e)r+=d.lines;if(r<32){let d=[];for(let $ of e)$.flatten(d);return new Re(d,t)}let n=Math.max(32,r>>5),s=n<<1,o=n>>1,a=[],O=0,l=-1,c=[];function h(d){let $;if(d.lines>s&&d instanceof i)for(let p of d.children)h(p);else d.lines>o&&(O>o||!O)?(f(),a.push(d)):d instanceof Re&&O&&($=c[c.length-1])instanceof Re&&d.lines+$.lines<=32?(O+=d.lines,l+=d.length+1,c[c.length-1]=new Re($.text.concat(d.text),$.length+1+d.length)):(O+d.lines>n&&f(),O+=d.lines,l+=d.length+1,c.push(d))}function f(){O!=0&&(a.push(c.length==1?c[0]:i.from(c,l)),l=-1,O=c.length=0)}for(let d of e)h(d);return f(),a.length==1?a[0]:new i(a,t)}};W.empty=new Re([""],0);function n$(i){let e=-1;for(let t of i)e+=t.length+1;return e}function Lr(i,e,t=0,r=1e9){for(let n=0,s=0,o=!0;s<i.length&&n<=r;s++){let a=i[s],O=n+a.length;O>=t&&(O>r&&(a=a.slice(0,r-n)),n<t&&(a=a.slice(t-n)),o?(e[e.length-1]+=a,o=!1):e.push(a)),n=O+1}return e}function JO(i,e,t){return Lr(i,[""],e,t)}var Ht=class{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof Re?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,n=this.nodes[r],s=this.offsets[r],o=s>>1,a=n instanceof Re?n.text.length:n.children.length;if(o==(t>0?a:0)){if(r==0)return this.done=!0,this.value="",this;t>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[r]+=t,e==0)return this.lineBreak=!0,this.value=`
`;this.styleTag.textContent=o;let a=t.head||t;this.styleTag.parentNode!=a&&a.insertBefore(this.styleTag,a.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}};var mt={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Ti={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},m$=typeof navigator<"u"&&/Mac/.test(navigator.platform),g$=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(ne=0;ne<10;ne++)mt[48+ne]=mt[96+ne]=String(ne);var ne;for(ne=1;ne<=24;ne++)mt[ne+111]="F"+ne;var ne;for(ne=65;ne<=90;ne++)mt[ne]=String.fromCharCode(ne+32),Ti[ne]=String.fromCharCode(ne);var ne;for(Kr in mt)Ti.hasOwnProperty(Kr)||(Ti[Kr]=mt[Kr]);var Kr;function ml(i){var e=m$&&i.metaKey&&i.shiftKey&&!i.ctrlKey&&!i.altKey||g$&&i.shiftKey&&i.key&&i.key.length==1||i.key=="Unidentified",t=!e&&i.key||(i.shiftKey?Ti:mt)[i.keyCode]||i.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}var Qe=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Es=typeof document<"u"?document:{documentElement:{style:{}}},Ls=/Edge\/(\d+)/.exec(Qe.userAgent),Fl=/MSIE \d/.test(Qe.userAgent),Gs=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Qe.userAgent),kn=!!(Fl||Gs||Ls),gl=!kn&&/gecko\/(\d+)/i.test(Qe.userAgent),Ws=!kn&&/Chrome\/(\d+)/.exec(Qe.userAgent),Ql="webkitFontSmoothing"in Es.documentElement.style,Is=!kn&&/Apple Computer/.test(Qe.vendor),Sl=Is&&(/Mobile\/\w+/.test(Qe.userAgent)||Qe.maxTouchPoints>2),X={mac:Sl||/Mac/.test(Qe.platform),windows:/Win/.test(Qe.platform),linux:/Linux|X11/.test(Qe.platform),ie:kn,ie_version:Fl?Es.documentMode||6:Gs?+Gs[1]:Ls?+Ls[1]:0,gecko:gl,gecko_version:gl?+(/Firefox\/(\d+)/.exec(Qe.userAgent)||[0,0])[1]:0,chrome:!!Ws,chrome_version:Ws?+Ws[1]:0,ios:Sl,android:/Android\b/.test(Qe.userAgent),webkit:Ql,webkit_version:Ql?+(/\bAppleWebKit\/(\d+)/.exec(Qe.userAgent)||[0,0])[1]:0,safari:Is,safari_version:Is?+(/\bVersion\/(\d+(\.\d+)?)/.exec(Qe.userAgent)||[0,0])[1]:0,tabSize:Es.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function zo(i,e){for(let t in i)t=="class"&&e.class?e.class+=""+i.class:t=="style"&&e.style?e.style+=";"+i.style:e[t]=i[t];return e}var fn=Object.create(null);function Yo(i,e,t){if(i==e)return!0;i||(i=fn),e||(e=fn);let r=Object.keys(i),n=Object.keys(e);if(r.length-(t&&r.indexOf(t)>-1?1:0)!=n.length-(t&&n.indexOf(t)>-1?1:0))return!1;for(let s of r)if(s!=t&&(n.indexOf(s)==-1||i[s]!==e[s]))return!1;return!0}function Q$(i,e){for(let t=i.attributes.length-1;t>=0;t--){let r=i.attributes[t].name;e[r]==null&&i.removeAttribute(r)}for(let t in e){let r=e[t];t=="style"?i.style.cssText=r:i.getAttribute(t)!=r&&i.setAttribute(t,r)}}function Pl(i,e,t){let r=!1;if(e)for(let n in e)t&&n in t||(r=!0,n=="style"?i.style.cssText="":i.removeAttribute(n));if(t)for(let n in t)e&&e[n]==t[n]||(r=!0,n=="style"?i.style.cssText=t[n]:i.setAttribute(n,t[n]));returnr}functionS$(i){lete=Object.create(null);for(lett=0;t<i.attributes.length;t++){letr=i.attributes[t];e[r.name]=r.value}returne}varSt=class{eq(e){return!1}updateDOM(e,t,r){return!1}compare(e){returnthis==e||this.constructor==e.constructor&&this.eq(e)}getestimatedHeight(){return-1}getlineBreaks(){return0}ignoreEvent(e){return!0}coordsAt(e,t,r){returnnull}getisHidden(){return!1}geteditable(){
`);r=n<0?t:t.slice(0,n)}return e+r.length>this.to?r.slice(0,this.to-e):r}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,r=0){this.block=os.create(e,r,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,r=0){this.startContext(this.parser.getNodeType(e),t,r)}addNode(e,t,r){typeof e=="number"&&(e=new Y(this.parser.nodeSet.types[e],Ii,Ii,(r??this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(yO(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?hd(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let r of e.parsers)if(r.finish(this,e))return;let t=yO(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(P.Paragraph,e.content.length),e.start)}elt(e,t,r,n){return typeof e=="string"?j(this.parser.getNodeType(e),t,r,n):new Os(e,t)}get buffer(){return new as(this.parser.nodeSet)}};function hd(i,e,t,r,n){let s=i[e].to,o=[],a=[],O=t.from+r;function l(c,h){for(;h?c>=s:c>s;){let f=i[e+1].from-s;r+=f,c+=f,e++,s=i[e].to}}for(let c=t.firstChild;c;c=c.nextSibling){l(c.from+r,!0);let h=c.from+r,f,d=n.get(c.tree);d?f=d:c.to+r>s?(f=hd(i,e,c,r,n),l(c.to+r,!1)):f=c.toTree(),o.push(f),a.push(h-O)}return l(t.to+r,!1),new Y(t.type,o,a,t.to+r-O,t.tree?t.tree.propValues:void 0)}var Yr=class i extends bt{constructor(e,t,r,n,s,o,a,O,l){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=r,this.blockNames=n,this.endLeafBlock=s,this.skipContextMarkup=o,this.inlineParsers=a,this.inlineNames=O,this.wrappers=l,this.nodeTypes=Object.create(null);for(let c of e.types)this.nodeTypes[c.name]=c.id}createParse(e,t,r){let n=new PO(this,e,t,r);for(let s of this.wrappers)n=s(n,e,t,r);return n}configure(e){let t=TO(e);if(!t)return this;let{nodeSet:r,skipContextMarkup:n}=this,s=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),a=this.blockNames.slice(),O=this.inlineParsers.slice(),l=this.inlineNames.slice(),c=this.endLeafBlock.slice(),h=this.wrappers;if(Vr(t.defineNodes)){n=Object.assign({},n);let f=r.types.slice(),d;for(let $ of t.defineNodes){let{name:p,block:m,composite:g,style:S}=typeof $=="string"?{name:$}:$;if(f.some(b=>b.name==p))continue;g&&(n[f.length]=(b,x,w)=>g(x,w,b.value));let T=f.length,_=g?["Block","BlockContext"]:m?T>=P.ATXHeading1&&T<=P.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;f.push(ie.define({id:T,name:p,props:_&&[[V.group,_]]})),S&&(d||(d={}),Array.isArray(S)||S instanceof ze?d[p]=S:Object.assign(d,S))}r=new Tt(f),d&&(r=r.extend(se(d)))}if(Vr(t.props)&&(r=r.extend(...t.props)),Vr(t.remove))for(let f of t.remove){let d=this.blockNames.indexOf(f),$=this.inlineNames.indexOf(f);d>-1&&(s[d]=o[d]=void 0),$>-1&&(O[$]=void 0)}if(Vr(t.parseBlock))for(let f of t.parseBlock){let d=a.indexOf(f.name);if(d>-1)s[d]=f.parse,o[d]=f.leaf;else{let $=f.before?ss(a,f.before):f.after?ss(a,f.after)+1:a.length-1;s.splice($,0,f.parse),o.splice($,0,f.leaf),a.splice($,0,f.name)}f.endLeaf&&c.push(f.endLeaf)}if(Vr(t.parseInline))for(let f of t.parseInline){let d=l.indexOf(f.name);if(d>-1)O[d]=f.parse;else{let $=f.before?ss(l,f.before):f.after?ss(l,f.after)+1:l.length-1;O.splice($,0,f.parse),l.splice($,0,f.name)}}return t.wrap&&(h=h.concat(t.wrap)),new i(r,s,o,a,c,n,O,l,h)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw new RangeError(`Unknownnodetype'${e}'`);return t}parseInline(e,t){let r=new Wr(this,e,t);e:for(let n=t;n<r.end;){let s=r.char(n);for(let o of this.inlineParsers)if(o){let a=o(r,s,n);if(a>=0){n=a;continue e}}n++}return r.resol
`);let t=i.textContent.trimEnd(),r="";e!==null&&(r=e.className.replace("language-",""));let n=document.createElement("div");i.parentNode.insertBefore(n,i);let s=rT(i);s&&n.setAttribute("dir",s);let o=Bi("content-code-block",{parent:n,doc:t,extensions:Ra(n)});new Bt(o).setMode(r,t),i.remove(),iT(o)}function iw(i){let e=i.querySelectorAll("pre");for(let t of e)t$(t)}function rw(){let i=document.querySelectorAll(".page-content pre, .comment-box .content pre");for(let e of i)t$(e)}function nw(i,e,t,r){let n=Bi("content-code-block",{parent:i,doc:t,extensions:Ra(i),root:e}),s=new Bt(n);return s.setMode(r,t),s}function sw(i,e){let t=i.textContent,r={parent:i.parentElement,doc:t,extensions:[...Hn(i.parentElement)]},n=new Bt(Bi("code-editor",r));return n.setMode(e,t),i.style.display="none",n}function ow(i,e){let t=i.value,r={parent:i.parentElement,doc:t,extensions:[...Hn(i.parentElement),k.updateListener.of(o=>{o.docChanged&&(i.value=o.state.doc.toString())})]},n=Bi("code-input",r),s=new Bt(n);return s.setMode(e,t),i.style.display="none",s}function aw(i,e,t,r){let n=i.textContent,s={parent:i.parentElement,doc:n,extensions:[ct.of(r),...Hn(i.parentElement),k.updateListener.of(a=>{e(a)}),k.domEventHandlers(t)]};window.$events.emitPublic(i,"editor-markdown-cm6::pre-init",{editorViewConfig:s});let o=Bi("markdown-editor",s);return new Bt(o).setMode("markdown",""),i.style.display="none",o}export{rw as highlight,iw as highlightWithin,ow as inlineEditor,aw as markdownEditor,sw as popupEditor,nw as wysiwygView};