diff --git a/assets/index-d69208da.js b/assets/index-ca7dab07.js similarity index 99% rename from assets/index-d69208da.js rename to assets/index-ca7dab07.js index b43fcb6..afa5df8 100644 --- a/assets/index-d69208da.js +++ b/assets/index-ca7dab07.js @@ -24,10 +24,74 @@ var RR=Object.defineProperty;var NR=(r,e,t)=>e in r?RR(r,e,{enumerable:!0,config `+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}moveRangeI(){for(;this.rangeI=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=KD;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let n=this.absoluteLineStart,i=this.rangeI;for(;this.ranges[i].tothis.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=Cc.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){typeof e=="number"&&(e=new Et(this.parser.nodeSet.types[e],Es,Es,(n??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(xm(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?Fy(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let n of e.parsers)if(n.finish(this,e))return;let t=xm(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(Te.Paragraph,e.content.length),e.start)}elt(e,t,n,i){return typeof e=="string"?bt(this.parser.getNodeType(e),t,n,i):new Gy(e,t)}get buffer(){return new $y(this.parser.nodeSet)}}function Fy(r,e,t,n,i){let a=r[e].to,s=[],o=[],l=t.from+n;function c(u,p){for(;p?u>=a:u>a;){let m=r[e+1].from-a;n+=m,u+=m,e++,a=r[e].to}}for(let u=t.firstChild;u;u=u.nextSibling){c(u.from+n,!0);let p=u.from+n,m,_=i.get(u.tree);_?m=_:u.to+n>a?(m=Fy(r,e,u,n,i),c(u.to+n,!1)):m=u.toTree(),s.push(m),o.push(p-l)}return c(t.to+n,!1),new Et(t.type,s,o,t.to+n-l,t.tree?t.tree.propValues:void 0)}class jc extends dg{constructor(e,t,n,i,a,s,o,l,c){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=i,this.endLeafBlock=a,this.skipContextMarkup=s,this.inlineParsers=o,this.inlineNames=l,this.wrappers=c,this.nodeTypes=Object.create(null);for(let u of e.types)this.nodeTypes[u.name]=u.id}createParse(e,t,n){let i=new jD(this,e,t,n);for(let a of this.wrappers)i=a(i,e,t,n);return i}configure(e){let t=Dm(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:i}=this,a=this.blockParsers.slice(),s=this.leafBlockParsers.slice(),o=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),p=this.wrappers;if(ro(t.defineNodes)){i=Object.assign({},i);let m=n.types.slice(),_;for(let v of t.defineNodes){let{name:I,block:R,composite:x,style:$}=typeof v=="string"?{name:v}:v;if(m.some(b=>b.name==I))continue;x&&(i[m.length]=(b,S,N)=>x(S,N,b.value));let Z=m.length,h=x?["Block","BlockContext"]:R?Z>=Te.ATXHeading1&&Z<=Te.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;m.push(pn.define({id:Z,name:I,props:h&&[[et.group,h]]})),$&&(_||(_={}),Array.isArray($)||$ instanceof Mr?_[I]=$:Object.assign(_,$))}n=new rl(m),_&&(n=n.extend(Is(_)))}if(ro(t.props)&&(n=n.extend(...t.props)),ro(t.remove))for(let m of t.remove){let _=this.blockNames.indexOf(m),v=this.inlineNames.indexOf(m);_>-1&&(a[_]=s[_]=void 0),v>-1&&(l[v]=void 0)}if(ro(t.parseBlock))for(let m of t.parseBlock){let _=o.indexOf(m.name);if(_>-1)a[_]=m.parse,s[_]=m.leaf;else{let v=m.before?Ml(o,m.before):m.after?Ml(o,m.after)+1:o.length-1;a.splice(v,0,m.parse),s.splice(v,0,m.leaf),o.splice(v,0,m.name)}m.endLeaf&&u.push(m.endLeaf)}if(ro(t.parseInline))for(let m of t.parseInline){let _=c.indexOf(m.name);if(_>-1)l[_]=m.parse;else{let v=m.before?Ml(c,m.before):m.after?Ml(c,m.after)+1:c.length-1;l.splice(v,0,m.parse),c.splice(v,0,m.name)}}return t.wrap&&(p=p.concat(t.wrap)),new jc(n,a,s,o,u,i,l,c,p)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new ex(this,e,t);e:for(let i=t;i=0){i=o;continue e}}i++}return n.resolveMarkers(0)}}function ro(r){return r!=null&&r.length>0}function Dm(r){if(!Array.isArray(r))return r;if(r.length==0)return null;let e=Dm(r[0]);if(r.length==1)return e;let t=Dm(r.slice(1));if(!t||!e)return e||t;let n=(s,o)=>(s||Es).concat(o||Es),i=e.wrap,a=t.wrap;return{props:n(e.props,t.props),defineNodes:n(e.defineNodes,t.defineNodes),parseBlock:n(e.parseBlock,t.parseBlock),parseInline:n(e.parseInline,t.parseInline),remove:n(e.remove,t.remove),wrap:i?a?(s,o,l,c)=>i(a(s,o,l,c),o,l,c):i:a}}function Ml(r,e){let t=r.indexOf(e);if(t<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return t}let Yy=[pn.none];for(let r=1,e;e=Te[r];r++)Yy[r]=pn.define({id:r,name:e,props:r>=Te.Escape?[]:[[et.group,r in wy?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});const Es=[];class $y{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,i=0){return this.content.push(e,t,n,4+i*4),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return Et.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}let Vo=class{constructor(e,t,n,i=Es){this.type=e,this.from=t,this.to=n,this.children=i}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new $y(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}};class Gy{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Es}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function bt(r,e,t,n){return new Vo(r,e,t,n)}const Qy={resolve:"Emphasis",mark:"EmphasisMark"},qy={resolve:"Emphasis",mark:"EmphasisMark"},io={},bO={};class Pr{constructor(e,t,n,i){this.type=e,this.from=t,this.to=n,this.side=i}}const EO="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let zo=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{zo=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch{}const Bu={Escape(r,e,t){if(e!=92||t==r.end-1)return-1;let n=r.char(t+1);for(let i=0;i]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(n);if(i)return r.append(bt(Te.URL,t,t+1+i[0].length));let a=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(n);if(a)return r.append(bt(Te.Comment,t,t+1+a[0].length));let s=/^\?[^]*?\?>/.exec(n);if(s)return r.append(bt(Te.ProcessingInstruction,t,t+1+s[0].length));let o=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return o?r.append(bt(Te.HTMLTag,t,t+1+o[0].length)):-1},Emphasis(r,e,t){if(e!=95&&e!=42)return-1;let n=t+1;for(;r.char(n)==e;)n++;let i=r.slice(t-1,t),a=r.slice(n,n+1),s=zo.test(i),o=zo.test(a),l=/\s|^$/.test(i),c=/\s|^$/.test(a),u=!c&&(!o||l||s),p=!l&&(!s||c||o),m=u&&(e==42||!p||s),_=p&&(e==42||!u||o);return r.append(new Pr(e==95?Qy:qy,t,n,(m?1:0)|(_?2:0)))},HardBreak(r,e,t){if(e==92&&r.char(t+1)==10)return r.append(bt(Te.HardBreak,t,t+2));if(e==32){let n=t+1;for(;r.char(n)==32;)n++;if(r.char(n)==10&&n>=t+2)return r.append(bt(Te.HardBreak,t,n+1))}return-1},Link(r,e,t){return e==91?r.append(new Pr(io,t,t+1,1)):-1},Image(r,e,t){return e==33&&r.char(t+1)==91?r.append(new Pr(bO,t,t+2,1)):-1},LinkEnd(r,e,t){if(e!=93)return-1;for(let n=r.parts.length-1;n>=0;n--){let i=r.parts[n];if(i instanceof Pr&&(i.type==io||i.type==bO)){if(!i.side||r.skipSpace(i.to)==t&&!/[(\[]/.test(r.slice(t+1,t+2)))return r.parts[n]=null,-1;let a=r.takeContent(n),s=r.parts[n]=JD(r,a,i.type==io?Te.Link:Te.Image,i.from,t+1);if(i.type==io)for(let o=0;oe?bt(Te.URL,e+t,a+t):a==r.length?null:!1}}function zy(r,e,t){let n=r.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let i=n==40?41:n;for(let a=e+1,s=!1;a=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,i,a){return this.append(new Pr(e,t,n,(i?1:0)|(a?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;l--){let I=this.parts[l];if(I instanceof Pr&&I.side&1&&I.type==i.type&&!(a&&(i.side&1||I.side&2)&&(I.to-I.from+s)%3==0&&((I.to-I.from)%3||s%3))){o=I;break}}if(!o)continue;let c=i.type.resolve,u=[],p=o.from,m=i.to;if(a){let I=Math.min(2,o.to-o.from,s);p=o.to-I,m=i.from+I,c=I==1?"Emphasis":"StrongEmphasis"}o.type.mark&&u.push(this.elt(o.type.mark,p,o.to));for(let I=l+1;I=0;t--){let n=this.parts[t];if(n instanceof Pr&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return Co(this.text,e-this.offset)+this.offset}elt(e,t,n,i){return typeof e=="string"?bt(this.parser.getNodeType(e),t,n,i):new Gy(e,t)}}function xm(r,e){if(!e.length)return r;if(!r.length)return e;let t=r.slice(),n=0;for(let i of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let a=this.fragment.to;for(;a>0&&this.input.read(a-1,a)!=` -`;)a--;this.fragmentEnd=a?a-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let i=e+this.fragment.offset;for(;n.to<=i;)if(!n.parent())return!1;for(;;){if(n.from>=i)return this.fragment.from<=t;if(!n.childAfter(i))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(et.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),a=e.absoluteLineStart,s=a,o=e.block.children.length,l=s,c=o;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}let u=Wy(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,u);else{let p=new Et(e.parser.nodeSet.types[Te.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(p,t.tree),e.addNode(p,u)}if(t.type.is("Block")&&(tx.indexOf(t.type.id)<0?(s=t.to-n,o=e.block.children.length):(s=l,o=c,l=t.to-n,c=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-a}}function Wy(r,e){let t=r;for(let n=1;nLl[r]),Object.keys(Ll).map(r=>XD[r]),Object.keys(Ll),ZD,wy,Object.keys(Bu).map(r=>Bu[r]),Object.keys(Bu),[]);function ax(r,e,t){let n=[];for(let i=r.firstChild,a=e;;i=i.nextSibling){let s=i?i.from:t;if(s>a&&n.push({from:a,to:s}),!i)break;a=i.to}return n}function sx(r){let{codeParser:e,htmlParser:t}=r;return{wrap:vT((i,a)=>{let s=i.type.id;if(e&&(s==Te.CodeBlock||s==Te.FencedCode)){let o="";if(s==Te.FencedCode){let c=i.node.getChild(Te.CodeInfo);c&&(o=a.read(c.from,c.to))}let l=e(o);if(l)return{parser:l,overlay:c=>c.type.id==Te.CodeText}}else if(t&&(s==Te.HTMLBlock||s==Te.HTMLTag))return{parser:t,overlay:ax(i.node,i.from,i.to)};return null})}}const ox={resolve:"Strikethrough",mark:"StrikethroughMark"},lx={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":Y.strikethrough}},{name:"StrikethroughMark",style:Y.processingInstruction}],parseInline:[{name:"Strikethrough",parse(r,e,t){if(e!=126||r.char(t+1)!=126||r.char(t+2)==126)return-1;let n=r.slice(t-1,t),i=r.slice(t+2,t+3),a=/\s|^$/.test(n),s=/\s|^$/.test(i),o=zo.test(n),l=zo.test(i);return r.addDelimiter(ox,t,t+2,!s&&(!l||a||o),!a&&(!o||s||l))},after:"Emphasis"}]};function yo(r,e,t=0,n,i=0){let a=0,s=!0,o=-1,l=-1,c=!1,u=()=>{n.push(r.elt("TableCell",i+o,i+l,r.parser.parseInline(e.slice(o,l),i+o)))};for(let p=t;p-1)&&a++,s=!1,n&&(o>-1&&u(),n.push(r.elt("TableDelimiter",p+i,p+i+1))),o=l=-1):(c||m!=32&&m!=9)&&(o<0&&(o=p),l=p+1),c=!c&&m==92}return o>-1&&(a++,n&&u()),a}function vO(r,e){for(let t=e;ti instanceof TO)||!vO(e.text,e.basePos))return!1;let n=r.scanLine(r.absoluteLineEnd+1).text;return Xy.test(n)&&yo(r,e.text,e.basePos)==yo(r,n,e.basePos)},before:"SetextHeading"}]};class ux{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const dx={defineNodes:[{name:"Task",block:!0,style:Y.list},{name:"TaskMarker",style:Y.atom}],parseBlock:[{name:"TaskList",leaf(r,e){return/^\[[ xX]\][ \t]/.test(e.content)&&r.parentType().name=="ListItem"?new ux:null},after:"SetextHeading"}]},CO=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,yO=/[\w-]+(\.\w+(\.\w+)?)(\/[^\s<]*)?/gy,AO=/[\w.+-]+@[\w-]+\.[\w.-]+/gy,IO=/\/[a-zA-Z\d@.]+/gy;function RO(r,e,t,n){let i=0;for(let a=e;aRO(r,e,n,"("))n--;else if(i==";"&&(a=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(r.slice(e,n))))n=e+a.index;else break}return n}function NO(r,e){AO.lastIndex=e;let t=AO.exec(r);if(!t)return-1;let n=t[0][t[0].length-1];return n=="_"||n=="-"?-1:e+t[0].length-(n=="."?1:0)}const fx={parseInline:[{name:"Autolink",parse(r,e,t){let n=t-r.offset;CO.lastIndex=n;let i=CO.exec(r.text),a=-1;return!i||(i[1]||i[2]?a=px(r.text,n+i[0].length):i[3]?a=NO(r.text,n):(a=NO(r.text,n+i[0].length),a>-1&&i[0]=="xmpp:"&&(IO.lastIndex=a,i=IO.exec(r.text),i&&(a=i.index+i[0].length))),a<0)?-1:(r.addElement(r.elt("URL",t,a+r.offset)),a+r.offset)}}]},hx=[cx,dx,lx,fx];function Zy(r,e,t){return(n,i,a)=>{if(i!=r||n.char(a+1)==r)return-1;let s=[n.elt(t,a,a+1)];for(let o=a+1;o=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function iA(r){return r==9||r==10||r==13||r==32}let kO=null,LO=null,MO=0;function Lm(r,e){let t=r.pos+e;if(MO==t&&LO==r)return kO;let n=r.peek(e);for(;iA(n);)n=r.peek(++e);let i="";for(;Yx(n);)i+=String.fromCharCode(n),n=r.peek(++e);return LO=r,MO=t,kO=i?i.toLowerCase():n==$x||n==Gx?void 0:null}const aA=60,Ac=62,Yg=47,$x=63,Gx=33,Qx=45;function PO(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new PO(Lm(n,1)||"",r):r},reduce(r,e){return e==tA&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==yc||i==Lx?new PO(Lm(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),zx=new ai((r,e)=>{if(r.next!=aA){r.next<0&&e.context&&r.acceptToken(Uu);return}r.advance();let t=r.next==Yg;t&&r.advance();let n=Lm(r,0);if(n===void 0)return;if(!n)return r.acceptToken(t?Rx:yc);let i=e.context?e.context.name:null;if(t){if(n==i)return r.acceptToken(yx);if(i&&Fx[i])return r.acceptToken(Uu,-2);if(e.dialectEnabled(Px))return r.acceptToken(Ax);for(let a=e.context;a;a=a.parent)if(a.name==n)return;r.acceptToken(Ix)}else{if(n=="script")return r.acceptToken(Ky);if(n=="style")return r.acceptToken(jy);if(n=="textarea")return r.acceptToken(Jy);if(Ux.hasOwnProperty(n))return r.acceptToken(eA);i&&xO[i]&&xO[i][n]?r.acceptToken(Uu,-1):r.acceptToken(yc)}},{contextual:!0}),Hx=new ai(r=>{for(let e=0,t=0;;t++){if(r.next<0){t&&r.acceptToken(DO);break}if(r.next==Qx)e++;else if(r.next==Ac&&e>=2){t>3&&r.acceptToken(DO,-2);break}else e=0;r.advance()}});function Wx(r){for(;r;r=r.parent)if(r.name=="svg"||r.name=="math")return!0;return!1}const Xx=new ai((r,e)=>{if(r.next==Yg&&r.peek(1)==Ac){let t=e.dialectEnabled(Bx)||Wx(e.context);r.acceptToken(t?Cx:wO,2)}else r.next==Ac&&r.acceptToken(wO,1)});function $g(r,e,t){let n=2+r.length;return new ai(i=>{for(let a=0,s=0,o=0;;o++){if(i.next<0){o&&i.acceptToken(e);break}if(a==0&&i.next==aA||a==1&&i.next==Yg||a>=2&&as?i.acceptToken(e,-s):i.acceptToken(t,-(s-2));break}else if((i.next==10||i.next==13)&&o){i.acceptToken(e,1);break}else a=s=0;i.advance()}})}const Zx=$g("script",Sx,Ox),Kx=$g("style",bx,Ex),jx=$g("textarea",vx,Tx),Jx=Is({"Text RawText":Y.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Y.angleBracket,TagName:Y.tagName,"MismatchedCloseTag/TagName":[Y.tagName,Y.invalid],AttributeName:Y.attributeName,"AttributeValue UnquotedAttributeValue":Y.attributeValue,Is:Y.definitionOperator,"EntityReference CharacterReference":Y.character,Comment:Y.blockComment,ProcessingInst:Y.processingInstruction,DoctypeDecl:Y.documentMeta}),ek=ms.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO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YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Vx,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[Jx],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZA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.node,p;if(p=u.firstChild){let m=s[l.read(p.from,p.to)];if(m)for(let _ of m){if(_.tagName&&_.tagName!=BO(u.parent,l))continue;let v=u.lastChild;if(v.type.id==km){let I=v.from+1,R=v.lastChild,x=v.to-(R&&R.isError?0:1);if(x>I)return{parser:_.parser,overlay:[{from:I,to:x}]}}else if(v.type.id==rA)return{parser:_.parser,overlay:[{from:v.from,to:v.to}]}}}}return null})}const tk=96,UO=1,nk=97,rk=98,FO=2,lA=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],ik=58,ak=40,cA=95,sk=91,ec=45,ok=46,lk=35,ck=37;function Ic(r){return r>=65&&r<=90||r>=97&&r<=122||r>=161}function uk(r){return r>=48&&r<=57}const dk=new ai((r,e)=>{for(let t=!1,n=0,i=0;;i++){let{next:a}=r;if(Ic(a)||a==ec||a==cA||t&&uk(a))!t&&(a!=ec||i>0)&&(t=!0),n===i&&a==ec&&n++,r.advance();else{t&&r.acceptToken(a==ak?nk:n==2&&e.canShift(FO)?FO:rk);break}}}),pk=new ai(r=>{if(lA.includes(r.peek(-1))){let{next:e}=r;(Ic(e)||e==cA||e==lk||e==ok||e==sk||e==ik||e==ec)&&r.acceptToken(tk)}}),fk=new ai(r=>{if(!lA.includes(r.peek(-1))){let{next:e}=r;if(e==ck&&(r.advance(),r.acceptToken(UO)),Ic(e)){do r.advance();while(Ic(r.next));r.acceptToken(UO)}}}),hk=Is({"AtKeyword import charset namespace keyframes media supports":Y.definitionKeyword,"from to selector":Y.keyword,NamespaceName:Y.namespace,KeyframeName:Y.labelName,KeyframeRangeName:Y.operatorKeyword,TagName:Y.tagName,ClassName:Y.className,PseudoClassName:Y.constant(Y.className),IdName:Y.labelName,"FeatureName PropertyName":Y.propertyName,AttributeName:Y.attributeName,NumberLiteral:Y.number,KeywordQuery:Y.keyword,UnaryQueryOp:Y.operatorKeyword,"CallTag ValueName":Y.atom,VariableName:Y.variableName,Callee:Y.operatorKeyword,Unit:Y.unit,"UniversalSelector NestingSelector":Y.definitionOperator,MatchOp:Y.compareOperator,"ChildOp SiblingOp, LogicOp":Y.logicOperator,BinOp:Y.arithmeticOperator,Important:Y.modifier,Comment:Y.blockComment,ColorLiteral:Y.color,"ParenthesizedContent StringLiteral":Y.string,":":Y.punctuation,"PseudoOp #":Y.derefOperator,"; ,":Y.separator,"( )":Y.paren,"[ ]":Y.squareBracket,"{ }":Y.brace}),mk={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},gk={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},_k={__proto__:null,not:128,only:128},Sk=ms.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS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;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[pk,fk,dk,1,2,3,4,new cc("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:r=>mk[r]||-1},{term:56,get:r=>gk[r]||-1},{term:98,get:r=>_k[r]||-1}],tokenPrec:1169});let Yu=null;function $u(){if(!Yu&&typeof document=="object"&&document.body){let{style:r}=document.body,e=[],t=new Set;for(let n in r)n!="cssText"&&n!="cssFloat"&&typeof r[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));Yu=e.sort().map(n=>({type:"property",label:n}))}return Yu||[]}const YO=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(r=>({type:"class",label:r})),$O=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(r=>({type:"keyword",label:r})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(r=>({type:"constant",label:r}))),Ok=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(r=>({type:"type",label:r})),ki=/^(\w[\w-]*|-\w[\w-]*|)$/,bk=/^-(-[\w-]*)?$/;function Ek(r,e){var t;if((r.name=="("||r.type.isError)&&(r=r.parent||r),r.name!="ArgList")return!1;let n=(t=r.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const GO=new ET,vk=["Declaration"];function Tk(r){for(let e=r;;){if(e.type.isTop)return e;if(!(e=e.parent))return r}}function uA(r,e,t){if(e.to-e.from>4096){let n=GO.get(e);if(n)return n;let i=[],a=new Set,s=e.cursor(xt.IncludeAnonymous);if(s.firstChild())do for(let o of uA(r,s.node,t))a.has(o.label)||(a.add(o.label),i.push(o));while(s.nextSibling());return GO.set(e,i),i}else{let n=[],i=new Set;return e.cursor().iterate(a=>{var s;if(t(a)&&a.matchContext(vk)&&((s=a.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let o=r.sliceString(a.from,a.to);i.has(o)||(i.add(o),n.push({label:o,type:"variable"}))}}),n}}const Ck=r=>e=>{let{state:t,pos:n}=e,i=Gt(t).resolveInner(n,-1),a=i.type.isError&&i.from==i.to-1&&t.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(a||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:$u(),validFor:ki};if(i.name=="ValueName")return{from:i.from,options:$O,validFor:ki};if(i.name=="PseudoClassName")return{from:i.from,options:YO,validFor:ki};if(r(i)||(e.explicit||a)&&Ek(i,t.doc))return{from:r(i)||a?i.from:n,options:uA(t.doc,Tk(i),r),validFor:bk};if(i.name=="TagName"){for(let{parent:l}=i;l;l=l.parent)if(l.name=="Block")return{from:i.from,options:$u(),validFor:ki};return{from:i.from,options:Ok,validFor:ki}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&o.name==":"&&s.name=="PseudoClassSelector"?{from:n,options:YO,validFor:ki}:o&&o.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:n,options:$O,validFor:ki}:s.name=="Block"||s.name=="Styles"?{from:n,options:$u(),validFor:ki}:null},yk=Ck(r=>r.name=="VariableName"),Rc=_s.define({name:"css",parser:Sk.configure({props:[ol.add({Declaration:Jl()}),ll.add({"Block KeyframeList":ey})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Ak(){return new Yo(Rc,Rc.data.of({autocomplete:yk}))}const ao=["_blank","_self","_top","_parent"],Gu=["ascii","utf-8","utf-16","latin1","latin1"],Qu=["get","post","put","delete"],qu=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Jn=["true","false"],Ge={},Ik={a:{attrs:{href:null,ping:null,type:null,media:null,target:ao,hreflang:null}},abbr:Ge,address:Ge,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Ge,aside:Ge,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Ge,base:{attrs:{href:null,target:ao}},bdi:Ge,bdo:Ge,blockquote:{attrs:{cite:null}},body:Ge,br:Ge,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:qu,formmethod:Qu,formnovalidate:["novalidate"],formtarget:ao,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Ge,center:Ge,cite:Ge,code:Ge,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Ge,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Ge,div:Ge,dl:Ge,dt:Ge,em:Ge,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Ge,figure:Ge,footer:Ge,form:{attrs:{action:null,name:null,"accept-charset":Gu,autocomplete:["on","off"],enctype:qu,method:Qu,novalidate:["novalidate"],target:ao}},h1:Ge,h2:Ge,h3:Ge,h4:Ge,h5:Ge,h6:Ge,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Ge,hgroup:Ge,hr:Ge,html:{attrs:{manifest:null}},i:Ge,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:qu,formmethod:Qu,formnovalidate:["novalidate"],formtarget:ao,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Ge,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Ge,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Ge,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Gu,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Ge,noscript:Ge,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Ge,param:{attrs:{name:null,value:null}},pre:Ge,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Ge,rt:Ge,ruby:Ge,samp:Ge,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Gu}},section:Ge,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Ge,source:{attrs:{src:null,type:null,media:null}},span:Ge,strong:Ge,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Ge,summary:Ge,sup:Ge,table:Ge,tbody:Ge,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Ge,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Ge,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Ge,time:{attrs:{datetime:null}},title:Ge,tr:Ge,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Ge,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Ge},dA={accesskey:null,class:null,contenteditable:Jn,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Jn,autocorrect:Jn,autocapitalize:Jn,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Jn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Jn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Jn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Jn,"aria-hidden":Jn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Jn,"aria-multiselectable":Jn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Jn,"aria-relevant":null,"aria-required":Jn,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},pA="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(r=>"on"+r);for(let r of pA)dA[r]=null;class Ho{constructor(e,t){this.tags=Object.assign(Object.assign({},Ik),e),this.globalAttrs=Object.assign(Object.assign({},dA),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Ho.default=new Ho;function vs(r,e,t=r.length){if(!e)return"";let n=e.firstChild,i=n&&n.getChild("TagName");return i?r.sliceString(i.from,Math.min(i.to,t)):""}function Ts(r,e=!1){for(;r;r=r.parent)if(r.name=="Element")if(e)e=!1;else return r;return null}function fA(r,e,t){let n=t.tags[vs(r,Ts(e))];return(n==null?void 0:n.children)||t.allTags}function Gg(r,e){let t=[];for(let n=Ts(e);n&&!n.type.isTop;n=Ts(n.parent)){let i=vs(r,n);if(i&&n.lastChild.name=="CloseTag")break;i&&t.indexOf(i)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&t.push(i)}return t}const hA=/^[:\-\.\w\u00b7-\uffff]*$/;function QO(r,e,t,n,i){let a=/\s*>/.test(r.sliceDoc(i,i+5))?"":">",s=Ts(t,!0);return{from:n,to:i,options:fA(r.doc,s,e).map(o=>({label:o,type:"type"})).concat(Gg(r.doc,t).map((o,l)=>({label:"/"+o,apply:"/"+o+a,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function qO(r,e,t,n){let i=/\s*>/.test(r.sliceDoc(n,n+5))?"":">";return{from:t,to:n,options:Gg(r.doc,e).map((a,s)=>({label:a,apply:a+i,type:"type",boost:99-s})),validFor:hA}}function Rk(r,e,t,n){let i=[],a=0;for(let s of fA(r.doc,t,e))i.push({label:"<"+s,type:"type"});for(let s of Gg(r.doc,t))i.push({label:"",type:"type",boost:99-a++});return{from:n,to:n,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Nk(r,e,t,n,i){let a=Ts(t),s=a?e.tags[vs(r.doc,a)]:null,o=s&&s.attrs?Object.keys(s.attrs):[],l=s&&s.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:i,options:l.map(c=>({label:c,type:"property"})),validFor:hA}}function wk(r,e,t,n,i){var a;let s=(a=t.parent)===null||a===void 0?void 0:a.getChild("AttributeName"),o=[],l;if(s){let c=r.sliceDoc(s.from,s.to),u=e.globalAttrs[c];if(!u){let p=Ts(t),m=p?e.tags[vs(r.doc,p)]:null;u=(m==null?void 0:m.attrs)&&m.attrs[c]}if(u){let p=r.sliceDoc(n,i).toLowerCase(),m='"',_='"';/^['"]/.test(p)?(l=p[0]=='"'?/^[^"]*$/:/^[^']*$/,m="",_=r.sliceDoc(i,i+1)==p[0]?"":p[0],p=p.slice(1),n++):l=/^[^\s<>='"]*$/;for(let v of u)o.push({label:v,apply:m+v+_,type:"constant"})}}return{from:n,to:i,options:o,validFor:l}}function mA(r,e){let{state:t,pos:n}=e,i=Gt(t).resolveInner(n,-1),a=i.resolve(n);for(let s=n,o;a==i&&(o=i.childBefore(s));){let l=o.lastChild;if(!l||!l.type.isError||l.frommA(n,i)}const gA=[{tag:"script",attrs:r=>r.type=="text/typescript"||r.lang=="ts",parser:Iy.parser},{tag:"script",attrs:r=>r.type=="text/babel"||r.type=="text/jsx",parser:Ry.parser},{tag:"script",attrs:r=>r.type=="text/typescript-jsx",parser:Ny.parser},{tag:"script",attrs(r){return!r.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(r.type)},parser:bi.parser},{tag:"style",attrs(r){return(!r.lang||r.lang=="css")&&(!r.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(r.type))},parser:Rc.parser}],_A=[{name:"style",parser:Rc.parser.configure({top:"Styles"})}].concat(pA.map(r=>({name:r,parser:bi.parser}))),SA=_s.define({name:"html",parser:ek.configure({props:[ol.add({Element(r){let e=/^(\s*)(<\/)?/.exec(r.textAfter);return r.node.to<=r.pos+e[0].length?r.continue():r.lineIndent(r.node.from)+(e[2]?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit},Document(r){if(r.pos+/\s*/.exec(r.textAfter)[0].lengthr.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),tc=SA.configure({wrap:oA(gA,_A)});function kk(r={}){let e="",t;r.matchClosingTags===!1&&(e="noMatch"),r.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(r.nestedLanguages&&r.nestedLanguages.length||r.nestedAttributes&&r.nestedAttributes.length)&&(t=oA((r.nestedLanguages||[]).concat(gA),(r.nestedAttributes||[]).concat(_A)));let n=t?SA.configure({wrap:t,dialect:e}):e?tc.configure({dialect:e}):tc;return new Yo(n,[tc.data.of({autocomplete:xk(r)}),r.autoCloseTags!==!1?Lk:[],Pg().support,Ak().support])}const VO=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Lk=Me.inputHandler.of((r,e,t,n)=>{if(r.composing||r.state.readOnly||e!=t||n!=">"&&n!="/"||!tc.isActiveAt(r.state,e,-1))return!1;let{state:i}=r,a=i.changeByRange(s=>{var o,l,c;let{head:u}=s,p=Gt(i).resolveInner(u,-1),m;if((p.name=="TagName"||p.name=="StartTag")&&(p=p.parent),n==">"&&p.name=="OpenTag"){if(((l=(o=p.parent)===null||o===void 0?void 0:o.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag"&&(m=vs(i.doc,p.parent,u))&&!VO.has(m)){let _=r.state.doc.sliceString(u,u+1)===">",v=`${_?"":">"}`;return{range:me.cursor(u+1),changes:{from:u+(_?1:0),insert:v}}}}else if(n=="/"&&p.name=="OpenTag"){let _=p.parent,v=_==null?void 0:_.parent;if(_.from==u-1&&((c=v.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=vs(i.doc,v,u))&&!VO.has(m)){let I=r.state.doc.sliceString(u,u+1)===">",R=`/${m}${I?"":">"}`,x=u+R.length+(I?1:0);return{range:me.cursor(x),changes:{from:u,insert:R}}}}return{range:s}});return a.changes.empty?!1:(r.dispatch(a,{userEvent:"input.type",scrollIntoView:!0}),!0)}),OA=Cg({commentTokens:{block:{open:""}}}),bA=new et,EA=ix.configure({props:[ll.add(r=>!r.is("Block")||r.is("Document")||Mm(r)!=null?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),bA.add(Mm),ol.add({Document:()=>null}),ga.add({Document:OA})]});function Mm(r){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(r.name);return e?+e[1]:void 0}function Mk(r,e){let t=r;for(;;){let n=t.nextSibling,i;if(!n||(i=Mm(n.type))!=null&&i<=e)break;t=n}return t.to}const Pk=JC.of((r,e,t)=>{for(let n=Gt(r).resolveInner(t,-1);n&&!(n.fromt)return{from:t,to:a}}return null});function Qg(r){return new sr(OA,r,[Pk],"markdown")}const Bk=Qg(EA),Uk=EA.configure([hx,gx,mx,_x]),vA=Qg(Uk);function Fk(r,e){return t=>{if(t&&r){let n=null;if(t=/\S*/.exec(t)[0],typeof r=="function"?n=r(t):n=Ec.matchLanguageName(r,t,!0),n instanceof Ec)return n.support?n.support.language.parser:Fo.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class Pl{constructor(e,t,n,i,a,s,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=i,this.spaceAfter=a,this.type=s,this.item=o}blank(e,t=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;i--)n+=" ";return n+(t?this.spaceAfter:"")}}marker(e,t){let n=this.node.name=="OrderedList"?String(+CA(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function TA(r,e){let t=[];for(let i=r;i&&i.name!="Document";i=i.parent)(i.name=="ListItem"||i.name=="Blockquote"||i.name=="FencedCode")&&t.push(i);let n=[];for(let i=t.length-1;i>=0;i--){let a=t[i],s,o=e.lineAt(a.from),l=a.from-o.from;if(a.name=="FencedCode")n.push(new Pl(a,l,l,"","","",null));else if(a.name=="Blockquote"&&(s=/^[ \t]*>( ?)/.exec(o.text.slice(l))))n.push(new Pl(a,l,l+s[0].length,"",s[1],">",null));else if(a.name=="ListItem"&&a.parent.name=="OrderedList"&&(s=/^([ \t]*)\d+([.)])([ \t]*)/.exec(o.text.slice(l)))){let c=s[3],u=s[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),n.push(new Pl(a.parent,l,l+u,s[1],c,s[2],a))}else if(a.name=="ListItem"&&a.parent.name=="BulletList"&&(s=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(o.text.slice(l)))){let c=s[4],u=s[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let p=s[2];s[3]&&(p+=s[3].replace(/[xX]/," ")),n.push(new Pl(a.parent,l,l+u,s[1],c,p,a))}}return n}function CA(r,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(r.from,r.from+10))}function Vu(r,e,t,n=0){for(let i=-1,a=r;;){if(a.name=="ListItem"){let o=CA(a,e),l=+o[2];if(i>=0){if(l!=i+1)return;t.push({from:a.from+o[1].length,to:a.from+o[0].length,insert:String(i+2+n)})}i=l}let s=a.nextSibling;if(!s)break;a=s}}const Yk=({state:r,dispatch:e})=>{let t=Gt(r),{doc:n}=r,i=null,a=r.changeByRange(s=>{if(!s.empty||!vA.isActiveAt(r,s.from))return i={range:s};let o=s.from,l=n.lineAt(o),c=TA(t.resolveInner(o,-1),n);for(;c.length&&c[c.length-1].from>o-l.from;)c.pop();if(!c.length)return i={range:s};let u=c[c.length-1];if(u.to-u.spaceAfter.length>o-l.from)return i={range:s};let p=o>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&p)if(u.node.firstChild.to>=o||l.from>0&&!/[^\s>]/.test(n.lineAt(l.from-1).text)){let R=c.length>1?c[c.length-2]:null,x,$="";R&&R.item?(x=l.from+R.from,$=R.marker(n,1)):x=l.from+(R?R.to:0);let Z=[{from:x,to:o,insert:$}];return u.node.name=="OrderedList"&&Vu(u.item,n,Z,-2),R&&R.node.name=="OrderedList"&&Vu(R.item,n,Z),{range:me.cursor(x+$.length),changes:Z}}else{let R="";for(let x=0,$=c.length-2;x<=$;x++)R+=c[x].blank(x<$?c[x+1].from-R.length:null,x<$);return R+=r.lineBreak,{range:me.cursor(o+R.length),changes:{from:l.from,insert:R}}}if(u.node.name=="Blockquote"&&p&&l.from){let R=n.lineAt(l.from-1),x=/>\s*$/.exec(R.text);if(x&&x.index==u.from){let $=r.changes([{from:R.from+x.index,to:R.to},{from:l.from+u.from,to:l.to}]);return{range:s.map($),changes:$}}}let m=[];u.node.name=="OrderedList"&&Vu(u.item,n,m);let _=u.item&&u.item.from]*/.exec(l.text)[0].length>=u.to)for(let R=0,x=c.length-1;R<=x;R++)v+=R==x&&!_?c[R].marker(n,1):c[R].blank(Rl.from&&/\s/.test(l.text.charAt(I-l.from-1));)I--;return v=r.lineBreak+v,m.push({from:I,to:o,insert:v}),{range:me.cursor(I+v.length),changes:m}});return i?!1:(e(r.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)};function zO(r){return r.name=="QuoteMark"||r.name=="ListMark"}function $k(r,e){let t=r.resolveInner(e,-1),n=e;zO(t)&&(n=t.from,t=t.parent);for(let i;i=t.childBefore(n);)if(zO(i))n=i.from;else if(i.name=="OrderedList"||i.name=="BulletList")t=i.lastChild,n=t.to;else break;return t}const Gk=({state:r,dispatch:e})=>{let t=Gt(r),n=null,i=r.changeByRange(a=>{let s=a.from,{doc:o}=r;if(a.empty&&vA.isActiveAt(r,a.from)){let l=o.lineAt(s),c=TA($k(t,s),o);if(c.length){let u=c[c.length-1],p=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(s-l.from>p&&!/\S/.test(l.text.slice(p,s-l.from)))return{range:me.cursor(l.from+p),changes:{from:l.from+p,to:s}};if(s-l.from==p&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let m=l.from+u.from;if(u.item&&u.node.from>1|(Pt&21845)<<1;Li=(Li&52428)>>2|(Li&13107)<<2,Li=(Li&61680)>>4|(Li&3855)<<4,Fm[Pt]=((Li&65280)>>8|(Li&255)<<8)>>1}var ei=function(r,e,t){for(var n=r.length,i=0,a=new or(e);i>l]=c}else for(o=new or(n),i=0;i>15-r[i]);return o},Ji=new bn(288);for(var Pt=0;Pt<144;++Pt)Ji[Pt]=8;for(var Pt=144;Pt<256;++Pt)Ji[Pt]=9;for(var Pt=256;Pt<280;++Pt)Ji[Pt]=7;for(var Pt=280;Pt<288;++Pt)Ji[Pt]=8;var Wo=new bn(32);for(var Pt=0;Pt<32;++Pt)Wo[Pt]=5;var Zk=ei(Ji,9,0),Kk=ei(Ji,9,1),jk=ei(Wo,5,0),Jk=ei(Wo,5,1),Hu=function(r){for(var e=r[0],t=1;te&&(e=r[t]);return e},Ir=function(r,e,t){var n=e/8|0;return(r[n]|r[n+1]<<8)>>(e&7)&t},Wu=function(r,e){var t=e/8|0;return(r[t]|r[t+1]<<8|r[t+2]<<16)>>(e&7)},Vg=function(r){return(r+7)/8|0},zg=function(r,e,t){(e==null||e<0)&&(e=0),(t==null||t>r.length)&&(t=r.length);var n=new bn(t-e);return n.set(r.subarray(e,t)),n},eL=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Gn=function(r,e,t){var n=new Error(e||eL[r]);if(n.code=r,Error.captureStackTrace&&Error.captureStackTrace(n,Gn),!t)throw n;return n},Hg=function(r,e,t,n){var i=r.length,a=n?n.length:0;if(!i||e.f&&!e.l)return t||new bn(0);var s=!t||e.i!=2,o=e.i;t||(t=new bn(i*3));var l=function(Be){var tt=t.length;if(Be>tt){var rt=new bn(Math.max(tt*2,Be));rt.set(t),t=rt}},c=e.f||0,u=e.p||0,p=e.b||0,m=e.l,_=e.d,v=e.m,I=e.n,R=i*8;do{if(!m){c=Ir(r,u,1);var x=Ir(r,u+1,3);if(u+=3,x)if(x==1)m=Kk,_=Jk,v=9,I=5;else if(x==2){var b=Ir(r,u,31)+257,S=Ir(r,u+10,15)+4,N=b+Ir(r,u+5,31)+1;u+=14;for(var k=new bn(N),L=new bn(19),M=0;M>4;if($<16)k[M++]=$;else{var ee=0,B=0;for($==16?(B=3+Ir(r,u,3),u+=2,ee=k[M-1]):$==17?(B=3+Ir(r,u,7),u+=3):$==18&&(B=11+Ir(r,u,127),u+=7);B--;)k[M++]=ee}}var Q=k.subarray(0,b),j=k.subarray(b);v=Hu(Q),I=Hu(j),m=ei(Q,v,1),_=ei(j,I,1)}else Gn(1);else{var $=Vg(u)+4,Z=r[$-4]|r[$-3]<<8,h=$+Z;if(h>i){o&&Gn(0);break}s&&l(p+Z),t.set(r.subarray($,h),p),e.b=p+=Z,e.p=u=h*8,e.f=c;continue}if(u>R){o&&Gn(0);break}}s&&l(p+131072);for(var K=(1<>4;if(u+=ee&15,u>R){o&&Gn(0);break}if(ee||Gn(2),be<256)t[p++]=be;else if(be==256){le=u,m=null;break}else{var De=be-254;if(be>264){var M=be-257,xe=Jc[M];De=Ir(r,u,(1<>4;Ee||Gn(3),u+=Ee&15;var j=Xk[Ne];if(Ne>3){var xe=eu[Ne];j+=Wu(r,u)&(1<R){o&&Gn(0);break}s&&l(p+131072);var ce=p+De;if(p>8},so=function(r,e,t){t<<=e&7;var n=e/8|0;r[n]|=t,r[n+1]|=t>>8,r[n+2]|=t>>16},Xu=function(r,e){for(var t=[],n=0;nm&&(m=a[n].s);var _=new or(m+1),v=Ym(t[u-1],_,0);if(v>e){var n=0,I=0,R=v-e,x=1<e)I+=x-(1<>=R;I>0;){var Z=a[n].s;_[Z]=0&&I;--n){var h=a[n].s;_[h]==e&&(--_[h],++I)}v=e}return{t:new bn(_),l:v}},Ym=function(r,e,t){return r.s==-1?Math.max(Ym(r.l,e,t+1),Ym(r.r,e,t+1)):e[r.s]=t},ZO=function(r){for(var e=r.length;e&&!r[--e];);for(var t=new or(++e),n=0,i=r[0],a=1,s=function(l){t[n++]=l},o=1;o<=e;++o)if(r[o]==i&&o!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=r[o]}return{c:t.subarray(0,n),n:e}},oo=function(r,e){for(var t=0,n=0;n>8,r[i+2]=r[i]^255,r[i+3]=r[i+1]^255;for(var a=0;a4&&!M[Bm[te-1]];--te);var re=c+5<<3,ne=oo(i,Ji)+oo(a,Wo)+s,ee=oo(i,m)+oo(a,I)+s+14+3*te+oo(N,M)+2*N[16]+3*N[17]+7*N[18];if(l>=0&&re<=ne&&re<=ee)return NA(e,u,r.subarray(l,l+c));var B,Q,j,K;if(fi(e,u,1+(ee15&&(fi(e,u,De[k]>>5&127),u+=De[k]>>12)}}else B=Zk,Q=Ji,j=jk,K=Wo;for(var k=0;k255){var xe=Ee>>18&31;so(e,u,B[xe+257]),u+=Q[xe+257],xe>7&&(fi(e,u,Ee>>23&31),u+=Jc[xe]);var Ne=Ee&31;so(e,u,j[Ne]),u+=K[Ne],Ne>3&&(so(e,u,Ee>>5&8191),u+=eu[Ne])}else so(e,u,B[Ee]),u+=Q[Ee]}return so(e,u,B[256]),u+Q[256]},tL=new qg([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),wA=new bn(0),nL=function(r,e,t,n,i,a){var s=a.z||r.length,o=new bn(n+s+5*(1+Math.ceil(s/7e3))+i),l=o.subarray(n,o.length-i),c=a.l,u=(a.r||0)&7;if(e){u&&(l[0]=a.r>>3);for(var p=tL[e-1],m=p>>13,_=p&8191,v=(1<7e3||M>24576)&&(B>423||!c)){u=KO(r,l,0,h,b,S,k,M,te,L-te,u),M=N=k=0,te=L;for(var Q=0;Q<286;++Q)b[Q]=0;for(var Q=0;Q<30;++Q)S[Q]=0}var j=2,K=0,ue=_,le=ne-ee&32767;if(B>2&&re==Z(L-le))for(var be=Math.min(m,B)-1,De=Math.min(32767,L),xe=Math.min(258,B);le<=De&&--ue&&ne!=ee;){if(r[L+j]==r[L+j-le]){for(var Ee=0;Eej){if(j=Ee,K=le,Ee>be)break;for(var Ne=Math.min(le,Ee-2),ce=0,Q=0;Qce&&(ce=Be,ee=Le)}}}ne=ee,ee=I[ne],le+=ne-ee&32767}if(K){h[M++]=268435456|Um[j]<<18|XO[K];var tt=Um[j]&31,rt=XO[K]&31;k+=Jc[tt]+eu[rt],++b[257+tt],++S[rt],G=L+j,++N}else h[M++]=r[L],++b[r[L]]}}for(L=Math.max(L,G);L=s&&(l[u/8|0]=c,ht=s),u=NA(l,u+1,r.subarray(L,ht))}a.i=s}return zg(o,0,n+Vg(u)+i)},rL=function(){for(var r=new Int32Array(256),e=0;e<256;++e){for(var t=e,n=9;--n;)t=(t&1&&-306674912)^t>>>1;r[e]=t}return r}(),iL=function(){var r=-1;return{p:function(e){for(var t=r,n=0;n>>8;r=t},d:function(){return~r}}},aL=function(r,e,t,n,i){if(!i&&(i={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),s=new bn(a.length+r.length);s.set(a),s.set(r,a.length),r=s,i.w=a.length}return nL(r,e.level==null?6:e.level,e.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(r.length)))*1.5):12+e.mem,t,n,i)},$m=function(r,e,t){for(;t;++e)r[e]=t,t>>>=8},sL=function(r,e){var t=e.filename;if(r[0]=31,r[1]=139,r[2]=8,r[8]=e.level<2?4:e.level==9?2:0,r[9]=3,e.mtime!=0&&$m(r,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),t){r[3]=8;for(var n=0;n<=t.length;++n)r[n+10]=t.charCodeAt(n)}},oL=function(r){(r[0]!=31||r[1]!=139||r[2]!=8)&&Gn(6,"invalid gzip data");var e=r[3],t=10;e&4&&(t+=(r[10]|r[11]<<8)+2);for(var n=(e>>3&1)+(e>>4&1);n>0;n-=!r[t++]);return t+(e&2)},lL=function(r){var e=r.length;return(r[e-4]|r[e-3]<<8|r[e-2]<<16|r[e-1]<<24)>>>0},cL=function(r){return 10+(r.filename?r.filename.length+1:0)},uL=function(r,e){return((r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31)&&Gn(6,"invalid zlib data"),(r[1]>>5&1)==+!e&&Gn(6,"invalid zlib data: "+(r[1]&32?"need":"unexpected")+" dictionary"),(r[1]>>3&4)+2};function dL(r,e){return Hg(r,{i:2},e&&e.out,e&&e.dictionary)}function pL(r,e){e||(e={});var t=iL(),n=r.length;t.p(r);var i=aL(r,e,cL(e),8),a=i.length;return sL(i,e),$m(i,a-8,t.d()),$m(i,a-4,n),i}function fL(r,e){var t=oL(r);return t+8>r.length&&Gn(6,"invalid gzip data"),Hg(r.subarray(t,-8),{i:2},e&&e.out||new bn(lL(r)),e&&e.dictionary)}function hL(r,e){return Hg(r.subarray(uL(r,e&&e.dictionary),-4),{i:2},e&&e.out,e&&e.dictionary)}function mL(r,e){return r[0]==31&&r[1]==139&&r[2]==8?fL(r,e):(r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31?dL(r,e):hL(r,e)}var Gm=typeof TextDecoder<"u"&&new TextDecoder,gL=0;try{Gm.decode(wA,{stream:!0}),gL=1}catch{}var _L=function(r){for(var e="",t=0;;){var n=r[t++],i=(n>127)+(n>223)+(n>239);if(t+i>r.length)return{s:e,r:zg(r,t-1)};i?i==3?(n=((n&15)<<18|(r[t++]&63)<<12|(r[t++]&63)<<6|r[t++]&63)-65536,e+=String.fromCharCode(55296|n>>10,56320|n&1023)):i&1?e+=String.fromCharCode((n&31)<<6|r[t++]&63):e+=String.fromCharCode((n&15)<<12|(r[t++]&63)<<6|r[t++]&63):e+=String.fromCharCode(n)}};function SL(r,e){if(e){for(var t="",n=0;n=i)return this.fragment.from<=t;if(!n.childAfter(i))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(et.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),a=e.absoluteLineStart,s=a,o=e.block.children.length,l=s,c=o;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}let u=Wy(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,u);else{let p=new Et(e.parser.nodeSet.types[Te.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(p,t.tree),e.addNode(p,u)}if(t.type.is("Block")&&(tx.indexOf(t.type.id)<0?(s=t.to-n,o=e.block.children.length):(s=l,o=c,l=t.to-n,c=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-a}}function Wy(r,e){let t=r;for(let n=1;nLl[r]),Object.keys(Ll).map(r=>XD[r]),Object.keys(Ll),ZD,wy,Object.keys(Bu).map(r=>Bu[r]),Object.keys(Bu),[]);function ax(r,e,t){let n=[];for(let i=r.firstChild,a=e;;i=i.nextSibling){let s=i?i.from:t;if(s>a&&n.push({from:a,to:s}),!i)break;a=i.to}return n}function sx(r){let{codeParser:e,htmlParser:t}=r;return{wrap:vT((i,a)=>{let s=i.type.id;if(e&&(s==Te.CodeBlock||s==Te.FencedCode)){let o="";if(s==Te.FencedCode){let c=i.node.getChild(Te.CodeInfo);c&&(o=a.read(c.from,c.to))}let l=e(o);if(l)return{parser:l,overlay:c=>c.type.id==Te.CodeText}}else if(t&&(s==Te.HTMLBlock||s==Te.HTMLTag))return{parser:t,overlay:ax(i.node,i.from,i.to)};return null})}}const ox={resolve:"Strikethrough",mark:"StrikethroughMark"},lx={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":Y.strikethrough}},{name:"StrikethroughMark",style:Y.processingInstruction}],parseInline:[{name:"Strikethrough",parse(r,e,t){if(e!=126||r.char(t+1)!=126||r.char(t+2)==126)return-1;let n=r.slice(t-1,t),i=r.slice(t+2,t+3),a=/\s|^$/.test(n),s=/\s|^$/.test(i),o=zo.test(n),l=zo.test(i);return r.addDelimiter(ox,t,t+2,!s&&(!l||a||o),!a&&(!o||s||l))},after:"Emphasis"}]};function yo(r,e,t=0,n,i=0){let a=0,s=!0,o=-1,l=-1,c=!1,u=()=>{n.push(r.elt("TableCell",i+o,i+l,r.parser.parseInline(e.slice(o,l),i+o)))};for(let p=t;p-1)&&a++,s=!1,n&&(o>-1&&u(),n.push(r.elt("TableDelimiter",p+i,p+i+1))),o=l=-1):(c||m!=32&&m!=9)&&(o<0&&(o=p),l=p+1),c=!c&&m==92}return o>-1&&(a++,n&&u()),a}function vO(r,e){for(let t=e;ti instanceof TO)||!vO(e.text,e.basePos))return!1;let n=r.scanLine(r.absoluteLineEnd+1).text;return Xy.test(n)&&yo(r,e.text,e.basePos)==yo(r,n,e.basePos)},before:"SetextHeading"}]};class ux{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const dx={defineNodes:[{name:"Task",block:!0,style:Y.list},{name:"TaskMarker",style:Y.atom}],parseBlock:[{name:"TaskList",leaf(r,e){return/^\[[ xX]\][ \t]/.test(e.content)&&r.parentType().name=="ListItem"?new ux:null},after:"SetextHeading"}]},CO=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,yO=/[\w-]+(\.\w+(\.\w+)?)(\/[^\s<]*)?/gy,AO=/[\w.+-]+@[\w-]+\.[\w.-]+/gy,IO=/\/[a-zA-Z\d@.]+/gy;function RO(r,e,t,n){let i=0;for(let a=e;aRO(r,e,n,"("))n--;else if(i==";"&&(a=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(r.slice(e,n))))n=e+a.index;else break}return n}function NO(r,e){AO.lastIndex=e;let t=AO.exec(r);if(!t)return-1;let n=t[0][t[0].length-1];return n=="_"||n=="-"?-1:e+t[0].length-(n=="."?1:0)}const fx={parseInline:[{name:"Autolink",parse(r,e,t){let n=t-r.offset;CO.lastIndex=n;let i=CO.exec(r.text),a=-1;return!i||(i[1]||i[2]?a=px(r.text,n+i[0].length):i[3]?a=NO(r.text,n):(a=NO(r.text,n+i[0].length),a>-1&&i[0]=="xmpp:"&&(IO.lastIndex=a,i=IO.exec(r.text),i&&(a=i.index+i[0].length))),a<0)?-1:(r.addElement(r.elt("URL",t,a+r.offset)),a+r.offset)}}]},hx=[cx,dx,lx,fx];function Zy(r,e,t){return(n,i,a)=>{if(i!=r||n.char(a+1)==r)return-1;let s=[n.elt(t,a,a+1)];for(let o=a+1;o=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function iA(r){return r==9||r==10||r==13||r==32}let kO=null,LO=null,MO=0;function Lm(r,e){let t=r.pos+e;if(MO==t&&LO==r)return kO;let n=r.peek(e);for(;iA(n);)n=r.peek(++e);let i="";for(;Yx(n);)i+=String.fromCharCode(n),n=r.peek(++e);return LO=r,MO=t,kO=i?i.toLowerCase():n==$x||n==Gx?void 0:null}const aA=60,Ac=62,Yg=47,$x=63,Gx=33,Qx=45;function PO(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new PO(Lm(n,1)||"",r):r},reduce(r,e){return e==tA&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==yc||i==Lx?new PO(Lm(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),zx=new ai((r,e)=>{if(r.next!=aA){r.next<0&&e.context&&r.acceptToken(Uu);return}r.advance();let t=r.next==Yg;t&&r.advance();let n=Lm(r,0);if(n===void 0)return;if(!n)return r.acceptToken(t?Rx:yc);let i=e.context?e.context.name:null;if(t){if(n==i)return r.acceptToken(yx);if(i&&Fx[i])return r.acceptToken(Uu,-2);if(e.dialectEnabled(Px))return r.acceptToken(Ax);for(let a=e.context;a;a=a.parent)if(a.name==n)return;r.acceptToken(Ix)}else{if(n=="script")return r.acceptToken(Ky);if(n=="style")return r.acceptToken(jy);if(n=="textarea")return r.acceptToken(Jy);if(Ux.hasOwnProperty(n))return r.acceptToken(eA);i&&xO[i]&&xO[i][n]?r.acceptToken(Uu,-1):r.acceptToken(yc)}},{contextual:!0}),Hx=new ai(r=>{for(let e=0,t=0;;t++){if(r.next<0){t&&r.acceptToken(DO);break}if(r.next==Qx)e++;else if(r.next==Ac&&e>=2){t>3&&r.acceptToken(DO,-2);break}else e=0;r.advance()}});function Wx(r){for(;r;r=r.parent)if(r.name=="svg"||r.name=="math")return!0;return!1}const Xx=new ai((r,e)=>{if(r.next==Yg&&r.peek(1)==Ac){let t=e.dialectEnabled(Bx)||Wx(e.context);r.acceptToken(t?Cx:wO,2)}else r.next==Ac&&r.acceptToken(wO,1)});function $g(r,e,t){let n=2+r.length;return new ai(i=>{for(let a=0,s=0,o=0;;o++){if(i.next<0){o&&i.acceptToken(e);break}if(a==0&&i.next==aA||a==1&&i.next==Yg||a>=2&&as?i.acceptToken(e,-s):i.acceptToken(t,-(s-2));break}else if((i.next==10||i.next==13)&&o){i.acceptToken(e,1);break}else a=s=0;i.advance()}})}const Zx=$g("script",Sx,Ox),Kx=$g("style",bx,Ex),jx=$g("textarea",vx,Tx),Jx=Is({"Text RawText":Y.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Y.angleBracket,TagName:Y.tagName,"MismatchedCloseTag/TagName":[Y.tagName,Y.invalid],AttributeName:Y.attributeName,"AttributeValue UnquotedAttributeValue":Y.attributeValue,Is:Y.definitionOperator,"EntityReference CharacterReference":Y.character,Comment:Y.blockComment,ProcessingInst:Y.processingInstruction,DoctypeDecl:Y.documentMeta}),ek=ms.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#D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#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Vx,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[Jx],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^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a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let c=o.type.id;if(c==Dx)return Fu(o,l,t);if(c==xx)return Fu(o,l,n);if(c==kx)return Fu(o,l,i);if(c==tA&&a.length){let u=o.node,p=u.firstChild,m=p&&BO(p,l),_;if(m){for(let v of a)if(v.tag==m&&(!v.attrs||v.attrs(_||(_=sA(u,l))))){let I=u.lastChild;return{parser:v.parser,overlay:[{from:p.to,to:I.type.id==Mx?I.from:u.to}]}}}}if(s&&c==nA){let u=o.node,p;if(p=u.firstChild){let m=s[l.read(p.from,p.to)];if(m)for(let _ of m){if(_.tagName&&_.tagName!=BO(u.parent,l))continue;let v=u.lastChild;if(v.type.id==km){let I=v.from+1,R=v.lastChild,x=v.to-(R&&R.isError?0:1);if(x>I)return{parser:_.parser,overlay:[{from:I,to:x}]}}else if(v.type.id==rA)return{parser:_.parser,overlay:[{from:v.from,to:v.to}]}}}}return null})}const tk=96,UO=1,nk=97,rk=98,FO=2,lA=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],ik=58,ak=40,cA=95,sk=91,ec=45,ok=46,lk=35,ck=37;function Ic(r){return r>=65&&r<=90||r>=97&&r<=122||r>=161}function uk(r){return r>=48&&r<=57}const dk=new ai((r,e)=>{for(let t=!1,n=0,i=0;;i++){let{next:a}=r;if(Ic(a)||a==ec||a==cA||t&&uk(a))!t&&(a!=ec||i>0)&&(t=!0),n===i&&a==ec&&n++,r.advance();else{t&&r.acceptToken(a==ak?nk:n==2&&e.canShift(FO)?FO:rk);break}}}),pk=new ai(r=>{if(lA.includes(r.peek(-1))){let{next:e}=r;(Ic(e)||e==cA||e==lk||e==ok||e==sk||e==ik||e==ec)&&r.acceptToken(tk)}}),fk=new ai(r=>{if(!lA.includes(r.peek(-1))){let{next:e}=r;if(e==ck&&(r.advance(),r.acceptToken(UO)),Ic(e)){do r.advance();while(Ic(r.next));r.acceptToken(UO)}}}),hk=Is({"AtKeyword import charset namespace keyframes media supports":Y.definitionKeyword,"from to selector":Y.keyword,NamespaceName:Y.namespace,KeyframeName:Y.labelName,KeyframeRangeName:Y.operatorKeyword,TagName:Y.tagName,ClassName:Y.className,PseudoClassName:Y.constant(Y.className),IdName:Y.labelName,"FeatureName PropertyName":Y.propertyName,AttributeName:Y.attributeName,NumberLiteral:Y.number,KeywordQuery:Y.keyword,UnaryQueryOp:Y.operatorKeyword,"CallTag ValueName":Y.atom,VariableName:Y.variableName,Callee:Y.operatorKeyword,Unit:Y.unit,"UniversalSelector NestingSelector":Y.definitionOperator,MatchOp:Y.compareOperator,"ChildOp SiblingOp, LogicOp":Y.logicOperator,BinOp:Y.arithmeticOperator,Important:Y.modifier,Comment:Y.blockComment,ColorLiteral:Y.color,"ParenthesizedContent StringLiteral":Y.string,":":Y.punctuation,"PseudoOp #":Y.derefOperator,"; ,":Y.separator,"( )":Y.paren,"[ ]":Y.squareBracket,"{ }":Y.brace}),mk={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},gk={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},_k={__proto__:null,not:128,only:128},Sk=ms.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#E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![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[pk,fk,dk,1,2,3,4,new cc("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:r=>mk[r]||-1},{term:56,get:r=>gk[r]||-1},{term:98,get:r=>_k[r]||-1}],tokenPrec:1169});let Yu=null;function $u(){if(!Yu&&typeof document=="object"&&document.body){let{style:r}=document.body,e=[],t=new Set;for(let n in r)n!="cssText"&&n!="cssFloat"&&typeof r[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));Yu=e.sort().map(n=>({type:"property",label:n}))}return Yu||[]}const YO=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(r=>({type:"class",label:r})),$O=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(r=>({type:"keyword",label:r})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(r=>({type:"constant",label:r}))),Ok=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(r=>({type:"type",label:r})),ki=/^(\w[\w-]*|-\w[\w-]*|)$/,bk=/^-(-[\w-]*)?$/;function Ek(r,e){var t;if((r.name=="("||r.type.isError)&&(r=r.parent||r),r.name!="ArgList")return!1;let n=(t=r.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const GO=new ET,vk=["Declaration"];function Tk(r){for(let e=r;;){if(e.type.isTop)return e;if(!(e=e.parent))return r}}function uA(r,e,t){if(e.to-e.from>4096){let n=GO.get(e);if(n)return n;let i=[],a=new Set,s=e.cursor(xt.IncludeAnonymous);if(s.firstChild())do for(let o of uA(r,s.node,t))a.has(o.label)||(a.add(o.label),i.push(o));while(s.nextSibling());return GO.set(e,i),i}else{let n=[],i=new Set;return e.cursor().iterate(a=>{var s;if(t(a)&&a.matchContext(vk)&&((s=a.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let o=r.sliceString(a.from,a.to);i.has(o)||(i.add(o),n.push({label:o,type:"variable"}))}}),n}}const Ck=r=>e=>{let{state:t,pos:n}=e,i=Gt(t).resolveInner(n,-1),a=i.type.isError&&i.from==i.to-1&&t.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(a||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:$u(),validFor:ki};if(i.name=="ValueName")return{from:i.from,options:$O,validFor:ki};if(i.name=="PseudoClassName")return{from:i.from,options:YO,validFor:ki};if(r(i)||(e.explicit||a)&&Ek(i,t.doc))return{from:r(i)||a?i.from:n,options:uA(t.doc,Tk(i),r),validFor:bk};if(i.name=="TagName"){for(let{parent:l}=i;l;l=l.parent)if(l.name=="Block")return{from:i.from,options:$u(),validFor:ki};return{from:i.from,options:Ok,validFor:ki}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&o.name==":"&&s.name=="PseudoClassSelector"?{from:n,options:YO,validFor:ki}:o&&o.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:n,options:$O,validFor:ki}:s.name=="Block"||s.name=="Styles"?{from:n,options:$u(),validFor:ki}:null},yk=Ck(r=>r.name=="VariableName"),Rc=_s.define({name:"css",parser:Sk.configure({props:[ol.add({Declaration:Jl()}),ll.add({"Block KeyframeList":ey})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Ak(){return new Yo(Rc,Rc.data.of({autocomplete:yk}))}const ao=["_blank","_self","_top","_parent"],Gu=["ascii","utf-8","utf-16","latin1","latin1"],Qu=["get","post","put","delete"],qu=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Jn=["true","false"],Ge={},Ik={a:{attrs:{href:null,ping:null,type:null,media:null,target:ao,hreflang:null}},abbr:Ge,address:Ge,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Ge,aside:Ge,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Ge,base:{attrs:{href:null,target:ao}},bdi:Ge,bdo:Ge,blockquote:{attrs:{cite:null}},body:Ge,br:Ge,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:qu,formmethod:Qu,formnovalidate:["novalidate"],formtarget:ao,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Ge,center:Ge,cite:Ge,code:Ge,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Ge,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Ge,div:Ge,dl:Ge,dt:Ge,em:Ge,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Ge,figure:Ge,footer:Ge,form:{attrs:{action:null,name:null,"accept-charset":Gu,autocomplete:["on","off"],enctype:qu,method:Qu,novalidate:["novalidate"],target:ao}},h1:Ge,h2:Ge,h3:Ge,h4:Ge,h5:Ge,h6:Ge,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Ge,hgroup:Ge,hr:Ge,html:{attrs:{manifest:null}},i:Ge,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:qu,formmethod:Qu,formnovalidate:["novalidate"],formtarget:ao,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Ge,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Ge,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Ge,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Gu,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Ge,noscript:Ge,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Ge,param:{attrs:{name:null,value:null}},pre:Ge,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Ge,rt:Ge,ruby:Ge,samp:Ge,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Gu}},section:Ge,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Ge,source:{attrs:{src:null,type:null,media:null}},span:Ge,strong:Ge,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Ge,summary:Ge,sup:Ge,table:Ge,tbody:Ge,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Ge,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Ge,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Ge,time:{attrs:{datetime:null}},title:Ge,tr:Ge,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Ge,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Ge},dA={accesskey:null,class:null,contenteditable:Jn,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Jn,autocorrect:Jn,autocapitalize:Jn,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Jn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Jn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Jn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Jn,"aria-hidden":Jn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Jn,"aria-multiselectable":Jn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Jn,"aria-relevant":null,"aria-required":Jn,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},pA="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(r=>"on"+r);for(let r of pA)dA[r]=null;class Ho{constructor(e,t){this.tags=Object.assign(Object.assign({},Ik),e),this.globalAttrs=Object.assign(Object.assign({},dA),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Ho.default=new Ho;function vs(r,e,t=r.length){if(!e)return"";let n=e.firstChild,i=n&&n.getChild("TagName");return i?r.sliceString(i.from,Math.min(i.to,t)):""}function Ts(r,e=!1){for(;r;r=r.parent)if(r.name=="Element")if(e)e=!1;else return r;return null}function fA(r,e,t){let n=t.tags[vs(r,Ts(e))];return(n==null?void 0:n.children)||t.allTags}function Gg(r,e){let t=[];for(let n=Ts(e);n&&!n.type.isTop;n=Ts(n.parent)){let i=vs(r,n);if(i&&n.lastChild.name=="CloseTag")break;i&&t.indexOf(i)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&t.push(i)}return t}const hA=/^[:\-\.\w\u00b7-\uffff]*$/;function QO(r,e,t,n,i){let a=/\s*>/.test(r.sliceDoc(i,i+5))?"":">",s=Ts(t,!0);return{from:n,to:i,options:fA(r.doc,s,e).map(o=>({label:o,type:"type"})).concat(Gg(r.doc,t).map((o,l)=>({label:"/"+o,apply:"/"+o+a,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function qO(r,e,t,n){let i=/\s*>/.test(r.sliceDoc(n,n+5))?"":">";return{from:t,to:n,options:Gg(r.doc,e).map((a,s)=>({label:a,apply:a+i,type:"type",boost:99-s})),validFor:hA}}function Rk(r,e,t,n){let i=[],a=0;for(let s of fA(r.doc,t,e))i.push({label:"<"+s,type:"type"});for(let s of Gg(r.doc,t))i.push({label:"",type:"type",boost:99-a++});return{from:n,to:n,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Nk(r,e,t,n,i){let a=Ts(t),s=a?e.tags[vs(r.doc,a)]:null,o=s&&s.attrs?Object.keys(s.attrs):[],l=s&&s.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:i,options:l.map(c=>({label:c,type:"property"})),validFor:hA}}function wk(r,e,t,n,i){var a;let s=(a=t.parent)===null||a===void 0?void 0:a.getChild("AttributeName"),o=[],l;if(s){let c=r.sliceDoc(s.from,s.to),u=e.globalAttrs[c];if(!u){let p=Ts(t),m=p?e.tags[vs(r.doc,p)]:null;u=(m==null?void 0:m.attrs)&&m.attrs[c]}if(u){let p=r.sliceDoc(n,i).toLowerCase(),m='"',_='"';/^['"]/.test(p)?(l=p[0]=='"'?/^[^"]*$/:/^[^']*$/,m="",_=r.sliceDoc(i,i+1)==p[0]?"":p[0],p=p.slice(1),n++):l=/^[^\s<>='"]*$/;for(let v of u)o.push({label:v,apply:m+v+_,type:"constant"})}}return{from:n,to:i,options:o,validFor:l}}function mA(r,e){let{state:t,pos:n}=e,i=Gt(t).resolveInner(n,-1),a=i.resolve(n);for(let s=n,o;a==i&&(o=i.childBefore(s));){let l=o.lastChild;if(!l||!l.type.isError||l.frommA(n,i)}const gA=[{tag:"script",attrs:r=>r.type=="text/typescript"||r.lang=="ts",parser:Iy.parser},{tag:"script",attrs:r=>r.type=="text/babel"||r.type=="text/jsx",parser:Ry.parser},{tag:"script",attrs:r=>r.type=="text/typescript-jsx",parser:Ny.parser},{tag:"script",attrs(r){return!r.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(r.type)},parser:bi.parser},{tag:"style",attrs(r){return(!r.lang||r.lang=="css")&&(!r.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(r.type))},parser:Rc.parser}],_A=[{name:"style",parser:Rc.parser.configure({top:"Styles"})}].concat(pA.map(r=>({name:r,parser:bi.parser}))),SA=_s.define({name:"html",parser:ek.configure({props:[ol.add({Element(r){let e=/^(\s*)(<\/)?/.exec(r.textAfter);return r.node.to<=r.pos+e[0].length?r.continue():r.lineIndent(r.node.from)+(e[2]?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit},Document(r){if(r.pos+/\s*/.exec(r.textAfter)[0].lengthr.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),tc=SA.configure({wrap:oA(gA,_A)});function kk(r={}){let e="",t;r.matchClosingTags===!1&&(e="noMatch"),r.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(r.nestedLanguages&&r.nestedLanguages.length||r.nestedAttributes&&r.nestedAttributes.length)&&(t=oA((r.nestedLanguages||[]).concat(gA),(r.nestedAttributes||[]).concat(_A)));let n=t?SA.configure({wrap:t,dialect:e}):e?tc.configure({dialect:e}):tc;return new Yo(n,[tc.data.of({autocomplete:xk(r)}),r.autoCloseTags!==!1?Lk:[],Pg().support,Ak().support])}const VO=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Lk=Me.inputHandler.of((r,e,t,n)=>{if(r.composing||r.state.readOnly||e!=t||n!=">"&&n!="/"||!tc.isActiveAt(r.state,e,-1))return!1;let{state:i}=r,a=i.changeByRange(s=>{var o,l,c;let{head:u}=s,p=Gt(i).resolveInner(u,-1),m;if((p.name=="TagName"||p.name=="StartTag")&&(p=p.parent),n==">"&&p.name=="OpenTag"){if(((l=(o=p.parent)===null||o===void 0?void 0:o.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag"&&(m=vs(i.doc,p.parent,u))&&!VO.has(m)){let _=r.state.doc.sliceString(u,u+1)===">",v=`${_?"":">"}`;return{range:me.cursor(u+1),changes:{from:u+(_?1:0),insert:v}}}}else if(n=="/"&&p.name=="OpenTag"){let _=p.parent,v=_==null?void 0:_.parent;if(_.from==u-1&&((c=v.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=vs(i.doc,v,u))&&!VO.has(m)){let I=r.state.doc.sliceString(u,u+1)===">",R=`/${m}${I?"":">"}`,x=u+R.length+(I?1:0);return{range:me.cursor(x),changes:{from:u,insert:R}}}}return{range:s}});return a.changes.empty?!1:(r.dispatch(a,{userEvent:"input.type",scrollIntoView:!0}),!0)}),OA=Cg({commentTokens:{block:{open:""}}}),bA=new et,EA=ix.configure({props:[ll.add(r=>!r.is("Block")||r.is("Document")||Mm(r)!=null?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),bA.add(Mm),ol.add({Document:()=>null}),ga.add({Document:OA})]});function Mm(r){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(r.name);return e?+e[1]:void 0}function Mk(r,e){let t=r;for(;;){let n=t.nextSibling,i;if(!n||(i=Mm(n.type))!=null&&i<=e)break;t=n}return t.to}const Pk=JC.of((r,e,t)=>{for(let n=Gt(r).resolveInner(t,-1);n&&!(n.fromt)return{from:t,to:a}}return null});function Qg(r){return new sr(OA,r,[Pk],"markdown")}const Bk=Qg(EA),Uk=EA.configure([hx,gx,mx,_x]),vA=Qg(Uk);function Fk(r,e){return t=>{if(t&&r){let n=null;if(t=/\S*/.exec(t)[0],typeof r=="function"?n=r(t):n=Ec.matchLanguageName(r,t,!0),n instanceof Ec)return n.support?n.support.language.parser:Fo.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class Pl{constructor(e,t,n,i,a,s,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=i,this.spaceAfter=a,this.type=s,this.item=o}blank(e,t=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;i--)n+=" ";return n+(t?this.spaceAfter:"")}}marker(e,t){let n=this.node.name=="OrderedList"?String(+CA(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function TA(r,e){let t=[];for(let i=r;i&&i.name!="Document";i=i.parent)(i.name=="ListItem"||i.name=="Blockquote"||i.name=="FencedCode")&&t.push(i);let n=[];for(let i=t.length-1;i>=0;i--){let a=t[i],s,o=e.lineAt(a.from),l=a.from-o.from;if(a.name=="FencedCode")n.push(new Pl(a,l,l,"","","",null));else if(a.name=="Blockquote"&&(s=/^[ \t]*>( ?)/.exec(o.text.slice(l))))n.push(new Pl(a,l,l+s[0].length,"",s[1],">",null));else if(a.name=="ListItem"&&a.parent.name=="OrderedList"&&(s=/^([ \t]*)\d+([.)])([ \t]*)/.exec(o.text.slice(l)))){let c=s[3],u=s[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),n.push(new Pl(a.parent,l,l+u,s[1],c,s[2],a))}else if(a.name=="ListItem"&&a.parent.name=="BulletList"&&(s=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(o.text.slice(l)))){let c=s[4],u=s[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let p=s[2];s[3]&&(p+=s[3].replace(/[xX]/," ")),n.push(new Pl(a.parent,l,l+u,s[1],c,p,a))}}return n}function CA(r,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(r.from,r.from+10))}function Vu(r,e,t,n=0){for(let i=-1,a=r;;){if(a.name=="ListItem"){let o=CA(a,e),l=+o[2];if(i>=0){if(l!=i+1)return;t.push({from:a.from+o[1].length,to:a.from+o[0].length,insert:String(i+2+n)})}i=l}let s=a.nextSibling;if(!s)break;a=s}}const Yk=({state:r,dispatch:e})=>{let t=Gt(r),{doc:n}=r,i=null,a=r.changeByRange(s=>{if(!s.empty||!vA.isActiveAt(r,s.from))return i={range:s};let o=s.from,l=n.lineAt(o),c=TA(t.resolveInner(o,-1),n);for(;c.length&&c[c.length-1].from>o-l.from;)c.pop();if(!c.length)return i={range:s};let u=c[c.length-1];if(u.to-u.spaceAfter.length>o-l.from)return i={range:s};let p=o>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&p)if(u.node.firstChild.to>=o||l.from>0&&!/[^\s>]/.test(n.lineAt(l.from-1).text)){let R=c.length>1?c[c.length-2]:null,x,$="";R&&R.item?(x=l.from+R.from,$=R.marker(n,1)):x=l.from+(R?R.to:0);let Z=[{from:x,to:o,insert:$}];return u.node.name=="OrderedList"&&Vu(u.item,n,Z,-2),R&&R.node.name=="OrderedList"&&Vu(R.item,n,Z),{range:me.cursor(x+$.length),changes:Z}}else{let R="";for(let x=0,$=c.length-2;x<=$;x++)R+=c[x].blank(x<$?c[x+1].from-R.length:null,x<$);return R+=r.lineBreak,{range:me.cursor(o+R.length),changes:{from:l.from,insert:R}}}if(u.node.name=="Blockquote"&&p&&l.from){let R=n.lineAt(l.from-1),x=/>\s*$/.exec(R.text);if(x&&x.index==u.from){let $=r.changes([{from:R.from+x.index,to:R.to},{from:l.from+u.from,to:l.to}]);return{range:s.map($),changes:$}}}let m=[];u.node.name=="OrderedList"&&Vu(u.item,n,m);let _=u.item&&u.item.from]*/.exec(l.text)[0].length>=u.to)for(let R=0,x=c.length-1;R<=x;R++)v+=R==x&&!_?c[R].marker(n,1):c[R].blank(Rl.from&&/\s/.test(l.text.charAt(I-l.from-1));)I--;return v=r.lineBreak+v,m.push({from:I,to:o,insert:v}),{range:me.cursor(I+v.length),changes:m}});return i?!1:(e(r.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)};function zO(r){return r.name=="QuoteMark"||r.name=="ListMark"}function $k(r,e){let t=r.resolveInner(e,-1),n=e;zO(t)&&(n=t.from,t=t.parent);for(let i;i=t.childBefore(n);)if(zO(i))n=i.from;else if(i.name=="OrderedList"||i.name=="BulletList")t=i.lastChild,n=t.to;else break;return t}const Gk=({state:r,dispatch:e})=>{let t=Gt(r),n=null,i=r.changeByRange(a=>{let s=a.from,{doc:o}=r;if(a.empty&&vA.isActiveAt(r,a.from)){let l=o.lineAt(s),c=TA($k(t,s),o);if(c.length){let u=c[c.length-1],p=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(s-l.from>p&&!/\S/.test(l.text.slice(p,s-l.from)))return{range:me.cursor(l.from+p),changes:{from:l.from+p,to:s}};if(s-l.from==p&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let m=l.from+u.from;if(u.item&&u.node.from>1|(Pt&21845)<<1;Li=(Li&52428)>>2|(Li&13107)<<2,Li=(Li&61680)>>4|(Li&3855)<<4,Fm[Pt]=((Li&65280)>>8|(Li&255)<<8)>>1}var ei=function(r,e,t){for(var n=r.length,i=0,a=new or(e);i>l]=c}else for(o=new or(n),i=0;i>15-r[i]);return o},Ji=new bn(288);for(var Pt=0;Pt<144;++Pt)Ji[Pt]=8;for(var Pt=144;Pt<256;++Pt)Ji[Pt]=9;for(var Pt=256;Pt<280;++Pt)Ji[Pt]=7;for(var Pt=280;Pt<288;++Pt)Ji[Pt]=8;var Wo=new bn(32);for(var Pt=0;Pt<32;++Pt)Wo[Pt]=5;var Zk=ei(Ji,9,0),Kk=ei(Ji,9,1),jk=ei(Wo,5,0),Jk=ei(Wo,5,1),Hu=function(r){for(var e=r[0],t=1;te&&(e=r[t]);return e},Ir=function(r,e,t){var n=e/8|0;return(r[n]|r[n+1]<<8)>>(e&7)&t},Wu=function(r,e){var t=e/8|0;return(r[t]|r[t+1]<<8|r[t+2]<<16)>>(e&7)},Vg=function(r){return(r+7)/8|0},zg=function(r,e,t){(e==null||e<0)&&(e=0),(t==null||t>r.length)&&(t=r.length);var n=new bn(t-e);return n.set(r.subarray(e,t)),n},eL=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Gn=function(r,e,t){var n=new Error(e||eL[r]);if(n.code=r,Error.captureStackTrace&&Error.captureStackTrace(n,Gn),!t)throw n;return n},Hg=function(r,e,t,n){var i=r.length,a=n?n.length:0;if(!i||e.f&&!e.l)return t||new bn(0);var s=!t||e.i!=2,o=e.i;t||(t=new bn(i*3));var l=function(Be){var tt=t.length;if(Be>tt){var rt=new bn(Math.max(tt*2,Be));rt.set(t),t=rt}},c=e.f||0,u=e.p||0,p=e.b||0,m=e.l,_=e.d,v=e.m,I=e.n,R=i*8;do{if(!m){c=Ir(r,u,1);var x=Ir(r,u+1,3);if(u+=3,x)if(x==1)m=Kk,_=Jk,v=9,I=5;else if(x==2){var b=Ir(r,u,31)+257,S=Ir(r,u+10,15)+4,N=b+Ir(r,u+5,31)+1;u+=14;for(var k=new bn(N),L=new bn(19),M=0;M>4;if($<16)k[M++]=$;else{var ee=0,B=0;for($==16?(B=3+Ir(r,u,3),u+=2,ee=k[M-1]):$==17?(B=3+Ir(r,u,7),u+=3):$==18&&(B=11+Ir(r,u,127),u+=7);B--;)k[M++]=ee}}var Q=k.subarray(0,b),j=k.subarray(b);v=Hu(Q),I=Hu(j),m=ei(Q,v,1),_=ei(j,I,1)}else Gn(1);else{var $=Vg(u)+4,Z=r[$-4]|r[$-3]<<8,h=$+Z;if(h>i){o&&Gn(0);break}s&&l(p+Z),t.set(r.subarray($,h),p),e.b=p+=Z,e.p=u=h*8,e.f=c;continue}if(u>R){o&&Gn(0);break}}s&&l(p+131072);for(var K=(1<>4;if(u+=ee&15,u>R){o&&Gn(0);break}if(ee||Gn(2),be<256)t[p++]=be;else if(be==256){le=u,m=null;break}else{var De=be-254;if(be>264){var M=be-257,xe=Jc[M];De=Ir(r,u,(1<>4;Ee||Gn(3),u+=Ee&15;var j=Xk[Ne];if(Ne>3){var xe=eu[Ne];j+=Wu(r,u)&(1<R){o&&Gn(0);break}s&&l(p+131072);var ce=p+De;if(p>8},so=function(r,e,t){t<<=e&7;var n=e/8|0;r[n]|=t,r[n+1]|=t>>8,r[n+2]|=t>>16},Xu=function(r,e){for(var t=[],n=0;nm&&(m=a[n].s);var _=new or(m+1),v=Ym(t[u-1],_,0);if(v>e){var n=0,I=0,R=v-e,x=1<e)I+=x-(1<>=R;I>0;){var Z=a[n].s;_[Z]=0&&I;--n){var h=a[n].s;_[h]==e&&(--_[h],++I)}v=e}return{t:new bn(_),l:v}},Ym=function(r,e,t){return r.s==-1?Math.max(Ym(r.l,e,t+1),Ym(r.r,e,t+1)):e[r.s]=t},ZO=function(r){for(var e=r.length;e&&!r[--e];);for(var t=new or(++e),n=0,i=r[0],a=1,s=function(l){t[n++]=l},o=1;o<=e;++o)if(r[o]==i&&o!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=r[o]}return{c:t.subarray(0,n),n:e}},oo=function(r,e){for(var t=0,n=0;n>8,r[i+2]=r[i]^255,r[i+3]=r[i+1]^255;for(var a=0;a4&&!M[Bm[te-1]];--te);var re=c+5<<3,ne=oo(i,Ji)+oo(a,Wo)+s,ee=oo(i,m)+oo(a,I)+s+14+3*te+oo(N,M)+2*N[16]+3*N[17]+7*N[18];if(l>=0&&re<=ne&&re<=ee)return NA(e,u,r.subarray(l,l+c));var B,Q,j,K;if(fi(e,u,1+(ee15&&(fi(e,u,De[k]>>5&127),u+=De[k]>>12)}}else B=Zk,Q=Ji,j=jk,K=Wo;for(var k=0;k255){var xe=Ee>>18&31;so(e,u,B[xe+257]),u+=Q[xe+257],xe>7&&(fi(e,u,Ee>>23&31),u+=Jc[xe]);var Ne=Ee&31;so(e,u,j[Ne]),u+=K[Ne],Ne>3&&(so(e,u,Ee>>5&8191),u+=eu[Ne])}else so(e,u,B[Ee]),u+=Q[Ee]}return so(e,u,B[256]),u+Q[256]},tL=new qg([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),wA=new bn(0),nL=function(r,e,t,n,i,a){var s=a.z||r.length,o=new bn(n+s+5*(1+Math.ceil(s/7e3))+i),l=o.subarray(n,o.length-i),c=a.l,u=(a.r||0)&7;if(e){u&&(l[0]=a.r>>3);for(var p=tL[e-1],m=p>>13,_=p&8191,v=(1<7e3||M>24576)&&(B>423||!c)){u=KO(r,l,0,h,b,S,k,M,te,L-te,u),M=N=k=0,te=L;for(var Q=0;Q<286;++Q)b[Q]=0;for(var Q=0;Q<30;++Q)S[Q]=0}var j=2,K=0,ue=_,le=ne-ee&32767;if(B>2&&re==Z(L-le))for(var be=Math.min(m,B)-1,De=Math.min(32767,L),xe=Math.min(258,B);le<=De&&--ue&&ne!=ee;){if(r[L+j]==r[L+j-le]){for(var Ee=0;Eej){if(j=Ee,K=le,Ee>be)break;for(var Ne=Math.min(le,Ee-2),ce=0,Q=0;Qce&&(ce=Be,ee=Le)}}}ne=ee,ee=I[ne],le+=ne-ee&32767}if(K){h[M++]=268435456|Um[j]<<18|XO[K];var tt=Um[j]&31,rt=XO[K]&31;k+=Jc[tt]+eu[rt],++b[257+tt],++S[rt],G=L+j,++N}else h[M++]=r[L],++b[r[L]]}}for(L=Math.max(L,G);L=s&&(l[u/8|0]=c,ht=s),u=NA(l,u+1,r.subarray(L,ht))}a.i=s}return zg(o,0,n+Vg(u)+i)},rL=function(){for(var r=new Int32Array(256),e=0;e<256;++e){for(var t=e,n=9;--n;)t=(t&1&&-306674912)^t>>>1;r[e]=t}return r}(),iL=function(){var r=-1;return{p:function(e){for(var t=r,n=0;n>>8;r=t},d:function(){return~r}}},aL=function(r,e,t,n,i){if(!i&&(i={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),s=new bn(a.length+r.length);s.set(a),s.set(r,a.length),r=s,i.w=a.length}return nL(r,e.level==null?6:e.level,e.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(r.length)))*1.5):12+e.mem,t,n,i)},$m=function(r,e,t){for(;t;++e)r[e]=t,t>>>=8},sL=function(r,e){var t=e.filename;if(r[0]=31,r[1]=139,r[2]=8,r[8]=e.level<2?4:e.level==9?2:0,r[9]=3,e.mtime!=0&&$m(r,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),t){r[3]=8;for(var n=0;n<=t.length;++n)r[n+10]=t.charCodeAt(n)}},oL=function(r){(r[0]!=31||r[1]!=139||r[2]!=8)&&Gn(6,"invalid gzip data");var e=r[3],t=10;e&4&&(t+=(r[10]|r[11]<<8)+2);for(var n=(e>>3&1)+(e>>4&1);n>0;n-=!r[t++]);return t+(e&2)},lL=function(r){var e=r.length;return(r[e-4]|r[e-3]<<8|r[e-2]<<16|r[e-1]<<24)>>>0},cL=function(r){return 10+(r.filename?r.filename.length+1:0)},uL=function(r,e){return((r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31)&&Gn(6,"invalid zlib data"),(r[1]>>5&1)==+!e&&Gn(6,"invalid zlib data: "+(r[1]&32?"need":"unexpected")+" dictionary"),(r[1]>>3&4)+2};function dL(r,e){return Hg(r,{i:2},e&&e.out,e&&e.dictionary)}function pL(r,e){e||(e={});var t=iL(),n=r.length;t.p(r);var i=aL(r,e,cL(e),8),a=i.length;return sL(i,e),$m(i,a-8,t.d()),$m(i,a-4,n),i}function fL(r,e){var t=oL(r);return t+8>r.length&&Gn(6,"invalid gzip data"),Hg(r.subarray(t,-8),{i:2},e&&e.out||new bn(lL(r)),e&&e.dictionary)}function hL(r,e){return Hg(r.subarray(uL(r,e&&e.dictionary),-4),{i:2},e&&e.out,e&&e.dictionary)}function mL(r,e){return r[0]==31&&r[1]==139&&r[2]==8?fL(r,e):(r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31?dL(r,e):hL(r,e)}var Gm=typeof TextDecoder<"u"&&new TextDecoder,gL=0;try{Gm.decode(wA,{stream:!0}),gL=1}catch{}var _L=function(r){for(var e="",t=0;;){var n=r[t++],i=(n>127)+(n>223)+(n>239);if(t+i>r.length)return{s:e,r:zg(r,t-1)};i?i==3?(n=((n&15)<<18|(r[t++]&63)<<12|(r[t++]&63)<<6|r[t++]&63)-65536,e+=String.fromCharCode(55296|n>>10,56320|n&1023)):i&1?e+=String.fromCharCode((n&31)<<6|r[t++]&63):e+=String.fromCharCode((n&15)<<12|(r[t++]&63)<<6|r[t++]&63):e+=String.fromCharCode(n)}};function SL(r,e){if(e){for(var t="",n=0;n - +