livebook/static/assets/app.js
2024-08-06 12:56:17 +00:00

336 lines
1.6 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{a as lg}from"./chunk-GJ6CDUB5.js";import{a as wa}from"./chunk-BZUL2CAN.js";import{a as H,b as Ce,c as cs,d as Qk,e as pi,f as po,g as Hl,h as va,i as bt}from"./chunk-3NXJ7VWC.js";var NS=po((soe,DS)=>{"use strict";var Sh=Object.prototype.hasOwnProperty,IS=Object.prototype.toString,QS=Object.defineProperty,AS=Object.getOwnPropertyDescriptor,$S=function(e){return typeof Array.isArray=="function"?Array.isArray(e):IS.call(e)==="[object Array]"},XS=function(e){if(!e||IS.call(e)!=="[object Object]")return!1;var i=Sh.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&Sh.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!r)return!1;var n;for(n in e);return typeof n=="undefined"||Sh.call(e,n)},RS=function(e,i){QS&&i.name==="__proto__"?QS(e,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):e[i.name]=i.newValue},LS=function(e,i){if(i==="__proto__")if(Sh.call(e,i)){if(AS)return AS(e,i).value}else return;return e[i]};DS.exports=function t(){var e,i,r,n,o,s,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<c;++l)if(e=arguments[l],e!=null)for(i in e)r=LS(a,i),n=LS(e,i),a!==n&&(u&&n&&(XS(n)||(o=$S(n)))?(o?(o=!1,s=r&&$S(r)?r:[]):s=r&&XS(r)?r:{},RS(a,{name:i,newValue:t(u,s,n)})):typeof n!="undefined"&&RS(a,{name:i,newValue:n}));return a}});var oX=po(()=>{});var _O=po((PO,sX)=>{(function(t,e){typeof PO=="object"?sX.exports=PO=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(PO,function(){var t=t||function(e,i){var r;if(typeof window!="undefined"&&window.crypto&&(r=window.crypto),typeof self!="undefined"&&self.crypto&&(r=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window!="undefined"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof global!="undefined"&&global.crypto&&(r=global.crypto),!r&&typeof cs=="function")try{r=oX()}catch(S){}var n=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch(S){}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch(S){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function S(){}return function(T){var $;return S.prototype=T,$=new S,S.prototype=null,$}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(S){var T=o(this);return S&&T.mixIn(S),(!T.hasOwnProperty("init")||this.init===T.init)&&(T.init=function(){T.$super.init.apply(this,arguments)}),T.init.prototype=T,T.$super=this,T},create:function(){var S=this.extend();return S.init.apply(S,arguments),S},init:function(){},mixIn:function(S){for(var T in S)S.hasOwnProperty(T)&&(this[T]=S[T]);S.hasOwnProperty("toString")&&(this.toString=S.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(S,T){S=this.words=S||[],T!=i?this.sigBytes=T:this.sigBytes=S.length*4},toString:function(S){return(S||f).stringify(this)},concat:function(S){var T=this.words,$=S.words,I=this.sigBytes,_=S.sigBytes;if(this.clamp(),I%4)for(var A=0;A<_;A++){var q=$[A>>>2]>>>24-A%4*8&255;T[I+A>>>2]|=q<<24-(I+A)%4*8}else for(var le=0;le<_;le+=4)T[I+le>>>2]=$[le>>>2];return this.sigBytes+=_,this},clamp:function(){var S=this.words,T=this.sigBytes;S[T>>>2]&=4294967295<<32-T%4*8,S.length=e.ceil(T/4)},clone:function(){var S=l.clone.call(this);return S.words=this.words.slice(0),S},random:function(S){for(var T=[],$=0;$<S;$+=4)T.push(n());return new c.init(T,S)}}),u=s.enc={},f=u.Hex={stringify:function(S){for(var T=S.words,$=S.sigBytes,I=[],_=0;_<$;_++){var A=T[_>>>2]>>>24-_%4*8&255;I.push((A>>>4).toString(16)),I.push((A&15).toString(16))}return I.join("")},parse:function(S){for(var T=S.length,$=[],I=0;I<T;I+=2)$[I>>>3]|=parseInt(S.substr(I,2),16)<<24-I%8*4;return new c.init($,T/2)}},d=u.Latin1={stringify:function(S){for(var T=S.words,$=S.sigBytes,I=[],_=0;_<$;_++){var A=T[_>>>2]>>>24-_%4*8&255;I.push(String.fromCharCode(A))}return I.join("")},parse:function(S){for(var T=S.length,$=[],I=0;I<T;I++)$[I>>>2]|=(S.charCodeAt(I)&255)<<24-I%4*8;return new c.init($,T)}},p=u.Utf8={stringify:function(S){try{return decodeURIComponent(escape(d.stringify(S)))}catch(T){throw new Error("Malformed UTF-8 data")}},parse:function(S){return d.parse(unescape(encodeURIComponent(S)))}},g=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(S){typeof S=="string"&&(S=p.parse(S)),this._data.concat(S),this._nDataBytes+=S.sigBytes},_process:function(S){var T,$=this._data,I=$.words,_=$.sigBytes,A=this.blockSize,q=A*4,le=_/q;S?le=e.ceil(le):le=e.max((le|0)-this._minBufferSize,0);var F=le*A,U=e.min(F*4,_);if(F){for(var ie=0;ie<F;ie+=A)this._doProcessBlock(I,ie);T=I.splice(0,F),$.sigBytes-=U}return new c.init(T,U)},clone:function(){var S=l.clone.call(this);return S._data=this._data.clone(),S},_minBufferSize:0}),x=a.Hasher=g.extend({cfg:l.extend(),init:function(S){this.cfg=this.cfg.extend(S),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(S){return this._append(S),this._process(),this},finalize:function(S){S&&this._append(S);var T=this._doFinalize();return T},blockSize:512/32,_createHelper:function(S){return function(T,$){return new S.init($).finalize(T)}},_createHmacHelper:function(S){return function(T,$){return new v.HMAC.init(S,$).finalize(T)}}}),v=s.algo={};return s}(Math);return t})});var lX=po((QO,aX)=>{(function(t,e){typeof QO=="object"?aX.exports=QO=e(_O()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(QO,function(t){return function(e){var i=t,r=i.lib,n=r.WordArray,o=r.Hasher,s=i.algo,a=[];(function(){for(var p=0;p<64;p++)a[p]=e.abs(e.sin(p+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,g){for(var x=0;x<16;x++){var v=g+x,S=p[v];p[v]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var T=this._hash.words,$=p[g+0],I=p[g+1],_=p[g+2],A=p[g+3],q=p[g+4],le=p[g+5],F=p[g+6],U=p[g+7],ie=p[g+8],ue=p[g+9],re=p[g+10],he=p[g+11],me=p[g+12],ve=p[g+13],j=p[g+14],ae=p[g+15],V=T[0],E=T[1],B=T[2],ne=T[3];V=c(V,E,B,ne,$,7,a[0]),ne=c(ne,V,E,B,I,12,a[1]),B=c(B,ne,V,E,_,17,a[2]),E=c(E,B,ne,V,A,22,a[3]),V=c(V,E,B,ne,q,7,a[4]),ne=c(ne,V,E,B,le,12,a[5]),B=c(B,ne,V,E,F,17,a[6]),E=c(E,B,ne,V,U,22,a[7]),V=c(V,E,B,ne,ie,7,a[8]),ne=c(ne,V,E,B,ue,12,a[9]),B=c(B,ne,V,E,re,17,a[10]),E=c(E,B,ne,V,he,22,a[11]),V=c(V,E,B,ne,me,7,a[12]),ne=c(ne,V,E,B,ve,12,a[13]),B=c(B,ne,V,E,j,17,a[14]),E=c(E,B,ne,V,ae,22,a[15]),V=u(V,E,B,ne,I,5,a[16]),ne=u(ne,V,E,B,F,9,a[17]),B=u(B,ne,V,E,he,14,a[18]),E=u(E,B,ne,V,$,20,a[19]),V=u(V,E,B,ne,le,5,a[20]),ne=u(ne,V,E,B,re,9,a[21]),B=u(B,ne,V,E,ae,14,a[22]),E=u(E,B,ne,V,q,20,a[23]),V=u(V,E,B,ne,ue,5,a[24]),ne=u(ne,V,E,B,j,9,a[25]),B=u(B,ne,V,E,A,14,a[26]),E=u(E,B,ne,V,ie,20,a[27]),V=u(V,E,B,ne,ve,5,a[28]),ne=u(ne,V,E,B,_,9,a[29]),B=u(B,ne,V,E,U,14,a[30]),E=u(E,B,ne,V,me,20,a[31]),V=f(V,E,B,ne,le,4,a[32]),ne=f(ne,V,E,B,ie,11,a[33]),B=f(B,ne,V,E,he,16,a[34]),E=f(E,B,ne,V,j,23,a[35]),V=f(V,E,B,ne,I,4,a[36]),ne=f(ne,V,E,B,q,11,a[37]),B=f(B,ne,V,E,U,16,a[38]),E=f(E,B,ne,V,re,23,a[39]),V=f(V,E,B,ne,ve,4,a[40]),ne=f(ne,V,E,B,$,11,a[41]),B=f(B,ne,V,E,A,16,a[42]),E=f(E,B,ne,V,F,23,a[43]),V=f(V,E,B,ne,ue,4,a[44]),ne=f(ne,V,E,B,me,11,a[45]),B=f(B,ne,V,E,ae,16,a[46]),E=f(E,B,ne,V,_,23,a[47]),V=d(V,E,B,ne,$,6,a[48]),ne=d(ne,V,E,B,U,10,a[49]),B=d(B,ne,V,E,j,15,a[50]),E=d(E,B,ne,V,le,21,a[51]),V=d(V,E,B,ne,me,6,a[52]),ne=d(ne,V,E,B,A,10,a[53]),B=d(B,ne,V,E,re,15,a[54]),E=d(E,B,ne,V,I,21,a[55]),V=d(V,E,B,ne,ie,6,a[56]),ne=d(ne,V,E,B,ae,10,a[57]),B=d(B,ne,V,E,F,15,a[58]),E=d(E,B,ne,V,ve,21,a[59]),V=d(V,E,B,ne,q,6,a[60]),ne=d(ne,V,E,B,he,10,a[61]),B=d(B,ne,V,E,_,15,a[62]),E=d(E,B,ne,V,ue,21,a[63]),T[0]=T[0]+V|0,T[1]=T[1]+E|0,T[2]=T[2]+B|0,T[3]=T[3]+ne|0},_doFinalize:function(){var p=this._data,g=p.words,x=this._nDataBytes*8,v=p.sigBytes*8;g[v>>>5]|=128<<24-v%32;var S=e.floor(x/4294967296),T=x;g[(v+64>>>9<<4)+15]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,g[(v+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,p.sigBytes=(g.length+1)*4,this._process();for(var $=this._hash,I=$.words,_=0;_<4;_++){var A=I[_];I[_]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}return $},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,g,x,v,S,T,$){var I=p+(g&x|~g&v)+S+$;return(I<<T|I>>>32-T)+g}function u(p,g,x,v,S,T,$){var I=p+(g&v|x&~v)+S+$;return(I<<T|I>>>32-T)+g}function f(p,g,x,v,S,T,$){var I=p+(g^x^v)+S+$;return(I<<T|I>>>32-T)+g}function d(p,g,x,v,S,T,$){var I=p+(x^(g|~v))+S+$;return(I<<T|I>>>32-T)+g}i.MD5=o._createHelper(l),i.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var uX=po((AO,cX)=>{(function(t,e){typeof AO=="object"?cX.exports=AO=e(_O()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(AO,function(t){return function(e){var i=t,r=i.lib,n=r.WordArray,o=r.Hasher,s=i.algo,a=[],l=[];(function(){function f(x){for(var v=e.sqrt(x),S=2;S<=v;S++)if(!(x%S))return!1;return!0}function d(x){return(x-(x|0))*4294967296|0}for(var p=2,g=0;g<64;)f(p)&&(g<8&&(a[g]=d(e.pow(p,1/2))),l[g]=d(e.pow(p,1/3)),g++),p++})();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(f,d){for(var p=this._hash.words,g=p[0],x=p[1],v=p[2],S=p[3],T=p[4],$=p[5],I=p[6],_=p[7],A=0;A<64;A++){if(A<16)c[A]=f[d+A]|0;else{var q=c[A-15],le=(q<<25|q>>>7)^(q<<14|q>>>18)^q>>>3,F=c[A-2],U=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;c[A]=le+c[A-7]+U+c[A-16]}var ie=T&$^~T&I,ue=g&x^g&v^x&v,re=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),he=(T<<26|T>>>6)^(T<<21|T>>>11)^(T<<7|T>>>25),me=_+he+ie+l[A]+c[A],ve=re+ue;_=I,I=$,$=T,T=S+me|0,S=v,v=x,x=g,g=me+ve|0}p[0]=p[0]+g|0,p[1]=p[1]+x|0,p[2]=p[2]+v|0,p[3]=p[3]+S|0,p[4]=p[4]+T|0,p[5]=p[5]+$|0,p[6]=p[6]+I|0,p[7]=p[7]+_|0},_doFinalize:function(){var f=this._data,d=f.words,p=this._nDataBytes*8,g=f.sigBytes*8;return d[g>>>5]|=128<<24-g%32,d[(g+64>>>9<<4)+14]=e.floor(p/4294967296),d[(g+64>>>9<<4)+15]=p,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});i.SHA256=o._createHelper(u),i.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var hX=po(($O,fX)=>{(function(t,e){typeof $O=="object"?fX.exports=$O=e(_O()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})($O,function(t){return function(){var e=t,i=e.lib,r=i.WordArray,n=e.enc,o=n.Base64={stringify:function(a){var l=a.words,c=a.sigBytes,u=this._map;a.clamp();for(var f=[],d=0;d<c;d+=3)for(var p=l[d>>>2]>>>24-d%4*8&255,g=l[d+1>>>2]>>>24-(d+1)%4*8&255,x=l[d+2>>>2]>>>24-(d+2)%4*8&255,v=p<<16|g<<8|x,S=0;S<4&&d+S*.75<c;S++)f.push(u.charAt(v>>>6*(3-S)&63));var T=u.charAt(64);if(T)for(;f.length%4;)f.push(T);return f.join("")},parse:function(a){var l=a.length,c=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var f=0;f<c.length;f++)u[c.charCodeAt(f)]=f}var d=c.charAt(64);if(d){var p=a.indexOf(d);p!==-1&&(l=p)}return s(a,l,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(a,l,c){for(var u=[],f=0,d=0;d<l;d++)if(d%4){var p=c[a.charCodeAt(d-1)]<<d%4*2,g=c[a.charCodeAt(d)]>>>6-d%4*2,x=p|g;u[f>>>2]|=x<<24-f%4*8,f++}return r.create(u,f)}}(),t.enc.Base64})});var FL=po((YL,ek)=>{(function(t){if(typeof YL=="object"&&typeof ek!="undefined")ek.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.HyperList=t()}})(function(){var t,e,i;return function(){function r(n,o,s){function a(u,f){if(!o[u]){if(!n[u]){var d=typeof cs=="function"&&cs;if(!f&&d)return d(u,!0);if(l)return l(u,!0);var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}var g=o[u]={exports:{}};n[u][0].call(g.exports,function(x){var v=n[u][1][x];return a(v||x)},g,g.exports,r,n,o,s)}return o[u].exports}for(var l=typeof cs=="function"&&cs,c=0;c<s.length;c++)a(s[c]);return a}return r}()({1:[function(r,n,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=function(){function p(g,x){for(var v=0;v<x.length;v++){var S=x[v];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,v){return x&&p(g.prototype,x),v&&p(g,v),g}}();function a(p,g,x){return g in p?Object.defineProperty(p,g,{value:x,enumerable:!0,configurable:!0,writable:!0}):p[g]=x,p}function l(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}var c={width:"100%",height:"100%"},u=function(g){return Number(g)===Number(g)},f="classList"in document.documentElement?function(p,g){p.classList.add(g)}:function(p,g){var x=p.getAttribute("class")||"";p.setAttribute("class",x+" "+g)},d=function(){s(p,null,[{key:"create",value:function(x,v){return new p(x,v)}},{key:"mergeStyle",value:function(x,v){for(var S in v)x.style[S]!==v[S]&&(x.style[S]=v[S])}},{key:"getMaxBrowserHeight",value:function(){var x=document.createElement("div"),v=document.createElement("div");p.mergeStyle(x,{position:"absolute",height:"1px",opacity:0}),p.mergeStyle(v,{height:"1e7px"}),x.appendChild(v),document.body.appendChild(x);var S=v.offsetHeight;return document.body.removeChild(x),S}}]);function p(g,x){var v=this;l(this,p),this._config={},this._lastRepaint=null,this._maxElementHeight=p.getMaxBrowserHeight(),this.refresh(g,x);var S=this._config,T=function $(){var I=v._getScrollPosition(),_=v._lastRepaint;if(v._renderAnimationFrame=window.requestAnimationFrame($),I!==_){var A=_?I-_:0;if(!_||A<0||A>v._averageHeight){var q=v._renderChunk();v._lastRepaint=I,q!==!1&&typeof S.afterRender=="function"&&S.afterRender()}}};T()}return s(p,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(x,v){var S;if(Object.assign(this._config,c,v),!x||x.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=x;var T=this._config,$=this._scroller||T.scroller||document.createElement(T.scrollerTagName||"tr");if(typeof T.useFragment!="boolean"&&(this._config.useFragment=!0),!T.generate)throw new Error("Missing required `generate` function");if(!u(T.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(T.itemHeight)&&!u(T.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());u(T.itemHeight)?this._itemHeights=Array(T.total).fill(T.itemHeight):this._itemHeights=T.itemHeight,Object.keys(c).filter(function(ve){return ve in T}).forEach(function(ve){var j=T[ve],ae=u(j);if(j&&typeof j!="string"&&typeof j!="number"){var V="Invalid optional `"+ve+"`, expected string or number";throw new Error(V)}else ae&&(T[ve]=j+"px")});var I=!!T.horizontal,_=T[I?"width":"height"];if(_){var A=u(_),q=A?!1:_.slice(-1)==="%",le=A?_:parseInt(_.replace(/px|%/,""),10),F=window[I?"innerWidth":"innerHeight"];q?this._containerSize=F*le/100:this._containerSize=u(_)?_:le}var U=T.scrollContainer,ie=T.itemHeight*T.total,ue=this._maxElementHeight;ie>ue&&console.warn(["HyperList: The maximum element height",ue+"px has","been exceeded; please reduce your item height."].join(" "));var re={width:""+T.width,height:U?ie+"px":""+T.height,overflow:U?"none":"auto",position:"relative"};p.mergeStyle(x,re),U&&p.mergeStyle(T.scrollContainer,{overflow:"auto"});var he=(S={opacity:"0",position:"absolute"},a(S,I?"height":"width","1px"),a(S,I?"width":"height",ie+"px"),S);p.mergeStyle($,he),this._scroller||x.appendChild($);var me=this._computeScrollPadding();this._scrollPaddingBottom=me.bottom,this._scrollPaddingTop=me.top,this._scroller=$,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(T.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof T.afterRender=="function"&&T.afterRender()}},{key:"_getRow",value:function(x){var v=this._config,S=v.generate(x),T=S.height;if(T!==void 0&&u(T)?(S=S.element,T!==this._itemHeights[x]&&(this._itemHeights[x]=T,this._computePositions(x),this._scrollHeight=this._computeScrollHeight(x))):T=this._itemHeights[x],!S||S.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+x);f(S,v.rowClassName||"vrow");var $=this._itemPositions[x]+this._scrollPaddingTop;return p.mergeStyle(S,a({position:"absolute"},v.horizontal?"left":"top",$+"px")),S}},{key:"_getScrollPosition",value:function(){var x=this._config;return typeof x.overrideScrollPosition=="function"?x.overrideScrollPosition():this._element[x.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(x){var v=this._config,S=this._element,T=this._getScrollPosition(),$=v.total,I=v.reverse?this._getReverseFrom(T):this._getFrom(T)-1;if((I<0||I-this._screenItemsLen<0)&&(I=0),!x&&this._lastFrom===I)return!1;this._lastFrom=I;var _=I+this._cachedItemsLen;(_>$||_+this._cachedItemsLen>$)&&(_=$);var A=v.useFragment?document.createDocumentFragment():[],q=this._scroller;A[v.useFragment?"appendChild":"push"](q);for(var le=I;le<_;le++){var F=this._getRow(le);A[v.useFragment?"appendChild":"push"](F)}if(v.applyPatch)return v.applyPatch(S,A);S.innerHTML="",S.appendChild(A)}},{key:"_computePositions",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,v=this._config,S=v.total,T=v.reverse;x<1&&!T&&(x=1);for(var $=x;$<S;$++)T?$===0?this._itemPositions[0]=this._scrollHeight-this._itemHeights[0]:this._itemPositions[$]=this._itemPositions[$-1]-this._itemHeights[$]:this._itemPositions[$]=this._itemHeights[$-1]+this._itemPositions[$-1]}},{key:"_computeScrollHeight",value:function(){var x,v=this,S=this._config,T=!!S.horizontal,$=S.total,I=this._itemHeights.reduce(function(ie,ue){return ie+ue},0)+this._scrollPaddingBottom+this._scrollPaddingTop;p.mergeStyle(this._scroller,(x={opacity:0,position:"absolute",top:"0px"},a(x,T?"height":"width","1px"),a(x,T?"width":"height",I+"px"),x));var _=this._itemHeights.slice(0).sort(function(ie,ue){return ie-ue}),A=Math.floor($/2),q=$%2===0?(_[A]+_[A-1])/2:_[A],le=T?"clientWidth":"clientHeight",F=S.scrollContainer?S.scrollContainer:this._element,U=F[le]?F[le]:this._containerSize;return this._screenItemsLen=Math.ceil(U/q),this._containerSize=U,this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3),this._averageHeight=q,S.reverse&&window.requestAnimationFrame(function(){T?v._element.scrollLeft=I:v._element.scrollTop=I}),I}},{key:"_computeScrollPadding",value:function(){var x=this._config,v=!!x.horizontal,S=x.reverse,T=window.getComputedStyle(this._element),$=function(_){var A=T.getPropertyValue("padding-"+_);return parseInt(A,10)||0};return v&&S?{bottom:$("left"),top:$("right")}:v?{bottom:$("right"),top:$("left")}:S?{bottom:$("top"),top:$("bottom")}:{bottom:$("bottom"),top:$("top")}}},{key:"_getFrom",value:function(x){for(var v=0;this._itemPositions[v]<x;)v++;return v}},{key:"_getReverseFrom",value:function(x){for(var v=this._config.total-1;v>0&&this._itemPositions[v]<x+this._containerSize;)v--;return v}}]),p}();o.default=d,n.exports=o.default},{}]},{},[1])(1)})});var iI=po((tI,Vm)=>{(function(t,e){"use strict";function i(){r.width=t.innerWidth,r.height=5*c.barThickness;var f=r.getContext("2d");f.shadowBlur=c.shadowBlur,f.shadowColor=c.shadowColor;var d,p=f.createLinearGradient(0,0,r.width,0);for(d in c.barColors)p.addColorStop(d,c.barColors[d]);f.lineWidth=c.barThickness,f.beginPath(),f.moveTo(0,c.barThickness/2),f.lineTo(Math.ceil(n*r.width),c.barThickness/2),f.strokeStyle=p,f.stroke()}var r,n,o,s=null,a=null,l=null,c={autoRun:!0,barThickness:3,barColors:{0:"rgba(26, 188, 156, .9)",".25":"rgba(52, 152, 219, .9)",".50":"rgba(241, 196, 15, .9)",".75":"rgba(230, 126, 34, .9)","1.0":"rgba(211, 84, 0, .9)"},shadowBlur:10,shadowColor:"rgba(0, 0, 0, .6)",className:null},u={config:function(f){for(var d in f)c.hasOwnProperty(d)&&(c[d]=f[d])},show:function(f){var d,p;o||(f?l=l||setTimeout(()=>u.show(),f):(o=!0,a!==null&&t.cancelAnimationFrame(a),r||((p=(r=e.createElement("canvas")).style).position="fixed",p.top=p.left=p.right=p.margin=p.padding=0,p.zIndex=100001,p.display="none",c.className&&r.classList.add(c.className),d="resize",f=i,(p=t).addEventListener?p.addEventListener(d,f,!1):p.attachEvent?p.attachEvent("on"+d,f):p["on"+d]=f),r.parentElement||e.body.appendChild(r),r.style.opacity=1,r.style.display="block",u.progress(0),c.autoRun&&function g(){s=t.requestAnimationFrame(g),u.progress("+"+.05*Math.pow(1-Math.sqrt(n),2))}()))},progress:function(f){return f===void 0||(typeof f=="string"&&(f=(0<=f.indexOf("+")||0<=f.indexOf("-")?n:0)+parseFloat(f)),n=1<f?1:f,i()),n},hide:function(){clearTimeout(l),l=null,o&&(o=!1,s!=null&&(t.cancelAnimationFrame(s),s=null),function f(){return 1<=u.progress("+.1")&&(r.style.opacity-=.05,r.style.opacity<=.05)?(r.style.display="none",void(a=null)):void(a=t.requestAnimationFrame(f))}())}};typeof Vm=="object"&&typeof Vm.exports=="object"?Vm.exports=u:typeof define=="function"&&define.amd?define(function(){return u}):this.topbar=u}).call(tI,window,document)});(function(){var t=e();function e(){if(typeof window.CustomEvent=="function")return window.CustomEvent;function n(o,s){s=s||{bubbles:!1,cancelable:!1,detail:void 0};var a=document.createEvent("CustomEvent");return a.initCustomEvent(o,s.bubbles,s.cancelable,s.detail),a}return n.prototype=window.Event.prototype,n}function i(n,o){var s=document.createElement("input");return s.type="hidden",s.name=n,s.value=o,s}function r(n,o){var s=n.getAttribute("data-to"),a=i("_method",n.getAttribute("data-method")),l=i("_csrf_token",n.getAttribute("data-csrf")),c=document.createElement("form"),u=document.createElement("input"),f=n.getAttribute("target");c.method=n.getAttribute("data-method")==="get"?"get":"post",c.action=s,c.style.display="none",f?c.target=f:o&&(c.target="_blank"),c.appendChild(l),c.appendChild(a),document.body.appendChild(c),u.type="submit",c.appendChild(u),u.click()}window.addEventListener("click",function(n){var o=n.target;if(!n.defaultPrevented)for(;o&&o.getAttribute;){var s=new t("phoenix.link.click",{bubbles:!0,cancelable:!0});if(!o.dispatchEvent(s))return n.preventDefault(),n.stopImmediatePropagation(),!1;if(o.getAttribute("data-method")&&o.getAttribute("data-to"))return r(o,n.metaKey||n.shiftKey),n.preventDefault(),!1;o=o.parentNode}},!1),window.addEventListener("phoenix.link.click",function(n){var o=n.target.getAttribute("data-confirm");o&&!window.confirm(o)&&n.preventDefault()},!1)})();var Jl=t=>typeof t=="function"?t:function(){return t},BI=typeof self!="undefined"?self:null,Kl=typeof window!="undefined"?window:null,us=BI||Kl||us,ZI="2.0.0",Fr={connecting:0,open:1,closing:2,closed:3},VI=1e4,YI=1e3,Yi={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Sn={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},cg={longpoll:"longpoll",websocket:"websocket"},FI={complete:4},ah=class{constructor(t,e,i,r){this.channel=t,this.event=e,this.payload=i||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(t){this.timeout=t,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:t,response:e,_ref:i}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,t=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=t,this.matchReceive(t)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}trigger(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}},Ak=class{constructor(t,e){this.callback=t,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},HI=class{constructor(t,e,i){this.state=Yi.closed,this.topic=t,this.params=Jl(e||{}),this.socket=i,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new ah(this,Sn.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new Ak(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=Yi.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Yi.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=Yi.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=Yi.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new ah(this,Sn.leave,Jl({}),this.timeout).send(),this.state=Yi.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Sn.reply,(r,n)=>{this.trigger(this.replyEventName(n),r)})}join(t=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=t,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(t){this.on(Sn.close,t)}onError(t){return this.on(Sn.error,e=>t(e))}on(t,e){let i=this.bindingRef++;return this.bindings.push({event:t,ref:i,callback:e}),i}off(t,e){this.bindings=this.bindings.filter(i=>!(i.event===t&&(typeof e=="undefined"||e===i.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,i=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${t}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new ah(this,t,function(){return e},i);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Yi.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Sn.close,"leave")},i=new ah(this,Sn.leave,Jl({}),t);return i.receive("ok",()=>e()).receive("timeout",()=>e()),i.send(),this.canPush()||i.trigger("ok",{}),i}onMessage(t,e,i){return e}isMember(t,e,i,r){return this.topic!==t?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:i,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Yi.joining,this.joinPush.resend(t))}trigger(t,e,i,r){let n=this.onMessage(t,e,i,r);if(e&&!n)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(s=>s.event===t);for(let s=0;s<o.length;s++)o[s].callback(n,i,r||this.joinRef())}replyEventName(t){return`chan_reply_${t}`}isClosed(){return this.state===Yi.closed}isErrored(){return this.state===Yi.errored}isJoined(){return this.state===Yi.joined}isJoining(){return this.state===Yi.joining}isLeaving(){return this.state===Yi.leaving}},ch=class{static request(t,e,i,r,n,o,s){if(us.XDomainRequest){let a=new us.XDomainRequest;return this.xdomainRequest(a,t,e,r,n,o,s)}else{let a=new us.XMLHttpRequest;return this.xhrRequest(a,t,e,i,r,n,o,s)}}static xdomainRequest(t,e,i,r,n,o,s){return t.timeout=n,t.open(e,i),t.onload=()=>{let a=this.parseJSON(t.responseText);s&&s(a)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(r),t}static xhrRequest(t,e,i,r,n,o,s,a){return t.open(e,i,!0),t.timeout=o,t.setRequestHeader("Content-Type",r),t.onerror=()=>a&&a(null),t.onreadystatechange=()=>{if(t.readyState===FI.complete&&a){let l=this.parseJSON(t.responseText);a(l)}},s&&(t.ontimeout=s),t.send(n),t}static parseJSON(t){if(!t||t==="")return null;try{return JSON.parse(t)}catch(e){return console&&console.log("failed to parse JSON response",t),null}}static serialize(t,e){let i=[];for(var r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=e?`${e}[${r}]`:r,o=t[r];typeof o=="object"?i.push(this.serialize(o,n)):i.push(encodeURIComponent(n)+"="+encodeURIComponent(o))}return i.join("&")}static appendParams(t,e){if(Object.keys(e).length===0)return t;let i=t.match(/\?/)?"&":"?";return`${t}${i}${this.serialize(e)}`}},GI=t=>{let e="",i=new Uint8Array(t),r=i.byteLength;for(let n=0;n<r;n++)e+=String.fromCharCode(i[n]);return btoa(e)},Gl=class{constructor(t){this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(t),this.readyState=Fr.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(t){return t.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+cg.websocket),"$1/"+cg.longpoll)}endpointURL(){return ch.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(t,e,i){this.close(t,e,i),this.readyState=Fr.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Fr.open||this.readyState===Fr.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),t=>{if(t){var{status:e,token:i,messages:r}=t;this.token=i}else e=0;switch(e){case 200:r.forEach(n=>{setTimeout(()=>this.onmessage({data:n}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Fr.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${e}`)}})}send(t){typeof t!="string"&&(t=GI(t)),this.currentBatch?this.currentBatch.push(t):this.awaitingBatchAck?this.batchBuffer.push(t):(this.currentBatch=[t],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(t){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",t.join(`
`),()=>this.onerror("timeout"),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(t,e,i){for(let n of this.reqs)n.abort();this.readyState=Fr.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:t,reason:e,wasClean:i});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(t,e,i,r,n){let o,s=()=>{this.reqs.delete(o),r()};o=ch.request(t,this.endpointURL(),e,i,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&n(a)}),this.reqs.add(o)}};var lh={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(t,e){if(t.payload.constructor===ArrayBuffer)return e(this.binaryEncode(t));{let i=[t.join_ref,t.ref,t.topic,t.event,t.payload];return e(JSON.stringify(i))}},decode(t,e){if(t.constructor===ArrayBuffer)return e(this.binaryDecode(t));{let[i,r,n,o,s]=JSON.parse(t);return e({join_ref:i,ref:r,topic:n,event:o,payload:s})}},binaryEncode(t){let{join_ref:e,ref:i,event:r,topic:n,payload:o}=t,s=this.META_LENGTH+e.length+i.length+n.length+r.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,i.length),l.setUint8(c++,n.length),l.setUint8(c++,r.length),Array.from(e,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(i,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(n,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(r,f=>l.setUint8(c++,f.charCodeAt(0)));var u=new Uint8Array(a.byteLength+o.byteLength);return u.set(new Uint8Array(a),0),u.set(new Uint8Array(o),a.byteLength),u.buffer},binaryDecode(t){let e=new DataView(t),i=e.getUint8(0),r=new TextDecoder;switch(i){case this.KINDS.push:return this.decodePush(t,e,r);case this.KINDS.reply:return this.decodeReply(t,e,r);case this.KINDS.broadcast:return this.decodeBroadcast(t,e,r)}},decodePush(t,e,i){let r=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=i.decode(t.slice(s,s+r));s=s+r;let l=i.decode(t.slice(s,s+n));s=s+n;let c=i.decode(t.slice(s,s+o));s=s+o;let u=t.slice(s,t.byteLength);return{join_ref:a,ref:null,topic:l,event:c,payload:u}},decodeReply(t,e,i){let r=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=i.decode(t.slice(a,a+r));a=a+r;let c=i.decode(t.slice(a,a+n));a=a+n;let u=i.decode(t.slice(a,a+o));a=a+o;let f=i.decode(t.slice(a,a+s));a=a+s;let d=t.slice(a,t.byteLength),p={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:Sn.reply,payload:p}},decodeBroadcast(t,e,i){let r=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,s=i.decode(t.slice(o,o+r));o=o+r;let a=i.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},uh=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||VI,this.transport=e.transport||us.WebSocket||Gl,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=e.longPollFallbackMs,this.fallbackTimer=null,this.sessionStore=e.sessionStorage||us&&us.sessionStorage,this.establishedConnections=0,this.defaultEncoder=lh.encode.bind(lh),this.defaultDecoder=lh.decode.bind(lh),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==Gl?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let i=null;Kl&&Kl.addEventListener&&(Kl.addEventListener("pagehide",r=>{this.conn&&(this.disconnect(),i=this.connectClock)}),Kl.addEventListener("pageshow",r=>{i===this.connectClock&&(i=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=r=>e.rejoinAfterMs?e.rejoinAfterMs(r):[1e3,2e3,5e3][r-1]||1e4,this.reconnectAfterMs=r=>e.reconnectAfterMs?e.reconnectAfterMs(r):[10,50,100,150,200,250,500,1e3,2e3][r-1]||5e3,this.logger=e.logger||null,!this.logger&&e.debug&&(this.logger=(r,n,o)=>{console.log(`${r}: ${n}`,o)}),this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=Jl(e.params||{}),this.endPoint=`${t}/${cg.websocket}`,this.vsn=e.vsn||ZI,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new Ak(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return Gl}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=ch.appendParams(ch.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,e,i){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(t,e,i)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=Jl(t)),!this.conn&&(this.longPollFallbackMs&&this.transport!==Gl?this.connectWithFallback(Gl,this.longPollFallbackMs):this.transportConnect())}log(t,e,i){this.logger&&this.logger(t,e,i)}hasLogger(){return this.logger!==null}onOpen(t){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,t]),e}onClose(t){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,t]),e}onError(t){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,t]),e}onMessage(t){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,t]),e}ping(t){if(!this.isConnected())return!1;let e=this.makeRef(),i=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let r=this.onMessage(n=>{n.ref===e&&(this.off([r]),t(Date.now()-i))});return!0}transportConnect(){this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(t){return this.sessionStore&&this.sessionStore.getItem(t)}storeSession(t,e){this.sessionStore&&this.sessionStore.setItem(t,e)}connectWithFallback(t,e=2500){clearTimeout(this.fallbackTimer);let i=!1,r=!0,n,o,s=a=>{this.log("transport",`falling back to ${t.name}...`,a),this.off([n,o]),r=!1,this.replaceTransport(t),this.transportConnect()};if(this.getSession(`phx:fallback:${t.name}`))return s("memorized");this.fallbackTimer=setTimeout(s,e),o=this.onError(a=>{this.log("transport","error",a),r&&!i&&(clearTimeout(this.fallbackTimer),s(a))}),this.onOpen(()=>{if(i=!0,!r)return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${t.name}`,"true"),this.log("transport",`established ${t.name} fallback`);clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(s,e),this.ping(a=>{this.log("transport","connected to primary after",a),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`${this.transport.name} connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,t])=>t())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),YI,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,e,i){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,i||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),t&&t()})})}waitForBufferDone(t,e=1){if(e===5||!this.conn||!this.conn.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(t,e+1)},150*e)}waitForSocketClosed(t,e=1){if(e===5||!this.conn||this.conn.readyState===Fr.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(t,e+1)},150*e)}onConnClose(t){let e=t&&t.code;this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,i])=>i(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let e=this.transport,i=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,r])=>{r(t,e,i)}),(e===this.transport||i>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(Sn.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Fr.connecting:return"connecting";case Fr.open:return"open";case Fr.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(e=>e!==t)}off(t){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([i])=>t.indexOf(i)===-1)}channel(t,e={}){let i=new HI(t,e,this);return this.channels.push(i),i}push(t){if(this.hasLogger()){let{topic:e,event:i,payload:r,ref:n,join_ref:o}=t;this.log("push",`${e} ${i} (${o}, ${n})`,r)}this.isConnected()?this.encode(t,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(t,e=>this.conn.send(e)))}makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}onConnMessage(t){this.decode(t.data,e=>{let{topic:i,event:r,payload:n,ref:o,join_ref:s}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${n.status||""} ${i} ${r} ${o&&"("+o+")"||""}`,n);for(let a=0;a<this.channels.length;a++){let l=this.channels[a];l.isMember(i,r,n,s)&&l.trigger(r,n,o,s)}for(let a=0;a<this.stateChangeCallbacks.message.length;a++){let[,l]=this.stateChangeCallbacks.message[a];l(e)}})}leaveOpenTopic(t){let e=this.channels.find(i=>i.topic===t&&(i.isJoined()||i.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var oS="consecutive-reloads",KI=10,JI=5e3,e7=1e4,t7=3e4,i7=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading","phx-hook-loading"],En="data-phx-component",ug="data-phx-link",r7="track-static",n7="data-phx-link-state",Ti="data-phx-ref",fs="data-phx-ref-src",sS="track-uploads",Cn="data-phx-upload-ref",wg="data-phx-preflighted-refs",o7="data-phx-done-refs",$k="drop-target",yg="data-phx-active-refs",yh="phx:live-file:updated",aS="data-phx-skip",lS="data-phx-id",Xk="data-phx-prune",Rk="page-loading",Lk="phx-connected",ec="phx-loading",fh="phx-error",Ik="phx-client-error",fg="phx-server-error",ps="data-phx-parent-id",kg="data-phx-main",go="data-phx-root-id",xg="viewport-top",vg="viewport-bottom",s7="trigger-action",vh="phx-has-focused",a7=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],cS=["checkbox","radio"],uc="phx-has-submitted",Jr="data-phx-session",Ea=`[${Jr}]`,Dk="data-phx-sticky",ds="data-phx-static",hg="data-phx-readonly",ka="data-phx-disabled",Nk="disable-with",hh="data-phx-disable-with-restore",tc="hook",l7="debounce",c7="throttle",lc="update",dg="stream",pg="data-phx-stream",u7="key",Hr="phxPrivate",Mk="auto-recover",dh="phx:live-socket:debug",Og="phx:live-socket:profiling",mg="phx:live-socket:latency-sim",f7="progress",Uk="mounted",h7=1,d7=200,p7="phx-",O7=3e4,ic="debounce-trigger",rc="throttled",zk="debounce-prev-key",m7={debounce:300,throttle:300},ph="d",Gr="s",gg="r",Si="c",jk="e",qk="r",Wk="t",g7="p",Bk="stream",b7=class{constructor(t,e,i){this.liveSocket=i,this.entry=t,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.errored=!1,this.uploadChannel=i.channel(`lvu:${t.ref}`,{token:t.metadata()})}error(t){this.errored||(this.uploadChannel.leave(),this.errored=!0,clearTimeout(this.chunkTimer),this.entry.error(t))}upload(){this.uploadChannel.onError(t=>this.error(t)),this.uploadChannel.join().receive("ok",t=>this.readNextChunk()).receive("error",t=>this.error(t))}isDone(){return this.offset>=this.entry.file.size}readNextChunk(){let t=new window.FileReader,e=this.entry.file.slice(this.offset,this.chunkSize+this.offset);t.onload=i=>{if(i.target.error===null)this.offset+=i.target.result.byteLength,this.pushChunk(i.target.result);else return Fi("Read error: "+i.target.error)},t.readAsArrayBuffer(e)}pushChunk(t){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",t).receive("ok",()=>{this.entry.progress(this.offset/this.entry.file.size*100),this.isDone()||(this.chunkTimer=setTimeout(()=>this.readNextChunk(),this.liveSocket.getLatencySim()||0))}).receive("error",({reason:e})=>this.error(e))}},Fi=(t,e)=>console.error&&console.error(t,e),Tn=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function y7(){let t=new Set,e=document.querySelectorAll("*[id]");for(let i=0,r=e.length;i<r;i++)t.has(e[i].id)?console.error(`Multiple IDs detected: ${e[i].id}. Ensure unique element ids.`):t.add(e[i].id)}var x7=(t,e,i,r)=>{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${i} - `,r)},nc=t=>typeof t=="function"?t:function(){return t},xh=t=>JSON.parse(JSON.stringify(t)),cc=(t,e,i)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(i&&i.isSameNode(t)||t.matches(Ea)));return null},Sa=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),v7=(t,e)=>JSON.stringify(t)===JSON.stringify(e),Zk=t=>{for(let e in t)return!1;return!0},mo=(t,e)=>t&&e(t),w7=function(t,e,i,r){t.forEach(n=>{new b7(n,i.config.chunk_size,r).upload()})},uS={canPushState(){return typeof history.pushState!="undefined"},dropLocal(t,e,i){return t.removeItem(this.localKey(e,i))},updateLocal(t,e,i,r,n){let o=this.getLocal(t,e,i),s=this.localKey(e,i),a=o===null?r:n(o);return t.setItem(s,JSON.stringify(a)),a},getLocal(t,e,i){return JSON.parse(t.getItem(this.localKey(e,i)))},updateCurrentState(t){this.canPushState()&&history.replaceState(t(history.state||{}),"",window.location.href)},pushState(t,e,i){if(this.canPushState()){if(i!==window.location.href){if(e.type=="redirect"&&e.scroll){let n=history.state||{};n.scroll=e.scroll,history.replaceState(n,"",window.location.href)}delete e.scroll,history[t+"State"](e,"",i||null);let r=this.getHashTargetEl(window.location.hash);r?r.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(i)},setCookie(t,e){document.cookie=`${t}=${e}`},getCookie(t){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${t}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(t,e){e&&uS.setCookie("__phoenix_flash__",e+"; max-age=60000; path=/"),window.location=t},localKey(t,e){return`${t}-${e}`},getHashTargetEl(t){let e=t.toString().substring(1);if(e!=="")return document.getElementById(e)||document.querySelector(`a[name="${e}"]`)}},Kr=uS,k7={focusMain(){let t=document.querySelector("main h1, main, h1");if(t){let e=t.tabIndex;t.tabIndex=-1,t.focus(),t.tabIndex=e}},anyOf(t,e){return e.find(i=>t instanceof i)},isFocusable(t,e){return t instanceof HTMLAnchorElement&&t.rel!=="ignore"||t instanceof HTMLAreaElement&&t.href!==void 0||!t.disabled&&this.anyOf(t,[HTMLInputElement,HTMLSelectElement,HTMLTextAreaElement,HTMLButtonElement])||t instanceof HTMLIFrameElement||t.tabIndex>0||!e&&t.getAttribute("tabindex")!==null&&t.getAttribute("aria-hidden")!=="true"},attemptFocus(t,e){if(this.isFocusable(t,e))try{t.focus()}catch(i){}return!!document.activeElement&&document.activeElement.isSameNode(t)},focusFirstInteractive(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e,!0)||this.focusFirstInteractive(e,!0))return!0;e=e.nextElementSibling}},focusFirst(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e)||this.focusFirst(e))return!0;e=e.nextElementSibling}},focusLast(t){let e=t.lastElementChild;for(;e;){if(this.attemptFocus(e)||this.focusLast(e))return!0;e=e.previousElementSibling}}},Ta=k7,Vk=[],Yk=200,S7={exec(t,e,i,r,n){let[o,s]=n||[null,{callback:n&&n.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,s]]).forEach(([l,c])=>{l===o&&s.data&&(c.data=Object.assign(c.data||{},s.data),c.callback=c.callback||s.callback),this.filterToEls(r,c).forEach(u=>{this[`exec_${l}`](t,e,i,r,u,c)})})},isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length>0)},isInViewport(t){let e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth;return e.right>0&&e.bottom>0&&e.left<r&&e.top<i},exec_exec(t,e,i,r,n,{attr:o,to:s}){(s?te.all(document,s):[r]).forEach(l=>{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${s}"`);i.liveSocket.execJS(l,c,t)})},exec_dispatch(t,e,i,r,n,{to:o,event:s,detail:a,bubbles:l}){a=a||{},a.dispatcher=r,te.dispatchEvent(n,s,{detail:a,bubbles:l})},exec_push(t,e,i,r,n,o){let{event:s,data:a,target:l,page_loading:c,loading:u,value:f,dispatcher:d,callback:p}=o,g={loading:u,value:f,target:l,page_loading:!!c},x=t==="change"&&d?d:r,v=l||x.getAttribute(i.binding("target"))||x;i.withinTargets(v,(S,T)=>{if(S.isConnected())if(t==="change"){let{newCid:$,_target:I}=o;I=I||(te.isFormInput(r)?r.name:void 0),I&&(g._target=I),S.pushInput(r,T,$,s||e,g,p)}else if(t==="submit"){let{submitter:$}=o;S.submitForm(r,T,s||e,$,g,p)}else S.pushEvent(t,r,T,s||e,a,g,p)})},exec_navigate(t,e,i,r,n,{href:o,replace:s}){i.liveSocket.historyRedirect(o,s?"replace":"push")},exec_patch(t,e,i,r,n,{href:o,replace:s}){i.liveSocket.pushHistoryPatch(o,s?"replace":"push",r)},exec_focus(t,e,i,r,n){window.requestAnimationFrame(()=>Ta.attemptFocus(n))},exec_focus_first(t,e,i,r,n){window.requestAnimationFrame(()=>Ta.focusFirstInteractive(n)||Ta.focusFirst(n))},exec_push_focus(t,e,i,r,n){window.requestAnimationFrame(()=>Vk.push(n||r))},exec_pop_focus(t,e,i,r,n){window.requestAnimationFrame(()=>{let o=Vk.pop();o&&o.focus()})},exec_add_class(t,e,i,r,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,o,[],s,a,i)},exec_remove_class(t,e,i,r,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,[],o,s,a,i)},exec_toggle_class(t,e,i,r,n,{to:o,names:s,transition:a,time:l}){this.toggleClasses(n,s,a,l,i)},exec_toggle_attr(t,e,i,r,n,{attr:[o,s,a]}){n.hasAttribute(o)?a!==void 0?n.getAttribute(o)===s?this.setOrRemoveAttrs(n,[[o,a]],[]):this.setOrRemoveAttrs(n,[[o,s]],[]):this.setOrRemoveAttrs(n,[],[o]):this.setOrRemoveAttrs(n,[[o,s]],[])},exec_transition(t,e,i,r,n,{time:o,transition:s}){this.addOrRemoveClasses(n,[],[],s,o,i)},exec_toggle(t,e,i,r,n,{display:o,ins:s,outs:a,time:l}){this.toggle(t,i,n,o,s,a,l)},exec_show(t,e,i,r,n,{display:o,transition:s,time:a}){this.show(t,i,n,o,s,a)},exec_hide(t,e,i,r,n,{display:o,transition:s,time:a}){this.hide(t,i,n,o,s,a)},exec_set_attr(t,e,i,r,n,{attr:[o,s]}){this.setOrRemoveAttrs(n,[[o,s]],[])},exec_remove_attr(t,e,i,r,n,{attr:o}){this.setOrRemoveAttrs(n,[],[o])},show(t,e,i,r,n,o){this.isVisible(i)||this.toggle(t,e,i,r,n,null,o)},hide(t,e,i,r,n,o){this.isVisible(i)&&this.toggle(t,e,i,r,null,n,o)},toggle(t,e,i,r,n,o,s){s=s||Yk;let[a,l,c]=n||[[],[],[]],[u,f,d]=o||[[],[],[]];if(a.length>0||u.length>0)if(this.isVisible(i)){let p=()=>{this.addOrRemoveClasses(i,f,a.concat(l).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(i,u,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(i,d,f))})};i.dispatchEvent(new Event("phx:hide-start")),e.transition(s,p,()=>{this.addOrRemoveClasses(i,[],u.concat(d)),te.putSticky(i,"toggle",g=>g.style.display="none"),i.dispatchEvent(new Event("phx:hide-end"))})}else{if(t==="remove")return;let p=()=>{this.addOrRemoveClasses(i,l,u.concat(f).concat(d));let g=r||this.defaultDisplay(i);te.putSticky(i,"toggle",x=>x.style.display=g),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(i,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(i,c,l))})};i.dispatchEvent(new Event("phx:show-start")),e.transition(s,p,()=>{this.addOrRemoveClasses(i,[],a.concat(c)),i.dispatchEvent(new Event("phx:show-end"))})}else this.isVisible(i)?window.requestAnimationFrame(()=>{i.dispatchEvent(new Event("phx:hide-start")),te.putSticky(i,"toggle",p=>p.style.display="none"),i.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{i.dispatchEvent(new Event("phx:show-start"));let p=r||this.defaultDisplay(i);te.putSticky(i,"toggle",g=>g.style.display=p),i.dispatchEvent(new Event("phx:show-end"))})},toggleClasses(t,e,i,r,n){window.requestAnimationFrame(()=>{let[o,s]=te.getSticky(t,"classes",[[],[]]),a=e.filter(c=>o.indexOf(c)<0&&!t.classList.contains(c)),l=e.filter(c=>s.indexOf(c)<0&&t.classList.contains(c));this.addOrRemoveClasses(t,a,l,i,r,n)})},addOrRemoveClasses(t,e,i,r,n,o){n=n||Yk;let[s,a,l]=r||[[],[],[]];if(s.length>0){let c=()=>{this.addOrRemoveClasses(t,a,[].concat(s).concat(l)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,s,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,l,a))})},u=()=>this.addOrRemoveClasses(t,e.concat(l),i.concat(s).concat(a));return o.transition(n,c,u)}window.requestAnimationFrame(()=>{let[c,u]=te.getSticky(t,"classes",[[],[]]),f=e.filter(x=>c.indexOf(x)<0&&!t.classList.contains(x)),d=i.filter(x=>u.indexOf(x)<0&&t.classList.contains(x)),p=c.filter(x=>i.indexOf(x)<0).concat(f),g=u.filter(x=>e.indexOf(x)<0).concat(d);te.putSticky(t,"classes",x=>(x.classList.remove(...g),x.classList.add(...p),[p,g]))})},setOrRemoveAttrs(t,e,i){let[r,n]=te.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(i),s=r.filter(([l,c])=>!o.includes(l)).concat(e),a=n.filter(l=>!o.includes(l)).concat(i);te.putSticky(t,"attrs",l=>(a.forEach(c=>l.removeAttribute(c)),s.forEach(([c,u])=>l.setAttribute(c,u)),[s,a]))},hasAllClasses(t,e){return e.every(i=>t.classList.contains(i))},isToggledOut(t,e){return!this.isVisible(t)||this.hasAllClasses(t,e)},filterToEls(t,{to:e}){return e?te.all(document,e):[t]},defaultDisplay(t){return{tr:"table-row",td:"table-cell"}[t.tagName.toLowerCase()]||"block"}},_r=S7,hs={byId(t){return document.getElementById(t)||Fi(`no id found for ${t}`)},removeClass(t,e){t.classList.remove(e),t.classList.length===0&&t.removeAttribute("class")},all(t,e,i){if(!t)return[];let r=Array.from(t.querySelectorAll(e));return i?r.forEach(i):r},childNodeLength(t){let e=document.createElement("template");return e.innerHTML=t,e.content.childElementCount},isUploadInput(t){return t.type==="file"&&t.getAttribute(Cn)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){let e=t.id,i=this.all(document,`input[type="file"][${Cn}][form="${e}"]`);return this.all(t,`input[type="file"][${Cn}]`).concat(i)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${En}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&hs.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,i=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),r=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank",n=t.target.hasAttribute("target")&&!t.target.getAttribute("target").startsWith("_");return e||r||i||n},isUnloadableFormSubmit(t){return t.target&&t.target.getAttribute("method")==="dialog"||t.submitter&&t.submitter.getAttribute("formmethod")==="dialog"?!1:!t.defaultPrevented&&!this.wantsNewTab(t)},isNewPageClick(t,e){let i=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,r;if(t.defaultPrevented||i===null||this.wantsNewTab(t)||i.startsWith("mailto:")||i.startsWith("tel:")||t.target.isContentEditable)return!1;try{r=new URL(i)}catch(n){try{r=new URL(i,e)}catch(o){return!0}}return r.host===e.host&&r.protocol===e.protocol&&r.pathname===e.pathname&&r.search===e.search?r.hash===""&&!r.href.endsWith("#"):r.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(Jr,""),this.putPrivate(t,"destroyed",!0)},findPhxChildrenInFragment(t,e){let i=document.createElement("template");return i.innerHTML=t,this.findPhxChildren(i.content,e)},isIgnored(t,e){return(t.getAttribute(e)||t.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(t,e,i){return t.getAttribute&&i.indexOf(t.getAttribute(e))>=0},findPhxSticky(t){return this.all(t,`[${Dk}]`)},findPhxChildren(t,e){return this.all(t,`${Ea}[${ps}="${e}"]`)},findExistingParentCIDs(t,e){let i=new Set,r=new Set;return e.forEach(n=>{this.filterWithinSameLiveView(this.all(t,`[${En}="${n}"]`),t).forEach(o=>{i.add(n),this.all(o,`[${En}]`).map(s=>parseInt(s.getAttribute(En))).forEach(s=>r.add(s))})}),r.forEach(n=>i.delete(n)),i},filterWithinSameLiveView(t,e){return e.querySelector(Ea)?t.filter(i=>this.withinSameLiveView(i,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(Jr)!==null)return!1}},private(t,e){return t[Hr]&&t[Hr][e]},deletePrivate(t,e){t[Hr]&&delete t[Hr][e]},putPrivate(t,e,i){t[Hr]||(t[Hr]={}),t[Hr][e]=i},updatePrivate(t,e,i,r){let n=this.private(t,e);n===void 0?this.putPrivate(t,e,r(i)):this.putPrivate(t,e,r(n))},copyPrivates(t,e){e[Hr]&&(t[Hr]=e[Hr])},putTitle(t){let e=document.querySelector("title");if(e){let{prefix:i,suffix:r}=e.dataset;document.title=`${i||""}${t}${r||""}`}else document.title=t},debounce(t,e,i,r,n,o,s,a){let l=t.getAttribute(i),c=t.getAttribute(n);l===""&&(l=r),c===""&&(c=o);let u=l||c;switch(u){case null:return a();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>{s()&&a()});return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,rc):a(),p=this.incCycle(t,ic,d);if(isNaN(f))return Fi(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let v=this.private(t,zk);this.putPrivate(t,zk,e.key),x=v!==e.key}if(!x&&this.private(t,rc))return!1;{a();let v=setTimeout(()=>{s()&&this.triggerCycle(t,ic)},f);this.putPrivate(t,rc,v)}}else setTimeout(()=>{s()&&this.triggerCycle(t,ic,p)},f);let g=t.form;g&&this.once(g,"bind-debounce")&&g.addEventListener("submit",()=>{Array.from(new FormData(g).entries(),([x])=>{let v=g.querySelector(`[name="${x}"]`);this.incCycle(v,ic),this.deletePrivate(v,rc)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>{clearTimeout(this.private(t,rc)),this.triggerCycle(t,ic)})}},triggerCycle(t,e,i){let[r,n]=this.private(t,e);i||(i=r),i===r&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,i=function(){}){let[r]=this.private(t,e)||[0,i];return r++,this.putPrivate(t,e,[r,i]),r},maybeAddPrivateHooks(t,e,i){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(i))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},isUsedInput(t){return t.nodeType===Node.ELEMENT_NODE&&(this.private(t,vh)||this.private(t,uc))},resetForm(t){Array.from(t.elements).forEach(e=>{this.deletePrivate(e,vh),this.deletePrivate(e,uc)})},isPhxChild(t){return t.getAttribute&&t.getAttribute(ps)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(Dk)!==null},isChildOfAny(t,e){return!!e.find(i=>i.contains(t))},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${ps}]`)[0]},dispatchEvent(t,e,i={}){let r=!0;t.nodeName==="INPUT"&&t.type==="file"&&e==="click"&&(r=!1);let s={bubbles:i.bubbles===void 0?r:!!i.bubbles,cancelable:!0,detail:i.detail||{}},a=e==="click"?new MouseEvent("click",s):new CustomEvent(e,s);t.dispatchEvent(a)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let i=t.cloneNode(!1);return i.innerHTML=e,i}},mergeAttrs(t,e,i={}){let r=new Set(i.exclude||[]),n=i.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;if(r.has(l))l==="value"&&t.value===e.value&&t.setAttribute("value",e.getAttribute(l));else{let c=e.getAttribute(l);t.getAttribute(l)!==c&&(!n||n&&l.startsWith("data-"))&&t.setAttribute(l,c)}}let s=t.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&![Ti,fs].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||hs.mergeAttrs(t,e,{exclude:["value"]}),e.readOnly?t.setAttribute("readonly",!0):t.removeAttribute("readonly")},hasSelectionRange(t){return t.setSelectionRange&&(t.type==="text"||t.type==="textarea")},restoreFocus(t,e,i){if(t instanceof HTMLSelectElement&&t.focus(),!hs.isTextualInput(t))return;t.matches(":focus")||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,i)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&cS.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return a7.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},cleanChildNodes(t,e){if(hs.isPhxUpdate(t,e,["append","prepend"])){let i=[];t.childNodes.forEach(r=>{r.id||(!(r.nodeType===Node.TEXT_NODE&&r.nodeValue.trim()==="")&&r.nodeType!==Node.COMMENT_NODE&&Fi(`only HTML element tags with an id are allowed inside containers with phx-update.
removing illegal node: "${(r.outerHTML||r.nodeValue).trim()}"
`),i.push(r))}),i.forEach(r=>r.remove())}},replaceRootContainer(t,e,i){let r=new Set(["id",Jr,ds,kg,go]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(n=>!r.has(n.name.toLowerCase())).forEach(n=>t.removeAttribute(n.name)),Object.keys(i).filter(n=>!r.has(n.toLowerCase())).forEach(n=>t.setAttribute(n,i[n])),t;{let n=document.createElement(e);return Object.keys(i).forEach(o=>n.setAttribute(o,i[o])),r.forEach(o=>n.setAttribute(o,t.getAttribute(o))),n.innerHTML=t.innerHTML,t.replaceWith(n),n}},getSticky(t,e,i){let r=(hs.private(t,"sticky")||[]).find(([n])=>e===n);if(r){let[n,o,s]=r;return s}else return typeof i=="function"?i():i},deleteSticky(t,e){this.updatePrivate(t,"sticky",[],i=>i.filter(([r,n])=>r!==e))},putSticky(t,e,i){let r=i(t);this.updatePrivate(t,"sticky",[],n=>{let o=n.findIndex(([s])=>e===s);return o>=0?n[o]=[e,i,r]:n.push([e,i,r]),n})},applyStickyOperations(t){let e=hs.private(t,"sticky");e&&e.forEach(([i,r,n])=>this.putSticky(t,i,r))}},te=hs,oc=class{static isActive(t,e){let i=e._phxRef===void 0,n=t.getAttribute(yg).split(",").indexOf(Nt.genFileRef(e))>=0;return e.size>0&&(i||n)}static isPreflighted(t,e){return t.getAttribute(wg).split(",").indexOf(Nt.genFileRef(e))>=0&&this.isActive(t,e)}static isPreflightInProgress(t){return t._preflightInProgress===!0}static markPreflightInProgress(t){t._preflightInProgress=!0}constructor(t,e,i,r){this.ref=Nt.genFileRef(e),this.fileEl=t,this.file=e,this.view=i,this.meta=null,this._isCancelled=!1,this._isDone=!1,this._progress=0,this._lastProgressSent=-1,this._onDone=function(){},this._onElUpdated=this.onElUpdated.bind(this),this.fileEl.addEventListener(yh,this._onElUpdated),this.autoUpload=r}metadata(){return this.meta}progress(t){this._progress=Math.floor(t),this._progress>this._lastProgressSent&&(this._progress>=100?(this._progress=100,this._lastProgressSent=100,this._isDone=!0,this.view.pushFileProgress(this.fileEl,this.ref,100,()=>{Nt.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}isCancelled(){return this._isCancelled}cancel(){this.file._preflightInProgress=!1,this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(t="failed"){this.fileEl.removeEventListener(yh,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),this.isAutoUpload()||Nt.clearFiles(this.fileEl)}isAutoUpload(){return this.autoUpload}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(yh,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(yg).split(",").indexOf(this.ref)===-1&&(Nt.untrackFile(this.fileEl,this.file),this.cancel())}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref,meta:typeof this.file.meta=="function"?this.file.meta():void 0}}uploader(t){if(this.meta.uploader){let e=t[this.meta.uploader]||Fi(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:w7}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Fi(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},T7=0,Nt=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(T7++).toString(),t._phxRef)}static getEntryDataURL(t,e,i){let r=this.activeFiles(t).find(n=>this.genFileRef(n)===e);i(URL.createObjectURL(r))}static hasUploadsInProgress(t){let e=0;return te.findUploadInputs(t).forEach(i=>{i.getAttribute(wg)!==i.getAttribute(o7)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),i={};return e.forEach(r=>{let n={path:t.name},o=t.getAttribute(Cn);i[o]=i[o]||[],n.ref=this.genFileRef(r),n.last_modified=r.lastModified,n.name=r.name||n.ref,n.relative_path=r.webkitRelativePath,n.type=r.type,n.size=r.size,typeof r.meta=="function"&&(n.meta=r.meta()),i[o].push(n)}),i}static clearFiles(t){t.value=null,t.removeAttribute(Cn),te.putPrivate(t,"files",[])}static untrackFile(t,e){te.putPrivate(t,"files",te.private(t,"files").filter(i=>!Object.is(i,e)))}static trackFiles(t,e,i){if(t.getAttribute("multiple")!==null){let r=e.filter(n=>!this.activeFiles(t).find(o=>Object.is(o,n)));te.updatePrivate(t,"files",[],n=>n.concat(r)),t.value=null}else i&&i.files.length>0&&(t.files=i.files),te.putPrivate(t,"files",e)}static activeFileInputs(t){let e=te.findUploadInputs(t);return Array.from(e).filter(i=>i.files&&this.activeFiles(i).length>0)}static activeFiles(t){return(te.private(t,"files")||[]).filter(e=>oc.isActive(t,e))}static inputsAwaitingPreflight(t){let e=te.findUploadInputs(t);return Array.from(e).filter(i=>this.filesAwaitingPreflight(i).length>0)}static filesAwaitingPreflight(t){return this.activeFiles(t).filter(e=>!oc.isPreflighted(t,e)&&!oc.isPreflightInProgress(e))}static markPreflightInProgress(t){t.forEach(e=>oc.markPreflightInProgress(e.file))}constructor(t,e,i){this.autoUpload=te.isAutoUpload(t),this.view=e,this.onComplete=i,this._entries=Array.from(Nt.filesAwaitingPreflight(t)||[]).map(r=>new oc(t,r,e,this.autoUpload)),Nt.markPreflightInProgress(this._entries),this.numEntriesInProgress=this._entries.length}isAutoUpload(){return this.autoUpload}entries(){return this._entries}initAdapterUpload(t,e,i){this._entries=this._entries.map(n=>(n.isCancelled()?(this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()):(n.zipPostFlight(t),n.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()})),n));let r=this._entries.reduce((n,o)=>{if(!o.meta)return n;let{name:s,callback:a}=o.uploader(i.uploaders);return n[s]=n[s]||{callback:a,entries:[]},n[s].entries.push(o),n},{});for(let n in r){let{callback:o,entries:s}=r[n];o(s,e,t,i)}}},fS={LiveFileUpload:{activeRefs(){return this.el.getAttribute(yg)},preflightedRefs(){return this.el.getAttribute(wg)},mounted(){this.preflightedWas=this.preflightedRefs()},updated(){let t=this.preflightedRefs();this.preflightedWas!==t&&(this.preflightedWas=t,t===""&&this.__view.cancelSubmit(this.el.form)),this.activeRefs()===""&&(this.el.value=null),this.el.dispatchEvent(new CustomEvent(yh))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(Cn)),Nt.getEntryDataURL(this.inputEl,this.ref,t=>{this.url=t,this.el.src=t})},destroyed(){URL.revokeObjectURL(this.url)}},FocusWrap:{mounted(){this.focusStart=this.el.firstElementChild,this.focusEnd=this.el.lastElementChild,this.focusStart.addEventListener("focus",()=>Ta.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Ta.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Ta.focusFirst(this.el)}}},hS=t=>["HTML","BODY"].indexOf(t.nodeName.toUpperCase())>=0?null:["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>=0?t:hS(t.parentElement),Fk=t=>t?t.scrollTop:document.documentElement.scrollTop||document.body.scrollTop,Sg=t=>t?t.getBoundingClientRect().bottom:window.innerHeight||document.documentElement.clientHeight,Tg=t=>t?t.getBoundingClientRect().top:0,E7=(t,e)=>{let i=t.getBoundingClientRect();return i.top>=Tg(e)&&i.left>=0&&i.top<=Sg(e)},C7=(t,e)=>{let i=t.getBoundingClientRect();return i.right>=Tg(e)&&i.left>=0&&i.bottom<=Sg(e)},Hk=(t,e)=>{let i=t.getBoundingClientRect();return i.top>=Tg(e)&&i.left>=0&&i.top<=Sg(e)};fS.InfiniteScroll={mounted(){this.scrollContainer=hS(this.el);let t=Fk(this.scrollContainer),e=!1,i=500,r=null,n=this.throttle(i,(a,l)=>{r=()=>!0,this.liveSocket.execJSHookPush(this.el,a,{id:l.id,_overran:!0},()=>{r=null})}),o=this.throttle(i,(a,l)=>{r=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{r=null,window.requestAnimationFrame(()=>{Hk(l,this.scrollContainer)||l.scrollIntoView({block:"start"})})})}),s=this.throttle(i,(a,l)=>{r=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{r=null,window.requestAnimationFrame(()=>{Hk(l,this.scrollContainer)||l.scrollIntoView({block:"end"})})})});this.onScroll=a=>{let l=Fk(this.scrollContainer);if(r)return t=l,r();let c=this.el.getBoundingClientRect(),u=this.el.getAttribute(this.liveSocket.binding("viewport-top")),f=this.el.getAttribute(this.liveSocket.binding("viewport-bottom")),d=this.el.lastElementChild,p=this.el.firstElementChild,g=l<t,x=l>t;g&&u&&!e&&c.top>=0?(e=!0,n(u,p)):x&&e&&c.top<=0&&(e=!1),u&&g&&E7(p,this.scrollContainer)?o(u,p):f&&x&&C7(d,this.scrollContainer)&&s(f,d),t=l},this.scrollContainer?this.scrollContainer.addEventListener("scroll",this.onScroll):window.addEventListener("scroll",this.onScroll)},destroyed(){this.scrollContainer?this.scrollContainer.removeEventListener("scroll",this.onScroll):window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let i=0,r;return(...n)=>{let o=Date.now(),s=t-(o-i);s<=0||s>t?(r&&(clearTimeout(r),r=null),i=o,e(...n)):r||(r=setTimeout(()=>{i=Date.now(),r=null,e(...n)},s))}}};var P7=fS,_7=class{constructor(t,e,i){let r=new Set,n=new Set([...e.children].map(s=>s.id)),o=[];Array.from(t.children).forEach(s=>{if(s.id&&(r.add(s.id),n.has(s.id))){let a=s.previousElementSibling&&s.previousElementSibling.id;o.push({elementId:s.id,previousElementId:a})}}),this.containerId=e.id,this.updateType=i,this.elementsToModify=o,this.elementIdsToAdd=[...n].filter(s=>!r.has(s))}perform(){let t=te.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?mo(document.getElementById(e.previousElementId),i=>{mo(document.getElementById(e.elementId),r=>{r.previousElementSibling&&r.previousElementSibling.id==i.id||i.insertAdjacentElement("afterend",r)})}):mo(document.getElementById(e.elementId),i=>{i.previousElementSibling==null||t.insertAdjacentElement("afterbegin",i)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{mo(document.getElementById(e),i=>t.insertAdjacentElement("afterbegin",i))})}},Gk=11;function Q7(t,e){var i=e.attributes,r,n,o,s,a;if(!(e.nodeType===Gk||t.nodeType===Gk)){for(var l=i.length-1;l>=0;l--)r=i[l],n=r.name,o=r.namespaceURI,s=r.value,o?(n=r.localName||n,a=t.getAttributeNS(o,n),a!==s&&(r.prefix==="xmlns"&&(n=r.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)r=c[u],n=r.name,o=r.namespaceURI,o?(n=r.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var Oh,A7="http://www.w3.org/1999/xhtml",Ri=typeof document=="undefined"?void 0:document,$7=!!Ri&&"content"in Ri.createElement("template"),X7=!!Ri&&Ri.createRange&&"createContextualFragment"in Ri.createRange();function R7(t){var e=Ri.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function L7(t){Oh||(Oh=Ri.createRange(),Oh.selectNode(Ri.body));var e=Oh.createContextualFragment(t);return e.childNodes[0]}function I7(t){var e=Ri.createElement("body");return e.innerHTML=t,e.childNodes[0]}function D7(t){return t=t.trim(),$7?R7(t):X7?L7(t):I7(t)}function mh(t,e){var i=t.nodeName,r=e.nodeName,n,o;return i===r?!0:(n=i.charCodeAt(0),o=r.charCodeAt(0),n<=90&&o>=97?i===r.toUpperCase():o<=90&&n>=97?r===i.toUpperCase():!1)}function N7(t,e){return!e||e===A7?Ri.createElement(t):Ri.createElementNS(e,t)}function M7(t,e){for(var i=t.firstChild;i;){var r=i.nextSibling;e.appendChild(i),i=r}return e}function bg(t,e,i){t[i]!==e[i]&&(t[i]=e[i],t[i]?t.setAttribute(i,""):t.removeAttribute(i))}var Kk={OPTION:function(t,e){var i=t.parentNode;if(i){var r=i.nodeName.toUpperCase();r==="OPTGROUP"&&(i=i.parentNode,r=i&&i.nodeName.toUpperCase()),r==="SELECT"&&!i.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),i.selectedIndex=-1)}bg(t,e,"selected")},INPUT:function(t,e){bg(t,e,"checked"),bg(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var i=e.value;t.value!==i&&(t.value=i);var r=t.firstChild;if(r){var n=r.nodeValue;if(n==i||!i&&n==t.placeholder)return;r.nodeValue=i}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var i=-1,r=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){i=r;break}r++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=i}}},sc=1,Jk=11,eS=3,tS=8;function Oo(){}function U7(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function z7(t){return function(i,r,n){if(n||(n={}),typeof r=="string")if(i.nodeName==="#document"||i.nodeName==="HTML"||i.nodeName==="BODY"){var o=r;r=Ri.createElement("html"),r.innerHTML=o}else r=D7(r);else r.nodeType===Jk&&(r=r.firstElementChild);var s=n.getNodeKey||U7,a=n.onBeforeNodeAdded||Oo,l=n.onNodeAdded||Oo,c=n.onBeforeElUpdated||Oo,u=n.onElUpdated||Oo,f=n.onBeforeNodeDiscarded||Oo,d=n.onNodeDiscarded||Oo,p=n.onBeforeElChildrenUpdated||Oo,g=n.skipFromChildren||Oo,x=n.addChild||function(j,ae){return j.appendChild(ae)},v=n.childrenOnly===!0,S=Object.create(null),T=[];function $(j){T.push(j)}function I(j,ae){if(j.nodeType===sc)for(var V=j.firstChild;V;){var E=void 0;ae&&(E=s(V))?$(E):(d(V),V.firstChild&&I(V,ae)),V=V.nextSibling}}function _(j,ae,V){f(j)!==!1&&(ae&&ae.removeChild(j),d(j),I(j,V))}function A(j){if(j.nodeType===sc||j.nodeType===Jk)for(var ae=j.firstChild;ae;){var V=s(ae);V&&(S[V]=ae),A(ae),ae=ae.nextSibling}}A(i);function q(j){l(j);for(var ae=j.firstChild;ae;){var V=ae.nextSibling,E=s(ae);if(E){var B=S[E];B&&mh(ae,B)?(ae.parentNode.replaceChild(B,ae),F(B,ae)):q(ae)}else q(ae);ae=V}}function le(j,ae,V){for(;ae;){var E=ae.nextSibling;(V=s(ae))?$(V):_(ae,j,!0),ae=E}}function F(j,ae,V){var E=s(ae);if(E&&delete S[E],!V){var B=c(j,ae);if(B===!1||(B instanceof HTMLElement&&(j=B),t(j,ae),u(j),p(j,ae)===!1))return}j.nodeName!=="TEXTAREA"?U(j,ae):Kk.TEXTAREA(j,ae)}function U(j,ae){var V=g(j,ae),E=ae.firstChild,B=j.firstChild,ne,D,Ue,Ze,Ve;e:for(;E;){for(Ze=E.nextSibling,ne=s(E);!V&&B;){if(Ue=B.nextSibling,E.isSameNode&&E.isSameNode(B)){E=Ze,B=Ue;continue e}D=s(B);var Xt=B.nodeType,Xe=void 0;if(Xt===E.nodeType&&(Xt===sc?(ne?ne!==D&&((Ve=S[ne])?Ue===Ve?Xe=!1:(j.insertBefore(Ve,B),D?$(D):_(B,j,!0),B=Ve,D=s(B)):Xe=!1):D&&(Xe=!1),Xe=Xe!==!1&&mh(B,E),Xe&&F(B,E)):(Xt===eS||Xt==tS)&&(Xe=!0,B.nodeValue!==E.nodeValue&&(B.nodeValue=E.nodeValue))),Xe){E=Ze,B=Ue;continue e}D?$(D):_(B,j,!0),B=Ue}if(ne&&(Ve=S[ne])&&mh(Ve,E))V||x(j,Ve),F(Ve,E);else{var _t=a(E);_t!==!1&&(_t&&(E=_t),E.actualize&&(E=E.actualize(j.ownerDocument||Ri)),x(j,E),q(E))}E=Ze,B=Ue}le(j,B,D);var Qt=Kk[j.nodeName];Qt&&Qt(j,ae)}var ie=i,ue=ie.nodeType,re=r.nodeType;if(!v){if(ue===sc)re===sc?mh(i,r)||(d(i),ie=M7(i,N7(r.nodeName,r.namespaceURI))):ie=r;else if(ue===eS||ue===tS){if(re===ue)return ie.nodeValue!==r.nodeValue&&(ie.nodeValue=r.nodeValue),ie;ie=r}}if(ie===r)d(i);else{if(r.isSameNode&&r.isSameNode(ie))return;if(F(ie,r,v),T)for(var he=0,me=T.length;he<me;he++){var ve=S[T[he]];ve&&_(ve,ve.parentNode,!1)}}return!v&&ie!==i&&i.parentNode&&(ie.actualize&&(ie=ie.actualize(i.ownerDocument||Ri)),i.parentNode.replaceChild(ie,i)),ie}}var j7=z7(Q7),iS=j7,gh=class{static patchWithClonedTree(t,e,i){let r=i.getActiveElement(),n=i.binding(lc);iS(t,e,{childrenOnly:!1,onBeforeElUpdated:(o,s)=>{if(te.isIgnored(o,n))return!1;if(r&&r.isSameNode(o)&&te.isFormInput(o))return te.mergeFocusedInput(o,s),!1}})}constructor(t,e,i,r,n,o){this.view=t,this.liveSocket=t.liveSocket,this.container=e,this.id=i,this.rootID=t.root.id,this.html=r,this.streams=n,this.streamInserts={},this.streamComponentRestore={},this.targetCID=o,this.cidPatch=Tn(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),this.targetContainer=this.isCIDPatch()?this.targetCIDContainer(r):e,this.callbacks={beforeadded:[],beforeupdated:[],beforephxChildAdded:[],afteradded:[],afterupdated:[],afterdiscarded:[],afterphxChildAdded:[],aftertransitionsDiscarded:[]}}before(t,e){this.callbacks[`before${t}`].push(e)}after(t,e){this.callbacks[`after${t}`].push(e)}trackBefore(t,...e){this.callbacks[`before${t}`].forEach(i=>i(...e))}trackAfter(t,...e){this.callbacks[`after${t}`].forEach(i=>i(...e))}markPrunableContentForRemoval(){let t=this.liveSocket.binding(lc);te.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(Xk,"")})}perform(t){let{view:e,liveSocket:i,html:r,container:n,targetContainer:o}=this;if(this.isCIDPatch()&&!o)return;let s=i.getActiveElement(),{selectionStart:a,selectionEnd:l}=s&&te.hasSelectionRange(s)?s:{},c=i.binding(lc),u=i.binding(xg),f=i.binding(vg),d=i.binding(s7),p=[],g=[],x=[],v=null;function S(T,$,I=!1){iS(T,$,{childrenOnly:T.getAttribute(En)===null&&!I,getNodeKey:_=>te.isPhxDestroyed(_)?null:t?_.id:_.id||_.getAttribute&&_.getAttribute(lS),skipFromChildren:_=>_.getAttribute(c)===dg,addChild:(_,A)=>{let{ref:q,streamAt:le}=this.getStreamInsert(A);if(q===void 0)return _.appendChild(A);if(this.setStreamRef(A,q),le===0)_.insertAdjacentElement("afterbegin",A);else if(le===-1)_.appendChild(A);else if(le>0){let F=Array.from(_.children)[le];_.insertBefore(A,F)}},onBeforeNodeAdded:_=>{te.maybeAddPrivateHooks(_,u,f),this.trackBefore("added",_);let A=_;return!t&&this.streamComponentRestore[_.id]&&(A=this.streamComponentRestore[_.id],delete this.streamComponentRestore[_.id],S.call(this,A,_,!0)),A},onNodeAdded:_=>{_.getAttribute&&this.maybeReOrderStream(_,!0),_ instanceof HTMLImageElement&&_.srcset?_.srcset=_.srcset:_ instanceof HTMLVideoElement&&_.autoplay&&_.play(),te.isNowTriggerFormExternal(_,d)&&(v=_),(te.isPhxChild(_)&&e.ownsElement(_)||te.isPhxSticky(_)&&e.ownsElement(_.parentNode))&&this.trackAfter("phxChildAdded",_),p.push(_)},onNodeDiscarded:_=>this.onNodeDiscarded(_),onBeforeNodeDiscarded:_=>_.getAttribute&&_.getAttribute(Xk)!==null?!0:!(_.parentElement!==null&&_.id&&te.isPhxUpdate(_.parentElement,c,[dg,"append","prepend"])||this.maybePendingRemove(_)||this.skipCIDSibling(_)),onElUpdated:_=>{te.isNowTriggerFormExternal(_,d)&&(v=_),g.push(_),this.maybeReOrderStream(_,!1)},onBeforeElUpdated:(_,A)=>{if(te.maybeAddPrivateHooks(A,u,f),te.cleanChildNodes(A,c),this.skipCIDSibling(A))return this.maybeReOrderStream(_),!1;if(te.isPhxSticky(_))return[Jr,ds,go].map(F=>[F,_.getAttribute(F),A.getAttribute(F)]).forEach(([F,U,ie])=>{ie&&U!==ie&&_.setAttribute(F,ie)}),!1;if(te.isIgnored(_,c)||_.form&&_.form.isSameNode(v))return this.trackBefore("updated",_,A),te.mergeAttrs(_,A,{isIgnored:te.isIgnored(_,c)}),g.push(_),te.applyStickyOperations(_),!1;if(_.type==="number"&&_.validity&&_.validity.badInput)return!1;let q=s&&_.isSameNode(s)&&te.isFormInput(_),le=q&&this.isChangedSelect(_,A);if(_.hasAttribute(Ti)){te.isUploadInput(_)&&(te.mergeAttrs(_,A,{isIgnored:!0}),this.trackBefore("updated",_,A),g.push(_)),te.applyStickyOperations(_);let F=te.private(_,Ti)||_.cloneNode(!0);te.putPrivate(_,Ti,F),q||(_=F)}if(te.isPhxChild(A)){let F=_.getAttribute(Jr);return te.mergeAttrs(_,A,{exclude:[ds]}),F!==""&&_.setAttribute(Jr,F),_.setAttribute(go,this.rootID),te.applyStickyOperations(_),!1}return te.copyPrivates(A,_),q&&_.type!=="hidden"&&!le?(this.trackBefore("updated",_,A),te.mergeFocusedInput(_,A),te.syncAttrsToProps(_),g.push(_),te.applyStickyOperations(_),!1):(le&&_.blur(),te.isPhxUpdate(A,c,["append","prepend"])&&x.push(new _7(_,A,A.getAttribute(c))),te.syncAttrsToProps(A),te.applyStickyOperations(A),this.trackBefore("updated",_,A),_)}})}return this.trackBefore("added",n),this.trackBefore("updated",n,n),i.time("morphdom",()=>{this.streams.forEach(([T,$,I,_])=>{$.forEach(([A,q,le])=>{this.streamInserts[A]={ref:T,streamAt:q,limit:le,reset:_}}),_!==void 0&&te.all(n,`[${pg}="${T}"]`,A=>{this.removeStreamChildElement(A)}),I.forEach(A=>{let q=n.querySelector(`[id="${A}"]`);q&&this.removeStreamChildElement(q)})}),t&&te.all(this.container,`[${c}=${dg}]`,T=>{this.liveSocket.owner(T,$=>{$===this.view&&Array.from(T.children).forEach(I=>{this.removeStreamChildElement(I)})})}),S.call(this,o,r)}),i.isDebugEnabled()&&(y7(),Array.from(document.querySelectorAll("input[name=id]")).forEach(T=>{T.form&&console.error(`Detected an input with name="id" inside a form! This will cause problems when patching the DOM.
`,T)})),x.length>0&&i.time("post-morph append/prepend restoration",()=>{x.forEach(T=>T.perform())}),i.silenceEvents(()=>te.restoreFocus(s,a,l)),te.dispatchEvent(document,"phx:update"),p.forEach(T=>this.trackAfter("added",T)),g.forEach(T=>this.trackAfter("updated",T)),this.transitionPendingRemoves(),v&&(i.unload(),Object.getPrototypeOf(v).submit.call(v)),!0}onNodeDiscarded(t){(te.isPhxChild(t)||te.isPhxSticky(t))&&this.liveSocket.destroyViewByEl(t),this.trackAfter("discarded",t)}maybePendingRemove(t){return t.getAttribute&&t.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(t),!0):!1}removeStreamChildElement(t){this.streamInserts[t.id]?(this.streamComponentRestore[t.id]=t,t.remove()):this.maybePendingRemove(t)||(t.remove(),this.onNodeDiscarded(t))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}setStreamRef(t,e){te.putSticky(t,pg,i=>i.setAttribute(pg,e))}maybeReOrderStream(t,e){let{ref:i,streamAt:r,reset:n}=this.getStreamInsert(t);if(r!==void 0&&(this.setStreamRef(t,i),!(!n&&!e)&&t.parentElement)){if(r===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(r>0){let o=Array.from(t.parentElement.children),s=o.indexOf(t);if(r>=o.length-1)t.parentElement.appendChild(t);else{let a=o[r];s>r?t.parentElement.insertBefore(t,a):t.parentElement.insertBefore(t,a.nextElementSibling)}}this.maybeLimitStream(t)}}maybeLimitStream(t){let{limit:e}=this.getStreamInsert(t),i=e!==null&&Array.from(t.parentElement.children);e&&e<0&&i.length>e*-1?i.slice(0,i.length+e).forEach(r=>this.removeStreamChildElement(r)):e&&e>=0&&i.length>e&&i.slice(e).forEach(r=>this.removeStreamChildElement(r))}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&(e.transitionRemoves(t),e.requestDOMUpdate(()=>{t.forEach(i=>{let r=te.firstPhxChild(i);r&&e.destroyViewByEl(r),i.remove()}),this.trackAfter("transitionsDiscarded",t)}))}isChangedSelect(t,e){if(!(t instanceof HTMLSelectElement)||t.multiple)return!1;if(t.options.length!==e.options.length)return!0;let i=t.selectedOptions[0],r=e.selectedOptions[0];return i&&i.hasAttribute("selected")&&r.setAttribute("selected",i.getAttribute("selected")),!t.isEqualNode(e)}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(aS)}targetCIDContainer(t){if(!this.isCIDPatch())return;let[e,...i]=te.findComponentNodeList(this.container,this.targetCID);return i.length===0&&te.childNodeLength(t)===1?e:e&&e.parentNode}indexOf(t,e){return Array.from(t.children).indexOf(e)}},q7=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),W7=new Set(["'",'"']),rS=(t,e,i)=>{let r=0,n=!1,o,s,a,l,c,u,f=t.match(/^(\s*(?:<!--.*?-->\s*)*)<([^\s\/>]+)/);if(f===null)throw new Error(`malformed html ${t}`);for(r=f[0].length,o=f[1],a=f[2],l=r,r;r<t.length&&t.charAt(r)!==">";r++)if(t.charAt(r)==="="){let g=t.slice(r-3,r)===" id";r++;let x=t.charAt(r);if(W7.has(x)){let v=r;for(r++,r;r<t.length&&t.charAt(r)!==x;r++);if(g){c=t.slice(v+1,r);break}}}let d=t.length-1;for(n=!1;d>=o.length+a.length;){let g=t.charAt(d);if(n)g==="-"&&t.slice(d-3,d)==="<!-"?(n=!1,d-=4):d-=1;else if(g===">"&&t.slice(d-2,d)==="--")n=!0,d-=3;else{if(g===">")break;d-=1}}s=t.slice(d+1,t.length);let p=Object.keys(e).map(g=>e[g]===!0?g:`${g}="${e[g]}"`).join(" ");if(i){let g=c?` id="${c}"`:"";q7.has(a)?u=`<${a}${g}${p===""?"":" "}${p}/>`:u=`<${a}${g}${p===""?"":" "}${p}></${a}>`}else{let g=t.slice(l,d+1);u=`<${a}${p===""?"":" "}${p}${g}`}return[u,o,s]},nS=class{static extract(t){let{[qk]:e,[jk]:i,[Wk]:r}=t;return delete t[qk],delete t[jk],delete t[Wk],{diff:t,title:r,reply:e||null,events:i||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,i]=this.recursiveToString(this.rendered,this.rendered[Si],t,!0,{});return[e,i]}recursiveToString(t,e=t[Si],i,r,n){i=i?new Set(i):null;let o={buffer:"",components:e,onlyCids:i,streams:new Set};return this.toOutputBuffer(t,null,o,r,n),[o.buffer,o.streams]}componentCIDs(t){return Object.keys(t[Si]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[Si]?Object.keys(t).length===1:!1}getComponent(t,e){return t[Si][e]}resetRender(t){this.rendered[Si][t]&&(this.rendered[Si][t].reset=!0)}mergeDiff(t){let e=t[Si],i={};if(delete t[Si],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[Si]=this.rendered[Si]||{},e){let r=this.rendered[Si];for(let n in e)e[n]=this.cachedFindComponent(n,e[n],r,e,i);for(let n in e)r[n]=e[n];t[Si]=e}}cachedFindComponent(t,e,i,r,n){if(n[t])return n[t];{let o,s,a=e[Gr];if(Tn(a)){let l;a>0?l=this.cachedFindComponent(a,r[a],i,r,n):l=i[-a],s=l[Gr],o=this.cloneMerge(l,e,!0),o[Gr]=s}else o=e[Gr]!==void 0||i[t]===void 0?e:this.cloneMerge(i[t],e,!1);return n[t]=o,o}}mutableMerge(t,e){return e[Gr]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let i in e){let r=e[i],n=t[i];Sa(r)&&r[Gr]===void 0&&Sa(n)?this.doMutableMerge(n,r):t[i]=r}t[gg]&&(t.newRender=!0)}cloneMerge(t,e,i){let r=H(H({},t),e);for(let n in r){let o=e[n],s=t[n];Sa(o)&&o[Gr]===void 0&&Sa(s)?r[n]=this.cloneMerge(s,o,i):o===void 0&&Sa(s)&&(r[n]=this.cloneMerge(s,{},i))}return i?(delete r.magicId,delete r.newRender):t[gg]&&(r.newRender=!0),r}componentToString(t){let[e,i]=this.recursiveCIDToString(this.rendered[Si],t,null),[r,n,o]=rS(e,{});return[r,i]}pruneCIDs(t){t.forEach(e=>delete this.rendered[Si][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[Gr]}templateStatic(t,e){return typeof t=="number"?e[t]:t}nextMagicID(){return this.magicId++,`m${this.magicId}-${this.parentViewId()}`}toOutputBuffer(t,e,i,r,n={}){if(t[ph])return this.comprehensionToBuffer(t,e,i);let{[Gr]:o}=t;o=this.templateStatic(o,e);let s=t[gg],a=i.buffer;s&&(i.buffer=""),r&&s&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),i.buffer+=o[0];for(let l=1;l<o.length;l++)this.dynamicToBuffer(t[l-1],e,i,r),i.buffer+=o[l];if(s){let l=!1,c;r||t.magicId?(l=r&&!t.newRender,c=H({[lS]:t.magicId},n)):c=n,l&&(c[aS]=!0);let[u,f,d]=rS(i.buffer,c,l);t.newRender=!1,i.buffer=a+f+u+d}}comprehensionToBuffer(t,e,i){let{[ph]:r,[Gr]:n,[Bk]:o}=t,[s,a,l,c]=o||[null,{},[],null];n=this.templateStatic(n,e);let u=e||t[g7];for(let f=0;f<r.length;f++){let d=r[f];i.buffer+=n[0];for(let p=1;p<n.length;p++)this.dynamicToBuffer(d[p-1],u,i,!1),i.buffer+=n[p]}o!==void 0&&(t[ph].length>0||l.length>0||c)&&(delete t[Bk],t[ph]=[],i.streams.add(o))}dynamicToBuffer(t,e,i,r){if(typeof t=="number"){let[n,o]=this.recursiveCIDToString(i.components,t,i.onlyCids);i.buffer+=n,i.streams=new Set([...i.streams,...o])}else Sa(t)?this.toOutputBuffer(t,e,i,r,{}):i.buffer+=t}recursiveCIDToString(t,e,i){let r=t[e]||Fi(`no component for CID ${e}`,t),n={[En]:e},o=i&&!i.has(e);r.newRender=!o,r.magicId=`c${e}-${this.parentViewId()}`;let s=!r.reset,[a,l]=this.recursiveToString(r,t,i,s,n);return delete r.reset,[a,l]}},B7=1,ac=class{static makeID(){return B7++}static elementID(t){return t.phxHookId}constructor(t,e,i){this.__view=t,this.liveSocket=t.liveSocket,this.__callbacks=i,this.__listeners=new Set,this.__isDisconnected=!1,this.el=e,this.el.phxHookId=this.constructor.makeID();for(let r in this.__callbacks)this[r]=this.__callbacks[r]}__mounted(){this.mounted&&this.mounted()}__updated(){this.updated&&this.updated()}__beforeUpdate(){this.beforeUpdate&&this.beforeUpdate()}__destroyed(){this.destroyed&&this.destroyed()}__reconnected(){this.__isDisconnected&&(this.__isDisconnected=!1,this.reconnected&&this.reconnected())}__disconnected(){this.__isDisconnected=!0,this.disconnected&&this.disconnected()}pushEvent(t,e={},i=function(){}){return this.__view.pushHookEvent(this.el,null,t,e,i)}pushEventTo(t,e,i={},r=function(){}){return this.__view.withinTargets(t,(n,o)=>n.pushHookEvent(this.el,o,e,i,r))}handleEvent(t,e){let i=(r,n)=>n?t:e(r.detail);return window.addEventListener(`phx:${t}`,i),this.__listeners.add(i),i}removeHandleEvent(t){let e=t(null,!0);window.removeEventListener(`phx:${e}`,t),this.__listeners.delete(t)}upload(t,e){return this.__view.dispatchUploads(null,t,e)}uploadTo(t,e,i){return this.__view.withinTargets(t,(r,n)=>{r.dispatchUploads(n,e,i)})}__cleanup__(){this.__listeners.forEach(t=>this.removeHandleEvent(t))}},Z7=(t,e)=>{let i=t.endsWith("[]"),r=i?t.slice(0,-2):t;return r=r.replace(/([^\[\]]+)(\]?$)/,`${e}$1$2`),i&&(r+="[]"),r},bh=(t,e,i=[])=>{let u=e,{submitter:r}=u,n=pi(u,["submitter"]),o;if(r&&r.name){let f=document.createElement("input");f.type="hidden";let d=r.getAttribute("form");d&&f.setAttribute("form",d),f.name=r.name,f.value=r.value,r.parentElement.insertBefore(f,r),o=f}let s=new FormData(t),a=[];s.forEach((f,d,p)=>{f instanceof File&&a.push(d)}),a.forEach(f=>s.delete(f));let l=new URLSearchParams,c=Array.from(t.elements);for(let[f,d]of s.entries())if(i.length===0||i.indexOf(f)>=0){let p=c.filter(v=>v.name===f),g=!p.some(v=>te.private(v,vh)||te.private(v,uc)),x=p.every(v=>v.type==="hidden");g&&!(r&&r.name==f)&&!x&&l.append(Z7(f,"_unused_"),""),l.append(f,d)}r&&o&&r.parentElement.removeChild(o);for(let f in n)l.append(f,n[f]);return l.toString()},dS=class{constructor(t,e,i,r,n){this.isDead=!1,this.liveSocket=e,this.flash=r,this.parent=i,this.root=i?i.root:this,this.el=t,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pendingForms=new Set,this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.formsForRecovery={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>{let o=this.href&&this.expandURL(this.href);return{redirect:this.redirect?o:void 0,url:this.redirect?void 0:o||void 0,params:this.connectParams(n),session:this.getSession(),static:this.getStatic(),flash:this.flash}})}setHref(t){this.href=t}setRedirect(t){this.redirect=!0,this.href=t}isMain(){return this.el.hasAttribute(kg)}connectParams(t){let e=this.liveSocket.params(this.el),i=te.all(document,`[${this.binding(r7)}]`).map(r=>r.src||r.href).filter(r=>typeof r=="string");return i.length>0&&(e._track_static=i),e._mounts=this.joinCount,e._live_referer=t,e}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(Jr)}getStatic(){let t=this.el.getAttribute(ds);return t===""?null:t}destroy(t=function(){}){this.destroyAllChildren(),this.destroyed=!0,delete this.root.children[this.id],this.parent&&delete this.root.children[this.parent.id][this.id],clearTimeout(this.loaderTimer);let e=()=>{t();for(let i in this.viewHooks)this.destroyHook(this.viewHooks[i])};te.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",e).receive("error",e).receive("timeout",e)}setContainerClasses(...t){this.el.classList.remove(Lk,ec,fh,Ik,fg),this.el.classList.add(...t)}showLoader(t){if(clearTimeout(this.loaderTimer),t)this.loaderTimer=setTimeout(()=>this.showLoader(),t);else{for(let e in this.viewHooks)this.viewHooks[e].__disconnected();this.setContainerClasses(ec)}}execAll(t){te.all(this.el,`[${t}]`,e=>this.liveSocket.execJS(e,e.getAttribute(t)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(Lk),this.execAll(this.binding("connected"))}triggerReconnected(){for(let t in this.viewHooks)this.viewHooks[t].__reconnected()}log(t,e){this.liveSocket.log(this,t,e)}transition(t,e,i=function(){}){this.liveSocket.transition(t,e,i)}withinTargets(t,e,i=document,r){if(t instanceof HTMLElement||t instanceof SVGElement)return this.liveSocket.owner(t,n=>e(n,t));if(Tn(t))te.findComponentNodeList(r||this.el,t).length===0?Fi(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let n=Array.from(i.querySelectorAll(t));n.length===0&&Fi(`nothing found matching the phx-target selector "${t}"`),n.forEach(o=>this.liveSocket.owner(o,s=>e(s,o)))}}applyDiff(t,e,i){this.log(t,()=>["",xh(e)]);let{diff:r,reply:n,events:o,title:s}=nS.extract(e);i({diff:r,reply:n,events:o}),typeof s=="string"&&window.requestAnimationFrame(()=>te.putTitle(s))}onJoin(t){let{rendered:e,container:i,liveview_version:r}=t;if(i){let[n,o]=i;this.el=te.replaceRootContainer(this.el,n,o)}this.childJoins=0,this.joinPending=!0,this.flash=null,this.root===this&&(this.formsForRecovery=this.getFormsForRecovery()),r!==this.liveSocket.version()&&console.error(`LiveView asset version mismatch. JavaScript version ${this.liveSocket.version()} vs. server ${r}. To avoid issues, please ensure that your assets use the same version as the server.`),Kr.dropLocal(this.liveSocket.localStorage,window.location.pathname,oS),this.applyDiff("mount",e,({diff:n,events:o})=>{this.rendered=new nS(this.id,n);let[s,a]=this.renderContainer(null,"join");this.dropPendingRefs(),this.joinCount++,this.maybeRecoverForms(s,()=>{this.onJoinComplete(t,s,a,o)})})}dropPendingRefs(){te.all(document,`[${fs}="${this.id}"][${Ti}]`,t=>{t.removeAttribute(Ti),t.removeAttribute(fs)})}onJoinComplete({live_patch:t},e,i,r){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(t,e,i,r);te.findPhxChildrenInFragment(e,this.id).filter(o=>{let s=o.id&&this.el.querySelector(`[id="${o.id}"]`),a=s&&s.getAttribute(ds);return a&&o.setAttribute(ds,a),s&&s.setAttribute(go,this.root.id),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,i,r)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(t,e,i,r)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,i,r)])}attachTrueDocEl(){this.el=te.byId(this.id),this.el.setAttribute(go,this.root.id)}execNewMounted(t=this.el){let e=this.binding(xg),i=this.binding(vg);te.all(t,`[${e}], [${i}]`,r=>{this.ownsElement(r)&&(te.maybeAddPrivateHooks(r,e,i),this.maybeAddNewHook(r))}),te.all(t,`[${this.binding(tc)}], [data-phx-${tc}]`,r=>{this.ownsElement(r)&&this.maybeAddNewHook(r)}),te.all(t,`[${this.binding(Uk)}]`,r=>{this.ownsElement(r)&&this.maybeMounted(r)})}applyJoinPatch(t,e,i,r){this.attachTrueDocEl();let n=new gh(this,this.el,this.id,e,i,null);if(n.markPrunableContentForRemoval(),this.performPatch(n,!1,!0),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(r),this.applyPendingUpdates(),t){let{kind:o,to:s}=t;this.liveSocket.historyPatch(s,o)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(t,e){this.liveSocket.triggerDOM("onBeforeElUpdated",[t,e]);let i=this.getHook(t),r=i&&te.isIgnored(t,this.binding(lc));if(i&&!t.isEqualNode(e)&&!(r&&v7(t.dataset,e.dataset)))return i.__beforeUpdate(),i}maybeMounted(t){let e=t.getAttribute(this.binding(Uk)),i=e&&te.private(t,"mounted");e&&!i&&(this.liveSocket.execJS(t,e),te.putPrivate(t,"mounted",!0))}maybeAddNewHook(t,e){let i=this.addHook(t);i&&i.__mounted()}performPatch(t,e,i=!1){let r=[],n=!1,o=new Set;return this.liveSocket.triggerDOM("onPatchStart",[t.targetContainer]),t.after("added",s=>{this.liveSocket.triggerDOM("onNodeAdded",[s]);let a=this.binding(xg),l=this.binding(vg);te.maybeAddPrivateHooks(s,a,l),this.maybeAddNewHook(s),s.getAttribute&&this.maybeMounted(s)}),t.after("phxChildAdded",s=>{te.isPhxSticky(s)?this.liveSocket.joinRootViews():n=!0}),t.before("updated",(s,a)=>{this.triggerBeforeUpdateHook(s,a)&&o.add(s.id)}),t.after("updated",s=>{o.has(s.id)&&this.getHook(s).__updated()}),t.after("discarded",s=>{s.nodeType===Node.ELEMENT_NODE&&r.push(s)}),t.after("transitionsDiscarded",s=>this.afterElementsRemoved(s,e)),t.perform(i),this.afterElementsRemoved(r,e),this.liveSocket.triggerDOM("onPatchEnd",[t.targetContainer]),n}afterElementsRemoved(t,e){let i=[];t.forEach(r=>{let n=te.all(r,`[${En}]`),o=te.all(r,`[${this.binding(tc)}]`);n.concat(r).forEach(s=>{let a=this.componentID(s);Tn(a)&&i.indexOf(a)===-1&&i.push(a)}),o.concat(r).forEach(s=>{let a=this.getHook(s);a&&this.destroyHook(a)})}),e&&this.maybePushComponentsDestroyed(i)}joinNewChildren(){te.findPhxChildren(this.el,this.id).forEach(t=>this.joinChild(t))}maybeRecoverForms(t,e){let i=this.binding("change"),r=this.root.formsForRecovery,n=document.createElement("template");n.innerHTML=t;let o=n.content.firstElementChild;o.id=this.id,o.setAttribute(go,this.root.id),o.setAttribute(Jr,this.getSession()),o.setAttribute(ds,this.getStatic()),o.setAttribute(ps,this.parent?this.parent.id:null);let s=te.all(n.content,"form").filter(a=>a.id&&r[a.id]).filter(a=>!this.pendingForms.has(a.id)).filter(a=>r[a.id].getAttribute(i)===a.getAttribute(i)).map(a=>[r[a.id],a]);if(s.length===0)return e();s.forEach(([a,l],c)=>{this.pendingForms.add(l.id),this.pushFormRecovery(a,l,n.content.firstElementChild,()=>{this.pendingForms.delete(l.id),c===s.length-1&&e()})})}getChildById(t){return this.root.children[this.id][t]}getDescendentByEl(t){return t.id===this.id?this:this.children[t.getAttribute(ps)][t.id]}destroyDescendent(t){for(let e in this.root.children)for(let i in this.root.children[e])if(i===t)return this.root.children[e][i].destroy()}joinChild(t){if(!this.getChildById(t.id)){let i=new dS(t,this.liveSocket,this);return this.root.children[this.id][i.id]=i,i.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(t){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.pendingForms.clear(),this.formsForRecovery={},this.joinCallback(()=>{this.pendingJoinOps.forEach(([t,e])=>{t.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(t,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:t,events:e});this.rendered.mergeDiff(t);let i=!1;this.rendered.isComponentOnlyDiff(t)?this.liveSocket.time("component patch complete",()=>{te.findExistingParentCIDs(this.el,this.rendered.componentCIDs(t)).forEach(n=>{this.componentPatch(this.rendered.getComponent(t,n),n)&&(i=!0)})}):Zk(t)||this.liveSocket.time("full patch complete",()=>{let[r,n]=this.renderContainer(t,"update"),o=new gh(this,this.el,this.id,r,n,null);i=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),i&&this.joinNewChildren()}renderContainer(t,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let i=this.el.tagName,r=t?this.rendered.componentCIDs(t):null,[n,o]=this.rendered.toString(r);return[`<${i}>${n}</${i}>`,o]})}componentPatch(t,e){if(Zk(t))return!1;let[i,r]=this.rendered.componentToString(e),n=new gh(this,this.el,this.id,i,r,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[ac.elementID(t)]}addHook(t){if(ac.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${tc}`)||t.getAttribute(this.binding(tc));if(e&&!this.ownsElement(t))return;let i=this.liveSocket.getHookCallbacks(e);if(i){t.id||Fi(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let r=new ac(this,t,i);return this.viewHooks[ac.elementID(r.el)]=r,r}else e!==null&&Fi(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[ac.elementID(t.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:t,events:e})=>this.update(t,e)),this.pendingDiffs=[],this.eachChild(t=>t.applyPendingUpdates())}eachChild(t){let e=this.root.children[this.id]||{};for(let i in e)t(this.getChildById(i))}onChannel(t,e){this.liveSocket.onChannel(this.channel,t,i=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(i)]):this.liveSocket.requestDOMUpdate(()=>e(i))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",t=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",t,({diff:e,events:i})=>this.update(e,i))})}),this.onChannel("redirect",({to:t,flash:e})=>this.onRedirect({to:t,flash:e})),this.onChannel("live_patch",t=>this.onLivePatch(t)),this.onChannel("live_redirect",t=>this.onLiveRedirect(t)),this.channel.onError(t=>this.onError(t)),this.channel.onClose(t=>this.onClose(t))}destroyAllChildren(){this.eachChild(t=>t.destroy())}onLiveRedirect(t){let{to:e,kind:i,flash:r}=t,n=this.expandURL(e);this.liveSocket.historyRedirect(n,i,r)}onLivePatch(t){let{to:e,kind:i}=t;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,i)}expandURL(t){return t.startsWith("/")?`${window.location.protocol}//${window.location.host}${t}`:t}onRedirect({to:t,flash:e}){this.liveSocket.redirect(t,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(t){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},t?t(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(t){if(t.reason==="reload"){this.log("error",()=>[`failed mount with ${t.status}. Falling back to page request`,t]),this.isMain()&&this.onRedirect({to:this.href});return}else if(t.reason==="unauthorized"||t.reason==="stale"){this.log("error",()=>["unauthorized live_redirect. Falling back to page request",t]),this.isMain()&&this.onRedirect({to:this.href});return}if((t.redirect||t.live_redirect)&&(this.joinPending=!1,this.channel.leave()),t.redirect)return this.onRedirect(t.redirect);if(t.live_redirect)return this.onLiveRedirect(t.live_redirect);this.displayError([ec,fh,fg]),this.log("error",()=>["unable to join",t]),this.liveSocket.isConnected()&&this.liveSocket.reloadWithJitter(this)}onClose(t){if(!this.isDestroyed()){if(this.liveSocket.hasPendingLink()&&t!=="leave")return this.liveSocket.reloadWithJitter(this);this.destroyAllChildren(),this.liveSocket.dropActiveElement(this),document.activeElement&&document.activeElement.blur(),this.liveSocket.isUnloaded()&&this.showLoader(d7)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([ec,fh,fg]):this.displayError([ec,fh,Ik]))}displayError(t){this.isMain()&&te.dispatchEvent(window,"phx:page-loading-start",{detail:{to:this.href,kind:"error"}}),this.showLoader(),this.setContainerClasses(...t),this.execAll(this.binding("disconnected"))}pushWithReply(t,e,i,r=function(){}){if(!this.isConnected())return;let[n,[o],s]=t?t():[null,[],{}],a=function(){};return(s.page_loading||o&&o.getAttribute(this.binding(Rk))!==null)&&(a=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof i.cid!="number"&&delete i.cid,this.liveSocket.wrapPush(this,{timeout:!0},()=>this.channel.push(e,i,O7).receive("ok",l=>{let c=u=>{l.redirect&&this.onRedirect(l.redirect),l.live_patch&&this.onLivePatch(l.live_patch),l.live_redirect&&this.onLiveRedirect(l.live_redirect),a(),r(l,u)};l.diff?this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",l.diff,({diff:u,reply:f,events:d})=>{n!==null&&this.undoRefs(n),this.update(u,d),c(f)})}):(n!==null&&this.undoRefs(n),c(null))}))}undoRefs(t,e){e=e?new Set(e):null,this.isConnected()&&te.all(document,`[${fs}="${this.id}"][${Ti}="${t}"]`,i=>{e&&!e.has(i)||this.undoElRef(i,t)})}undoElRef(t,e){if(!(parseInt(t.getAttribute(Ti),10)<=e))return;t.dispatchEvent(new CustomEvent("phx:unlock",{bubbles:!0,cancelable:!1}));let i=t.getAttribute(ka),r=t.getAttribute(hg);t.removeAttribute(Ti),t.removeAttribute(fs),r!==null&&(t.readOnly=r==="true",t.removeAttribute(hg)),i!==null&&(t.disabled=i==="true",t.removeAttribute(ka)),i7.forEach(s=>te.removeClass(t,s));let n=t.getAttribute(hh);n!==null&&(t.innerText=n,t.removeAttribute(hh));let o=te.private(t,Ti);if(o){let s=this.triggerBeforeUpdateHook(t,o);gh.patchWithClonedTree(t,o,this.liveSocket),te.all(t,`[${fs}="${this.id}"][${Ti}]`,a=>this.undoElRef(a,e)),this.execNewMounted(t),s&&s.__updated(),te.deletePrivate(t,Ti)}}putRef(t,e,i={}){let r=this.ref++,n=this.binding(Nk);i.loading&&(t=t.concat(te.all(document,i.loading)));for(let o of t){if(o.setAttribute(Ti,r),o.setAttribute(fs,this.el.id),i.submitter&&!(o===i.submitter||o===i.form))continue;o.classList.add(`phx-${e}-loading`),o.dispatchEvent(new CustomEvent(`phx:${e}-loading`,{bubbles:!0,cancelable:!1}));let s=o.getAttribute(n);s!==null&&(o.getAttribute(hh)||o.setAttribute(hh,o.innerText),s!==""&&(o.innerText=s),o.setAttribute(ka,o.getAttribute(ka)||o.disabled),o.setAttribute("disabled",""))}return[r,t,i]}componentID(t){let e=t.getAttribute&&t.getAttribute(En);return e?parseInt(e):null}targetComponentID(t,e,i={}){if(Tn(e))return e;let r=i.target||t.getAttribute(this.binding("target"));return Tn(r)?parseInt(r):e&&(r!==null||i.target)?this.closestComponentID(e):null}closestComponentID(t){return Tn(t)?t:t?mo(t.closest(`[${En}]`),e=>this.ownsElement(e)&&this.componentID(e)):null}pushHookEvent(t,e,i,r,n){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",i,r]),!1;let[o,s,a]=this.putRef([t],"hook");return this.pushWithReply(()=>[o,s,a],"event",{type:"hook",event:i,value:r,cid:this.closestComponentID(e)},(l,c)=>n(c,o)),o}extractMeta(t,e,i){let r=this.binding("value-");for(let n=0;n<t.attributes.length;n++){e||(e={});let o=t.attributes[n].name;o.startsWith(r)&&(e[o.replace(r,"")]=t.getAttribute(o))}if(t.value!==void 0&&!(t instanceof HTMLFormElement)&&(e||(e={}),e.value=t.value,t.tagName==="INPUT"&&cS.indexOf(t.type)>=0&&!t.checked&&delete e.value),i){e||(e={});for(let n in i)e[n]=i[n]}return e}pushEvent(t,e,i,r,n,o={},s){this.pushWithReply(()=>this.putRef([e],t,o),"event",{type:t,event:r,value:this.extractMeta(e,n,o.value),cid:this.targetComponentID(e,i,o)},(a,l)=>s&&s(l))}pushFileProgress(t,e,i,r=function(){}){this.liveSocket.withinOwners(t.form,(n,o)=>{n.pushWithReply(null,"progress",{event:t.getAttribute(n.binding(f7)),ref:t.getAttribute(Cn),entry_ref:e,progress:i,cid:n.targetComponentID(t.form,o)},r)})}pushInput(t,e,i,r,n,o){let s,a=Tn(i)?i:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t instanceof HTMLButtonElement&&(u.submitter=t),t.getAttribute(this.binding("change"))?c=bh(t.form,H({_target:n._target},u),[t.name]):c=bh(t.form,H({_target:n._target},u)),te.isUploadInput(t)&&t.files&&t.files.length>0&&Nt.trackFiles(t,Array.from(t.files)),s=Nt.serializeUploads(t);let f={type:"form",event:r,value:c,uploads:s,cid:a};this.pushWithReply(l,"event",f,d=>{if(te.isUploadInput(t)&&te.isAutoUpload(t)){if(Nt.filesAwaitingPreflight(t).length>0){let[p,g]=l();this.undoRefs(p,[t.form]),this.uploadFiles(t.form,e,p,a,x=>{o&&o(d),this.triggerAwaitingSubmit(t.form),this.undoRefs(p)})}}else o&&o(d)})}triggerAwaitingSubmit(t){let e=this.getScheduledSubmit(t);if(e){let[i,r,n,o]=e;this.cancelSubmit(t),o()}}getScheduledSubmit(t){return this.formSubmits.find(([e,i,r,n])=>e.isSameNode(t))}scheduleSubmit(t,e,i,r){if(this.getScheduledSubmit(t))return!0;this.formSubmits.push([t,e,i,r])}cancelSubmit(t){this.formSubmits=this.formSubmits.filter(([e,i,r])=>e.isSameNode(t)?(this.undoRefs(i),!1):!0)}disableForm(t,e={}){let i=u=>!(cc(u,`${this.binding(lc)}=ignore`,u.form)||cc(u,"data-phx-update=ignore",u.form)),r=u=>u.hasAttribute(this.binding(Nk)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),s=Array.from(t.elements),a=s.filter(r),l=s.filter(n).filter(i),c=s.filter(o).filter(i);return l.forEach(u=>{u.setAttribute(ka,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(hg,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute(ka,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(Rk),""),this.putRef([t].concat(a).concat(l).concat(c),"submit",e)}pushFormSubmit(t,e,i,r,n,o){let s=()=>this.disableForm(t,Ce(H({},n),{form:t,submitter:r})),a=this.targetComponentID(t,e);if(Nt.hasUploadsInProgress(t)){let[l,c]=s(),u=()=>this.pushFormSubmit(t,e,i,r,n,o);return this.scheduleSubmit(t,l,n,u)}else if(Nt.inputsAwaitingPreflight(t).length>0){let[l,c]=s(),u=()=>[l,c,n];this.uploadFiles(t,e,l,a,f=>{if(Nt.inputsAwaitingPreflight(t).length>0)return this.undoRefs(l);let d=this.extractMeta(t),p=bh(t,H({submitter:r},d));this.pushWithReply(u,"event",{type:"form",event:i,value:p,cid:a},o)})}else if(!(t.hasAttribute(Ti)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=bh(t,H({submitter:r},l));this.pushWithReply(s,"event",{type:"form",event:i,value:c,cid:a},o)}}uploadFiles(t,e,i,r,n){let o=this.joinCount,s=Nt.activeFileInputs(t),a=s.length;s.forEach(l=>{let c=new Nt(l,this,()=>{a--,a===0&&n()}),u=c.entries().map(d=>d.toPreflightPayload());if(u.length===0){a--;return}let f={ref:l.getAttribute(Cn),entries:u,cid:this.targetComponentID(l.form,e)};this.log("upload",()=>["sending preflight request",f]),this.pushWithReply(null,"allow_upload",f,d=>{if(this.log("upload",()=>["got preflight response",d]),c.entries().forEach(p=>{d.entries&&!d.entries[p.ref]&&this.handleFailedEntryPreflight(p.ref,"failed preflight",c)}),d.error||Object.keys(d.entries).length===0)this.undoRefs(i),(d.error||[]).map(([g,x])=>{this.handleFailedEntryPreflight(g,x,c)});else{let p=g=>{this.channel.onError(()=>{this.joinCount===o&&g()})};c.initAdapterUpload(d,p,this.liveSocket)}})})}handleFailedEntryPreflight(t,e,i){if(i.isAutoUpload()){let r=i.entries().find(n=>n.ref===t.toString());r&&r.cancel()}else i.entries().map(r=>r.cancel());this.log("upload",()=>[`error for entry ${t}`,e])}dispatchUploads(t,e,i){let r=this.targetCtxElement(t)||this.el,n=te.findUploadInputs(r).filter(o=>o.name===e);n.length===0?Fi(`no live file inputs found matching the name "${e}"`):n.length>1?Fi(`duplicate live file inputs found matching the name "${e}"`):te.dispatchEvent(n[0],sS,{detail:{files:i}})}targetCtxElement(t){if(Tn(t)){let[e]=te.findComponentNodeList(this.el,t);return e}else return t||null}pushFormRecovery(t,e,i,r){let n=this.binding("change"),o=e.getAttribute(this.binding("target"))||e,s=e.getAttribute(this.binding(Mk))||e.getAttribute(this.binding("change")),a=Array.from(t.elements).filter(u=>te.isFormInput(u)&&u.name&&!u.hasAttribute(n));if(a.length===0)return;a.forEach(u=>u.hasAttribute(Cn)&&Nt.clearFiles(u));let l=a.find(u=>u.type!=="hidden")||a[0],c=0;this.withinTargets(o,(u,f)=>{let d=this.targetComponentID(e,f);c++,u.pushInput(l,f,d,s,{_target:l.name},()=>{c--,c===0&&r()})},i,i)}pushLinkPatch(t,e,i){let r=this.liveSocket.setPendingLink(t),n=e?()=>this.putRef([e],"click"):null,o=()=>this.liveSocket.redirect(window.location.href),s=t.startsWith("/")?`${location.protocol}//${location.host}${t}`:t,a=this.pushWithReply(n,"live_patch",{url:s},l=>{this.liveSocket.requestDOMUpdate(()=>{l.link_redirect?this.liveSocket.replaceMain(t,null,i,r):(this.liveSocket.commitPendingLink(r)&&(this.href=t),this.applyPendingUpdates(),i&&i(r))})});a?a.receive("timeout",o):o()}getFormsForRecovery(){if(this.joinCount===0)return{};let t=this.binding("change");return te.all(this.el,`form[${t}]`).filter(e=>e.id).filter(e=>e.elements.length>0).filter(e=>e.getAttribute(this.binding(Mk))!=="ignore").map(e=>e.cloneNode(!0)).reduce((e,i)=>(e[i.id]=i,e),{})}maybePushComponentsDestroyed(t){let e=t.filter(i=>te.findComponentNodeList(this.el,i).length===0);e.length>0&&(e.forEach(i=>this.rendered.resetRender(i)),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.liveSocket.requestDOMUpdate(()=>{let i=e.filter(r=>te.findComponentNodeList(this.el,r).length===0);i.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:i},r=>{this.rendered.pruneCIDs(r.cids)})})}))}ownsElement(t){let e=t.closest(Ea);return t.getAttribute(ps)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(t,e,i,r,n={}){te.putPrivate(t,uc,!0),Array.from(t.elements).forEach(s=>te.putPrivate(s,uc,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,i,r,n,()=>{this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}};var pS=class{constructor(t,e,i={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(`
a phoenix Socket must be provided as the second argument to the LiveSocket constructor. For example:
import {Socket} from "phoenix"
import {LiveSocket} from "phoenix_live_view"
let liveSocket = new LiveSocket("/live", Socket, {...})
`);this.socket=new e(t,i),this.bindingPrefix=i.bindingPrefix||p7,this.opts=i,this.params=nc(i.params||{}),this.viewLogger=i.viewLogger,this.metadataCallbacks=i.metadata||{},this.defaults=Object.assign(xh(m7),i.defaults||{}),this.activeElement=null,this.prevActive=null,this.silenced=!1,this.main=null,this.outgoingMainEl=null,this.clickStartedAtTarget=null,this.linkRef=1,this.roots={},this.href=window.location.href,this.pendingLink=null,this.currentLocation=xh(window.location),this.hooks=i.hooks||{},this.uploaders=i.uploaders||{},this.loaderTimeout=i.loaderTimeout||h7,this.reloadWithJitterTimer=null,this.maxReloads=i.maxReloads||KI,this.reloadJitterMin=i.reloadJitterMin||JI,this.reloadJitterMax=i.reloadJitterMax||e7,this.failsafeJitter=i.failsafeJitter||t7,this.localStorage=i.localStorage||window.localStorage,this.sessionStorage=i.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.boundEventNames=new Set,this.serverCloseRef=null,this.domCallbacks=Object.assign({onPatchStart:nc(),onPatchEnd:nc(),onNodeAdded:nc(),onBeforeElUpdated:nc()},i.dom||{}),this.transitions=new V7,window.addEventListener("pagehide",r=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}version(){return"1.0.0-rc.5"}isProfileEnabled(){return this.sessionStorage.getItem(Og)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(dh)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(dh)==="false"}enableDebug(){this.sessionStorage.setItem(dh,"true")}enableProfiling(){this.sessionStorage.setItem(Og,"true")}disableDebug(){this.sessionStorage.setItem(dh,"false")}disableProfiling(){this.sessionStorage.removeItem(Og)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(mg,t)}disableLatencySim(){this.sessionStorage.removeItem(mg)}getLatencySim(){let t=this.sessionStorage.getItem(mg);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?t():document.addEventListener("DOMContentLoaded",()=>t())}disconnect(t){clearTimeout(this.reloadWithJitterTimer),this.serverCloseRef&&(this.socket.off(this.serverCloseRef),this.serverCloseRef=null),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,i=null){this.owner(t,r=>_r.exec(i,e,r,t))}execJSHookPush(t,e,i,r){this.withinOwners(t,n=>{_r.exec("hook",e,n,t,["push",{data:i,callback:r}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(t,e){this.domCallbacks[t](...e)}time(t,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(t);let i=e();return console.timeEnd(t),i}log(t,e,i){if(this.viewLogger){let[r,n]=i();this.viewLogger(t,e,r,n)}else if(this.isDebugEnabled()){let[r,n]=i();x7(t,e,r,n)}}requestDOMUpdate(t){this.transitions.after(t)}transition(t,e,i=function(){}){this.transitions.addTransition(t,e,i)}onChannel(t,e,i){t.on(e,r=>{let n=this.getLatencySim();n?setTimeout(()=>i(r),n):i(r)})}wrapPush(t,e,i){let r=this.getLatencySim(),n=t.joinCount;if(!r)return this.isConnected()&&e.timeout?i().receive("timeout",()=>{t.joinCount===n&&!t.isDestroyed()&&this.reloadWithJitter(t,()=>{this.log(t,"timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}):i();let o={receives:[],receive(s,a){this.receives.push([s,a])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((s,[a,l])=>s.receive(a,l),i())},r),o}reloadWithJitter(t,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let i=this.reloadJitterMin,r=this.reloadJitterMax,n=Math.floor(Math.random()*(r-i+1))+i,o=Kr.updateLocal(this.localStorage,window.location.pathname,oS,0,s=>s+1);o>this.maxReloads&&(n=this.failsafeJitter),this.reloadWithJitterTimer=setTimeout(()=>{t.isDestroyed()||t.isConnected()||(t.destroy(),e?e():this.log(t,"join",()=>[`encountered ${o} consecutive reloads`]),o>this.maxReloads&&this.log(t,"join",()=>[`exceeded ${this.maxReloads} consecutive reloads. Entering failsafe mode`]),this.hasPendingLink()?window.location=this.pendingLink:window.location.reload())},n)}getHookCallbacks(t){return t&&t.startsWith("Phoenix.")?P7[t.split(".")[1]]:this.hooks[t]}isUnloaded(){return this.unloaded}isConnected(){return this.socket.isConnected()}getBindingPrefix(){return this.bindingPrefix}binding(t){return`${this.getBindingPrefix()}${t}`}channel(t,e){return this.socket.channel(t,e)}joinDeadView(){let t=document.body;if(t&&!this.isPhxView(t)&&!this.isPhxView(document.firstElementChild)){let e=this.newRootView(t);e.setHref(this.getHref()),e.joinDead(),this.main||(this.main=e),window.requestAnimationFrame(()=>e.execNewMounted())}}joinRootViews(){let t=!1;return te.all(document,`${Ea}:not([${ps}])`,e=>{if(!this.getRootById(e.id)){let i=this.newRootView(e);i.setHref(this.getHref()),i.join(),e.hasAttribute(kg)&&(this.main=i)}t=!0}),t}redirect(t,e){this.unload(),Kr.redirect(t,e)}replaceMain(t,e,i=null,r=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=te.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,n),this.main.setRedirect(t),this.transitionRemoves(null,!0),this.main.join((s,a)=>{s===1&&this.commitPendingLink(r)&&this.requestDOMUpdate(()=>{te.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,i&&i(r),a()})})}transitionRemoves(t,e){let i=this.binding("remove");if(t=t||te.all(document,`[${i}]`),e){let r=te.findPhxSticky(document)||[];t=t.filter(n=>!te.isChildOfAny(n,r))}t.forEach(r=>{for(let n of this.boundEventNames)r.addEventListener(n,o=>{o.preventDefault(),o.stopImmediatePropagation()},!0);this.execJS(r,r.getAttribute(i),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(Jr)!==null}newRootView(t,e,i){let r=new dS(t,this,null,e,i);return this.roots[r.id]=r,r}owner(t,e){let i=mo(t.closest(Ea),r=>this.getViewByEl(r))||this.main;i&&e(i)}withinOwners(t,e){this.owner(t,i=>e(i,t))}getViewByEl(t){let e=t.getAttribute(go);return mo(this.getRootById(e),i=>i.getDescendentByEl(t))}getRootById(t){return this.roots[t]}destroyAllViews(){for(let t in this.roots)this.roots[t].destroy(),delete this.roots[t];this.main=null}destroyViewByEl(t){let e=this.getRootById(t.getAttribute(go));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}setActiveElement(t){if(this.activeElement===t)return;this.activeElement=t;let e=()=>{t===this.activeElement&&(this.activeElement=null),t.removeEventListener("mouseup",this),t.removeEventListener("touchend",this)};t.addEventListener("mouseup",e),t.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(t){this.prevActive&&t.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:t}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.serverCloseRef=this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),t||this.bindNav(),this.bindClicks(),t||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,i,r,n,o,s)=>{let a=n.getAttribute(this.binding(u7)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=H({key:e.key},this.eventMeta(i,e,n));_r.exec(i,o,r,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,i,r,n,o,s)=>{if(!s){let a=H({key:e.key},this.eventMeta(i,e,n));_r.exec(i,o,r,n,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,i,r,n,o,s)=>{if(s==="window"){let a=this.eventMeta(i,e,n);_r.exec(i,o,r,n,["push",{data:a}])}}),this.on("dragover",e=>e.preventDefault()),this.on("drop",e=>{e.preventDefault();let i=mo(cc(e.target,this.binding($k)),o=>o.getAttribute(this.binding($k))),r=i&&document.getElementById(i),n=Array.from(e.dataTransfer.files||[]);!r||r.disabled||n.length===0||!(r.files instanceof FileList)||(Nt.trackFiles(r,n,e.dataTransfer),r.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(sS,e=>{let i=e.target;if(!te.isUploadInput(i))return;let r=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);Nt.trackFiles(i,r),i.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(t,e,i){let r=this.metadataCallbacks[t];return r?r(e,i):{}}setPendingLink(t){return this.linkRef++,this.pendingLink=t,this.linkRef}commitPendingLink(t){return this.linkRef!==t?!1:(this.href=this.pendingLink,this.pendingLink=null,!0)}getHref(){return this.href}hasPendingLink(){return!!this.pendingLink}bind(t,e){for(let i in t){let r=t[i];this.on(r,n=>{let o=this.binding(i),s=this.binding(`window-${i}`),a=n.target.getAttribute&&n.target.getAttribute(o);a?this.debounce(n.target,n,r,()=>{this.withinOwners(n.target,l=>{e(n,i,l,n.target,a,null)})}):te.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,n,r,()=>{this.withinOwners(l,u=>{e(n,i,u,l,c,"window")})})})})}}bindClicks(){this.on("mousedown",t=>this.clickStartedAtTarget=t.target),this.bindClick("click","click")}bindClick(t,e){let i=this.binding(e);window.addEventListener(t,r=>{let n=null;r.detail===0&&(this.clickStartedAtTarget=r.target);let o=this.clickStartedAtTarget||r.target;n=cc(o,i),this.dispatchClickAway(r,o),this.clickStartedAtTarget=null;let s=n&&n.getAttribute(i);if(!s){te.isNewPageClick(r,window.location)&&this.unload();return}n.getAttribute("href")==="#"&&r.preventDefault(),!n.hasAttribute(Ti)&&this.debounce(n,r,"click",()=>{this.withinOwners(n,a=>{_r.exec("click",s,a,n,["push",{data:this.eventMeta("click",r,n)}])})})},!1)}dispatchClickAway(t,e){let i=this.binding("click-away");te.all(document,`[${i}]`,r=>{r.isSameNode(e)||r.contains(e)||this.withinOwners(r,n=>{let o=r.getAttribute(i);_r.isVisible(r)&&_r.isInViewport(r)&&_r.exec("click",o,n,r,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!Kr.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{Kr.updateCurrentState(i=>Object.assign(i,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:i,id:r,root:n,scroll:o}=e.state||{},s=window.location.href;te.dispatchEvent(window,"phx:navigate",{detail:{href:s,patch:i==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&i==="patch"&&r===this.main.id?this.main.pushLinkPatch(s,null,()=>{this.maybeScroll(o)}):this.replaceMain(s,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let i=cc(e.target,ug),r=i&&i.getAttribute(ug);if(!r||!this.isConnected()||!this.main||te.wantsNewTab(e))return;let n=i.href instanceof SVGAnimatedString?i.href.baseVal:i.href,o=i.getAttribute(n7);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(r==="patch")this.pushHistoryPatch(n,o,i);else if(r==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${ug} to be "patch" or "redirect", got: ${r}`);let s=i.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(i,s,"click"))})},!1)}maybeScroll(t){typeof t=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,t)})}dispatchEvent(t,e={}){te.dispatchEvent(window,`phx:${t}`,{detail:e})}dispatchEvents(t){t.forEach(([e,i])=>this.dispatchEvent(e,i))}withPageLoading(t,e){te.dispatchEvent(window,"phx:page-loading-start",{detail:t});let i=()=>te.dispatchEvent(window,"phx:page-loading-stop",{detail:t});return e?e(i):i}pushHistoryPatch(t,e,i){if(!this.isConnected()||!this.main.isMain())return Kr.redirect(t);this.withPageLoading({to:t,kind:"patch"},r=>{this.main.pushLinkPatch(t,i,n=>{this.historyPatch(t,e,n),r()})})}historyPatch(t,e,i=this.setPendingLink(t)){this.commitPendingLink(i)&&(Kr.pushState(e,{type:"patch",id:this.main.id},t),te.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,i){if(!this.isConnected()||!this.main.isMain())return Kr.redirect(t,i);if(/^\/$|^\/[^\/]+.*$/.test(t)){let{protocol:n,host:o}=window.location;t=`${n}//${o}${t}`}let r=window.scrollY;this.withPageLoading({to:t,kind:"redirect"},n=>{this.replaceMain(t,i,o=>{o===this.linkRef&&(Kr.pushState(e,{type:"redirect",id:this.main.id,scroll:r},t),te.dispatchEvent(window,"phx:navigate",{detail:{href:t,patch:!1,pop:!1}}),this.registerNewLocation(window.location)),n()})})}replaceRootHistory(){Kr.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(t){let{pathname:e,search:i}=this.currentLocation;return e+i===t.pathname+t.search?!1:(this.currentLocation=xh(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",i=>{let r=i.target.getAttribute(this.binding("submit")),n=i.target.getAttribute(this.binding("change"));!e&&n&&!r&&(e=!0,i.preventDefault(),this.withinOwners(i.target,o=>{o.disableForm(i.target),window.requestAnimationFrame(()=>{te.isUnloadableFormSubmit(i)&&this.unload(),i.target.submit()})}))}),this.on("submit",i=>{let r=i.target.getAttribute(this.binding("submit"));if(!r){te.isUnloadableFormSubmit(i)&&this.unload();return}i.preventDefault(),i.target.disabled=!0,this.withinOwners(i.target,n=>{_r.exec("submit",r,n,i.target,["push",{submitter:i.submitter}])})});for(let i of["change","input"])this.on(i,r=>{let n=this.binding("change"),o=r.target,s=o.getAttribute(n),a=o.form&&o.form.getAttribute(n),l=s||a;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=s?o:o.form,u=t;t++;let{at:f,type:d}=te.private(o,"prev-iteration")||{};f===u-1&&i==="change"&&d==="input"||(te.putPrivate(o,"prev-iteration",{at:u,type:i}),this.debounce(o,r,i,()=>{this.withinOwners(c,p=>{te.putPrivate(o,vh,!0),te.isTextualInput(o)||this.setActiveElement(o),_r.exec("change",l,p,o,["push",{_target:r.target.name,dispatcher:c}])})}))});this.on("reset",i=>{let r=i.target;te.resetForm(r);let n=Array.from(r.elements).find(o=>o.type==="reset");n&&window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,i,r){if(i==="blur"||i==="focusout")return r();let n=this.binding(l7),o=this.binding(c7),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);te.debounce(t,e,n,s,o,a,c,()=>{r()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){this.boundEventNames.add(t),window.addEventListener(t,i=>{this.silenced||e(i)})}},V7=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(t=>{clearTimeout(t),this.transitions.delete(t)}),this.flushPendingOps()}after(t){this.size()===0?t():this.pushPendingOp(t)}addTransition(t,e,i){e();let r=setTimeout(()=>{this.transitions.delete(r),i(),this.flushPendingOps()},t);this.transitions.add(r)}pushPendingOp(t){this.pendingOps.push(t)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let t=this.pendingOps.shift();t&&(t(),this.flushPendingOps())}};var OS="livebook:";function Os(t){try{let e=localStorage.getItem(OS+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Ca(t,e){try{let i=JSON.stringify(e);localStorage.setItem(OS+t,i)}catch(i){console.error(`Failed to write to local storage, reason: ${i.message}`)}}var mS="app_auth_token:";function gS(t,e){Ca(mS+t,e)}function bS(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],i=Os(mS+e);if(i)return i}return null}var Y7={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{gS(t,e),this.pushEvent("app_auth_persisted")})}},yS=Y7;function ht(t,e){let i={};for(let r of e){let n=`data-p-${r}`;if(!t.hasAttribute(n))throw new Error(`Missing attribute "${n}" on element <${t.tagName}:${t.id}>`);let o=t.getAttribute(n);i[F7(r)]=JSON.parse(o)}return i}function F7(t){let[e,...i]=t.split("-");return[e,...i.map(r=>r.charAt(0).toUpperCase()+r.slice(1))].join("")}function xS(t,e,i){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),s=t.byteLength/4,a=4,l=e*a,c=i*l,u=s*l,f=0;function d(S){o.setUint32(f,S,!1),f+=4}function p(S){o.setUint32(f,S,!0),f+=4}function g(S){o.setUint16(f,S,!0),f+=2}function x(S){o.setFloat32(f,S,!0),f+=4}d(1380533830),p(36+u),d(1463899717),d(1718449184),p(16),g(3),g(e),p(i),p(c),g(l),g(a*8),d(1684108385),p(u);let v=new Float32Array(t);for(let S=0;S<v.length;S++)x(v[S]);return n}var fc=4;function vS(t,e){let r=new TextEncoder().encode(JSON.stringify(t)),n=new ArrayBuffer(fc+r.byteLength+e.byteLength);return new DataView(n).setUint32(0,r.byteLength),new Uint8Array(n,fc,r.byteLength).set(r),new Uint8Array(n,fc+r.byteLength).set(new Uint8Array(e)),n}function wS(t){let i=new DataView(t).getUint32(0),r=new Uint8Array(t,fc,i),n=t.slice(fc+i),o=new TextDecoder;return[JSON.parse(o.decode(r)),n]}var Eg=["bg-yellow-100","border-yellow-300"],H7={mounted(){this.props=this.getProps(),this.inputEl=this.el.querySelector("[data-input]"),this.audioEl=this.el.querySelector("[data-preview]"),this.uploadButton=this.el.querySelector("[data-btn-upload]"),this.recordButton=this.el.querySelector("[data-btn-record]"),this.stopButton=this.el.querySelector("[data-btn-stop]"),this.cancelButton=this.el.querySelector("[data-btn-cancel]"),this.mediaRecorder=null,this.audioEl.src=this.props.audioUrl,this.uploadButton.addEventListener("click",t=>{this.inputEl.click()}),this.inputEl.addEventListener("change",t=>{let[e]=t.target.files;e&&this.loadFile(e)}),this.el.addEventListener("dragover",t=>{t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}),this.el.addEventListener("drop",t=>{t.stopPropagation(),t.preventDefault();let[e]=t.dataTransfer.files;e&&!this.isRecording()&&this.loadFile(e)}),this.el.addEventListener("dragenter",t=>{this.el.classList.add(...Eg)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...Eg)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...Eg)}),this.recordButton.addEventListener("click",t=>{this.startRecording()}),this.stopButton.addEventListener("click",t=>{this.stopRecording()}),this.cancelButton.addEventListener("click",t=>{this.stopRecording(!1)})},updated(){this.props=this.getProps(),this.audioEl.src=this.props.audioUrl},getProps(){return ht(this.el,["id","phx-target","sampling-rate","endianness","format","audio-url"])},startRecording(){this.audioEl.classList.add("hidden"),this.uploadButton.classList.add("hidden"),this.recordButton.classList.add("hidden"),this.stopButton.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.audioChunks=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(t=>{this.mediaRecorder=new MediaRecorder(t),this.mediaRecorder.addEventListener("dataavailable",e=>{this.audioChunks.push(e.data)}),this.mediaRecorder.start()})},stopRecording(t=!0){this.audioEl.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),this.recordButton.classList.remove("hidden"),this.stopButton.classList.add("hidden"),this.cancelButton.classList.add("hidden"),t&&this.mediaRecorder.addEventListener("stop",e=>{new Blob(this.audioChunks).arrayBuffer().then(r=>{this.loadEncodedAudio(r)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(t){let e=new FileReader;e.onload=i=>{this.loadEncodedAudio(i.target.result)},e.readAsArrayBuffer(t)},loadEncodedAudio(t){this.pushEventTo(this.props.phxTarget,"decoding",{}),new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(t,i=>{let r=G7(i);this.pushAudio(r)})},pushAudio(t){let e={num_channels:t.numChannels,sampling_rate:t.samplingRate},i=this.encodeAudio(t),r=new Blob([i]);r.meta=()=>e,this.uploadTo(this.props.phxTarget,"file",[r])},encodeAudio(t){if(this.props.format==="pcm_f32")return K7(t.data,this.props.endianness);if(this.props.format==="wav")return xS(t.data,t.numChannels,t.samplingRate)}};function G7(t){let e=t.numberOfChannels,i=t.sampleRate,r=t.length,n=4*e*r,o=new ArrayBuffer(n),s=new Float32Array(o);for(let a=0;a<e;a++){let l=t.getChannelData(a);for(let c=0;c<l.length;c++)s[e*c+a]=l[c]}return{data:s.buffer,numChannels:e,samplingRate:i}}function K7(t,e){if(J7()===e)return t;for(let i=0;i<t.byteLength/4;i++){let r=t[i],n=t[i+1],o=t[i+2],s=t[i+3];t[i]=s,t[i+1]=o,t[i+2]=n,t[i+3]=r}return t}function J7(){let t=new ArrayBuffer(2),e=new Uint16Array(t),i=new Uint8Array(t);return e[0]=1,i[0]===1?"little":"big"}var kS=H7;var SS=11;function e8(t,e){var i=e.attributes,r,n,o,s,a;if(!(e.nodeType===SS||t.nodeType===SS)){for(var l=i.length-1;l>=0;l--)r=i[l],n=r.name,o=r.namespaceURI,s=r.value,o?(n=r.localName||n,a=t.getAttributeNS(o,n),a!==s&&(r.prefix==="xmlns"&&(n=r.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)r=c[u],n=r.name,o=r.namespaceURI,o?(n=r.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var wh,t8="http://www.w3.org/1999/xhtml",Li=typeof document=="undefined"?void 0:document,i8=!!Li&&"content"in Li.createElement("template"),r8=!!Li&&Li.createRange&&"createContextualFragment"in Li.createRange();function n8(t){var e=Li.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function o8(t){wh||(wh=Li.createRange(),wh.selectNode(Li.body));var e=wh.createContextualFragment(t);return e.childNodes[0]}function s8(t){var e=Li.createElement("body");return e.innerHTML=t,e.childNodes[0]}function a8(t){return t=t.trim(),i8?n8(t):r8?o8(t):s8(t)}function kh(t,e){var i=t.nodeName,r=e.nodeName,n,o;return i===r?!0:(n=i.charCodeAt(0),o=r.charCodeAt(0),n<=90&&o>=97?i===r.toUpperCase():o<=90&&n>=97?r===i.toUpperCase():!1)}function l8(t,e){return!e||e===t8?Li.createElement(t):Li.createElementNS(e,t)}function c8(t,e){for(var i=t.firstChild;i;){var r=i.nextSibling;e.appendChild(i),i=r}return e}function Cg(t,e,i){t[i]!==e[i]&&(t[i]=e[i],t[i]?t.setAttribute(i,""):t.removeAttribute(i))}var TS={OPTION:function(t,e){var i=t.parentNode;if(i){var r=i.nodeName.toUpperCase();r==="OPTGROUP"&&(i=i.parentNode,r=i&&i.nodeName.toUpperCase()),r==="SELECT"&&!i.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),i.selectedIndex=-1)}Cg(t,e,"selected")},INPUT:function(t,e){Cg(t,e,"checked"),Cg(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var i=e.value;t.value!==i&&(t.value=i);var r=t.firstChild;if(r){var n=r.nodeValue;if(n==i||!i&&n==t.placeholder)return;r.nodeValue=i}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var i=-1,r=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){i=r;break}r++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=i}}},hc=1,ES=11,CS=3,PS=8;function bo(){}function u8(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function f8(t){return function(i,r,n){if(n||(n={}),typeof r=="string")if(i.nodeName==="#document"||i.nodeName==="HTML"||i.nodeName==="BODY"){var o=r;r=Li.createElement("html"),r.innerHTML=o}else r=a8(r);else r.nodeType===ES&&(r=r.firstElementChild);var s=n.getNodeKey||u8,a=n.onBeforeNodeAdded||bo,l=n.onNodeAdded||bo,c=n.onBeforeElUpdated||bo,u=n.onElUpdated||bo,f=n.onBeforeNodeDiscarded||bo,d=n.onNodeDiscarded||bo,p=n.onBeforeElChildrenUpdated||bo,g=n.skipFromChildren||bo,x=n.addChild||function(j,ae){return j.appendChild(ae)},v=n.childrenOnly===!0,S=Object.create(null),T=[];function $(j){T.push(j)}function I(j,ae){if(j.nodeType===hc)for(var V=j.firstChild;V;){var E=void 0;ae&&(E=s(V))?$(E):(d(V),V.firstChild&&I(V,ae)),V=V.nextSibling}}function _(j,ae,V){f(j)!==!1&&(ae&&ae.removeChild(j),d(j),I(j,V))}function A(j){if(j.nodeType===hc||j.nodeType===ES)for(var ae=j.firstChild;ae;){var V=s(ae);V&&(S[V]=ae),A(ae),ae=ae.nextSibling}}A(i);function q(j){l(j);for(var ae=j.firstChild;ae;){var V=ae.nextSibling,E=s(ae);if(E){var B=S[E];B&&kh(ae,B)?(ae.parentNode.replaceChild(B,ae),F(B,ae)):q(ae)}else q(ae);ae=V}}function le(j,ae,V){for(;ae;){var E=ae.nextSibling;(V=s(ae))?$(V):_(ae,j,!0),ae=E}}function F(j,ae,V){var E=s(ae);E&&delete S[E],!(!V&&(c(j,ae)===!1||(t(j,ae),u(j),p(j,ae)===!1)))&&(j.nodeName!=="TEXTAREA"?U(j,ae):TS.TEXTAREA(j,ae))}function U(j,ae){var V=g(j,ae),E=ae.firstChild,B=j.firstChild,ne,D,Ue,Ze,Ve;e:for(;E;){for(Ze=E.nextSibling,ne=s(E);!V&&B;){if(Ue=B.nextSibling,E.isSameNode&&E.isSameNode(B)){E=Ze,B=Ue;continue e}D=s(B);var Xt=B.nodeType,Xe=void 0;if(Xt===E.nodeType&&(Xt===hc?(ne?ne!==D&&((Ve=S[ne])?Ue===Ve?Xe=!1:(j.insertBefore(Ve,B),D?$(D):_(B,j,!0),B=Ve,D=s(B)):Xe=!1):D&&(Xe=!1),Xe=Xe!==!1&&kh(B,E),Xe&&F(B,E)):(Xt===CS||Xt==PS)&&(Xe=!0,B.nodeValue!==E.nodeValue&&(B.nodeValue=E.nodeValue))),Xe){E=Ze,B=Ue;continue e}D?$(D):_(B,j,!0),B=Ue}if(ne&&(Ve=S[ne])&&kh(Ve,E))V||x(j,Ve),F(Ve,E);else{var _t=a(E);_t!==!1&&(_t&&(E=_t),E.actualize&&(E=E.actualize(j.ownerDocument||Li)),x(j,E),q(E))}E=Ze,B=Ue}le(j,B,D);var Qt=TS[j.nodeName];Qt&&Qt(j,ae)}var ie=i,ue=ie.nodeType,re=r.nodeType;if(!v){if(ue===hc)re===hc?kh(i,r)||(d(i),ie=c8(i,l8(r.nodeName,r.namespaceURI))):ie=r;else if(ue===CS||ue===PS){if(re===ue)return ie.nodeValue!==r.nodeValue&&(ie.nodeValue=r.nodeValue),ie;ie=r}}if(ie===r)d(i);else{if(r.isSameNode&&r.isSameNode(ie))return;if(F(ie,r,v),T)for(var he=0,me=T.length;he<me;he++){var ve=S[T[he]];ve&&_(ve,ve.parentNode,!1)}}return!v&&ie!==i&&i.parentNode&&(ie.actualize&&(ie=ie.actualize(i.ownerDocument||Li)),i.parentNode.replaceChild(ie,i)),ie}}var h8=f8(e8),_S=h8;function Pg(t){if(t)throw t}var Eh=va(NS(),1);function dc(t){if(typeof t!="object"||t===null)return!1;let e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function MS(){let t=[],e={run:i,use:r};return e;function i(...n){let o=-1,s=n.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...n);function a(l,...c){let u=t[++o],f=-1;if(l){s(l);return}for(;++f<n.length;)(c[f]===null||c[f]===void 0)&&(c[f]=n[f]);n=c,u?d8(u,a)(...c):s(null,...c)}}function r(n){if(typeof n!="function")throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}}function d8(t,e){let i;return r;function r(...s){let a=t.length>s.length,l;a&&s.push(n);try{l=t.apply(this,s)}catch(c){let u=c;if(a&&i)throw u;return n(u)}a||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(s,...a){i||(i=!0,e(s,...a))}function o(s){n(null,s)}}function Qg(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?US(t.position):"start"in t||"end"in t?US(t):"line"in t||"column"in t?_g(t):""}function _g(t){return zS(t&&t.line)+":"+zS(t&&t.column)}function US(t){return _g(t&&t.start)+"-"+_g(t&&t.end)}function zS(t){return t&&typeof t=="number"?t:1}var Mt=class extends Error{constructor(e,i,r){super(),typeof i=="string"&&(r=i,i=void 0);let n="",o={},s=!1;if(i&&("line"in i&&"column"in i?o={place:i}:"start"in i&&"end"in i?o={place:i}:"type"in i?o={ancestors:[i],place:i.position}:o=H({},i)),typeof e=="string"?n=e:!o.cause&&e&&(s=!0,n=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof r=="string"){let l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=a?a.line:void 0,this.name=Qg(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};Mt.prototype.file="";Mt.prototype.name="";Mt.prototype.reason="";Mt.prototype.message="";Mt.prototype.stack="";Mt.prototype.column=void 0;Mt.prototype.line=void 0;Mt.prototype.ancestors=void 0;Mt.prototype.cause=void 0;Mt.prototype.fatal=void 0;Mt.prototype.place=void 0;Mt.prototype.ruleId=void 0;Mt.prototype.source=void 0;var Qr={basename:p8,dirname:O8,extname:m8,join:g8,sep:"/"};function p8(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');pc(t);let i=0,r=-1,n=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;n--;)if(t.codePointAt(n)===47){if(o){i=n+1;break}}else r<0&&(o=!0,r=n+1);return r<0?"":t.slice(i,r)}if(e===t)return"";let s=-1,a=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){i=n+1;break}}else s<0&&(o=!0,s=n+1),a>-1&&(t.codePointAt(n)===e.codePointAt(a--)?a<0&&(r=n):(a=-1,r=s));return i===r?r=s:r<0&&(r=t.length),t.slice(i,r)}function O8(t){if(pc(t),t.length===0)return".";let e=-1,i=t.length,r;for(;--i;)if(t.codePointAt(i)===47){if(r){e=i;break}}else r||(r=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function m8(t){pc(t);let e=t.length,i=-1,r=0,n=-1,o=0,s;for(;e--;){let a=t.codePointAt(e);if(a===47){if(s){r=e+1;break}continue}i<0&&(s=!0,i=e+1),a===46?n<0?n=e:o!==1&&(o=1):n>-1&&(o=-1)}return n<0||i<0||o===0||o===1&&n===i-1&&n===r+1?"":t.slice(n,i)}function g8(...t){let e=-1,i;for(;++e<t.length;)pc(t[e]),t[e]&&(i=i===void 0?t[e]:i+"/"+t[e]);return i===void 0?".":b8(i)}function b8(t){pc(t);let e=t.codePointAt(0)===47,i=y8(t,!e);return i.length===0&&!e&&(i="."),i.length>0&&t.codePointAt(t.length-1)===47&&(i+="/"),e?"/"+i:i}function y8(t,e){let i="",r=0,n=-1,o=0,s=-1,a,l;for(;++s<=t.length;){if(s<t.length)a=t.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(n===s-1||o===1))if(n!==s-1&&o===2){if(i.length<2||r!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(l=i.lastIndexOf("/"),l!==i.length-1){l<0?(i="",r=0):(i=i.slice(0,l),r=i.length-1-i.lastIndexOf("/")),n=s,o=0;continue}}else if(i.length>0){i="",r=0,n=s,o=0;continue}}e&&(i=i.length>0?i+"/..":"..",r=2)}else i.length>0?i+="/"+t.slice(n+1,s):i=t.slice(n+1,s),r=s-n-1;n=s,o=0}else a===46&&o>-1?o++:o=-1}return i}function pc(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var jS={cwd:x8};function x8(){return"/"}function Pa(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function qS(t){if(typeof t=="string")t=new URL(t);else if(!Pa(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return v8(t)}function v8(t){if(t.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let e=t.pathname,i=-1;for(;++i<e.length;)if(e.codePointAt(i)===37&&e.codePointAt(i+1)===50){let r=e.codePointAt(i+2);if(r===70||r===102){let n=new TypeError("File URL path must not include encoded / characters");throw n.code="ERR_INVALID_FILE_URL_PATH",n}}return decodeURIComponent(e)}var Ag=["history","path","basename","stem","extname","dirname"],yo=class{constructor(e){let i;e?Pa(e)?i={path:e}:typeof e=="string"||w8(e)?i={value:e}:i=e:i={},this.cwd=jS.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Ag.length;){let o=Ag[r];o in i&&i[o]!==void 0&&i[o]!==null&&(this[o]=o==="history"?[...i[o]]:i[o])}let n;for(n in i)Ag.includes(n)||(this[n]=i[n])}get basename(){return typeof this.path=="string"?Qr.basename(this.path):void 0}set basename(e){Xg(e,"basename"),$g(e,"basename"),this.path=Qr.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Qr.dirname(this.path):void 0}set dirname(e){WS(this.basename,"dirname"),this.path=Qr.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Qr.extname(this.path):void 0}set extname(e){if($g(e,"extname"),WS(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Qr.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Pa(e)&&(e=qS(e)),Xg(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Qr.basename(this.path,this.extname):void 0}set stem(e){Xg(e,"stem"),$g(e,"stem"),this.path=Qr.join(this.dirname||"",e+(this.extname||""))}fail(e,i,r){let n=this.message(e,i,r);throw n.fatal=!0,n}info(e,i,r){let n=this.message(e,i,r);return n.fatal=void 0,n}message(e,i,r){let n=new Mt(e,i,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function $g(t,e){if(t&&t.includes(Qr.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Qr.sep+"`")}function Xg(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function WS(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function w8(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var BS=function(t){let r=this.constructor.prototype,n=r[t],o=function(){return n.apply(o,arguments)};Object.setPrototypeOf(o,r);let s=Object.getOwnPropertyNames(n);for(let a of s){let l=Object.getOwnPropertyDescriptor(n,a);l&&Object.defineProperty(o,a,l)}return o};var k8={}.hasOwnProperty,Dg=class t extends BS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=MS()}copy(){let e=new t,i=-1;for(;++i<this.attachers.length;){let r=this.attachers[i];e.use(...r)}return e.data((0,Eh.default)(!0,{},this.namespace)),e}data(e,i){return typeof e=="string"?arguments.length===2?(Ig("data",this.frozen),this.namespace[e]=i,this):k8.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ig("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[i,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);let n=i.call(e,...r);typeof n=="function"&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let i=Th(e),r=this.parser||this.Parser;return Rg("parse",r),r(String(i),i)}process(e,i){let r=this;return this.freeze(),Rg("process",this.parser||this.Parser),Lg("process",this.compiler||this.Compiler),i?n(void 0,i):new Promise(n);function n(o,s){let a=Th(e),l=r.parse(a);r.run(l,a,function(u,f,d){if(u||!f||!d)return c(u);let p=f,g=r.stringify(p,d);T8(g)?d.value=g:d.result=g,c(u,d)});function c(u,f){u||!f?s(u):o?o(f):i(void 0,f)}}}processSync(e){let i=!1,r;return this.freeze(),Rg("processSync",this.parser||this.Parser),Lg("processSync",this.compiler||this.Compiler),this.process(e,n),VS("processSync","process",i),r;function n(o,s){i=!0,Pg(o),r=s}}run(e,i,r){ZS(e),this.freeze();let n=this.transformers;return!r&&typeof i=="function"&&(r=i,i=void 0),r?o(void 0,r):new Promise(o);function o(s,a){let l=Th(i);n.run(e,l,c);function c(u,f,d){let p=f||e;u?a(u):s?s(p):r(void 0,p,d)}}}runSync(e,i){let r=!1,n;return this.run(e,i,o),VS("runSync","run",r),n;function o(s,a){Pg(s),n=a,r=!0}}stringify(e,i){this.freeze();let r=Th(i),n=this.compiler||this.Compiler;return Lg("stringify",n),ZS(e),n(e,r)}use(e,...i){let r=this.attachers,n=this.namespace;if(Ig("use",this.frozen),e!=null)if(typeof e=="function")l(e,i);else if(typeof e=="object")Array.isArray(e)?a(e):s(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function o(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[u,...f]=c;l(u,f)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(n.settings=(0,Eh.default)(!0,n.settings,c.settings))}function a(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){let f=c[u];o(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let f=-1,d=-1;for(;++f<r.length;)if(r[f][0]===c){d=f;break}if(d===-1)r.push([c,...u]);else if(u.length>0){let[p,...g]=u,x=r[d][1];dc(x)&&dc(p)&&(p=(0,Eh.default)(!0,x,p)),r[d]=[c,p,...g]}}}},Ch=new Dg().freeze();function Rg(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Lg(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Ig(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ZS(t){if(!dc(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function VS(t,e,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Th(t){return S8(t)?t:new yo(t)}function S8(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function T8(t){return typeof t=="string"||E8(t)}function E8(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var C8={};function Ng(t,e){let i=e||C8,r=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,n=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return FS(t,r,n)}function FS(t,e,i){if(P8(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return YS(t.children,e,i)}return Array.isArray(t)?YS(t,e,i):""}function YS(t,e,i){let r=[],n=-1;for(;++n<t.length;)r[n]=FS(t[n],e,i);return r.join("")}function P8(t){return!!(t&&typeof t=="object")}function oi(t,e,i,r){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,i=i>0?i:0,r.length<1e4)s=Array.from(r),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<r.length;)s=r.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}function Ei(t,e){return t.length>0?(oi(t,t.length,0,e),t):e}var HS={}.hasOwnProperty;function GS(t){let e={},i=-1;for(;++i<t.length;)_8(e,t[i]);return e}function _8(t,e){let i;for(i in e){let n=(HS.call(t,i)?t[i]:void 0)||(t[i]={}),o=e[i],s;if(o)for(s in o){HS.call(n,s)||(n[s]=[]);let a=o[s];Q8(n[s],Array.isArray(a)?a:a?[a]:[])}}}function Q8(t,e){let i=-1,r=[];for(;++i<e.length;)(e[i].add==="after"?t:r).push(e[i]);oi(t,0,0,r)}function Ph(t,e){let i=Number.parseInt(t,e);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"\uFFFD":String.fromCharCode(i)}function Pn(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var A8=xo(new RegExp("\\p{P}","u")),Hi=xo(/[A-Za-z]/),Ci=xo(/[\dA-Za-z]/),KS=xo(/[#-'*+\--9=?A-Z^-~]/);function Oc(t){return t!==null&&(t<32||t===127)}var mc=xo(/\d/),JS=xo(/[\dA-Fa-f]/),Mg=xo(/[!-/:-@[-`{-~]/);function ke(t){return t!==null&&t<-2}function Lt(t){return t!==null&&(t<0||t===32)}function Le(t){return t===-2||t===-1||t===32}function eT(t){return Mg(t)||A8(t)}var tT=xo(/\s/);function xo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Ie(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Le(l)?(t.enter(i),a(l)):e(l)}function a(l){return Le(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var iT={tokenize:$8};function $8(t){let e=t.attempt(this.parser.constructs.contentInitial,r,n),i;return e;function r(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),Ie(t,e,"linePrefix")}function n(a){return t.enter("paragraph"),o(a)}function o(a){let l=t.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=l),i=l,s(a)}function s(a){if(a===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(a);return}return ke(a)?(t.consume(a),t.exit("chunkText"),o):(t.consume(a),s)}}var nT={tokenize:X8},rT={tokenize:R8};function X8(t){let e=this,i=[],r=0,n,o,s;return a;function a($){if(r<i.length){let I=i[r];return e.containerState=I[1],t.attempt(I[0].continuation,l,c)($)}return c($)}function l($){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,n&&T();let I=e.events.length,_=I,A;for(;_--;)if(e.events[_][0]==="exit"&&e.events[_][1].type==="chunkFlow"){A=e.events[_][1].end;break}S(r);let q=I;for(;q<e.events.length;)e.events[q][1].end=Object.assign({},A),q++;return oi(e.events,_+1,0,e.events.slice(I)),e.events.length=q,c($)}return a($)}function c($){if(r===i.length){if(!n)return d($);if(n.currentConstruct&&n.currentConstruct.concrete)return g($);e.interrupt=!!(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(rT,u,f)($)}function u($){return n&&T(),S(r),d($)}function f($){return e.parser.lazy[e.now().line]=r!==i.length,s=e.now().offset,g($)}function d($){return e.containerState={},t.attempt(rT,p,g)($)}function p($){return r++,i.push([e.currentConstruct,e.containerState]),d($)}function g($){if($===null){n&&T(),S(0),t.consume($);return}return n=n||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),x($)}function x($){if($===null){v(t.exit("chunkFlow"),!0),S(0),t.consume($);return}return ke($)?(t.consume($),v(t.exit("chunkFlow")),r=0,e.interrupt=void 0,a):(t.consume($),x)}function v($,I){let _=e.sliceStream($);if(I&&_.push(null),$.previous=o,o&&(o.next=$),o=$,n.defineSkip($.start),n.write(_),e.parser.lazy[$.start.line]){let A=n.events.length;for(;A--;)if(n.events[A][1].start.offset<s&&(!n.events[A][1].end||n.events[A][1].end.offset>s))return;let q=e.events.length,le=q,F,U;for(;le--;)if(e.events[le][0]==="exit"&&e.events[le][1].type==="chunkFlow"){if(F){U=e.events[le][1].end;break}F=!0}for(S(r),A=q;A<e.events.length;)e.events[A][1].end=Object.assign({},U),A++;oi(e.events,le+1,0,e.events.slice(q)),e.events.length=A}}function S($){let I=i.length;for(;I-- >$;){let _=i[I];e.containerState=_[1],_[0].exit.call(e,t)}i.length=$}function T(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function R8(t,e,i){return Ie(t,t.attempt(this.parser.constructs.document,e,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ug(t){if(t===null||Lt(t)||tT(t))return 1;if(eT(t))return 2}function _a(t,e,i){let r=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!r.includes(o)&&(e=o(e,i),r.push(o))}return e}var gc={name:"attention",tokenize:I8,resolveAll:L8};function L8(t,e){let i=-1,r,n,o,s,a,l,c,u;for(;++i<t.length;)if(t[i][0]==="enter"&&t[i][1].type==="attentionSequence"&&t[i][1]._close){for(r=i;r--;)if(t[r][0]==="exit"&&t[r][1].type==="attentionSequence"&&t[r][1]._open&&e.sliceSerialize(t[r][1]).charCodeAt(0)===e.sliceSerialize(t[i][1]).charCodeAt(0)){if((t[r][1]._close||t[i][1]._open)&&(t[i][1].end.offset-t[i][1].start.offset)%3&&!((t[r][1].end.offset-t[r][1].start.offset+t[i][1].end.offset-t[i][1].start.offset)%3))continue;l=t[r][1].end.offset-t[r][1].start.offset>1&&t[i][1].end.offset-t[i][1].start.offset>1?2:1;let f=Object.assign({},t[r][1].end),d=Object.assign({},t[i][1].start);oT(f,-l),oT(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[r][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[i][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[i][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},t[r][1].end=Object.assign({},s.start),t[i][1].start=Object.assign({},a.end),c=[],t[r][1].end.offset-t[r][1].start.offset&&(c=Ei(c,[["enter",t[r][1],e],["exit",t[r][1],e]])),c=Ei(c,[["enter",n,e],["enter",s,e],["exit",s,e],["enter",o,e]]),c=Ei(c,_a(e.parser.constructs.insideSpan.null,t.slice(r+1,i),e)),c=Ei(c,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",n,e]]),t[i][1].end.offset-t[i][1].start.offset?(u=2,c=Ei(c,[["enter",t[i][1],e],["exit",t[i][1],e]])):u=0,oi(t,r-1,i-r+3,c),i=r+c.length-u-2;break}}for(i=-1;++i<t.length;)t[i][1].type==="attentionSequence"&&(t[i][1].type="data");return t}function I8(t,e){let i=this.parser.constructs.attentionMarkers.null,r=this.previous,n=Ug(r),o;return s;function s(l){return o=l,t.enter("attentionSequence"),a(l)}function a(l){if(l===o)return t.consume(l),a;let c=t.exit("attentionSequence"),u=Ug(l),f=!u||u===2&&n||i.includes(l),d=!n||n===2&&u||i.includes(r);return c._open=!!(o===42?f:f&&(n||!d)),c._close=!!(o===42?d:d&&(u||!f)),e(l)}}function oT(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var zg={name:"autolink",tokenize:D8};function D8(t,e,i){let r=0;return n;function n(p){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(p){return Hi(p)?(t.consume(p),s):c(p)}function s(p){return p===43||p===45||p===46||Ci(p)?(r=1,a(p)):c(p)}function a(p){return p===58?(t.consume(p),r=0,l):(p===43||p===45||p===46||Ci(p))&&r++<32?(t.consume(p),a):(r=0,c(p))}function l(p){return p===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):p===null||p===32||p===60||Oc(p)?i(p):(t.consume(p),l)}function c(p){return p===64?(t.consume(p),u):KS(p)?(t.consume(p),c):i(p)}function u(p){return Ci(p)?f(p):i(p)}function f(p){return p===46?(t.consume(p),r=0,u):p===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):d(p)}function d(p){if((p===45||Ci(p))&&r++<63){let g=p===45?d:f;return t.consume(p),g}return i(p)}}var vo={tokenize:N8,partial:!0};function N8(t,e,i){return r;function r(o){return Le(o)?Ie(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||ke(o)?e(o):i(o)}}var _h={name:"blockQuote",tokenize:M8,continuation:{tokenize:U8},exit:z8};function M8(t,e,i){let r=this;return n;function n(s){if(s===62){let a=r.containerState;return a.open||(t.enter("blockQuote",{_container:!0}),a.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(s),t.exit("blockQuoteMarker"),o}return i(s)}function o(s){return Le(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(s))}}function U8(t,e,i){let r=this;return n;function n(s){return Le(s)?Ie(t,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return t.attempt(_h,e,i)(s)}}function z8(t){t.exit("blockQuote")}var Qh={name:"characterEscape",tokenize:j8};function j8(t,e,i){return r;function r(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),n}function n(o){return Mg(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):i(o)}}var Ah={name:"characterReference",tokenize:q8};function q8(t,e,i){let r=this,n=0,o,s;return a;function a(f){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),l}function l(f){return f===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(f),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),o=31,s=Ci,u(f))}function c(f){return f===88||f===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(f),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,s=JS,u):(t.enter("characterReferenceValue"),o=7,s=mc,u(f))}function u(f){if(f===59&&n){let d=t.exit("characterReferenceValue");return s===Ci&&!wa(r.sliceSerialize(d))?i(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return s(f)&&n++<o?(t.consume(f),u):i(f)}}var sT={tokenize:B8,partial:!0},$h={name:"codeFenced",tokenize:W8,concrete:!0};function W8(t,e,i){let r=this,n={tokenize:_,partial:!0},o=0,s=0,a;return l;function l(A){return c(A)}function c(A){let q=r.events[r.events.length-1];return o=q&&q[1].type==="linePrefix"?q[2].sliceSerialize(q[1],!0).length:0,a=A,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(A)}function u(A){return A===a?(s++,t.consume(A),u):s<3?i(A):(t.exit("codeFencedFenceSequence"),Le(A)?Ie(t,f,"whitespace")(A):f(A))}function f(A){return A===null||ke(A)?(t.exit("codeFencedFence"),r.interrupt?e(A):t.check(sT,x,I)(A)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),d(A))}function d(A){return A===null||ke(A)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f(A)):Le(A)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Ie(t,p,"whitespace")(A)):A===96&&A===a?i(A):(t.consume(A),d)}function p(A){return A===null||ke(A)?f(A):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g(A))}function g(A){return A===null||ke(A)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f(A)):A===96&&A===a?i(A):(t.consume(A),g)}function x(A){return t.attempt(n,I,v)(A)}function v(A){return t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),S}function S(A){return o>0&&Le(A)?Ie(t,T,"linePrefix",o+1)(A):T(A)}function T(A){return A===null||ke(A)?t.check(sT,x,I)(A):(t.enter("codeFlowValue"),$(A))}function $(A){return A===null||ke(A)?(t.exit("codeFlowValue"),T(A)):(t.consume(A),$)}function I(A){return t.exit("codeFenced"),e(A)}function _(A,q,le){let F=0;return U;function U(me){return A.enter("lineEnding"),A.consume(me),A.exit("lineEnding"),ie}function ie(me){return A.enter("codeFencedFence"),Le(me)?Ie(A,ue,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(me):ue(me)}function ue(me){return me===a?(A.enter("codeFencedFenceSequence"),re(me)):le(me)}function re(me){return me===a?(F++,A.consume(me),re):F>=s?(A.exit("codeFencedFenceSequence"),Le(me)?Ie(A,he,"whitespace")(me):he(me)):le(me)}function he(me){return me===null||ke(me)?(A.exit("codeFencedFence"),q(me)):le(me)}}}function B8(t,e,i){let r=this;return n;function n(s){return s===null?i(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?i(s):e(s)}}var bc={name:"codeIndented",tokenize:V8},Z8={tokenize:Y8,partial:!0};function V8(t,e,i){let r=this;return n;function n(c){return t.enter("codeIndented"),Ie(t,o,"linePrefix",5)(c)}function o(c){let u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):i(c)}function s(c){return c===null?l(c):ke(c)?t.attempt(Z8,s,l)(c):(t.enter("codeFlowValue"),a(c))}function a(c){return c===null||ke(c)?(t.exit("codeFlowValue"),s(c)):(t.consume(c),a)}function l(c){return t.exit("codeIndented"),e(c)}}function Y8(t,e,i){let r=this;return n;function n(s){return r.parser.lazy[r.now().line]?i(s):ke(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),n):Ie(t,o,"linePrefix",5)(s)}function o(s){let a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):ke(s)?n(s):i(s)}}var jg={name:"codeText",tokenize:G8,resolve:F8,previous:H8};function F8(t){let e=t.length-4,i=3,r,n;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=i;++r<e;)if(t[r][1].type==="codeTextData"){t[i][1].type="codeTextPadding",t[e][1].type="codeTextPadding",i+=2,e-=2;break}}for(r=i-1,e++;++r<=e;)n===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(n=r):(r===e||t[r][1].type==="lineEnding")&&(t[n][1].type="codeTextData",r!==n+2&&(t[n][1].end=t[r-1][1].end,t.splice(n+2,r-n-2),e-=r-n-2,r=n+2),n=void 0);return t}function H8(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function G8(t,e,i){let r=this,n=0,o,s;return a;function a(d){return t.enter("codeText"),t.enter("codeTextSequence"),l(d)}function l(d){return d===96?(t.consume(d),n++,l):(t.exit("codeTextSequence"),c(d))}function c(d){return d===null?i(d):d===32?(t.enter("space"),t.consume(d),t.exit("space"),c):d===96?(s=t.enter("codeTextSequence"),o=0,f(d)):ke(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),c):(t.enter("codeTextData"),u(d))}function u(d){return d===null||d===32||d===96||ke(d)?(t.exit("codeTextData"),c(d)):(t.consume(d),u)}function f(d){return d===96?(t.consume(d),o++,f):o===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(d)):(s.type="codeTextData",u(d))}}function Xh(t){let e={},i=-1,r,n,o,s,a,l,c;for(;++i<t.length;){for(;i in e;)i=e[i];if(r=t[i],i&&r[1].type==="chunkFlow"&&t[i-1][1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,K8(t,i)),i=e[i],c=!0);else if(r[1]._container){for(o=i,n=void 0;o--&&(s=t[o],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(n&&(t[n][1].type="lineEndingBlank"),s[1].type="lineEnding",n=o);n&&(r[1].end=Object.assign({},t[n][1].start),a=t.slice(n,i),a.unshift(r),oi(t,n,i-n+1,a))}}return!c}function K8(t,e){let i=t[e][1],r=t[e][2],n=e-1,o=[],s=i._tokenizer||r.parser[i.contentType](i.start),a=s.events,l=[],c={},u,f,d=-1,p=i,g=0,x=0,v=[x];for(;p;){for(;t[++n][1]!==p;);o.push(n),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),f&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=i;++d<a.length;)a[d][0]==="exit"&&a[d-1][0]==="enter"&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(x=d+1,v.push(x),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):v.pop(),d=v.length;d--;){let S=a.slice(v[d],v[d+1]),T=o.pop();l.unshift([T,T+S.length-1]),oi(t,T,2,S)}for(d=-1;++d<l.length;)c[g+l[d][0]]=g+l[d][1],g+=l[d][1]-l[d][0]-1;return c}var qg={tokenize:tD,resolve:eD},J8={tokenize:iD,partial:!0};function eD(t){return Xh(t),t}function tD(t,e){let i;return r;function r(a){return t.enter("content"),i=t.enter("chunkContent",{contentType:"content"}),n(a)}function n(a){return a===null?o(a):ke(a)?t.check(J8,s,o)(a):(t.consume(a),n)}function o(a){return t.exit("chunkContent"),t.exit("content"),e(a)}function s(a){return t.consume(a),t.exit("chunkContent"),i.next=t.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,n}}function iD(t,e,i){let r=this;return n;function n(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),Ie(t,o,"linePrefix")}function o(s){if(s===null||ke(s))return i(s);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):t.interrupt(r.parser.constructs.flow,i,e)(s)}}function Rh(t,e,i,r,n,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(S){return S===60?(t.enter(r),t.enter(n),t.enter(o),t.consume(S),t.exit(o),d):S===null||S===32||S===41||Oc(S)?i(S):(t.enter(r),t.enter(s),t.enter(a),t.enter("chunkString",{contentType:"string"}),x(S))}function d(S){return S===62?(t.enter(o),t.consume(S),t.exit(o),t.exit(n),t.exit(r),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),p(S))}function p(S){return S===62?(t.exit("chunkString"),t.exit(a),d(S)):S===null||S===60||ke(S)?i(S):(t.consume(S),S===92?g:p)}function g(S){return S===60||S===62||S===92?(t.consume(S),p):p(S)}function x(S){return!u&&(S===null||S===41||Lt(S))?(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(r),e(S)):u<c&&S===40?(t.consume(S),u++,x):S===41?(t.consume(S),u--,x):S===null||S===32||S===40||Oc(S)?i(S):(t.consume(S),S===92?v:x)}function v(S){return S===40||S===41||S===92?(t.consume(S),x):x(S)}}function Lh(t,e,i,r,n,o){let s=this,a=0,l;return c;function c(p){return t.enter(r),t.enter(n),t.consume(p),t.exit(n),t.enter(o),u}function u(p){return a>999||p===null||p===91||p===93&&!l||p===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?i(p):p===93?(t.exit(o),t.enter(n),t.consume(p),t.exit(n),t.exit(r),e):ke(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||ke(p)||a++>999?(t.exit("chunkString"),u(p)):(t.consume(p),l||(l=!Le(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(t.consume(p),a++,f):f(p)}}function Ih(t,e,i,r,n,o){let s;return a;function a(d){return d===34||d===39||d===40?(t.enter(r),t.enter(n),t.consume(d),t.exit(n),s=d===40?41:d,l):i(d)}function l(d){return d===s?(t.enter(n),t.consume(d),t.exit(n),t.exit(r),e):(t.enter(o),c(d))}function c(d){return d===s?(t.exit(o),l(s)):d===null?i(d):ke(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Ie(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||ke(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===s||d===92?(t.consume(d),u):u(d)}}function ms(t,e){let i;return r;function r(n){return ke(n)?(t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),i=!0,r):Le(n)?Ie(t,r,i?"linePrefix":"lineSuffix")(n):e(n)}}var Wg={name:"definition",tokenize:nD},rD={tokenize:oD,partial:!0};function nD(t,e,i){let r=this,n;return o;function o(p){return t.enter("definition"),s(p)}function s(p){return Lh.call(r,t,a,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return n=Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):i(p)}function l(p){return Lt(p)?ms(t,c)(p):c(p)}function c(p){return Rh(t,u,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(rD,f,f)(p)}function f(p){return Le(p)?Ie(t,d,"whitespace")(p):d(p)}function d(p){return p===null||ke(p)?(t.exit("definition"),r.parser.defined.push(n),e(p)):i(p)}}function oD(t,e,i){return r;function r(a){return Lt(a)?ms(t,n)(a):i(a)}function n(a){return Ih(t,o,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return Le(a)?Ie(t,s,"whitespace")(a):s(a)}function s(a){return a===null||ke(a)?e(a):i(a)}}var Bg={name:"hardBreakEscape",tokenize:sD};function sD(t,e,i){return r;function r(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return ke(o)?(t.exit("hardBreakEscape"),e(o)):i(o)}}var Zg={name:"headingAtx",tokenize:lD,resolve:aD};function aD(t,e){let i=t.length-2,r=3,n,o;return t[r][1].type==="whitespace"&&(r+=2),i-2>r&&t[i][1].type==="whitespace"&&(i-=2),t[i][1].type==="atxHeadingSequence"&&(r===i-1||i-4>r&&t[i-2][1].type==="whitespace")&&(i-=r+1===i?2:4),i>r&&(n={type:"atxHeadingText",start:t[r][1].start,end:t[i][1].end},o={type:"chunkText",start:t[r][1].start,end:t[i][1].end,contentType:"text"},oi(t,r,i-r+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function lD(t,e,i){let r=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&r++<6?(t.consume(u),s):u===null||Lt(u)?(t.exit("atxHeadingSequence"),a(u)):i(u)}function a(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||ke(u)?(t.exit("atxHeading"),e(u)):Le(u)?Ie(t,a,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||Lt(u)?(t.exit("atxHeadingText"),a(u)):(t.consume(u),c)}}var aT=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Vg=["pre","script","style","textarea"];var Yg={name:"htmlFlow",tokenize:hD,resolveTo:fD,concrete:!0},cD={tokenize:pD,partial:!0},uD={tokenize:dD,partial:!0};function fD(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function hD(t,e,i){let r=this,n,o,s,a,l;return c;function c(D){return u(D)}function u(D){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(D),f}function f(D){return D===33?(t.consume(D),d):D===47?(t.consume(D),o=!0,x):D===63?(t.consume(D),n=3,r.interrupt?e:E):Hi(D)?(t.consume(D),s=String.fromCharCode(D),v):i(D)}function d(D){return D===45?(t.consume(D),n=2,p):D===91?(t.consume(D),n=5,a=0,g):Hi(D)?(t.consume(D),n=4,r.interrupt?e:E):i(D)}function p(D){return D===45?(t.consume(D),r.interrupt?e:E):i(D)}function g(D){let Ue="CDATA[";return D===Ue.charCodeAt(a++)?(t.consume(D),a===Ue.length?r.interrupt?e:ue:g):i(D)}function x(D){return Hi(D)?(t.consume(D),s=String.fromCharCode(D),v):i(D)}function v(D){if(D===null||D===47||D===62||Lt(D)){let Ue=D===47,Ze=s.toLowerCase();return!Ue&&!o&&Vg.includes(Ze)?(n=1,r.interrupt?e(D):ue(D)):aT.includes(s.toLowerCase())?(n=6,Ue?(t.consume(D),S):r.interrupt?e(D):ue(D)):(n=7,r.interrupt&&!r.parser.lazy[r.now().line]?i(D):o?T(D):$(D))}return D===45||Ci(D)?(t.consume(D),s+=String.fromCharCode(D),v):i(D)}function S(D){return D===62?(t.consume(D),r.interrupt?e:ue):i(D)}function T(D){return Le(D)?(t.consume(D),T):U(D)}function $(D){return D===47?(t.consume(D),U):D===58||D===95||Hi(D)?(t.consume(D),I):Le(D)?(t.consume(D),$):U(D)}function I(D){return D===45||D===46||D===58||D===95||Ci(D)?(t.consume(D),I):_(D)}function _(D){return D===61?(t.consume(D),A):Le(D)?(t.consume(D),_):$(D)}function A(D){return D===null||D===60||D===61||D===62||D===96?i(D):D===34||D===39?(t.consume(D),l=D,q):Le(D)?(t.consume(D),A):le(D)}function q(D){return D===l?(t.consume(D),l=null,F):D===null||ke(D)?i(D):(t.consume(D),q)}function le(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||Lt(D)?_(D):(t.consume(D),le)}function F(D){return D===47||D===62||Le(D)?$(D):i(D)}function U(D){return D===62?(t.consume(D),ie):i(D)}function ie(D){return D===null||ke(D)?ue(D):Le(D)?(t.consume(D),ie):i(D)}function ue(D){return D===45&&n===2?(t.consume(D),ve):D===60&&n===1?(t.consume(D),j):D===62&&n===4?(t.consume(D),B):D===63&&n===3?(t.consume(D),E):D===93&&n===5?(t.consume(D),V):ke(D)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(cD,ne,re)(D)):D===null||ke(D)?(t.exit("htmlFlowData"),re(D)):(t.consume(D),ue)}function re(D){return t.check(uD,he,ne)(D)}function he(D){return t.enter("lineEnding"),t.consume(D),t.exit("lineEnding"),me}function me(D){return D===null||ke(D)?re(D):(t.enter("htmlFlowData"),ue(D))}function ve(D){return D===45?(t.consume(D),E):ue(D)}function j(D){return D===47?(t.consume(D),s="",ae):ue(D)}function ae(D){if(D===62){let Ue=s.toLowerCase();return Vg.includes(Ue)?(t.consume(D),B):ue(D)}return Hi(D)&&s.length<8?(t.consume(D),s+=String.fromCharCode(D),ae):ue(D)}function V(D){return D===93?(t.consume(D),E):ue(D)}function E(D){return D===62?(t.consume(D),B):D===45&&n===2?(t.consume(D),E):ue(D)}function B(D){return D===null||ke(D)?(t.exit("htmlFlowData"),ne(D)):(t.consume(D),B)}function ne(D){return t.exit("htmlFlow"),e(D)}}function dD(t,e,i){let r=this;return n;function n(s){return ke(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):i(s)}function o(s){return r.parser.lazy[r.now().line]?i(s):e(s)}}function pD(t,e,i){return r;function r(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(vo,e,i)}}var Fg={name:"htmlText",tokenize:OD};function OD(t,e,i){let r=this,n,o,s;return a;function a(E){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(E),l}function l(E){return E===33?(t.consume(E),c):E===47?(t.consume(E),_):E===63?(t.consume(E),$):Hi(E)?(t.consume(E),le):i(E)}function c(E){return E===45?(t.consume(E),u):E===91?(t.consume(E),o=0,g):Hi(E)?(t.consume(E),T):i(E)}function u(E){return E===45?(t.consume(E),p):i(E)}function f(E){return E===null?i(E):E===45?(t.consume(E),d):ke(E)?(s=f,j(E)):(t.consume(E),f)}function d(E){return E===45?(t.consume(E),p):f(E)}function p(E){return E===62?ve(E):E===45?d(E):f(E)}function g(E){let B="CDATA[";return E===B.charCodeAt(o++)?(t.consume(E),o===B.length?x:g):i(E)}function x(E){return E===null?i(E):E===93?(t.consume(E),v):ke(E)?(s=x,j(E)):(t.consume(E),x)}function v(E){return E===93?(t.consume(E),S):x(E)}function S(E){return E===62?ve(E):E===93?(t.consume(E),S):x(E)}function T(E){return E===null||E===62?ve(E):ke(E)?(s=T,j(E)):(t.consume(E),T)}function $(E){return E===null?i(E):E===63?(t.consume(E),I):ke(E)?(s=$,j(E)):(t.consume(E),$)}function I(E){return E===62?ve(E):$(E)}function _(E){return Hi(E)?(t.consume(E),A):i(E)}function A(E){return E===45||Ci(E)?(t.consume(E),A):q(E)}function q(E){return ke(E)?(s=q,j(E)):Le(E)?(t.consume(E),q):ve(E)}function le(E){return E===45||Ci(E)?(t.consume(E),le):E===47||E===62||Lt(E)?F(E):i(E)}function F(E){return E===47?(t.consume(E),ve):E===58||E===95||Hi(E)?(t.consume(E),U):ke(E)?(s=F,j(E)):Le(E)?(t.consume(E),F):ve(E)}function U(E){return E===45||E===46||E===58||E===95||Ci(E)?(t.consume(E),U):ie(E)}function ie(E){return E===61?(t.consume(E),ue):ke(E)?(s=ie,j(E)):Le(E)?(t.consume(E),ie):F(E)}function ue(E){return E===null||E===60||E===61||E===62||E===96?i(E):E===34||E===39?(t.consume(E),n=E,re):ke(E)?(s=ue,j(E)):Le(E)?(t.consume(E),ue):(t.consume(E),he)}function re(E){return E===n?(t.consume(E),n=void 0,me):E===null?i(E):ke(E)?(s=re,j(E)):(t.consume(E),re)}function he(E){return E===null||E===34||E===39||E===60||E===61||E===96?i(E):E===47||E===62||Lt(E)?F(E):(t.consume(E),he)}function me(E){return E===47||E===62||Lt(E)?F(E):i(E)}function ve(E){return E===62?(t.consume(E),t.exit("htmlTextData"),t.exit("htmlText"),e):i(E)}function j(E){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),ae}function ae(E){return Le(E)?Ie(t,V,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):V(E)}function V(E){return t.enter("htmlTextData"),s(E)}}var gs={name:"labelEnd",tokenize:vD,resolveTo:xD,resolveAll:yD},mD={tokenize:wD},gD={tokenize:kD},bD={tokenize:SD};function yD(t){let e=-1;for(;++e<t.length;){let i=t[e][1];(i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd")&&(t.splice(e+1,i.type==="labelImage"?4:2),i.type="data",e++)}return t}function xD(t,e){let i=t.length,r=0,n,o,s,a;for(;i--;)if(n=t[i][1],o){if(n.type==="link"||n.type==="labelLink"&&n._inactive)break;t[i][0]==="enter"&&n.type==="labelLink"&&(n._inactive=!0)}else if(s){if(t[i][0]==="enter"&&(n.type==="labelImage"||n.type==="labelLink")&&!n._balanced&&(o=i,n.type!=="labelLink")){r=2;break}}else n.type==="labelEnd"&&(s=i);let l={type:t[o][1].type==="labelLink"?"link":"image",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)},c={type:"label",start:Object.assign({},t[o][1].start),end:Object.assign({},t[s][1].end)},u={type:"labelText",start:Object.assign({},t[o+r+2][1].end),end:Object.assign({},t[s-2][1].start)};return a=[["enter",l,e],["enter",c,e]],a=Ei(a,t.slice(o+1,o+r+3)),a=Ei(a,[["enter",u,e]]),a=Ei(a,_a(e.parser.constructs.insideSpan.null,t.slice(o+r+4,s-3),e)),a=Ei(a,[["exit",u,e],t[s-2],t[s-1],["exit",c,e]]),a=Ei(a,t.slice(s+1)),a=Ei(a,[["exit",l,e]]),oi(t,o,t.length,a),t}function vD(t,e,i){let r=this,n=r.events.length,o,s;for(;n--;)if((r.events[n][1].type==="labelImage"||r.events[n][1].type==="labelLink")&&!r.events[n][1]._balanced){o=r.events[n][1];break}return a;function a(d){return o?o._inactive?f(d):(s=r.parser.defined.includes(Pn(r.sliceSerialize({start:o.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),l):i(d)}function l(d){return d===40?t.attempt(mD,u,s?u:f)(d):d===91?t.attempt(gD,u,s?c:f)(d):s?u(d):f(d)}function c(d){return t.attempt(bD,u,f)(d)}function u(d){return e(d)}function f(d){return o._balanced=!0,i(d)}}function wD(t,e,i){return r;function r(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),n}function n(f){return Lt(f)?ms(t,o)(f):o(f)}function o(f){return f===41?u(f):Rh(t,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Lt(f)?ms(t,l)(f):u(f)}function a(f){return i(f)}function l(f){return f===34||f===39||f===40?Ih(t,c,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return Lt(f)?ms(t,u)(f):u(f)}function u(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):i(f)}}function kD(t,e,i){let r=this;return n;function n(a){return Lh.call(r,t,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(a):i(a)}function s(a){return i(a)}}function SD(t,e,i){return r;function r(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),n}function n(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),e):i(o)}}var Hg={name:"labelStartImage",tokenize:TD,resolveAll:gs.resolveAll};function TD(t,e,i){let r=this;return n;function n(a){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(a),t.exit("labelImageMarker"),o}function o(a){return a===91?(t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelImage"),s):i(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(a):e(a)}}var Gg={name:"labelStartLink",tokenize:ED,resolveAll:gs.resolveAll};function ED(t,e,i){let r=this;return n;function n(s){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(s):e(s)}}var yc={name:"lineEnding",tokenize:CD};function CD(t,e){return i;function i(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),Ie(t,e,"linePrefix")}}var bs={name:"thematicBreak",tokenize:PD};function PD(t,e,i){let r=0,n;return o;function o(c){return t.enter("thematicBreak"),s(c)}function s(c){return n=c,a(c)}function a(c){return c===n?(t.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||ke(c))?(t.exit("thematicBreak"),e(c)):i(c)}function l(c){return c===n?(t.consume(c),r++,l):(t.exit("thematicBreakSequence"),Le(c)?Ie(t,a,"whitespace")(c):a(c))}}var Oi={name:"list",tokenize:AD,continuation:{tokenize:$D},exit:RD},_D={tokenize:LD,partial:!0},QD={tokenize:XD,partial:!0};function AD(t,e,i){let r=this,n=r.events[r.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(p){let g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:mc(p)){if(r.containerState.type||(r.containerState.type=g,t.enter(g,{_container:!0})),g==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(bs,i,c)(p):c(p);if(!r.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(p)}return i(p)}function l(p){return mc(p)&&++s<10?(t.consume(p),l):(!r.interrupt||s<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),c(p)):i(p)}function c(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,t.check(vo,r.interrupt?i:u,t.attempt(_D,d,f))}function u(p){return r.containerState.initialBlankLine=!0,o++,d(p)}function f(p){return Le(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),d):i(p)}function d(p){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function $D(t,e,i){let r=this;return r.containerState._closeFlow=void 0,t.check(vo,n,o);function n(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ie(t,e,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!Le(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(QD,e,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ie(t,t.attempt(Oi,e,i),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function XD(t,e,i){let r=this;return Ie(t,n,"listItemIndent",r.containerState.size+1);function n(o){let s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?e(o):i(o)}}function RD(t){t.exit(this.containerState.type)}function LD(t,e,i){let r=this;return Ie(t,n,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(o){let s=r.events[r.events.length-1];return!Le(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):i(o)}}var Dh={name:"setextUnderline",tokenize:DD,resolveTo:ID};function ID(t,e){let i=t.length,r,n,o;for(;i--;)if(t[i][0]==="enter"){if(t[i][1].type==="content"){r=i;break}t[i][1].type==="paragraph"&&(n=i)}else t[i][1].type==="content"&&t.splice(i,1),!o&&t[i][1].type==="definition"&&(o=i);let s={type:"setextHeading",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[n][1].type="setextHeadingText",o?(t.splice(n,0,["enter",s,e]),t.splice(o+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[o][1].end)):t[r][1]=s,t.push(["exit",s,e]),t}function DD(t,e,i){let r=this,n;return o;function o(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(t.enter("setextHeadingLine"),n=c,s(c)):i(c)}function s(c){return t.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===n?(t.consume(c),a):(t.exit("setextHeadingLineSequence"),Le(c)?Ie(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ke(c)?(t.exit("setextHeadingLine"),e(c)):i(c)}}var lT={tokenize:ND};function ND(t){let e=this,i=t.attempt(vo,r,t.attempt(this.parser.constructs.flowInitial,n,Ie(t,t.attempt(this.parser.constructs.flow,n,t.attempt(qg,n)),"linePrefix")));return i;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,i}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,i}}var cT={resolveAll:dT()},uT=hT("string"),fT=hT("text");function hT(t){return{tokenize:e,resolveAll:dT(t==="text"?MD:void 0)};function e(i){let r=this,n=this.parser.constructs[t],o=i.attempt(n,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){i.consume(u);return}return i.enter("data"),i.consume(u),l}function l(u){return c(u)?(i.exit("data"),o(u)):(i.consume(u),l)}function c(u){if(u===null)return!0;let f=n[u],d=-1;if(f)for(;++d<f.length;){let p=f[d];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function dT(t){return e;function e(i,r){let n=-1,o;for(;++n<=i.length;)o===void 0?i[n]&&i[n][1].type==="data"&&(o=n,n++):(!i[n]||i[n][1].type!=="data")&&(n!==o+2&&(i[o][1].end=i[n-1][1].end,i.splice(o+2,n-o-2),n=o+2),o=void 0);return t?t(i,r):i}}function MD(t,e){let i=0;for(;++i<=t.length;)if((i===t.length||t[i][1].type==="lineEnding")&&t[i-1][1].type==="data"){let r=t[i-1][1],n=e.sliceStream(r),o=n.length,s=-1,a=0,l;for(;o--;){let c=n[o];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(c===-2)l=!0,a++;else if(c!==-1){o++;break}}if(a){let c={type:i===t.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+o,_bufferIndex:o?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(t.splice(i,0,["enter",c,e],["exit",c,e]),i+=2)}i++}return t}function pT(t,e,i){let r=Object.assign(i?Object.assign({},i):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),n={},o=[],s=[],a=[],l=!0,c={consume:I,enter:_,exit:A,attempt:F(q),check:F(le),interrupt:F(le,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:x,sliceSerialize:g,now:v,defineSkip:S,write:p},f=e.tokenize.call(u,c),d;return e.resolveAll&&o.push(e),u;function p(re){return s=Ei(s,re),T(),s[s.length-1]!==null?[]:(U(e,0),u.events=_a(o,u.events,u),u.events)}function g(re,he){return zD(x(re),he)}function x(re){return UD(s,re)}function v(){let{line:re,column:he,offset:me,_index:ve,_bufferIndex:j}=r;return{line:re,column:he,offset:me,_index:ve,_bufferIndex:j}}function S(re){n[re.line]=re.column,ue()}function T(){let re;for(;r._index<s.length;){let he=s[r._index];if(typeof he=="string")for(re=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===re&&r._bufferIndex<he.length;)$(he.charCodeAt(r._bufferIndex));else $(he)}}function $(re){l=void 0,d=re,f=f(re)}function I(re){ke(re)?(r.line++,r.column=1,r.offset+=re===-3?2:1,ue()):re!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=re,l=!0}function _(re,he){let me=he||{};return me.type=re,me.start=v(),u.events.push(["enter",me,u]),a.push(me),me}function A(re){let he=a.pop();return he.end=v(),u.events.push(["exit",he,u]),he}function q(re,he){U(re,he.from)}function le(re,he){he.restore()}function F(re,he){return me;function me(ve,j,ae){let V,E,B,ne;return Array.isArray(ve)?Ue(ve):"tokenize"in ve?Ue([ve]):D(ve);function D(Xe){return _t;function _t(Qt){let cr=Qt!==null&&Xe[Qt],ur=Qt!==null&&Xe.null,Rt=[...Array.isArray(cr)?cr:cr?[cr]:[],...Array.isArray(ur)?ur:ur?[ur]:[]];return Ue(Rt)(Qt)}}function Ue(Xe){return V=Xe,E=0,Xe.length===0?ae:Ze(Xe[E])}function Ze(Xe){return _t;function _t(Qt){return ne=ie(),B=Xe,Xe.partial||(u.currentConstruct=Xe),Xe.name&&u.parser.constructs.disable.null.includes(Xe.name)?Xt(Qt):Xe.tokenize.call(he?Object.assign(Object.create(u),he):u,c,Ve,Xt)(Qt)}}function Ve(Xe){return l=!0,re(B,ne),j}function Xt(Xe){return l=!0,ne.restore(),++E<V.length?Ze(V[E]):ae}}}function U(re,he){re.resolveAll&&!o.includes(re)&&o.push(re),re.resolve&&oi(u.events,he,u.events.length-he,re.resolve(u.events.slice(he),u)),re.resolveTo&&(u.events=re.resolveTo(u.events,u))}function ie(){let re=v(),he=u.previous,me=u.currentConstruct,ve=u.events.length,j=Array.from(a);return{restore:ae,from:ve};function ae(){r=re,u.previous=he,u.currentConstruct=me,u.events.length=ve,a=j,ue()}}function ue(){r.line in n&&r.column<2&&(r.column=n[r.line],r.offset+=n[r.line]-1)}}function UD(t,e){let i=e.start._index,r=e.start._bufferIndex,n=e.end._index,o=e.end._bufferIndex,s;if(i===n)s=[t[i].slice(r,o)];else{if(s=t.slice(i,n),r>-1){let a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}o>0&&s.push(t[n].slice(0,o))}return s}function zD(t,e){let i=-1,r=[],n;for(;++i<t.length;){let o=t[i],s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
`;break}case-3:{s=`\r
`;break}case-2:{s=e?" ":" ";break}case-1:{if(!e&&n)continue;s=" ";break}default:s=String.fromCharCode(o)}n=o===-2,r.push(s)}return r.join("")}var Kg={};Hl(Kg,{attentionMarkers:()=>FD,contentInitial:()=>qD,disable:()=>HD,document:()=>jD,flow:()=>BD,flowInitial:()=>WD,insideSpan:()=>YD,string:()=>ZD,text:()=>VD});var jD={42:Oi,43:Oi,45:Oi,48:Oi,49:Oi,50:Oi,51:Oi,52:Oi,53:Oi,54:Oi,55:Oi,56:Oi,57:Oi,62:_h},qD={91:Wg},WD={[-2]:bc,[-1]:bc,32:bc},BD={35:Zg,42:bs,45:[Dh,bs],60:Yg,61:Dh,95:bs,96:$h,126:$h},ZD={38:Ah,92:Qh},VD={[-5]:yc,[-4]:yc,[-3]:yc,33:Hg,38:Ah,42:gc,60:[zg,Fg],91:Gg,92:[Bg,Qh],93:gs,95:gc,96:jg},YD={null:[gc,cT]},FD={null:[42,95]},HD={null:[]};function Jg(t){let i=GS([Kg,...(t||{}).extensions||[]]),r={defined:[],lazy:{},constructs:i,content:n(iT),document:n(nT),flow:n(lT),string:n(uT),text:n(fT)};return r;function n(o){return s;function s(a){return pT(r,o,a)}}}function e0(t){for(;!Xh(t););return t}var OT=/[\0\t\n\r]/g;function t0(){let t=1,e="",i=!0,r;return n;function n(o,s,a){let l=[],c,u,f,d,p;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),f=0,e="",i&&(o.charCodeAt(0)===65279&&f++,i=void 0);f<o.length;){if(OT.lastIndex=f,c=OT.exec(o),d=c&&c.index!==void 0?c.index:o.length,p=o.charCodeAt(d),!c){e=o.slice(f);break}if(p===10&&f===d&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<d&&(l.push(o.slice(f,d)),t+=d-f),p){case 0:{l.push(65533),t++;break}case 9:{for(u=Math.ceil(t/4)*4,l.push(-2);t++<u;)l.push(-1);break}case 10:{l.push(-4),t=1;break}default:r=!0,t=1}f=d+1}return a&&(r&&l.push(-5),e&&l.push(e),l.push(null)),l}}var GD=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function mT(t){return t.replace(GD,KD)}function KD(t,e,i){if(e)return e;if(i.charCodeAt(0)===35){let n=i.charCodeAt(1),o=n===120||n===88;return Ph(i.slice(o?2:1),o?16:10)}return wa(i)||t}function Qa(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?gT(t.position):"start"in t||"end"in t?gT(t):"line"in t||"column"in t?i0(t):""}function i0(t){return bT(t&&t.line)+":"+bT(t&&t.column)}function gT(t){return i0(t&&t.start)+"-"+i0(t&&t.end)}function bT(t){return t&&typeof t=="number"?t:1}var xT={}.hasOwnProperty;function r0(t,e,i){return typeof e!="string"&&(i=e,e=void 0),JD(i)(e0(Jg(i).document().write(t0()(t,e,!0))))}function JD(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Bl),autolinkProtocol:F,autolinkEmail:F,atxHeading:o(rh),blockQuote:o(_t),characterEscape:F,characterReference:F,codeFenced:o(Qt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(Qt,s),codeText:o(cr,s),codeTextData:F,data:F,codeFlowValue:F,definition:o(ur),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(Rt),hardBreakEscape:o(Zi),hardBreakTrailing:o(Zi),htmlFlow:o(nh,s),htmlFlowData:F,htmlText:o(nh,s),htmlTextData:F,image:o(Fm),label:s,link:o(Bl),listItem:o(Tr),listItemValue:d,listOrdered:o(Br,f),listUnordered:o(Br),paragraph:o(Hm),reference:D,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(rh),strong:o(oh),thematicBreak:o(Gm)},exit:{atxHeading:l(),atxHeadingSequence:_,autolink:l(),autolinkEmail:Xe,autolinkProtocol:Xt,blockQuote:l(),characterEscapeValue:U,characterReferenceMarkerHexadecimal:Ze,characterReferenceMarkerNumeric:Ze,characterReferenceValue:Ve,codeFenced:l(v),codeFencedFence:x,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:U,codeIndented:l(S),codeText:l(me),codeTextData:U,data:U,definition:l(),definitionDestinationString:I,definitionLabelString:T,definitionTitleString:$,emphasis:l(),hardBreakEscape:l(ue),hardBreakTrailing:l(ue),htmlFlow:l(re),htmlFlowData:U,htmlText:l(he),htmlTextData:U,image:l(j),label:V,labelText:ae,lineEnding:ie,link:l(ve),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ue,resourceDestinationString:E,resourceTitleString:B,resource:ne,setextHeading:l(le),setextHeadingLineSequence:q,setextHeadingText:A,strong:l(),thematicBreak:l()}};vT(e,(t||{}).mdastExtensions||[]);let i={};return r;function r(ce){let ye={type:"root",children:[]},Ee={stack:[ye],tokenStack:[],config:e,enter:a,exit:c,buffer:s,resume:u,data:i},je=[],$e=-1;for(;++$e<ce.length;)if(ce[$e][1].type==="listOrdered"||ce[$e][1].type==="listUnordered")if(ce[$e][0]==="enter")je.push($e);else{let Vi=je.pop();$e=n(ce,Vi,$e)}for($e=-1;++$e<ce.length;){let Vi=e[ce[$e][0]];xT.call(Vi,ce[$e][1].type)&&Vi[ce[$e][1].type].call(Object.assign({sliceSerialize:ce[$e][2].sliceSerialize},Ee),ce[$e][1])}if(Ee.tokenStack.length>0){let Vi=Ee.tokenStack[Ee.tokenStack.length-1];(Vi[1]||yT).call(Ee,void 0,Vi[0])}for(ye.position={start:wo(ce.length>0?ce[0][1].start:{line:1,column:1,offset:0}),end:wo(ce.length>0?ce[ce.length-2][1].end:{line:1,column:1,offset:0})},$e=-1;++$e<e.transforms.length;)ye=e.transforms[$e](ye)||ye;return ye}function n(ce,ye,Ee){let je=ye-1,$e=-1,Vi=!1,wn,Er,co,it;for(;++je<=Ee;){let Ot=ce[je];switch(Ot[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ot[0]==="enter"?$e++:$e--,it=void 0;break}case"lineEndingBlank":{Ot[0]==="enter"&&(wn&&!it&&!$e&&!co&&(co=je),it=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:it=void 0}if(!$e&&Ot[0]==="enter"&&Ot[1].type==="listItemPrefix"||$e===-1&&Ot[0]==="exit"&&(Ot[1].type==="listUnordered"||Ot[1].type==="listOrdered")){if(wn){let at=je;for(Er=void 0;at--;){let Tt=ce[at];if(Tt[1].type==="lineEnding"||Tt[1].type==="lineEndingBlank"){if(Tt[0]==="exit")continue;Er&&(ce[Er][1].type="lineEndingBlank",Vi=!0),Tt[1].type="lineEnding",Er=at}else if(!(Tt[1].type==="linePrefix"||Tt[1].type==="blockQuotePrefix"||Tt[1].type==="blockQuotePrefixWhitespace"||Tt[1].type==="blockQuoteMarker"||Tt[1].type==="listItemIndent"))break}co&&(!Er||co<Er)&&(wn._spread=!0),wn.end=Object.assign({},Er?ce[Er][1].start:Ot[1].end),ce.splice(Er||je,0,["exit",wn,Ot[2]]),je++,Ee++}if(Ot[1].type==="listItemPrefix"){let at={type:"listItem",_spread:!1,start:Object.assign({},Ot[1].start),end:void 0};wn=at,ce.splice(je,0,["enter",at,Ot[2]]),je++,Ee++,co=void 0,it=!0}}}return ce[ye][1]._spread=Vi,Ee}function o(ce,ye){return Ee;function Ee(je){a.call(this,ce(je),je),ye&&ye.call(this,je)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(ce,ye,Ee){this.stack[this.stack.length-1].children.push(ce),this.stack.push(ce),this.tokenStack.push([ye,Ee]),ce.position={start:wo(ye.start),end:void 0}}function l(ce){return ye;function ye(Ee){ce&&ce.call(this,Ee),c.call(this,Ee)}}function c(ce,ye){let Ee=this.stack.pop(),je=this.tokenStack.pop();if(je)je[0].type!==ce.type&&(ye?ye.call(this,ce,je[0]):(je[1]||yT).call(this,ce,je[0]));else throw new Error("Cannot close `"+ce.type+"` ("+Qa({start:ce.start,end:ce.end})+"): it\u2019s not open");Ee.position.end=wo(ce.end)}function u(){return Ng(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(ce){if(this.data.expectingFirstListItemValue){let ye=this.stack[this.stack.length-2];ye.start=Number.parseInt(this.sliceSerialize(ce),10),this.data.expectingFirstListItemValue=void 0}}function p(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.lang=ce}function g(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.meta=ce}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function S(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce.replace(/(\r?\n|\r)$/g,"")}function T(ce){let ye=this.resume(),Ee=this.stack[this.stack.length-1];Ee.label=ye,Ee.identifier=Pn(this.sliceSerialize(ce)).toLowerCase()}function $(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ce}function I(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ce}function _(ce){let ye=this.stack[this.stack.length-1];if(!ye.depth){let Ee=this.sliceSerialize(ce).length;ye.depth=Ee}}function A(){this.data.setextHeadingSlurpLineEnding=!0}function q(ce){let ye=this.stack[this.stack.length-1];ye.depth=this.sliceSerialize(ce).codePointAt(0)===61?1:2}function le(){this.data.setextHeadingSlurpLineEnding=void 0}function F(ce){let Ee=this.stack[this.stack.length-1].children,je=Ee[Ee.length-1];(!je||je.type!=="text")&&(je=Zl(),je.position={start:wo(ce.start),end:void 0},Ee.push(je)),this.stack.push(je)}function U(ce){let ye=this.stack.pop();ye.value+=this.sliceSerialize(ce),ye.position.end=wo(ce.end)}function ie(ce){let ye=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Ee=ye.children[ye.children.length-1];Ee.position.end=wo(ce.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(ye.type)&&(F.call(this,ce),U.call(this,ce))}function ue(){this.data.atHardBreak=!0}function re(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function he(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function me(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function ve(){let ce=this.stack[this.stack.length-1];if(this.data.inReference){let ye=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=ye,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function j(){let ce=this.stack[this.stack.length-1];if(this.data.inReference){let ye=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=ye,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function ae(ce){let ye=this.sliceSerialize(ce),Ee=this.stack[this.stack.length-2];Ee.label=mT(ye),Ee.identifier=Pn(ye).toLowerCase()}function V(){let ce=this.stack[this.stack.length-1],ye=this.resume(),Ee=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ee.type==="link"){let je=ce.children;Ee.children=je}else Ee.alt=ye}function E(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ce}function B(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ce}function ne(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function Ue(ce){let ye=this.resume(),Ee=this.stack[this.stack.length-1];Ee.label=ye,Ee.identifier=Pn(this.sliceSerialize(ce)).toLowerCase(),this.data.referenceType="full"}function Ze(ce){this.data.characterReferenceType=ce.type}function Ve(ce){let ye=this.sliceSerialize(ce),Ee=this.data.characterReferenceType,je;Ee?(je=Ph(ye,Ee==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):je=wa(ye);let $e=this.stack.pop();$e.value+=je,$e.position.end=wo(ce.end)}function Xt(ce){U.call(this,ce);let ye=this.stack[this.stack.length-1];ye.url=this.sliceSerialize(ce)}function Xe(ce){U.call(this,ce);let ye=this.stack[this.stack.length-1];ye.url="mailto:"+this.sliceSerialize(ce)}function _t(){return{type:"blockquote",children:[]}}function Qt(){return{type:"code",lang:null,meta:null,value:""}}function cr(){return{type:"inlineCode",value:""}}function ur(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Rt(){return{type:"emphasis",children:[]}}function rh(){return{type:"heading",depth:0,children:[]}}function Zi(){return{type:"break"}}function nh(){return{type:"html",value:""}}function Fm(){return{type:"image",title:null,url:"",alt:null}}function Bl(){return{type:"link",title:null,url:"",children:[]}}function Br(ce){return{type:"list",ordered:ce.type==="listOrdered",start:null,spread:ce._spread,children:[]}}function Tr(ce){return{type:"listItem",spread:ce._spread,checked:null,children:[]}}function Hm(){return{type:"paragraph",children:[]}}function oh(){return{type:"strong",children:[]}}function Zl(){return{type:"text",value:""}}function Gm(){return{type:"thematicBreak"}}}function wo(t){return{line:t.line,column:t.column,offset:t.offset}}function vT(t,e){let i=-1;for(;++i<e.length;){let r=e[i];Array.isArray(r)?vT(t,r):e9(t,r)}}function e9(t,e){let i;for(i in e)if(xT.call(e,i))switch(i){case"canContainEols":{let r=e[i];r&&t[i].push(...r);break}case"transforms":{let r=e[i];r&&t[i].push(...r);break}case"enter":case"exit":{let r=e[i];r&&Object.assign(t[i],r);break}}}function yT(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Qa({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Qa({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Qa({start:e.start,end:e.end})+") is still open")}function Nh(t){let e=this;e.parser=i;function i(r){return r0(r,Ce(H(H({},e.data("settings")),t),{extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]}))}}function Aa(t,e){let i=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,n=i.indexOf(e);for(;n!==-1;)r++,n=i.indexOf(e,n+e.length);return r}var t9=ko(new RegExp("\\p{P}","u")),rce=ko(/[A-Za-z]/),nce=ko(/[\dA-Za-z]/),oce=ko(/[#-'*+\--9=?A-Z^-~]/);var sce=ko(/\d/),ace=ko(/[\dA-Fa-f]/),i9=ko(/[!-/:-@[-`{-~]/);function wT(t){return i9(t)||t9(t)}var kT=ko(/\s/);function ko(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function n0(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var en=function(t){if(t==null)return s9;if(typeof t=="function")return Mh(t);if(typeof t=="object")return Array.isArray(t)?r9(t):n9(t);if(typeof t=="string")return o9(t);throw new Error("Expected function, string, or object as test")};function r9(t){let e=[],i=-1;for(;++i<t.length;)e[i]=en(t[i]);return Mh(r);function r(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function n9(t){let e=t;return Mh(i);function i(r){let n=r,o;for(o in t)if(n[o]!==e[o])return!1;return!0}}function o9(t){return Mh(e);function e(i){return i&&i.type===t}}function Mh(t){return e;function e(i,r,n){return!!(a9(i)&&t.call(this,i,typeof r=="number"?r:void 0,n||void 0))}}function s9(){return!0}function a9(t){return t!==null&&typeof t=="object"&&"type"in t}var ST=[],Uh=!0,ys=!1,$a="skip";function xs(t,e,i,r){let n;typeof e=="function"&&typeof i!="function"?(r=i,i=e):n=e;let o=en(n),s=r?-1:1;a(t,void 0,[])();function a(l,c,u){let f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){let p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return d;function d(){let p=ST,g,x,v;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=l9(i(l,u)),p[0]===ys))return p;if("children"in l&&l.children){let S=l;if(S.children&&p[0]!==$a)for(x=(r?S.children.length:-1)+s,v=u.concat(S);x>-1&&x<S.children.length;){let T=S.children[x];if(g=a(T,x,v)(),g[0]===ys)return g;x=typeof g[1]=="number"?g[1]:x+s}}return p}}}function l9(t){return Array.isArray(t)?t:typeof t=="number"?[Uh,t]:t==null?ST:[t]}function o0(t,e,i){let n=en((i||{}).ignore||[]),o=c9(e),s=-1;for(;++s<o.length;)xs(t,"text",a);function a(c,u){let f=-1,d;for(;++f<u.length;){let p=u[f],g=d?d.children:void 0;if(n(p,g?g.indexOf(p):void 0,d))return;d=p}if(d)return l(c,u)}function l(c,u){let f=u[u.length-1],d=o[s][0],p=o[s][1],g=0,v=f.children.indexOf(c),S=!1,T=[];d.lastIndex=0;let $=d.exec(c.value);for(;$;){let I=$.index,_={index:$.index,input:$.input,stack:[...u,c]},A=p(...$,_);if(typeof A=="string"&&(A=A.length>0?{type:"text",value:A}:void 0),A===!1?d.lastIndex=I+1:(g!==I&&T.push({type:"text",value:c.value.slice(g,I)}),Array.isArray(A)?T.push(...A):A&&T.push(A),g=I+$[0].length,S=!0),!d.global)break;$=d.exec(c.value)}return S?(g<c.value.length&&T.push({type:"text",value:c.value.slice(g)}),f.children.splice(v,1,...T)):T=[c],v+T.length}}function c9(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let i=!t[0]||Array.isArray(t[0])?t:[t],r=-1;for(;++r<i.length;){let n=i[r];e.push([u9(n[0]),f9(n[1])])}return e}function u9(t){return typeof t=="string"?new RegExp(n0(t),"g"):t}function f9(t){return typeof t=="function"?t:function(){return t}}var s0="phrasing",a0=["autolink","link","image","label"];function c0(){return{transforms:[g9],enter:{literalAutolink:h9,literalAutolinkEmail:l0,literalAutolinkHttp:l0,literalAutolinkWww:l0},exit:{literalAutolink:m9,literalAutolinkEmail:O9,literalAutolinkHttp:d9,literalAutolinkWww:p9}}}function u0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:s0,notInConstruct:a0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:s0,notInConstruct:a0},{character:":",before:"[ps]",after:"\\/",inConstruct:s0,notInConstruct:a0}]}}function h9(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function l0(t){this.config.enter.autolinkProtocol.call(this,t)}function d9(t){this.config.exit.autolinkProtocol.call(this,t)}function p9(t){this.config.exit.data.call(this,t);let e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function O9(t){this.config.exit.autolinkEmail.call(this,t)}function m9(t){this.exit(t)}function g9(t){o0(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,b9],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,y9]],{ignore:["link","linkReference"]})}function b9(t,e,i,r,n){let o="";if(!TT(n)||(/^w/i.test(e)&&(i=e+i,e="",o="http://"),!x9(i)))return!1;let s=v9(i+r);if(!s[0])return!1;let a={type:"link",title:null,url:o+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function y9(t,e,i,r){return!TT(r,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+i,children:[{type:"text",value:e+"@"+i}]}}function x9(t){let e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function v9(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let i=e[0],r=i.indexOf(")"),n=Aa(t,"("),o=Aa(t,")");for(;r!==-1&&n>o;)t+=i.slice(0,r+1),i=i.slice(r+1),r=i.indexOf(")"),o++;return[t,i]}function TT(t,e){let i=t.input.charCodeAt(t.index-1);return(t.index===0||kT(i)||wT(i))&&(!e||i!==47)}function f0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}ET.peek=Q9;function h0(){return{enter:{gfmFootnoteDefinition:w9,gfmFootnoteDefinitionLabelString:k9,gfmFootnoteCall:E9,gfmFootnoteCallString:C9},exit:{gfmFootnoteDefinition:T9,gfmFootnoteDefinitionLabelString:S9,gfmFootnoteCall:_9,gfmFootnoteCallString:P9}}}function d0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:A9,footnoteReference:ET}}}function w9(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function k9(){this.buffer()}function S9(t){let e=this.resume(),i=this.stack[this.stack.length-1];i.type,i.label=e,i.identifier=f0(this.sliceSerialize(t)).toLowerCase()}function T9(t){this.exit(t)}function E9(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function C9(){this.buffer()}function P9(t){let e=this.resume(),i=this.stack[this.stack.length-1];i.type,i.label=e,i.identifier=f0(this.sliceSerialize(t)).toLowerCase()}function _9(t){this.exit(t)}function ET(t,e,i,r){let n=i.createTracker(r),o=n.move("[^"),s=i.enter("footnoteReference"),a=i.enter("reference");return o+=n.move(i.safe(i.associationId(t),Ce(H({},n.current()),{before:o,after:"]"}))),a(),s(),o+=n.move("]"),o}function Q9(){return"["}function A9(t,e,i,r){let n=i.createTracker(r),o=n.move("[^"),s=i.enter("footnoteDefinition"),a=i.enter("label");return o+=n.move(i.safe(i.associationId(t),Ce(H({},n.current()),{before:o,after:"]"}))),a(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(i.indentLines(i.containerFlow(t,n.current()),$9)),s(),o}function $9(t,e,i){return e===0?t:(i?"":" ")+t}var X9=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];CT.peek=I9;function p0(){return{canContainEols:["delete"],enter:{strikethrough:R9},exit:{strikethrough:L9}}}function O0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:X9}],handlers:{delete:CT}}}function R9(t){this.enter({type:"delete",children:[]},t)}function L9(t){this.exit(t)}function CT(t,e,i,r){let n=i.createTracker(r),o=i.enter("strikethrough"),s=n.move("~~");return s+=i.containerPhrasing(t,Ce(H({},n.current()),{before:s,after:"~"})),s+=n.move("~~"),o(),s}function I9(){return"~"}function _T(t,e={}){let i=(e.align||[]).concat(),r=e.stringLength||N9,n=[],o=[],s=[],a=[],l=0,c=-1;for(;++c<t.length;){let g=[],x=[],v=-1;for(t[c].length>l&&(l=t[c].length);++v<t[c].length;){let S=D9(t[c][v]);if(e.alignDelimiters!==!1){let T=r(S);x[v]=T,(a[v]===void 0||T>a[v])&&(a[v]=T)}g.push(S)}o[c]=g,s[c]=x}let u=-1;if(typeof i=="object"&&"length"in i)for(;++u<l;)n[u]=PT(i[u]);else{let g=PT(i);for(;++u<l;)n[u]=g}u=-1;let f=[],d=[];for(;++u<l;){let g=n[u],x="",v="";g===99?(x=":",v=":"):g===108?x=":":g===114&&(v=":");let S=e.alignDelimiters===!1?1:Math.max(1,a[u]-x.length-v.length),T=x+"-".repeat(S)+v;e.alignDelimiters!==!1&&(S=x.length+S+v.length,S>a[u]&&(a[u]=S),d[u]=S),f[u]=T}o.splice(1,0,f),s.splice(1,0,d),c=-1;let p=[];for(;++c<o.length;){let g=o[c],x=s[c];u=-1;let v=[];for(;++u<l;){let S=g[u]||"",T="",$="";if(e.alignDelimiters!==!1){let I=a[u]-(x[u]||0),_=n[u];_===114?T=" ".repeat(I):_===99?I%2?(T=" ".repeat(I/2+.5),$=" ".repeat(I/2-.5)):(T=" ".repeat(I/2),$=T):$=" ".repeat(I)}e.delimiterStart!==!1&&!u&&v.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&S==="")&&(e.delimiterStart!==!1||u)&&v.push(" "),e.alignDelimiters!==!1&&v.push(T),v.push(S),e.alignDelimiters!==!1&&v.push($),e.padding!==!1&&v.push(" "),(e.delimiterEnd!==!1||u!==l-1)&&v.push("|")}p.push(e.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return p.join(`
`)}function D9(t){return t==null?"":String(t)}function N9(t){return t.length}function PT(t){let e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}var QT={}.hasOwnProperty;function Xa(t,e){let i=e||{};function r(n,...o){let s=r.invalid,a=r.handlers;if(n&&QT.call(n,t)){let l=String(n[t]);s=QT.call(a,l)?a[l]:r.unknown}if(s)return s.call(this,n,...o)}return r.handlers=i.handlers||{},r.invalid=i.invalid,r.unknown=i.unknown,r}function AT(t,e,i,r){let n=i.enter("blockquote"),o=i.createTracker(r);o.move("> "),o.shift(2);let s=i.indentLines(i.containerFlow(t,o.current()),M9);return n(),s}function M9(t,e,i){return">"+(i?"":" ")+t}function XT(t,e){return $T(t,e.inConstruct,!0)&&!$T(t,e.notInConstruct,!1)}function $T(t,e,i){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return i;let r=-1;for(;++r<e.length;)if(t.includes(e[r]))return!0;return!1}function m0(t,e,i,r){let n=-1;for(;++n<i.unsafe.length;)if(i.unsafe[n].character===`
`&&XT(i.stack,i.unsafe[n]))return/[ \t]/.test(r.before)?"":" ";return`\\
`}function zh(t,e){let i=String(t),r=i.indexOf(e),n=r,o=0,s=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===n?++o>s&&(s=o):o=1,n=r+e.length,r=i.indexOf(e,n);return s}function RT(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function LT(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function IT(t,e,i,r){let n=LT(i),o=t.value||"",s=n==="`"?"GraveAccent":"Tilde";if(RT(t,i)){let f=i.enter("codeIndented"),d=i.indentLines(o,U9);return f(),d}let a=i.createTracker(r),l=n.repeat(Math.max(zh(o,n)+1,3)),c=i.enter("codeFenced"),u=a.move(l);if(t.lang){let f=i.enter(`codeFencedLang${s}`);u+=a.move(i.safe(t.lang,H({before:u,after:" ",encode:["`"]},a.current()))),f()}if(t.lang&&t.meta){let f=i.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(i.safe(t.meta,H({before:u,after:`
`,encode:["`"]},a.current()))),f()}return u+=a.move(`
`),o&&(u+=a.move(o+`
`)),u+=a.move(l),c(),u}function U9(t,e,i){return(i?"":" ")+t}function Ra(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function DT(t,e,i,r){let n=Ra(i),o=n==='"'?"Quote":"Apostrophe",s=i.enter("definition"),a=i.enter("label"),l=i.createTracker(r),c=l.move("[");return c+=l.move(i.safe(i.associationId(t),H({before:c,after:"]"},l.current()))),c+=l.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(i.safe(t.url,H({before:c,after:">"},l.current()))),c+=l.move(">")):(a=i.enter("destinationRaw"),c+=l.move(i.safe(t.url,H({before:c,after:t.title?" ":`
`},l.current())))),a(),t.title&&(a=i.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(i.safe(t.title,H({before:c,after:n},l.current()))),c+=l.move(n),a()),s(),c}function NT(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}g0.peek=z9;function g0(t,e,i,r){let n=NT(i),o=i.enter("emphasis"),s=i.createTracker(r),a=s.move(n);return a+=s.move(i.containerPhrasing(t,H({before:a,after:n},s.current()))),a+=s.move(n),o(),a}function z9(t,e,i){return i.options.emphasis||"*"}function mi(t,e,i,r){let n,o,s;typeof e=="function"&&typeof i!="function"?(o=void 0,s=e,n=i):(o=e,s=i,n=r),xs(t,o,a,n);function a(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return s(l,f,u)}}var j9={};function xc(t,e){let i=e||j9,r=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,n=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return UT(t,r,n)}function UT(t,e,i){if(q9(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return MT(t.children,e,i)}return Array.isArray(t)?MT(t,e,i):""}function MT(t,e,i){let r=[],n=-1;for(;++n<t.length;)r[n]=UT(t[n],e,i);return r.join("")}function q9(t){return!!(t&&typeof t=="object")}function zT(t,e){let i=!1;return mi(t,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return i=!0,ys}),!!((!t.depth||t.depth<3)&&xc(t)&&(e.options.setext||i))}function jT(t,e,i,r){let n=Math.max(Math.min(6,t.depth||1),1),o=i.createTracker(r);if(zT(t,i)){let u=i.enter("headingSetext"),f=i.enter("phrasing"),d=i.containerPhrasing(t,Ce(H({},o.current()),{before:`
`,after:`
`}));return f(),u(),d+`
`+(n===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
`))+1))}let s="#".repeat(n),a=i.enter("headingAtx"),l=i.enter("phrasing");o.move(s+" ");let c=i.containerPhrasing(t,H({before:"# ",after:`
`},o.current()));return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?s+" "+c:s,i.options.closeAtx&&(c+=" "+s),l(),a(),c}b0.peek=W9;function b0(t){return t.value||""}function W9(){return"<"}y0.peek=B9;function y0(t,e,i,r){let n=Ra(i),o=n==='"'?"Quote":"Apostrophe",s=i.enter("image"),a=i.enter("label"),l=i.createTracker(r),c=l.move("![");return c+=l.move(i.safe(t.alt,H({before:c,after:"]"},l.current()))),c+=l.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(i.safe(t.url,H({before:c,after:">"},l.current()))),c+=l.move(">")):(a=i.enter("destinationRaw"),c+=l.move(i.safe(t.url,H({before:c,after:t.title?" ":")"},l.current())))),a(),t.title&&(a=i.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(i.safe(t.title,H({before:c,after:n},l.current()))),c+=l.move(n),a()),c+=l.move(")"),s(),c}function B9(){return"!"}x0.peek=Z9;function x0(t,e,i,r){let n=t.referenceType,o=i.enter("imageReference"),s=i.enter("label"),a=i.createTracker(r),l=a.move("!["),c=i.safe(t.alt,H({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=i.stack;i.stack=[],s=i.enter("reference");let f=i.safe(i.associationId(t),H({before:l,after:"]"},a.current()));return s(),i.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function Z9(){return"!"}v0.peek=V9;function v0(t,e,i){let r=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(r);)n+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<i.unsafe.length;){let s=i.unsafe[o],a=i.compilePattern(s),l;if(s.atBreak)for(;l=a.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return n+r+n}function V9(){return"`"}function w0(t,e){let i=xc(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(i===t.url||"mailto:"+i===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}k0.peek=Y9;function k0(t,e,i,r){let n=Ra(i),o=n==='"'?"Quote":"Apostrophe",s=i.createTracker(r),a,l;if(w0(t,i)){let u=i.stack;i.stack=[],a=i.enter("autolink");let f=s.move("<");return f+=s.move(i.containerPhrasing(t,H({before:f,after:">"},s.current()))),f+=s.move(">"),a(),i.stack=u,f}a=i.enter("link"),l=i.enter("label");let c=s.move("[");return c+=s.move(i.containerPhrasing(t,H({before:c,after:"]("},s.current()))),c+=s.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=i.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(i.safe(t.url,H({before:c,after:">"},s.current()))),c+=s.move(">")):(l=i.enter("destinationRaw"),c+=s.move(i.safe(t.url,H({before:c,after:t.title?" ":")"},s.current())))),l(),t.title&&(l=i.enter(`title${o}`),c+=s.move(" "+n),c+=s.move(i.safe(t.title,H({before:c,after:n},s.current()))),c+=s.move(n),l()),c+=s.move(")"),a(),c}function Y9(t,e,i){return w0(t,i)?"<":"["}S0.peek=F9;function S0(t,e,i,r){let n=t.referenceType,o=i.enter("linkReference"),s=i.enter("label"),a=i.createTracker(r),l=a.move("["),c=i.containerPhrasing(t,H({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=i.stack;i.stack=[],s=i.enter("reference");let f=i.safe(i.associationId(t),H({before:l,after:"]"},a.current()));return s(),i.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function F9(){return"["}function La(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function qT(t){let e=La(t),i=t.options.bulletOther;if(!i)return e==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+i+"`) to be different");return i}function WT(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function jh(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function BT(t,e,i,r){let n=i.enter("list"),o=i.bulletCurrent,s=t.ordered?WT(i):La(i),a=t.ordered?s==="."?")":".":qT(i),l=e&&i.bulletLastUsed?s===i.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(l=!0),jh(i)===s&&u){let f=-1;for(;++f<t.children.length;){let d=t.children[f];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=a),i.bulletCurrent=s;let c=i.containerFlow(t,r);return i.bulletLastUsed=s,i.bulletCurrent=o,n(),c}function ZT(t){let e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function VT(t,e,i,r){let n=ZT(i),o=i.bulletCurrent||La(i);e&&e.type==="list"&&e.ordered&&(o=(typeof e.start=="number"&&e.start>-1?e.start:1)+(i.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let s=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(s=Math.ceil(s/4)*4);let a=i.createTracker(r);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=i.enter("listItem"),c=i.indentLines(i.containerFlow(t,a.current()),u);return l(),c;function u(f,d,p){return d?(p?"":" ".repeat(s))+f:(p?o:o+" ".repeat(s-o.length))+f}}function YT(t,e,i,r){let n=i.enter("paragraph"),o=i.enter("phrasing"),s=i.containerPhrasing(t,r);return o(),n(),s}var T0=en(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function FT(t,e,i,r){return(t.children.some(function(s){return T0(s)})?i.containerPhrasing:i.containerFlow).call(i,t,r)}function HT(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}E0.peek=H9;function E0(t,e,i,r){let n=HT(i),o=i.enter("strong"),s=i.createTracker(r),a=s.move(n+n);return a+=s.move(i.containerPhrasing(t,H({before:a,after:n},s.current()))),a+=s.move(n+n),o(),a}function H9(t,e,i){return i.options.strong||"*"}function GT(t,e,i,r){return i.safe(t.value,r)}function KT(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function JT(t,e,i){let r=(jh(i)+(i.options.ruleSpaces?" ":"")).repeat(KT(i));return i.options.ruleSpaces?r.slice(0,-1):r}var vc={blockquote:AT,break:m0,code:IT,definition:DT,emphasis:g0,hardBreak:m0,heading:jT,html:b0,image:y0,imageReference:x0,inlineCode:v0,link:k0,linkReference:S0,list:BT,listItem:VT,paragraph:YT,root:FT,strong:E0,text:GT,thematicBreak:JT};function P0(){return{enter:{table:G9,tableData:e3,tableHeader:e3,tableRow:J9},exit:{codeText:eN,table:K9,tableData:C0,tableHeader:C0,tableRow:C0}}}function G9(t){let e=t._align;this.enter({type:"table",align:e.map(function(i){return i==="none"?null:i}),children:[]},t),this.data.inTable=!0}function K9(t){this.exit(t),this.data.inTable=void 0}function J9(t){this.enter({type:"tableRow",children:[]},t)}function C0(t){this.exit(t)}function e3(t){this.enter({type:"tableCell",children:[]},t)}function eN(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,tN));let i=this.stack[this.stack.length-1];i.type,i.value=e,this.exit(t)}function tN(t,e){return e==="|"?e:t}function _0(t){let e=t||{},i=e.tableCellPadding,r=e.tablePipeAlign,n=e.stringLength,o=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:s,tableCell:l,tableRow:a}};function s(p,g,x,v){return c(u(p,x,v),p.align)}function a(p,g,x,v){let S=f(p,x,v),T=c([S]);return T.slice(0,T.indexOf(`
`))}function l(p,g,x,v){let S=x.enter("tableCell"),T=x.enter("phrasing"),$=x.containerPhrasing(p,Ce(H({},v),{before:o,after:o}));return T(),S(),$}function c(p,g){return _T(p,{align:g,alignDelimiters:r,padding:i,stringLength:n})}function u(p,g,x){let v=p.children,S=-1,T=[],$=g.enter("table");for(;++S<v.length;)T[S]=f(v[S],g,x);return $(),T}function f(p,g,x){let v=p.children,S=-1,T=[],$=g.enter("tableRow");for(;++S<v.length;)T[S]=l(v[S],p,g,x);return $(),T}function d(p,g,x){let v=vc.inlineCode(p,g,x);return x.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function Q0(){return{exit:{taskListCheckValueChecked:t3,taskListCheckValueUnchecked:t3,paragraph:iN}}}function A0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:rN}}}function t3(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function iN(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let i=this.stack[this.stack.length-1];i.type;let r=i.children[0];if(r&&r.type==="text"){let n=e.children,o=-1,s;for(;++o<n.length;){let a=n[o];if(a.type==="paragraph"){s=a;break}}s===i&&(r.value=r.value.slice(1),r.value.length===0?i.children.shift():i.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,i.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function rN(t,e,i,r){let n=t.children[0],o=typeof t.checked=="boolean"&&n&&n.type==="paragraph",s="["+(t.checked?"x":" ")+"] ",a=i.createTracker(r);o&&a.move(s);let l=vc.listItem(t,e,i,H(H({},r),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+s}}function $0(){return[c0(),h0(),p0(),P0(),Q0()]}function X0(t){return{extensions:[u0(),d0(),O0(),_0(t),A0()]}}function i3(t,e,i,r){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,i=i>0?i:0,r.length<1e4)s=Array.from(r),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<r.length;)s=r.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var r3={}.hasOwnProperty;function n3(t){let e={},i=-1;for(;++i<t.length;)nN(e,t[i]);return e}function nN(t,e){let i;for(i in e){let n=(r3.call(t,i)?t[i]:void 0)||(t[i]={}),o=e[i],s;if(o)for(s in o){r3.call(n,s)||(n[s]=[]);let a=o[s];oN(n[s],Array.isArray(a)?a:a?[a]:[])}}}function oN(t,e){let i=-1,r=[];for(;++i<e.length;)(e[i].add==="after"?t:r).push(e[i]);i3(t,0,0,r)}var sN=So(new RegExp("\\p{P}","u")),Ia=So(/[A-Za-z]/),qh=So(/[\dA-Za-z]/),rhe=So(/[#-'*+\--9=?A-Z^-~]/);function o3(t){return t!==null&&(t<32||t===127)}var nhe=So(/\d/),ohe=So(/[\dA-Fa-f]/),aN=So(/[!-/:-@[-`{-~]/);function vs(t){return t!==null&&(t<0||t===32)}function R0(t){return aN(t)||sN(t)}var Da=So(/\s/);function So(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}var lN={tokenize:dN,partial:!0},s3={tokenize:pN,partial:!0},a3={tokenize:ON,partial:!0},l3={tokenize:mN,partial:!0},cN={tokenize:gN,partial:!0},c3={tokenize:fN,previous:f3},u3={tokenize:hN,previous:h3},_n={tokenize:uN,previous:d3},tn={};function I0(){return{text:tn}}var ws=48;for(;ws<123;)tn[ws]=_n,ws++,ws===58?ws=65:ws===91&&(ws=97);tn[43]=_n;tn[45]=_n;tn[46]=_n;tn[95]=_n;tn[72]=[_n,u3];tn[104]=[_n,u3];tn[87]=[_n,c3];tn[119]=[_n,c3];function uN(t,e,i){let r=this,n,o;return s;function s(f){return!L0(f)||!d3.call(r,r.previous)||D0(r.events)?i(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(f))}function a(f){return L0(f)?(t.consume(f),a):f===64?(t.consume(f),l):i(f)}function l(f){return f===46?t.check(cN,u,c)(f):f===45||f===95||qh(f)?(o=!0,t.consume(f),l):u(f)}function c(f){return t.consume(f),n=!0,l}function u(f){return o&&n&&Ia(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):i(f)}}function fN(t,e,i){let r=this;return n;function n(s){return s!==87&&s!==119||!f3.call(r,r.previous)||D0(r.events)?i(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(lN,t.attempt(s3,t.attempt(a3,o),i),i)(s))}function o(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(s)}}function hN(t,e,i){let r=this,n="",o=!1;return s;function s(f){return(f===72||f===104)&&h3.call(r,r.previous)&&!D0(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),a):i(f)}function a(f){if(Ia(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),a;if(f===58){let d=n.toLowerCase();if(d==="http"||d==="https")return t.consume(f),l}return i(f)}function l(f){return f===47?(t.consume(f),o?c:(o=!0,l)):i(f)}function c(f){return f===null||o3(f)||vs(f)||Da(f)||R0(f)?i(f):t.attempt(s3,t.attempt(a3,u),i)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function dN(t,e,i){let r=0;return n;function n(s){return(s===87||s===119)&&r<3?(r++,t.consume(s),n):s===46&&r===3?(t.consume(s),o):i(s)}function o(s){return s===null?i(s):e(s)}}function pN(t,e,i){let r,n,o;return s;function s(c){return c===46||c===95?t.check(l3,l,a)(c):c===null||vs(c)||Da(c)||c!==45&&R0(c)?l(c):(o=!0,t.consume(c),s)}function a(c){return c===95?r=!0:(n=r,r=void 0),t.consume(c),s}function l(c){return n||r||!o?i(c):e(c)}}function ON(t,e){let i=0,r=0;return n;function n(s){return s===40?(i++,t.consume(s),n):s===41&&r<i?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?t.check(l3,e,o)(s):s===null||vs(s)||Da(s)?e(s):(t.consume(s),n)}function o(s){return s===41&&r++,t.consume(s),n}}function mN(t,e,i){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(t.consume(a),r):a===38?(t.consume(a),o):a===93?(t.consume(a),n):a===60||a===null||vs(a)||Da(a)?e(a):i(a)}function n(a){return a===null||a===40||a===91||vs(a)||Da(a)?e(a):r(a)}function o(a){return Ia(a)?s(a):i(a)}function s(a){return a===59?(t.consume(a),r):Ia(a)?(t.consume(a),s):i(a)}}function gN(t,e,i){return r;function r(o){return t.consume(o),n}function n(o){return qh(o)?i(o):e(o)}}function f3(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||vs(t)}function h3(t){return!Ia(t)}function d3(t){return!(t===47||L0(t))}function L0(t){return t===43||t===45||t===46||t===95||qh(t)}function D0(t){let e=t.length,i=!1;for(;e--;){let r=t[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){i=!0;break}if(r._gfmAutolinkLiteralWalkedInto){i=!1;break}}return t.length>0&&!i&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}var fhe=To(new RegExp("\\p{P}","u")),hhe=To(/[A-Za-z]/),dhe=To(/[\dA-Za-z]/),phe=To(/[#-'*+\--9=?A-Z^-~]/);var Ohe=To(/\d/),mhe=To(/[\dA-Fa-f]/),ghe=To(/[!-/:-@[-`{-~]/);function p3(t){return t!==null&&t<-2}function wc(t){return t!==null&&(t<0||t===32)}function kc(t){return t===-2||t===-1||t===32}var bhe=To(/\s/);function To(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Sc(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return kc(l)?(t.enter(i),a(l)):e(l)}function a(l){return kc(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var N0={tokenize:bN,partial:!0};function bN(t,e,i){return r;function r(o){return kc(o)?Sc(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||p3(o)?e(o):i(o)}}function Wh(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var yN={tokenize:EN,partial:!0};function M0(){return{document:{91:{tokenize:kN,continuation:{tokenize:SN},exit:TN}},text:{91:{tokenize:wN},93:{add:"after",tokenize:xN,resolveTo:vN}}}}function xN(t,e,i){let r=this,n=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),s;for(;n--;){let l=r.events[n][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return i(l);let c=Wh(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?i(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function vN(t,e){let i=t.length,r;for(;i--;)if(t[i][1].type==="labelImage"&&t[i][0]==="enter"){r=t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[t[i+1],t[i+2],["enter",n,e],t[i+3],t[i+4],["enter",o,e],["exit",o,e],["enter",s,e],["enter",a,e],["exit",a,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(i,t.length-i+1,...l),t}function wN(t,e,i){let r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,s;return a;function a(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?i(f):(t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(f){if(o>999||f===93&&!s||f===null||f===91||wc(f))return i(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(Wh(r.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):i(f)}return wc(f)||(s=!0),o++,t.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(t.consume(f),o++,c):c(f)}}function kN(t,e,i){let r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):i(g)}function u(g){if(s>999||g===93&&!a||g===null||g===91||wc(g))return i(g);if(g===93){t.exit("chunkString");let x=t.exit("gfmFootnoteDefinitionLabelString");return o=Wh(r.sliceSerialize(x)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return wc(g)||(a=!0),s++,t.consume(g),g===92?f:u}function f(g){return g===91||g===92||g===93?(t.consume(g),s++,u):u(g)}function d(g){return g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),n.includes(o)||n.push(o),Sc(t,p,"gfmFootnoteDefinitionWhitespace")):i(g)}function p(g){return e(g)}}function SN(t,e,i){return t.check(N0,e,t.attempt(yN,e,i))}function TN(t){t.exit("gfmFootnoteDefinition")}function EN(t,e,i){let r=this;return Sc(t,n,"gfmFootnoteDefinitionIndent",5);function n(o){let s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):i(o)}}function Bh(t,e,i,r){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,i=i>0?i:0,r.length<1e4)s=Array.from(r),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<r.length;)s=r.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var CN=Eo(new RegExp("\\p{P}","u")),Ihe=Eo(/[A-Za-z]/),Dhe=Eo(/[\dA-Za-z]/),Nhe=Eo(/[#-'*+\--9=?A-Z^-~]/);var Mhe=Eo(/\d/),Uhe=Eo(/[\dA-Fa-f]/),PN=Eo(/[!-/:-@[-`{-~]/);function O3(t){return t!==null&&(t<0||t===32)}function m3(t){return PN(t)||CN(t)}var g3=Eo(/\s/);function Eo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function U0(t){if(t===null||O3(t)||g3(t))return 1;if(m3(t))return 2}function b3(t,e,i){let r=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!r.includes(o)&&(e=o(e,i),r.push(o))}return e}function z0(t){let i=(t||{}).singleTilde,r={tokenize:o,resolveAll:n};return i==null&&(i=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function n(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},f={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},d=[["enter",u,a],["enter",s[c][1],a],["exit",s[c][1],a],["enter",f,a]],p=a.parser.constructs.insideSpan.null;p&&Bh(d,d.length,0,b3(p,s.slice(c+1,l),a)),Bh(d,d.length,0,[["exit",f,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",u,a]]),Bh(s,c-1,l-c+3,d),l=c+d.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){let c=this.previous,u=this.events,f=0;return d;function d(g){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),p(g))}function p(g){let x=U0(c);if(g===126)return f>1?l(g):(s.consume(g),f++,p);if(f<2&&!i)return l(g);let v=s.exit("strikethroughSequenceTemporary"),S=U0(g);return v._open=!S||S===2&&!!x,v._close=!x||x===2&&!!S,a(g)}}}var Ghe=Co(new RegExp("\\p{P}","u")),Khe=Co(/[A-Za-z]/),Jhe=Co(/[\dA-Za-z]/),ede=Co(/[#-'*+\--9=?A-Z^-~]/);var tde=Co(/\d/),ide=Co(/[\dA-Fa-f]/),rde=Co(/[!-/:-@[-`{-~]/);function Tc(t){return t!==null&&t<-2}function j0(t){return t!==null&&(t<0||t===32)}function Qn(t){return t===-2||t===-1||t===32}var nde=Co(/\s/);function Co(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Na(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Qn(l)?(t.enter(i),a(l)):e(l)}function a(l){return Qn(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var Zh=class{constructor(){this.map=[]}add(e,i,r){_N(this,e,i,r)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let i=this.map.length,r=[];for(;i>0;)i-=1,r.push(e.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),e.length=this.map[i][0];r.push([...e]),e.length=0;let n=r.pop();for(;n;)e.push(...n),n=r.pop();this.map.length=0}};function _N(t,e,i,r){let n=0;if(!(i===0&&r.length===0)){for(;n<t.map.length;){if(t.map[n][0]===e){t.map[n][1]+=i,t.map[n][2].push(...r);return}n+=1}t.map.push([e,i,r])}}function y3(t,e){let i=!1,r=[];for(;e<t.length;){let n=t[e];if(i){if(n[0]==="enter")n[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(n[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(n[1].type==="tableDelimiterRow")break}else n[0]==="enter"&&n[1].type==="tableDelimiterRow"&&(i=!0);e+=1}return r}function q0(){return{flow:{null:{tokenize:QN,resolveAll:AN}}}}function QN(t,e,i){let r=this,n=0,o=0,s;return a;function a(U){let ie=r.events.length-1;for(;ie>-1;){let he=r.events[ie][1].type;if(he==="lineEnding"||he==="linePrefix")ie--;else break}let ue=ie>-1?r.events[ie][1].type:null,re=ue==="tableHead"||ue==="tableRow"?A:l;return re===A&&r.parser.lazy[r.now().line]?i(U):re(U)}function l(U){return t.enter("tableHead"),t.enter("tableRow"),c(U)}function c(U){return U===124||(s=!0,o+=1),u(U)}function u(U){return U===null?i(U):Tc(U)?o>1?(o=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(U),t.exit("lineEnding"),p):i(U):Qn(U)?Na(t,u,"whitespace")(U):(o+=1,s&&(s=!1,n+=1),U===124?(t.enter("tableCellDivider"),t.consume(U),t.exit("tableCellDivider"),s=!0,u):(t.enter("data"),f(U)))}function f(U){return U===null||U===124||j0(U)?(t.exit("data"),u(U)):(t.consume(U),U===92?d:f)}function d(U){return U===92||U===124?(t.consume(U),f):f(U)}function p(U){return r.interrupt=!1,r.parser.lazy[r.now().line]?i(U):(t.enter("tableDelimiterRow"),s=!1,Qn(U)?Na(t,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):g(U))}function g(U){return U===45||U===58?v(U):U===124?(s=!0,t.enter("tableCellDivider"),t.consume(U),t.exit("tableCellDivider"),x):_(U)}function x(U){return Qn(U)?Na(t,v,"whitespace")(U):v(U)}function v(U){return U===58?(o+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(U),t.exit("tableDelimiterMarker"),S):U===45?(o+=1,S(U)):U===null||Tc(U)?I(U):_(U)}function S(U){return U===45?(t.enter("tableDelimiterFiller"),T(U)):_(U)}function T(U){return U===45?(t.consume(U),T):U===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(U),t.exit("tableDelimiterMarker"),$):(t.exit("tableDelimiterFiller"),$(U))}function $(U){return Qn(U)?Na(t,I,"whitespace")(U):I(U)}function I(U){return U===124?g(U):U===null||Tc(U)?!s||n!==o?_(U):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(U)):_(U)}function _(U){return i(U)}function A(U){return t.enter("tableRow"),q(U)}function q(U){return U===124?(t.enter("tableCellDivider"),t.consume(U),t.exit("tableCellDivider"),q):U===null||Tc(U)?(t.exit("tableRow"),e(U)):Qn(U)?Na(t,q,"whitespace")(U):(t.enter("data"),le(U))}function le(U){return U===null||U===124||j0(U)?(t.exit("data"),q(U)):(t.consume(U),U===92?F:le)}function F(U){return U===92||U===124?(t.consume(U),le):le(U)}}function AN(t,e){let i=-1,r=!0,n=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,d=new Zh;for(;++i<t.length;){let p=t[i],g=p[1];p[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(x3(d,e,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(i,0,[["enter",c,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],s=[0,i+1,0,0],a&&(a=!1,u={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(i,0,[["enter",u,e]])),n=g.type==="tableDelimiterRow"?2:u?3:1):n&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],f=Vh(d,e,o,n,void 0,f),o=[0,0,0,0]),s[2]=i)):g.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(s[0]=s[1],f=Vh(d,e,o,n,void 0,f)),o=s,s=[o[1],i,0,0])):g.type==="tableHead"?(a=!0,l=i):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=i,o[1]!==0?(s[0]=s[1],f=Vh(d,e,o,n,i,f)):s[1]!==0&&(f=Vh(d,e,s,n,i,f)),n=0):n&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=i)}for(l!==0&&x3(d,e,l,c,u),d.consume(e.events),i=-1;++i<e.events.length;){let p=e.events[i];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=y3(e.events,i))}return t}function Vh(t,e,i,r,n,o){let s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";i[0]!==0&&(o.end=Object.assign({},Ma(e.events,i[0])),t.add(i[0],0,[["exit",o,e]]));let l=Ma(e.events,i[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},t.add(i[1],0,[["enter",o,e]]),i[2]!==0){let c=Ma(e.events,i[2]),u=Ma(e.events,i[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},u)};if(t.add(i[2],0,[["enter",f,e]]),r!==2){let d=e.events[i[2]],p=e.events[i[3]];if(d[1].end=Object.assign({},p[1].end),d[1].type="chunkText",d[1].contentType="text",i[3]>i[2]+1){let g=i[2]+1,x=i[3]-i[2]-1;t.add(g,x,[])}}t.add(i[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Ma(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function x3(t,e,i,r,n){let o=[],s=Ma(e.events,i);n&&(n.end=Object.assign({},s),o.push(["exit",n,e])),r.end=Object.assign({},s),o.push(["exit",r,e]),t.add(i+1,0,o)}function Ma(t,e){let i=t[e],r=i[0]==="enter"?"start":"end";return i[1][r]}var gde=Po(new RegExp("\\p{P}","u")),bde=Po(/[A-Za-z]/),yde=Po(/[\dA-Za-z]/),xde=Po(/[#-'*+\--9=?A-Z^-~]/);var vde=Po(/\d/),wde=Po(/[\dA-Fa-f]/),kde=Po(/[!-/:-@[-`{-~]/);function v3(t){return t!==null&&t<-2}function w3(t){return t!==null&&(t<0||t===32)}function Ec(t){return t===-2||t===-1||t===32}var Sde=Po(/\s/);function Po(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function k3(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Ec(l)?(t.enter(i),a(l)):e(l)}function a(l){return Ec(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var $N={tokenize:XN};function W0(){return{text:{91:$N}}}function XN(t,e,i){let r=this;return n;function n(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?i(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),o)}function o(l){return w3(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),s):i(l)}function s(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),a):i(l)}function a(l){return v3(l)?e(l):Ec(l)?t.check({tokenize:RN},e,i)(l):i(l)}}function RN(t,e,i){return k3(t,r,"whitespace");function r(n){return n===null?i(n):e(n)}}function S3(t){return n3([I0(),M0(),z0(t),q0(),W0()])}var LN={};function Yh(t){let e=this,i=t||LN,r=e.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(S3(i)),o.push($0()),s.push(X0(i))}function B0(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:n,mathFlowFence:r,mathFlowFenceMeta:i,mathFlowValue:a,mathText:s,mathTextData:a}};function t(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function e(){this.buffer()}function i(){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c;let f=u.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){let c=this.resume(),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c,u.data.hChildren.push({type:"text",value:c})}function a(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function Z0(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),r.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:i,inlineMath:r}};function i(o,s,a,l){let c=o.value||"",u=a.createTracker(l),f="$".repeat(Math.max(zh(c,"$")+1,2)),d=a.enter("mathFlow"),p=u.move(f);if(o.meta){let g=a.enter("mathFlowMeta");p+=u.move(a.safe(o.meta,H({after:`
`,before:p,encode:["$"]},u.current()))),g()}return p+=u.move(`
`),c&&(p+=u.move(c+`
`)),p+=u.move(f),d(),p}function r(o,s,a){let l=o.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let u="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f<a.unsafe.length;){let d=a.unsafe[f];if(!d.atBreak)continue;let p=a.compilePattern(d),g;for(;g=p.exec(l);){let x=g.index;l.codePointAt(x)===10&&l.codePointAt(x-1)===13&&x--,l=l.slice(0,x)+" "+l.slice(g.index+1)}}return u+l+u}function n(){return"$"}}var ipe=_o(new RegExp("\\p{P}","u")),rpe=_o(/[A-Za-z]/),npe=_o(/[\dA-Za-z]/),ope=_o(/[#-'*+\--9=?A-Z^-~]/);var spe=_o(/\d/),ape=_o(/[\dA-Fa-f]/),lpe=_o(/[!-/:-@[-`{-~]/);function An(t){return t!==null&&t<-2}function V0(t){return t===-2||t===-1||t===32}var cpe=_o(/\s/);function _o(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Cc(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return V0(l)?(t.enter(i),a(l)):e(l)}function a(l){return V0(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var E3={tokenize:IN,concrete:!0},T3={tokenize:DN,partial:!0};function IN(t,e,i){let r=this,n=r.events[r.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(T){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(T)}function l(T){return T===36?(t.consume(T),s++,l):s<2?i(T):(t.exit("mathFlowFenceSequence"),Cc(t,c,"whitespace")(T))}function c(T){return T===null||An(T)?f(T):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(T))}function u(T){return T===null||An(T)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),f(T)):T===36?i(T):(t.consume(T),u)}function f(T){return t.exit("mathFlowFence"),r.interrupt?e(T):t.attempt(T3,d,v)(T)}function d(T){return t.attempt({tokenize:S,partial:!0},v,p)(T)}function p(T){return(o?Cc(t,g,"linePrefix",o+1):g)(T)}function g(T){return T===null?v(T):An(T)?t.attempt(T3,d,v)(T):(t.enter("mathFlowValue"),x(T))}function x(T){return T===null||An(T)?(t.exit("mathFlowValue"),g(T)):(t.consume(T),x)}function v(T){return t.exit("mathFlow"),e(T)}function S(T,$,I){let _=0;return Cc(T,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function A(F){return T.enter("mathFlowFence"),T.enter("mathFlowFenceSequence"),q(F)}function q(F){return F===36?(_++,T.consume(F),q):_<s?I(F):(T.exit("mathFlowFenceSequence"),Cc(T,le,"whitespace")(F))}function le(F){return F===null||An(F)?(T.exit("mathFlowFence"),$(F)):I(F)}}}function DN(t,e,i){let r=this;return n;function n(s){return s===null?e(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?i(s):e(s)}}function C3(t){let i=(t||{}).singleDollarTextMath;return i==null&&(i=!0),{tokenize:r,resolve:NN,previous:MN};function r(n,o,s){let a=this,l=0,c,u;return f;function f(v){return n.enter("mathText"),n.enter("mathTextSequence"),d(v)}function d(v){return v===36?(n.consume(v),l++,d):l<2&&!i?s(v):(n.exit("mathTextSequence"),p(v))}function p(v){return v===null?s(v):v===36?(u=n.enter("mathTextSequence"),c=0,x(v)):v===32?(n.enter("space"),n.consume(v),n.exit("space"),p):An(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),p):(n.enter("mathTextData"),g(v))}function g(v){return v===null||v===32||v===36||An(v)?(n.exit("mathTextData"),p(v)):(n.consume(v),g)}function x(v){return v===36?(n.consume(v),c++,x):c===l?(n.exit("mathTextSequence"),n.exit("mathText"),o(v)):(u.type="mathTextData",g(v))}}}function NN(t){let e=t.length-4,i=3,r,n;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=i;++r<e;)if(t[r][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[i][1].type="mathTextPadding",i+=2,e-=2;break}}for(r=i-1,e++;++r<=e;)n===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(n=r):(r===e||t[r][1].type==="lineEnding")&&(t[n][1].type="mathTextData",r!==n+2&&(t[n][1].end=t[r-1][1].end,t.splice(n+2,r-n-2),e-=r-n-2,r=n+2),n=void 0);return t}function MN(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Y0(t){return{flow:{36:E3},text:{36:C3(t)}}}var UN={};function Fh(t){let e=this,i=t||UN,r=e.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(Y0(i)),o.push(B0()),s.push(Z0(i))}function P3(t,e){let i={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,i),t.applyData(e,i)}function _3(t,e){let i={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,i),[t.applyData(e,i),{type:"text",value:`
`}]}function Q3(t,e){let i=e.value?e.value+`
`:"",r={};e.lang&&(r.className=["language-"+e.lang]);let n={type:"element",tagName:"code",properties:r,children:[{type:"text",value:i}]};return e.meta&&(n.data={meta:e.meta}),t.patch(e,n),n=t.applyData(e,n),n={type:"element",tagName:"pre",properties:{},children:[n]},t.patch(e,n),n}function A3(t,e){let i={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function $3(t,e){let i={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}var Xpe=Qo(new RegExp("\\p{P}","u")),Rpe=Qo(/[A-Za-z]/),F0=Qo(/[\dA-Za-z]/),Lpe=Qo(/[#-'*+\--9=?A-Z^-~]/);var Ipe=Qo(/\d/),Dpe=Qo(/[\dA-Fa-f]/),Npe=Qo(/[!-/:-@[-`{-~]/);var Mpe=Qo(/\s/);function Qo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function fr(t){let e=[],i=-1,r=0,n=0;for(;++i<t.length;){let o=t.charCodeAt(i),s="";if(o===37&&F0(t.charCodeAt(i+1))&&F0(t.charCodeAt(i+2)))n=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let a=t.charCodeAt(i+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),n=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(t.slice(r,i),encodeURIComponent(s)),r=i+n+1,s=""),n&&(i+=n,n=0)}return e.join("")+t.slice(r)}function X3(t,e){let i=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),n=fr(r.toLowerCase()),o=t.footnoteOrder.indexOf(r),s,a=t.footnoteCounts.get(r);a===void 0?(a=0,t.footnoteOrder.push(r),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(r,a);let l={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+n,id:i+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function R3(t,e){let i={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function L3(t,e){if(t.options.allowDangerousHtml){let i={type:"raw",value:e.value};return t.patch(e,i),t.applyData(e,i)}}function Hh(t,e){let i=e.referenceType,r="]";if(i==="collapsed"?r+="[]":i==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];let n=t.all(e),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let s=n[n.length-1];return s&&s.type==="text"?s.value+=r:n.push({type:"text",value:r}),n}function I3(t,e){let i=String(e.identifier).toUpperCase(),r=t.definitionById.get(i);if(!r)return Hh(t,e);let n={src:fr(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(n.title=r.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function D3(t,e){let i={src:fr(e.url)};e.alt!==null&&e.alt!==void 0&&(i.alt=e.alt),e.title!==null&&e.title!==void 0&&(i.title=e.title);let r={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,r),t.applyData(e,r)}function N3(t,e){let i={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,i);let r={type:"element",tagName:"code",properties:{},children:[i]};return t.patch(e,r),t.applyData(e,r)}function M3(t,e){let i=String(e.identifier).toUpperCase(),r=t.definitionById.get(i);if(!r)return Hh(t,e);let n={href:fr(r.url||"")};r.title!==null&&r.title!==void 0&&(n.title=r.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function U3(t,e){let i={href:fr(e.url)};e.title!==null&&e.title!==void 0&&(i.title=e.title);let r={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function z3(t,e,i){let r=t.all(e),n=i?zN(i):j3(e),o={},s=[];if(typeof e.checked=="boolean"){let u=r[0],f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let u=r[a];(n||a!==0||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
`}),u.type==="element"&&u.tagName==="p"&&!n?s.push(...u.children):s.push(u)}let l=r[r.length-1];l&&(n||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
`});let c={type:"element",tagName:"li",properties:o,children:s};return t.patch(e,c),t.applyData(e,c)}function zN(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let i=t.children,r=-1;for(;!e&&++r<i.length;)e=j3(i[r])}return e}function j3(t){let e=t.spread;return e==null?t.children.length>1:e}function q3(t,e){let i={},r=t.all(e),n=-1;for(typeof e.start=="number"&&e.start!==1&&(i.start=e.start);++n<r.length;){let s=r[n];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}let o={type:"element",tagName:e.ordered?"ol":"ul",properties:i,children:t.wrap(r,!0)};return t.patch(e,o),t.applyData(e,o)}function W3(t,e){let i={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function B3(t,e){let i={type:"root",children:t.wrap(t.all(e))};return t.patch(e,i),t.applyData(e,i)}function Z3(t,e){let i={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}var ks=V3("end"),hr=V3("start");function V3(t){return e;function e(i){let r=i&&i.position&&i.position[t]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Pc(t){let e=hr(t),i=ks(t);if(e&&i)return{start:e,end:i}}function Y3(t,e){let i=t.all(e),r=i.shift(),n=[];if(r){let s={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],s),n.push(s)}if(i.length>0){let s={type:"element",tagName:"tbody",properties:{},children:t.wrap(i,!0)},a=hr(e.children[1]),l=ks(e.children[e.children.length-1]);a&&l&&(s.position={start:a,end:l}),n.push(s)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function F3(t,e,i){let r=i?i.children:void 0,o=(r?r.indexOf(e):1)===0?"th":"td",s=i&&i.type==="table"?i.align:void 0,a=s?s.length:e.children.length,l=-1,c=[];for(;++l<a;){let f=e.children[l],d={},p=s?s[l]:void 0;p&&(d.align=p);let g={type:"element",tagName:o,properties:d,children:[]};f&&(g.children=t.all(f),t.patch(f,g),g=t.applyData(f,g)),c.push(g)}let u={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,u),t.applyData(e,u)}function H3(t,e){let i={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function K3(t){let e=String(t),i=/\r?\n|\r/g,r=i.exec(e),n=0,o=[];for(;r;)o.push(G3(e.slice(n,r.index),n>0,!0),r[0]),n=r.index+r[0].length,r=i.exec(e);return o.push(G3(e.slice(n),n>0,!1)),o.join("")}function G3(t,e,i){let r=0,n=t.length;if(e){let o=t.codePointAt(r);for(;o===9||o===32;)r++,o=t.codePointAt(r)}if(i){let o=t.codePointAt(n-1);for(;o===9||o===32;)n--,o=t.codePointAt(n-1)}return n>r?t.slice(r,n):""}function J3(t,e){let i={type:"text",value:K3(String(e.value))};return t.patch(e,i),t.applyData(e,i)}function e4(t,e){let i={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,i),t.applyData(e,i)}var t4={blockquote:P3,break:_3,code:Q3,delete:A3,emphasis:$3,footnoteReference:X3,heading:R3,html:L3,imageReference:I3,image:D3,inlineCode:N3,linkReference:M3,link:U3,listItem:z3,list:q3,paragraph:W3,root:B3,strong:Z3,table:Y3,tableCell:H3,tableRow:F3,text:J3,thematicBreak:e4,toml:Gh,yaml:Gh,definition:Gh,footnoteDefinition:Gh};function Gh(){}var i4=typeof self=="object"?self:globalThis,jN=(t,e)=>{let i=(n,o)=>(t.set(o,n),n),r=n=>{if(t.has(n))return t.get(n);let[o,s]=e[n];switch(o){case 0:case-1:return i(s,n);case 1:{let a=i([],n);for(let l of s)a.push(r(l));return a}case 2:{let a=i({},n);for(let[l,c]of s)a[r(l)]=r(c);return a}case 3:return i(new Date(s),n);case 4:{let{source:a,flags:l}=s;return i(new RegExp(a,l),n)}case 5:{let a=i(new Map,n);for(let[l,c]of s)a.set(r(l),r(c));return a}case 6:{let a=i(new Set,n);for(let l of s)a.add(r(l));return a}case 7:{let{name:a,message:l}=s;return i(new i4[a](l),n)}case 8:return i(BigInt(s),n);case"BigInt":return i(Object(BigInt(s)),n)}return i(new i4[o](s),n)};return r},J0=t=>jN(new Map,t)(0);var Ua="",{toString:qN}={},{keys:WN}=Object,$c=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let i=qN.call(t).slice(8,-1);switch(i){case"Array":return[1,Ua];case"Object":return[2,Ua];case"Date":return[3,Ua];case"RegExp":return[4,Ua];case"Map":return[5,Ua];case"Set":return[6,Ua]}return i.includes("Array")?[1,i]:i.includes("Error")?[7,i]:[2,i]},id=([t,e])=>t===0&&(e==="function"||e==="symbol"),BN=(t,e,i,r)=>{let n=(s,a)=>{let l=r.push(s)-1;return i.set(a,l),l},o=s=>{if(i.has(s))return i.get(s);let[a,l]=$c(s);switch(a){case 0:{let u=s;switch(l){case"bigint":a=8,u=s.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],s)}return n([a,u],s)}case 1:{if(l)return n([l,[...s]],s);let u=[],f=n([a,u],s);for(let d of s)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,s.toString()],s);case"Boolean":case"Number":case"String":return n([l,s.valueOf()],s)}if(e&&"toJSON"in s)return o(s.toJSON());let u=[],f=n([a,u],s);for(let d of WN(s))(t||!id($c(s[d])))&&u.push([o(d),o(s[d])]);return f}case 3:return n([a,s.toISOString()],s);case 4:{let{source:u,flags:f}=s;return n([a,{source:u,flags:f}],s)}case 5:{let u=[],f=n([a,u],s);for(let[d,p]of s)(t||!(id($c(d))||id($c(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([a,u],s);for(let d of s)(t||!id($c(d)))&&u.push(o(d));return f}}let{message:c}=s;return n([a,{name:l,message:c}],s)};return o},eb=(t,{json:e,lossy:i}={})=>{let r=[];return BN(!(e||i),!!e,new Map,r)(t),r};var Ar=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?J0(eb(t,e)):structuredClone(t):(t,e)=>J0(eb(t,e));function ZN(t,e){let i=[{type:"text",value:"\u21A9"}];return e>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),i}function VN(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function r4(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=t.options.footnoteBackContent||ZN,r=t.options.footnoteBackLabel||VN,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},a=[],l=-1;for(;++l<t.footnoteOrder.length;){let c=t.footnoteById.get(t.footnoteOrder[l]);if(!c)continue;let u=t.all(c),f=String(c.identifier).toUpperCase(),d=fr(f.toLowerCase()),p=0,g=[],x=t.footnoteCounts.get(f);for(;x!==void 0&&++p<=x;){g.length>0&&g.push({type:"text",value:" "});let T=typeof i=="string"?i:i(l,p);typeof T=="string"&&(T={type:"text",value:T}),g.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(T)?T:[T]})}let v=u[u.length-1];if(v&&v.type==="element"&&v.tagName==="p"){let T=v.children[v.children.length-1];T&&T.type==="text"?T.value+=" ":v.children.push({type:"text",value:" "}),v.children.push(...g)}else u.push(...g);let S={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,S),a.push(S)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Ce(H({},Ar(s)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:`
`}]}}var tb={}.hasOwnProperty,YN={};function o4(t,e){let i=e||YN,r=new Map,n=new Map,o=new Map,s=H(H({},t4),i.handlers),a={all:c,applyData:HN,definitionById:r,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:s,one:l,options:i,patch:FN,wrap:KN};return mi(t,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){let f=u.type==="definition"?r:n,d=String(u.identifier).toUpperCase();f.has(d)||f.set(d,u)}}),a;function l(u,f){let d=u.type,p=a.handlers[d];if(tb.call(a.handlers,d)&&p)return p(a,u,f);if(a.options.passThrough&&a.options.passThrough.includes(d)){if("children"in u){let x=u,{children:v}=x,S=pi(x,["children"]),T=Ar(S);return T.children=a.all(u),T}return Ar(u)}return(a.options.unknownHandler||GN)(a,u,f)}function c(u){let f=[];if("children"in u){let d=u.children,p=-1;for(;++p<d.length;){let g=a.one(d[p],u);if(g){if(p&&d[p-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=n4(g.value)),!Array.isArray(g)&&g.type==="element")){let x=g.children[0];x&&x.type==="text"&&(x.value=n4(x.value))}Array.isArray(g)?f.push(...g):f.push(g)}}}return f}}function FN(t,e){t.position&&(e.position=Pc(t))}function HN(t,e){let i=e;if(t&&t.data){let r=t.data.hName,n=t.data.hChildren,o=t.data.hProperties;if(typeof r=="string")if(i.type==="element")i.tagName=r;else{let s="children"in i?i.children:[i];i={type:"element",tagName:r,properties:{},children:s}}i.type==="element"&&o&&Object.assign(i.properties,Ar(o)),"children"in i&&i.children&&n!==null&&n!==void 0&&(i.children=n)}return i}function GN(t,e){let i=e.data||{},r="value"in e&&!(tb.call(i,"hProperties")||tb.call(i,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function KN(t,e){let i=[],r=-1;for(e&&i.push({type:"text",value:`
`});++r<t.length;)r&&i.push({type:"text",value:`
`}),i.push(t[r]);return e&&t.length>0&&i.push({type:"text",value:`
`}),i}function n4(t){let e=0,i=t.charCodeAt(e);for(;i===9||i===32;)e++,i=t.charCodeAt(e);return t.slice(e)}function rd(t,e){let i=o4(t,e),r=i.one(t,void 0),n=r4(i),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return n&&("children"in o,o.children.push({type:"text",value:`
`},n)),o}function nd(t,e){return t&&"run"in t?async function(i,r){let n=rd(i,H({file:r},e));await t.run(n,r)}:function(i,r){return rd(i,H({file:r},e||t))}}var $n=class{constructor(e,i,r){this.property=e,this.normal=i,r&&(this.space=r)}};$n.prototype.property={};$n.prototype.normal={};$n.prototype.space=null;function ib(t,e){let i={},r={},n=-1;for(;++n<t.length;)Object.assign(i,t[n].property),Object.assign(r,t[n].normal);return new $n(i,r,e)}function Xn(t){return t.toLowerCase()}var gi=class{constructor(e,i){this.property=e,this.attribute=i}};gi.prototype.space=null;gi.prototype.boolean=!1;gi.prototype.booleanish=!1;gi.prototype.overloadedBoolean=!1;gi.prototype.number=!1;gi.prototype.commaSeparated=!1;gi.prototype.spaceSeparated=!1;gi.prototype.commaOrSpaceSeparated=!1;gi.prototype.mustUseProperty=!1;gi.prototype.defined=!1;var Xc={};Hl(Xc,{boolean:()=>De,booleanish:()=>At,commaOrSpaceSeparated:()=>Ii,commaSeparated:()=>Ao,number:()=>Oe,overloadedBoolean:()=>rb,spaceSeparated:()=>lt});var JN=0,De=Ss(),At=Ss(),rb=Ss(),Oe=Ss(),lt=Ss(),Ao=Ss(),Ii=Ss();function Ss(){return 2**++JN}var nb=Object.keys(Xc),Ts=class extends gi{constructor(e,i,r,n){let o=-1;if(super(e,i),s4(this,"space",n),typeof r=="number")for(;++o<nb.length;){let s=nb[o];s4(this,nb[o],(r&Xc[s])===Xc[s])}}};Ts.prototype.defined=!0;function s4(t,e,i){i&&(t[e]=i)}var eM={}.hasOwnProperty;function dr(t){let e={},i={},r;for(r in t.properties)if(eM.call(t.properties,r)){let n=t.properties[r],o=new Ts(r,t.transform(t.attributes||{},r),n,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,i[Xn(r)]=r,i[Xn(o.attribute)]=r}return new $n(e,i,t.space)}var ob=dr({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});var sb=dr({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function od(t,e){return e in t?t[e]:e}function sd(t,e){return od(t,e.toLowerCase())}var ab=dr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:sd,properties:{xmlns:null,xmlnsXLink:null}});var lb=dr({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:At,ariaAutoComplete:null,ariaBusy:At,ariaChecked:At,ariaColCount:Oe,ariaColIndex:Oe,ariaColSpan:Oe,ariaControls:lt,ariaCurrent:null,ariaDescribedBy:lt,ariaDetails:null,ariaDisabled:At,ariaDropEffect:lt,ariaErrorMessage:null,ariaExpanded:At,ariaFlowTo:lt,ariaGrabbed:At,ariaHasPopup:null,ariaHidden:At,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lt,ariaLevel:Oe,ariaLive:null,ariaModal:At,ariaMultiLine:At,ariaMultiSelectable:At,ariaOrientation:null,ariaOwns:lt,ariaPlaceholder:null,ariaPosInSet:Oe,ariaPressed:At,ariaReadOnly:At,ariaRelevant:null,ariaRequired:At,ariaRoleDescription:lt,ariaRowCount:Oe,ariaRowIndex:Oe,ariaRowSpan:Oe,ariaSelected:At,ariaSetSize:Oe,ariaSort:null,ariaValueMax:Oe,ariaValueMin:Oe,ariaValueNow:Oe,ariaValueText:null,role:null}});var a4=dr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:sd,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ao,acceptCharset:lt,accessKey:lt,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:lt,autoFocus:De,autoPlay:De,blocking:lt,capture:De,charSet:null,checked:De,cite:null,className:lt,cols:Oe,colSpan:null,content:null,contentEditable:At,controls:De,controlsList:lt,coords:Oe|Ao,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:rb,draggable:At,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:lt,height:Oe,hidden:De,high:Oe,href:null,hrefLang:null,htmlFor:lt,httpEquiv:lt,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:lt,itemRef:lt,itemScope:De,itemType:lt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:Oe,manifest:null,max:null,maxLength:Oe,media:null,method:null,min:null,minLength:Oe,multiple:De,muted:De,name:null,nonce:null,noModule:De,noValidate:De,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:De,optimum:Oe,pattern:null,ping:lt,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:lt,required:De,reversed:De,rows:Oe,rowSpan:Oe,sandbox:lt,scope:null,scoped:De,seamless:De,selected:De,shape:null,size:Oe,sizes:null,slot:null,span:Oe,spellCheck:At,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Oe,step:null,style:null,tabIndex:Oe,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:At,width:Oe,wrap:null,align:null,aLink:null,archive:lt,axis:null,background:null,bgColor:null,border:Oe,borderColor:null,bottomMargin:Oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:De,declare:De,event:null,face:null,frame:null,frameBorder:null,hSpace:Oe,leftMargin:Oe,link:null,longDesc:null,lowSrc:null,marginHeight:Oe,marginWidth:Oe,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:Oe,rules:null,scheme:null,scrolling:At,standby:null,summary:null,text:null,topMargin:Oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Oe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:De,disableRemotePlayback:De,prefix:null,property:null,results:Oe,security:null,unselectable:null}});var l4=dr({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:od,properties:{about:Ii,accentHeight:Oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Oe,amplitude:Oe,arabicForm:null,ascent:Oe,attributeName:null,attributeType:null,azimuth:Oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Oe,by:null,calcMode:null,capHeight:Oe,className:lt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Oe,diffuseConstant:Oe,direction:null,display:null,dur:null,divisor:Oe,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oe,enableBackground:null,end:null,event:null,exponent:Oe,externalResourcesRequired:null,fill:null,fillOpacity:Oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ao,g2:Ao,glyphName:Ao,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Oe,horizOriginX:Oe,horizOriginY:Oe,id:null,ideographic:Oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Oe,k:Oe,k1:Oe,k2:Oe,k3:Oe,k4:Oe,kernelMatrix:Ii,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Oe,overlineThickness:Oe,paintOrder:null,panose1:null,path:null,pathLength:Oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oe,pointsAtY:Oe,pointsAtZ:Oe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ii,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ii,rev:Ii,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ii,requiredFeatures:Ii,requiredFonts:Ii,requiredFormats:Ii,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Oe,specularExponent:Oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Oe,strikethroughThickness:Oe,string:null,stroke:null,strokeDashArray:Ii,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Oe,strokeOpacity:Oe,strokeWidth:null,style:null,surfaceScale:Oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ii,tabIndex:Oe,tableValues:null,target:null,targetX:Oe,targetY:Oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ii,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Oe,underlineThickness:Oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Oe,values:null,vAlphabetic:Oe,vMathematical:Oe,vectorEffect:null,vHanging:Oe,vIdeographic:Oe,version:null,vertAdvY:Oe,vertOriginX:Oe,vertOriginY:Oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var tM=/^data[-\w.:]+$/i,c4=/-[a-z]/g,iM=/[A-Z]/g;function Rn(t,e){let i=Xn(e),r=e,n=gi;if(i in t.normal)return t.property[t.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&tM.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(c4,nM);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!c4.test(o)){let s=o.replace(iM,rM);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}n=Ts}return new n(r,e)}function rM(t){return"-"+t.toLowerCase()}function nM(t){return t.charAt(1).toUpperCase()}var Ln=ib([sb,ob,ab,lb,a4],"html"),pr=ib([sb,ob,ab,lb,l4],"svg");function cb(t){let e=[],i=String(t||""),r=i.indexOf(","),n=0,o=!1;for(;!o;){r===-1&&(r=i.length,o=!0);let s=i.slice(n,r).trim();(s||!o)&&e.push(s),n=r+1,r=i.indexOf(",",n)}return e}function ad(t,e){let i=e||{};return(t[t.length-1]===""?[...t,""]:t).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}var u4=/[#.]/g;function ub(t,e){let i=t||"",r={},n=0,o,s;for(;n<i.length;){u4.lastIndex=n;let a=u4.exec(i),l=i.slice(n,a?a.index:i.length);l&&(o?o==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:s=l,n+=l.length),a&&(o=a[0],n++)}return{type:"element",tagName:s||e||"div",properties:r,children:[]}}function fb(t){let e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function ld(t){return t.join(" ").trim()}var oM=new Set(["button","menu","reset","submit"]),hb={}.hasOwnProperty;function pb(t,e,i){let r=i&&cM(i);function n(o,s,...a){let l=-1,c;if(o==null){c={type:"root",children:[]};let u=s;a.unshift(u)}else if(c=ub(o,e),c.tagName=c.tagName.toLowerCase(),r&&hb.call(r,c.tagName)&&(c.tagName=r[c.tagName]),sM(s,c.tagName)){let u;for(u in s)hb.call(s,u)&&aM(t,c.properties,u,s[u])}else a.unshift(s);for(;++l<a.length;)db(c.children,a[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return n}function sM(t,e){return t==null||typeof t!="object"||Array.isArray(t)?!1:e==="input"||!t.type||typeof t.type!="string"?!0:"children"in t&&Array.isArray(t.children)?!1:e==="button"?oM.has(t.type.toLowerCase()):!("value"in t)}function aM(t,e,i,r){let n=Rn(t,i),o=-1,s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?n.spaceSeparated?s=fb(r):n.commaSeparated?s=cb(r):n.commaOrSpaceSeparated?s=fb(cb(r).join(" ")):s=f4(n,n.property,r):Array.isArray(r)?s=r.concat():s=n.property==="style"?lM(r):String(r);if(Array.isArray(s)){let a=[];for(;++o<s.length;){let l=f4(n,n.property,s[o]);a[o]=l}s=a}if(n.property==="className"&&Array.isArray(e.className)){let a=s;s=e.className.concat(a)}e[n.property]=s}}function db(t,e){let i=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++i<e.length;)db(t,e[i]);else if(typeof e=="object"&&"type"in e)e.type==="root"?db(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function f4(t,e,i){if(typeof i=="string"){if(t.number&&i&&!Number.isNaN(Number(i)))return Number(i);if((t.boolean||t.overloadedBoolean)&&(i===""||Xn(i)===Xn(e)))return!0}return i}function lM(t){let e=[],i;for(i in t)hb.call(t,i)&&e.push([i,t[i]].join(": "));return e.join("; ")}function cM(t){let e={},i=-1;for(;++i<t.length;)e[t[i].toLowerCase()]=t[i];return e}var h4=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"];var Rc=pb(Ln,"div"),Lc=pb(pr,"g",h4);var Ob=/\r?\n|\r/g;function mb(t){let e=String(t),i=[];for(Ob.lastIndex=0;Ob.test(e);)i.push(Ob.lastIndex);return i.push(e.length+1),{toPoint:r,toOffset:n};function r(o){let s=-1;if(typeof o=="number"&&o>-1&&o<i[i.length-1]){for(;++s<i.length;)if(i[s]>o)return{line:s+1,column:o-(s>0?i[s-1]:0)+1,offset:o}}}function n(o){let s=o&&o.line,a=o&&o.column;if(typeof s=="number"&&typeof a=="number"&&!Number.isNaN(s)&&!Number.isNaN(a)&&s-1 in i){let l=(i[s-2]||0)+a-1||0;if(l>-1&&l<i[i.length-1])return l}}}var Di={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};var p4={}.hasOwnProperty,uM=Object.prototype;function Ic(t,e){let i=e||{};return gb({file:i.file||void 0,location:!1,schema:i.space==="svg"?pr:Ln,verbose:i.verbose||!1},t)}function gb(t,e){let i;switch(e.nodeName){case"#comment":{let r=e;return i={type:"comment",value:r.data},cd(t,r,i),i}case"#document":case"#document-fragment":{let r=e,n="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(i={type:"root",children:O4(t,e.childNodes),data:{quirksMode:n}},t.file&&t.location){let o=String(t.file),s=mb(o),a=s.toPoint(0),l=s.toPoint(o.length);i.position={start:a,end:l}}return i}case"#documentType":{let r=e;return i={type:"doctype"},cd(t,r,i),i}case"#text":{let r=e;return i={type:"text",value:r.value},cd(t,r,i),i}default:return i=fM(t,e),i}}function O4(t,e){let i=-1,r=[];for(;++i<e.length;){let n=gb(t,e[i]);r.push(n)}return r}function fM(t,e){let i=t.schema;t.schema=e.namespaceURI===Di.svg?pr:Ln;let r=-1,n={};for(;++r<e.attrs.length;){let a=e.attrs[r],l=(a.prefix?a.prefix+":":"")+a.name;p4.call(uM,l)||(n[l]=a.value)}let s=(t.schema.space==="svg"?Lc:Rc)(e.tagName,n,O4(t,e.childNodes));if(cd(t,e,s),s.tagName==="template"){let a=e,l=a.sourceCodeLocation,c=l&&l.startTag&&za(l.startTag),u=l&&l.endTag&&za(l.endTag),f=gb(t,a.content);c&&u&&t.file&&(f.position={start:c.end,end:u.start}),s.content=f}return t.schema=i,s}function cd(t,e,i){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){let r=hM(t,i,e.sourceCodeLocation);r&&(t.location=!0,i.position=r)}}function hM(t,e,i){let r=za(i);if(e.type==="element"){let n=e.children[e.children.length-1];if(r&&!i.endTag&&n&&n.position&&n.position.end&&(r.end=Object.assign({},n.position.end)),t.verbose){let o={},s;if(i.attrs)for(s in i.attrs)p4.call(i.attrs,s)&&(o[Rn(t.schema,s).property]=za(i.attrs[s]));i.startTag;let a=za(i.startTag),l=i.endTag?za(i.endTag):void 0,c={opening:a};l&&(c.closing=l),c.properties=o,e.data={position:c}}}return r}function za(t){let e=d4({line:t.startLine,column:t.startCol,offset:t.startOffset}),i=d4({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||i?{start:e,end:i}:void 0}function d4(t){return t.line&&t.column?t:void 0}var dM={},pM={}.hasOwnProperty,m4=Xa("type",{handlers:{root:OM,element:xM,text:bM,comment:yM,doctype:gM}});function bb(t,e){let r=(e||dM).space;return m4(t,r==="svg"?pr:Ln)}function OM(t,e){let i={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return i.childNodes=yb(t.children,i,e),ja(t,i),i}function mM(t,e){let i={nodeName:"#document-fragment",childNodes:[]};return i.childNodes=yb(t.children,i,e),ja(t,i),i}function gM(t){let e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ja(t,e),e}function bM(t){let e={nodeName:"#text",value:t.value,parentNode:null};return ja(t,e),e}function yM(t){let e={nodeName:"#comment",data:t.value,parentNode:null};return ja(t,e),e}function xM(t,e){let i=e,r=i;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=pr);let n=[],o;if(t.properties){for(o in t.properties)if(o!=="children"&&pM.call(t.properties,o)){let l=vM(r,o,t.properties[o]);l&&n.push(l)}}let s=r.space;let a={nodeName:t.tagName,tagName:t.tagName,attrs:n,namespaceURI:Di[s],childNodes:[],parentNode:null};return a.childNodes=yb(t.children,a,r),ja(t,a),t.tagName==="template"&&t.content&&(a.content=mM(t.content,r)),a}function vM(t,e,i){let r=Rn(t,e);if(i===!1||i===null||i===void 0||typeof i=="number"&&Number.isNaN(i)||!i&&r.boolean)return;Array.isArray(i)&&(i=r.commaSeparated?ad(i):ld(i));let n={name:r.attribute,value:i===!0?"":String(i)};if(r.space&&r.space!=="html"&&r.space!=="svg"){let o=n.name.indexOf(":");o<0?n.prefix="":(n.name=n.name.slice(o+1),n.prefix=r.attribute.slice(0,o)),n.namespace=Di[r.space]}return n}function yb(t,e,i){let r=-1,n=[];if(t)for(;++r<t.length;){let o=m4(t[r],i);o.parentNode=e,n.push(o)}return n}function ja(t,e){let i=t.position;i&&i.start&&i.end&&(i.start.offset,i.end.offset,e.sourceCodeLocation={startLine:i.start.line,startCol:i.start.column,startOffset:i.start.offset,endLine:i.end.line,endCol:i.end.column,endOffset:i.end.offset})}var ud=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var wM=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),mt="\uFFFD",Q;(function(t){t[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.NUMBER_SIGN=35]="NUMBER_SIGN",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",t[t.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_F=102]="LATIN_SMALL_F",t[t.LATIN_SMALL_X=120]="LATIN_SMALL_X",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",t[t.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"})(Q=Q||(Q={}));var Pi={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function fd(t){return t>=55296&&t<=57343}function g4(t){return t>=56320&&t<=57343}function b4(t,e){return(t-55296)*1024+9216+e}function hd(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function dd(t){return t>=64976&&t<=65007||wM.has(t)}var K;(function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.noncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(K=K||(K={}));var SM=65536,pd=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=SM,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:i,col:r,offset:n}=this;return{code:e,startLine:i,endLine:i,startCol:r,endCol:r,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let i=this.html.charCodeAt(this.pos+1);if(g4(i))return this.pos++,this._addGap(),b4(e,i)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Q.EOF;return this._err(K.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,i){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=i}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,i){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(i)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){let i=this.pos+e;if(i>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Q.EOF;let r=this.html.charCodeAt(i);return r===Q.CARRIAGE_RETURN?Q.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Q.EOF;let e=this.html.charCodeAt(this.pos);return e===Q.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Q.LINE_FEED):e===Q.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,fd(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===Q.LINE_FEED||e===Q.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){hd(e)?this._err(K.controlCharacterInInputStream):dd(e)&&this._err(K.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}};var In={};Hl(In,{TokenType:()=>Ye,getTokenAttr:()=>Dc});var Ye;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(Ye=Ye||(Ye={}));function Dc(t,e){for(let i=t.attrs.length-1;i>=0;i--)if(t.attrs[i].name===e)return t.attrs[i].value;return null}var rn=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(t=>t.charCodeAt(0)));var y4=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var xb,TM=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),vb=(xb=String.fromCodePoint)!==null&&xb!==void 0?xb:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function wb(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=TM.get(t))!==null&&e!==void 0?e:t}var Kt;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Kt||(Kt={}));var EM=32,$r;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})($r||($r={}));function kb(t){return t>=Kt.ZERO&&t<=Kt.NINE}function CM(t){return t>=Kt.UPPER_A&&t<=Kt.UPPER_F||t>=Kt.LOWER_A&&t<=Kt.LOWER_F}function PM(t){return t>=Kt.UPPER_A&&t<=Kt.UPPER_Z||t>=Kt.LOWER_A&&t<=Kt.LOWER_Z||kb(t)}function _M(t){return t===Kt.EQUALS||PM(t)}var Gt;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Gt||(Gt={}));var Es;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Es||(Es={}));var Sb=class{constructor(e,i,r){this.decodeTree=e,this.emitCodePoint=i,this.errors=r,this.state=Gt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Es.Strict}startEntity(e){this.decodeMode=e,this.state=Gt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case Gt.EntityStart:return e.charCodeAt(i)===Kt.NUM?(this.state=Gt.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=Gt.NamedEntity,this.stateNamedEntity(e,i));case Gt.NumericStart:return this.stateNumericStart(e,i);case Gt.NumericDecimal:return this.stateNumericDecimal(e,i);case Gt.NumericHex:return this.stateNumericHex(e,i);case Gt.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|EM)===Kt.LOWER_X?(this.state=Gt.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=Gt.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,r,n){if(i!==r){let o=r-i;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(i,o),n),this.consumed+=o}}stateNumericHex(e,i){let r=i;for(;i<e.length;){let n=e.charCodeAt(i);if(kb(n)||CM(n))i+=1;else return this.addToNumericResult(e,r,i,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,r,i,16),-1}stateNumericDecimal(e,i){let r=i;for(;i<e.length;){let n=e.charCodeAt(i);if(kb(n))i+=1;else return this.addToNumericResult(e,r,i,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,r,i,10),-1}emitNumericEntity(e,i){var r;if(this.consumed<=i)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Kt.SEMI)this.consumed+=1;else if(this.decodeMode===Es.Strict)return 0;return this.emitCodePoint(wb(this.result),this.consumed),this.errors&&(e!==Kt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,i){let{decodeTree:r}=this,n=r[this.treeIndex],o=(n&$r.VALUE_LENGTH)>>14;for(;i<e.length;i++,this.excess++){let s=e.charCodeAt(i);if(this.treeIndex=Tb(r,n,this.treeIndex+Math.max(1,o),s),this.treeIndex<0)return this.result===0||this.decodeMode===Es.Attribute&&(o===0||_M(s))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],o=(n&$r.VALUE_LENGTH)>>14,o!==0){if(s===Kt.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Es.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:i,decodeTree:r}=this,n=(r[i]&$r.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,r){let{decodeTree:n}=this;return this.emitCodePoint(i===1?n[e]&~$r.VALUE_LENGTH:n[e+1],r),i===3&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case Gt.NamedEntity:return this.result!==0&&(this.decodeMode!==Es.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Gt.NumericDecimal:return this.emitNumericEntity(0,2);case Gt.NumericHex:return this.emitNumericEntity(0,3);case Gt.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Gt.EntityStart:return 0}}};function x4(t){let e="",i=new Sb(t,r=>e+=vb(r));return function(n,o){let s=0,a=0;for(;(a=n.indexOf("&",a))>=0;){e+=n.slice(s,a),i.startEntity(o);let c=i.write(n,a+1);if(c<0){s=a+i.end();break}s=a+c,a=c===0?s+1:s}let l=e+n.slice(s);return e="",l}}function Tb(t,e,i,r){let n=(e&$r.BRANCH_LENGTH)>>7,o=e&$r.JUMP_TABLE;if(n===0)return o!==0&&r===o?i:-1;if(o){let l=r-o;return l<0||l>=n?-1:t[i+l]-1}let s=i,a=s+n-1;for(;s<=a;){let l=s+a>>>1,c=t[l];if(c<r)s=l+1;else if(c>r)a=l-1;else return t[l+n]}return-1}var o0e=x4(rn),s0e=x4(y4);var qa={};Hl(qa,{ATTRS:()=>Xr,DOCUMENT_MODE:()=>si,NS:()=>se,SPECIAL_ELEMENTS:()=>Eb,TAG_ID:()=>m,TAG_NAMES:()=>Z,getTagID:()=>$o,hasUnescapedText:()=>v4,isNumberedHeader:()=>Nc});var se;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})(se=se||(se={}));var Xr;(function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"})(Xr=Xr||(Xr={}));var si;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(si=si||(si={}));var Z;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(Z=Z||(Z={}));var m;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SECTION=94]="SECTION",t[t.SELECT=95]="SELECT",t[t.SOURCE=96]="SOURCE",t[t.SMALL=97]="SMALL",t[t.SPAN=98]="SPAN",t[t.STRIKE=99]="STRIKE",t[t.STRONG=100]="STRONG",t[t.STYLE=101]="STYLE",t[t.SUB=102]="SUB",t[t.SUMMARY=103]="SUMMARY",t[t.SUP=104]="SUP",t[t.TABLE=105]="TABLE",t[t.TBODY=106]="TBODY",t[t.TEMPLATE=107]="TEMPLATE",t[t.TEXTAREA=108]="TEXTAREA",t[t.TFOOT=109]="TFOOT",t[t.TD=110]="TD",t[t.TH=111]="TH",t[t.THEAD=112]="THEAD",t[t.TITLE=113]="TITLE",t[t.TR=114]="TR",t[t.TRACK=115]="TRACK",t[t.TT=116]="TT",t[t.U=117]="U",t[t.UL=118]="UL",t[t.SVG=119]="SVG",t[t.VAR=120]="VAR",t[t.WBR=121]="WBR",t[t.XMP=122]="XMP"})(m=m||(m={}));var QM=new Map([[Z.A,m.A],[Z.ADDRESS,m.ADDRESS],[Z.ANNOTATION_XML,m.ANNOTATION_XML],[Z.APPLET,m.APPLET],[Z.AREA,m.AREA],[Z.ARTICLE,m.ARTICLE],[Z.ASIDE,m.ASIDE],[Z.B,m.B],[Z.BASE,m.BASE],[Z.BASEFONT,m.BASEFONT],[Z.BGSOUND,m.BGSOUND],[Z.BIG,m.BIG],[Z.BLOCKQUOTE,m.BLOCKQUOTE],[Z.BODY,m.BODY],[Z.BR,m.BR],[Z.BUTTON,m.BUTTON],[Z.CAPTION,m.CAPTION],[Z.CENTER,m.CENTER],[Z.CODE,m.CODE],[Z.COL,m.COL],[Z.COLGROUP,m.COLGROUP],[Z.DD,m.DD],[Z.DESC,m.DESC],[Z.DETAILS,m.DETAILS],[Z.DIALOG,m.DIALOG],[Z.DIR,m.DIR],[Z.DIV,m.DIV],[Z.DL,m.DL],[Z.DT,m.DT],[Z.EM,m.EM],[Z.EMBED,m.EMBED],[Z.FIELDSET,m.FIELDSET],[Z.FIGCAPTION,m.FIGCAPTION],[Z.FIGURE,m.FI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IKE],[Z.STRONG,m.STRONG],[Z.STYLE,m.STYLE],[Z.SUB,m.SUB],[Z.SUMMARY,m.SUMMARY],[Z.SUP,m.SUP],[Z.TABLE,m.TABLE],[Z.TBODY,m.TBODY],[Z.TEMPLATE,m.TEMPLATE],[Z.TEXTAREA,m.TEXTAREA],[Z.TFOOT,m.TFOOT],[Z.TD,m.TD],[Z.TH,m.TH],[Z.THEAD,m.THEAD],[Z.TITLE,m.TITLE],[Z.TR,m.TR],[Z.TRACK,m.TRACK],[Z.TT,m.TT],[Z.U,m.U],[Z.UL,m.UL],[Z.SVG,m.SVG],[Z.VAR,m.VAR],[Z.WBR,m.WBR],[Z.XMP,m.XMP]]);function $o(t){var e;return(e=QM.get(t))!==null&&e!==void 0?e:m.UNKNOWN}var pe=m,Eb={[se.HTML]:new Set([pe.ADDRESS,pe.APPLET,pe.AREA,pe.ARTICLE,pe.ASIDE,pe.BASE,pe.BASEFONT,pe.BGSOUND,pe.BLOCKQUOTE,pe.BODY,pe.BR,pe.BUTTON,pe.CAPTION,pe.CENTER,pe.COL,pe.COLGROUP,pe.DD,pe.DETAILS,pe.DIR,pe.DIV,pe.DL,pe.DT,pe.EMBED,pe.FIELDSET,pe.FIGCAPTION,pe.FIGURE,pe.FOOTER,pe.FORM,pe.FRAME,pe.FRAMESET,pe.H1,pe.H2,pe.H3,pe.H4,pe.H5,pe.H6,pe.HEAD,pe.HEADER,pe.HGROUP,pe.HR,pe.HTML,pe.IFRAME,pe.IMG,pe.INPUT,pe.LI,pe.LINK,pe.LISTING,pe.MAIN,pe.MARQUEE,pe.MENU,pe.META,pe.NAV,pe.NOEMBED,pe.NOFRAMES,pe.NOSCRIPT,pe.OBJECT,pe.OL,pe.P,pe.PARAM,pe.PLAINTEXT,pe.PRE,pe.SCRIPT,pe.SECTION,pe.SELECT,pe.SOURCE,pe.STYLE,pe.SUMMARY,pe.TABLE,pe.TBODY,pe.TD,pe.TEMPLATE,pe.TEXTAREA,pe.TFOOT,pe.TH,pe.THEAD,pe.TITLE,pe.TR,pe.TRACK,pe.UL,pe.WBR,pe.XMP]),[se.MATHML]:new Set([pe.MI,pe.MO,pe.MN,pe.MS,pe.MTEXT,pe.ANNOTATION_XML]),[se.SVG]:new Set([pe.TITLE,pe.FOREIGN_OBJECT,pe.DESC]),[se.XLINK]:new Set,[se.XML]:new Set,[se.XMLNS]:new Set};function Nc(t){return t===pe.H1||t===pe.H2||t===pe.H3||t===pe.H4||t===pe.H5||t===pe.H6}var AM=new Set([Z.STYLE,Z.SCRIPT,Z.XMP,Z.IFRAME,Z.NOEMBED,Z.NOFRAMES,Z.PLAINTEXT]);function v4(t,e){return AM.has(t)||e&&t===Z.NOSCRIPT}var $M=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),L;(function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",t[t.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",t[t.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",t[t.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",t[t.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",t[t.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(L||(L={}));var vt={DATA:L.DATA,RCDATA:L.RCDATA,RAWTEXT:L.RAWTEXT,SCRIPT_DATA:L.SCRIPT_DATA,PLAINTEXT:L.PLAINTEXT,CDATA_SECTION:L.CDATA_SECTION};function Uc(t){return t>=Q.DIGIT_0&&t<=Q.DIGIT_9}function Mc(t){return t>=Q.LATIN_CAPITAL_A&&t<=Q.LATIN_CAPITAL_Z}function XM(t){return t>=Q.LATIN_SMALL_A&&t<=Q.LATIN_SMALL_Z}function Xo(t){return XM(t)||Mc(t)}function Cb(t){return Xo(t)||Uc(t)}function k4(t){return t>=Q.LATIN_CAPITAL_A&&t<=Q.LATIN_CAPITAL_F}function S4(t){return t>=Q.LATIN_SMALL_A&&t<=Q.LATIN_SMALL_F}function RM(t){return Uc(t)||k4(t)||S4(t)}function Od(t){return t+32}function T4(t){return t===Q.SPACE||t===Q.LINE_FEED||t===Q.TABULATION||t===Q.FORM_FEED}function LM(t){return t===Q.EQUALS_SIGN||Cb(t)}function w4(t){return T4(t)||t===Q.SOLIDUS||t===Q.GREATER_THAN_SIGN}var zc=class{constructor(e,i){this.options=e,this.handler=i,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=L.DATA,this.returnState=L.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new pd(i),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var i,r;(r=(i=this.handler).onParseError)===null||r===void 0||r.call(i,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,i,r){this.active=!0,this.preprocessor.write(e,i),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,i){this.state=e,this._callState(i)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let i=0;i<e;i++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,i){return this.preprocessor.startsWith(e,i)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ye.START_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ye.END_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Ye.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Ye.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,i){this.currentCharacterToken={type:e,chars:i,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,i;let r=this.currentToken;if(Dc(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){let n=(e=(i=r.location).attrs)!==null&&e!==void 0?e:i.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(K.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=$o(e.tagName),e.type===Ye.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(K.endTagWithAttributes),e.selfClosing&&this._err(K.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case Ye.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ye.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ye.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:Ye.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,i){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=i;return}this._createCharacterToken(e,i)}_emitCodePoint(e){let i=T4(e)?Ye.WHITESPACE_CHARACTER:e===Q.NULL?Ye.NULL_CHARACTER:Ye.CHARACTER;this._appendCharToCurrentCharacterToken(i,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Ye.CHARACTER,e)}_matchNamedCharacterReference(e){let i=null,r=0,n=!1;for(let o=0,s=rn[0];o>=0&&(o=Tb(rn,s,o+1,e),!(o<0));e=this._consume()){r+=1,s=rn[o];let a=s&$r.VALUE_LENGTH;if(a){let l=(a>>14)-1;if(e!==Q.SEMICOLON&&this._isCharacterReferenceInAttribute()&&LM(this.preprocessor.peek(1))?(i=[Q.AMPERSAND],o+=l):(i=l===0?[rn[o]&~$r.VALUE_LENGTH]:l===1?[rn[++o]]:[rn[++o],rn[++o]],r=0,n=e!==Q.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),n&&!this.preprocessor.endOfChunkHit&&this._err(K.missingSemicolonAfterCharacterReference),this._unconsume(1),i}_isCharacterReferenceInAttribute(){return this.returnState===L.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===L.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===L.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case L.DATA:{this._stateData(e);break}case L.RCDATA:{this._stateRcdata(e);break}case L.RAWTEXT:{this._stateRawtext(e);break}case L.SCRIPT_DATA:{this._stateScriptData(e);break}case L.PLAINTEXT:{this._statePlaintext(e);break}case L.TAG_OPEN:{this._stateTagOpen(e);break}case L.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case L.TAG_NAME:{this._stateTagName(e);break}case L.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case L.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case L.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case L.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case L.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case L.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case L.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case L.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case L.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case L.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case L.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case L.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case L.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case L.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case L.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case L.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case L.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case L.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case L.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case L.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case L.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case L.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case L.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case L.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case L.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case L.BOGUS_COMMENT:{this._stateBogusComment(e);break}case L.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case L.COMMENT_START:{this._stateCommentStart(e);break}case L.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case L.COMMENT:{this._stateComment(e);break}case L.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case L.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case L.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case L.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case L.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case L.COMMENT_END:{this._stateCommentEnd(e);break}case L.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case L.DOCTYPE:{this._stateDoctype(e);break}case L.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case L.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case L.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case L.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case L.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case L.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case L.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case L.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case L.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case L.CDATA_SECTION:{this._stateCdataSection(e);break}case L.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case L.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case L.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case L.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case L.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case L.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case L.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case L.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case L.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case L.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case Q.LESS_THAN_SIGN:{this.state=L.TAG_OPEN;break}case Q.AMPERSAND:{this.returnState=L.DATA,this.state=L.CHARACTER_REFERENCE;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this._emitCodePoint(e);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case Q.AMPERSAND:{this.returnState=L.RCDATA,this.state=L.CHARACTER_REFERENCE;break}case Q.LESS_THAN_SIGN:{this.state=L.RCDATA_LESS_THAN_SIGN;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars(mt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case Q.LESS_THAN_SIGN:{this.state=L.RAWTEXT_LESS_THAN_SIGN;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars(mt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case Q.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_LESS_THAN_SIGN;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars(mt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case Q.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars(mt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Xo(e))this._createStartTagToken(),this.state=L.TAG_NAME,this._stateTagName(e);else switch(e){case Q.EXCLAMATION_MARK:{this.state=L.MARKUP_DECLARATION_OPEN;break}case Q.SOLIDUS:{this.state=L.END_TAG_OPEN;break}case Q.QUESTION_MARK:{this._err(K.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=L.BOGUS_COMMENT,this._stateBogusComment(e);break}case Q.EOF:{this._err(K.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(K.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=L.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Xo(e))this._createEndTagToken(),this.state=L.TAG_NAME,this._stateTagName(e);else switch(e){case Q.GREATER_THAN_SIGN:{this._err(K.missingEndTagName),this.state=L.DATA;break}case Q.EOF:{this._err(K.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(K.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=L.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=L.BEFORE_ATTRIBUTE_NAME;break}case Q.SOLIDUS:{this.state=L.SELF_CLOSING_START_TAG;break}case Q.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentTagToken();break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.tagName+=mt;break}case Q.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:i.tagName+=String.fromCodePoint(Mc(e)?Od(e):e)}}_stateRcdataLessThanSign(e){e===Q.SOLIDUS?this.state=L.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=L.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Xo(e)?(this.state=L.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=L.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let i=this.currentToken;switch(i.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=L.BEFORE_ATTRIBUTE_NAME,!1;case Q.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=L.SELF_CLOSING_START_TAG,!1;case Q.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=L.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===Q.SOLIDUS?this.state=L.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=L.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Xo(e)?(this.state=L.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=L.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case Q.SOLIDUS:{this.state=L.SCRIPT_DATA_END_TAG_OPEN;break}case Q.EXCLAMATION_MARK:{this.state=L.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=L.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Xo(e)?(this.state=L.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===Q.HYPHEN_MINUS?(this.state=L.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===Q.HYPHEN_MINUS?(this.state=L.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case Q.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars(mt);break}case Q.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case Q.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_ESCAPED,this._emitChars(mt);break}case Q.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case Q.HYPHEN_MINUS:{this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.GREATER_THAN_SIGN:{this.state=L.SCRIPT_DATA,this._emitChars(">");break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_ESCAPED,this._emitChars(mt);break}case Q.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===Q.SOLIDUS?this.state=L.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Xo(e)?(this._emitChars("<"),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Xo(e)?(this.state=L.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Pi.SCRIPT,!1)&&w4(this.preprocessor.peek(Pi.SCRIPT.length))){this._emitCodePoint(e);for(let i=0;i<Pi.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case Q.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this._emitChars(mt);break}case Q.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case Q.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(mt);break}case Q.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case Q.HYPHEN_MINUS:{this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.GREATER_THAN_SIGN:{this.state=L.SCRIPT_DATA,this._emitChars(">");break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(mt);break}case Q.EOF:{this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===Q.SOLIDUS?(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Pi.SCRIPT,!1)&&w4(this.preprocessor.peek(Pi.SCRIPT.length))){this._emitCodePoint(e);for(let i=0;i<Pi.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=L.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.SOLIDUS:case Q.GREATER_THAN_SIGN:case Q.EOF:{this.state=L.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case Q.EQUALS_SIGN:{this._err(K.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=L.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=L.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:case Q.SOLIDUS:case Q.GREATER_THAN_SIGN:case Q.EOF:{this._leaveAttrName(),this.state=L.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case Q.EQUALS_SIGN:{this._leaveAttrName(),this.state=L.BEFORE_ATTRIBUTE_VALUE;break}case Q.QUOTATION_MARK:case Q.APOSTROPHE:case Q.LESS_THAN_SIGN:{this._err(K.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.name+=mt;break}default:this.currentAttr.name+=String.fromCodePoint(Mc(e)?Od(e):e)}}_stateAfterAttributeName(e){switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.SOLIDUS:{this.state=L.SELF_CLOSING_START_TAG;break}case Q.EQUALS_SIGN:{this.state=L.BEFORE_ATTRIBUTE_VALUE;break}case Q.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=L.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{this.state=L.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this.state=L.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(K.missingAttributeValue),this.state=L.DATA,this.emitCurrentTagToken();break}default:this.state=L.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case Q.QUOTATION_MARK:{this.state=L.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Q.AMPERSAND:{this.returnState=L.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=L.CHARACTER_REFERENCE;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.value+=mt;break}case Q.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case Q.APOSTROPHE:{this.state=L.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Q.AMPERSAND:{this.returnState=L.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=L.CHARACTER_REFERENCE;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.value+=mt;break}case Q.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this._leaveAttrValue(),this.state=L.BEFORE_ATTRIBUTE_NAME;break}case Q.AMPERSAND:{this.returnState=L.ATTRIBUTE_VALUE_UNQUOTED,this.state=L.CHARACTER_REFERENCE;break}case Q.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=L.DATA,this.emitCurrentTagToken();break}case Q.NULL:{this._err(K.unexpectedNullCharacter),this.currentAttr.value+=mt;break}case Q.QUOTATION_MARK:case Q.APOSTROPHE:case Q.LESS_THAN_SIGN:case Q.EQUALS_SIGN:case Q.GRAVE_ACCENT:{this._err(K.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case Q.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this._leaveAttrValue(),this.state=L.BEFORE_ATTRIBUTE_NAME;break}case Q.SOLIDUS:{this._leaveAttrValue(),this.state=L.SELF_CLOSING_START_TAG;break}case Q.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=L.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this._err(K.missingWhitespaceBetweenAttributes),this.state=L.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case Q.GREATER_THAN_SIGN:{let i=this.currentToken;i.selfClosing=!0,this.state=L.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(K.eofInTag),this._emitEOFToken();break}default:this._err(K.unexpectedSolidusInTag),this.state=L.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let i=this.currentToken;switch(e){case Q.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentComment(i);break}case Q.EOF:{this.emitCurrentComment(i),this._emitEOFToken();break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.data+=mt;break}default:i.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Pi.DASH_DASH,!0)?(this._createCommentToken(Pi.DASH_DASH.length+1),this.state=L.COMMENT_START):this._consumeSequenceIfMatch(Pi.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Pi.DOCTYPE.length+1),this.state=L.DOCTYPE):this._consumeSequenceIfMatch(Pi.CDATA_START,!0)?this.inForeignNode?this.state=L.CDATA_SECTION:(this._err(K.cdataInHtmlContent),this._createCommentToken(Pi.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=L.BOGUS_COMMENT):this._ensureHibernation()||(this._err(K.incorrectlyOpenedComment),this._createCommentToken(2),this.state=L.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case Q.HYPHEN_MINUS:{this.state=L.COMMENT_START_DASH;break}case Q.GREATER_THAN_SIGN:{this._err(K.abruptClosingOfEmptyComment),this.state=L.DATA;let i=this.currentToken;this.emitCurrentComment(i);break}default:this.state=L.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let i=this.currentToken;switch(e){case Q.HYPHEN_MINUS:{this.state=L.COMMENT_END;break}case Q.GREATER_THAN_SIGN:{this._err(K.abruptClosingOfEmptyComment),this.state=L.DATA,this.emitCurrentComment(i);break}case Q.EOF:{this._err(K.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="-",this.state=L.COMMENT,this._stateComment(e)}}_stateComment(e){let i=this.currentToken;switch(e){case Q.HYPHEN_MINUS:{this.state=L.COMMENT_END_DASH;break}case Q.LESS_THAN_SIGN:{i.data+="<",this.state=L.COMMENT_LESS_THAN_SIGN;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.data+=mt;break}case Q.EOF:{this._err(K.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let i=this.currentToken;switch(e){case Q.EXCLAMATION_MARK:{i.data+="!",this.state=L.COMMENT_LESS_THAN_SIGN_BANG;break}case Q.LESS_THAN_SIGN:{i.data+="<";break}default:this.state=L.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===Q.HYPHEN_MINUS?this.state=L.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=L.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===Q.HYPHEN_MINUS?this.state=L.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=L.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==Q.GREATER_THAN_SIGN&&e!==Q.EOF&&this._err(K.nestedComment),this.state=L.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let i=this.currentToken;switch(e){case Q.HYPHEN_MINUS:{this.state=L.COMMENT_END;break}case Q.EOF:{this._err(K.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="-",this.state=L.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let i=this.currentToken;switch(e){case Q.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentComment(i);break}case Q.EXCLAMATION_MARK:{this.state=L.COMMENT_END_BANG;break}case Q.HYPHEN_MINUS:{i.data+="-";break}case Q.EOF:{this._err(K.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="--",this.state=L.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let i=this.currentToken;switch(e){case Q.HYPHEN_MINUS:{i.data+="--!",this.state=L.COMMENT_END_DASH;break}case Q.GREATER_THAN_SIGN:{this._err(K.incorrectlyClosedComment),this.state=L.DATA,this.emitCurrentComment(i);break}case Q.EOF:{this._err(K.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="--!",this.state=L.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this.state=L.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case Q.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.missingWhitespaceBeforeDoctypeName),this.state=L.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Mc(e))this._createDoctypeToken(String.fromCharCode(Od(e))),this.state=L.DOCTYPE_NAME;else switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.NULL:{this._err(K.unexpectedNullCharacter),this._createDoctypeToken(mt),this.state=L.DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this._err(K.missingDoctypeName),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=L.DOCTYPE_NAME}}_stateDoctypeName(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=L.AFTER_DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(i);break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.name+=mt;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.name+=String.fromCodePoint(Mc(e)?Od(e):e)}}_stateAfterDoctypeName(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(i);break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Pi.PUBLIC,!1)?this.state=L.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Pi.SYSTEM,!1)?this.state=L.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(K.invalidCharacterSequenceAfterDoctypeName),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.QUOTATION_MARK:{this._err(K.missingWhitespaceAfterDoctypePublicKeyword),i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(K.missingWhitespaceAfterDoctypePublicKeyword),i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(K.missingDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(K.missingDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let i=this.currentToken;switch(e){case Q.QUOTATION_MARK:{this.state=L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.publicId+=mt;break}case Q.GREATER_THAN_SIGN:{this._err(K.abruptDoctypePublicIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let i=this.currentToken;switch(e){case Q.APOSTROPHE:{this.state=L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.publicId+=mt;break}case Q.GREATER_THAN_SIGN:{this._err(K.abruptDoctypePublicIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=L.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Q.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(i);break}case Q.QUOTATION_MARK:{this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.QUOTATION_MARK:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.QUOTATION_MARK:{this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(K.missingDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(K.missingDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let i=this.currentToken;switch(e){case Q.QUOTATION_MARK:{this.state=L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.systemId+=mt;break}case Q.GREATER_THAN_SIGN:{this._err(K.abruptDoctypeSystemIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let i=this.currentToken;switch(e){case Q.APOSTROPHE:{this.state=L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.NULL:{this._err(K.unexpectedNullCharacter),i.systemId+=mt;break}case Q.GREATER_THAN_SIGN:{this._err(K.abruptDoctypeSystemIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let i=this.currentToken;switch(e){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.EOF:{this._err(K.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(K.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let i=this.currentToken;switch(e){case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=L.DATA;break}case Q.NULL:{this._err(K.unexpectedNullCharacter);break}case Q.EOF:{this.emitCurrentDoctype(i),this._emitEOFToken();break}default:}}_stateCdataSection(e){switch(e){case Q.RIGHT_SQUARE_BRACKET:{this.state=L.CDATA_SECTION_BRACKET;break}case Q.EOF:{this._err(K.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===Q.RIGHT_SQUARE_BRACKET?this.state=L.CDATA_SECTION_END:(this._emitChars("]"),this.state=L.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case Q.GREATER_THAN_SIGN:{this.state=L.DATA;break}case Q.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=L.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===Q.NUMBER_SIGN?this.state=L.NUMERIC_CHARACTER_REFERENCE:Cb(e)?(this.state=L.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(Q.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let i=this._matchNamedCharacterReference(e);if(!this._ensureHibernation())if(i){for(let r=0;r<i.length;r++)this._flushCodePointConsumedAsCharacterReference(i[r]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(Q.AMPERSAND),this.state=L.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){Cb(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===Q.SEMICOLON&&this._err(K.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===Q.LATIN_SMALL_X||e===Q.LATIN_CAPITAL_X?this.state=L.HEXADEMICAL_CHARACTER_REFERENCE_START:Uc(e)?(this.state=L.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(K.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Q.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Q.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){RM(e)?(this.state=L.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(K.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Q.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Q.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){k4(e)?this.charRefCode=this.charRefCode*16+e-55:S4(e)?this.charRefCode=this.charRefCode*16+e-87:Uc(e)?this.charRefCode=this.charRefCode*16+e-48:e===Q.SEMICOLON?this.state=L.NUMERIC_CHARACTER_REFERENCE_END:(this._err(K.missingSemicolonAfterCharacterReference),this.state=L.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){Uc(e)?this.charRefCode=this.charRefCode*10+e-48:e===Q.SEMICOLON?this.state=L.NUMERIC_CHARACTER_REFERENCE_END:(this._err(K.missingSemicolonAfterCharacterReference),this.state=L.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===Q.NULL)this._err(K.nullCharacterReference),this.charRefCode=Q.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(K.characterReferenceOutsideUnicodeRange),this.charRefCode=Q.REPLACEMENT_CHARACTER;else if(fd(this.charRefCode))this._err(K.surrogateCharacterReference),this.charRefCode=Q.REPLACEMENT_CHARACTER;else if(dd(this.charRefCode))this._err(K.noncharacterCharacterReference);else if(hd(this.charRefCode)||this.charRefCode===Q.CARRIAGE_RETURN){this._err(K.controlCharacterReference);let i=$M.get(this.charRefCode);i!==void 0&&(this.charRefCode=i)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var C4=new Set([m.DD,m.DT,m.LI,m.OPTGROUP,m.OPTION,m.P,m.RB,m.RP,m.RT,m.RTC]),E4=new Set([...C4,m.CAPTION,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]),md=new Map([[m.APPLET,se.HTML],[m.CAPTION,se.HTML],[m.HTML,se.HTML],[m.MARQUEE,se.HTML],[m.OBJECT,se.HTML],[m.TABLE,se.HTML],[m.TD,se.HTML],[m.TEMPLATE,se.HTML],[m.TH,se.HTML],[m.ANNOTATION_XML,se.MATHML],[m.MI,se.MATHML],[m.MN,se.MATHML],[m.MO,se.MATHML],[m.MS,se.MATHML],[m.MTEXT,se.MATHML],[m.DESC,se.SVG],[m.FOREIGN_OBJECT,se.SVG],[m.TITLE,se.SVG]]),IM=[m.H1,m.H2,m.H3,m.H4,m.H5,m.H6],DM=[m.TR,m.TEMPLATE,m.HTML],NM=[m.TBODY,m.TFOOT,m.THEAD,m.TEMPLATE,m.HTML],MM=[m.TABLE,m.TEMPLATE,m.HTML],UM=[m.TD,m.TH],gd=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,i,r){this.treeAdapter=i,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=m.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===m.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===se.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,i){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=i,this.currentTagId=i,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,i,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,i){let r=this._indexOf(e);this.items[r]=i,r===this.stackTop&&(this.current=i)}insertAfter(e,i,r){let n=this._indexOf(e)+1;this.items.splice(n,0,i),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let i=this.stackTop+1;do i=this.tagIDs.lastIndexOf(e,i-1);while(i>0&&this.treeAdapter.getNamespaceURI(this.items[i])!==se.HTML);this.shortenToLength(i<0?0:i)}shortenToLength(e){for(;this.stackTop>=e;){let i=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,this.stackTop<e)}}popUntilElementPopped(e){let i=this._indexOf(e);this.shortenToLength(i<0?0:i)}popUntilPopped(e,i){let r=this._indexOfTagNames(e,i);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(IM,se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(UM,se.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,i){for(let r=this.stackTop;r>=0;r--)if(e.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===i)return r;return-1}clearBackTo(e,i){let r=this._indexOfTagNames(e,i);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(MM,se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(NM,se.HTML)}clearBackToTableRowContext(){this.clearBackTo(DM,se.HTML)}remove(e){let i=this._indexOf(e);i>=0&&(i===this.stackTop?this.pop():(this.items.splice(i,1),this.tagIDs.splice(i,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===m.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let i=this._indexOf(e)-1;return i>=0?this.items[i]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===m.HTML}hasInScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i],n=this.treeAdapter.getNamespaceURI(this.items[i]);if(r===e&&n===se.HTML)return!0;if(md.get(r)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let i=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(Nc(i)&&r===se.HTML)return!0;if(md.get(i)===r)return!1}return!0}hasInListItemScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i],n=this.treeAdapter.getNamespaceURI(this.items[i]);if(r===e&&n===se.HTML)return!0;if((r===m.UL||r===m.OL)&&n===se.HTML||md.get(r)===n)return!1}return!0}hasInButtonScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i],n=this.treeAdapter.getNamespaceURI(this.items[i]);if(r===e&&n===se.HTML)return!0;if(r===m.BUTTON&&n===se.HTML||md.get(r)===n)return!1}return!0}hasInTableScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i];if(this.treeAdapter.getNamespaceURI(this.items[i])===se.HTML){if(r===e)return!0;if(r===m.TABLE||r===m.TEMPLATE||r===m.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let i=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===se.HTML){if(i===m.TBODY||i===m.THEAD||i===m.TFOOT)return!0;if(i===m.TABLE||i===m.HTML)return!1}}return!0}hasInSelectScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i];if(this.treeAdapter.getNamespaceURI(this.items[i])===se.HTML){if(r===e)return!0;if(r!==m.OPTION&&r!==m.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;C4.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;E4.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&E4.has(this.currentTagId);)this.pop()}};var Or;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(Or=Or||(Or={}));var P4={type:Or.Marker},bd=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,i){let r=[],n=i.length,o=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let a=0;a<this.entries.length;a++){let l=this.entries[a];if(l.type===Or.Marker)break;let{element:c}=l;if(this.treeAdapter.getTagName(c)===o&&this.treeAdapter.getNamespaceURI(c)===s){let u=this.treeAdapter.getAttrList(c);u.length===n&&r.push({idx:a,attrs:u})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let i=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,i);if(r.length<3)return;let n=new Map(i.map(s=>[s.name,s.value])),o=0;for(let s=0;s<r.length;s++){let a=r[s];a.attrs.every(l=>n.get(l.name)===l.value)&&(o+=1,o>=3&&this.entries.splice(a.idx,1))}}insertMarker(){this.entries.unshift(P4)}pushElement(e,i){this._ensureNoahArkCondition(e),this.entries.unshift({type:Or.Element,element:e,token:i})}insertElementAfterBookmark(e,i){let r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Or.Element,element:e,token:i})}removeEntry(e){let i=this.entries.indexOf(e);i>=0&&this.entries.splice(i,1)}clearToLastMarker(){let e=this.entries.indexOf(P4);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let i=this.entries.find(r=>r.type===Or.Marker||this.treeAdapter.getTagName(r.element)===e);return i&&i.type===Or.Element?i:null}getElementEntry(e){return this.entries.find(i=>i.type===Or.Element&&i.element===e)}};function _4(t){return{nodeName:"#text",value:t,parentNode:null}}var Dn={createDocument(){return{nodeName:"#document",mode:si.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,i){return{nodeName:t,tagName:t,attrs:i,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(t){return{nodeName:"#comment",data:t,parentNode:null}},appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,i){let r=t.childNodes.indexOf(i);t.childNodes.splice(r,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,i,r){let n=t.childNodes.find(o=>o.nodeName==="#documentType");if(n)n.name=e,n.publicId=i,n.systemId=r;else{let o={nodeName:"#documentType",name:e,publicId:i,systemId:r,parentNode:null};Dn.appendChild(t,o)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){let e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){let i=t.childNodes[t.childNodes.length-1];if(Dn.isTextNode(i)){i.value+=e;return}}Dn.appendChild(t,_4(e))},insertTextBefore(t,e,i){let r=t.childNodes[t.childNodes.indexOf(i)-1];r&&Dn.isTextNode(r)?r.value+=e:Dn.insertBefore(t,_4(e),i)},adoptAttributes(t,e){let i=new Set(t.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)i.has(e[r].name)||t.attrs.push(e[r])},getFirstChild(t){return t.childNodes[0]},getChildNodes(t){return t.childNodes},getParentNode(t){return t.parentNode},getAttrList(t){return t.attrs},getTagName(t){return t.tagName},getNamespaceURI(t){return t.namespaceURI},getTextNodeContent(t){return t.value},getCommentNodeContent(t){return t.data},getDocumentTypeNodeName(t){return t.name},getDocumentTypeNodePublicId(t){return t.publicId},getDocumentTypeNodeSystemId(t){return t.systemId},isTextNode(t){return t.nodeName==="#text"},isCommentNode(t){return t.nodeName==="#comment"},isDocumentTypeNode(t){return t.nodeName==="#documentType"},isElementNode(t){return Object.prototype.hasOwnProperty.call(t,"tagName")},setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation(t){return t.sourceCodeLocation},updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation=H(H({},t.sourceCodeLocation),e)}};var A4="html",zM="about:legacy-compat",jM="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",$4=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],qM=[...$4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],WM=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),X4=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],BM=[...X4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Q4(t,e){return e.some(i=>t.startsWith(i))}function R4(t){return t.name===A4&&t.publicId===null&&(t.systemId===null||t.systemId===zM)}function L4(t){if(t.name!==A4)return si.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===jM)return si.QUIRKS;let{publicId:i}=t;if(i!==null){if(i=i.toLowerCase(),WM.has(i))return si.QUIRKS;let r=e===null?qM:$4;if(Q4(i,r))return si.QUIRKS;if(r=e===null?X4:BM,Q4(i,r))return si.LIMITED_QUIRKS}return si.NO_QUIRKS}var vd={};Hl(vd,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>D4,adjustTokenMathMLAttrs:()=>yd,adjustTokenSVGAttrs:()=>xd,adjustTokenSVGTagName:()=>_b,adjustTokenXMLAttrs:()=>jc,causesExit:()=>Pb,isIntegrationPoint:()=>Qb});var I4={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},VM="definitionurl",YM="definitionURL",FM=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),HM=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:se.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:se.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:se.XMLNS}]]),D4=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),GM=new Set([m.B,m.BIG,m.BLOCKQUOTE,m.BODY,m.BR,m.CENTER,m.CODE,m.DD,m.DIV,m.DL,m.DT,m.EM,m.EMBED,m.H1,m.H2,m.H3,m.H4,m.H5,m.H6,m.HEAD,m.HR,m.I,m.IMG,m.LI,m.LISTING,m.MENU,m.META,m.NOBR,m.OL,m.P,m.PRE,m.RUBY,m.S,m.SMALL,m.SPAN,m.STRONG,m.STRIKE,m.SUB,m.SUP,m.TABLE,m.TT,m.U,m.UL,m.VAR]);function Pb(t){let e=t.tagID;return e===m.FONT&&t.attrs.some(({name:r})=>r===Xr.COLOR||r===Xr.SIZE||r===Xr.FACE)||GM.has(e)}function yd(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===VM){t.attrs[e].name=YM;break}}function xd(t){for(let e=0;e<t.attrs.length;e++){let i=FM.get(t.attrs[e].name);i!=null&&(t.attrs[e].name=i)}}function jc(t){for(let e=0;e<t.attrs.length;e++){let i=HM.get(t.attrs[e].name);i&&(t.attrs[e].prefix=i.prefix,t.attrs[e].name=i.name,t.attrs[e].namespace=i.namespace)}}function _b(t){let e=D4.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=$o(t.tagName))}function KM(t,e){return e===se.MATHML&&(t===m.MI||t===m.MO||t===m.MN||t===m.MS||t===m.MTEXT)}function JM(t,e,i){if(e===se.MATHML&&t===m.ANNOTATION_XML){for(let r=0;r<i.length;r++)if(i[r].name===Xr.ENCODING){let n=i[r].value.toLowerCase();return n===I4.TEXT_HTML||n===I4.APPLICATION_XML}}return e===se.SVG&&(t===m.FOREIGN_OBJECT||t===m.DESC||t===m.TITLE)}function Qb(t,e,i,r){return(!r||r===se.HTML)&&JM(t,e,i)||(!r||r===se.MATHML)&&KM(t,e)}var eU="hidden",tU=8,iU=3,N;(function(t){t[t.INITIAL=0]="INITIAL",t[t.BEFORE_HTML=1]="BEFORE_HTML",t[t.BEFORE_HEAD=2]="BEFORE_HEAD",t[t.IN_HEAD=3]="IN_HEAD",t[t.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",t[t.AFTER_HEAD=5]="AFTER_HEAD",t[t.IN_BODY=6]="IN_BODY",t[t.TEXT=7]="TEXT",t[t.IN_TABLE=8]="IN_TABLE",t[t.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",t[t.IN_CAPTION=10]="IN_CAPTION",t[t.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",t[t.IN_TABLE_BODY=12]="IN_TABLE_BODY",t[t.IN_ROW=13]="IN_ROW",t[t.IN_CELL=14]="IN_CELL",t[t.IN_SELECT=15]="IN_SELECT",t[t.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",t[t.IN_TEMPLATE=17]="IN_TEMPLATE",t[t.AFTER_BODY=18]="AFTER_BODY",t[t.IN_FRAMESET=19]="IN_FRAMESET",t[t.AFTER_FRAMESET=20]="AFTER_FRAMESET",t[t.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",t[t.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(N||(N={}));var rU={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},z4=new Set([m.TABLE,m.TBODY,m.TFOOT,m.THEAD,m.TR]),N4={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Dn,onParseError:null},Nn=class{constructor(e,i,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=N.INITIAL,this.originalInsertionMode=N.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=H(H({},N4),e),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=i!=null?i:this.treeAdapter.createDocument(),this.tokenizer=new zc(this.options,this),this.activeFormattingElements=new bd(this.treeAdapter),this.fragmentContextID=r?$o(this.treeAdapter.getTagName(r)):m.UNKNOWN,this._setContextModes(r!=null?r:this.document,this.fragmentContextID),this.openElements=new gd(this.document,this.treeAdapter,this)}static parse(e,i){let r=new this(i);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,i){let r=H(H({},N4),i);e!=null||(e=r.treeAdapter.createElement(Z.TEMPLATE,se.HTML,[]));let n=r.treeAdapter.createElement("documentmock",se.HTML,[]),o=new this(r,n,e);return o.fragmentContextID===m.TEMPLATE&&o.tmplInsertionModeStack.unshift(N.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,i),i}_err(e,i,r){var n;if(!this.onParseError)return;let o=(n=e.location)!==null&&n!==void 0?n:rU,s={code:i,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:r?o.startLine:o.endLine,endCol:r?o.startCol:o.endCol,endOffset:r?o.startOffset:o.endOffset};this.onParseError(s)}onItemPush(e,i,r){var n,o;(o=(n=this.treeAdapter).onItemPush)===null||o===void 0||o.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,i)}onItemPop(e,i){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),i){let o,s;this.openElements.stackTop===0&&this.fragmentContext?(o=this.fragmentContext,s=this.fragmentContextID):{current:o,currentTagId:s}=this.openElements,this._setContextModes(o,s)}}_setContextModes(e,i){let r=e===this.document||this.treeAdapter.getNamespaceURI(e)===se.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(i,e)}_switchToTextParsing(e,i){this._insertElement(e,se.HTML),this.tokenizer.state=i,this.originalInsertionMode=this.insertionMode,this.insertionMode=N.TEXT}switchToPlaintextParsing(){this.insertionMode=N.TEXT,this.originalInsertionMode=N.IN_BODY,this.tokenizer.state=vt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Z.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==se.HTML))switch(this.fragmentContextID){case m.TITLE:case m.TEXTAREA:{this.tokenizer.state=vt.RCDATA;break}case m.STYLE:case m.XMP:case m.IFRAME:case m.NOEMBED:case m.NOFRAMES:case m.NOSCRIPT:{this.tokenizer.state=vt.RAWTEXT;break}case m.SCRIPT:{this.tokenizer.state=vt.SCRIPT_DATA;break}case m.PLAINTEXT:{this.tokenizer.state=vt.PLAINTEXT;break}default:}}_setDocumentType(e){let i=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,i,r,n),e.location){let s=this.treeAdapter.getChildNodes(this.document).find(a=>this.treeAdapter.isDocumentTypeNode(a));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,i){if(this.options.sourceCodeLocationInfo){let r=i&&Ce(H({},i),{startTag:i});this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,i){let r=this.treeAdapter.createElement(e.tagName,i,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,i){let r=this.treeAdapter.createElement(e.tagName,i,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,i){let r=this.treeAdapter.createElement(e,se.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,i)}_insertTemplate(e){let i=this.treeAdapter.createElement(e.tagName,se.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(i,r),this._attachElementToTree(i,e.location),this.openElements.push(i,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(Z.HTML,se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,m.HTML)}_appendCommentNode(e,i){let r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(i,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let i,r;if(this._shouldFosterParentOnInsertion()?({parent:i,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(i,e.chars,r):this.treeAdapter.insertText(i,e.chars)):(i=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(i,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(i),o=r?n.lastIndexOf(r):n.length,s=n[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){let{endLine:l,endCol:c,endOffset:u}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,i){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(i,r)}_setEndLocation(e,i){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&i.location){let r=i.location,n=this.treeAdapter.getTagName(e),o=i.type===Ye.END_TAG&&n===i.tagName?{endTag:H({},r),endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let i,r;return this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,r=this.fragmentContextID):{current:i,currentTagId:r}=this.openElements,e.tagID===m.SVG&&this.treeAdapter.getTagName(i)===Z.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(i)===se.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===m.MGLYPH||e.tagID===m.MALIGNMARK)&&!this._isIntegrationPoint(r,i,se.HTML)}_processToken(e){switch(e.type){case Ye.CHARACTER:{this.onCharacter(e);break}case Ye.NULL_CHARACTER:{this.onNullCharacter(e);break}case Ye.COMMENT:{this.onComment(e);break}case Ye.DOCTYPE:{this.onDoctype(e);break}case Ye.START_TAG:{this._processStartTag(e);break}case Ye.END_TAG:{this.onEndTag(e);break}case Ye.EOF:{this.onEof(e);break}case Ye.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,i,r){let n=this.treeAdapter.getNamespaceURI(i),o=this.treeAdapter.getAttrList(i);return Qb(e,n,o,r)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let i=this.activeFormattingElements.entries.findIndex(n=>n.type===Or.Marker||this.openElements.contains(n.element)),r=i<0?e-1:i-1;for(let n=r;n>=0;n--){let o=this.activeFormattingElements.entries[n];this._insertElement(o.token,this.treeAdapter.getNamespaceURI(o.element)),o.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=N.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(m.P),this.openElements.popUntilTagNamePopped(m.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case m.TR:{this.insertionMode=N.IN_ROW;return}case m.TBODY:case m.THEAD:case m.TFOOT:{this.insertionMode=N.IN_TABLE_BODY;return}case m.CAPTION:{this.insertionMode=N.IN_CAPTION;return}case m.COLGROUP:{this.insertionMode=N.IN_COLUMN_GROUP;return}case m.TABLE:{this.insertionMode=N.IN_TABLE;return}case m.BODY:{this.insertionMode=N.IN_BODY;return}case m.FRAMESET:{this.insertionMode=N.IN_FRAMESET;return}case m.SELECT:{this._resetInsertionModeForSelect(e);return}case m.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case m.HTML:{this.insertionMode=this.headElement?N.AFTER_HEAD:N.BEFORE_HEAD;return}case m.TD:case m.TH:{if(e>0){this.insertionMode=N.IN_CELL;return}break}case m.HEAD:{if(e>0){this.insertionMode=N.IN_HEAD;return}break}}this.insertionMode=N.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let i=e-1;i>0;i--){let r=this.openElements.tagIDs[i];if(r===m.TEMPLATE)break;if(r===m.TABLE){this.insertionMode=N.IN_SELECT_IN_TABLE;return}}this.insertionMode=N.IN_SELECT}_isElementCausesFosterParenting(e){return z4.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let i=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case m.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(i)===se.HTML)return{parent:this.treeAdapter.getTemplateContent(i),beforeElement:null};break}case m.TABLE:{let r=this.treeAdapter.getParentNode(i);return r?{parent:r,beforeElement:i}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let i=this._findFosterParentingLocation();i.beforeElement?this.treeAdapter.insertBefore(i.parent,e,i.beforeElement):this.treeAdapter.appendChild(i.parent,e)}_isSpecialElement(e,i){let r=this.treeAdapter.getNamespaceURI(e);return Eb[r].has(i)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Xz(this,e);return}switch(this.insertionMode){case N.INITIAL:{qc(this,e);break}case N.BEFORE_HTML:{Bc(this,e);break}case N.BEFORE_HEAD:{Zc(this,e);break}case N.IN_HEAD:{Vc(this,e);break}case N.IN_HEAD_NO_SCRIPT:{Yc(this,e);break}case N.AFTER_HEAD:{Fc(this,e);break}case N.IN_BODY:case N.IN_CAPTION:case N.IN_CELL:case N.IN_TEMPLATE:{q4(this,e);break}case N.TEXT:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case N.IN_TABLE:case N.IN_TABLE_BODY:case N.IN_ROW:{Ab(this,e);break}case N.IN_TABLE_TEXT:{F4(this,e);break}case N.IN_COLUMN_GROUP:{kd(this,e);break}case N.AFTER_BODY:{Sd(this,e);break}case N.AFTER_AFTER_BODY:{wd(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){$z(this,e);return}switch(this.insertionMode){case N.INITIAL:{qc(this,e);break}case N.BEFORE_HTML:{Bc(this,e);break}case N.BEFORE_HEAD:{Zc(this,e);break}case N.IN_HEAD:{Vc(this,e);break}case N.IN_HEAD_NO_SCRIPT:{Yc(this,e);break}case N.AFTER_HEAD:{Fc(this,e);break}case N.TEXT:{this._insertCharacters(e);break}case N.IN_TABLE:case N.IN_TABLE_BODY:case N.IN_ROW:{Ab(this,e);break}case N.IN_COLUMN_GROUP:{kd(this,e);break}case N.AFTER_BODY:{Sd(this,e);break}case N.AFTER_AFTER_BODY:{wd(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){$b(this,e);return}switch(this.insertionMode){case N.INITIAL:case N.BEFORE_HTML:case N.BEFORE_HEAD:case N.IN_HEAD:case N.IN_HEAD_NO_SCRIPT:case N.AFTER_HEAD:case N.IN_BODY:case N.IN_TABLE:case N.IN_CAPTION:case N.IN_COLUMN_GROUP:case N.IN_TABLE_BODY:case N.IN_ROW:case N.IN_CELL:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:case N.IN_TEMPLATE:case N.IN_FRAMESET:case N.AFTER_FRAMESET:{$b(this,e);break}case N.IN_TABLE_TEXT:{Wc(this,e);break}case N.AFTER_BODY:{uU(this,e);break}case N.AFTER_AFTER_BODY:case N.AFTER_AFTER_FRAMESET:{fU(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case N.INITIAL:{hU(this,e);break}case N.BEFORE_HEAD:case N.IN_HEAD:case N.IN_HEAD_NO_SCRIPT:case N.AFTER_HEAD:{this._err(e,K.misplacedDoctype);break}case N.IN_TABLE_TEXT:{Wc(this,e);break}default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,K.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Rz(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case N.INITIAL:{qc(this,e);break}case N.BEFORE_HTML:{dU(this,e);break}case N.BEFORE_HEAD:{OU(this,e);break}case N.IN_HEAD:{Rr(this,e);break}case N.IN_HEAD_NO_SCRIPT:{bU(this,e);break}case N.AFTER_HEAD:{xU(this,e);break}case N.IN_BODY:{bi(this,e);break}case N.IN_TABLE:{Wa(this,e);break}case N.IN_TABLE_TEXT:{Wc(this,e);break}case N.IN_CAPTION:{mz(this,e);break}case N.IN_COLUMN_GROUP:{Ib(this,e);break}case N.IN_TABLE_BODY:{Cd(this,e);break}case N.IN_ROW:{Pd(this,e);break}case N.IN_CELL:{yz(this,e);break}case N.IN_SELECT:{K4(this,e);break}case N.IN_SELECT_IN_TABLE:{vz(this,e);break}case N.IN_TEMPLATE:{kz(this,e);break}case N.AFTER_BODY:{Tz(this,e);break}case N.IN_FRAMESET:{Ez(this,e);break}case N.AFTER_FRAMESET:{Pz(this,e);break}case N.AFTER_AFTER_BODY:{Qz(this,e);break}case N.AFTER_AFTER_FRAMESET:{Az(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Lz(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case N.INITIAL:{qc(this,e);break}case N.BEFORE_HTML:{pU(this,e);break}case N.BEFORE_HEAD:{mU(this,e);break}case N.IN_HEAD:{gU(this,e);break}case N.IN_HEAD_NO_SCRIPT:{yU(this,e);break}case N.AFTER_HEAD:{vU(this,e);break}case N.IN_BODY:{Ed(this,e);break}case N.TEXT:{sz(this,e);break}case N.IN_TABLE:{Hc(this,e);break}case N.IN_TABLE_TEXT:{Wc(this,e);break}case N.IN_CAPTION:{gz(this,e);break}case N.IN_COLUMN_GROUP:{bz(this,e);break}case N.IN_TABLE_BODY:{Xb(this,e);break}case N.IN_ROW:{G4(this,e);break}case N.IN_CELL:{xz(this,e);break}case N.IN_SELECT:{J4(this,e);break}case N.IN_SELECT_IN_TABLE:{wz(this,e);break}case N.IN_TEMPLATE:{Sz(this,e);break}case N.AFTER_BODY:{tE(this,e);break}case N.IN_FRAMESET:{Cz(this,e);break}case N.AFTER_FRAMESET:{_z(this,e);break}case N.AFTER_AFTER_BODY:{wd(this,e);break}default:}}onEof(e){switch(this.insertionMode){case N.INITIAL:{qc(this,e);break}case N.BEFORE_HTML:{Bc(this,e);break}case N.BEFORE_HEAD:{Zc(this,e);break}case N.IN_HEAD:{Vc(this,e);break}case N.IN_HEAD_NO_SCRIPT:{Yc(this,e);break}case N.AFTER_HEAD:{Fc(this,e);break}case N.IN_BODY:case N.IN_TABLE:case N.IN_CAPTION:case N.IN_COLUMN_GROUP:case N.IN_TABLE_BODY:case N.IN_ROW:case N.IN_CELL:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:{V4(this,e);break}case N.TEXT:{az(this,e);break}case N.IN_TABLE_TEXT:{Wc(this,e);break}case N.IN_TEMPLATE:{eE(this,e);break}case N.AFTER_BODY:case N.IN_FRAMESET:case N.AFTER_FRAMESET:case N.AFTER_AFTER_BODY:case N.AFTER_AFTER_FRAMESET:{Lb(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===Q.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case N.IN_HEAD:case N.IN_HEAD_NO_SCRIPT:case N.AFTER_HEAD:case N.TEXT:case N.IN_COLUMN_GROUP:case N.IN_SELECT:case N.IN_SELECT_IN_TABLE:case N.IN_FRAMESET:case N.AFTER_FRAMESET:{this._insertCharacters(e);break}case N.IN_BODY:case N.IN_CAPTION:case N.IN_CELL:case N.IN_TEMPLATE:case N.AFTER_BODY:case N.AFTER_AFTER_BODY:case N.AFTER_AFTER_FRAMESET:{j4(this,e);break}case N.IN_TABLE:case N.IN_TABLE_BODY:case N.IN_ROW:{Ab(this,e);break}case N.IN_TABLE_TEXT:{Y4(this,e);break}default:}}};function nU(t,e){let i=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return i?t.openElements.contains(i.element)?t.openElements.hasInScope(e.tagID)||(i=null):(t.activeFormattingElements.removeEntry(i),i=null):Z4(t,e),i}function oU(t,e){let i=null,r=t.openElements.stackTop;for(;r>=0;r--){let n=t.openElements.items[r];if(n===e.element)break;t._isSpecialElement(n,t.openElements.tagIDs[r])&&(i=n)}return i||(t.openElements.shortenToLength(r<0?0:r),t.activeFormattingElements.removeEntry(e)),i}function sU(t,e,i){let r=e,n=t.openElements.getCommonAncestor(e);for(let o=0,s=n;s!==i;o++,s=n){n=t.openElements.getCommonAncestor(s);let a=t.activeFormattingElements.getElementEntry(s),l=a&&o>=iU;!a||l?(l&&t.activeFormattingElements.removeEntry(a),t.openElements.remove(s)):(s=aU(t,a),r===e&&(t.activeFormattingElements.bookmark=a),t.treeAdapter.detachNode(r),t.treeAdapter.appendChild(s,r),r=s)}return r}function aU(t,e){let i=t.treeAdapter.getNamespaceURI(e.element),r=t.treeAdapter.createElement(e.token.tagName,i,e.token.attrs);return t.openElements.replace(e.element,r),e.element=r,r}function lU(t,e,i){let r=t.treeAdapter.getTagName(e),n=$o(r);if(t._isElementCausesFosterParenting(n))t._fosterParentElement(i);else{let o=t.treeAdapter.getNamespaceURI(e);n===m.TEMPLATE&&o===se.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,i)}}function cU(t,e,i){let r=t.treeAdapter.getNamespaceURI(i.element),{token:n}=i,o=t.treeAdapter.createElement(n.tagName,r,n.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,n),t.activeFormattingElements.removeEntry(i),t.openElements.remove(i.element),t.openElements.insertAfter(e,o,n.tagID)}function Rb(t,e){for(let i=0;i<tU;i++){let r=nU(t,e);if(!r)break;let n=oU(t,r);if(!n)break;t.activeFormattingElements.bookmark=r;let o=sU(t,n,r.element),s=t.openElements.getCommonAncestor(r.element);t.treeAdapter.detachNode(o),s&&lU(t,s,o),cU(t,n,r)}}function $b(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function uU(t,e){t._appendCommentNode(e,t.openElements.items[0])}function fU(t,e){t._appendCommentNode(e,t.document)}function Lb(t,e){if(t.stopped=!0,e.location){let i=t.fragmentContext?0:2;for(let r=t.openElements.stackTop;r>=i;r--)t._setEndLocation(t.openElements.items[r],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){let r=t.openElements.items[0],n=t.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(t._setEndLocation(r,e),t.openElements.stackTop>=1)){let o=t.openElements.items[1],s=t.treeAdapter.getNodeSourceCodeLocation(o);s&&!s.endTag&&t._setEndLocation(o,e)}}}}function hU(t,e){t._setDocumentType(e);let i=e.forceQuirks?si.QUIRKS:L4(e);R4(e)||t._err(e,K.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,i),t.insertionMode=N.BEFORE_HTML}function qc(t,e){t._err(e,K.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,si.QUIRKS),t.insertionMode=N.BEFORE_HTML,t._processToken(e)}function dU(t,e){e.tagID===m.HTML?(t._insertElement(e,se.HTML),t.insertionMode=N.BEFORE_HEAD):Bc(t,e)}function pU(t,e){let i=e.tagID;(i===m.HTML||i===m.HEAD||i===m.BODY||i===m.BR)&&Bc(t,e)}function Bc(t,e){t._insertFakeRootElement(),t.insertionMode=N.BEFORE_HEAD,t._processToken(e)}function OU(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.HEAD:{t._insertElement(e,se.HTML),t.headElement=t.openElements.current,t.insertionMode=N.IN_HEAD;break}default:Zc(t,e)}}function mU(t,e){let i=e.tagID;i===m.HEAD||i===m.BODY||i===m.HTML||i===m.BR?Zc(t,e):t._err(e,K.endTagWithoutMatchingOpenElement)}function Zc(t,e){t._insertFakeElement(Z.HEAD,m.HEAD),t.headElement=t.openElements.current,t.insertionMode=N.IN_HEAD,t._processToken(e)}function Rr(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:{t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break}case m.TITLE:{t._switchToTextParsing(e,vt.RCDATA);break}case m.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,vt.RAWTEXT):(t._insertElement(e,se.HTML),t.insertionMode=N.IN_HEAD_NO_SCRIPT);break}case m.NOFRAMES:case m.STYLE:{t._switchToTextParsing(e,vt.RAWTEXT);break}case m.SCRIPT:{t._switchToTextParsing(e,vt.SCRIPT_DATA);break}case m.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=N.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(N.IN_TEMPLATE);break}case m.HEAD:{t._err(e,K.misplacedStartTagForHeadElement);break}default:Vc(t,e)}}function gU(t,e){switch(e.tagID){case m.HEAD:{t.openElements.pop(),t.insertionMode=N.AFTER_HEAD;break}case m.BODY:case m.BR:case m.HTML:{Vc(t,e);break}case m.TEMPLATE:{Cs(t,e);break}default:t._err(e,K.endTagWithoutMatchingOpenElement)}}function Cs(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==m.TEMPLATE&&t._err(e,K.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(m.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,K.endTagWithoutMatchingOpenElement)}function Vc(t,e){t.openElements.pop(),t.insertionMode=N.AFTER_HEAD,t._processToken(e)}function bU(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.BASEFONT:case m.BGSOUND:case m.HEAD:case m.LINK:case m.META:case m.NOFRAMES:case m.STYLE:{Rr(t,e);break}case m.NOSCRIPT:{t._err(e,K.nestedNoscriptInHead);break}default:Yc(t,e)}}function yU(t,e){switch(e.tagID){case m.NOSCRIPT:{t.openElements.pop(),t.insertionMode=N.IN_HEAD;break}case m.BR:{Yc(t,e);break}default:t._err(e,K.endTagWithoutMatchingOpenElement)}}function Yc(t,e){let i=e.type===Ye.EOF?K.openElementsLeftAfterEof:K.disallowedContentInNoscriptInHead;t._err(e,i),t.openElements.pop(),t.insertionMode=N.IN_HEAD,t._processToken(e)}function xU(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.BODY:{t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=N.IN_BODY;break}case m.FRAMESET:{t._insertElement(e,se.HTML),t.insertionMode=N.IN_FRAMESET;break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{t._err(e,K.abandonedHeadElementChild),t.openElements.push(t.headElement,m.HEAD),Rr(t,e),t.openElements.remove(t.headElement);break}case m.HEAD:{t._err(e,K.misplacedStartTagForHeadElement);break}default:Fc(t,e)}}function vU(t,e){switch(e.tagID){case m.BODY:case m.HTML:case m.BR:{Fc(t,e);break}case m.TEMPLATE:{Cs(t,e);break}default:t._err(e,K.endTagWithoutMatchingOpenElement)}}function Fc(t,e){t._insertFakeElement(Z.BODY,m.BODY),t.insertionMode=N.IN_BODY,Td(t,e)}function Td(t,e){switch(e.type){case Ye.CHARACTER:{q4(t,e);break}case Ye.WHITESPACE_CHARACTER:{j4(t,e);break}case Ye.COMMENT:{$b(t,e);break}case Ye.START_TAG:{bi(t,e);break}case Ye.END_TAG:{Ed(t,e);break}case Ye.EOF:{V4(t,e);break}default:}}function j4(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function q4(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function wU(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function kU(t,e){let i=t.openElements.tryPeekProperlyNestedBodyElement();i&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(i,e.attrs))}function SU(t,e){let i=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&i&&(t.treeAdapter.detachNode(i),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,se.HTML),t.insertionMode=N.IN_FRAMESET)}function TU(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML)}function EU(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),Nc(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,se.HTML)}function CU(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function PU(t,e){let i=t.openElements.tmplCount>0;(!t.formElement||i)&&(t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),i||(t.formElement=t.openElements.current))}function _U(t,e){t.framesetOk=!1;let i=e.tagID;for(let r=t.openElements.stackTop;r>=0;r--){let n=t.openElements.tagIDs[r];if(i===m.LI&&n===m.LI||(i===m.DD||i===m.DT)&&(n===m.DD||n===m.DT)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n);break}if(n!==m.ADDRESS&&n!==m.DIV&&n!==m.P&&t._isSpecialElement(t.openElements.items[r],n))break}t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML)}function QU(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.tokenizer.state=vt.PLAINTEXT}function AU(t,e){t.openElements.hasInScope(m.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(m.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1}function $U(t,e){let i=t.activeFormattingElements.getElementEntryInScopeWithTagName(Z.A);i&&(Rb(t,e),t.openElements.remove(i.element),t.activeFormattingElements.removeEntry(i)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function XU(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function RU(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(m.NOBR)&&(Rb(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function LU(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function IU(t,e){t.treeAdapter.getDocumentMode(t.document)!==si.QUIRKS&&t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=N.IN_TABLE}function W4(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function B4(t){let e=Dc(t,Xr.TYPE);return e!=null&&e.toLowerCase()===eU}function DU(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),B4(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function NU(t,e){t._appendElement(e,se.HTML),e.ackSelfClosing=!0}function MU(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function UU(t,e){e.tagName=Z.IMG,e.tagID=m.IMG,W4(t,e)}function zU(t,e){t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.tokenizer.state=vt.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=N.TEXT}function jU(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,vt.RAWTEXT)}function qU(t,e){t.framesetOk=!1,t._switchToTextParsing(e,vt.RAWTEXT)}function M4(t,e){t._switchToTextParsing(e,vt.RAWTEXT)}function WU(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===N.IN_TABLE||t.insertionMode===N.IN_CAPTION||t.insertionMode===N.IN_TABLE_BODY||t.insertionMode===N.IN_ROW||t.insertionMode===N.IN_CELL?N.IN_SELECT_IN_TABLE:N.IN_SELECT}function BU(t,e){t.openElements.currentTagId===m.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}function ZU(t,e){t.openElements.hasInScope(m.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,se.HTML)}function VU(t,e){t.openElements.hasInScope(m.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(m.RTC),t._insertElement(e,se.HTML)}function YU(t,e){t._reconstructActiveFormattingElements(),yd(e),jc(e),e.selfClosing?t._appendElement(e,se.MATHML):t._insertElement(e,se.MATHML),e.ackSelfClosing=!0}function FU(t,e){t._reconstructActiveFormattingElements(),xd(e),jc(e),e.selfClosing?t._appendElement(e,se.SVG):t._insertElement(e,se.SVG),e.ackSelfClosing=!0}function U4(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}function bi(t,e){switch(e.tagID){case m.I:case m.S:case m.B:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.SMALL:case m.STRIKE:case m.STRONG:{XU(t,e);break}case m.A:{$U(t,e);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{EU(t,e);break}case m.P:case m.DL:case m.OL:case m.UL:case m.DIV:case m.DIR:case m.NAV:case m.MAIN:case m.MENU:case m.ASIDE:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.DETAILS:case m.ADDRESS:case m.ARTICLE:case m.SECTION:case m.SUMMARY:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{TU(t,e);break}case m.LI:case m.DD:case m.DT:{_U(t,e);break}case m.BR:case m.IMG:case m.WBR:case m.AREA:case m.EMBED:case m.KEYGEN:{W4(t,e);break}case m.HR:{MU(t,e);break}case m.RB:case m.RTC:{ZU(t,e);break}case m.RT:case m.RP:{VU(t,e);break}case m.PRE:case m.LISTING:{CU(t,e);break}case m.XMP:{jU(t,e);break}case m.SVG:{FU(t,e);break}case m.HTML:{wU(t,e);break}case m.BASE:case m.LINK:case m.META:case m.STYLE:case m.TITLE:case m.SCRIPT:case m.BGSOUND:case m.BASEFONT:case m.TEMPLATE:{Rr(t,e);break}case m.BODY:{kU(t,e);break}case m.FORM:{PU(t,e);break}case m.NOBR:{RU(t,e);break}case m.MATH:{YU(t,e);break}case m.TABLE:{IU(t,e);break}case m.INPUT:{DU(t,e);break}case m.PARAM:case m.TRACK:case m.SOURCE:{NU(t,e);break}case m.IMAGE:{UU(t,e);break}case m.BUTTON:{AU(t,e);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{LU(t,e);break}case m.IFRAME:{qU(t,e);break}case m.SELECT:{WU(t,e);break}case m.OPTION:case m.OPTGROUP:{BU(t,e);break}case m.NOEMBED:{M4(t,e);break}case m.FRAMESET:{SU(t,e);break}case m.TEXTAREA:{zU(t,e);break}case m.NOSCRIPT:{t.options.scriptingEnabled?M4(t,e):U4(t,e);break}case m.PLAINTEXT:{QU(t,e);break}case m.COL:case m.TH:case m.TD:case m.TR:case m.HEAD:case m.FRAME:case m.TBODY:case m.TFOOT:case m.THEAD:case m.CAPTION:case m.COLGROUP:break;default:U4(t,e)}}function HU(t,e){if(t.openElements.hasInScope(m.BODY)&&(t.insertionMode=N.AFTER_BODY,t.options.sourceCodeLocationInfo)){let i=t.openElements.tryPeekProperlyNestedBodyElement();i&&t._setEndLocation(i,e)}}function GU(t,e){t.openElements.hasInScope(m.BODY)&&(t.insertionMode=N.AFTER_BODY,tE(t,e))}function KU(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i))}function JU(t){let e=t.openElements.tmplCount>0,{formElement:i}=t;e||(t.formElement=null),(i||e)&&t.openElements.hasInScope(m.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(m.FORM):i&&t.openElements.remove(i))}function ez(t){t.openElements.hasInButtonScope(m.P)||t._insertFakeElement(Z.P,m.P),t._closePElement()}function tz(t){t.openElements.hasInListItemScope(m.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(m.LI),t.openElements.popUntilTagNamePopped(m.LI))}function iz(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTagsWithExclusion(i),t.openElements.popUntilTagNamePopped(i))}function rz(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function nz(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i),t.activeFormattingElements.clearToLastMarker())}function oz(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(Z.BR,m.BR),t.openElements.pop(),t.framesetOk=!1}function Z4(t,e){let i=e.tagName,r=e.tagID;for(let n=t.openElements.stackTop;n>0;n--){let o=t.openElements.items[n],s=t.openElements.tagIDs[n];if(r===s&&(r!==m.UNKNOWN||t.treeAdapter.getTagName(o)===i)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.stackTop>=n&&t.openElements.shortenToLength(n);break}if(t._isSpecialElement(o,s))break}}function Ed(t,e){switch(e.tagID){case m.A:case m.B:case m.I:case m.S:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.NOBR:case m.SMALL:case m.STRIKE:case m.STRONG:{Rb(t,e);break}case m.P:{ez(t);break}case m.DL:case m.UL:case m.OL:case m.DIR:case m.DIV:case m.NAV:case m.PRE:case m.MAIN:case m.MENU:case m.ASIDE:case m.BUTTON:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.ADDRESS:case m.ARTICLE:case m.DETAILS:case m.SECTION:case m.SUMMARY:case m.LISTING:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{KU(t,e);break}case m.LI:{tz(t);break}case m.DD:case m.DT:{iz(t,e);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{rz(t);break}case m.BR:{oz(t);break}case m.BODY:{HU(t,e);break}case m.HTML:{GU(t,e);break}case m.FORM:{JU(t);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{nz(t,e);break}case m.TEMPLATE:{Cs(t,e);break}default:Z4(t,e)}}function V4(t,e){t.tmplInsertionModeStack.length>0?eE(t,e):Lb(t,e)}function sz(t,e){var i;e.tagID===m.SCRIPT&&((i=t.scriptHandler)===null||i===void 0||i.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function az(t,e){t._err(e,K.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function Ab(t,e){if(z4.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=N.IN_TABLE_TEXT,e.type){case Ye.CHARACTER:{F4(t,e);break}case Ye.WHITESPACE_CHARACTER:{Y4(t,e);break}}else Gc(t,e)}function lz(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,se.HTML),t.insertionMode=N.IN_CAPTION}function cz(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=N.IN_COLUMN_GROUP}function uz(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(Z.COLGROUP,m.COLGROUP),t.insertionMode=N.IN_COLUMN_GROUP,Ib(t,e)}function fz(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=N.IN_TABLE_BODY}function hz(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(Z.TBODY,m.TBODY),t.insertionMode=N.IN_TABLE_BODY,Cd(t,e)}function dz(t,e){t.openElements.hasInTableScope(m.TABLE)&&(t.openElements.popUntilTagNamePopped(m.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function pz(t,e){B4(e)?t._appendElement(e,se.HTML):Gc(t,e),e.ackSelfClosing=!0}function Oz(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,se.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function Wa(t,e){switch(e.tagID){case m.TD:case m.TH:case m.TR:{hz(t,e);break}case m.STYLE:case m.SCRIPT:case m.TEMPLATE:{Rr(t,e);break}case m.COL:{uz(t,e);break}case m.FORM:{Oz(t,e);break}case m.TABLE:{dz(t,e);break}case m.TBODY:case m.TFOOT:case m.THEAD:{fz(t,e);break}case m.INPUT:{pz(t,e);break}case m.CAPTION:{lz(t,e);break}case m.COLGROUP:{cz(t,e);break}default:Gc(t,e)}}function Hc(t,e){switch(e.tagID){case m.TABLE:{t.openElements.hasInTableScope(m.TABLE)&&(t.openElements.popUntilTagNamePopped(m.TABLE),t._resetInsertionMode());break}case m.TEMPLATE:{Cs(t,e);break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:Gc(t,e)}}function Gc(t,e){let i=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,Td(t,e),t.fosterParentingEnabled=i}function Y4(t,e){t.pendingCharacterTokens.push(e)}function F4(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function Wc(t,e){let i=0;if(t.hasNonWhitespacePendingCharacterToken)for(;i<t.pendingCharacterTokens.length;i++)Gc(t,t.pendingCharacterTokens[i]);else for(;i<t.pendingCharacterTokens.length;i++)t._insertCharacters(t.pendingCharacterTokens[i]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}var H4=new Set([m.CAPTION,m.COL,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]);function mz(t,e){let i=e.tagID;H4.has(i)?t.openElements.hasInTableScope(m.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(m.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=N.IN_TABLE,Wa(t,e)):bi(t,e)}function gz(t,e){let i=e.tagID;switch(i){case m.CAPTION:case m.TABLE:{t.openElements.hasInTableScope(m.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(m.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=N.IN_TABLE,i===m.TABLE&&Hc(t,e));break}case m.BODY:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:Ed(t,e)}}function Ib(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.COL:{t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break}case m.TEMPLATE:{Rr(t,e);break}default:kd(t,e)}}function bz(t,e){switch(e.tagID){case m.COLGROUP:{t.openElements.currentTagId===m.COLGROUP&&(t.openElements.pop(),t.insertionMode=N.IN_TABLE);break}case m.TEMPLATE:{Cs(t,e);break}case m.COL:break;default:kd(t,e)}}function kd(t,e){t.openElements.currentTagId===m.COLGROUP&&(t.openElements.pop(),t.insertionMode=N.IN_TABLE,t._processToken(e))}function Cd(t,e){switch(e.tagID){case m.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,se.HTML),t.insertionMode=N.IN_ROW;break}case m.TH:case m.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(Z.TR,m.TR),t.insertionMode=N.IN_ROW,Pd(t,e);break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=N.IN_TABLE,Wa(t,e));break}default:Wa(t,e)}}function Xb(t,e){let i=e.tagID;switch(e.tagID){case m.TBODY:case m.TFOOT:case m.THEAD:{t.openElements.hasInTableScope(i)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=N.IN_TABLE);break}case m.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=N.IN_TABLE,Hc(t,e));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:case m.TR:break;default:Hc(t,e)}}function Pd(t,e){switch(e.tagID){case m.TH:case m.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,se.HTML),t.insertionMode=N.IN_CELL,t.activeFormattingElements.insertMarker();break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{t.openElements.hasInTableScope(m.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=N.IN_TABLE_BODY,Cd(t,e));break}default:Wa(t,e)}}function G4(t,e){switch(e.tagID){case m.TR:{t.openElements.hasInTableScope(m.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=N.IN_TABLE_BODY);break}case m.TABLE:{t.openElements.hasInTableScope(m.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=N.IN_TABLE_BODY,Xb(t,e));break}case m.TBODY:case m.TFOOT:case m.THEAD:{(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(m.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=N.IN_TABLE_BODY,Xb(t,e));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:break;default:Hc(t,e)}}function yz(t,e){let i=e.tagID;H4.has(i)?(t.openElements.hasInTableScope(m.TD)||t.openElements.hasInTableScope(m.TH))&&(t._closeTableCell(),Pd(t,e)):bi(t,e)}function xz(t,e){let i=e.tagID;switch(i){case m.TD:case m.TH:{t.openElements.hasInTableScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=N.IN_ROW);break}case m.TABLE:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{t.openElements.hasInTableScope(i)&&(t._closeTableCell(),G4(t,e));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:break;default:Ed(t,e)}}function K4(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.OPTION:{t.openElements.currentTagId===m.OPTION&&t.openElements.pop(),t._insertElement(e,se.HTML);break}case m.OPTGROUP:{t.openElements.currentTagId===m.OPTION&&t.openElements.pop(),t.openElements.currentTagId===m.OPTGROUP&&t.openElements.pop(),t._insertElement(e,se.HTML);break}case m.INPUT:case m.KEYGEN:case m.TEXTAREA:case m.SELECT:{t.openElements.hasInSelectScope(m.SELECT)&&(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode(),e.tagID!==m.SELECT&&t._processStartTag(e));break}case m.SCRIPT:case m.TEMPLATE:{Rr(t,e);break}default:}}function J4(t,e){switch(e.tagID){case m.OPTGROUP:{t.openElements.stackTop>0&&t.openElements.currentTagId===m.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===m.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===m.OPTGROUP&&t.openElements.pop();break}case m.OPTION:{t.openElements.currentTagId===m.OPTION&&t.openElements.pop();break}case m.SELECT:{t.openElements.hasInSelectScope(m.SELECT)&&(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode());break}case m.TEMPLATE:{Cs(t,e);break}default:}}function vz(t,e){let i=e.tagID;i===m.CAPTION||i===m.TABLE||i===m.TBODY||i===m.TFOOT||i===m.THEAD||i===m.TR||i===m.TD||i===m.TH?(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode(),t._processStartTag(e)):K4(t,e)}function wz(t,e){let i=e.tagID;i===m.CAPTION||i===m.TABLE||i===m.TBODY||i===m.TFOOT||i===m.THEAD||i===m.TR||i===m.TD||i===m.TH?t.openElements.hasInTableScope(i)&&(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode(),t.onEndTag(e)):J4(t,e)}function kz(t,e){switch(e.tagID){case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{Rr(t,e);break}case m.CAPTION:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{t.tmplInsertionModeStack[0]=N.IN_TABLE,t.insertionMode=N.IN_TABLE,Wa(t,e);break}case m.COL:{t.tmplInsertionModeStack[0]=N.IN_COLUMN_GROUP,t.insertionMode=N.IN_COLUMN_GROUP,Ib(t,e);break}case m.TR:{t.tmplInsertionModeStack[0]=N.IN_TABLE_BODY,t.insertionMode=N.IN_TABLE_BODY,Cd(t,e);break}case m.TD:case m.TH:{t.tmplInsertionModeStack[0]=N.IN_ROW,t.insertionMode=N.IN_ROW,Pd(t,e);break}default:t.tmplInsertionModeStack[0]=N.IN_BODY,t.insertionMode=N.IN_BODY,bi(t,e)}}function Sz(t,e){e.tagID===m.TEMPLATE&&Cs(t,e)}function eE(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(m.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):Lb(t,e)}function Tz(t,e){e.tagID===m.HTML?bi(t,e):Sd(t,e)}function tE(t,e){var i;if(e.tagID===m.HTML){if(t.fragmentContext||(t.insertionMode=N.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===m.HTML){t._setEndLocation(t.openElements.items[0],e);let r=t.openElements.items[1];r&&!(!((i=t.treeAdapter.getNodeSourceCodeLocation(r))===null||i===void 0)&&i.endTag)&&t._setEndLocation(r,e)}}else Sd(t,e)}function Sd(t,e){t.insertionMode=N.IN_BODY,Td(t,e)}function Ez(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.FRAMESET:{t._insertElement(e,se.HTML);break}case m.FRAME:{t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break}case m.NOFRAMES:{Rr(t,e);break}default:}}function Cz(t,e){e.tagID===m.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==m.FRAMESET&&(t.insertionMode=N.AFTER_FRAMESET))}function Pz(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.NOFRAMES:{Rr(t,e);break}default:}}function _z(t,e){e.tagID===m.HTML&&(t.insertionMode=N.AFTER_AFTER_FRAMESET)}function Qz(t,e){e.tagID===m.HTML?bi(t,e):wd(t,e)}function wd(t,e){t.insertionMode=N.IN_BODY,Td(t,e)}function Az(t,e){switch(e.tagID){case m.HTML:{bi(t,e);break}case m.NOFRAMES:{Rr(t,e);break}default:}}function $z(t,e){e.chars=mt,t._insertCharacters(e)}function Xz(t,e){t._insertCharacters(e),t.framesetOk=!1}function iE(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==se.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function Rz(t,e){if(Pb(e))iE(t),t._startTagOutsideForeignContent(e);else{let i=t._getAdjustedCurrentElement(),r=t.treeAdapter.getNamespaceURI(i);r===se.MATHML?yd(e):r===se.SVG&&(_b(e),xd(e)),jc(e),e.selfClosing?t._appendElement(e,r):t._insertElement(e,r),e.ackSelfClosing=!0}}function Lz(t,e){if(e.tagID===m.P||e.tagID===m.BR){iE(t),t._endTagOutsideForeignContent(e);return}for(let i=t.openElements.stackTop;i>0;i--){let r=t.openElements.items[i];if(t.treeAdapter.getNamespaceURI(r)===se.HTML){t._endTagOutsideForeignContent(e);break}let n=t.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,t.openElements.shortenToLength(i);break}}}var Iz=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),X0e=String.prototype.codePointAt!=null?(t,e)=>t.codePointAt(e):(t,e)=>(t.charCodeAt(e)&64512)===55296?(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function Db(t,e){return function(r){let n,o=0,s="";for(;n=t.exec(r);)o!==n.index&&(s+=r.substring(o,n.index)),s+=e.get(n[0].charCodeAt(0)),o=n.index+1;return s+r.substring(o)}}var R0e=Db(/[&<>'"]/g,Iz),Dz=Db(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Nz=Db(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var M0e=new Set([Z.AREA,Z.BASE,Z.BASEFONT,Z.BGSOUND,Z.BR,Z.COL,Z.EMBED,Z.FRAME,Z.HR,Z.IMG,Z.INPUT,Z.KEYGEN,Z.LINK,Z.META,Z.PARAM,Z.SOURCE,Z.TRACK,Z.WBR]);function rE(t,e){return Nn.parse(t,e)}function nE(t,e,i){typeof t=="string"&&(i=e,e=t,t=null);let r=Nn.getFragmentParser(t,i);return r.tokenizer.write(e,!0),r.getFragment()}var Mz=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),oE={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function _d(t,e){let i=Fz(t),r=Xa("type",{handlers:{root:Uz,element:zz,text:jz,comment:aE,doctype:qz,raw:Bz},unknown:Zz}),n={parser:i?new Nn(oE):Nn.getFragmentParser(void 0,oE),handle(a){r(a,n)},stitches:!1,options:e||{}};r(t,n),Ba(n,hr());let o=i?n.parser.document:n.parser.getFragment(),s=Ic(o,{file:n.options.file});return n.stitches&&mi(s,"comment",function(a,l,c){let u=a;if(u.value.stitch&&c&&l!==void 0){let f=c.children;return f[l]=u.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===t.type?s.children[0]:s}function sE(t,e){let i=-1;if(t)for(;++i<t.length;)e.handle(t[i])}function Uz(t,e){sE(t.children,e)}function zz(t,e){Vz(t,e),sE(t.children,e),Yz(t,e)}function jz(t,e){let i={type:In.TokenType.CHARACTER,chars:t.value,location:Kc(t)};Ba(e,hr(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function qz(t,e){let i={type:In.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Kc(t)};Ba(e,hr(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function Wz(t,e){e.stitches=!0;let i=Hz(t);if("children"in t&&"children"in i){let r=_d({type:"root",children:t.children},e.options);i.children=r.children}aE({type:"comment",value:{stitch:i}},e)}function aE(t,e){let i=t.value,r={type:In.TokenType.COMMENT,data:i,location:Kc(t)};Ba(e,hr(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function Bz(t,e){if(e.parser.tokenizer.preprocessor.html="",e.parser.tokenizer.preprocessor.pos=-1,e.parser.tokenizer.preprocessor.lastGapPos=-2,e.parser.tokenizer.preprocessor.gapStack=[],e.parser.tokenizer.preprocessor.skipNextNewLine=!1,e.parser.tokenizer.preprocessor.lastChunkWritten=!1,e.parser.tokenizer.preprocessor.endOfChunkHit=!1,e.parser.tokenizer.preprocessor.isEol=!1,lE(e,hr(t)),e.parser.tokenizer.write(t.value,!1),e.parser.tokenizer._runParsingLoop(),e.parser.tokenizer.state===72||e.parser.tokenizer.state===78){e.parser.tokenizer.preprocessor.lastChunkWritten=!0;let i=e.parser.tokenizer._consume();e.parser.tokenizer._callState(i)}}function Zz(t,e){let i=t;if(e.options.passThrough&&e.options.passThrough.includes(i.type))Wz(i,e);else{let r="";throw Mz.has(i.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+i.type+"` node"+r)}}function Ba(t,e){lE(t,e);let i=t.parser.tokenizer.currentCharacterToken;i&&i.location&&(i.location.endLine=t.parser.tokenizer.preprocessor.line,i.location.endCol=t.parser.tokenizer.preprocessor.col+1,i.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken)),t.parser.tokenizer.paused=!1,t.parser.tokenizer.inLoop=!1,t.parser.tokenizer.active=!1,t.parser.tokenizer.returnState=vt.DATA,t.parser.tokenizer.charRefCode=-1,t.parser.tokenizer.consumedAfterSnapshot=-1,t.parser.tokenizer.currentLocation=null,t.parser.tokenizer.currentCharacterToken=null,t.parser.tokenizer.currentToken=null,t.parser.tokenizer.currentAttr={name:"",value:""}}function lE(t,e){if(e&&e.offset!==void 0){let i={startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:-1,endCol:-1,endOffset:-1};t.parser.tokenizer.preprocessor.lineStartPos=-e.column+1,t.parser.tokenizer.preprocessor.droppedBufferSize=e.offset,t.parser.tokenizer.preprocessor.line=e.line,t.parser.tokenizer.currentLocation=i}}function Vz(t,e){if(e.parser.tokenizer.state===vt.PLAINTEXT)return;Ba(e,hr(t));let i=e.parser.openElements.current,r="namespaceURI"in i?i.namespaceURI:Di.html;r===Di.html&&t.tagName==="svg"&&(r=Di.svg);let n=bb(Ce(H({},t),{children:[]}),{space:r===Di.svg?"svg":"html"}),o="attrs"in n?n.attrs:[],s={type:In.TokenType.START_TAG,tagName:t.tagName,tagID:qa.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:o,location:Kc(t)};e.parser.currentToken=s,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=t.tagName}function Yz(t,e){if(!e.parser.tokenizer.inForeignNode&&ud.includes(t.tagName)||e.parser.tokenizer.state===vt.PLAINTEXT)return;Ba(e,ks(t));let i={type:In.TokenType.END_TAG,tagName:t.tagName,tagID:qa.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Kc(t)};e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken),i.tagName===e.parser.tokenizer.lastStartTagName&&(e.parser.tokenizer.state===vt.RCDATA||e.parser.tokenizer.state===vt.RAWTEXT||e.parser.tokenizer.state===vt.SCRIPT_DATA)&&(e.parser.tokenizer.state=vt.DATA)}function Fz(t){let e=t.type==="root"?t.children[0]:t;return!!(e&&(e.type==="doctype"||e.type==="element"&&e.tagName==="html"))}function Kc(t){let e=hr(t)||{line:void 0,column:void 0,offset:void 0},i=ks(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:i.line,endCol:i.column,endOffset:i.offset}}function Hz(t){return"children"in t?Ar(Ce(H({},t),{children:[]})):Ar(t)}function Qd(t){return function(e,i){return _d(e,Ce(H({},t),{file:i}))}}function Nb(t,e){return uE(t,e||{})||{type:"root",children:[]}}function uE(t,e){let i=Gz(t,e);return i&&e.afterTransform&&e.afterTransform(t,i),i}function Gz(t,e){switch(t.nodeType){case 1:return tj(t,e);case 3:return Jz(t);case 8:return ej(t);case 9:return cE(t,e);case 10:return Kz();case 11:return cE(t,e);default:return}}function cE(t,e){return{type:"root",children:fE(t,e)}}function Kz(){return{type:"doctype"}}function Jz(t){return{type:"text",value:t.nodeValue||""}}function ej(t){return{type:"comment",value:t.nodeValue||""}}function tj(t,e){let i=t.namespaceURI,r=i===Di.svg?Lc:Rc,n=i===Di.html?t.tagName.toLowerCase():t.tagName,o=i===Di.html&&n==="template"?t.content:t,s=t.getAttributeNames(),a={},l=-1;for(;++l<s.length;)a[s[l]]=t.getAttribute(s[l])||"";return r(n,a,fE(o,e))}function fE(t,e){let i=t.childNodes,r=[],n=-1;for(;++n<i.length;){let o=uE(i[n],e);o!==void 0&&r.push(o)}return r}var ij=new DOMParser;function hE(t,e){let i=e!=null&&e.fragment?rj(t):ij.parseFromString(t,"text/html");return Nb(i)}function rj(t){let e=document.createElement("template");return e.innerHTML=t,e.content}var Ad=function(t,e,i){let r=en(i);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(r(t.children[e],e,t))return t.children[e]};var Mn=function(t){if(t==null)return sj;if(typeof t=="string")return oj(t);if(typeof t=="object")return nj(t);if(typeof t=="function")return Mb(t);throw new Error("Expected function, string, or array as `test`")};function nj(t){let e=[],i=-1;for(;++i<t.length;)e[i]=Mn(t[i]);return Mb(r);function r(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function oj(t){return Mb(e);function e(i){return i.tagName===t}}function Mb(t){return e;function e(i,r,n){return!!(aj(i)&&t.call(this,i,typeof r=="number"?r:void 0,n||void 0))}}function sj(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function aj(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}var dE=/\n/g,pE=/[\t ]+/g,Ub=Mn("br"),OE=Mn(pj),lj=Mn("p"),mE=Mn("tr"),cj=Mn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",dj,Oj]),gE=Mn(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Jc(t,e){let i=e||{},r="children"in t?t.children:[],n=gE(t),o=xE(t,{whitespace:i.whitespace||"normal",breakBefore:!1,breakAfter:!1}),s=[];(t.type==="text"||t.type==="comment")&&s.push(...yE(t,{whitespace:o,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<r.length;)s.push(...bE(r[a],t,{whitespace:o,breakBefore:a?void 0:n,breakAfter:a<r.length-1?Ub(r[a+1]):n}));let l=[],c;for(a=-1;++a<s.length;){let u=s[a];typeof u=="number"?c!==void 0&&u>c&&(c=u):u&&(c!==void 0&&c>-1&&l.push(`
`.repeat(c)||" "),c=-1,l.push(u))}return l.join("")}function bE(t,e,i){return t.type==="element"?uj(t,e,i):t.type==="text"?i.whitespace==="normal"?yE(t,i):fj(t):[]}function uj(t,e,i){let r=xE(t,i),n=t.children||[],o=-1,s=[];if(cj(t))return s;let a,l;for(Ub(t)||mE(t)&&Ad(e,t,mE)?l=`
`:lj(t)?(a=2,l=2):gE(t)&&(a=1,l=1);++o<n.length;)s=s.concat(bE(n[o],t,{whitespace:r,breakBefore:o?void 0:a,breakAfter:o<n.length-1?Ub(n[o+1]):l}));return OE(t)&&Ad(e,t,OE)&&s.push(" "),a&&s.unshift(a),l&&s.push(l),s}function yE(t,e){let i=String(t.value),r=[],n=[],o=0;for(;o<=i.length;){dE.lastIndex=o;let l=dE.exec(i),c=l&&"index"in l?l.index:i.length;r.push(hj(i.slice(o,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),o===0?e.breakBefore:!0,c===i.length?e.breakAfter:!0)),o=c+1}let s=-1,a;for(;++s<r.length;)r[s].charCodeAt(r[s].length-1)===8203||s<r.length-1&&r[s+1].charCodeAt(0)===8203?(n.push(r[s]),a=void 0):r[s]?(typeof a=="number"&&n.push(a),n.push(r[s]),a=0):(s===0||s===r.length-1)&&n.push(0);return n}function fj(t){return[String(t.value)]}function hj(t,e,i){let r=[],n=0,o;for(;n<t.length;){pE.lastIndex=n;let s=pE.exec(t);o=s?s.index:t.length,!n&&!o&&s&&!e&&r.push(""),n!==o&&r.push(t.slice(n,o)),n=s?o+s[0].length:o}return n!==o&&!i&&r.push(""),r.join(" ")}function xE(t,e){if(t.type==="element"){let i=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return i.wrap?"pre-wrap":"pre";case"td":case"th":return i.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap";default:}}return e.whitespace}function dj(t){return!!(t.properties||{}).hidden}function pj(t){return t.tagName==="td"||t.tagName==="th"}function Oj(t){return t.tagName==="dialog"&&!(t.properties||{}).open}var mj={},gj=[];function $d(t){let e=t||mj;return function(i,r){xs(i,"element",function(n,o){let s=Array.isArray(n.properties.className)?n.properties.className:gj,a=s.includes("language-math"),l=s.includes("math-display"),c=s.includes("math-inline"),u=l;if(!a&&!l&&!c)return;let f=o[o.length-1],d=n;if(n.tagName==="code"&&a&&f&&f.type==="element"&&f.tagName==="pre"&&(d=f,f=o[o.length-2],u=!0),!f)return;let p=Jc(d,{whitespace:"pre"}),g;try{g=lg.renderToString(p,Ce(H({},e),{displayMode:u,throwOnError:!0}))}catch(v){let S=v,T=S.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...o,n],cause:S,place:n.position,ruleId:T,source:"rehype-katex"}),T==="parseerror"?g=lg.renderToString(p,Ce(H({},e),{displayMode:u,strict:"ignore",throwOnError:!1})):g=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(v)},children:[{type:"text",value:p}]}]}typeof g=="string"&&(g=hE(g,{fragment:!0}).children);let x=f.children.indexOf(d);return f.children.splice(x,1,...g),$a})}}var vE={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}};var bj="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",yj=/-[a-z]/g,xj=/%c(?:([-+])(\d+))?/g,vj=/%x/g,wj={2:!0,1:!1,0:null},kj={};function zb(t,e){let i=e||kj,r=i.onerror,n=t instanceof yo?t:new yo(t),o=i.fragment?nE:rE,s=String(n),a=o(s,{sourceCodeLocationInfo:!0,onParseError:i.onerror?l:null,scriptingEnabled:!1});return Ic(a,{file:n,space:i.space,verbose:i.verbose});function l(c){let u=c.code,f=Sj(u),d=i[f],p=d==null?!0:d,g=typeof p=="number"?p:p?1:0;if(g){let v=vE[f];let S=new Mt(x(v.reason),{place:{start:{line:c.startLine,column:c.startCol,offset:c.startOffset},end:{line:c.endLine,column:c.endCol,offset:c.endOffset}},ruleId:u,source:"hast-util-from-html"});n.path&&(S.file=n.path,S.name=n.path+":"+S.name),S.fatal=wj[g],S.note=x(v.description),S.url=v.url===!1?void 0:bj+u,r(S)}function x(v){return v.replace(xj,S).replace(vj,T);function S($,I,_){let A=(_?Number.parseInt(_,10):0)*(I==="-"?-1:1),q=s.charAt(c.startOffset+A);return Ej(q)}function T(){return Cj(s.charCodeAt(c.startOffset))}}}}function Sj(t){return t.replace(yj,Tj)}function Tj(t){return t.charAt(1).toUpperCase()}function Ej(t){return t==="`"?"` ` `":t}function Cj(t){return"0x"+t.toString(16).toUpperCase()}function Xd(t){let e=this,o=H(H({},e.data("settings")),t),{emitParseErrors:i}=o,r=pi(o,["emitParseErrors"]);e.parser=n;function n(s,a){return zb(s,Ce(H({},r),{onerror:i?function(l){a.path&&(l.name=a.path+":"+l.name,l.file=a.path),a.messages.push(l)}:void 0}))}}var Ps=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Lr={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Ps,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Ps],h2:[["id","footnote-label"],["className","sr-only"]],img:[...Ps,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Ps,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Ps],table:[...Ps],ul:[...Ps,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","disabled","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]};var Ro={}.hasOwnProperty;function jb(t,e){let i={type:"root",children:[]},r={schema:e?H(H({},Lr),e):Lr,stack:[]},n=kE(r,t);return n&&(Array.isArray(n)?n.length===1?i=n[0]:i.children=n:i=n),i}function kE(t,e){if(e&&typeof e=="object"){let i=e;switch(typeof i.type=="string"?i.type:""){case"comment":return Pj(t,i);case"doctype":return _j(t,i);case"element":return Qj(t,i);case"root":return Aj(t,i);case"text":return $j(t,i);default:}}}function Pj(t,e){if(t.schema.allowComments){let i=typeof e.value=="string"?e.value:"",r=i.indexOf("-->"),o={type:"comment",value:r<0?i:i.slice(0,r)};return eu(o,e),o}}function _j(t,e){if(t.schema.allowDoctypes){let i={type:"doctype"};return eu(i,e),i}}function Qj(t,e){let i=typeof e.tagName=="string"?e.tagName:"";t.stack.push(i);let r=SE(t,e.children),n=Xj(t,e.properties);t.stack.pop();let o=!1;if(i.length>0&&i!=="*"&&(!t.schema.tagNames||t.schema.tagNames.includes(i))&&(o=!0,t.schema.ancestors&&Ro.call(t.schema.ancestors,i))){let a=t.schema.ancestors[i],l=-1;for(o=!1;++l<a.length;)t.stack.includes(a[l])&&(o=!0)}if(!o)return t.schema.strip&&!t.schema.strip.includes(i)?r:void 0;let s={type:"element",tagName:i,properties:n,children:r};return eu(s,e),s}function Aj(t,e){let r={type:"root",children:SE(t,e.children)};return eu(r,e),r}function $j(t,e){let r={type:"text",value:typeof e.value=="string"?e.value:""};return eu(r,e),r}function SE(t,e){let i=[];if(Array.isArray(e)){let r=e,n=-1;for(;++n<r.length;){let o=kE(t,r[n]);o&&(Array.isArray(o)?i.push(...o):i.push(o))}}return i}function Xj(t,e){let i=t.stack[t.stack.length-1],r=t.schema.attributes,n=t.schema.required,o=r&&Ro.call(r,i)?r[i]:void 0,s=r&&Ro.call(r,"*")?r["*"]:void 0,a=e&&typeof e=="object"?e:{},l={},c;for(c in a)if(Ro.call(a,c)){let u;if(o&&(u=wE(o,c)),!u&&s&&(u=wE(s,c)),u){let f=a[c],d=Array.isArray(f)?Rj(t,u,c,f):TE(t,u,c,f);d!=null&&(l[c]=d)}}if(n&&Ro.call(n,i)){let u=n[i];for(c in u)Ro.call(u,c)&&!Ro.call(l,c)&&(l[c]=u[c])}return l}function Rj(t,e,i,r){let n=-1,o=[];for(;++n<r.length;){let s=TE(t,e,i,r[n]);(typeof s=="number"||typeof s=="string")&&o.push(s)}return o}function TE(t,e,i,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&Lj(t,i,r)){if(typeof e=="object"&&e.length>1){let n=!1,o=0;for(;++o<e.length;){let s=e[o];if(s&&typeof s=="object"&&"flags"in s){if(s.test(String(r))){n=!0;break}}else if(s===r){n=!0;break}}if(!n)return}return t.schema.clobber&&t.schema.clobberPrefix&&t.schema.clobber.includes(i)?t.schema.clobberPrefix+r:r}}function Lj(t,e,i){let r=t.schema.protocols&&Ro.call(t.schema.protocols,e)?t.schema.protocols[e]:void 0;if(!r||r.length===0)return!0;let n=String(i),o=n.indexOf(":"),s=n.indexOf("?"),a=n.indexOf("#"),l=n.indexOf("/");if(o<0||l>-1&&o>l||s>-1&&o>s||a>-1&&o>a)return!0;let c=-1;for(;++c<r.length;){let u=r[c];if(o===u.length&&n.slice(0,u.length)===u)return!0}return!1}function eu(t,e){let i=Pc(e);e.data&&(t.data=Ar(e.data)),i&&(t.position=i)}function wE(t,e){let i,r=-1;for(;++r<t.length;){let n=t[r],o=typeof n=="string"?n:n[0];if(o===e)return n;o==="data*"&&(i=n)}if(e.length>4&&e.slice(0,4).toLowerCase()==="data")return i}function Rd(t){return function(e){return jb(e,t)}}function EE(t,e){if(t=t.replace(e.subset?Ij(e.subset):/["&'<>`]/g,r),e.subset||e.escapeOnly)return t;return t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function i(n,o,s){return e.format((n.charCodeAt(0)-55296)*1024+n.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function r(n,o,s){return e.format(n.charCodeAt(0),s.charCodeAt(o+1),e)}}function Ij(t){let e=[],i=-1;for(;++i<t.length;)e.push(t[i].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}function CE(t,e,i){let r="&#x"+t.toString(16).toUpperCase();return i&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?r:r+";"}function PE(t,e,i){let r="&#"+String(t);return i&&e&&!/\d/.test(String.fromCharCode(e))?r:r+";"}var _E=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];var Ld={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"};var QE=["cent","copy","divide","gt","lt","not","para","times"];var AE={}.hasOwnProperty,qb={},Id;for(Id in Ld)AE.call(Ld,Id)&&(qb[Ld[Id]]=Id);function $E(t,e,i,r){let n=String.fromCharCode(t);if(AE.call(qb,n)){let o=qb[n],s="&"+o;return i&&_E.includes(o)&&!QE.includes(o)&&(!r||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?s:s+";"}return""}function XE(t,e,i){let r=CE(t,e,i.omitOptionalSemicolons),n;if((i.useNamedReferences||i.useShortestReferences)&&(n=$E(t,e,i.omitOptionalSemicolons,i.attribute)),(i.useShortestReferences||!n)&&i.useShortestReferences){let o=PE(t,e,i.omitOptionalSemicolons);o.length<r.length&&(r=o)}return n&&(!i.useShortestReferences||n.length<r.length)?n:r}function Un(t,e){return EE(t,Object.assign({format:XE},e))}function RE(t,e,i,r){return r.settings.bogusComments?"<?"+Un(t.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,n)+"-->";function n(o){return Un(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function LE(t,e,i,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}var Dj=/[ \t\n\f\r]/g;function _s(t){return typeof t=="object"?t.type==="text"?IE(t.value):!1:IE(t)}function IE(t){return t.replace(Dj,"")===""}var It=DE(1),Wb=DE(-1),Nj=[];function DE(t){return e;function e(i,r,n){let o=i?i.children:Nj,s=(r||0)+t,a=o[s];if(!n)for(;a&&_s(a);)s+=t,a=o[s];return a}}var Mj={}.hasOwnProperty;function Dd(t){return e;function e(i,r,n){return Mj.call(t,i.tagName)&&t[i.tagName](i,r,n)}}var tu=Dd({body:zj,caption:Bb,colgroup:Bb,dd:Bj,dt:Wj,head:Bb,html:Uj,li:qj,optgroup:Zj,option:Vj,p:jj,rp:NE,rt:NE,tbody:Fj,td:ME,tfoot:Hj,th:ME,thead:Yj,tr:Gj});function Bb(t,e,i){let r=It(i,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&_s(r.value.charAt(0)))}function Uj(t,e,i){let r=It(i,e);return!r||r.type!=="comment"}function zj(t,e,i){let r=It(i,e);return!r||r.type!=="comment"}function jj(t,e,i){let r=It(i,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!i||!(i.type==="element"&&(i.tagName==="a"||i.tagName==="audio"||i.tagName==="del"||i.tagName==="ins"||i.tagName==="map"||i.tagName==="noscript"||i.tagName==="video"))}function qj(t,e,i){let r=It(i,e);return!r||r.type==="element"&&r.tagName==="li"}function Wj(t,e,i){let r=It(i,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Bj(t,e,i){let r=It(i,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function NE(t,e,i){let r=It(i,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Zj(t,e,i){let r=It(i,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function Vj(t,e,i){let r=It(i,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Yj(t,e,i){let r=It(i,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Fj(t,e,i){let r=It(i,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Hj(t,e,i){return!It(i,e)}function Gj(t,e,i){let r=It(i,e);return!r||r.type==="element"&&r.tagName==="tr"}function ME(t,e,i){let r=It(i,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}var UE=Dd({body:eq,colgroup:tq,head:Jj,html:Kj,tbody:iq});function Kj(t){let e=It(t,-1);return!e||e.type!=="comment"}function Jj(t){let e=t.children,i=[],r=-1;for(;++r<e.length;){let n=e[r];if(n.type==="element"&&(n.tagName==="title"||n.tagName==="base")){if(i.includes(n.tagName))return!1;i.push(n.tagName)}}return e.length>0}function eq(t){let e=It(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&_s(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function tq(t,e,i){let r=Wb(i,e),n=It(t,-1,!0);return i&&r&&r.type==="element"&&r.tagName==="colgroup"&&tu(r,i.children.indexOf(r),i)?!1:!!(n&&n.type==="element"&&n.tagName==="col")}function iq(t,e,i){let r=Wb(i,e),n=It(t,-1);return i&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&tu(r,i.children.indexOf(r),i)?!1:!!(n&&n.type==="element"&&n.tagName==="tr")}var Nd={name:[[`
\f\r &/=>`.split(""),`
\f\r "&'/=>\``.split("")],[`\0
\f\r "&'/<=>`.split(""),`\0
\f\r "&'/<=>\``.split("")]],unquoted:[[`
\f\r &>`.split(""),`\0
\f\r "&'<=>\``.split("")],[`\0
\f\r "&'<=>\``.split(""),`\0
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function zE(t,e,i,r){let n=r.schema,o=n.space==="svg"?!1:r.settings.omitOptionalTags,s=n.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase()),a=[],l;n.space==="html"&&t.tagName==="svg"&&(r.schema=pr);let c=rq(r,t.properties),u=r.all(n.space==="html"&&t.tagName==="template"?t.content:t);return r.schema=n,u&&(s=!1),(c||!o||!UE(t,e,i))&&(a.push("<",t.tagName,c?" "+c:""),s&&(n.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!s&&(!o||!tu(t,e,i))&&a.push("</"+t.tagName+">"),a.join("")}function rq(t,e){let i=[],r=-1,n;if(e){for(n in e)if(e[n]!==null&&e[n]!==void 0){let o=nq(t,n,e[n]);o&&i.push(o)}}for(;++r<i.length;){let o=t.settings.tightAttributes?i[r].charAt(i[r].length-1):void 0;r!==i.length-1&&o!=='"'&&o!=="'"&&(i[r]+=" ")}return i.join("")}function nq(t,e,i){let r=Rn(t.schema,e),n=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,o=t.settings.allowDangerousCharacters?0:1,s=t.quote,a;if(r.overloadedBoolean&&(i===r.attribute||i==="")?i=!0:(r.boolean||r.overloadedBoolean&&typeof i!="string")&&(i=!!i),i==null||i===!1||typeof i=="number"&&Number.isNaN(i))return"";let l=Un(r.attribute,Object.assign({},t.settings.characterReferences,{subset:Nd.name[n][o]}));return i===!0||(i=Array.isArray(i)?(r.commaSeparated?ad:ld)(i,{padLeft:!t.settings.tightCommaSeparatedLists}):String(i),t.settings.collapseEmptyAttributes&&!i)?l:(t.settings.preferUnquoted&&(a=Un(i,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:Nd.unquoted[n][o]}))),a!==i&&(t.settings.quoteSmart&&Aa(i,s)>Aa(i,t.alternative)&&(s=t.alternative),a=s+Un(i,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?Nd.single:Nd.double)[n][o],attribute:!0}))+s),l+(a&&"="+a))}function Md(t,e,i,r){return i&&i.type==="element"&&(i.tagName==="script"||i.tagName==="style")?t.value:Un(t.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function jE(t,e,i,r){return r.settings.allowDangerousHtml?t.value:Md(t,e,i,r)}function qE(t,e,i,r){return r.all(t)}var WE=Xa("type",{invalid:oq,unknown:sq,handlers:{comment:RE,doctype:LE,element:zE,raw:jE,root:qE,text:Md}});function oq(t){throw new Error("Expected node, not `"+t+"`")}function sq(t){let e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}var aq={},lq={},cq=[];function Zb(t,e){let i=e||aq,r=i.quote||'"',n=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:uq,all:fq,settings:{omitOptionalTags:i.omitOptionalTags||!1,allowParseErrors:i.allowParseErrors||!1,allowDangerousCharacters:i.allowDangerousCharacters||!1,quoteSmart:i.quoteSmart||!1,preferUnquoted:i.preferUnquoted||!1,tightAttributes:i.tightAttributes||!1,upperDoctype:i.upperDoctype||!1,tightDoctype:i.tightDoctype||!1,bogusComments:i.bogusComments||!1,tightCommaSeparatedLists:i.tightCommaSeparatedLists||!1,tightSelfClosing:i.tightSelfClosing||!1,collapseEmptyAttributes:i.collapseEmptyAttributes||!1,allowDangerousHtml:i.allowDangerousHtml||!1,voids:i.voids||ud,characterReferences:i.characterReferences||lq,closeSelfClosing:i.closeSelfClosing||!1,closeEmptyElements:i.closeEmptyElements||!1},schema:i.space==="svg"?pr:Ln,quote:r,alternative:n}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function uq(t,e,i){return WE(t,e,i,this)}function fq(t){let e=[],i=t&&t.children||cq,r=-1;for(;++r<i.length;)e[r]=this.one(i[r],r,t);return e.join("")}function Ud(t){let e=this,i=H(H({},e.data("settings")),t);e.compiler=r;function r(n){return Zb(n,i)}}var hq={inline:["$","$"],display:["$$","$$"]};function dq(t,e){e===void 0&&(e=hq);for(var i=t.querySelectorAll(".katex-mathml + .katex-html"),r=0;r<i.length;r++){var n=i[r];n.remove?n.remove():n.parentNode&&n.parentNode.removeChild(n)}for(var o=t.querySelectorAll(".katex-mathml"),s=0;s<o.length;s++){var a=o[s],l=a.querySelector("annotation");l&&(a.replaceWith?a.replaceWith(l):a.parentNode&&a.parentNode.replaceChild(l,a),l.innerHTML=e.inline[0]+l.innerHTML+e.inline[1])}for(var c=t.querySelectorAll(".katex-display annotation"),u=0;u<c.length;u++){var f=c[u];f.innerHTML=e.display[0]+f.innerHTML.substr(e.inline[0].length,f.innerHTML.length-e.inline[0].length-e.inline[1].length)+e.display[1]}return t}function BE(t){var e=t instanceof Element?t:t.parentElement;return e&&e.closest(".katex")}document.addEventListener("copy",function(t){var e=window.getSelection();if(!(e.isCollapsed||!t.clipboardData)){var i=t.clipboardData,r=e.getRangeAt(0),n=BE(r.startContainer);n&&r.setStartBefore(n);var o=BE(r.endContainer);o&&r.setEndAfter(o);var s=r.cloneContents();if(s.querySelector(".katex-mathml")){var a=Array.prototype.map.call(s.childNodes,l=>l instanceof Text?l.textContent:l.outerHTML).join("");i.setData("text/html",a),i.setData("text/plain",dq(s).textContent),t.preventDefault()}}});function Vb(t,e){let r=(e||{}).force||!1;mi(t,n);function n(o){r?delete o.position:o.position=void 0}}var pq=0,Ni=class{constructor(e,i){this.from=e,this.to=i}},Qe=class{constructor(e={}){this.id=pq++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Et.match(e)),i=>{let r=e(i);return r===void 0?null:[this,r]}}};Qe.closedBy=new Qe({deserialize:t=>t.split(" ")});Qe.openedBy=new Qe({deserialize:t=>t.split(" ")});Qe.group=new Qe({deserialize:t=>t.split(" ")});Qe.isolate=new Qe({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});Qe.contextHash=new Qe({perNode:!0});Qe.lookAhead=new Qe({perNode:!0});Qe.mounted=new Qe({perNode:!0});var Qs=class{constructor(e,i,r){this.tree=e,this.overlay=i,this.parser=r}static get(e){return e&&e.props&&e.props[Qe.mounted.id]}},Oq=Object.create(null),Et=class t{constructor(e,i,r,n=0){this.name=e,this.props=i,this.id=r,this.flags=n}static define(e){let i=e.props&&e.props.length?Object.create(null):Oq,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),n=new t(e.name||"",i,e.id,r);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(n)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[o[0].id]=o[1]}}return n}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(Qe.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let r in e)for(let n of r.split(" "))i[n]=e[r];return r=>{for(let n=r.prop(Qe.group),o=-1;o<(n?n.length:0);o++){let s=i[o<0?r.name:n[o]];if(s)return s}}}};Et.none=new Et("",Object.create(null),0,8);var zn=class t{constructor(e){this.types=e;for(let i=0;i<e.length;i++)if(e[i].id!=i)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let i=[];for(let r of this.types){let n=null;for(let o of e){let s=o(r);s&&(n||(n=Object.assign({},r.props)),n[s[0].id]=s[1])}i.push(n?new Et(r.name,n,r.id,r.flags):r)}return new t(i)}},zd=new WeakMap,ZE=new WeakMap,st;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(st||(st={}));var qe=class t{constructor(e,i,r,n,o){if(this.type=e,this.children=i,this.positions=r,this.length=n,this.props=null,o&&o.length){this.props=Object.create(null);for(let[s,a]of o)this.props[typeof s=="number"?s:s.id]=a}}toString(){let e=Qs.get(this);if(e&&!e.overlay)return e.tree.toString();let i="";for(let r of this.children){let n=r.toString();n&&(i&&(i+=","),i+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(i.length?"("+i+")":""):i}cursor(e=0){return new Za(this.topNode,e)}cursorAt(e,i=0,r=0){let n=zd.get(this)||this.topNode,o=new Za(n);return o.moveTo(e,i),zd.set(this,o._tree),o}get topNode(){return new Mi(this,0,0,null)}resolve(e,i=0){let r=iu(zd.get(this)||this.topNode,e,i,!1);return zd.set(this,r),r}resolveInner(e,i=0){let r=iu(ZE.get(this)||this.topNode,e,i,!0);return ZE.set(this,r),r}resolveStack(e,i=0){return mq(this,e,i)}iterate(e){let{enter:i,leave:r,from:n=0,to:o=this.length}=e,s=e.mode||0,a=(s&st.IncludeAnonymous)>0;for(let l=this.cursor(s|st.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=n&&(!a&&l.type.isAnonymous||i(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(a||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:n1(Et.none,this.children,this.positions,0,this.children.length,0,this.length,(i,r,n)=>new t(this.type,i,r,n,this.propValues),e.makeTree||((i,r,n)=>new t(Et.none,i,r,n)))}static build(e){return gq(e)}};qe.empty=new qe(Et.none,[],[],0);var Yb=class t{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new t(this.buffer,this.index)}},Lo=class t{constructor(e,i,r){this.buffer=e,this.length=i,this.set=r}get type(){return Et.none}toString(){let e=[];for(let i=0;i<this.buffer.length;)e.push(this.childString(i)),i=this.buffer[i+3];return e.join(",")}childString(e){let i=this.buffer[e],r=this.buffer[e+3],n=this.set.types[i],o=n.name;if(/\W/.test(o)&&!n.isError&&(o=JSON.stringify(o)),e+=4,r==e)return o;let s=[];for(;e<r;)s.push(this.childString(e)),e=this.buffer[e+3];return o+"("+s.join(",")+")"}findChild(e,i,r,n,o){let{buffer:s}=this,a=-1;for(let l=e;l!=i&&!(JE(o,n,s[l+1],s[l+2])&&(a=l,r>0));l=s[l+3]);return a}slice(e,i,r){let n=this.buffer,o=new Uint16Array(i-e),s=0;for(let a=e,l=0;a<i;){o[l++]=n[a++],o[l++]=n[a++]-r;let c=o[l++]=n[a++]-r;o[l++]=n[a++]-e,s=Math.max(s,c)}return new t(o,s,this.set)}};function JE(t,e,i,r){switch(t){case-2:return i<e;case-1:return r>=e&&i<e;case 0:return i<e&&r>e;case 1:return i<=e&&r>e;case 2:return r>e;case 4:return!0}}function iu(t,e,i,r){for(var n;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to<e);){let s=!r&&t instanceof Mi&&t.index<0?null:t.parent;if(!s)return t;t=s}let o=r?0:st.IgnoreOverlays;if(r)for(let s=t,a=s.parent;a;s=a,a=s.parent)s instanceof Mi&&s.index<0&&((n=a.enter(e,i,o))===null||n===void 0?void 0:n.from)!=s.from&&(t=a);for(;;){let s=t.enter(e,i,o);if(!s)return t;t=s}}var qd=class{cursor(e=0){return new Za(this,e)}getChild(e,i=null,r=null){let n=VE(this,e,i,r);return n.length?n[0]:null}getChildren(e,i=null,r=null){return VE(this,e,i,r)}resolve(e,i=0){return iu(this,e,i,!1)}resolveInner(e,i=0){return iu(this,e,i,!0)}matchContext(e){return Fb(this,e)}enterUnfinishedNodesBefore(e){let i=this.childBefore(e),r=this;for(;i;){let n=i.lastChild;if(!n||n.to!=i.to)break;n.type.isError&&n.from==n.to?(r=i,i=n.prevSibling):i=n}return r}get node(){return this}get next(){return this.parent}},Mi=class t extends qd{constructor(e,i,r,n){super(),this._tree=e,this.from=i,this.index=r,this._parent=n}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,i,r,n,o=0){for(let s=this;;){for(let{children:a,positions:l}=s._tree,c=i>0?a.length:-1;e!=c;e+=i){let u=a[e],f=l[e]+s.from;if(JE(n,r,f,f+u.length)){if(u instanceof Lo){if(o&st.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,i,r-f,n);if(d>-1)return new As(new Hb(s,u,e,f),null,d)}else if(o&st.IncludeAnonymous||!u.type.isAnonymous||r1(u)){let d;if(!(o&st.IgnoreMounts)&&(d=Qs.get(u))&&!d.overlay)return new t(d.tree,f,e,s);let p=new t(u,f,e,s);return o&st.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(i<0?u.children.length-1:0,i,r,n)}}}if(o&st.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+i:e=i<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,r=0){let n;if(!(r&st.IgnoreOverlays)&&(n=Qs.get(this._tree))&&n.overlay){let o=e-this.from;for(let{from:s,to:a}of n.overlay)if((i>0?s<=o:s<o)&&(i<0?a>=o:a>o))return new t(n.tree,n.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}};function VE(t,e,i,r){let n=t.cursor(),o=[];if(!n.firstChild())return o;if(i!=null){for(let s=!1;!s;)if(s=n.type.is(i),!n.nextSibling())return o}for(;;){if(r!=null&&n.type.is(r))return o;if(n.type.is(e)&&o.push(n.node),!n.nextSibling())return r==null?o:[]}}function Fb(t,e,i=e.length-1){for(let r=t.parent;i>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[i]&&e[i]!=r.name)return!1;i--}}return!0}var Hb=class{constructor(e,i,r,n){this.parent=e,this.buffer=i,this.index=r,this.start=n}},As=class t extends qd{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,r){super(),this.context=e,this._parent=i,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,i,r){let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],e,i-this.context.start,r);return o<0?null:new t(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,r=0){if(r&st.ExcludeBuffers)return null;let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return o<0?null:new t(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new t(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new t(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:r}=this.context,n=this.index+4,o=r.buffer[this.index+3];if(o>n){let s=r.buffer[this.index+1];e.push(r.slice(n,o,s)),i.push(0)}return new qe(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};function e5(t){if(!t.length)return null;let e=0,i=t[0];for(let o=1;o<t.length;o++){let s=t[o];(s.from>i.from||s.to<i.to)&&(i=s,e=o)}let r=i instanceof Mi&&i.index<0?null:i.parent,n=t.slice();return r?n[e]=r:n.splice(e,1),new Gb(n,i)}var Gb=class{constructor(e,i){this.heads=e,this.node=i}get next(){return e5(this.heads)}};function mq(t,e,i){let r=t.resolveInner(e,i),n=null;for(let o=r instanceof Mi?r:r.context.parent;o;o=o.parent)if(o.index<0){let s=o.parent;(n||(n=[r])).push(s.resolve(e,i)),o=s}else{let s=Qs.get(o.tree);if(s&&s.overlay&&s.overlay[0].from<=e&&s.overlay[s.overlay.length-1].to>=e){let a=new Mi(s.tree,s.overlay[0].from+o.from,-1,o);(n||(n=[r])).push(iu(a,e,i,!1))}}return n?e5(n):r}var Za=class{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Mi)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:r,buffer:n}=this.buffer;return this.type=i||n.set.types[n.buffer[e]],this.from=r+n.buffer[e+1],this.to=r+n.buffer[e+2],!0}yield(e){return e?e instanceof Mi?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,r,this.mode));let{buffer:n}=this.buffer,o=n.findChild(this.index+4,n.buffer[this.index+3],e,i-this.buffer.start,r);return o<0?!1:(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,r=this.mode){return this.buffer?r&st.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&st.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&st.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,r=this.stack.length-1;if(e<0){let n=r<0?0:this.stack[r]+4;if(this.index!=n)return this.yieldBuf(i.findChild(n,this.index,-1,0,4))}else{let n=i.buffer[this.index+3];if(n<(r<0?i.buffer.length:i.buffer[this.stack[r]+3]))return this.yieldBuf(n)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,r,{buffer:n}=this;if(n){if(e>0){if(this.index<n.buffer.buffer.length)return!1}else for(let o=0;o<this.index;o++)if(n.buffer.buffer[o+3]<this.index)return!1;({index:i,parent:r}=n)}else({index:i,_parent:r}=this._tree);for(;r;{index:i,_parent:r}=r)if(i>-1)for(let o=i+e,s=e<0?-1:r._tree.children.length;o!=s;o+=e){let a=r._tree.children[o];if(this.mode&st.IncludeAnonymous||a instanceof Lo||!a.type.isAnonymous||r1(a))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,i););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,i=null,r=0;if(e&&e.context==this.buffer)e:for(let n=this.index,o=this.stack.length;o>=0;){for(let s=e;s;s=s._parent)if(s.index==n){if(n==this.index)return s;i=s,r=o+1;break e}n=this.stack[--o]}for(let n=r;n<this.stack.length;n++)i=new As(this.buffer,i,this.stack[n]);return this.bufferNode=new As(this.buffer,i,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,i){for(let r=0;;){let n=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(n=!0)}for(;n&&i&&i(this),n=this.type.isAnonymous,!this.nextSibling();){if(!r)return;this.parent(),r--,n=!0}}}matchContext(e){if(!this.buffer)return Fb(this.node,e);let{buffer:i}=this.buffer,{types:r}=i.set;for(let n=e.length-1,o=this.stack.length-1;n>=0;o--){if(o<0)return Fb(this.node,e,n);let s=r[i.buffer[this.stack[o]]];if(!s.isAnonymous){if(e[n]&&e[n]!=s.name)return!1;n--}}return!0}};function r1(t){return t.children.some(e=>e instanceof Lo||!e.type.isAnonymous||r1(e))}function gq(t){var e;let{buffer:i,nodeSet:r,maxBufferLength:n=1024,reused:o=[],minRepeatType:s=r.types.length}=t,a=Array.isArray(i)?new Yb(i,i.length):i,l=r.types,c=0,u=0;function f(_,A,q,le,F,U){let{id:ie,start:ue,end:re,size:he}=a,me=u;for(;he<0;)if(a.next(),he==-1){let E=o[ie];q.push(E),le.push(ue-_);return}else if(he==-3){c=ie;return}else if(he==-4){u=ie;return}else throw new RangeError(`Unrecognized record size: ${he}`);let ve=l[ie],j,ae,V=ue-_;if(re-ue<=n&&(ae=v(a.pos-A,F))){let E=new Uint16Array(ae.size-ae.skip),B=a.pos-ae.size,ne=E.length;for(;a.pos>B;)ne=S(ae.start,E,ne);j=new Lo(E,re-ae.start,r),V=ae.start-_}else{let E=a.pos-he;a.next();let B=[],ne=[],D=ie>=s?ie:-1,Ue=0,Ze=re;for(;a.pos>E;)D>=0&&a.id==D&&a.size>=0?(a.end<=Ze-n&&(g(B,ne,ue,Ue,a.end,Ze,D,me),Ue=B.length,Ze=a.end),a.next()):U>2500?d(ue,E,B,ne):f(ue,E,B,ne,D,U+1);if(D>=0&&Ue>0&&Ue<B.length&&g(B,ne,ue,Ue,ue,Ze,D,me),B.reverse(),ne.reverse(),D>-1&&Ue>0){let Ve=p(ve);j=n1(ve,B,ne,0,B.length,0,re-ue,Ve,Ve)}else j=x(ve,B,ne,re-ue,me-re)}q.push(j),le.push(V)}function d(_,A,q,le){let F=[],U=0,ie=-1;for(;a.pos>A;){let{id:ue,start:re,end:he,size:me}=a;if(me>4)a.next();else{if(ie>-1&&re<ie)break;ie<0&&(ie=he-n),F.push(ue,re,he),U++,a.next()}}if(U){let ue=new Uint16Array(U*4),re=F[F.length-2];for(let he=F.length-3,me=0;he>=0;he-=3)ue[me++]=F[he],ue[me++]=F[he+1]-re,ue[me++]=F[he+2]-re,ue[me++]=me;q.push(new Lo(ue,F[2]-re,r)),le.push(re-_)}}function p(_){return(A,q,le)=>{let F=0,U=A.length-1,ie,ue;if(U>=0&&(ie=A[U])instanceof qe){if(!U&&ie.type==_&&ie.length==le)return ie;(ue=ie.prop(Qe.lookAhead))&&(F=q[U]+ie.length+ue)}return x(_,A,q,le,F)}}function g(_,A,q,le,F,U,ie,ue){let re=[],he=[];for(;_.length>le;)re.push(_.pop()),he.push(A.pop()+q-F);_.push(x(r.types[ie],re,he,U-F,ue-U)),A.push(F-q)}function x(_,A,q,le,F=0,U){if(c){let ie=[Qe.contextHash,c];U=U?[ie].concat(U):[ie]}if(F>25){let ie=[Qe.lookAhead,F];U=U?[ie].concat(U):[ie]}return new qe(_,A,q,le,U)}function v(_,A){let q=a.fork(),le=0,F=0,U=0,ie=q.end-n,ue={size:0,start:0,skip:0};e:for(let re=q.pos-_;q.pos>re;){let he=q.size;if(q.id==A&&he>=0){ue.size=le,ue.start=F,ue.skip=U,U+=4,le+=4,q.next();continue}let me=q.pos-he;if(he<0||me<re||q.start<ie)break;let ve=q.id>=s?4:0,j=q.start;for(q.next();q.pos>me;){if(q.size<0)if(q.size==-3)ve+=4;else break e;else q.id>=s&&(ve+=4);q.next()}F=j,le+=he,U+=ve}return(A<0||le==_)&&(ue.size=le,ue.start=F,ue.skip=U),ue.size>4?ue:void 0}function S(_,A,q){let{id:le,start:F,end:U,size:ie}=a;if(a.next(),ie>=0&&le<s){let ue=q;if(ie>4){let re=a.pos-(ie-4);for(;a.pos>re;)q=S(_,A,q)}A[--q]=ue,A[--q]=U-_,A[--q]=F-_,A[--q]=le}else ie==-3?c=le:ie==-4&&(u=le);return q}let T=[],$=[];for(;a.pos>0;)f(t.start||0,t.bufferStart||0,T,$,-1,0);let I=(e=t.length)!==null&&e!==void 0?e:T.length?$[0]+T[0].length:0;return new qe(l[t.topID],T.reverse(),$.reverse(),I)}var YE=new WeakMap;function jd(t,e){if(!t.isAnonymous||e instanceof Lo||e.type!=t)return 1;let i=YE.get(e);if(i==null){i=1;for(let r of e.children){if(r.type!=t||!(r instanceof qe)){i=1;break}i+=jd(t,r)}YE.set(e,i)}return i}function n1(t,e,i,r,n,o,s,a,l){let c=0;for(let g=r;g<n;g++)c+=jd(t,e[g]);let u=Math.ceil(c*1.5/8),f=[],d=[];function p(g,x,v,S,T){for(let $=v;$<S;){let I=$,_=x[$],A=jd(t,g[$]);for($++;$<S;$++){let q=jd(t,g[$]);if(A+q>=u)break;A+=q}if($==I+1){if(A>u){let q=g[I];p(q.children,q.positions,0,q.children.length,x[I]+T);continue}f.push(g[I])}else{let q=x[$-1]+g[$-1].length-_;f.push(n1(t,g,x,I,$,_,q,null,l))}d.push(_+T-o)}}return p(e,i,r,n,0),(a||l)(f,d,s)}var Va=class{constructor(){this.map=new WeakMap}setBuffer(e,i,r){let n=this.map.get(e);n||this.map.set(e,n=new Map),n.set(i,r)}getBuffer(e,i){let r=this.map.get(e);return r&&r.get(i)}set(e,i){e instanceof As?this.setBuffer(e.context.buffer,e.index,i):e instanceof Mi&&this.map.set(e.tree,i)}get(e){return e instanceof As?this.getBuffer(e.context.buffer,e.index):e instanceof Mi?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},jn=class t{constructor(e,i,r,n,o=!1,s=!1){this.from=e,this.to=i,this.tree=r,this.offset=n,this.open=(o?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],r=!1){let n=[new t(0,e.length,e,0,!1,r)];for(let o of i)o.to>e.length&&n.push(o);return n}static applyChanges(e,i,r=128){if(!i.length)return e;let n=[],o=1,s=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a<i.length?i[a]:null,f=u?u.fromA:1e9;if(f-l>=r)for(;s&&s.from<f;){let d=s;if(l>=d.from||f<=d.to||c){let p=Math.max(d.from,l)-c,g=Math.min(d.to,f)-c;d=p>=g?null:new t(p,g,d.tree,d.offset+c,a>0,!!u)}if(d&&n.push(d),s.to>f)break;s=o<e.length?e[o++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return n}},qn=class{startParse(e,i,r){return typeof e=="string"&&(e=new Kb(e)),r=r?r.length?r.map(n=>new Ni(n.from,n.to)):[new Ni(0,0)]:[new Ni(0,e.length)],this.createParse(e,i||[],r)}parse(e,i,r){let n=this.startParse(e,i,r);for(;;){let o=n.advance();if(o)return o}}},Kb=class{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}};function ru(t){return(e,i,r,n)=>new t1(e,t,i,r,n)}var Wd=class{constructor(e,i,r,n,o){this.parser=e,this.parse=i,this.overlay=r,this.target=n,this.from=o}};function FE(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}var Jb=class{constructor(e,i,r,n,o,s,a){this.parser=e,this.predicate=i,this.mounts=r,this.index=n,this.start=o,this.target=s,this.prev=a,this.depth=0,this.ranges=[]}},e1=new Qe({perNode:!0}),t1=class{constructor(e,i,r,n,o){this.nest=i,this.input=r,this.fragments=n,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let n of this.inner)n.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new qe(r.type,r.children,r.positions,r.length,r.propValues.concat([[e1,this.stoppedAt]]))),r}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[Qe.mounted.id]=new Qs(i,e.overlay,e.parser),e.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i<this.inner.length;i++)this.inner[i].from<e&&(e=Math.min(e,this.inner[i].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let i=this.innerDone;i<this.inner.length;i++)this.inner[i].parse.stopAt(e)}startInner(){let e=new i1(this.fragments),i=null,r=null,n=new Za(new Mi(this.baseTree,this.ranges[0].from,0,null),st.IncludeAnonymous|st.IgnoreMounts);e:for(let o,s;;){let a=!0,l;if(this.stoppedAt!=null&&n.from>=this.stoppedAt)a=!1;else if(e.hasNode(n)){if(i){let c=i.mounts.find(u=>u.frag.from<=n.from&&u.frag.to>=n.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let f=u.from+c.pos,d=u.to+c.pos;f>=n.from&&d<=n.to&&!i.ranges.some(p=>p.from<d&&p.to>f)&&i.ranges.push({from:f,to:d})}}a=!1}else if(r&&(s=bq(r.ranges,n.from,n.to)))a=s!=2;else if(!n.type.isAnonymous&&(o=this.nest(n,this.input))&&(n.from<n.to||!o.overlay)){n.tree||yq(n);let c=e.findMounts(n.from,o.parser);if(typeof o.overlay=="function")i=new Jb(o.parser,o.overlay,c,this.inner.length,n.from,n.tree,i);else{let u=GE(this.ranges,o.overlay||(n.from<n.to?[new Ni(n.from,n.to)]:[]));u.length&&FE(u),(u.length||!o.overlay)&&this.inner.push(new Wd(o.parser,u.length?o.parser.startParse(this.input,KE(c,u),u):o.parser.startParse(""),o.overlay?o.overlay.map(f=>new Ni(f.from-n.from,f.to-n.from)):null,n.tree,u.length?u[0].from:n.from)),o.overlay?u.length&&(r={ranges:u,depth:0,prev:r}):a=!1}}else i&&(l=i.predicate(n))&&(l===!0&&(l=new Ni(n.from,n.to)),l.from<l.to&&i.ranges.push(l));if(a&&n.firstChild())i&&i.depth++,r&&r.depth++;else for(;!n.nextSibling();){if(!n.parent())break e;if(i&&!--i.depth){let c=GE(this.ranges,i.ranges);c.length&&(FE(c),this.inner.splice(i.index,0,new Wd(i.parser,i.parser.startParse(this.input,KE(i.mounts,c),c),i.ranges.map(u=>new Ni(u.from-i.start,u.to-i.start)),i.target,c[0].from))),i=i.prev}r&&!--r.depth&&(r=r.prev)}}}};function bq(t,e,i){for(let r of t){if(r.from>=i)break;if(r.to>e)return r.from<=e&&r.to>=i?2:1}return 0}function HE(t,e,i,r,n,o){if(e<i){let s=t.buffer[e+1];r.push(t.slice(e,i,s)),n.push(s-o)}}function yq(t){let{node:e}=t,i=[],r=e.context.buffer;do i.push(t.index),t.parent();while(!t.tree);let n=t.tree,o=n.children.indexOf(r),s=n.children[o],a=s.buffer,l=[o];function c(u,f,d,p,g,x){let v=i[x],S=[],T=[];HE(s,u,v,S,T,p);let $=a[v+1],I=a[v+2];l.push(S.length);let _=x?c(v+4,a[v+3],s.set.types[a[v]],$,I-$,x-1):e.toTree();return S.push(_),T.push($-p),HE(s,a[v+3],f,S,T,p),new qe(d,S,T,g)}n.children[o]=c(0,a.length,Et.none,0,s.length,i.length-1);for(let u of l){let f=t.tree.children[u],d=t.tree.positions[u];t.yield(new Mi(f,d+t.from,u,t._tree))}}var Bd=class{constructor(e,i){this.offset=i,this.done=!1,this.cursor=e.cursor(st.IncludeAnonymous|st.IgnoreMounts)}moveTo(e){let{cursor:i}=this,r=e-this.offset;for(;!this.done&&i.from<r;)i.to>=e&&i.enter(r,1,st.IgnoreOverlays|st.ExcludeBuffers)||i.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof qe)i=i.children[0];else break}return!1}},i1=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let r=this.curFrag=e[0];this.curTo=(i=r.tree.prop(e1))!==null&&i!==void 0?i:r.to,this.inner=new Bd(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(e1))!==null&&e!==void 0?e:i.to,this.inner=new Bd(i.tree,-i.offset)}}findMounts(e,i){var r;let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let o=this.inner.cursor.node;o;o=o.parent){let s=(r=o.tree)===null||r===void 0?void 0:r.prop(Qe.mounted);if(s&&s.parser==i)for(let a=this.fragI;a<this.fragments.length;a++){let l=this.fragments[a];if(l.from>=o.to)break;l.tree==this.curFrag.tree&&n.push({frag:l,pos:o.from-l.offset,mount:s})}}}return n}};function GE(t,e){let i=null,r=e;for(let n=1,o=0;n<t.length;n++){let s=t[n-1].to,a=t[n].from;for(;o<r.length;o++){let l=r[o];if(l.from>=a)break;l.to<=s||(i||(r=i=e.slice()),l.from<s?(i[o]=new Ni(l.from,s),l.to>a&&i.splice(o+1,0,new Ni(a,l.to))):l.to>a?i[o--]=new Ni(a,l.to):i.splice(o--,1))}}return r}function xq(t,e,i,r){let n=0,o=0,s=!1,a=!1,l=-1e9,c=[];for(;;){let u=n==t.length?1e9:s?t[n].to:t[n].from,f=o==e.length?1e9:a?e[o].to:e[o].from;if(s!=a){let d=Math.max(l,i),p=Math.min(u,f,r);d<p&&c.push(new Ni(d,p))}if(l=Math.min(u,f),l==1e9)break;u==l&&(s?(s=!1,n++):s=!0),f==l&&(a?(a=!1,o++):a=!0)}return c}function KE(t,e){let i=[];for(let{pos:r,mount:n,frag:o}of t){let s=r+(n.overlay?n.overlay[0].from:0),a=s+n.tree.length,l=Math.max(o.from,s),c=Math.min(o.to,a);if(n.overlay){let u=n.overlay.map(d=>new Ni(d.from+r,d.to+r)),f=xq(e,u,l,c);for(let d=0,p=l;;d++){let g=d==f.length,x=g?c:f[d].from;if(x>p&&i.push(new jn(p,x,n.tree,-s,o.from>=p||o.openStart,o.to<=x||o.openEnd)),g)break;p=f[d].to}}else i.push(new jn(l,c,n.tree,-s,o.from>=s||o.openStart,o.to<=a||o.openEnd))}return i}var Ge=class t{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,r){[e,i]=Ja(this,e,i);let n=[];return this.decompose(0,e,n,2),r.length&&r.decompose(0,r.length,n,3),this.decompose(i,this.length,n,1),Fa.from(n,this.length-(i-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=Ja(this,e,i);let r=[];return this.decompose(e,i,r,0),Fa.from(r,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),n=new Rs(this),o=new Rs(e);for(let s=i,a=i;;){if(n.next(s),o.next(s),s=0,n.lineBreak!=o.lineBreak||n.done!=o.done||n.value!=o.value)return!1;if(a+=n.value.length,n.done||a>=r)return!0}}iter(e=1){return new Rs(this,e)}iterRange(e,i=this.length){return new Fd(this,e,i)}iterLines(e,i){let r;if(e==null)r=this.iter();else{i==null&&(i=this.lines+1);let n=this.line(e).from;r=this.iterRange(n,Math.max(n,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new Hd(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?t.empty:e.length<=32?new Gi(e):Fa.from(Gi.split(e,[]))}},Gi=class t extends Ge{constructor(e,i=vq(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,r,n){for(let o=0;;o++){let s=this.text[o],a=n+s.length;if((i?r:a)>=e)return new s1(n,a,r,s);n=a+1,r++}}decompose(e,i,r,n){let o=e<=0&&i>=this.length?this:new t(t5(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(n&1){let s=r.pop(),a=Yd(o.text,s.text.slice(),0,o.length);if(a.length<=32)r.push(new t(a,s.length+o.length));else{let l=a.length>>1;r.push(new t(a.slice(0,l)),new t(a.slice(l)))}}else r.push(o)}replace(e,i,r){if(!(r instanceof t))return super.replace(e,i,r);[e,i]=Ja(this,e,i);let n=Yd(this.text,Yd(r.text,t5(this.text,0,e)),i),o=this.length+r.length-(i-e);return n.length<=32?new t(n,o):Fa.from(t.split(n,[]),o)}sliceString(e,i=this.length,r=`
`){[e,i]=Ja(this,e,i);let n="";for(let o=0,s=0;o<=i&&s<this.text.length;s++){let a=this.text[s],l=o+a.length;o>e&&s&&(n+=r),e<l&&i>o&&(n+=a.slice(Math.max(0,e-o),i-o)),o=l+1}return n}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let r=[],n=-1;for(let o of e)r.push(o),n+=o.length+1,r.length==32&&(i.push(new t(r,n)),r=[],n=-1);return n>-1&&i.push(new t(r,n)),i}},Fa=class t extends Ge{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,i,r,n){for(let o=0;;o++){let s=this.children[o],a=n+s.length,l=r+s.lines-1;if((i?l:a)>=e)return s.lineInner(e,i,r,n);n=a+1,r=l+1}}decompose(e,i,r,n){for(let o=0,s=0;s<=i&&o<this.children.length;o++){let a=this.children[o],l=s+a.length;if(e<=l&&i>=s){let c=n&((s<=e?1:0)|(l>=i?2:0));s>=e&&l<=i&&!c?r.push(a):a.decompose(e-s,i-s,r,c)}s=l+1}}replace(e,i,r){if([e,i]=Ja(this,e,i),r.lines<this.lines)for(let n=0,o=0;n<this.children.length;n++){let s=this.children[n],a=o+s.length;if(e>=o&&i<=a){let l=s.replace(e-o,i-o,r),c=this.lines-s.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let u=this.children.slice();return u[n]=l,new t(u,this.length-(i-e)+r.length)}return super.replace(o,a,l)}o=a+1}return super.replace(e,i,r)}sliceString(e,i=this.length,r=`
`){[e,i]=Ja(this,e,i);let n="";for(let o=0,s=0;o<this.children.length&&s<=i;o++){let a=this.children[o],l=s+a.length;s>e&&o&&(n+=r),e<l&&i>s&&(n+=a.sliceString(e-s,i-s,r)),s=l+1}return n}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof t))return 0;let r=0,[n,o,s,a]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=i,o+=i){if(n==s||o==a)return r;let l=this.children[n],c=e.children[o];if(l!=c)return r+l.scanIdentical(c,i);r+=l.length+1}}static from(e,i=e.reduce((r,n)=>r+n.length+1,-1)){let r=0;for(let p of e)r+=p.lines;if(r<32){let p=[];for(let g of e)g.flatten(p);return new Gi(p,i)}let n=Math.max(32,r>>5),o=n<<1,s=n>>1,a=[],l=0,c=-1,u=[];function f(p){let g;if(p.lines>o&&p instanceof t)for(let x of p.children)f(x);else p.lines>s&&(l>s||!l)?(d(),a.push(p)):p instanceof Gi&&l&&(g=u[u.length-1])instanceof Gi&&p.lines+g.lines<=32?(l+=p.lines,c+=p.length+1,u[u.length-1]=new Gi(g.text.concat(p.text),g.length+1+p.length)):(l+p.lines>n&&d(),l+=p.lines,c+=p.length+1,u.push(p))}function d(){l!=0&&(a.push(u.length==1?u[0]:t.from(u,c)),c=-1,l=u.length=0)}for(let p of e)f(p);return d(),a.length==1?a[0]:new t(a,i)}};Ge.empty=new Gi([""],0);function vq(t){let e=-1;for(let i of t)e+=i.length+1;return e}function Yd(t,e,i=0,r=1e9){for(let n=0,o=0,s=!0;o<t.length&&n<=r;o++){let a=t[o],l=n+a.length;l>=i&&(l>r&&(a=a.slice(0,r-n)),n<i&&(a=a.slice(i-n)),s?(e[e.length-1]+=a,s=!1):e.push(a)),n=l+1}return e}function t5(t,e,i){return Yd(t,[""],e,i)}var Rs=class{constructor(e,i=1){this.dir=i,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[i>0?1:(e instanceof Gi?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,n=this.nodes[r],o=this.offsets[r],s=o>>1,a=n instanceof Gi?n.text.length:n.children.length;if(s==(i>0?a:0)){if(r==0)return this.done=!0,this.value="",this;i>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(i>0?0:1)){if(this.offsets[r]+=i,e==0)return this.lineBreak=!0,this.value=`
`,this;e--}else if(n instanceof Gi){let l=n.text[s+(i<0?-1:0)];if(this.offsets[r]+=i,l.length>Math.max(0,e))return this.value=e==0?l:i>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=n.children[s+(i<0?-1:0)];e>l.length?(e-=l.length,this.offsets[r]+=i):(i<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(i>0?1:(l instanceof Gi?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}},Fd=class{constructor(e,i,r){this.value="",this.done=!1,this.cursor=new Rs(e,i>r?-1:1),this.pos=i>r?e.length:0,this.from=Math.min(i,r),this.to=Math.max(i,r)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let r=i<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*i,this.value=n.length<=r?n:i<0?n.slice(n.length-r):n.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}},Hd=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:r,value:n}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}};typeof Symbol!="undefined"&&(Ge.prototype[Symbol.iterator]=function(){return this.iter()},Rs.prototype[Symbol.iterator]=Fd.prototype[Symbol.iterator]=Hd.prototype[Symbol.iterator]=function(){return this});var s1=class{constructor(e,i,r,n){this.from=e,this.to=i,this.number=r,this.text=n}get length(){return this.to-this.from}};function Ja(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}var Ha="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;t<Ha.length;t++)Ha[t]+=Ha[t-1];function wq(t){for(let e=1;e<Ha.length;e+=2)if(Ha[e]>t)return Ha[e-1]<=t;return!1}function i5(t){return t>=127462&&t<=127487}var r5=8205;function zt(t,e,i=!0,r=!0){return(i?c5:kq)(t,e,r)}function c5(t,e,i){if(e==t.length)return e;e&&u5(t.charCodeAt(e))&&f5(t.charCodeAt(e-1))&&e--;let r=Ut(t,e);for(e+=_i(r);e<t.length;){let n=Ut(t,e);if(r==r5||n==r5||i&&wq(n))e+=_i(n),r=n;else if(i5(n)){let o=0,s=e-2;for(;s>=0&&i5(Ut(t,s));)o++,s-=2;if(o%2==0)break;e+=2}else break}return e}function kq(t,e,i){for(;e>0;){let r=c5(t,e-2,i);if(r<e)return r;e--}return 0}function u5(t){return t>=56320&&t<57344}function f5(t){return t>=55296&&t<56320}function Ut(t,e){let i=t.charCodeAt(e);if(!f5(i)||e+1==t.length)return i;let r=t.charCodeAt(e+1);return u5(r)?(i-55296<<10)+(r-56320)+65536:i}function cu(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function _i(t){return t<65536?1:2}var a1=/\r\n?|\n/,wt=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(wt||(wt={})),Wn=class t{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;i<this.sections.length;i+=2)e+=this.sections[i];return e}get newLength(){let e=0;for(let i=0;i<this.sections.length;i+=2){let r=this.sections[i+1];e+=r<0?this.sections[i]:r}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let i=0,r=0,n=0;i<this.sections.length;){let o=this.sections[i++],s=this.sections[i++];s<0?(e(r,n,o),n+=o):n+=s,r+=o}}iterChangedRanges(e,i=!1){l1(this,e,i)}get invertedDesc(){let e=[];for(let i=0;i<this.sections.length;){let r=this.sections[i++],n=this.sections[i++];n<0?e.push(r,n):e.push(n,r)}return new t(e)}composeDesc(e){return this.empty?e:e.empty?this:h5(this,e)}mapDesc(e,i=!1){return e.empty?this:c1(this,e,i)}mapPos(e,i=-1,r=wt.Simple){let n=0,o=0;for(let s=0;s<this.sections.length;){let a=this.sections[s++],l=this.sections[s++],c=n+a;if(l<0){if(c>e)return o+(e-n);o+=a}else{if(r!=wt.Simple&&c>=e&&(r==wt.TrackDel&&n<e&&c>e||r==wt.TrackBefore&&n<e||r==wt.TrackAfter&&c>e))return null;if(c>e||c==e&&i<0&&!a)return e==n||i<0?o:o+l;o+=l}n=c}if(e>n)throw new RangeError(`Position ${e} is out of range for changeset of length ${n}`);return o}touchesRange(e,i=e){for(let r=0,n=0;r<this.sections.length&&n<=i;){let o=this.sections[r++],s=this.sections[r++],a=n+o;if(s>=0&&n<=i&&a>=e)return n<e&&a>i?"cover":!0;n=a}return!1}toString(){let e="";for(let i=0;i<this.sections.length;){let r=this.sections[i++],n=this.sections[i++];e+=(e?" ":"")+r+(n>=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new t(e)}static create(e){return new t(e)}},Qi=class t extends Wn{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return l1(this,(i,r,n,o,s)=>e=e.replace(n,n+(r-i),s),!1),e}mapDesc(e,i=!1){return c1(this,e,i,!0)}invert(e){let i=this.sections.slice(),r=[];for(let n=0,o=0;n<i.length;n+=2){let s=i[n],a=i[n+1];if(a>=0){i[n]=a,i[n+1]=s;let l=n>>1;for(;r.length<l;)r.push(Ge.empty);r.push(s?e.slice(o,o+s):Ge.empty)}o+=s}return new t(i,r)}compose(e){return this.empty?e:e.empty?this:h5(this,e,!0)}map(e,i=!1){return e.empty?this:c1(this,e,i,!0)}iterChanges(e,i=!1){l1(this,e,i)}get desc(){return Wn.create(this.sections)}filter(e){let i=[],r=[],n=[],o=new Ls(this);e:for(let s=0,a=0;;){let l=s==e.length?1e9:e[s++];for(;a<l||a==l&&o.len==0;){if(o.done)break e;let u=Math.min(o.len,l-a);yi(n,u,-1);let f=o.ins==-1?-1:o.off==0?o.ins:0;yi(i,u,f),f>0&&Io(r,i,o.text),o.forward(u),a+=u}let c=e[s++];for(;a<c;){if(o.done)break e;let u=Math.min(o.len,c-a);yi(i,u,-1),yi(n,u,o.ins==-1?-1:o.off==0?o.ins:0),o.forward(u),a+=u}}return{changes:new t(i,r),filtered:Wn.create(n)}}toJSON(){let e=[];for(let i=0;i<this.sections.length;i+=2){let r=this.sections[i],n=this.sections[i+1];n<0?e.push(r):n==0?e.push([r]):e.push([r].concat(this.inserted[i>>1].toJSON()))}return e}static of(e,i,r){let n=[],o=[],s=0,a=null;function l(u=!1){if(!u&&!n.length)return;s<i&&yi(n,i-s,-1);let f=new t(n,o);a=a?a.compose(f.map(a)):f,n=[],o=[],s=0}function c(u){if(Array.isArray(u))for(let f of u)c(f);else if(u instanceof t){if(u.length!=i)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${i})`);l(),a=a?a.compose(u.map(a)):u}else{let{from:f,to:d=f,insert:p}=u;if(f>d||f<0||d>i)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${i})`);let g=p?typeof p=="string"?Ge.of(p.split(r||a1)):p:Ge.empty,x=g.length;if(f==d&&x==0)return;f<s&&l(),f>s&&yi(n,f-s,-1),yi(n,d-f,x),Io(o,n,g),s=d}}return c(e),l(!a),a}static empty(e){return new t(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],r=[];for(let n=0;n<e.length;n++){let o=e[n];if(typeof o=="number")i.push(o,-1);else{if(!Array.isArray(o)||typeof o[0]!="number"||o.some((s,a)=>a&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)i.push(o[0],0);else{for(;r.length<n;)r.push(Ge.empty);r[n]=Ge.of(o.slice(1)),i.push(o[0],r[n].length)}}}return new t(i,r)}static createSet(e,i){return new t(e,i)}};function yi(t,e,i,r=!1){if(e==0&&i<=0)return;let n=t.length-2;n>=0&&i<=0&&i==t[n+1]?t[n]+=e:e==0&&t[n]==0?t[n+1]+=i:r?(t[n]+=e,t[n+1]+=i):t.push(e,i)}function Io(t,e,i){if(i.length==0)return;let r=e.length-2>>1;if(r<t.length)t[t.length-1]=t[t.length-1].append(i);else{for(;t.length<r;)t.push(Ge.empty);t.push(i)}}function l1(t,e,i){let r=t.inserted;for(let n=0,o=0,s=0;s<t.sections.length;){let a=t.sections[s++],l=t.sections[s++];if(l<0)n+=a,o+=a;else{let c=n,u=o,f=Ge.empty;for(;c+=a,u+=l,l&&r&&(f=f.append(r[s-2>>1])),!(i||s==t.sections.length||t.sections[s+1]<0);)a=t.sections[s++],l=t.sections[s++];e(n,c,o,u,f),n=c,o=u}}}function c1(t,e,i,r=!1){let n=[],o=r?[]:null,s=new Ls(t),a=new Ls(e);for(let l=-1;;)if(s.ins==-1&&a.ins==-1){let c=Math.min(s.len,a.len);yi(n,c,-1),s.forward(c),a.forward(c)}else if(a.ins>=0&&(s.ins<0||l==s.i||s.off==0&&(a.len<s.len||a.len==s.len&&!i))){let c=a.len;for(yi(n,a.ins,-1);c;){let u=Math.min(s.len,c);s.ins>=0&&l<s.i&&s.len<=u&&(yi(n,0,s.ins),o&&Io(o,n,s.text),l=s.i),s.forward(u),c-=u}a.next()}else if(s.ins>=0){let c=0,u=s.len;for(;u;)if(a.ins==-1){let f=Math.min(u,a.len);c+=f,u-=f,a.forward(f)}else if(a.ins==0&&a.len<u)u-=a.len,a.next();else break;yi(n,c,l<s.i?s.ins:0),o&&l<s.i&&Io(o,n,s.text),l=s.i,s.forward(s.len-u)}else{if(s.done&&a.done)return o?Qi.createSet(n,o):Wn.create(n);throw new Error("Mismatched change set lengths")}}function h5(t,e,i=!1){let r=[],n=i?[]:null,o=new Ls(t),s=new Ls(e);for(let a=!1;;){if(o.done&&s.done)return n?Qi.createSet(r,n):Wn.create(r);if(o.ins==0)yi(r,o.len,0,a),o.next();else if(s.len==0&&!s.done)yi(r,0,s.ins,a),n&&Io(n,r,s.text),s.next();else{if(o.done||s.done)throw new Error("Mismatched change set lengths");{let l=Math.min(o.len2,s.len),c=r.length;if(o.ins==-1){let u=s.ins==-1?-1:s.off?0:s.ins;yi(r,l,u,a),n&&u&&Io(n,r,s.text)}else s.ins==-1?(yi(r,o.off?0:o.len,l,a),n&&Io(n,r,o.textBit(l))):(yi(r,o.off?0:o.len,s.off?0:s.ins,a),n&&!s.off&&Io(n,r,s.text));a=(o.ins>l||s.ins>=0&&s.len>l)&&(a||r.length>c),o.forward2(l),s.forward(l)}}}}var Ls=class{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length?Ge.empty:e[i]}textBit(e){let{inserted:i}=this.set,r=this.i-2>>1;return r>=i.length&&!e?Ge.empty:i[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},Ya=class t{constructor(e,i,r){this.from=e,this.to=i,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let r,n;return this.empty?r=n=e.mapPos(this.from,i):(r=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),r==this.from&&n==this.to?this:new t(r,n,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return ee.range(e,i);let r=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return ee.range(this.anchor,r)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return ee.range(e.anchor,e.head)}static create(e,i,r){return new t(e,i,r)}},ee=class t{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:t.create(this.ranges.map(r=>r.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;r<this.ranges.length;r++)if(!this.ranges[r].eq(e.ranges[r],i))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new t([this.main],0)}addRange(e,i=!0){return t.create([e].concat(this.ranges),i?0:this.mainIndex+1)}replaceRange(e,i=this.mainIndex){let r=this.ranges.slice();return r[i]=e,t.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new t(e.ranges.map(i=>Ya.fromJSON(i)),e.main)}static single(e,i=e){return new t([t.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,n=0;n<e.length;n++){let o=e[n];if(o.empty?o.from<=r:o.from<r)return t.normalized(e.slice(),i);r=o.to}return new t(e,i)}static cursor(e,i=0,r,n){return Ya.create(e,e,(i==0?0:i<0?8:16)|(r==null?7:Math.min(6,r))|(n!=null?n:16777215)<<6)}static range(e,i,r,n){let o=(r!=null?r:16777215)<<6|(n==null?7:Math.min(6,n));return i<e?Ya.create(i,e,48|o):Ya.create(e,i,(i>e?8:0)|o)}static normalized(e,i=0){let r=e[i];e.sort((n,o)=>n.from-o.from),i=e.indexOf(r);for(let n=1;n<e.length;n++){let o=e[n],s=e[n-1];if(o.empty?o.from<=s.to:o.from<s.to){let a=s.from,l=Math.max(o.to,s.to);n<=i&&i--,e.splice(--n,2,o.anchor>o.head?t.range(l,a):t.range(a,l))}}return new t(e,i)}};function d5(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}var y1=0,be=class t{constructor(e,i,r,n,o){this.combine=e,this.compareInput=i,this.compare=r,this.isStatic=n,this.id=y1++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new t(e.combine||(i=>i),e.compareInput||((i,r)=>i===r),e.compare||(e.combine?(i,r)=>i===r:x1),!!e.static,e.enables)}of(e){return new Ga([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ga(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ga(e,this,2,i)}from(e,i){return i||(i=r=>r),this.compute([e],r=>i(r.field(e)))}};function x1(t,e){return t==e||t.length==e.length&&t.every((i,r)=>i===e[r])}var Ga=class{constructor(e,i,r,n){this.dependencies=e,this.facet=i,this.type=r,this.value=n,this.id=y1++}dynamicSlot(e){var i;let r=this.value,n=this.facet.compareInput,o=this.id,s=e[o]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((i=e[f.id])!==null&&i!==void 0?i:1)&1||u.push(e[f.id]);return{create(f){return f.values[s]=r(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||u1(f,u)){let p=r(f);if(a?!n5(p,f.values[s],n):!n(p,f.values[s]))return f.values[s]=p,1}return 0},reconfigure:(f,d)=>{let p,g=d.config.address[o];if(g!=null){let x=ep(d,g);if(this.dependencies.every(v=>v instanceof be?d.facet(v)===f.facet(v):v instanceof He?d.field(v,!1)==f.field(v,!1):!0)||(a?n5(p=r(f),x,n):n(p=r(f),x)))return f.values[s]=x,0}else p=r(f);return f.values[s]=p,1}}}};function n5(t,e,i){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!i(t[r],e[r]))return!1;return!0}function u1(t,e){let i=!1;for(let r of e)ou(t,r)&1&&(i=!0);return i}function Sq(t,e,i){let r=i.map(l=>t[l.id]),n=i.map(l=>l.type),o=r.filter(l=>!(l&1)),s=t[e.id]>>1;function a(l){let c=[];for(let u=0;u<r.length;u++){let f=ep(l,r[u]);if(n[u]==2)for(let d of f)c.push(d);else c.push(f)}return e.combine(c)}return{create(l){for(let c of r)ou(l,c);return l.values[s]=a(l),1},update(l,c){if(!u1(l,o))return 0;let u=a(l);return e.compare(u,l.values[s])?0:(l.values[s]=u,1)},reconfigure(l,c){let u=u1(l,r),f=c.config.facets[e.id],d=c.facet(e);if(f&&!u&&x1(i,f))return l.values[s]=d,0;let p=a(l);return e.compare(p,d)?(l.values[s]=d,0):(l.values[s]=p,1)}}}var o5=be.define({static:!0}),He=class t{constructor(e,i,r,n,o){this.id=e,this.createF=i,this.updateF=r,this.compareF=n,this.spec=o,this.provides=void 0}static define(e){let i=new t(y1++,e.create,e.update,e.compare||((r,n)=>r===n),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(o5).find(r=>r.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:r=>(r.values[i]=this.create(r),1),update:(r,n)=>{let o=r.values[i],s=this.updateF(o,n);return this.compareF(o,s)?0:(r.values[i]=s,1)},reconfigure:(r,n)=>n.config.address[this.id]!=null?(r.values[i]=n.field(this),0):(r.values[i]=this.create(r),1)}}init(e){return[this,o5.of({field:this,create:e})]}get extension(){return this}},$s={lowest:4,low:3,default:2,high:1,highest:0};function nu(t){return e=>new Gd(e,t)}var $t={highest:nu($s.highest),high:nu($s.high),default:nu($s.default),low:nu($s.low),lowest:nu($s.lowest)},Gd=class{constructor(e,i){this.inner=e,this.prec=i}},Kd=class t{of(e){return new su(this,e)}reconfigure(e){return t.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}},su=class{constructor(e,i){this.compartment=e,this.inner=i}},Jd=class t{constructor(e,i,r,n,o,s){for(this.base=e,this.compartments=i,this.dynamicSlots=r,this.address=n,this.staticValues=o,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}staticFacet(e){let i=this.address[e.id];return i==null?e.default:this.staticValues[i>>1]}static resolve(e,i,r){let n=[],o=Object.create(null),s=new Map;for(let d of Tq(e,i,s))d instanceof He?n.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let a=Object.create(null),l=[],c=[];for(let d of n)a[d.id]=c.length<<1,c.push(p=>d.slot(p));let u=r==null?void 0:r.config.facets;for(let d in o){let p=o[d],g=p[0].facet,x=u&&u[d]||[];if(p.every(v=>v.type==0))if(a[g.id]=l.length<<1|1,x1(x,p))l.push(r.facet(g));else{let v=g.combine(p.map(S=>S.value));l.push(r&&g.compare(v,r.facet(g))?r.facet(g):v)}else{for(let v of p)v.type==0?(a[v.id]=l.length<<1|1,l.push(v.value)):(a[v.id]=c.length<<1,c.push(S=>v.dynamicSlot(S)));a[g.id]=c.length<<1,c.push(v=>Sq(v,g,p))}}let f=c.map(d=>d(a));return new t(e,s,f,a,l,o)}};function Tq(t,e,i){let r=[[],[],[],[],[]],n=new Map;function o(s,a){let l=n.get(s);if(l!=null){if(l<=a)return;let c=r[l].indexOf(s);c>-1&&r[l].splice(c,1),s instanceof su&&i.delete(s.compartment)}if(n.set(s,a),Array.isArray(s))for(let c of s)o(c,a);else if(s instanceof su){if(i.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(s.compartment)||s.inner;i.set(s.compartment,c),o(c,a)}else if(s instanceof Gd)o(s.inner,s.prec);else if(s instanceof He)r[a].push(s),s.provides&&o(s.provides,a);else if(s instanceof Ga)r[a].push(s),s.facet.extensions&&o(s.facet.extensions,$s.default);else{let c=s.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(c,a)}}return o(t,$s.default),r.reduce((s,a)=>s.concat(a))}function ou(t,e){if(e&1)return 2;let i=e>>1,r=t.status[i];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[i]=4;let n=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|n}function ep(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}var p5=be.define(),f1=be.define({combine:t=>t.some(e=>e),static:!0}),O5=be.define({combine:t=>t.length?t[0]:void 0,static:!0}),m5=be.define(),g5=be.define(),b5=be.define(),y5=be.define({combine:t=>t.length?t[0]:!1}),xi=class{constructor(e,i){this.type=e,this.value=i}static define(){return new h1}},h1=class{of(e){return new xi(this,e)}},d1=class{constructor(e){this.map=e}of(e){return new Se(this,e)}},Se=class t{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new t(this.type,i)}is(e){return this.type==e}static define(e={}){return new d1(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let r=[];for(let n of e){let o=n.map(i);o&&r.push(o)}return r}};Se.reconfigure=Se.define();Se.appendConfig=Se.define();var Ct=class t{constructor(e,i,r,n,o,s){this.startState=e,this.changes=i,this.selection=r,this.effects=n,this.annotations=o,this.scrollIntoView=s,this._doc=null,this._state=null,r&&d5(r,i.newLength),o.some(a=>a.type==t.time)||(this.annotations=o.concat(t.time.of(Date.now())))}static create(e,i,r,n,o,s){return new t(e,i,r,n,o,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(t.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}};Ct.time=xi.define();Ct.userEvent=xi.define();Ct.addToHistory=xi.define();Ct.remote=xi.define();function Eq(t,e){let i=[];for(let r=0,n=0;;){let o,s;if(r<t.length&&(n==e.length||e[n]>=t[r]))o=t[r++],s=t[r++];else if(n<e.length)o=e[n++],s=e[n++];else return i;!i.length||i[i.length-1]<o?i.push(o,s):i[i.length-1]<s&&(i[i.length-1]=s)}}function x5(t,e,i){var r;let n,o,s;return i?(n=e.changes,o=Qi.empty(e.changes.length),s=t.changes.compose(e.changes)):(n=e.changes.map(t.changes),o=t.changes.mapDesc(e.changes,!0),s=t.changes.compose(n)),{changes:s,selection:e.selection?e.selection.map(o):(r=t.selection)===null||r===void 0?void 0:r.map(n),effects:Se.mapEffects(t.effects,n).concat(Se.mapEffects(e.effects,o)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function p1(t,e,i){let r=e.selection,n=Ka(e.annotations);return e.userEvent&&(n=n.concat(Ct.userEvent.of(e.userEvent))),{changes:e.changes instanceof Qi?e.changes:Qi.of(e.changes||[],i,t.facet(O5)),selection:r&&(r instanceof ee?r:ee.single(r.anchor,r.head)),effects:Ka(e.effects),annotations:n,scrollIntoView:!!e.scrollIntoView}}function v5(t,e,i){let r=p1(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(i=!1);for(let o=1;o<e.length;o++){e[o].filter===!1&&(i=!1);let s=!!e[o].sequential;r=x5(r,p1(t,e[o],s?r.changes.newLength:t.doc.length),s)}let n=Ct.create(t,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return Pq(i?Cq(n):n)}function Cq(t){let e=t.startState,i=!0;for(let n of e.facet(m5)){let o=n(t);if(o===!1){i=!1;break}Array.isArray(o)&&(i=i===!0?o:Eq(i,o))}if(i!==!0){let n,o;if(i===!1)o=t.changes.invertedDesc,n=Qi.empty(e.doc.length);else{let s=t.changes.filter(i);n=s.changes,o=s.filtered.mapDesc(s.changes).invertedDesc}t=Ct.create(e,n,t.selection&&t.selection.map(o),Se.mapEffects(t.effects,o),t.annotations,t.scrollIntoView)}let r=e.facet(g5);for(let n=r.length-1;n>=0;n--){let o=r[n](t);o instanceof Ct?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Ct?t=o[0]:t=v5(e,Ka(o),!1)}return t}function Pq(t){let e=t.startState,i=e.facet(b5),r=t;for(let n=i.length-1;n>=0;n--){let o=i[n](t);o&&Object.keys(o).length&&(r=x5(r,p1(e,o,t.changes.newLength),!0))}return r==t?t:Ct.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}var _q=[];function Ka(t){return t==null?_q:Array.isArray(t)?t:[t]}var dt=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(dt||(dt={})),Qq=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,O1;try{O1=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(t){}function Aq(t){if(O1)return O1.test(t);for(let e=0;e<t.length;e++){let i=t[e];if(/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||Qq.test(i)))return!0}return!1}function $q(t){return e=>{if(!/\S/.test(e))return dt.Space;if(Aq(e))return dt.Word;for(let i=0;i<t.length;i++)if(e.indexOf(t[i])>-1)return dt.Word;return dt.Other}}var rt=class t{constructor(e,i,r,n,o,s){this.config=e,this.doc=i,this.selection=r,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=o,s&&(s._state=this);for(let a=0;a<this.config.dynamicSlots.length;a++)ou(this,a<<1);this.computeSlot=null}field(e,i=!0){let r=this.config.address[e.id];if(r==null){if(i)throw new RangeError("Field is not present in this state");return}return ou(this,r),ep(this,r)}update(...e){return v5(this,e,!0)}applyTransaction(e){let i=this.config,{base:r,compartments:n}=i;for(let a of e.effects)a.is(Kd.reconfigure)?(i&&(n=new Map,i.compartments.forEach((l,c)=>n.set(c,l)),i=null),n.set(a.value.compartment,a.value.extension)):a.is(Se.reconfigure)?(i=null,r=a.value):a.is(Se.appendConfig)&&(i=null,r=Ka(r).concat(a.value));let o;i?o=e.startState.values.slice():(i=Jd.resolve(r,n,this),o=new t(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let s=e.startState.facet(f1)?e.newSelection:e.newSelection.asSingle();new t(i,e.newDoc,s,o,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:ee.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,r=e(i.ranges[0]),n=this.changes(r.changes),o=[r.range],s=Ka(r.effects);for(let a=1;a<i.ranges.length;a++){let l=e(i.ranges[a]),c=this.changes(l.changes),u=c.map(n);for(let d=0;d<a;d++)o[d]=o[d].map(u);let f=n.mapDesc(c,!0);o.push(l.range.map(f)),n=n.compose(u),s=Se.mapEffects(s,u).concat(Se.mapEffects(Ka(l.effects),f))}return{changes:n,selection:ee.create(o,i.mainIndex),effects:s}}changes(e=[]){return e instanceof Qi?e:Qi.of(e,this.doc.length,this.facet(t.lineSeparator))}toText(e){return Ge.of(e.split(this.facet(t.lineSeparator)||a1))}sliceDoc(e=0,i=this.doc.length){return this.doc.sliceString(e,i,this.lineBreak)}facet(e){let i=this.config.address[e.id];return i==null?e.default:(ou(this,i),ep(this,i))}toJSON(e){let i={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let r in e){let n=e[r];n instanceof He&&this.config.address[n.id]!=null&&(i[r]=n.spec.toJSON(this.field(e[r]),this))}return i}static fromJSON(e,i={},r){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let n=[];if(r){for(let o in r)if(Object.prototype.hasOwnProperty.call(e,o)){let s=r[o],a=e[o];n.push(s.init(l=>s.spec.fromJSON(a,l)))}}return t.create({doc:e.doc,selection:ee.fromJSON(e.selection),extensions:i.extensions?n.concat([i.extensions]):n})}static create(e={}){let i=Jd.resolve(e.extensions||[],new Map),r=e.doc instanceof Ge?e.doc:Ge.of((e.doc||"").split(i.staticFacet(t.lineSeparator)||a1)),n=e.selection?e.selection instanceof ee?e.selection:ee.single(e.selection.anchor,e.selection.head):ee.single(0);return d5(n,r.length),i.staticFacet(f1)||(n=n.asSingle()),new t(i,r,n,i.dynamicSlots.map(()=>null),(o,s)=>s.create(o),null)}get tabSize(){return this.facet(t.tabSize)}get lineBreak(){return this.facet(t.lineSeparator)||`
`}get readOnly(){return this.facet(y5)}phrase(e,...i){for(let r of this.facet(t.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(r,n)=>{if(n=="$")return"$";let o=+(n||1);return!o||o>i.length?r:i[o-1]})),e}languageDataAt(e,i,r=-1){let n=[];for(let o of this.facet(p5))for(let s of o(this,i,r))Object.prototype.hasOwnProperty.call(s,e)&&n.push(s[e]);return n}charCategorizer(e){return $q(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:r,length:n}=this.doc.lineAt(e),o=this.charCategorizer(e),s=e-r,a=e-r;for(;s>0;){let l=zt(i,s,!1);if(o(i.slice(l,s))!=dt.Word)break;s=l}for(;a<n;){let l=zt(i,a);if(o(i.slice(a,l))!=dt.Word)break;a=l}return s==a?null:ee.range(s+r,a+r)}};rt.allowMultipleSelections=f1;rt.tabSize=be.define({combine:t=>t.length?t[0]:4});rt.lineSeparator=O5;rt.readOnly=y5;rt.phrases=be.define({compare(t,e){let i=Object.keys(t),r=Object.keys(e);return i.length==r.length&&i.every(n=>t[n]==e[n])}});rt.languageData=p5;rt.changeFilter=m5;rt.transactionFilter=g5;rt.transactionExtender=b5;Kd.reconfigure=Se.define();function kt(t,e,i={}){let r={};for(let n of t)for(let o of Object.keys(n)){let s=n[o],a=r[o];if(a===void 0)r[o]=s;else if(!(a===s||s===void 0))if(Object.hasOwnProperty.call(i,o))r[o]=i[o](a,s);else throw new Error("Config merge conflict for field "+o)}for(let n in e)r[n]===void 0&&(r[n]=e[n]);return r}var Ir=class{eq(e){return this==e}range(e,i=e){return au.create(e,i,this)}};Ir.prototype.startSide=Ir.prototype.endSide=0;Ir.prototype.point=!1;Ir.prototype.mapMode=wt.TrackDel;var au=class t{constructor(e,i,r){this.from=e,this.to=i,this.value=r}static create(e,i,r){return new t(e,i,r)}};function m1(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}var g1=class t{constructor(e,i,r,n){this.from=e,this.to=i,this.value=r,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,i,r,n=0){let o=r?this.to:this.from;for(let s=n,a=o.length;;){if(s==a)return s;let l=s+a>>1,c=o[l]-e||(r?this.value[l].endSide:this.value[l].startSide)-i;if(l==s)return c>=0?s:a;c>=0?a=l:s=l+1}}between(e,i,r,n){for(let o=this.findIndex(i,-1e9,!0),s=this.findIndex(r,1e9,!1,o);o<s;o++)if(n(this.from[o]+e,this.to[o]+e,this.value[o])===!1)return!1}map(e,i){let r=[],n=[],o=[],s=-1,a=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],u=this.from[l]+e,f=this.to[l]+e,d,p;if(u==f){let g=i.mapPos(u,c.startSide,c.mapMode);if(g==null||(d=p=g,c.startSide!=c.endSide&&(p=i.mapPos(u,c.endSide),p<d)))continue}else if(d=i.mapPos(u,c.startSide),p=i.mapPos(f,c.endSide),d>p||d==p&&c.startSide>0&&c.endSide<=0)continue;(p-d||c.endSide-c.startSide)<0||(s<0&&(s=d),c.point&&(a=Math.max(a,p-d)),r.push(c),n.push(d-s),o.push(p-s))}return{mapped:r.length?new t(n,o,r,a):null,pos:s}}},nt=class t{constructor(e,i,r,n){this.chunkPos=e,this.chunk=i,this.nextLayer=r,this.maxPoint=n}static create(e,i,r,n){return new t(e,i,r,n)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:r=!1,filterFrom:n=0,filterTo:o=this.length}=e,s=e.filter;if(i.length==0&&!s)return this;if(r&&(i=i.slice().sort(m1)),this.isEmpty)return i.length?t.of(i):this;let a=new tp(this,null,-1).goto(0),l=0,c=[],u=new Ki;for(;a.value||l<i.length;)if(l<i.length&&(a.from-i[l].from||a.startSide-i[l].value.startSide)>=0){let f=i[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else a.rangeIndex==1&&a.chunkIndex<this.chunk.length&&(l==i.length||this.chunkEnd(a.chunkIndex)<i[l].from)&&(!s||n>this.chunkEnd(a.chunkIndex)||o<this.chunkPos[a.chunkIndex])&&u.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!s||n>a.to||o<a.from||s(a.from,a.to,a.value))&&(u.addInner(a.from,a.to,a.value)||c.push(au.create(a.from,a.to,a.value))),a.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?t.empty:this.nextLayer.update({add:c,filter:s,filterFrom:n,filterTo:o}))}map(e){if(e.empty||this.isEmpty)return this;let i=[],r=[],n=-1;for(let s=0;s<this.chunk.length;s++){let a=this.chunkPos[s],l=this.chunk[s],c=e.touchesRange(a,a+l.length);if(c===!1)n=Math.max(n,l.maxPoint),i.push(l),r.push(e.mapPos(a));else if(c===!0){let{mapped:u,pos:f}=l.map(a,e);u&&(n=Math.max(n,u.maxPoint),i.push(u),r.push(f))}}let o=this.nextLayer.map(e);return i.length==0?o:new t(r,i,o||t.empty,n)}between(e,i,r){if(!this.isEmpty){for(let n=0;n<this.chunk.length;n++){let o=this.chunkPos[n],s=this.chunk[n];if(i>=o&&e<=o+s.length&&s.between(o,e-o,i-o,r)===!1)return}this.nextLayer.between(e,i,r)}}iter(e=0){return lu.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return lu.from(e).goto(i)}static compare(e,i,r,n,o=-1){let s=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),a=i.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=s5(s,a,r),c=new Xs(s,l,o),u=new Xs(a,l,o);r.iterGaps((f,d,p)=>a5(c,f,u,d,p,n)),r.empty&&r.length==0&&a5(c,0,u,0,0,n)}static eq(e,i,r=0,n){n==null&&(n=999999999);let o=e.filter(u=>!u.isEmpty&&i.indexOf(u)<0),s=i.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=s.length)return!1;if(!o.length)return!0;let a=s5(o,s),l=new Xs(o,a,0).goto(r),c=new Xs(s,a,0).goto(r);for(;;){if(l.to!=c.to||!b1(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>n)return!0;l.next(),c.next()}}static spans(e,i,r,n,o=-1){let s=new Xs(e,null,o).goto(i),a=i,l=s.openStart;for(;;){let c=Math.min(s.to,r);if(s.point){let u=s.activeForPoint(s.to),f=s.pointFrom<i?u.length+1:s.point.startSide<0?u.length:Math.min(u.length,l);n.point(a,c,s.point,u,f,s.pointRank),l=Math.min(s.openEnd(c),u.length)}else c>a&&(n.span(a,c,s.active,l),l=s.openEnd(c));if(s.to>r)return l+(s.point&&s.to>r?1:0);a=s.to,s.next()}}static of(e,i=!1){let r=new Ki;for(let n of e instanceof au?[e]:i?Xq(e):e)r.add(n.from,n.to,n.value);return r.finish()}static join(e){if(!e.length)return t.empty;let i=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let n=e[r];n!=t.empty;n=n.nextLayer)i=new t(n.chunkPos,n.chunk,i,Math.max(n.maxPoint,i.maxPoint));return i}};nt.empty=new nt([],[],null,-1);function Xq(t){if(t.length>1)for(let e=t[0],i=1;i<t.length;i++){let r=t[i];if(m1(e,r)>0)return t.slice().sort(m1);e=r}return t}nt.empty.nextLayer=nt.empty;var Ki=class t{finishChunk(e){this.chunks.push(new g1(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,r){this.addInner(e,i,r)||(this.nextLayer||(this.nextLayer=new t)).add(e,i,r)}addInner(e,i,r){let n=e-this.lastTo||r.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return n<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=i,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let r=i.value.length-1;return this.last=i.value[r],this.lastFrom=i.from[r]+e,this.lastTo=i.to[r]+e,!0}finish(){return this.finishInner(nt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=nt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}};function s5(t,e,i){let r=new Map;for(let o of t)for(let s=0;s<o.chunk.length;s++)o.chunk[s].maxPoint<=0&&r.set(o.chunk[s],o.chunkPos[s]);let n=new Set;for(let o of e)for(let s=0;s<o.chunk.length;s++){let a=r.get(o.chunk[s]);a!=null&&(i?i.mapPos(a):a)==o.chunkPos[s]&&!(i!=null&&i.touchesRange(a,a+o.chunk[s].length))&&n.add(o.chunk[s])}return n}var tp=class{constructor(e,i,r,n=0){this.layer=e,this.skip=i,this.minPoint=r,this.rank=n}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,i=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,i,!1),this}gotoInner(e,i,r){for(;this.chunkIndex<this.layer.chunk.length;){let n=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(n)||this.layer.chunkEnd(this.chunkIndex)<e||n.maxPoint<this.minPoint))break;this.chunkIndex++,r=!1}if(this.chunkIndex<this.layer.chunk.length){let n=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],i,!0);(!r||this.rangeIndex<n)&&this.setRangeIndex(n)}this.next()}forward(e,i){(this.to-e||this.endSide-i)<0&&this.gotoInner(e,i,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],i=this.layer.chunk[this.chunkIndex],r=e+i.from[this.rangeIndex];if(this.from=r,this.to=e+i.to[this.rangeIndex],this.value=i.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},lu=class t{constructor(e){this.heap=e}static from(e,i=null,r=-1){let n=[];for(let o=0;o<e.length;o++)for(let s=e[o];!s.isEmpty;s=s.nextLayer)s.maxPoint>=r&&n.push(new tp(s,i,r,o));return n.length==1?n[0]:new t(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let r of this.heap)r.goto(e,i);for(let r=this.heap.length>>1;r>=0;r--)o1(this.heap,r);return this.next(),this}forward(e,i){for(let r of this.heap)r.forward(e,i);for(let r=this.heap.length>>1;r>=0;r--)o1(this.heap,r);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),o1(this.heap,0)}}};function o1(t,e){for(let i=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let n=t[r];if(r+1<t.length&&n.compare(t[r+1])>=0&&(n=t[r+1],r++),i.compare(n)<0)break;t[r]=i,t[e]=n,e=r}}var Xs=class{constructor(e,i,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=lu.from(e,i,r)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){Zd(this.active,e),Zd(this.activeTo,e),Zd(this.activeRank,e),this.minActive=l5(this.active,this.activeTo)}addActive(e){let i=0,{value:r,to:n,rank:o}=this.cursor;for(;i<this.activeRank.length&&(o-this.activeRank[i]||n-this.activeTo[i])>0;)i++;Vd(this.active,i,r),Vd(this.activeTo,i,n),Vd(this.activeRank,i,o),e&&Vd(e,i,this.cursor.from),this.minActive=l5(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let n=this.minActive;if(n>-1&&(this.activeTo[n]-this.cursor.from||this.active[n].endSide-this.cursor.startSide)<0){if(this.activeTo[n]>e){this.to=this.activeTo[n],this.endSide=this.active[n].endSide;break}this.removeActive(n),r&&Zd(r,n)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(r),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=o,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=o.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(r){this.openStart=0;for(let n=r.length-1;n>=0&&r[n]<e;n--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let i=[];for(let r=this.active.length-1;r>=0&&!(this.activeRank[r]<this.pointRank);r--)(this.activeTo[r]>e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&i.push(this.active[r]);return i.reverse()}openEnd(e){let i=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)i++;return i}};function a5(t,e,i,r,n,o){t.goto(e),i.goto(r);let s=r+n,a=r,l=r-e;for(;;){let c=t.to+l-i.to||t.endSide-i.endSide,u=c<0?t.to+l:i.to,f=Math.min(u,s);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&b1(t.activeForPoint(t.to),i.activeForPoint(i.to))||o.comparePoint(a,f,t.point,i.point):f>a&&!b1(t.active,i.active)&&o.compareRange(a,f,t.active,i.active),u>s)break;a=u,c<=0&&t.next(),c>=0&&i.next()}}function b1(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!=e[i]&&!t[i].eq(e[i]))return!1;return!0}function Zd(t,e){for(let i=e,r=t.length-1;i<r;i++)t[i]=t[i+1];t.pop()}function Vd(t,e,i){for(let r=t.length-1;r>=e;r--)t[r+1]=t[r];t[e]=i}function l5(t,e){let i=-1,r=1e9;for(let n=0;n<e.length;n++)(e[n]-r||t[n].endSide-t[i].endSide)<0&&(i=n,r=e[n]);return i}function Ai(t,e,i=t.length){let r=0;for(let n=0;n<i;)t.charCodeAt(n)==9?(r+=e-r%e,n++):(r++,n=zt(t,n));return r}function ip(t,e,i,r){for(let n=0,o=0;;){if(o>=e)return n;if(n==t.length)break;o+=t.charCodeAt(n)==9?i-o%i:1,n=zt(t,n)}return r===!0?-1:t.length}var v1="\u037C",w5=typeof Symbol=="undefined"?"__"+v1:Symbol.for(v1),w1=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),k5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{},Ui=class{constructor(e,i){this.rules=[];let{finish:r}=i||{};function n(s){return/^@/.test(s)?[s]:s.split(/,\s*/)}function o(s,a,l,c){let u=[],f=/^@(\w+)\b/.exec(s[0]),d=f&&f[1]=="keyframes";if(f&&a==null)return l.push(s[0]+";");for(let p in a){let g=a[p];if(/&/.test(p))o(p.split(/,\s*/).map(x=>s.map(v=>x.replace(/&/,v))).reduce((x,v)=>x.concat(v)),g,l);else if(g&&typeof g=="object"){if(!f)throw new RangeError("The value of a property ("+p+") should be a primitive value.");o(n(p),g,u,d)}else g!=null&&u.push(p.replace(/_.*/,"").replace(/[A-Z]/g,x=>"-"+x.toLowerCase())+": "+g+";")}(u.length||d)&&l.push((r&&!f&&!c?s.map(r):s).join(", ")+" {"+u.join(" ")+"}")}for(let s in e)o(n(s),e[s],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let e=k5[w5]||1;return k5[w5]=e+1,v1+e.toString(36)}static mount(e,i,r){let n=e[w1],o=r&&r.nonce;n?o&&n.setNonce(o):n=new k1(e,o),n.mount(Array.isArray(i)?i:[i])}},S5=new Map,k1=class{constructor(e,i){let r=e.ownerDocument||e,n=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let o=S5.get(r);if(o)return e.adoptedStyleSheets=[o.sheet,...e.adoptedStyleSheets],e[w1]=o;this.sheet=new n.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],S5.set(r,this)}else{this.styleTag=r.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);let o=e.head||e;o.insertBefore(this.styleTag,o.firstChild)}this.modules=[],e[w1]=this}mount(e){let i=this.sheet,r=0,n=0;for(let o=0;o<e.length;o++){let s=e[o],a=this.modules.indexOf(s);if(a<n&&a>-1&&(this.modules.splice(a,1),n--,a=-1),a==-1){if(this.modules.splice(n++,0,s),i)for(let l=0;l<s.rules.length;l++)i.insertRule(s.rules[l],r++)}else{for(;n<a;)r+=this.modules[n++].rules.length;r+=s.rules.length,n++}}if(!i){let o="";for(let s=0;s<this.modules.length;s++)o+=this.modules[s].getRules()+`
`;this.styleTag.textContent=o}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}};var Bn={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},el={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Rq=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),Lq=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(jt=0;jt<10;jt++)Bn[48+jt]=Bn[96+jt]=String(jt);var jt;for(jt=1;jt<=24;jt++)Bn[jt+111]="F"+jt;var jt;for(jt=65;jt<=90;jt++)Bn[jt]=String.fromCharCode(jt+32),el[jt]=String.fromCharCode(jt);var jt;for(rp in Bn)el.hasOwnProperty(rp)||(el[rp]=Bn[rp]);var rp;function T5(t){var e=Rq&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||Lq&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?el:Bn)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function yp(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function A1(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function Iq(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function dp(t,e){if(!e.anchorNode)return!1;try{return A1(t,e.anchorNode)}catch(i){return!1}}function ku(t){return t.nodeType==3?Ns(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function mu(t,e,i,r){return i?E5(t,e,i,r,-1)||E5(t,e,i,r,1):!1}function Ds(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function xp(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function E5(t,e,i,r,n){for(;;){if(t==i&&e==r)return!0;if(e==(n<0?0:Zn(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=Ds(t)+(n<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(n<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=n<0?Zn(t):0}else return!1}}function Zn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function yy(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function Dq(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function hC(t,e){let i=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:i,scaleY:r}}function Nq(t,e,i,r,n,o,s,a){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,f=!1;u&&!f;)if(u.nodeType==1){let d,p=u==l.body,g=1,x=1;if(p)d=Dq(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(f=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let T=u.getBoundingClientRect();({scaleX:g,scaleY:x}=hC(u,T)),d={left:T.left,right:T.left+u.clientWidth*g,top:T.top,bottom:T.top+u.clientHeight*x}}let v=0,S=0;if(n=="nearest")e.top<d.top?(S=-(d.top-e.top+s),i>0&&e.bottom>d.bottom+S&&(S=e.bottom-d.bottom+S+s)):e.bottom>d.bottom&&(S=e.bottom-d.bottom+s,i<0&&e.top-S<d.top&&(S=-(d.top+S-e.top+s)));else{let T=e.bottom-e.top,$=d.bottom-d.top;S=(n=="center"&&T<=$?e.top+T/2-$/2:n=="start"||n=="center"&&i<0?e.top-s:e.bottom-$+s)-d.top}if(r=="nearest"?e.left<d.left?(v=-(d.left-e.left+o),i>0&&e.right>d.right+v&&(v=e.right-d.right+v+o)):e.right>d.right&&(v=e.right-d.right+o,i<0&&e.left<d.left+v&&(v=-(d.left+v-e.left+o))):v=(r=="center"?e.left+(e.right-e.left)/2-(d.right-d.left)/2:r=="start"==a?e.left-o:e.right-(d.right-d.left)+o)-d.left,v||S)if(p)c.scrollBy(v,S);else{let T=0,$=0;if(S){let I=u.scrollTop;u.scrollTop+=S/x,$=(u.scrollTop-I)*x}if(v){let I=u.scrollLeft;u.scrollLeft+=v/g,T=(u.scrollLeft-I)*g}e={left:e.left-T,top:e.top-$,right:e.right-T,bottom:e.bottom-$},T&&Math.abs(T-v)<1&&(r="nearest"),$&&Math.abs($-S)<1&&(n="nearest")}if(p)break;u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function Mq(t){let e=t.ownerDocument;for(let i=t.parentNode;i&&i!=e.body;)if(i.nodeType==1){if(i.scrollHeight>i.clientHeight||i.scrollWidth>i.clientWidth)return i;i=i.assignedSlot||i.parentNode}else if(i.nodeType==11)i=i.host;else break;return null}var $1=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:r}=e;this.set(i,Math.min(e.anchorOffset,i?Zn(i):0),r,Math.min(e.focusOffset,r?Zn(r):0))}set(e,i,r,n){this.anchorNode=e,this.anchorOffset=i,this.focusNode=r,this.focusOffset=n}},tl=null;function dC(t){if(t.setActive)return t.setActive();if(tl)return t.focus(tl);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(tl==null?{get preventScroll(){return tl={preventScroll:!0},!0}}:void 0),!tl){tl=!1;for(let i=0;i<e.length;){let r=e[i++],n=e[i++],o=e[i++];r.scrollTop!=n&&(r.scrollTop=n),r.scrollLeft!=o&&(r.scrollLeft=o)}}}var C5;function Ns(t,e,i=e){let r=C5||(C5=document.createRange());return r.setEnd(t,i),r.setStart(t,e),r}function ol(t,e,i,r){let n={key:e,code:e,keyCode:i,which:i,cancelable:!0};r&&({altKey:n.altKey,ctrlKey:n.ctrlKey,shiftKey:n.shiftKey,metaKey:n.metaKey}=r);let o=new KeyboardEvent("keydown",n);o.synthetic=!0,t.dispatchEvent(o);let s=new KeyboardEvent("keyup",n);return s.synthetic=!0,t.dispatchEvent(s),o.defaultPrevented||s.defaultPrevented}function Uq(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function pC(t){for(;t.attributes.length;)t.removeAttributeNode(t.attributes[0])}function zq(t,e){let i=e.focusNode,r=e.focusOffset;if(!i||e.anchorNode!=i||e.anchorOffset!=r)return!1;for(r=Math.min(r,Zn(i));;)if(r){if(i.nodeType!=1)return!1;let n=i.childNodes[r-1];n.contentEditable=="false"?r--:(i=n,r=Zn(i))}else{if(i==t)return!0;r=Ds(i),i=i.parentNode}}function OC(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function mC(t,e){for(let i=t,r=e;;){if(i.nodeType==3&&r>0)return{node:i,offset:r};if(i.nodeType==1&&r>0){if(i.contentEditable=="false")return null;i=i.childNodes[r-1],r=Zn(i)}else if(i.parentNode&&!xp(i))r=Ds(i),i=i.parentNode;else return null}}function gC(t,e){for(let i=t,r=e;;){if(i.nodeType==3&&r<i.nodeValue.length)return{node:i,offset:r};if(i.nodeType==1&&r<i.childNodes.length){if(i.contentEditable=="false")return null;i=i.childNodes[r],r=0}else if(i.parentNode&&!xp(i))r=Ds(i)+1,i=i.parentNode;else return null}}var $i=class t{constructor(e,i,r=!0){this.node=e,this.offset=i,this.precise=r}static before(e,i){return new t(e.parentNode,Ds(e),i)}static after(e,i){return new t(e.parentNode,Ds(e)+1,i)}},xy=[],gt=class t{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let i=this.posAtStart;for(let r of this.children){if(r==e)return i;i+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let r=this.dom,n=null,o;for(let s of this.children){if(s.flags&7){if(!s.dom&&(o=n?n.nextSibling:r.firstChild)){let a=t.get(o);(!a||!a.parent&&a.canReuseDOM(s))&&s.reuseDOM(o)}s.sync(e,i),s.flags&=-8}if(o=n?n.nextSibling:r.firstChild,i&&!i.written&&i.node==r&&o!=s.dom&&(i.written=!0),s.dom.parentNode==r)for(;o&&o!=s.dom;)o=P5(o);else r.insertBefore(s.dom,o);n=s.dom}for(o=n?n.nextSibling:r.firstChild,o&&i&&i.node==r&&(i.written=!0);o;)o=P5(o)}else if(this.flags&1)for(let r of this.children)r.flags&7&&(r.sync(e,i),r.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let r;if(e==this.dom)r=this.dom.childNodes[i];else{let n=Zn(e)==0?0:i==0?-1:1;for(;;){let o=e.parentNode;if(o==this.dom)break;n==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?n=-1:n=1),e=o}n<0?r=e:r=e.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!t.get(r);)r=r.nextSibling;if(!r)return this.length;for(let n=0,o=0;;n++){let s=this.children[n];if(s.dom==r)return o;o+=s.length+s.breakAfter}}domBoundsAround(e,i,r=0){let n=-1,o=-1,s=-1,a=-1;for(let l=0,c=r,u=r;l<this.children.length;l++){let f=this.children[l],d=c+f.length;if(c<e&&d>i)return f.domBoundsAround(e,i,c);if(d>=e&&n==-1&&(n=l,o=c),c>i&&f.dom.parentNode==this.dom){s=l,a=u;break}u=d,c=d+f.breakAfter}return{from:o,to:a<0?r+this.length:a,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s<this.children.length&&s>=0?this.children[s].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,r=xy){this.markDirty();for(let n=e;n<i;n++){let o=this.children[n];o.parent==this&&r.indexOf(o)<0&&o.destroy()}this.children.splice(e,i-e,...r);for(let n=0;n<r.length;n++)r[n].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new vp(this.children,e,this.children.length)}childPos(e,i=1){return this.childCursor().findPos(e,i)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,i,r,n,o,s){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}};gt.prototype.breakAfter=0;function P5(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}var vp=class{constructor(e,i,r){this.children=e,this.pos=i,this.i=r,this.off=0}findPos(e,i=1){for(;;){if(e>this.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}};function bC(t,e,i,r,n,o,s,a,l){let{children:c}=t,u=c.length?c[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:s;if(!(e==r&&u&&!s&&!d&&o.length<2&&u.merge(i,n,o.length?f:null,i==0,a,l))){if(r<c.length){let p=c[r];p&&(n<p.length||p.breakAfter&&(f!=null&&f.breakAfter))?(e==r&&(p=p.split(n),n=0),!d&&f&&p.merge(0,n,f,!0,0,l)?o[o.length-1]=p:((n||p.children.length&&!p.children[0].length)&&p.merge(0,n,null,!1,0,l),o.push(p))):p!=null&&p.breakAfter&&(f?f.breakAfter=1:s=1),r++}for(u&&(u.breakAfter=s,i>0&&(!s&&o.length&&u.merge(i,u.length,o[0],!1,a,0)?u.breakAfter=o.shift().breakAfter:(i<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(i,u.length,null,!1,a,0),e++));e<r&&o.length;)if(c[r-1].become(o[o.length-1]))r--,o.pop(),l=o.length?0:a;else if(c[e].become(o[0]))e++,o.shift(),a=o.length?0:l;else break;!o.length&&e&&r<c.length&&!c[e-1].breakAfter&&c[r].merge(0,0,c[e-1],!1,a,l)&&e--,(e<r||o.length)&&t.replaceChildren(e,r,o)}}function yC(t,e,i,r,n,o){let s=t.childCursor(),{i:a,off:l}=s.findPos(i,1),{i:c,off:u}=s.findPos(e,-1),f=e-i;for(let d of r)f+=d.length;t.length+=f,bC(t,c,u,a,l,r,0,n,o)}var zi=typeof navigator!="undefined"?navigator:{userAgent:"",vendor:"",platform:""},X1=typeof document!="undefined"?document:{documentElement:{style:{}}},R1=/Edge\/(\d+)/.exec(zi.userAgent),xC=/MSIE \d/.test(zi.userAgent),L1=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(zi.userAgent),Rp=!!(xC||L1||R1),_5=!Rp&&/gecko\/(\d+)/i.test(zi.userAgent),S1=!Rp&&/Chrome\/(\d+)/.exec(zi.userAgent),Q5="webkitFontSmoothing"in X1.documentElement.style,vC=!Rp&&/Apple Computer/.test(zi.vendor),A5=vC&&(/Mobile\/\w+/.test(zi.userAgent)||zi.maxTouchPoints>2),Te={mac:A5||/Mac/.test(zi.platform),windows:/Win/.test(zi.platform),linux:/Linux|X11/.test(zi.platform),ie:Rp,ie_version:xC?X1.documentMode||6:L1?+L1[1]:R1?+R1[1]:0,gecko:_5,gecko_version:_5?+(/Firefox\/(\d+)/.exec(zi.userAgent)||[0,0])[1]:0,chrome:!!S1,chrome_version:S1?+S1[1]:0,ios:A5,android:/Android\b/.test(zi.userAgent),webkit:Q5,safari:vC,webkit_version:Q5?+(/\bAppleWebKit\/(\d+)/.exec(zi.userAgent)||[0,0])[1]:0,tabSize:X1.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"},jq=256,ln=class t extends gt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,r){return this.flags&8||r&&(!(r instanceof t)||this.length-(i-e)+r.length>jq||r.flags&8)?!1:(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new t(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new $i(this.dom,e)}domBoundsAround(e,i,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return qq(this.dom,e,i)}},Mo=class t extends gt{constructor(e,i=[],r=0){super(),this.mark=e,this.children=i,this.length=r;for(let n of i)n.setParent(this)}setAttrs(e){if(pC(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,r,n,o,s){return r&&(!(r instanceof t&&r.mark.eq(this.mark))||e&&o<=0||i<this.length&&s<=0)?!1:(yC(this,e,i,r?r.children.slice():[],o-1,s-1),this.markDirty(),!0)}split(e){let i=[],r=0,n=-1,o=0;for(let a of this.children){let l=r+a.length;l>e&&i.push(r<e?a.split(e-r):a),n<0&&r>=e&&(n=o),r=l,o++}let s=this.length-e;return this.length=e,n>-1&&(this.children.length=n,this.markDirty()),new t(this.mark,i,s)}domAtPos(e){return wC(this,e)}coordsAt(e,i){return SC(this,e,i)}};function qq(t,e,i){let r=t.nodeValue.length;e>r&&(e=r);let n=e,o=e,s=0;e==0&&i<0||e==r&&i>=0?Te.chrome||Te.gecko||(e?(n--,s=1):o<r&&(o++,s=-1)):i<0?n--:o<r&&o++;let a=Ns(t,n,o).getClientRects();if(!a.length)return null;let l=a[(s?s<0:i>=0)?0:a.length-1];return Te.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),s?yy(l,s<0):l||null}var Su=class t extends gt{static create(e,i,r){return new t(e,i,r)}constructor(e,i,r){super(),this.widget=e,this.length=i,this.side=r,this.prevWidget=null}split(e){let i=t.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,i,r,n,o,s){return r&&(!(r instanceof t)||!this.widget.compare(r.widget)||e>0&&o<=0||i<this.length&&s<=0)?!1:(this.length=e+(r?r.length:0)+(this.length-i),!0)}become(e){return e instanceof t&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return Ge.empty;let e=this;for(;e.parent;)e=e.parent;let{view:i}=e,r=i&&i.state.doc,n=this.posAtStart;return r?r.slice(n,n+this.length):Ge.empty}domAtPos(e){return(this.length?e==0:this.side>0)?$i.before(this.dom):$i.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let r=this.widget.coordsAt(this.dom,e,i);if(r)return r;let n=this.dom.getClientRects(),o=null;if(!n.length)return null;let s=this.side?this.side<0:e>0;for(let a=s?n.length-1:0;o=n[a],!(e>0?a==0:a==n.length-1||o.top<o.bottom);a+=s?-1:1);return yy(o,!s)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},Tu=class t extends gt{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof t&&e.side==this.side}split(){return new t(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?$i.before(this.dom):$i.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Ge.empty}get isHidden(){return!0}};ln.prototype.children=Su.prototype.children=Tu.prototype.children=xy;function wC(t,e){let i=t.dom,{children:r}=t,n=0;for(let o=0;n<r.length;n++){let s=r[n],a=o+s.length;if(!(a==o&&s.getSide()<=0)){if(e>o&&e<a&&s.dom.parentNode==i)return s.domAtPos(e-o);if(e<=o)break;o=a}}for(let o=n;o>0;o--){let s=r[o-1];if(s.dom.parentNode==i)return s.domAtPos(s.length)}for(let o=n;o<r.length;o++){let s=r[o];if(s.dom.parentNode==i)return s.domAtPos(0)}return new $i(i,0)}function kC(t,e,i){let r,{children:n}=t;i>0&&e instanceof Mo&&n.length&&(r=n[n.length-1])instanceof Mo&&r.mark.eq(e.mark)?kC(r,e.children[0],i-1):(n.push(e),e.setParent(t)),t.length+=e.length}function SC(t,e,i){let r=null,n=-1,o=null,s=-1;function a(c,u){for(let f=0,d=0;f<c.children.length&&d<=u;f++){let p=c.children[f],g=d+p.length;g>=u&&(p.children.length?a(p,u-d):(!o||o.isHidden&&i>0)&&(g>u||d==g&&p.getSide()>0)?(o=p,s=u-d):(d<u||d==g&&p.getSide()<0&&!p.isHidden)&&(r=p,n=u-d)),d=g}}a(t,e);let l=(i<0?r:o)||r||o;return l?l.coordsAt(Math.max(0,l==r?n:s),i):Wq(t)}function Wq(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let i=ku(e);return i[i.length-1]||null}function I1(t,e){for(let i in t)i=="class"&&e.class?e.class+=" "+t.class:i=="style"&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}var $5=Object.create(null);function vy(t,e,i){if(t==e)return!0;t||(t=$5),e||(e=$5);let r=Object.keys(t),n=Object.keys(e);if(r.length-(i&&r.indexOf(i)>-1?1:0)!=n.length-(i&&n.indexOf(i)>-1?1:0))return!1;for(let o of r)if(o!=i&&(n.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function D1(t,e,i){let r=!1;if(e)for(let n in e)i&&n in i||(r=!0,n=="style"?t.style.cssText="":t.removeAttribute(n));if(i)for(let n in i)e&&e[n]==i[n]||(r=!0,n=="style"?t.style.cssText=i[n]:t.setAttribute(n,i[n]));return r}function Bq(t){let e=Object.create(null);for(let i=0;i<t.attributes.length;i++){let r=t.attributes[i];e[r.name]=r.value}return e}var ai=class t extends gt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,i,r,n,o,s){if(r){if(!(r instanceof t))return!1;this.dom||r.transferDOM(this)}return n&&this.setDeco(r?r.attrs:null),yC(this,e,i,r?r.children.slice():[],o,s),!0}split(e){let i=new t;if(i.breakAfter=this.breakAfter,this.length==0)return i;let{i:r,off:n}=this.childPos(e);n&&(i.append(this.children[r].split(n),0),this.children[r].merge(n,this.children[r].length,null,!1,0,0),r++);for(let o=r;o<this.children.length;o++)i.append(this.children[o],0);for(;r>0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,i}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){vy(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){kC(this,e,i)}addLineDeco(e){let i=e.spec.attributes,r=e.spec.class;i&&(this.attrs=I1(i,this.attrs||{})),r&&(this.attrs=I1({class:r},this.attrs||{}))}domAtPos(e){return wC(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var r;this.dom?this.flags&4&&(pC(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(D1(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let n=this.dom.lastChild;for(;n&&gt.get(n)instanceof Mo;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((r=gt.get(n))===null||r===void 0?void 0:r.isEditable)==!1&&(!Te.ios||!this.children.some(o=>o instanceof ln))){let o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,i;for(let r of this.children){if(!(r instanceof ln)||/[^ -~]/.test(r.text))return null;let n=ku(r.dom);if(n.length!=1)return null;e+=n[0].width,i=n[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let r=SC(this,e,i);if(!this.children.length&&r&&this.parent){let{heightOracle:n}=this.parent.view.viewState,o=r.bottom-r.top;if(Math.abs(o-n.lineHeight)<2&&n.textHeight<o){let s=(o-n.textHeight)/2;return{top:r.top+s,bottom:r.bottom-s,left:r.left,right:r.left}}}return r}become(e){return!1}covers(){return!0}static find(e,i){for(let r=0,n=0;r<e.children.length;r++){let o=e.children[r],s=n+o.length;if(s>=i){if(o instanceof t)return o;if(s>i)break}n=s+o.breakAfter}return null}},Is=class t extends gt{constructor(e,i,r){super(),this.widget=e,this.length=i,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,i,r,n,o,s){return r&&(!(r instanceof t)||!this.widget.compare(r.widget)||e>0&&o<=0||i<this.length&&s<=0)?!1:(this.length=e+(r?r.length:0)+(this.length-i),!0)}domAtPos(e){return e==0?$i.before(this.dom):$i.after(this.dom,e==this.length)}split(e){let i=this.length-e;this.length=e;let r=new t(this.widget,i,this.deco);return r.breakAfter=this.breakAfter,r}get children(){return xy}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):Ge.empty}domBoundsAround(){return null}become(e){return e instanceof t&&e.widget.constructor==this.widget.constructor?(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,i){return this.widget.coordsAt(this.dom,e,i)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:i,endSide:r}=this.deco;return i==r?!1:e<0?i<0:r>0}},Jt=class{eq(e){return!1}updateDOM(e,i){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,i,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},ji=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(ji||(ji={})),we=class extends Ir{constructor(e,i,r,n){super(),this.startSide=e,this.endSide=i,this.widget=r,this.spec=n}get heightRelevant(){return!1}static mark(e){return new Eu(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),r=!!e.block;return i+=r&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new Uo(e,i,i,r,e.widget||null,!1)}static replace(e){let i=!!e.block,r,n;if(e.isBlockGap)r=-5e8,n=4e8;else{let{start:o,end:s}=TC(e,i);r=(o?i?-3e8:-1:5e8)-1,n=(s?i?2e8:1:-6e8)+1}return new Uo(e,r,n,i,e.widget||null,!0)}static line(e){return new Cu(e)}static set(e,i=!1){return nt.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}};we.none=nt.empty;var Eu=class t extends we{constructor(e){let{start:i,end:r}=TC(e);super(i?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,r;return this==e||e instanceof t&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((r=e.attrs)===null||r===void 0?void 0:r.class))&&vy(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}};Eu.prototype.point=!1;var Cu=class t extends we{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof t&&this.spec.class==e.spec.class&&vy(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}};Cu.prototype.mapMode=wt.TrackBefore;Cu.prototype.point=!0;var Uo=class t extends we{constructor(e,i,r,n,o,s){super(i,r,o,e),this.block=n,this.isReplace=s,this.mapMode=n?i<=0?wt.TrackBefore:wt.TrackAfter:wt.TrackDel}get type(){return this.startSide!=this.endSide?ji.WidgetRange:this.startSide<=0?ji.WidgetBefore:ji.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof t&&Zq(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}};Uo.prototype.point=!0;function TC(t,e=!1){let{inclusiveStart:i,inclusiveEnd:r}=t;return i==null&&(i=t.inclusive),r==null&&(r=t.inclusive),{start:i!=null?i:e,end:r!=null?r:e}}function Zq(t,e){return t==e||!!(t&&e&&t.compare(e))}function N1(t,e,i,r=0){let n=i.length-1;n>=0&&i[n]+r>=t?i[n]=Math.max(i[n],e):i.push(t,e)}var gu=class t{constructor(e,i,r,n){this.doc=e,this.pos=i,this.end=r,this.disallowBlockEffectsFor=n,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=i}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Is&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new ai),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(np(new Tu(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof Is)&&this.getLine()}buildText(e,i,r){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:s,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(s){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=o,this.textOff=0}let n=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-r)),this.getLine().append(np(new ln(this.text.slice(this.textOff,this.textOff+n)),i),r),this.atCursorPos=!0,this.textOff+=n,e-=n,r=0}}span(e,i,r,n){this.buildText(i-e,r,n),this.pos=i,this.openStart<0&&(this.openStart=n)}point(e,i,r,n,o,s){if(this.disallowBlockEffectsFor[s]&&r instanceof Uo){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=i-e;if(r instanceof Uo)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Is(r.widget||zo.block,a,r));else{let l=Su.create(r.widget||zo.inline,a,a?0:r.startSide),c=this.atCursorPos&&!l.isEditable&&o<=n.length&&(e<i||r.startSide>0),u=!l.isEditable&&(e<i||o>n.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(n),c&&(f.append(np(new Tu(1),n),o),o=n.length+Math.max(0,o-n.length)),f.append(np(l,n),o),this.atCursorPos=u,this.pendingBuffer=u?e<i||o>n.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=n.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=i),this.openStart<0&&(this.openStart=o)}static build(e,i,r,n,o){let s=new t(e,i,r,o);return s.openEnd=nt.spans(n,i,r,s),s.openStart<0&&(s.openStart=s.openEnd),s.finish(s.openEnd),s}};function np(t,e){for(let i of e)t=new Mo(i,[t],t.length);return t}var zo=class extends Jt{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}};zo.inline=new zo("span");zo.block=new zo("div");var ot=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(ot||(ot={})),Ms=ot.LTR,wy=ot.RTL;function EC(t){let e=[];for(let i=0;i<t.length;i++)e.push(1<<+t[i]);return e}var Vq=EC("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Yq=EC("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),M1=Object.create(null),nn=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),i=t.charCodeAt(1);M1[e]=i,M1[i]=-e}function CC(t){return t<=247?Vq[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?Yq[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}var Fq=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,sn=class{get dir(){return this.level%2?wy:Ms}constructor(e,i,r){this.from=e,this.to=i,this.level=r}side(e,i){return this.dir==i==e?this.to:this.from}forward(e,i){return e==(this.dir==i)}static find(e,i,r,n){let o=-1;for(let s=0;s<e.length;s++){let a=e[s];if(a.from<=i&&a.to>=i){if(a.level==r)return s;(o<0||(n!=0?n<0?a.from<i:a.to>i:e[o].level>a.level))&&(o=s)}}if(o<0)throw new RangeError("Index out of range");return o}};function PC(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],n=e[i];if(r.from!=n.from||r.to!=n.to||r.direction!=n.direction||!PC(r.inner,n.inner))return!1}return!0}var pt=[];function Hq(t,e,i,r,n){for(let o=0;o<=r.length;o++){let s=o?r[o-1].to:e,a=o<r.length?r[o].from:i,l=o?256:n;for(let c=s,u=l,f=l;c<a;c++){let d=CC(t.charCodeAt(c));d==512?d=u:d==8&&f==4&&(d=16),pt[c]=d==4?2:d,d&7&&(f=d),u=d}for(let c=s,u=l,f=l;c<a;c++){let d=pt[c];if(d==128)c<a-1&&u==pt[c+1]&&u&24?d=pt[c]=u:pt[c]=256;else if(d==64){let p=c+1;for(;p<a&&pt[p]==64;)p++;let g=c&&u==8||p<i&&pt[p]==8?f==1?1:8:256;for(let x=c;x<p;x++)pt[x]=g;c=p-1}else d==8&&f==1&&(pt[c]=1);u=d,d&7&&(f=d)}}}function Gq(t,e,i,r,n){let o=n==1?2:1;for(let s=0,a=0,l=0;s<=r.length;s++){let c=s?r[s-1].to:e,u=s<r.length?r[s].from:i;for(let f=c,d,p,g;f<u;f++)if(p=M1[d=t.charCodeAt(f)])if(p<0){for(let x=a-3;x>=0;x-=3)if(nn[x+1]==-p){let v=nn[x+2],S=v&2?n:v&4?v&1?o:n:0;S&&(pt[f]=pt[nn[x]]=S),a=x;break}}else{if(nn.length==189)break;nn[a++]=f,nn[a++]=d,nn[a++]=l}else if((g=pt[f])==2||g==1){let x=g==n;l=x?0:1;for(let v=a-3;v>=0;v-=3){let S=nn[v+2];if(S&2)break;if(x)nn[v+2]|=2;else{if(S&4)break;nn[v+2]|=4}}}}}function Kq(t,e,i,r){for(let n=0,o=r;n<=i.length;n++){let s=n?i[n-1].to:t,a=n<i.length?i[n].from:e;for(let l=s;l<a;){let c=pt[l];if(c==256){let u=l+1;for(;;)if(u==a){if(n==i.length)break;u=i[n++].to,a=n<i.length?i[n].from:e}else if(pt[u]==256)u++;else break;let f=o==1,d=(u<e?pt[u]:r)==1,p=f==d?f?1:2:r;for(let g=u,x=n,v=x?i[x-1].to:t;g>l;)g==v&&(g=i[--x].from,v=x?i[x-1].to:t),pt[--g]=p;l=u}else o=c,l++}}}function U1(t,e,i,r,n,o,s){let a=r%2?2:1;if(r%2==n%2)for(let l=e,c=0;l<i;){let u=!0,f=!1;if(c==o.length||l<o[c].from){let x=pt[l];x!=a&&(u=!1,f=x==16)}let d=!u&&a==1?[]:null,p=u?r:r+1,g=l;e:for(;;)if(c<o.length&&g==o[c].from){if(f)break e;let x=o[c];if(!u)for(let v=x.to,S=c+1;;){if(v==i)break e;if(S<o.length&&o[S].from==v)v=o[S++].to;else{if(pt[v]==a)break e;break}}if(c++,d)d.push(x);else{x.from>l&&s.push(new sn(l,x.from,p));let v=x.direction==Ms!=!(p%2);z1(t,v?r+1:r,n,x.inner,x.from,x.to,s),l=x.to}g=x.to}else{if(g==i||(u?pt[g]!=a:pt[g]==a))break;g++}d?U1(t,l,g,r+1,n,d,s):l<g&&s.push(new sn(l,g,p)),l=g}else for(let l=i,c=o.length;l>e;){let u=!0,f=!1;if(!c||l>o[c-1].to){let x=pt[l-1];x!=a&&(u=!1,f=x==16)}let d=!u&&a==1?[]:null,p=u?r:r+1,g=l;e:for(;;)if(c&&g==o[c-1].to){if(f)break e;let x=o[--c];if(!u)for(let v=x.from,S=c;;){if(v==e)break e;if(S&&o[S-1].to==v)v=o[--S].from;else{if(pt[v-1]==a)break e;break}}if(d)d.push(x);else{x.to<l&&s.push(new sn(x.to,l,p));let v=x.direction==Ms!=!(p%2);z1(t,v?r+1:r,n,x.inner,x.from,x.to,s),l=x.from}g=x.from}else{if(g==e||(u?pt[g-1]!=a:pt[g-1]==a))break;g--}d?U1(t,g,l,r+1,n,d,s):g<l&&s.push(new sn(g,l,p)),l=g}}function z1(t,e,i,r,n,o,s){let a=e%2?2:1;Hq(t,n,o,r,a),Gq(t,n,o,r,a),Kq(n,o,r,a),U1(t,n,o,e,i,r,s)}function Jq(t,e,i){if(!t)return[new sn(0,0,e==wy?1:0)];if(e==Ms&&!i.length&&!Fq.test(t))return _C(t.length);if(i.length)for(;t.length>pt.length;)pt[pt.length]=256;let r=[],n=e==Ms?0:1;return z1(t,n,n,i,0,t.length,r),r}function _C(t){return[new sn(0,t,0)]}var QC="";function eW(t,e,i,r,n){var o;let s=r.head-t.from,a=sn.find(e,s,(o=r.bidiLevel)!==null&&o!==void 0?o:-1,r.assoc),l=e[a],c=l.side(n,i);if(s==c){let d=a+=n?1:-1;if(d<0||d>=e.length)return null;l=e[a=d],s=l.side(!n,i),c=l.side(n,i)}let u=zt(t.text,s,l.forward(n,i));(u<l.from||u>l.to)&&(u=c),QC=t.text.slice(Math.min(s,u),Math.max(s,u));let f=a==(n?e.length-1:0)?null:e[a+(n?1:-1)];return f&&u==c&&f.level+(n?0:1)<l.level?ee.cursor(f.side(!n,i)+t.from,f.forward(n,i)?1:-1,f.level):ee.cursor(u+t.from,l.forward(n,i)?-1:1,l.level)}function tW(t,e,i){for(let r=e;r<i;r++){let n=CC(t.charCodeAt(r));if(n==1)return Ms;if(n==2||n==4)return wy}return Ms}var AC=be.define(),$C=be.define(),XC=be.define(),RC=be.define(),j1=be.define(),LC=be.define(),IC=be.define(),DC=be.define({combine:t=>t.some(e=>e)}),NC=be.define({combine:t=>t.some(e=>e)}),MC=be.define(),bu=class t{constructor(e,i="nearest",r="nearest",n=5,o=5,s=!1){this.range=e,this.y=i,this.x=r,this.yMargin=n,this.xMargin=o,this.isSnapshot=s}map(e){return e.empty?this:new t(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new t(ee.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},op=Se.define({map:(t,e)=>t.map(e)});function li(t,e,i){let r=t.facet(RC);r.length?r[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}var Lp=be.define({combine:t=>t.length?t[0]:!0}),iW=0,fu=be.define(),Fe=class t{constructor(e,i,r,n,o){this.id=e,this.create=i,this.domEventHandlers=r,this.domEventObservers=n,this.extension=o(this)}static define(e,i){let{eventHandlers:r,eventObservers:n,provide:o,decorations:s}=i||{};return new t(iW++,e,r,n,a=>{let l=[fu.of(a)];return s&&l.push(Pu.of(c=>{let u=c.plugin(a);return u?s(u):we.none})),o&&l.push(o(a)),l})}static fromClass(e,i){return t.define(r=>new e(r),i)}},yu=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(r){if(li(i.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(n){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){li(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(r){li(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},UC=be.define(),ky=be.define(),Pu=be.define(),zC=be.define(),Sy=be.define(),jC=be.define();function X5(t,e){let i=t.state.facet(jC);if(!i.length)return i;let r=i.map(o=>o instanceof Function?o(t):o),n=[];return nt.spans(r,e.from,e.to,{point(){},span(o,s,a,l){let c=o-e.from,u=s-e.from,f=n;for(let d=a.length-1;d>=0;d--,l--){let p=a[d].spec.bidiIsolate,g;if(p==null&&(p=tW(e.text,c,u)),l>0&&f.length&&(g=f[f.length-1]).to==c&&g.direction==p)g.to=u,f=g.inner;else{let x={from:c,to:u,direction:p,inner:[]};f.push(x),f=x.inner}}}}),n}var qC=be.define();function WC(t){let e=0,i=0,r=0,n=0;for(let o of t.state.facet(qC)){let s=o(t);s&&(s.left!=null&&(e=Math.max(e,s.left)),s.right!=null&&(i=Math.max(i,s.right)),s.top!=null&&(r=Math.max(r,s.top)),s.bottom!=null&&(n=Math.max(n,s.bottom)))}return{left:e,right:i,top:r,bottom:n}}var hu=be.define(),an=class t{constructor(e,i,r,n){this.fromA=e,this.toA=i,this.fromB=r,this.toB=n}join(e){return new t(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,r=this;for(;i>0;i--){let n=e[i-1];if(!(n.fromA>r.toA)){if(n.toA<r.fromA)break;r=r.join(n),e.splice(i-1,1)}}return e.splice(i,0,r),e}static extendWithRanges(e,i){if(i.length==0)return e;let r=[];for(let n=0,o=0,s=0,a=0;;n++){let l=n==e.length?null:e[n],c=s-a,u=l?l.fromB:1e9;for(;o<i.length&&i[o]<u;){let f=i[o],d=i[o+1],p=Math.max(a,f),g=Math.min(u,d);if(p<=g&&new t(p+c,g+c,p,g).addToSet(r),d>u)break;o+=2}if(!l)return r;new t(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),s=l.toA,a=l.toB}}},wp=class t{constructor(e,i,r){this.view=e,this.state=i,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=Qi.empty(this.startState.doc.length);for(let o of r)this.changes=this.changes.compose(o.changes);let n=[];this.changes.iterChangedRanges((o,s,a,l)=>n.push(new an(o,s,a,l))),this.changedRanges=n}static create(e,i,r){return new t(e,i,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}},kp=class extends gt{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new ai],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new an(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:u})=>u<this.minWidthFrom||c>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let n=-1;this.view.inputState.composing>=0&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?n=this.domChanged.newSel.head:!cW(e.changes,this.hasComposition)&&!e.selectionSet&&(n=e.state.selection.main.head));let o=n>-1?nW(this.view,e.changes,n):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;r=new an(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(r.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(Te.ie||Te.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,a=this.updateDeco(),l=aW(s,a,e.changes);return r=an.extendWithRanges(r,l),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,r);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=Te.chrome||Te.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.flags&=-8,s&&(s.written||n.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(s=>s.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let s of this.children)s instanceof Is&&s.widget instanceof Sp&&o.push(s.dom);n.updateGaps(o)}updateChildren(e,i,r){let n=r?r.range.addToSet(e.slice()):e,o=this.childCursor(i);for(let s=n.length-1;;s--){let a=s>=0?n[s]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:f}=a,d,p,g,x;if(r&&r.range.fromB<f&&r.range.toB>u){let I=gu.build(this.view.state.doc,u,r.range.fromB,this.decorations,this.dynamicDecorationMap),_=gu.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);p=I.breakAtStart,g=I.openStart,x=_.openEnd;let A=this.compositionView(r);_.breakAtStart?A.breakAfter=1:_.content.length&&A.merge(A.length,A.length,_.content[0],!1,_.openStart,0)&&(A.breakAfter=_.content[0].breakAfter,_.content.shift()),I.content.length&&A.merge(0,0,I.content[I.content.length-1],!0,0,I.openEnd)&&I.content.pop(),d=I.content.concat(A).concat(_.content)}else({content:d,breakAtStart:p,openStart:g,openEnd:x}=gu.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:v,off:S}=o.findPos(c,1),{i:T,off:$}=o.findPos(l,-1);bC(this,T,$,v,S,d,p,g,x)}r&&this.fixCompositionDOM(r)}compositionView(e){let i=new ln(e.text.nodeValue);i.flags|=8;for(let{deco:n}of e.marks)i=new Mo(n,[i],i.length);let r=new ai;return r.append(i,0),r}fixCompositionDOM(e){let i=(o,s)=>{s.flags|=8|(s.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(s);let a=gt.get(o);a&&a!=s&&(a.dom=null),s.setDOM(o)},r=this.childPos(e.range.fromB,1),n=this.children[r.i];i(e.line,n);for(let o=e.marks.length-1;o>=-1;o--)r=n.childPos(r.off,1),n=n.children[r.i],i(o>=0?e.marks[o].node:e.text,n)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,n=r==this.dom,o=!n&&dp(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(n||i||o))return;let s=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),c=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(Te.gecko&&a.empty&&!this.hasComposition&&rW(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new $i(f,0),s=!0}let u=this.view.observer.selectionRange;(s||!u.focusNode||(!mu(l.node,l.offset,u.anchorNode,u.anchorOffset)||!mu(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{Te.android&&Te.chrome&&this.dom.contains(u.focusNode)&&lW(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=yp(this.view.root);if(f)if(a.empty){if(Te.gecko){let d=oW(l.node,l.offset);if(d&&d!=3){let p=(d==1?mC:gC)(l.node,l.offset);p&&(l=new $i(p.node,p.offset))}}f.collapse(l.node,l.offset),a.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=a.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(c.node,c.offset)}catch(d){}}else{let d=document.createRange();a.anchor>a.head&&([l,c]=[c,l]),d.setEnd(c.node,c.offset),d.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new $i(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new $i(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&mu(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,r=yp(e.root),{anchorNode:n,anchorOffset:o}=e.observer.selectionRange;if(!r||!i.empty||!i.assoc||!r.modify)return;let s=ai.find(this,i.head);if(!s)return;let a=s.posAtStart;if(i.head==a||i.head==a+s.length)return;let l=this.coordsAt(i.head,-1),c=this.coordsAt(i.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(i.head+i.assoc);r.collapse(u.node,u.offset),r.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=i.from&&r.collapse(n,o)}moveToLine(e){let i=this.dom,r;if(e.node!=i)return e;for(let n=e.offset;!r&&n<i.childNodes.length;n++){let o=gt.get(i.childNodes[n]);o instanceof ai&&(r=o.domAtPos(0))}for(let n=e.offset-1;!r&&n>=0;n--){let o=gt.get(i.childNodes[n]);o instanceof ai&&(r=o.domAtPos(o.length))}return r?new $i(r.node,r.offset,!0):e}nearest(e){for(let i=e;i;){let r=gt.get(i);if(r&&r.rootView==this)return r;i=i.parentNode}return null}posFromDOM(e,i){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,i)+r.posAtStart}domAtPos(e){let{i,off:r}=this.childCursor().findPos(e,-1);for(;i<this.children.length-1;){let n=this.children[i];if(r<n.length||n instanceof ai)break;i++,r=0}return this.children[i].domAtPos(r)}coordsAt(e,i){let r=null,n=0;for(let o=this.length,s=this.children.length-1;s>=0;s--){let a=this.children[s],l=o-a.breakAfter,c=l-a.length;if(l<e)break;if(c<=e&&(c<e||a.covers(-1))&&(l>e||a.covers(1))&&(!r||a instanceof ai&&!(r instanceof ai&&i>=0)))r=a,n=c;else if(r&&c==e&&l==e&&a instanceof Is&&Math.abs(i)<2){if(a.deco.startSide<0)break;s&&(r=null)}o=c}return r?r.coordsAt(e-n,i):null}coordsForChar(e){let{i,off:r}=this.childPos(e,1),n=this.children[i];if(!(n instanceof ai))return null;for(;n.children.length;){let{i:a,off:l}=n.childPos(r,1);for(;;a++){if(a==n.children.length)return null;if((n=n.children[a]).length)break}r=l}if(!(n instanceof ln))return null;let o=zt(n.text,r);if(o==r)return null;let s=Ns(n.dom,r,o).getClientRects();for(let a=0;a<s.length;a++){let l=s[a];if(a==s.length-1||l.top<l.bottom&&l.left<l.right)return l}return null}measureVisibleLineHeights(e){let i=[],{from:r,to:n}=e,o=this.view.contentDOM.clientWidth,s=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==ot.LTR;for(let c=0,u=0;u<this.children.length;u++){let f=this.children[u],d=c+f.length;if(d>n)break;if(c>=r){let p=f.dom.getBoundingClientRect();if(i.push(p.height),s){let g=f.dom.lastChild,x=g?ku(g):[];if(x.length){let v=x[x.length-1],S=l?v.right-p.left:p.right-v.left;S>a&&(a=S,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?ot.RTL:ot.LTR}measureTextSize(){for(let o of this.children)if(o instanceof ai){let s=o.measureTextSize();if(s)return s}let e=document.createElement("div"),i,r,n;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=ku(e.firstChild)[0];i=e.getBoundingClientRect().height,r=o?o.width/27:7,n=o?o.height:i,e.remove()}),{lineHeight:i,charWidth:r,textHeight:n}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new vp(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let r=0,n=0;;n++){let o=n==i.viewports.length?null:i.viewports[n],s=o?o.from-1:this.length;if(s>r){let a=(i.lineBlockAt(s).bottom-i.lineBlockAt(r).top)/this.view.scaleY;e.push(we.replace({widget:new Sp(a),block:!0,inclusive:!0,isBlockGap:!0}).range(r,s))}if(!o)break;r=o.to+1}return we.set(e)}updateDeco(){let e=0,i=this.view.state.facet(Pu).map(o=>(this.dynamicDecorationMap[e++]=typeof o=="function")?o(this.view):o),r=!1,n=this.view.state.facet(zC).map((o,s)=>{let a=typeof o=="function";return a&&(r=!0),a?o(this.view):o});for(n.length&&(this.dynamicDecorationMap[e++]=r,i.push(nt.join(n))),this.decorations=[...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let c of this.view.state.facet(MC))try{if(c(this.view,e.range,e))return!0}catch(u){li(this.view.state,u,"scroll handler")}let{range:i}=e,r=this.coordsAt(i.head,i.empty?i.assoc:i.head>i.anchor?-1:1),n;if(!r)return;!i.empty&&(n=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(r={left:Math.min(r.left,n.left),top:Math.min(r.top,n.top),right:Math.max(r.right,n.right),bottom:Math.max(r.bottom,n.bottom)});let o=WC(this.view),s={left:r.left-o.left,top:r.top-o.top,right:r.right+o.right,bottom:r.bottom+o.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;Nq(this.view.scrollDOM,s,i.head<i.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==ot.LTR)}};function rW(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}var Sp=class extends Jt{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}};function BC(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return null;let r=mC(i.focusNode,i.focusOffset),n=gC(i.focusNode,i.focusOffset),o=r||n;if(n&&r&&n.node!=r.node){let a=gt.get(n.node);if(!a||a instanceof ln&&a.text!=n.node.nodeValue)o=n;else if(t.docView.lastCompositionAfterCursor){let l=gt.get(r.node);!l||l instanceof ln&&l.text!=r.node.nodeValue||(o=n)}}if(t.docView.lastCompositionAfterCursor=o!=r,!o)return null;let s=e-o.offset;return{from:s,to:s+o.node.nodeValue.length,node:o.node}}function nW(t,e,i){let r=BC(t,i);if(!r)return null;let{node:n,from:o,to:s}=r,a=n.nodeValue;if(/[\n\r]/.test(a)||t.state.doc.sliceString(r.from,r.to)!=a)return null;let l=e.invertedDesc,c=new an(l.mapPos(o),l.mapPos(s),o,s),u=[];for(let f=n.parentNode;;f=f.parentNode){let d=gt.get(f);if(d instanceof Mo)u.push({node:f,deco:d.mark});else{if(d instanceof ai||f.nodeName=="DIV"&&f.parentNode==t.contentDOM)return{range:c,text:n,marks:u,line:f};if(f!=t.contentDOM)u.push({node:f,deco:new Eu({inclusive:!0,attributes:Bq(f),tagName:f.tagName.toLowerCase()})});else return null}}}function oW(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e<t.childNodes.length&&t.childNodes[e].contentEditable=="false"?2:0)}var sW=class{constructor(){this.changes=[]}compareRange(e,i){N1(e,i,this.changes)}comparePoint(e,i){N1(e,i,this.changes)}};function aW(t,e,i){let r=new sW;return nt.compare(t,e,i,r),r.changes}function lW(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(i.nodeType==1&&i.contentEditable=="false")return!0;return!1}function cW(t,e){let i=!1;return e&&t.iterChangedRanges((r,n)=>{r<e.to&&n>e.from&&(i=!0)}),i}function uW(t,e,i=1){let r=t.charCategorizer(e),n=t.doc.lineAt(e),o=e-n.from;if(n.length==0)return ee.cursor(e);o==0?i=1:o==n.length&&(i=-1);let s=o,a=o;i<0?s=zt(n.text,o,!1):a=zt(n.text,o);let l=r(n.text.slice(s,a));for(;s>0;){let c=zt(n.text,s,!1);if(r(n.text.slice(c,s))!=l)break;s=c}for(;a<n.length;){let c=zt(n.text,a);if(r(n.text.slice(a,c))!=l)break;a=c}return ee.range(s+n.from,a+n.from)}function fW(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function hW(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function T1(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function R5(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function L5(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function q1(t,e,i){let r,n,o,s,a=!1,l,c,u,f;for(let g=t.firstChild;g;g=g.nextSibling){let x=ku(g);for(let v=0;v<x.length;v++){let S=x[v];n&&T1(n,S)&&(S=R5(L5(S,n.bottom),n.top));let T=fW(e,S),$=hW(i,S);if(T==0&&$==0)return g.nodeType==3?I5(g,e,i):q1(g,e,i);if(!r||s>$||s==$&&o>T){r=g,n=S,o=T,s=$;let I=$?i<S.top?-1:1:T?e<S.left?-1:1:0;a=!I||(I>0?v<x.length-1:v>0)}T==0?i>S.bottom&&(!u||u.bottom<S.bottom)?(l=g,u=S):i<S.top&&(!f||f.top>S.top)&&(c=g,f=S):u&&T1(u,S)?u=L5(u,S.bottom):f&&T1(f,S)&&(f=R5(f,S.top))}}if(u&&u.bottom>=i?(r=l,n=u):f&&f.top<=i&&(r=c,n=f),!r)return{node:t,offset:0};let d=Math.max(n.left,Math.min(n.right,e));if(r.nodeType==3)return I5(r,d,i);if(a&&r.contentEditable!="false")return q1(r,d,i);let p=Array.prototype.indexOf.call(t.childNodes,r)+(e>=(n.left+n.right)/2?1:0);return{node:t,offset:p}}function I5(t,e,i){let r=t.nodeValue.length,n=-1,o=1e9,s=0;for(let a=0;a<r;a++){let l=Ns(t,a,a+1).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(u.top==u.bottom)continue;s||(s=e-u.left);let f=(u.top>i?u.top-i:i-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&f<o){let d=e>=(u.left+u.right)/2,p=d;if((Te.chrome||Te.gecko)&&Ns(t,a).getBoundingClientRect().left==u.right&&(p=!d),f<=0)return{node:t,offset:a+(p?1:0)};n=a+(p?1:0),o=f}}}return{node:t,offset:n>-1?n:s>0?t.nodeValue.length:0}}function ZC(t,e,i,r=-1){var n,o;let s=t.contentDOM.getBoundingClientRect(),a=s.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:u,y:f}=e,d=f-a;if(d<0)return 0;if(d>c)return t.state.doc.length;for(let I=t.viewState.heightOracle.textHeight/2,_=!1;l=t.elementAtHeight(d),l.type!=ji.Text;)for(;d=r>0?l.bottom+I:l.top-I,!(d>=0&&d<=c);){if(_)return i?null:0;_=!0,r=-r}f=a+d;let p=l.from;if(p<t.viewport.from)return t.viewport.from==0?0:i?null:D5(t,s,l,u,f);if(p>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:D5(t,s,l,u,f);let g=t.dom.ownerDocument,x=t.root.elementFromPoint?t.root:g,v=x.elementFromPoint(u,f);v&&!t.contentDOM.contains(v)&&(v=null),v||(u=Math.max(s.left+1,Math.min(s.right-1,u)),v=x.elementFromPoint(u,f),v&&!t.contentDOM.contains(v)&&(v=null));let S,T=-1;if(v&&((n=t.docView.nearest(v))===null||n===void 0?void 0:n.isEditable)!=!1){if(g.caretPositionFromPoint){let I=g.caretPositionFromPoint(u,f);I&&({offsetNode:S,offset:T}=I)}else if(g.caretRangeFromPoint){let I=g.caretRangeFromPoint(u,f);I&&({startContainer:S,startOffset:T}=I,(!t.contentDOM.contains(S)||Te.safari&&dW(S,T,u)||Te.chrome&&pW(S,T,u))&&(S=void 0))}}if(!S||!t.docView.dom.contains(S)){let I=ai.find(t.docView,p);if(!I)return d>l.top+l.height/2?l.to:l.from;({node:S,offset:T}=q1(I.dom,u,f))}let $=t.docView.nearest(S);if(!$)return null;if($.isWidget&&((o=$.dom)===null||o===void 0?void 0:o.nodeType)==1){let I=$.dom.getBoundingClientRect();return e.y<I.top||e.y<=I.bottom&&e.x<=(I.left+I.right)/2?$.posAtStart:$.posAtEnd}else return $.localPosFromDOM(S,T)+$.posAtStart}function D5(t,e,i,r,n){let o=Math.round((r-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>t.defaultLineHeight*1.5){let a=t.viewState.heightOracle.textHeight,l=Math.floor((n-i.top-(t.defaultLineHeight-a)*.5)/a);o+=l*t.viewState.heightOracle.lineLength}let s=t.state.sliceDoc(i.from,i.to);return i.from+ip(s,o,t.state.tabSize)}function dW(t,e,i){let r;if(t.nodeType!=3||e!=(r=t.nodeValue.length))return!1;for(let n=t.nextSibling;n;n=n.nextSibling)if(n.nodeType!=1||n.nodeName!="BR")return!1;return Ns(t,r-1,r).getBoundingClientRect().left>i}function pW(t,e,i){if(e!=0)return!1;for(let n=t;;){let o=n.parentNode;if(!o||o.nodeType!=1||o.firstChild!=n)return!1;if(o.classList.contains("cm-line"))break;n=o}let r=t.nodeType==1?t.getBoundingClientRect():Ns(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-r.left>5}function W1(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let r of i.type)if(r.to>e||r.to==e&&(r.to==i.to||r.type==ji.Text))return r}return i}function OW(t,e,i,r){let n=W1(t,e.head),o=!r||n.type!=ji.Text||!(t.lineWrapping||n.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>n.from?e.head-1:e.head);if(o){let s=t.dom.getBoundingClientRect(),a=t.textDirectionAt(n.from),l=t.posAtCoords({x:i==(a==ot.LTR)?s.right-1:s.left+1,y:(o.top+o.bottom)/2});if(l!=null)return ee.cursor(l,i?-1:1)}return ee.cursor(i?n.to:n.from,i?-1:1)}function N5(t,e,i,r){let n=t.state.doc.lineAt(e.head),o=t.bidiSpans(n),s=t.textDirectionAt(n.from);for(let a=e,l=null;;){let c=eW(n,o,s,a,i),u=QC;if(!c){if(n.number==(i?t.state.doc.lines:1))return a;u=`
`,n=t.state.doc.line(n.number+(i?1:-1)),o=t.bidiSpans(n),c=t.visualLineSide(n,!i)}if(l){if(!l(u))return a}else{if(!r)return c;l=r(u)}a=c}}function mW(t,e,i){let r=t.state.charCategorizer(e),n=r(i);return o=>{let s=r(o);return n==dt.Space&&(n=s),n==s}}function gW(t,e,i,r){let n=e.head,o=i?1:-1;if(n==(i?t.state.doc.length:0))return ee.cursor(n,e.assoc);let s=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(n,e.assoc||-1),u=t.documentTop;if(c)s==null&&(s=c.left-l.left),a=o<0?c.top:c.bottom;else{let p=t.viewState.lineBlockAt(n);s==null&&(s=Math.min(l.right-l.left,t.defaultCharacterWidth*(n-p.from))),a=(o<0?p.top:p.bottom)+u}let f=l.left+s,d=r!=null?r:t.viewState.heightOracle.textHeight>>1;for(let p=0;;p+=10){let g=a+(d+p)*o,x=ZC(t,{x:f,y:g},!1,o);if(g<l.top||g>l.bottom||(o<0?x<n:x>n)){let v=t.docView.coordsForChar(x),S=!v||g<v.top?-1:1;return ee.cursor(x,S,void 0,s)}}}function pp(t,e,i){for(;;){let r=0;for(let n of t)n.between(e-1,e+1,(o,s,a)=>{if(e>o&&e<s){let l=r||i||(e-o<s-e?-1:1);e=l<0?o:s,r=l}});if(!r)return e}}function E1(t,e,i){let r=pp(t.state.facet(Sy).map(n=>n(t)),i.from,e.head>i.from?-1:1);return r==i.from?i:ee.cursor(r,r<i.from?1:-1)}var B1=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,Te.safari&&e.contentDOM.addEventListener("input",()=>null),Te.gecko&&$W(e.contentDOM.ownerDocument)}handleEvent(e){!SW(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,i){let r=this.handlers[e];if(r){for(let n of r.observers)n(this.view,i);for(let n of r.handlers){if(i.defaultPrevented)break;if(n(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=bW(e),r=this.handlers,n=this.view.contentDOM;for(let o in i)if(o!="scroll"){let s=!i[o].handlers.length,a=r[o];a&&s!=!a.handlers.length&&(n.removeEventListener(o,this.handleEvent),a=null),a||n.addEventListener(o,this.handleEvent,{passive:s})}for(let o in r)o!="scroll"&&!i[o]&&n.removeEventListener(o,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&YC.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),Te.android&&Te.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let i;return Te.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((i=VC.find(r=>r.keyCode==e.keyCode))&&!e.ctrlKey||yW.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let i=this.pendingIOSKey;return!i||i.key=="Enter"&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,ol(this.view.contentDOM,i.key,i.keyCode,i instanceof KeyboardEvent?i:void 0))}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Te.safari&&!Te.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}};function M5(t,e){return(i,r)=>{try{return e.call(t,r,i)}catch(n){li(i.state,n)}}}function bW(t){let e=Object.create(null);function i(r){return e[r]||(e[r]={observers:[],handlers:[]})}for(let r of t){let n=r.spec;if(n&&n.domEventHandlers)for(let o in n.domEventHandlers){let s=n.domEventHandlers[o];s&&i(o).handlers.push(M5(r.value,s))}if(n&&n.domEventObservers)for(let o in n.domEventObservers){let s=n.domEventObservers[o];s&&i(o).observers.push(M5(r.value,s))}}for(let r in Dr)i(r).handlers.push(Dr[r]);for(let r in gr)i(r).observers.push(gr[r]);return e}var VC=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],yW="dthko",YC=[16,17,18,20,91,92,224,225],sp=6;function ap(t){return Math.max(0,t)*.7+8}function xW(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}var Z1=class{constructor(e,i,r,n){this.view=e,this.startEvent=i,this.style=r,this.mustSelect=n,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParent=Mq(e.contentDOM),this.atoms=e.state.facet(Sy).map(s=>s(e));let o=e.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(rt.allowMultipleSelections)&&vW(e,i),this.dragging=kW(e,i)&&KC(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var i;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&xW(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let r=0,n=0,o=((i=this.scrollParent)===null||i===void 0?void 0:i.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},s=WC(this.view);e.clientX-s.left<=o.left+sp?r=-ap(o.left-e.clientX):e.clientX+s.right>=o.right-sp&&(r=ap(e.clientX-o.right)),e.clientY-s.top<=o.top+sp?n=-ap(o.top-e.clientY):e.clientY+s.bottom>=o.bottom-sp&&(n=ap(e.clientY-o.bottom)),this.setScrollSpeed(r,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let r=0;r<e.ranges.length;r++){let n=e.ranges[r],o=null;if(n.empty){let s=pp(this.atoms,n.from,0);s!=n.from&&(o=ee.cursor(s,-1))}else{let s=pp(this.atoms,n.from,-1),a=pp(this.atoms,n.to,1);(s!=n.from||a!=n.to)&&(o=ee.range(n.from==n.anchor?s:a,n.from==n.head?s:a))}o&&(i||(i=e.ranges.slice()),i[r]=o)}return i?ee.create(i,e.mainIndex):e}select(e){let{view:i}=this,r=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!r.eq(i.state.selection,this.dragging===!1))&&this.view.dispatch({selection:r,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(i=>i.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};function vW(t,e){let i=t.state.facet(AC);return i.length?i[0](e):Te.mac?e.metaKey:e.ctrlKey}function wW(t,e){let i=t.state.facet($C);return i.length?i[0](e):Te.mac?!e.altKey:!e.ctrlKey}function kW(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let r=yp(t.root);if(!r||r.rangeCount==0)return!0;let n=r.getRangeAt(0).getClientRects();for(let o=0;o<n.length;o++){let s=n[o];if(s.left<=e.clientX&&s.right>=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}function SW(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,r;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(r=gt.get(i))&&r.ignoreEvent(e))return!1;return!0}var Dr=Object.create(null),gr=Object.create(null),FC=Te.ie&&Te.ie_version<15||Te.ios&&Te.webkit_version<604;function TW(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),HC(t,i.value)},50)}function HC(t,e){let{state:i}=t,r,n=1,o=i.toText(e),s=o.lines==i.selection.ranges.length;if(V1!=null&&i.selection.ranges.every(l=>l.empty)&&V1==o.toString()){let l=-1;r=i.changeByRange(c=>{let u=i.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=i.toText((s?o.line(n++).text:e)+i.lineBreak);return{changes:{from:u.from,insert:f},range:ee.cursor(c.from+f.length)}})}else s?r=i.changeByRange(l=>{let c=o.line(n++);return{changes:{from:l.from,to:l.to,insert:c.text},range:ee.cursor(l.from+c.length)}}):r=i.replaceSelection(o);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}gr.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Dr.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);gr.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};gr.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Dr.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let r of t.state.facet(XC))if(i=r(t,e),i)break;if(!i&&e.button==0&&(i=PW(t,e)),i){let r=!t.hasFocus;t.inputState.startMouseSelection(new Z1(t,e,i,r)),r&&t.observer.ignore(()=>{dC(t.contentDOM);let o=t.root.activeElement;o&&!o.contains(t.contentDOM)&&o.blur()});let n=t.inputState.mouseSelection;if(n)return n.start(e),n.dragging===!1}return!1};function U5(t,e,i,r){if(r==1)return ee.cursor(e,i);if(r==2)return uW(t.state,e,i);{let n=ai.find(t.docView,e),o=t.state.doc.lineAt(n?n.posAtEnd:e),s=n?n.posAtStart:o.from,a=n?n.posAtEnd:o.to;return a<t.state.doc.length&&a==o.to&&a++,ee.range(s,a)}}var GC=(t,e)=>t>=e.top&&t<=e.bottom,z5=(t,e,i)=>GC(e,i)&&t>=i.left&&t<=i.right;function EW(t,e,i,r){let n=ai.find(t.docView,e);if(!n)return 1;let o=e-n.posAtStart;if(o==0)return 1;if(o==n.length)return-1;let s=n.coordsAt(o,-1);if(s&&z5(i,r,s))return-1;let a=n.coordsAt(o,1);return a&&z5(i,r,a)?1:s&&GC(r,s)?-1:1}function j5(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:EW(t,i,e.clientX,e.clientY)}}var CW=Te.ie&&Te.ie_version<=11,q5=null,W5=0,B5=0;function KC(t){if(!CW)return t.detail;let e=q5,i=B5;return q5=t,B5=Date.now(),W5=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(W5+1)%3:1}function PW(t,e){let i=j5(t,e),r=KC(e),n=t.state.selection;return{update(o){o.docChanged&&(i.pos=o.changes.mapPos(i.pos),n=n.map(o.changes))},get(o,s,a){let l=j5(t,o),c,u=U5(t,l.pos,l.bias,r);if(i.pos!=l.pos&&!s){let f=U5(t,i.pos,i.bias,r),d=Math.min(f.from,u.from),p=Math.max(f.to,u.to);u=d<u.from?ee.range(d,p):ee.range(p,d)}return s?n.replaceRange(n.main.extend(u.from,u.to)):a&&r==1&&n.ranges.length>1&&(c=_W(n,l.pos))?c:a?n.addRange(u):ee.create([u])}}}function _W(t,e){for(let i=0;i<t.ranges.length;i++){let{from:r,to:n}=t.ranges[i];if(r<=e&&n>=e)return ee.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Dr.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let n=t.docView.nearest(e.target);if(n&&n.isWidget){let o=n.posAtStart,s=o+n.length;(o>=i.to||s<=i.from)&&(i=ee.range(o,s))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Dr.dragend=t=>(t.inputState.draggedContent=null,!1);function Z5(t,e,i,r){if(!i)return;let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,s=r&&o&&wW(t,e)?{from:o.from,to:o.to}:null,a={from:n,insert:i},l=t.state.changes(s?[s,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(n,-1),head:l.mapPos(n,1)},userEvent:s?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Dr.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let r=Array(i.length),n=0,o=()=>{++n==i.length&&Z5(t,e,r.filter(s=>s!=null).join(t.state.lineBreak),!1)};for(let s=0;s<i.length;s++){let a=new FileReader;a.onerror=o,a.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(r[s]=a.result),o()},a.readAsText(i[s])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return Z5(t,e,r,!0),!0}return!1};Dr.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=FC?null:e.clipboardData;return i?(HC(t,i.getData("text/plain")||i.getData("text/uri-list")),!0):(TW(t),!1)};function QW(t,e){let i=t.dom.parentNode;if(!i)return;let r=i.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}function AW(t){let e=[],i=[],r=!1;for(let n of t.selection.ranges)n.empty||(e.push(t.sliceDoc(n.from,n.to)),i.push(n));if(!e.length){let n=-1;for(let{from:o}of t.selection.ranges){let s=t.doc.lineAt(o);s.number>n&&(e.push(s.text),i.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),n=s.number}r=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:r}}var V1=null;Dr.copy=Dr.cut=(t,e)=>{let{text:i,ranges:r,linewise:n}=AW(t.state);if(!i&&!n)return!1;V1=n?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=FC?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",i),!0):(QW(t,i),!1)};var JC=xi.define();function eP(t,e){let i=[];for(let r of t.facet(IC)){let n=r(t,e);n&&i.push(n)}return i?t.update({effects:i,annotations:JC.of(!0)}):null}function tP(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=eP(t.state,e);i?t.dispatch(i):t.update([])}},10)}gr.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),tP(t)};gr.blur=t=>{t.observer.clearSelectionRange(),tP(t)};gr.compositionstart=gr.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)};gr.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,Te.chrome&&Te.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};gr.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Dr.beforeinput=(t,e)=>{var i;let r;if(Te.chrome&&Te.android&&(r=VC.find(n=>n.inputType==e.inputType))&&(t.observer.delayAndroidKey(r.key,r.keyCode),r.key=="Backspace"||r.key=="Delete")){let n=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var o;(((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0)>n+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return Te.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),Te.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>gr.compositionend(t,e),20),!1};var V5=new Set;function $W(t){V5.has(t)||(V5.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}var Y5=["pre-wrap","normal","pre-line","break-spaces"],Y1=class{constructor(e){this.lineWrapping=e,this.doc=Ge.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,i){let r=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((i-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Y5.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let r=0;r<e.length;r++){let n=e[r];n<0?r++:this.heightSamples[Math.floor(n*10)]||(i=!0,this.heightSamples[Math.floor(n*10)]=!0)}return i}refresh(e,i,r,n,o,s){let a=Y5.indexOf(e)>-1,l=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=i,this.charWidth=r,this.textHeight=n,this.lineLength=o,l){this.heightSamples={};for(let c=0;c<s.length;c++){let u=s[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}},F1=class{constructor(e,i){this.from=e,this.heights=i,this.index=0}get more(){return this.index<this.heights.length}},on=class t{constructor(e,i,r,n,o){this.from=e,this.length=i,this.top=r,this.height=n,this._content=o}get type(){return typeof this._content=="number"?ji.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof Uo?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let i=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new t(this.from,this.length+e.length,this.top,this.height+e.height,i)}},yt=function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t}(yt||(yt={})),Op=.001,Ji=class t{constructor(e,i,r=2){this.length=e,this.height=i,this.flags=r}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,i){this.height!=i&&(Math.abs(this.height-i)>Op&&(e.heightChanged=!0),this.height=i)}replace(e,i,r){return t.of(r)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,r,n){let o=this,s=r.doc;for(let a=n.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:f}=n[a],d=o.lineAt(l,yt.ByPosNoHeight,r.setDoc(i),0,0),p=d.to>=c?d:o.lineAt(c,yt.ByPosNoHeight,r,0,0);for(f+=p.to-c,c=p.to;a>0&&d.from<=n[a-1].toA;)l=n[a-1].fromA,u=n[a-1].fromB,a--,l<d.from&&(d=o.lineAt(l,yt.ByPosNoHeight,r,0,0));u+=d.from-l,l=d.from;let g=G1.build(r.setDoc(s),e,u,f);o=o.replace(l,c,g)}return o.updateHeight(r,0)}static empty(){return new mr(0,0)}static of(e){if(e.length==1)return e[0];let i=0,r=e.length,n=0,o=0;for(;;)if(i==r)if(n>o*2){let a=e[i-1];a.break?e.splice(--i,1,a.left,null,a.right):e.splice(--i,1,a.left,a.right),r+=1+a.break,n-=a.size}else if(o>n*2){let a=e[r];a.break?e.splice(r,1,a.left,null,a.right):e.splice(r,1,a.left,a.right),r+=2+a.break,o-=a.size}else break;else if(n<o){let a=e[i++];a&&(n+=a.size)}else{let a=e[--r];a&&(o+=a.size)}let s=0;return e[i-1]==null?(s=1,i--):e[i]==null&&(s=1,r++),new H1(t.of(e.slice(0,i)),s,t.of(e.slice(r)))}};Ji.prototype.size=1;var Tp=class extends Ji{constructor(e,i,r){super(e,i),this.deco=r}blockAt(e,i,r,n){return new on(n,this.length,r,this.height,this.deco||0)}lineAt(e,i,r,n,o){return this.blockAt(0,r,n,o)}forEachLine(e,i,r,n,o,s){e<=o+this.length&&i>=o&&s(this.blockAt(0,r,n,o))}updateHeight(e,i=0,r=!1,n){return n&&n.from<=i&&n.more&&this.setHeight(e,n.heights[n.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},mr=class t extends Tp{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,r,n){return new on(n,this.length,r,this.height,this.breaks)}replace(e,i,r){let n=r[0];return r.length==1&&(n instanceof t||n instanceof No&&n.flags&4)&&Math.abs(this.length-n.length)<10?(n instanceof No?n=new t(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):Ji.of(r)}updateHeight(e,i=0,r=!1,n){return n&&n.from<=i&&n.more?this.setHeight(e,n.heights[n.index++]):(r||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}},No=class t extends Ji{constructor(e){super(e,0)}heightMetrics(e,i){let r=e.doc.lineAt(i).number,n=e.doc.lineAt(i+this.length).number,o=n-r+1,s,a=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);s=l/o,this.length>o+1&&(a=(this.height-l)/(this.length-o-1))}else s=this.height/o;return{firstLine:r,lastLine:n,perLine:s,perChar:a}}blockAt(e,i,r,n){let{firstLine:o,lastLine:s,perLine:a,perChar:l}=this.heightMetrics(i,n);if(i.lineWrapping){let c=n+(e<i.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-r)/this.height))*this.length)),u=i.doc.lineAt(c),f=a+u.length*l,d=Math.max(r,e-f/2);return new on(u.from,u.length,d,f,0)}else{let c=Math.max(0,Math.min(s-o,Math.floor((e-r)/a))),{from:u,length:f}=i.doc.line(o+c);return new on(u,f,r+a*c,a,0)}}lineAt(e,i,r,n,o){if(i==yt.ByHeight)return this.blockAt(e,r,n,o);if(i==yt.ByPosNoHeight){let{from:p,to:g}=r.doc.lineAt(e);return new on(p,g-p,0,0,0)}let{firstLine:s,perLine:a,perChar:l}=this.heightMetrics(r,o),c=r.doc.lineAt(e),u=a+c.length*l,f=c.number-s,d=n+a*f+l*(c.from-o-f);return new on(c.from,c.length,Math.max(n,Math.min(d,n+this.height-u)),u,0)}forEachLine(e,i,r,n,o,s){e=Math.max(e,o),i=Math.min(i,o+this.length);let{firstLine:a,perLine:l,perChar:c}=this.heightMetrics(r,o);for(let u=e,f=n;u<=i;){let d=r.doc.lineAt(u);if(u==e){let g=d.number-a;f+=l*g+c*(e-o-g)}let p=l+c*d.length;s(new on(d.from,d.length,f,p,0)),f+=p,u=d.to+1}}replace(e,i,r){let n=this.length-i;if(n>0){let o=r[r.length-1];o instanceof t?r[r.length-1]=new t(o.length+n):r.push(null,new t(n-1))}if(e>0){let o=r[0];o instanceof t?r[0]=new t(e+o.length):r.unshift(new t(e-1),null)}return Ji.of(r)}decomposeLeft(e,i){i.push(new t(e-1),null)}decomposeRight(e,i){i.push(null,new t(this.length-e-1))}updateHeight(e,i=0,r=!1,n){let o=i+this.length;if(n&&n.from<=i+this.length&&n.more){let s=[],a=Math.max(i,n.from),l=-1;for(n.from>i&&s.push(new t(n.from-i-1).updateHeight(e,i));a<=o&&n.more;){let u=e.doc.lineAt(a).length;s.length&&s.push(null);let f=n.heights[n.index++];l==-1?l=f:Math.abs(f-l)>=Op&&(l=-2);let d=new mr(u,f);d.outdated=!1,s.push(d),a+=u+1}a<=o&&s.push(null,new t(o-a).updateHeight(e,a));let c=Ji.of(s);return(l<0||Math.abs(c.height-this.height)>=Op||Math.abs(l-this.heightMetrics(e,i).perLine)>=Op)&&(e.heightChanged=!0),c}else(r||this.outdated)&&(this.setHeight(e,e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},H1=class extends Ji{constructor(e,i,r){super(e.length+i+r.length,e.height+r.height,i|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,i,r,n){let o=r+this.left.height;return e<o?this.left.blockAt(e,i,r,n):this.right.blockAt(e,i,o,n+this.left.length+this.break)}lineAt(e,i,r,n,o){let s=n+this.left.height,a=o+this.left.length+this.break,l=i==yt.ByHeight?e<s:e<a,c=l?this.left.lineAt(e,i,r,n,o):this.right.lineAt(e,i,r,s,a);if(this.break||(l?c.to<a:c.from>a))return c;let u=i==yt.ByPosNoHeight?yt.ByPosNoHeight:yt.ByPos;return l?c.join(this.right.lineAt(a,u,r,s,a)):this.left.lineAt(a,u,r,n,o).join(c)}forEachLine(e,i,r,n,o,s){let a=n+this.left.height,l=o+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,i,r,n,o,s),i>=l&&this.right.forEachLine(e,i,r,a,l,s);else{let c=this.lineAt(l,yt.ByPos,r,n,o);e<c.from&&this.left.forEachLine(e,c.from-1,r,n,o,s),c.to>=e&&c.from<=i&&s(c),i>c.to&&this.right.forEachLine(c.to+1,i,r,a,l,s)}}replace(e,i,r){let n=this.left.length+this.break;if(i<n)return this.balanced(this.left.replace(e,i,r),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-n,i-n,r));let o=[];e>0&&this.decomposeLeft(e,o);let s=o.length;for(let a of r)o.push(a);if(e>0&&F5(o,s-1),i<this.length){let a=o.length;this.decomposeRight(i,o),F5(o,a)}return Ji.of(o)}decomposeLeft(e,i){let r=this.left.length;if(e<=r)return this.left.decomposeLeft(e,i);i.push(this.left),this.break&&(r++,e>=r&&i.push(null)),e>r&&this.right.decomposeLeft(e-r,i)}decomposeRight(e,i){let r=this.left.length,n=r+this.break;if(e>=n)return this.right.decomposeRight(e-n,i);e<r&&this.left.decomposeRight(e,i),this.break&&e<n&&i.push(null),i.push(this.right)}balanced(e,i){return e.size>2*i.size||i.size>2*e.size?Ji.of(this.break?[e,null,i]:[e,i]):(this.left=e,this.right=i,this.height=e.height+i.height,this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,r=!1,n){let{left:o,right:s}=this,a=i+o.length+this.break,l=null;return n&&n.from<=i+o.length&&n.more?l=o=o.updateHeight(e,i,r,n):o.updateHeight(e,i,r),n&&n.from<=a+s.length&&n.more?l=s=s.updateHeight(e,a,r,n):s.updateHeight(e,a,r),l?this.balanced(o,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}};function F5(t,e){let i,r;t[e]==null&&(i=t[e-1])instanceof No&&(r=t[e+1])instanceof No&&t.splice(e-1,3,new No(i.length+1+r.length))}var XW=5,G1=class t{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let r=Math.min(i,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof mr?n.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new mr(r-this.pos,-1)),this.writtenTo=r,i>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,r){if(e<i||r.heightRelevant){let n=r.widget?r.widget.estimatedHeight:0,o=r.widget?r.widget.lineBreaks:0;n<0&&(n=this.oracle.lineHeight);let s=i-e;r.block?this.addBlock(new Tp(s,n,r)):(s||o||n>=XW)&&this.addLineDeco(n,o,s)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new mr(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let r=new No(i-e);return this.oracle.doc.lineAt(e).to==i&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof mr)return e;let i=new mr(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,r){let n=this.ensureLine();n.length+=r,n.collapsed+=r,n.widgetHeight=Math.max(n.widgetHeight,e),n.breaks+=i,this.writtenTo=this.pos=this.pos+r}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof mr)&&!this.isCovered?this.nodes.push(new mr(0,-1)):(this.writtenTo<this.pos||i==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let r=e;for(let n of this.nodes)n instanceof mr&&n.updateHeight(this.oracle,r),r+=n?n.length:1;return this.nodes}static build(e,i,r,n){let o=new t(r,e);return nt.spans(i,r,n,o,0),o.finish(r)}};function RW(t,e,i){let r=new K1;return nt.compare(t,e,i,r,0),r.changes}var K1=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,i,r,n){(e<i||r&&r.heightRelevant||n&&n.heightRelevant)&&N1(e,i,this.changes,5)}};function LW(t,e){let i=t.getBoundingClientRect(),r=t.ownerDocument,n=r.defaultView||window,o=Math.max(0,i.left),s=Math.min(n.innerWidth,i.right),a=Math.max(0,i.top),l=Math.min(n.innerHeight,i.bottom);for(let c=t.parentNode;c&&c!=r.body;)if(c.nodeType==1){let u=c,f=window.getComputedStyle(u);if((u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth)&&f.overflow!="visible"){let d=u.getBoundingClientRect();o=Math.max(o,d.left),s=Math.min(s,d.right),a=Math.max(a,d.top),l=c==t.parentNode?d.bottom:Math.min(l,d.bottom)}c=f.position=="absolute"||f.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:o-i.left,right:Math.max(o,s)-i.left,top:a-(i.top+e),bottom:Math.max(a,l)-(i.top+e)}}function IW(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}var xu=class{constructor(e,i,r){this.from=e,this.to=i,this.size=r}static same(e,i){if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],o=i[r];if(n.from!=o.from||n.to!=o.to||n.size!=o.size)return!1}return!0}draw(e,i){return we.replace({widget:new J1(this.size*(i?e.scaleY:e.scaleX),i)}).range(this.from,this.to)}},J1=class extends Jt{constructor(e,i){super(),this.size=e,this.vertical=i}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}},Ep=class{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=H5,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=ot.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let i=e.facet(ky).some(r=>typeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new Y1(i),this.stateDeco=e.facet(Pu).filter(r=>typeof r!="function"),this.heightMap=Ji.empty().applyChanges(this.stateDeco,Ge.empty,this.heightOracle.setDoc(e.doc),[new an(0,0,0,e.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=we.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let r=0;r<=1;r++){let n=r?i.head:i.anchor;if(!e.some(({from:o,to:s})=>n>=o&&n<=s)){let{from:o,to:s}=this.lineBlockAt(n);e.push(new il(o,s))}}return this.viewports=e.sort((r,n)=>r.from-n.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?H5:new ey(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(du(e,this.scaler))})}update(e,i=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(Pu).filter(u=>typeof u!="function");let n=e.changedRanges,o=an.extendWithRanges(n,RW(r,this.stateDeco,e?e.changes:Qi.empty(this.state.doc.length))),s=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),this.heightMap.height!=s&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.head<l.from||i.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,i));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(NC)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let i=e.contentDOM,r=window.getComputedStyle(i),n=this.heightOracle,o=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?ot.RTL:ot.LTR;let s=this.heightOracle.mustRefreshForWrapping(o),a=i.getBoundingClientRect(),l=s||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:I,scaleY:_}=hC(i,a);(I>.005&&Math.abs(this.scaleX-I)>.005||_>.005&&Math.abs(this.scaleY-_)>.005)&&(this.scaleX=I,this.scaleY=_,c|=8,s=l=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,d=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(n.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let p=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,this.scrollTop=p),this.scrolledToBottom=OC(e.scrollDOM);let g=(this.printing?IW:LW)(i,this.paddingTop),x=g.top-this.pixelViewport.top,v=g.bottom-this.pixelViewport.bottom;this.pixelViewport=g;let S=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(S!=this.inView&&(this.inView=S,S&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let T=a.width;if((this.contentDOMWidth!=T||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let I=e.docView.measureVisibleLineHeights(this.viewport);if(n.mustRefreshForHeights(I)&&(s=!0),s||n.lineWrapping&&Math.abs(T-this.contentDOMWidth)>n.charWidth){let{lineHeight:_,charWidth:A,textHeight:q}=e.docView.measureTextSize();s=_>0&&n.refresh(o,_,A,q,T/A,I),s&&(e.docView.minWidth=0,c|=8)}x>0&&v>0?u=Math.max(x,v):x<0&&v<0&&(u=Math.min(x,v)),n.heightChanged=!1;for(let _ of this.viewports){let A=_.from==this.viewport.from?I:e.docView.measureVisibleLineHeights(_);this.heightMap=(s?Ji.empty().applyChanges(this.stateDeco,Ge.empty,this.heightOracle,[new an(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(n,0,s,new F1(_.from,A))}n.heightChanged&&(c|=2)}let $=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return $&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||$)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),n=this.heightMap,o=this.heightOracle,{visibleTop:s,visibleBottom:a}=this,l=new il(n.lineAt(s-r*1e3,yt.ByHeight,o,0,0).from,n.lineAt(a+(1-r)*1e3,yt.ByHeight,o,0,0).to);if(i){let{head:c}=i.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=n.lineAt(c,yt.ByPos,o,0,0),d;i.y=="center"?d=(f.top+f.bottom)/2-u/2:i.y=="start"||i.y=="nearest"&&c<l.from?d=f.top:d=f.bottom-u,l=new il(n.lineAt(d-1e3/2,yt.ByHeight,o,0,0).from,n.lineAt(d+u+1e3/2,yt.ByHeight,o,0,0).to)}}return l}mapViewport(e,i){let r=i.mapPos(e.from,-1),n=i.mapPos(e.to,1);return new il(this.heightMap.lineAt(r,yt.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(n,yt.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:i},r=0){if(!this.inView)return!0;let{top:n}=this.heightMap.lineAt(e,yt.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(i,yt.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:a}=this;return(e==0||n<=s-Math.max(10,Math.min(-r,250)))&&(i==this.state.doc.length||o>=a+Math.max(10,Math.min(r,250)))&&n>s-2*1e3&&o<a+2*1e3}mapLineGaps(e,i){if(!e.length||i.empty)return e;let r=[];for(let n of e)i.touchesRange(n.from,n.to)||r.push(new xu(i.mapPos(n.from),i.mapPos(n.to),n.size));return r}ensureLineGaps(e,i){let r=this.heightOracle.lineWrapping,n=r?1e4:2e3,o=n>>1,s=n<<1;if(this.defaultTextDirection!=ot.LTR&&!r)return[];let a=[],l=(c,u,f,d)=>{if(u-c<o)return;let p=this.state.selection.main,g=[p.from];p.empty||g.push(p.to);for(let v of g)if(v>c&&v<u){l(c,v-10,f,d),l(v+10,u,f,d);return}let x=NW(e,v=>v.from>=f.from&&v.to<=f.to&&Math.abs(v.from-c)<o&&Math.abs(v.to-u)<o&&!g.some(S=>v.from<S&&v.to>S));if(!x){if(u<f.to&&i&&r&&i.visibleRanges.some(v=>v.from<=u&&v.to>=u)){let v=i.moveToLineBoundary(ee.cursor(u),!1,!0).head;v>c&&(u=v)}x=new xu(c,u,this.gapSize(f,c,u,d))}a.push(x)};for(let c of this.viewportLines){if(c.length<s)continue;let u=DW(c.from,c.to,this.stateDeco);if(u.total<s)continue;let f=this.scrollTarget?this.scrollTarget.range.head:null,d,p;if(r){let g=n/this.heightOracle.lineLength*this.heightOracle.lineHeight,x,v;if(f!=null){let S=cp(u,f),T=((this.visibleBottom-this.visibleTop)/2+g)/c.height;x=S-T,v=S+T}else x=(this.visibleTop-c.top-g)/c.height,v=(this.visibleBottom-c.top+g)/c.height;d=lp(u,x),p=lp(u,v)}else{let g=u.total*this.heightOracle.charWidth,x=n*this.heightOracle.charWidth,v,S;if(f!=null){let T=cp(u,f),$=((this.pixelViewport.right-this.pixelViewport.left)/2+x)/g;v=T-$,S=T+$}else v=(this.pixelViewport.left-x)/g,S=(this.pixelViewport.right+x)/g;d=lp(u,v),p=lp(u,S)}d>c.from&&l(c.from,d,c,u),p<c.to&&l(p,c.to,c,u)}return a}gapSize(e,i,r,n){let o=cp(n,r)-cp(n,i);return this.heightOracle.lineWrapping?e.height*o:n.total*this.heightOracle.charWidth*o}updateLineGaps(e){xu.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=we.set(e.map(i=>i.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];nt.spans(e,this.viewport.from,this.viewport.to,{span(n,o){i.push({from:n,to:o})},point(){}},20);let r=i.length!=this.visibleRanges.length||this.visibleRanges.some((n,o)=>n.from!=i[o].from||n.to!=i[o].to);return this.visibleRanges=i,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||du(this.heightMap.lineAt(e,yt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(i=>i.top<=e&&i.bottom>=e)||du(this.heightMap.lineAt(this.scaler.fromDOM(e),yt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return du(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}},il=class{constructor(e,i){this.from=e,this.to=i}};function DW(t,e,i){let r=[],n=t,o=0;return nt.spans(i,t,e,{span(){},point(s,a){s>n&&(r.push({from:n,to:s}),o+=s-n),n=a}},20),n<e&&(r.push({from:n,to:e}),o+=e-n),{total:o,ranges:r}}function lp({total:t,ranges:e},i){if(i<=0)return e[0].from;if(i>=1)return e[e.length-1].to;let r=Math.floor(t*i);for(let n=0;;n++){let{from:o,to:s}=e[n],a=s-o;if(r<=a)return o+r;r-=a}}function cp(t,e){let i=0;for(let{from:r,to:n}of t.ranges){if(e<=n){i+=e-r;break}i+=n-r}return i/t.total}function NW(t,e){for(let i of t)if(e(i))return i}var H5={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}},ey=class t{constructor(e,i,r){let n=0,o=0,s=0;this.viewports=r.map(({from:a,to:l})=>{let c=i.lineAt(a,yt.ByPos,e,0,0).top,u=i.lineAt(l,yt.ByPos,e,0,0).bottom;return n+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-n)/(i.height-n);for(let a of this.viewports)a.domTop=s+(a.top-o)*this.scale,s=a.domBottom=a.domTop+(a.bottom-a.top),o=a.bottom}toDOM(e){for(let i=0,r=0,n=0;;i++){let o=i<this.viewports.length?this.viewports[i]:null;if(!o||e<o.top)return n+(e-r)*this.scale;if(e<=o.bottom)return o.domTop+(e-o.top);r=o.bottom,n=o.domBottom}}fromDOM(e){for(let i=0,r=0,n=0;;i++){let o=i<this.viewports.length?this.viewports[i]:null;if(!o||e<o.domTop)return r+(e-n)/this.scale;if(e<=o.domBottom)return o.top+(e-o.domTop);r=o.bottom,n=o.domBottom}}eq(e){return e instanceof t?this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((i,r)=>i.from==e.viewports[r].from&&i.to==e.viewports[r].to):!1}};function du(t,e){if(e.scale==1)return t;let i=e.toDOM(t.top),r=e.toDOM(t.bottom);return new on(t.from,t.length,i,r-i,Array.isArray(t._content)?t._content.map(n=>du(n,e)):t._content)}var up=be.define({combine:t=>t.join(" ")}),ty=be.define({combine:t=>t.indexOf(!0)>-1}),iy=Ui.newName(),iP=Ui.newName(),rP=Ui.newName(),nP={"&light":"."+iP,"&dark":"."+rP};function ry(t,e,i){return new Ui(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,n=>{if(n=="&")return t;if(!i||!i[n])throw new RangeError(`Unsupported selector: ${n}`);return i[n]}):t+" "+r}})}var MW=ry("."+iy,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},nP),pu="\uFFFF",ny=class{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(rt.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=pu}readRange(e,i){if(!e)return this;let r=e.parentNode;for(let n=e;;){this.findPointBefore(r,n);let o=this.text.length;this.readNode(n);let s=n.nextSibling;if(s==i)break;let a=gt.get(n),l=gt.get(s);(a&&l?a.breakAfter:(a?a.breakAfter:xp(n))||xp(s)&&(n.nodeName!="BR"||n.cmIgnore)&&this.text.length>o)&&this.lineBreak(),n=s}return this.findPointBefore(r,i),this}readTextNode(e){let i=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,i.length));for(let r=0,n=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,s=1,a;if(this.lineSeparator?(o=i.indexOf(this.lineSeparator,r),s=this.lineSeparator.length):(a=n.exec(i))&&(o=a.index,s=a[0].length),this.append(i.slice(r,o<0?i.length:o)),o<0)break;if(this.lineBreak(),s>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=s-1);r=o+s}}readNode(e){if(e.cmIgnore)return;let i=gt.get(e),r=i&&i.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let n=r.iter();!n.next().done;)n.lineBreak?this.lineBreak():this.append(n.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==i&&(r.pos=this.text.length)}findPointInside(e,i){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(UW(e,r.node,r.offset)?i:0))}};function UW(t,e,i){for(;;){if(!e||i<Zn(e))return!1;if(e==t)return!0;i=Ds(e)+1,e=e.parentNode}}var Cp=class{constructor(e,i){this.node=e,this.offset=i,this.pos=-1}},oy=class{constructor(e,i,r,n){this.typeOver=n,this.bounds=null,this.text="",this.domChanged=i>-1;let{impreciseHead:o,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&i>-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,r,0))){let a=o||s?[]:qW(e),l=new ny(a,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=WW(a,this.bounds.from)}else{let a=e.observer.selectionRange,l=o&&o.node==a.focusNode&&o.offset==a.focusOffset||!A1(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),c=s&&s.node==a.anchorNode&&s.offset==a.anchorOffset||!A1(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=e.viewport;if((Te.ios||Te.chrome)&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.to<e.state.doc.length)){let f=Math.min(l,c),d=Math.max(l,c),p=u.from-f,g=u.to-d;(p==0||p==1||f==0)&&(g==0||g==-1||d==e.state.doc.length)&&(l=0,c=e.state.doc.length)}this.newSel=ee.single(c,l)}}};function oP(t,e){let i,{newSel:r}=e,n=t.state.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:s,to:a}=e.bounds,l=n.from,c=null;(o===8||Te.android&&e.text.length<a-s)&&(l=n.to,c="end");let u=jW(t.state.doc.sliceString(s,a,pu),e.text,l-s,c);u&&(Te.chrome&&o==13&&u.toB==u.from+2&&e.text.slice(u.from,u.toB)==pu+pu&&u.toB--,i={from:s+u.from,to:s+u.toA,insert:Ge.of(e.text.slice(u.from,u.toB).split(pu))})}else r&&(!t.hasFocus&&t.state.facet(Lp)||r.main.eq(n))&&(r=null);if(!i&&!r)return!1;if(!i&&e.typeOver&&!n.empty&&r&&r.main.empty?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,n.to)}:i&&i.from>=n.from&&i.to<=n.to&&(i.from!=n.from||i.to!=n.to)&&n.to-n.from-(i.to-i.from)<=4?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,n.to))}:(Te.mac||Te.android)&&i&&i.from==i.to&&i.from==n.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&i.insert.length==2&&(r=ee.single(r.main.anchor-1,r.main.head-1)),i={from:n.from,to:n.to,insert:Ge.of([" "])}):Te.chrome&&i&&i.from==i.to&&i.from==n.head&&i.insert.toString()==`
`&&t.lineWrapping&&(r&&(r=ee.single(r.main.anchor-1,r.main.head-1)),i={from:n.from,to:n.to,insert:Ge.of([" "])}),i){if(Te.ios&&t.inputState.flushIOSKey(i)||Te.android&&(i.to==n.to&&(i.from==n.from||i.from==n.from-1&&t.state.sliceDoc(i.from,n.from)==" ")&&i.insert.length==1&&i.insert.lines==2&&ol(t.contentDOM,"Enter",13)||(i.from==n.from-1&&i.to==n.to&&i.insert.length==0||o==8&&i.insert.length<i.to-i.from&&i.to>n.head)&&ol(t.contentDOM,"Backspace",8)||i.from==n.from&&i.to==n.to+1&&i.insert.length==0&&ol(t.contentDOM,"Delete",46)))return!0;let s=i.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a,l=()=>a||(a=zW(t,i,r));return t.state.facet(LC).some(c=>c(t,i.from,i.to,s,l))||t.dispatch(l()),!0}else if(r&&!r.main.eq(n)){let s=!1,a="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(s=!0),a=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:s,userEvent:a}),!0}else return!1}function zW(t,e,i){let r,n=t.state,o=n.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=o.from<e.from?n.sliceDoc(o.from,e.from):"",l=o.to>e.to?n.sliceDoc(e.to,o.to):"";r=n.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let a=n.changes(e),l=i&&i.main.to<=a.newLength?i.main:void 0;if(n.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let c=t.state.sliceDoc(e.from,e.to),u,f=i&&BC(t,i.main.head);if(f){let g=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-g}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,p=o.to-o.from;r=n.changeByRange(g=>{if(g.from==o.from&&g.to==o.to)return{changes:a,range:l||g.map(a)};let x=g.to-d,v=x-c.length;if(g.to-g.from!=p||t.state.sliceDoc(v,x)!=c||g.to>=u.from&&g.from<=u.to)return{range:g};let S=n.changes({from:v,to:x,insert:e.insert}),T=g.to-o.to;return{changes:S,range:l?ee.range(Math.max(0,l.anchor+T),Math.max(0,l.head+T)):g.map(S)}})}else r={changes:a,selection:l&&n.selection.replaceRange(l)}}let s="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,s+=".compose",t.inputState.compositionFirstChange&&(s+=".start",t.inputState.compositionFirstChange=!1)),n.update(r,{userEvent:s,scrollIntoView:!0})}function jW(t,e,i,r){let n=Math.min(t.length,e.length),o=0;for(;o<n&&t.charCodeAt(o)==e.charCodeAt(o);)o++;if(o==n&&t.length==e.length)return null;let s=t.length,a=e.length;for(;s>0&&a>0&&t.charCodeAt(s-1)==e.charCodeAt(a-1);)s--,a--;if(r=="end"){let l=Math.max(0,o-Math.min(s,a));i-=s+l-o}if(s<o&&t.length<e.length){let l=i<=o&&i>=s?o-i:0;o-=l,a=o+(a-s),s=o}else if(a<o){let l=i<=o&&i>=a?o-i:0;o-=l,s=o+(s-a),a=o}return{from:o,toA:s,toB:a}}function qW(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:r,focusNode:n,focusOffset:o}=t.observer.selectionRange;return i&&(e.push(new Cp(i,r)),(n!=i||o!=r)&&e.push(new Cp(n,o))),e}function WW(t,e){if(t.length==0)return null;let i=t[0].pos,r=t.length==2?t[1].pos:i;return i>-1&&r>-1?ee.single(i+e,r+e):null}var BW={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},C1=Te.ie&&Te.ie_version<=11,sy=class{constructor(e){this.view=e,this.active=!1,this.selectionRange=new $1,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let r of i)this.queue.push(r);(Te.ie&&Te.ie_version<=11||Te.ios&&e.composing)&&i.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),C1&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(i=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){e.type=="change"&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,r)=>i!=e[r]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,n=this.selectionRange;if(r.state.facet(Lp)?r.root.activeElement!=this.dom:!dp(r.dom,n))return;let o=n.anchorNode&&r.docView.nearest(n.anchorNode);if(o&&o.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(Te.ie&&Te.ie_version<=11||Te.android&&Te.chrome)&&!r.state.selection.main.empty&&n.focusNode&&mu(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=yp(e.root);if(!i)return!1;let r=Te.safari&&e.root.nodeType==11&&Iq(this.dom.ownerDocument)==this.dom&&ZW(this.view,i)||i;if(!r||this.selectionRange.eq(r))return!1;let n=dp(this.dom,r);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&zq(this.dom,r)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(r),n&&(this.selectionChanged=!0),!0)}setSelectionRange(e,i){this.selectionRange.set(e.node,e.offset,i.node,i.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,i=null;for(let r=this.dom;r;)if(r.nodeType==1)!i&&e<this.scrollTargets.length&&this.scrollTargets[e]==r?e++:i||(i=this.scrollTargets.slice(0,e)),i&&i.push(r),r=r.assignedSlot||r.parentNode;else if(r.nodeType==11)r=r.host;else break;if(e<this.scrollTargets.length&&!i&&(i=this.scrollTargets.slice(0,e)),i){for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);for(let r of this.scrollTargets=i)r.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,BW),C1&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),C1&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,i){var r;if(!this.delayedAndroidKey){let n=()=>{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&ol(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(n)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange<Date.now()-50||!!(!((r=this.delayedAndroidKey)===null||r===void 0)&&r.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,r=-1,n=!1;for(let o of e){let s=this.readMutation(o);s&&(s.typeOver&&(n=!0),i==-1?{from:i,to:r}=s:(i=Math.min(s.from,i),r=Math.max(s.to,r)))}return{from:i,to:r,typeOver:n}}readChange(){let{from:e,to:i,typeOver:r}=this.processRecords(),n=this.selectionChanged&&dp(this.dom,this.selectionRange);if(e<0&&!n)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new oy(this.view,e,i,r);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let r=this.view.state,n=oP(this.view,i);return this.view.state==r&&(i.domChanged||i.newSel&&!i.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),n}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let r=G5(i,e.previousSibling||e.target.previousSibling,-1),n=G5(i,e.nextSibling||e.target.nextSibling,1);return{from:r?i.posAfter(r):i.posAtStart,to:n?i.posBefore(n):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener("change",this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener("change",this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,i,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}};function G5(t,e,i){for(;e;){let r=gt.get(e);if(r&&r.parent==t)return r;let n=e.parentNode;e=n!=t.dom?n:i>0?e.nextSibling:e.previousSibling}return null}function K5(t,e){let i=e.startContainer,r=e.startOffset,n=e.endContainer,o=e.endOffset,s=t.docView.domAtPos(t.state.selection.main.anchor);return mu(s.node,s.offset,n,o)&&([i,r,n,o]=[n,o,i,r]),{anchorNode:i,anchorOffset:r,focusNode:n,focusOffset:o}}function ZW(t,e){if(e.getComposedRanges){let n=e.getComposedRanges(t.root)[0];if(n)return K5(t,n)}let i=null;function r(n){n.preventDefault(),n.stopImmediatePropagation(),i=n.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),i?K5(t,i):null}var de=class t{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:i}=e;this.dispatchTransactions=e.dispatchTransactions||i&&(r=>r.forEach(n=>i(n,this)))||(r=>this.update(r)),this.dispatch=this.dispatch.bind(this),this._root=e.root||Uq(e.parent)||document,this.viewState=new Ep(e.state||rt.create(e)),e.scrollTo&&e.scrollTo.is(op)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(fu).map(r=>new yu(r));for(let r of this.plugins)r.update(this);this.observer=new sy(this),this.inputState=new B1(this),this.inputState.ensureHandlers(this.plugins),this.docView=new kp(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let i=e.length==1&&e[0]instanceof Ct?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,r=!1,n,o=this.state;for(let d of e){if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=d.state}if(this.destroyed){this.viewState.state=o;return}let s=this.hasFocus,a=0,l=null;e.some(d=>d.annotation(JC))?(this.inputState.notifiedFocused=s,a=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=eP(o,s),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(u=null)):this.observer.clear(),o.facet(rt.phrases)!=this.state.facet(rt.phrases))return this.setState(o);n=wp.create(this,o,e),n.flags|=a;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(f&&(f=f.map(d.changes)),d.scrollIntoView){let{main:p}=d.state.selection;f=new bu(p.empty?p:ee.cursor(p.head,p.head>p.anchor?-1:1))}for(let p of d.effects)p.is(op)&&(f=p.value.clip(this.state))}this.viewState.update(n,f),this.bidiCache=Pp.update(this.bidiCache,n.changes),n.empty||(this.updatePlugins(n),this.inputState.update(n)),i=this.docView.update(n),this.state.facet(hu)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(n.startState.facet(up)!=n.state.facet(up)&&(this.viewState.mustMeasureContent=!0),(i||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!n.empty)for(let d of this.state.facet(j1))try{d(n)}catch(p){li(this.state,p,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!oP(this,u)&&c.force&&ol(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new Ep(e),this.plugins=e.facet(fu).map(r=>new yu(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new kp(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(fu),r=e.state.facet(fu);if(i!=r){let n=[];for(let o of r){let s=i.indexOf(o);if(s<0)n.push(new yu(o));else{let a=this.plugins[s];a.mustUpdate=e,n.push(a)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=n,this.pluginMap.clear()}else for(let n of this.plugins)n.mustUpdate=e;for(let n=0;n<this.plugins.length;n++)this.plugins[n].update(this);i!=r&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let i=e.value;if(i&&i.docViewUpdate)try{i.docViewUpdate(this)}catch(r){li(this.state,r,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,r=this.scrollDOM,n=r.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:s}=this.viewState;Math.abs(n-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(s<0)if(OC(r))o=-1,s=this.viewState.heightMap.height;else{let p=this.viewState.scrollAnchorAt(n);o=p.from,s=p.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(p=>{try{return p.read(this)}catch(g){return li(this.state,g),J5}}),f=wp.create(this,this.state,[]),d=!1;f.flags|=l,i?i.flags|=l:i=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f),d&&this.docViewUpdate());for(let p=0;p<c.length;p++)if(u[p]!=J5)try{let g=c[p];g.write&&g.write(u[p],this)}catch(g){li(this.state,g)}if(d&&this.docView.updateSelection(!0),!f.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}else{let g=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-s;if(g>1||g<-1){n=n+g,r.scrollTop=n/this.scaleY,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let a of this.state.facet(j1))a(i)}get themeClasses(){return iy+" "+(this.state.facet(ty)?rP:iP)+" "+this.state.facet(up)}updateAttrs(){let e=eC(this,UC,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Lp)?"true":"false",class:"cm-content",style:`${Te.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),eC(this,ky,i);let r=this.observer.ignore(()=>{let n=D1(this.contentDOM,this.contentAttrs,i),o=D1(this.dom,this.editorAttrs,e);return n||o});return this.editorAttrs=e,this.contentAttrs=i,r}showAnnouncements(e){let i=!0;for(let r of e)for(let n of r.effects)if(n.is(t.announce)){i&&(this.announceDOM.textContent=""),i=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=n.value}}mountStyles(){this.styleModules=this.state.facet(hu);let e=this.state.facet(t.cspNonce);Ui.mount(this.root,this.styleModules.concat(MW).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;i<this.measureRequests.length;i++)if(this.measureRequests[i].key===e.key){this.measureRequests[i]=e;return}}this.measureRequests.push(e)}}plugin(e){let i=this.pluginMap.get(e);return(i===void 0||i&&i.spec!=e)&&this.pluginMap.set(e,i=this.plugins.find(r=>r.spec==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,r){return E1(this,e,N5(this,e,i,r))}moveByGroup(e,i){return E1(this,e,N5(this,e,i,r=>mW(this,e.head,r)))}visualLineSide(e,i){let r=this.bidiSpans(e),n=this.textDirectionAt(e.from),o=r[i?r.length-1:0];return ee.cursor(o.side(i,n)+e.from,o.forward(!i,n)?1:-1)}moveToLineBoundary(e,i,r=!0){return OW(this,e,i,r)}moveVertically(e,i,r){return E1(this,e,gW(this,e,i,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),ZC(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let r=this.docView.coordsAt(e,i);if(!r||r.left==r.right)return r;let n=this.state.doc.lineAt(e),o=this.bidiSpans(n),s=o[sn.find(o,e-n.from,-1,i)];return yy(r,s.dir==ot.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(DC)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>VW)return _C(e.length);let i=this.textDirectionAt(e.from),r;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==i&&(o.fresh||PC(o.isolates,r=X5(this,e))))return o.order;r||(r=X5(this,e));let n=Jq(e.text,i,r);return this.bidiCache.push(new Pp(e.from,e.to,i,r,!0,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Te.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{dC(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return op.of(new bu(typeof e=="number"?ee.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return op.of(new bu(ee.cursor(r.from),"start","start",r.top-e,i,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Fe.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Fe.define(()=>({}),{eventObservers:e})}static theme(e,i){let r=Ui.newName(),n=[up.of(r),hu.of(ry(`.${r}`,e))];return i&&i.dark&&n.push(ty.of(!0)),n}static baseTheme(e){return $t.lowest(hu.of(ry("."+iy,e,nP)))}static findFromDOM(e){var i;let r=e.querySelector(".cm-content"),n=r&&gt.get(r)||gt.get(e);return((i=n==null?void 0:n.rootView)===null||i===void 0?void 0:i.view)||null}};de.styleModule=hu;de.inputHandler=LC;de.scrollHandler=MC;de.focusChangeEffect=IC;de.perLineTextDirection=DC;de.exceptionSink=RC;de.updateListener=j1;de.editable=Lp;de.mouseSelectionStyle=XC;de.dragMovesSelection=$C;de.clickAddsSelectionRange=AC;de.decorations=Pu;de.outerDecorations=zC;de.atomicRanges=Sy;de.bidiIsolatedRanges=jC;de.scrollMargins=qC;de.darkTheme=ty;de.cspNonce=be.define({combine:t=>t.length?t[0]:""});de.contentAttributes=ky;de.editorAttributes=UC;de.lineWrapping=de.contentAttributes.of({class:"cm-lineWrapping"});de.announce=Se.define();var VW=4096,J5={},Pp=class t{constructor(e,i,r,n,o,s){this.from=e,this.to=i,this.dir=r,this.isolates=n,this.fresh=o,this.order=s}static update(e,i){if(i.empty&&!e.some(o=>o.fresh))return e;let r=[],n=e.length?e[e.length-1].dir:ot.LTR;for(let o=Math.max(0,e.length-10);o<e.length;o++){let s=e[o];s.dir==n&&!i.touchesRange(s.from,s.to)&&r.push(new t(i.mapPos(s.from,1),i.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return r}};function eC(t,e,i){for(let r=t.state.facet(e),n=r.length-1;n>=0;n--){let o=r[n],s=typeof o=="function"?o(t):o;s&&I1(s,i)}return i}var YW=Te.mac?"mac":Te.windows?"win":Te.linux?"linux":"key";function FW(t,e){let i=t.split(/-(?!$)/),r=i[i.length-1];r=="Space"&&(r=" ");let n,o,s,a;for(let l=0;l<i.length-1;++l){let c=i[l];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))n=!0;else if(/^(c|ctrl|control)$/i.test(c))o=!0;else if(/^s(hift)?$/i.test(c))s=!0;else if(/^mod$/i.test(c))e=="mac"?a=!0:o=!0;else throw new Error("Unrecognized modifier name: "+c)}return n&&(r="Alt-"+r),o&&(r="Ctrl-"+r),a&&(r="Meta-"+r),s&&(r="Shift-"+r),r}function fp(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),i!==!1&&e.shiftKey&&(t="Shift-"+t),t}var HW=$t.default(de.domEventHandlers({keydown(t,e){return aP(sP(e.state),t,e,"editor")}})),Vt=be.define({enables:HW}),tC=new WeakMap;function sP(t){let e=t.facet(Vt),i=tC.get(e);return i||tC.set(e,i=KW(e.reduce((r,n)=>r.concat(n),[]))),i}function Ty(t,e,i){return aP(sP(t.state),e,t,i)}var Do=null,GW=4e3;function KW(t,e=YW){let i=Object.create(null),r=Object.create(null),n=(s,a)=>{let l=r[s];if(l==null)r[s]=a;else if(l!=a)throw new Error("Key binding "+s+" is used both as a regular binding and as a multi-stroke prefix")},o=(s,a,l,c,u)=>{var f,d;let p=i[s]||(i[s]=Object.create(null)),g=a.split(/ (?!$)/).map(S=>FW(S,e));for(let S=1;S<g.length;S++){let T=g.slice(0,S).join(" ");n(T,!0),p[T]||(p[T]={preventDefault:!0,stopPropagation:!1,run:[$=>{let I=Do={view:$,prefix:T,scope:s};return setTimeout(()=>{Do==I&&(Do=null)},GW),!0}]})}let x=g.join(" ");n(x,!1);let v=p[x]||(p[x]={preventDefault:!1,stopPropagation:!1,run:((d=(f=p._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&v.run.push(l),c&&(v.preventDefault=!0),u&&(v.stopPropagation=!0)};for(let s of t){let a=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let c of a){let u=i[c]||(i[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=s;for(let d in u)u[d].run.push(p=>f(p,ay))}let l=s[e]||s.key;if(l)for(let c of a)o(c,l,s.run,s.preventDefault,s.stopPropagation),s.shift&&o(c,"Shift-"+l,s.shift,s.preventDefault,s.stopPropagation)}return i}var ay=null;function aP(t,e,i,r){ay=e;let n=T5(e),o=Ut(n,0),s=_i(o)==n.length&&n!=" ",a="",l=!1,c=!1,u=!1;Do&&Do.view==i&&Do.scope==r&&(a=Do.prefix+" ",YC.indexOf(e.keyCode)<0&&(c=!0,Do=null));let f=new Set,d=v=>{if(v){for(let S of v.run)if(!f.has(S)&&(f.add(S),S(i)))return v.stopPropagation&&(u=!0),!0;v.preventDefault&&(v.stopPropagation&&(u=!0),c=!0)}return!1},p=t[r],g,x;return p&&(d(p[a+fp(n,e,!s)])?l=!0:s&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Te.windows&&e.ctrlKey&&e.altKey)&&(g=Bn[e.keyCode])&&g!=n?(d(p[a+fp(g,e,!0)])||e.shiftKey&&(x=el[e.keyCode])!=n&&x!=g&&d(p[a+fp(x,e,!1)]))&&(l=!0):s&&e.shiftKey&&d(p[a+fp(n,e,!0)])&&(l=!0),!l&&d(p._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),ay=null,l}var _u=class t{constructor(e,i,r,n,o){this.className=e,this.left=i,this.top=r,this.width=n,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,i){return i.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,i,r){if(r.empty){let n=e.coordsAtPos(r.head,r.assoc||1);if(!n)return[];let o=lP(e);return[new t(i,n.left-o.left,n.top-o.top,null,n.bottom-n.top)]}else return JW(e,i,r)}};function lP(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==ot.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function iC(t,e,i,r){let n=t.coordsAtPos(e,i*2);if(!n)return r;let o=t.dom.getBoundingClientRect(),s=(n.top+n.bottom)/2,a=t.posAtCoords({x:o.left+1,y:s}),l=t.posAtCoords({x:o.right-1,y:s});return a==null||l==null?r:{from:Math.max(r.from,Math.min(a,l)),to:Math.min(r.to,Math.max(a,l))}}function JW(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let r=Math.max(i.from,t.viewport.from),n=Math.min(i.to,t.viewport.to),o=t.textDirection==ot.LTR,s=t.contentDOM,a=s.getBoundingClientRect(),l=lP(t),c=s.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),f=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=a.right-(u?parseInt(u.paddingRight):0),p=W1(t,r),g=W1(t,n),x=p.type==ji.Text?p:null,v=g.type==ji.Text?g:null;if(x&&(t.lineWrapping||p.widgetLineBreaks)&&(x=iC(t,r,1,x)),v&&(t.lineWrapping||g.widgetLineBreaks)&&(v=iC(t,n,-1,v)),x&&v&&x.from==v.from&&x.to==v.to)return T($(i.from,i.to,x));{let _=x?$(i.from,null,x):I(p,!1),A=v?$(null,i.to,v):I(g,!0),q=[];return(x||p).to<(v||g).from-(x&&v?1:0)||p.widgetLineBreaks>1&&_.bottom+t.defaultLineHeight/2<A.top?q.push(S(f,_.bottom,d,A.top)):_.bottom<A.top&&t.elementAtHeight((_.bottom+A.top)/2).type==ji.Text&&(_.bottom=A.top=(_.bottom+A.top)/2),T(_).concat(q).concat(T(A))}function S(_,A,q,le){return new _u(e,_-l.left,A-l.top-.01,q-_,le-A+.01)}function T({top:_,bottom:A,horizontal:q}){let le=[];for(let F=0;F<q.length;F+=2)le.push(S(q[F],_,q[F+1],A));return le}function $(_,A,q){let le=1e9,F=-1e9,U=[];function ie(he,me,ve,j,ae){let V=t.coordsAtPos(he,he==q.to?-2:2),E=t.coordsAtPos(ve,ve==q.from?2:-2);!V||!E||(le=Math.min(V.top,E.top,le),F=Math.max(V.bottom,E.bottom,F),ae==ot.LTR?U.push(o&&me?f:V.left,o&&j?d:E.right):U.push(!o&&j?f:E.left,!o&&me?d:V.right))}let ue=_!=null?_:q.from,re=A!=null?A:q.to;for(let he of t.visibleRanges)if(he.to>ue&&he.from<re)for(let me=Math.max(he.from,ue),ve=Math.min(he.to,re);;){let j=t.state.doc.lineAt(me);for(let ae of t.bidiSpans(j)){let V=ae.from+j.from,E=ae.to+j.from;if(V>=ve)break;E>me&&ie(Math.max(V,me),_==null&&V<=ue,Math.min(E,ve),A==null&&E>=re,ae.dir)}if(me=j.to+1,me>=ve)break}return U.length==0&&ie(ue,_==null,re,A==null,t.textDirection),{top:le,bottom:F,horizontal:U}}function I(_,A){let q=a.top+(A?_.top:_.bottom);return{top:q,bottom:q,horizontal:[]}}}function eB(t,e){return t.constructor==e.constructor&&t.eq(e)}var ly=class{constructor(e,i){this.view=e,this.layer=i,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),i.above&&this.dom.classList.add("cm-layer-above"),i.class&&this.dom.classList.add(i.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),i.mount&&i.mount(this.dom,e)}update(e){e.startState.facet(mp)!=e.state.facet(mp)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let i=0,r=e.facet(mp);for(;i<r.length&&r[i]!=this.layer;)i++;this.dom.style.zIndex=String((this.layer.above?150:-1)-i)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:i}=this.view;(e!=this.scaleX||i!=this.scaleY)&&(this.scaleX=e,this.scaleY=i,this.dom.style.transform=`scale(${1/e}, ${1/i})`)}draw(e){if(e.length!=this.drawn.length||e.some((i,r)=>!eB(i,this.drawn[r]))){let i=this.dom.firstChild,r=0;for(let n of e)n.update&&i&&n.constructor&&this.drawn[r].constructor&&n.update(i,this.drawn[r])?(i=i.nextSibling,r++):this.dom.insertBefore(n.draw(),i);for(;i;){let n=i.nextSibling;i.remove(),i=n}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}},mp=be.define();function cP(t){return[Fe.define(e=>new ly(e,t)),mp.of(t)]}var uP=!Te.ios,sl=be.define({combine(t){return kt(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,i)=>Math.min(e,i),drawRangeCursor:(e,i)=>e||i})}});function fP(t={}){return[sl.of(t),tB,iB,rB,NC.of(!0)]}function hP(t){return t.facet(sl)}function dP(t){return t.startState.facet(sl)!=t.state.facet(sl)}var tB=cP({above:!0,markers(t){let{state:e}=t,i=e.facet(sl),r=[];for(let n of e.selection.ranges){let o=n==e.selection.main;if(n.empty?!o||uP:i.drawRangeCursor){let s=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=n.empty?n:ee.cursor(n.head,n.head>n.anchor?-1:1);for(let l of _u.forRange(t,s,a))r.push(l)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let i=dP(t);return i&&rC(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){rC(e.state,t)},class:"cm-cursorLayer"});function rC(t,e){e.style.animationDuration=t.facet(sl).cursorBlinkRate+"ms"}var iB=cP({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:_u.forRange(t,"cm-selectionBackground",e)).reduce((e,i)=>e.concat(i))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||dP(t)},class:"cm-selectionLayer"}),cy={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};uP&&(cy[".cm-line"].caretColor=cy[".cm-content"].caretColor="transparent !important");var rB=$t.highest(de.theme(cy)),pP=Se.define({map(t,e){return t==null?null:e.mapPos(t)}}),Ou=He.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((i,r)=>r.is(pP)?r.value:i,t)}}),nB=Fe.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let i=t.state.field(Ou);i==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(Ou)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(Ou),i=e!=null&&t.coordsAtPos(e);if(!i)return null;let r=t.scrollDOM.getBoundingClientRect();return{left:i.left-r.left+t.scrollDOM.scrollLeft*t.scaleX,top:i.top-r.top+t.scrollDOM.scrollTop*t.scaleY,height:i.bottom-i.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:i}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/i+"px",this.cursor.style.height=t.height/i+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(Ou)!=t&&this.view.dispatch({effects:pP.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function OP(){return[Ou,nB]}function nC(t,e,i,r,n){e.lastIndex=0;for(let o=t.iterRange(i,r),s=i,a;!o.next().done;s+=o.value.length)if(!o.lineBreak)for(;a=e.exec(o.value);)n(s+a.index,a)}function oB(t,e){let i=t.visibleRanges;if(i.length==1&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let r=[];for(let{from:n,to:o}of i)n=Math.max(t.state.doc.lineAt(n).from,n-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),r.length&&r[r.length-1].to>=n?r[r.length-1].to=o:r.push({from:n,to:o});return r}var uy=class{constructor(e){let{regexp:i,decoration:r,decorate:n,boundary:o,maxLength:s=1e3}=e;if(!i.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=i,n)this.addMatch=(a,l,c,u)=>n(u,c,c+a[0].length,a,l);else if(typeof r=="function")this.addMatch=(a,l,c,u)=>{let f=r(a,l,c);f&&u(c,c+a[0].length,f)};else if(r)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=s}createDeco(e){let i=new Ki,r=i.add.bind(i);for(let{from:n,to:o}of oB(e,this.maxLength))nC(e.state.doc,this.regexp,n,o,(s,a)=>this.addMatch(a,e,s,r));return i.finish()}updateDeco(e,i){let r=1e9,n=-1;return e.docChanged&&e.changes.iterChanges((o,s,a,l)=>{l>e.view.viewport.from&&a<e.view.viewport.to&&(r=Math.min(a,r),n=Math.max(l,n))}),e.viewportChanged||n-r>1e3?this.createDeco(e.view):n>-1?this.updateRange(e.view,i.map(e.changes),r,n):i}updateRange(e,i,r,n){for(let o of e.visibleRanges){let s=Math.max(o.from,r),a=Math.min(o.to,n);if(a>s){let l=e.state.doc.lineAt(s),c=l.to<a?e.state.doc.lineAt(a):l,u=Math.max(o.from,l.from),f=Math.min(o.to,c.to);if(this.boundary){for(;s>l.from;s--)if(this.boundary.test(l.text[s-1-l.from])){u=s;break}for(;a<c.to;a++)if(this.boundary.test(c.text[a-c.from])){f=a;break}}let d=[],p,g=(x,v,S)=>d.push(S.range(x,v));if(l==c)for(this.regexp.lastIndex=u-l.from;(p=this.regexp.exec(l.text))&&p.index<f-l.from;)this.addMatch(p,e,p.index+l.from,g);else nC(e.state.doc,this.regexp,u,f,(x,v)=>this.addMatch(v,e,x,g));i=i.update({filterFrom:u,filterTo:f,filter:(x,v)=>x<u||v>f,add:d})}}return i}},fy=/x/.unicode!=null?"gu":"g",sB=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,fy),aB={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},P1=null;function lB(){var t;if(P1==null&&typeof document!="undefined"&&document.body){let e=document.body.style;P1=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return P1||!1}var gp=be.define({combine(t){let e=kt(t,{render:null,specialChars:sB,addSpecialChars:null});return(e.replaceTabs=!lB())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,fy)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,fy)),e}});function mP(t={}){return[gp.of(t),cB()]}var oC=null;function cB(){return oC||(oC=Fe.fromClass(class{constructor(t){this.view=t,this.decorations=we.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(gp)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new uy({regexp:t.specialChars,decoration:(e,i,r)=>{let{doc:n}=i.state,o=Ut(e[0],0);if(o==9){let s=n.lineAt(r),a=i.state.tabSize,l=Ai(s.text,a,r-s.from);return we.replace({widget:new dy((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=we.replace({widget:new hy(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(gp);t.startState.facet(gp)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}var uB="\u2022";function fB(t){return t>=32?uB:t==10?"\u2424":String.fromCharCode(9216+t)}var hy=class extends Jt{constructor(e,i){super(),this.options=e,this.code=i}eq(e){return e.code==this.code}toDOM(e){let i=fB(this.code),r=e.state.phrase("Control character")+" "+(aB[this.code]||"0x"+this.code.toString(16)),n=this.options.render&&this.options.render(this.code,r,i);if(n)return n;let o=document.createElement("span");return o.textContent=i,o.title=r,o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){return!1}},dy=class extends Jt{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}};function gP(){return dB}var hB=we.line({class:"cm-activeLine"}),dB=Fe.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(let r of t.state.selection.ranges){let n=t.lineBlockAt(r.head);n.from>e&&(i.push(hB.range(n.from)),e=n.from)}return we.set(i)}},{decorations:t=>t.decorations});var py=2e3;function pB(t,e,i){let r=Math.min(e.line,i.line),n=Math.max(e.line,i.line),o=[];if(e.off>py||i.off>py||e.col<0||i.col<0){let s=Math.min(e.off,i.off),a=Math.max(e.off,i.off);for(let l=r;l<=n;l++){let c=t.doc.line(l);c.length<=a&&o.push(ee.range(c.from+s,c.to+a))}}else{let s=Math.min(e.col,i.col),a=Math.max(e.col,i.col);for(let l=r;l<=n;l++){let c=t.doc.line(l),u=ip(c.text,s,t.tabSize,!0);if(u<0)o.push(ee.cursor(c.to));else{let f=ip(c.text,a,t.tabSize);o.push(ee.range(c.from+u,c.from+f))}}}return o}function OB(t,e){let i=t.coordsAtPos(t.viewport.from);return i?Math.round(Math.abs((i.left-e)/t.defaultCharacterWidth)):-1}function sC(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(i),n=i-r.from,o=n>py?-1:n==r.length?OB(t,e.clientX):Ai(r.text,t.state.tabSize,i-r.from);return{line:r.number,col:o,off:n}}function mB(t,e){let i=sC(t,e),r=t.state.selection;return i?{update(n){if(n.docChanged){let o=n.changes.mapPos(n.startState.doc.line(i.line).from),s=n.state.doc.lineAt(o);i={line:s.number,col:i.col,off:Math.min(i.off,s.length)},r=r.map(n.changes)}},get(n,o,s){let a=sC(t,n);if(!a)return r;let l=pB(t.state,i,a);return l.length?s?ee.create(l.concat(r.ranges)):ee.create(l):r}}:null}function bP(t){let e=(t==null?void 0:t.eventFilter)||(i=>i.altKey&&i.button==0);return de.mouseSelectionStyle.of((i,r)=>e(r)?mB(i,r):null)}var gB={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},bB={style:"cursor: crosshair"};function yP(t={}){let[e,i]=gB[t.key||"Alt"],r=Fe.fromClass(class{constructor(n){this.view=n,this.isDown=!1}set(n){this.isDown!=n&&(this.isDown=n,this.view.update([]))}},{eventObservers:{keydown(n){this.set(n.keyCode==e||i(n))},keyup(n){(n.keyCode==e||!i(n))&&this.set(!1)},mousemove(n){this.set(i(n))}}});return[r,de.contentAttributes.of(n=>{var o;return!((o=n.plugin(r))===null||o===void 0)&&o.isDown?bB:null})]}var uu="-10000px",_p=class{constructor(e,i,r,n){this.facet=i,this.createTooltipView=r,this.removeTooltipView=n,this.input=e.state.facet(i),this.tooltips=this.input.filter(s=>s);let o=null;this.tooltipViews=this.tooltips.map(s=>o=r(s,o))}update(e,i){var r;let n=e.state.facet(this.facet),o=n.filter(l=>l);if(n===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[],a=i?[]:null;for(let l=0;l<o.length;l++){let c=o[l],u=-1;if(c){for(let f=0;f<this.tooltips.length;f++){let d=this.tooltips[f];d&&d.create==c.create&&(u=f)}if(u<0)s[l]=this.createTooltipView(c,l?s[l-1]:null),a&&(a[l]=!!c.above);else{let f=s[l]=this.tooltipViews[u];a&&(a[l]=i[u]),f.update&&f.update(e)}}}for(let l of this.tooltipViews)s.indexOf(l)<0&&(this.removeTooltipView(l),(r=l.destroy)===null||r===void 0||r.call(l));return i&&(a.forEach((l,c)=>i[c]=l),i.length=a.length),this.input=n,this.tooltips=o,this.tooltipViews=s,!0}};function yB(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}var _1=be.define({combine:t=>{var e,i,r;return{position:Te.ios?"absolute":((e=t.find(n=>n.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(n=>n.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((r=t.find(n=>n.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||yB}}}),aC=new WeakMap,Ey=Fe.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(_1);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new _p(t,Vn,(i,r)=>this.createTooltip(i,r),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,r=t.state.facet(_1);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let n of this.manager.tooltipViews)n.dom.style.position=this.position;i=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let n of this.manager.tooltipViews)this.container.appendChild(n.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),r=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let n=document.createElement("div");n.className="cm-tooltip-arrow",i.dom.appendChild(n)}return i.dom.style.position=this.position,i.dom.style.top=uu,i.dom.style.left="0px",this.container.insertBefore(i.dom,r),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,i=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:n}=this.manager.tooltipViews[0];if(Te.gecko)r=n.offsetParent!=this.container.ownerDocument.body;else if(n.style.top==uu&&n.style.left=="0px"){let o=n.getBoundingClientRect();r=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}}if(r||this.position=="absolute")if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,i=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:i}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((n,o)=>{let s=this.manager.tooltipViews[o];return s.getCoords?s.getCoords(n.pos):this.view.coordsAtPos(n.pos)}),size:this.manager.tooltipViews.map(({dom:n})=>n.getBoundingClientRect()),space:this.view.state.facet(_1).tooltipSpace(this.view),scaleX:e,scaleY:i,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{editor:i,space:r,scaleX:n,scaleY:o}=t,s=[];for(let a=0;a<this.manager.tooltips.length;a++){let l=this.manager.tooltips[a],c=this.manager.tooltipViews[a],{dom:u}=c,f=t.pos[a],d=t.size[a];if(!f||f.bottom<=Math.max(i.top,r.top)||f.top>=Math.min(i.bottom,r.bottom)||f.right<Math.max(i.left,r.left)-.1||f.left>Math.min(i.right,r.right)+.1){u.style.top=uu;continue}let p=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,g=p?7:0,x=d.right-d.left,v=(e=aC.get(c))!==null&&e!==void 0?e:d.bottom-d.top,S=c.offset||vB,T=this.view.textDirection==ot.LTR,$=d.width>r.right-r.left?T?r.left:r.right-d.width:T?Math.min(f.left-(p?14:0)+S.x,r.right-x):Math.max(r.left,f.left-x+(p?14:0)-S.x),I=this.above[a];!l.strictSide&&(I?f.top-(d.bottom-d.top)-S.y<r.top:f.bottom+(d.bottom-d.top)+S.y>r.bottom)&&I==r.bottom-f.bottom>f.top-r.top&&(I=this.above[a]=!I);let _=(I?f.top-r.top:r.bottom-f.bottom)-g;if(_<v&&c.resize!==!1){if(_<this.view.defaultLineHeight){u.style.top=uu;continue}aC.set(c,v),u.style.height=(v=_)/o+"px"}else u.style.height&&(u.style.height="");let A=I?f.top-v-g-S.y:f.bottom+g+S.y,q=$+x;if(c.overlap!==!0)for(let le of s)le.left<q&&le.right>$&&le.top<A+v&&le.bottom>A&&(A=I?le.top-v-2-g:le.bottom+g+2);if(this.position=="absolute"?(u.style.top=(A-t.parent.top)/o+"px",u.style.left=($-t.parent.left)/n+"px"):(u.style.top=A/o+"px",u.style.left=$/n+"px"),p){let le=f.left+(T?S.x:-S.x)-($+14-7);p.style.left=le/n+"px"}c.overlap!==!0&&s.push({left:$,top:A,right:q,bottom:A+v}),u.classList.toggle("cm-tooltip-above",I),u.classList.toggle("cm-tooltip-below",!I),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=uu}},{eventObservers:{scroll(){this.maybeMeasure()}}}),xB=de.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),vB={x:0,y:0},Vn=be.define({enables:[Ey,xB]}),Qp=be.define({combine:t=>t.reduce((e,i)=>e.concat(i),[])}),Ap=class t{static create(e){return new t(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new _p(e,Qp,(i,r)=>this.createHostedView(i,r),i=>i.dom.remove())}createHostedView(e,i){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,i?i.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let i of this.manager.tooltipViews)i.mount&&i.mount(e);this.mounted=!0}positioned(e){for(let i of this.manager.tooltipViews)i.positioned&&i.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let i of this.manager.tooltipViews)(e=i.destroy)===null||e===void 0||e.call(i)}passProp(e){let i;for(let r of this.manager.tooltipViews){let n=r[e];if(n!==void 0){if(i===void 0)i=n;else if(i!==n)return}}return i}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}},wB=Vn.compute([Qp],t=>{let e=t.facet(Qp);return e.length===0?null:{pos:Math.min(...e.map(i=>i.pos)),end:Math.max(...e.map(i=>{var r;return(r=i.end)!==null&&r!==void 0?r:i.pos})),create:Ap.create,above:e[0].above,arrow:e.some(i=>i.arrow)}}),Oy=class{constructor(e,i,r,n,o){this.view=e,this.source=i,this.field=r,this.setHover=n,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:i}=this,r=e.docView.nearest(i.target);if(!r)return;let n,o=1;if(r instanceof Su)n=r.posAtStart;else{if(n=e.posAtCoords(i),n==null)return;let a=e.coordsAtPos(n);if(!a||i.y<a.top||i.y>a.bottom||i.x<a.left-e.defaultCharacterWidth||i.x>a.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(n)).find(u=>u.from<=n&&u.to>=n),c=l&&l.dir==ot.RTL?-1:1;o=i.x<a.left?-c:c}let s=this.source(e,n,o);if(s!=null&&s.then){let a=this.pending={pos:n};s.then(l=>{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>li(e.state,l,"hover tooltip"))}else s&&!(Array.isArray(s)&&!s.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let e=this.view.plugin(Ey),i=e?e.manager.tooltips.findIndex(r=>r.create==Ap.create):-1;return i>-1?e.manager.tooltipViews[i]:null}mousemove(e){var i,r;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:n,tooltip:o}=this;if(n.length&&o&&!kB(o.dom,e)||this.pending){let{pos:s}=n[0]||this.pending,a=(r=(i=n[0])===null||i===void 0?void 0:i.end)!==null&&r!==void 0?r:s;(s==a?this.view.posAtCoords(this.lastMove)!=s:!SB(this.view,s,a,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:i}=this;if(i.length){let{tooltip:r}=this;r&&r.dom.contains(e.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let i=r=>{e.removeEventListener("mouseleave",i),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",i)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}},hp=4;function kB(t,e){let i=t.getBoundingClientRect();return e.clientX>=i.left-hp&&e.clientX<=i.right+hp&&e.clientY>=i.top-hp&&e.clientY<=i.bottom+hp}function SB(t,e,i,r,n,o){let s=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(s.left>r||s.right<r||s.top>n||Math.min(s.bottom,a)<n)return!1;let l=t.posAtCoords({x:r,y:n},!1);return l>=e&&l<=i}function Ip(t,e={}){let i=Se.define(),r=He.define({create(){return[]},update(n,o){if(n.length&&(e.hideOnChange&&(o.docChanged||o.selection)?n=[]:e.hideOn&&(n=n.filter(s=>!e.hideOn(o,s))),o.docChanged)){let s=[];for(let a of n){let l=o.changes.mapPos(a.pos,-1,wt.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),a);c.pos=l,c.end!=null&&(c.end=o.changes.mapPos(c.end)),s.push(c)}}n=s}for(let s of o.effects)s.is(i)&&(n=s.value),s.is(TB)&&(n=[]);return n},provide:n=>Qp.from(n)});return[r,Fe.define(n=>new Oy(n,t,r,i,e.hoverTime||300)),wB]}function Cy(t,e){let i=t.plugin(Ey);if(!i)return null;let r=i.manager.tooltips.indexOf(e);return r<0?null:i.manager.tooltipViews[r]}var TB=Se.define();var lC=be.define({combine(t){let e,i;for(let r of t)e=e||r.topContainer,i=i||r.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Us(t,e){let i=t.plugin(xP),r=i?i.specs.indexOf(e):-1;return r>-1?i.panels[r]:null}var xP=Fe.fromClass(class{constructor(t){this.input=t.state.facet(br),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(lC);this.top=new rl(t,!0,e.topContainer),this.bottom=new rl(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(lC);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new rl(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new rl(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(br);if(i!=this.input){let r=i.filter(l=>l),n=[],o=[],s=[],a=[];for(let l of r){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),a.push(u)):(u=this.panels[c],u.update&&u.update(t)),n.push(u),(u.top?o:s).push(u)}this.specs=r,this.panels=n,this.top.sync(o),this.bottom.sync(s);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>de.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})}),rl=class{constructor(e,i,r){this.view=e,this.top=i,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=cC(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=cC(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}};function cC(t){let e=t.nextSibling;return t.remove(),e}var br=be.define({enables:xP}),er=class extends Ir{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};er.prototype.elementClass="";er.prototype.toDOM=void 0;er.prototype.mapMode=wt.TrackBefore;er.prototype.startSide=er.prototype.endSide=-1;er.prototype.point=!0;var bp=be.define(),EB={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>nt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},vu=be.define();function Py(t){return[vP(),vu.of(Object.assign(Object.assign({},EB),t))]}var my=be.define({combine:t=>t.some(e=>e)});function vP(t){let e=[CB];return t&&t.fixed===!1&&e.push(my.of(!0)),e}var CB=Fe.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(vu).map(e=>new $p(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(my),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,r=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(r<(i.to-i.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(my)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let i=nt.iter(this.view.state.facet(bp),this.view.viewport.from),r=[],n=this.gutters.map(o=>new by(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(o.type)){let s=!0;for(let a of o.type)if(a.type==ji.Text&&s){gy(i,r,a.from);for(let l of n)l.line(this.view,a,r);s=!1}else if(a.widget)for(let l of n)l.widget(this.view,a)}else if(o.type==ji.Text){gy(i,r,o.from);for(let s of n)s.line(this.view,o,r)}else if(o.widget)for(let s of n)s.widget(this.view,o);for(let o of n)o.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(vu),i=t.state.facet(vu),r=t.docChanged||t.heightChanged||t.viewportChanged||!nt.eq(t.startState.facet(bp),t.state.facet(bp),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let n of this.gutters)n.update(t)&&(r=!0);else{r=!0;let n=[];for(let o of i){let s=e.indexOf(o);s<0?n.push(new $p(this.view,o)):(this.gutters[s].update(t),n.push(this.gutters[s]))}for(let o of this.gutters)o.dom.remove(),n.indexOf(o)<0&&o.destroy();for(let o of n)this.dom.appendChild(o.dom);this.gutters=n}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>de.scrollMargins.of(e=>{let i=e.plugin(t);return!i||i.gutters.length==0||!i.fixed?null:e.textDirection==ot.LTR?{left:i.dom.offsetWidth*e.scaleX}:{right:i.dom.offsetWidth*e.scaleX}})});function uC(t){return Array.isArray(t)?t:[t]}function gy(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}var by=class{constructor(e,i,r){this.gutter=e,this.height=r,this.i=0,this.cursor=nt.iter(e.markers,i.from)}addElement(e,i,r){let{gutter:n}=this,o=(i.top-this.height)/e.scaleY,s=i.height/e.scaleY;if(this.i==n.elements.length){let a=new Xp(e,s,o,r);n.elements.push(a),n.dom.appendChild(a.dom)}else n.elements[this.i].update(e,s,o,r);this.height=i.bottom,this.i++}line(e,i,r){let n=[];gy(this.cursor,n,i.from),r.length&&(n=n.concat(r));let o=this.gutter.config.lineMarker(e,i,n);o&&n.unshift(o);let s=this.gutter;n.length==0&&!s.config.renderEmptyElements||this.addElement(e,i,n)}widget(e,i){let r=this.gutter.config.widgetMarker(e,i.widget,i);r&&this.addElement(e,i,[r])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let i=e.elements.pop();e.dom.removeChild(i.dom),i.destroy()}}},$p=class{constructor(e,i){this.view=e,this.config=i,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in i.domEventHandlers)this.dom.addEventListener(r,n=>{let o=n.target,s;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();s=(l.top+l.bottom)/2}else s=n.clientY;let a=e.lineBlockAtHeight(s-e.documentTop);i.domEventHandlers[r](e,a,n)&&n.preventDefault()});this.markers=uC(i.markers(e)),i.initialSpacer&&(this.spacer=new Xp(e,0,0,[i.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let i=this.markers;if(this.markers=uC(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let n=this.config.updateSpacer(this.spacer.markers[0],e);n!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[n])}let r=e.view.viewport;return!nt.eq(this.markers,i,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},Xp=class{constructor(e,i,r,n){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,i,r,n)}update(e,i,r,n){this.height!=i&&(this.height=i,this.dom.style.height=i+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),PB(this.markers,n)||this.setMarkers(e,n)}setMarkers(e,i){let r="cm-gutterElement",n=this.dom.firstChild;for(let o=0,s=0;;){let a=s,l=o<i.length?i[o++]:null,c=!1;if(l){let u=l.elementClass;u&&(r+=" "+u);for(let f=s;f<this.markers.length;f++)if(this.markers[f].compare(l)){a=f,c=!0;break}}else a=this.markers.length;for(;s<a;){let u=this.markers[s++];if(u.toDOM){u.destroy(n);let f=n.nextSibling;n.remove(),n=f}}if(!l)break;l.toDOM&&(c?n=n.nextSibling:this.dom.insertBefore(l.toDOM(e),n)),c&&s++}this.dom.className=r,this.markers=i}destroy(){this.setMarkers(null,[])}};function PB(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!t[i].compare(e[i]))return!1;return!0}var _B=be.define(),nl=be.define({combine(t){return kt(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,i){let r=Object.assign({},e);for(let n in i){let o=r[n],s=i[n];r[n]=o?(a,l,c)=>o(a,l,c)||s(a,l,c):s}return r}})}}),wu=class extends er{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};function Q1(t,e){return t.state.facet(nl).formatNumber(e,t.state)}var QB=vu.compute([nl],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(_B)},lineMarker(e,i,r){return r.some(n=>n.toDOM)?null:new wu(Q1(e,e.state.doc.lineAt(i.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(nl)!=e.state.facet(nl),initialSpacer(e){return new wu(Q1(e,fC(e.state.doc.lines)))},updateSpacer(e,i){let r=Q1(i.view,fC(i.view.state.doc.lines));return r==e.number?e:new wu(r)},domEventHandlers:t.facet(nl).domEventHandlers}));function wP(t={}){return[nl.of(t),vP(),QB]}function fC(t){let e=9;for(;e<t;)e=e*10+9;return e}var AB=new class extends er{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},$B=bp.compute(["selection"],t=>{let e=[],i=-1;for(let r of t.selection.ranges){let n=t.doc.lineAt(r.head).from;n>i&&(i=n,e.push(AB.range(n)))}return nt.of(e)});function kP(){return $B}var RB=0,yr=class t{constructor(e,i,r){this.set=e,this.base=i,this.modified=r,this.id=RB++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new t([],null,[]);if(i.set.push(i),e)for(let r of e.set)i.set.push(r);return i}static defineModifier(){let e=new Up;return i=>i.modified.indexOf(e)>-1?i:Up.get(i.base||i,i.modified.concat(e).sort((r,n)=>r.id-n.id))}},LB=0,Up=class t{constructor(){this.instances=[],this.id=LB++}static get(e,i){if(!i.length)return e;let r=i[0].instances.find(a=>a.base==e&&IB(i,a.modified));if(r)return r;let n=[],o=new yr(n,e,i);for(let a of i)a.instances.push(o);let s=DB(i);for(let a of e.set)if(!a.modified.length)for(let l of s)n.push(t.get(a,l));return o}};function IB(t,e){return t.length==e.length&&t.every((i,r)=>i==e[r])}function DB(t){let e=[[]];for(let i=0;i<t.length;i++)for(let r=0,n=e.length;r<n;r++)e.push(e[r].concat(t[i]));return e.sort((i,r)=>r.length-i.length)}function Pt(t){let e=Object.create(null);for(let i in t){let r=t[i];Array.isArray(r)||(r=[r]);for(let n of i.split(" "))if(n){let o=[],s=2,a=n;for(let f=0;;){if(a=="..."&&f>0&&f+3==n.length){s=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!d)throw new RangeError("Invalid path: "+n);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==n.length)break;let p=n[f++];if(f==n.length&&p=="!"){s=0;break}if(p!="/")throw new RangeError("Invalid path: "+n);a=n.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+n);let u=new al(r,s,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return EP.add(e)}var EP=new Qe,al=class{constructor(e,i,r,n){this.tags=e,this.mode=i,this.context=r,this.next=n}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}};al.empty=new al([],2,null);function $y(t,e){let i=Object.create(null);for(let o of t)if(!Array.isArray(o.tag))i[o.tag.id]=o.class;else for(let s of o.tag)i[s.id]=o.class;let{scope:r,all:n=null}=e||{};return{style:o=>{let s=n;for(let a of o)for(let l of a.set){let c=i[l.id];if(c){s=s?s+" "+c:c;break}}return s},scope:r}}function NB(t,e){let i=null;for(let r of t){let n=r.style(e);n&&(i=i?i+" "+n:n)}return i}function Xy(t,e,i,r=0,n=t.length){let o=new Qy(r,Array.isArray(e)?e:[e],i);o.highlightRange(t.cursor(),r,n,"",o.highlighters),o.flush(n)}function CP(t,e,i,r,n,o=0,s=t.length){let a=o;function l(c,u){if(!(c<=a)){for(let f=t.slice(a,c),d=0;;){let p=f.indexOf(`
`,d),g=p<0?f.length:p;if(g>d&&r(f.slice(d,g),u),p<0)break;n(),d=p+1}a=c}}Xy(e,i,(c,u,f)=>{l(c,""),l(u,f)},o,s),l(s,"")}var Qy=class{constructor(e,i,r){this.at=e,this.highlighters=i,this.span=r,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,r,n,o){let{type:s,from:a,to:l}=e;if(a>=r||l<=i)return;s.isTop&&(o=this.highlighters.filter(p=>!p.scope||p.scope(s)));let c=n,u=MB(e)||al.empty,f=NB(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(n+=(n?" ":"")+f)),this.startSpan(Math.max(i,a),c),u.opaque)return;let d=e.tree&&e.tree.prop(Qe.mounted);if(d&&d.overlay){let p=e.node.enter(d.overlay[0].from+a,1),g=this.highlighters.filter(v=>!v.scope||v.scope(d.tree.type)),x=e.firstChild();for(let v=0,S=a;;v++){let T=v<d.overlay.length?d.overlay[v]:null,$=T?T.from+a:l,I=Math.max(i,S),_=Math.min(r,$);if(I<_&&x)for(;e.from<_&&(this.highlightRange(e,I,_,n,o),this.startSpan(Math.min(_,e.to),c),!(e.to>=$||!e.nextSibling())););if(!T||$>r)break;S=T.to+a,S>i&&(this.highlightRange(p.cursor(),Math.max(i,T.from+a),Math.min(r,S),"",g),this.startSpan(Math.min(r,S),c))}x&&e.parent()}else if(e.firstChild()){d&&(n="");do if(!(e.to<=i)){if(e.from>=r)break;this.highlightRange(e,i,r,n,o),this.startSpan(Math.min(r,e.to),c)}while(e.nextSibling());e.parent()}}};function MB(t){let e=t.type.prop(EP);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}var xe=yr.define,Dp=xe(),jo=xe(),SP=xe(jo),TP=xe(jo),qo=xe(),Np=xe(qo),_y=xe(qo),fn=xe(),zs=xe(fn),cn=xe(),un=xe(),Ay=xe(),Qu=xe(Ay),Mp=xe(),C={comment:Dp,lineComment:xe(Dp),blockComment:xe(Dp),docComment:xe(Dp),name:jo,variableName:xe(jo),typeName:SP,tagName:xe(SP),propertyName:TP,attributeName:xe(TP),className:xe(jo),labelName:xe(jo),namespace:xe(jo),macroName:xe(jo),literal:qo,string:Np,docString:xe(Np),character:xe(Np),attributeValue:xe(Np),number:_y,integer:xe(_y),float:xe(_y),bool:xe(qo),regexp:xe(qo),escape:xe(qo),color:xe(qo),url:xe(qo),keyword:cn,self:xe(cn),null:xe(cn),atom:xe(cn),unit:xe(cn),modifier:xe(cn),operatorKeyword:xe(cn),controlKeyword:xe(cn),definitionKeyword:xe(cn),moduleKeyword:xe(cn),operator:un,derefOperator:xe(un),arithmeticOperator:xe(un),logicOperator:xe(un),bitwiseOperator:xe(un),compareOperator:xe(un),updateOperator:xe(un),definitionOperator:xe(un),typeOperator:xe(un),controlOperator:xe(un),punctuation:Ay,separator:xe(Ay),bracket:Qu,angleBracket:xe(Qu),squareBracket:xe(Qu),paren:xe(Qu),brace:xe(Qu),content:fn,heading:zs,heading1:xe(zs),heading2:xe(zs),heading3:xe(zs),heading4:xe(zs),heading5:xe(zs),heading6:xe(zs),contentSeparator:xe(fn),list:xe(fn),quote:xe(fn),emphasis:xe(fn),strong:xe(fn),link:xe(fn),monospace:xe(fn),strikethrough:xe(fn),inserted:xe(),deleted:xe(),changed:xe(),invalid:xe(),meta:Mp,documentMeta:xe(Mp),annotation:xe(Mp),processingInstruction:xe(Mp),definition:yr.defineModifier(),constant:yr.defineModifier(),function:yr.defineModifier(),standard:yr.defineModifier(),local:yr.defineModifier(),special:yr.defineModifier()},Gye=$y([{tag:C.link,class:"tok-link"},{tag:C.heading,class:"tok-heading"},{tag:C.emphasis,class:"tok-emphasis"},{tag:C.strong,class:"tok-strong"},{tag:C.keyword,class:"tok-keyword"},{tag:C.atom,class:"tok-atom"},{tag:C.bool,class:"tok-bool"},{tag:C.url,class:"tok-url"},{tag:C.labelName,class:"tok-labelName"},{tag:C.inserted,class:"tok-inserted"},{tag:C.deleted,class:"tok-deleted"},{tag:C.literal,class:"tok-literal"},{tag:C.string,class:"tok-string"},{tag:C.number,class:"tok-number"},{tag:[C.regexp,C.escape,C.special(C.string)],class:"tok-string2"},{tag:C.variableName,class:"tok-variableName"},{tag:C.local(C.variableName),class:"tok-variableName tok-local"},{tag:C.definition(C.variableName),class:"tok-variableName tok-definition"},{tag:C.special(C.variableName),class:"tok-variableName2"},{tag:C.definition(C.propertyName),class:"tok-propertyName tok-definition"},{tag:C.typeName,class:"tok-typeName"},{tag:C.namespace,class:"tok-namespace"},{tag:C.className,class:"tok-className"},{tag:C.macroName,class:"tok-macroName"},{tag:C.propertyName,class:"tok-propertyName"},{tag:C.operator,class:"tok-operator"},{tag:C.comment,class:"tok-comment"},{tag:C.meta,class:"tok-meta"},{tag:C.invalid,class:"tok-invalid"},{tag:C.punctuation,class:"tok-punctuation"}]);var Ry,Yn=new Qe;function ul(t){return be.define({combine:t?e=>e.concat(t):void 0})}var Wp=new Qe,ci=class{constructor(e,i,r=[],n=""){this.data=e,this.name=n,rt.prototype.hasOwnProperty("tree")||Object.defineProperty(rt.prototype,"tree",{get(){return ze(this)}}),this.parser=i,this.extension=[Wo.of(this),rt.languageData.of((o,s,a)=>{let l=PP(o,s,a),c=l.type.prop(Yn);if(!c)return[];let u=o.facet(c),f=l.type.prop(Wp);if(f){let d=l.resolve(s-l.from,a);for(let p of f)if(p.test(d,o)){let g=o.facet(p.facet);return p.type=="replace"?g:g.concat(u)}}return u})].concat(r)}isActiveAt(e,i,r=-1){return PP(e,i,r).type.prop(Yn)==this.data}findRegions(e){let i=e.facet(Wo);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let r=[],n=(o,s)=>{if(o.prop(Yn)==this.data){r.push({from:s,to:s+o.length});return}let a=o.prop(Qe.mounted);if(a){if(a.tree.prop(Yn)==this.data){if(a.overlay)for(let l of a.overlay)r.push({from:l.from+s,to:l.to+s});else r.push({from:s,to:s+o.length});return}else if(a.overlay){let l=r.length;if(n(a.tree,a.overlay[0].from+s),r.length>l)return}}for(let l=0;l<o.children.length;l++){let c=o.children[l];c instanceof qe&&n(c,o.positions[l]+s)}};return n(ze(e),0),r}get allowsNesting(){return!0}};ci.setState=Se.define();function PP(t,e,i){let r=t.facet(Wo),n=ze(t).topNode;if(!r||r.allowsNesting)for(let o=n;o;o=o.enter(e,i,st.ExcludeBuffers))o.type.isTop&&(n=o);return n}var Yt=class t extends ci{constructor(e,i,r){super(e,i,[],r),this.parser=i}static define(e){let i=ul(e.languageData);return new t(i,e.parser.configure({props:[Yn.add(r=>r.isTop?i:void 0)]}),e.name)}configure(e,i){return new t(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function ze(t){let e=t.field(ci.state,!1);return e?e.tree:qe.empty}function Zy(t,e,i=50){var r;let n=(r=t.field(ci.state,!1))===null||r===void 0?void 0:r.context;if(!n)return null;let o=n.viewport;n.updateViewport({from:0,to:e});let s=n.isDone(e)||n.work(i,e)?n.tree:null;return n.updateViewport(o),s}var Ny=class{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let r=this.cursorPos-this.string.length;return e<r||i>=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-r,i-r)}},Au=null,js=class t{constructor(e,i,r=[],n,o,s,a,l){this.parser=e,this.state=i,this.fragments=r,this.tree=n,this.treeLen=o,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,i,r){return new t(e,i,[],qe.empty,0,r,[],null)}startParse(){return this.parser.startParse(new Ny(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=qe.empty&&this.isDone(i!=null?i:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let n=Date.now()+e;e=()=>Date.now()>n}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i<this.state.doc.length&&this.parse.stopAt(i);;){let n=this.parse.advance();if(n)if(this.fragments=this.withoutTempSkipped(jn.addTree(n,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(r=this.parse.stoppedAt)!==null&&r!==void 0?r:this.state.doc.length,this.tree=n,this.parse=null,this.treeLen<(i!=null?i:this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,i;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(jn.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Au;Au=this;try{return e()}finally{Au=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=_P(e,i.from,i.to);return e}changes(e,i){let{fragments:r,tree:n,treeLen:o,viewport:s,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,f,d)=>l.push({fromA:c,toA:u,fromB:f,toB:d})),r=jn.applyChanges(r,l),n=qe.empty,o=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);u<f&&a.push({from:u,to:f})}}}return new t(this.parser,i,r,n,o,s,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let i=this.skipped.length;for(let r=0;r<this.skipped.length;r++){let{from:n,to:o}=this.skipped[r];n<e.to&&o>e.from&&(this.fragments=_P(this.fragments,n,o),this.skipped.splice(r--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends qn{createParse(i,r,n){let o=n[0].from,s=n[n.length-1].to;return{parsedPos:o,advance(){let l=Au;if(l){for(let c of n)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=s,new qe(Et.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Au}};function _P(t,e,i){return jn.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}var Xu=class t{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,r)||i.takeTree(),new t(i)}static init(e){let i=Math.min(3e3,e.doc.length),r=js.create(e.facet(Wo).parser,e,{from:0,to:i});return r.work(20,i)||r.takeTree(),new t(r)}};ci.state=He.define({create:Xu.init,update(t,e){for(let i of e.effects)if(i.is(ci.setState))return i.value;return e.startState.facet(Wo)!=e.state.facet(Wo)?Xu.init(e.state):t.apply(e)}});var LP=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback!="undefined"&&(LP=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});var Ly=typeof navigator!="undefined"&&(!((Ry=navigator.scheduling)===null||Ry===void 0)&&Ry.isInputPending)?()=>navigator.scheduling.isInputPending():null,UB=Fe.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(ci.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(ci.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=LP(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEnd<i&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=i+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:r,viewport:{to:n}}=this.view,o=r.field(ci.state);if(o.tree==o.context.tree&&o.context.isDone(n+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!Ly?Math.max(25,e.timeRemaining()-5):1e9),a=o.context.treeLen<n&&r.doc.length>n+1e3,l=o.context.work(()=>Ly&&Ly()||Date.now()>s,n+(a?0:1e5));this.chunkBudget-=Date.now()-i,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:ci.setState.of(new Xu(o.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>li(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Wo=be.define({combine(t){return t.length?t[0]:null},enables:t=>[ci.state,UB,de.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]}),St=class{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}},Dt=class t{constructor(e,i,r,n,o,s=void 0){this.name=e,this.alias=i,this.extensions=r,this.filename=n,this.loadFunc=o,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:r}=e;if(!i){if(!r)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(r)}return new t(e.name,(e.alias||[]).concat(e.name).map(n=>n.toLowerCase()),e.extensions||[],e.filename,i,r)}static matchFilename(e,i){for(let n of e)if(n.filename&&n.filename.test(i))return n;let r=/\.([^.]+)$/.exec(i);if(r){for(let n of e)if(n.extensions.indexOf(r[1])>-1)return n}return null}static matchLanguageName(e,i,r=!0){i=i.toLowerCase();for(let n of e)if(n.alias.some(o=>o==i))return n;if(r)for(let n of e)for(let o of n.alias){let s=i.indexOf(o);if(s>-1&&(o.length>2||!/\w/.test(i[s-1])&&!/\w/.test(i[s+o.length])))return n}return null}},IP=be.define(),Nr=be.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function hn(t){let e=t.facet(Nr);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Fn(t,e){let i="",r=t.tabSize,n=t.facet(Nr)[0];if(n==" "){for(;e>=r;)i+=" ",e-=r;n=" "}for(let o=0;o<e;o++)i+=n;return i}function fl(t,e){t instanceof rt&&(t=new qs(t));for(let r of t.state.facet(IP)){let n=r(t,e);if(n!==void 0)return n}let i=ze(t.state);return i.length>=e?zB(t,i,e):null}var qs=class{constructor(e,i={}){this.state=e,this.options=i,this.unit=hn(e)}lineAt(e,i=1){let r=this.state.doc.lineAt(e),{simulateBreak:n,simulateDoubleBreak:o}=this.options;return n!=null&&n>=r.from&&n<=r.to?o&&n==e?{text:"",from:e}:(i<0?n<e:n<=e)?{text:r.text.slice(n-r.from),from:n}:{text:r.text.slice(0,n-r.from),from:r.from}:r}textAfterPos(e,i=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:r,from:n}=this.lineAt(e,i);return r.slice(e-n,Math.min(r.length,e+100-n))}column(e,i=1){let{text:r,from:n}=this.lineAt(e,i),o=this.countColumn(r,e-n),s=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return s>-1&&(o+=s-this.countColumn(r,r.search(/\S|$/))),o}countColumn(e,i=e.length){return Ai(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:r,from:n}=this.lineAt(e,i),o=this.options.overrideIndentation;if(o){let s=o(n);if(s>-1)return s}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},Ft=new Qe;function zB(t,e,i){let r=e.resolveStack(i),n=r.node.enterUnfinishedNodesBefore(i);if(n!=r.node){let o=[];for(let s=n;s!=r.node;s=s.parent)o.push(s);for(let s=o.length-1;s>=0;s--)r={node:o[s],next:r}}return DP(r,t,i)}function DP(t,e,i){for(let r=t;r;r=r.next){let n=qB(r.node);if(n)return n(My.create(e,i,r))}return 0}function jB(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function qB(t){let e=t.type.prop(Ft);if(e)return e;let i=t.firstChild,r;if(i&&(r=i.type.prop(Qe.closedBy))){let n=t.lastChild,o=n&&r.indexOf(n.name)>-1;return s=>NP(s,!0,1,void 0,o&&!jB(s)?n.from:void 0)}return t.parent==null?WB:null}function WB(){return 0}var My=class t extends qs{constructor(e,i,r){super(e.state,e.options),this.base=e,this.pos=i,this.context=r}get node(){return this.context.node}static create(e,i,r){return new t(e,i,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(i.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(BB(r,e))break;i=this.state.doc.lineAt(r.from)}return this.lineIndent(i.from)}continue(){return DP(this.context.next,this.base,this.pos)}};function BB(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function ZB(t){let e=t.node,i=e.childAfter(e.from),r=e.lastChild;if(!i)return null;let n=t.options.simulateBreak,o=t.state.doc.lineAt(i.from),s=n==null||n<=o.from?o.to:Math.min(o.to,n);for(let a=i.to;;){let l=e.childAfter(a);if(!l||l==r)return null;if(!l.type.isSkipped)return l.from<s?i:null;a=l.to}}function tr({closing:t,align:e=!0,units:i=1}){return r=>NP(r,e,i,t)}function NP(t,e,i,r,n){let o=t.textAfter,s=o.match(/^\s*/)[0].length,a=r&&o.slice(s,s+r.length)==r||n==t.pos+s,l=e?ZB(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*i)}var Bp=t=>t.baseIndent;function vi({except:t,units:e=1}={}){return i=>{let r=t&&t.test(i.textAfter);return i.baseIndent+(r?0:e*i.unit)}}var VB=200;function MP(){return rt.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let i=t.newDoc,{head:r}=t.newSelection.main,n=i.lineAt(r);if(r>n.from+VB)return t;let o=i.sliceString(n.from,r);if(!e.some(c=>c.test(o)))return t;let{state:s}=t,a=-1,l=[];for(let{head:c}of s.selection.ranges){let u=s.doc.lineAt(c);if(u.from==a)continue;a=u.from;let f=fl(s,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],p=Fn(s,f);d!=p&&l.push({from:u.from,to:u.from+d.length,insert:p})}return l.length?[t,{changes:l,sequential:!0}]:t})}var Vy=be.define(),qt=new Qe;function dn(t){let e=t.firstChild,i=t.lastChild;return e&&e.to<i.from?{from:e.to,to:i.type.isError?t.to:i.from}:null}function YB(t,e,i){let r=ze(t);if(r.length<i)return null;let n=r.resolveStack(i,1),o=null;for(let s=n;s;s=s.next){let a=s.node;if(a.to<=i||a.from>i)continue;if(o&&a.from<e)break;let l=a.type.prop(qt);if(l&&(a.to<r.length-50||r.length==t.doc.length||!FB(a))){let c=l(a,t);c&&c.from<=i&&c.from>=e&&c.to>i&&(o=c)}}return o}function FB(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function zp(t,e,i){for(let r of t.facet(Vy)){let n=r(t,e,i);if(n)return n}return YB(t,e,i)}function UP(t,e){let i=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return i>=r?void 0:{from:i,to:r}}var Zp=Se.define({map:UP}),Iu=Se.define({map:UP});function zP(t){let e=[];for(let{head:i}of t.state.selection.ranges)e.some(r=>r.from<=i&&r.to>=i)||e.push(t.lineBlockAt(i));return e}var Ws=He.define({create(){return we.none},update(t,e){t=t.map(e.changes);for(let i of e.effects)if(i.is(Zp)&&!HB(t,i.value.from,i.value.to)){let{preparePlaceholder:r}=e.state.facet(Yy),n=r?we.replace({widget:new Uy(r(e.state,i.value))}):QP;t=t.update({add:[n.range(i.value.from,i.value.to)]})}else i.is(Iu)&&(t=t.update({filter:(r,n)=>i.value.from!=r||i.value.to!=n,filterFrom:i.value.from,filterTo:i.value.to}));if(e.selection){let i=!1,{head:r}=e.selection.main;t.between(r,r,(n,o)=>{n<r&&o>r&&(i=!0)}),i&&(t=t.update({filterFrom:r,filterTo:r,filter:(n,o)=>o<=r||n>=r}))}return t},provide:t=>de.decorations.from(t),toJSON(t,e){let i=[];return t.between(0,e.doc.length,(r,n)=>{i.push(r,n)}),i},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let i=0;i<t.length;){let r=t[i++],n=t[i++];if(typeof r!="number"||typeof n!="number")throw new RangeError("Invalid JSON for fold state");e.push(QP.range(r,n))}return we.set(e,!0)}});function jp(t,e,i){var r;let n=null;return(r=t.field(Ws,!1))===null||r===void 0||r.between(e,i,(o,s)=>{(!n||n.from>o)&&(n={from:o,to:s})}),n}function HB(t,e,i){let r=!1;return t.between(e,e,(n,o)=>{n==e&&o==i&&(r=!0)}),r}function jP(t,e){return t.field(Ws,!1)?e:e.concat(Se.appendConfig.of(Yp()))}var Vp=t=>{for(let e of zP(t)){let i=zp(t.state,e.from,e.to);if(i)return t.dispatch({effects:jP(t.state,[Zp.of(i),WP(t,i)])}),!0}return!1},qP=t=>{if(!t.state.field(Ws,!1))return!1;let e=[];for(let i of zP(t)){let r=jp(t.state,i.from,i.to);r&&e.push(Iu.of(r),WP(t,r,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function WP(t,e,i=!0){let r=t.state.doc.lineAt(e.from).number,n=t.state.doc.lineAt(e.to).number;return de.announce.of(`${t.state.phrase(i?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${n}.`)}var BP=t=>{let{state:e}=t,i=[];for(let r=0;r<e.doc.length;){let n=t.lineBlockAt(r),o=zp(e,n.from,n.to);o&&i.push(Zp.of(o)),r=(o?t.lineBlockAt(o.to):n).to+1}return i.length&&t.dispatch({effects:jP(t.state,i)}),!!i.length},ZP=t=>{let e=t.state.field(Ws,!1);if(!e||!e.size)return!1;let i=[];return e.between(0,t.state.doc.length,(r,n)=>{i.push(Iu.of({from:r,to:n}))}),t.dispatch({effects:i}),!0};var GB={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},Yy=be.define({combine(t){return kt(t,GB)}});function Yp(t){let e=[Ws,JB];return t&&e.push(Yy.of(t)),e}function VP(t,e){let{state:i}=t,r=i.facet(Yy),n=s=>{let a=t.lineBlockAt(t.posAtDOM(s.target)),l=jp(t.state,a.from,a.to);l&&t.dispatch({effects:Iu.of(l)}),s.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,n,e);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",i.phrase("folded code")),o.title=i.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=n,o}var QP=we.replace({widget:new class extends Jt{toDOM(t){return VP(t,null)}}}),Uy=class extends Jt{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return VP(e,this.value)}},KB={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},$u=class extends er{constructor(e,i){super(),this.config=e,this.open=i}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let i=document.createElement("span");return i.textContent=this.open?this.config.openText:this.config.closedText,i.title=e.state.phrase(this.open?"Fold line":"Unfold line"),i}};function YP(t={}){let e=Object.assign(Object.assign({},KB),t),i=new $u(e,!0),r=new $u(e,!1),n=Fe.fromClass(class{constructor(s){this.from=s.viewport.from,this.markers=this.buildMarkers(s)}update(s){(s.docChanged||s.viewportChanged||s.startState.facet(Wo)!=s.state.facet(Wo)||s.startState.field(Ws,!1)!=s.state.field(Ws,!1)||ze(s.startState)!=ze(s.state)||e.foldingChanged(s))&&(this.markers=this.buildMarkers(s.view))}buildMarkers(s){let a=new Ki;for(let l of s.viewportLineBlocks){let c=jp(s.state,l.from,l.to)?r:zp(s.state,l.from,l.to)?i:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:o}=e;return[n,Py({class:"cm-foldGutter",markers(s){var a;return((a=s.plugin(n))===null||a===void 0?void 0:a.markers)||nt.empty},initialSpacer(){return new $u(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(s,a,l)=>{if(o.click&&o.click(s,a,l))return!0;let c=jp(s.state,a.from,a.to);if(c)return s.dispatch({effects:Iu.of(c)}),!0;let u=zp(s.state,a.from,a.to);return u?(s.dispatch({effects:Zp.of(u)}),!0):!1}})}),Yp()]}var JB=de.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),ll=class t{constructor(e,i){this.specs=e;let r;function n(a){let l=Ui.newName();return(r||(r=Object.create(null)))["."+l]=a,l}let o=typeof i.all=="string"?i.all:i.all?n(i.all):void 0,s=i.scope;this.scope=s instanceof ci?a=>a.prop(Yn)==s.data:s?a=>a==s:void 0,this.style=$y(e.map(a=>({tag:a.tag,class:a.class||n(Object.assign({},a,{tag:null}))})),{all:o}).style,this.module=r?new Ui(r):null,this.themeType=i.themeType}static define(e,i){return new t(e,i||{})}},zy=be.define(),FP=be.define({combine(t){return t.length?[t[0]]:null}});function Iy(t){let e=t.facet(zy);return e.length?e:t.facet(FP)}function Fy(t,e){let i=[eZ],r;return t instanceof ll&&(t.module&&i.push(de.styleModule.of(t.module)),r=t.themeType),e!=null&&e.fallback?i.push(FP.of(t)):r?i.push(zy.computeN([de.darkTheme],n=>n.facet(de.darkTheme)==(r=="dark")?[t]:[])):i.push(zy.of(t)),i}var jy=class{constructor(e){this.markCache=Object.create(null),this.tree=ze(e.state),this.decorations=this.buildDeco(e,Iy(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=ze(e.state),r=Iy(e.state),n=r!=Iy(e.startState),{viewport:o}=e.view,s=e.changes.mapPos(this.decoratedTo,1);i.length<o.to&&!n&&i.type==this.tree.type&&s>=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(i!=this.tree||e.viewportChanged||n)&&(this.tree=i,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=o.to)}buildDeco(e,i){if(!i||!this.tree.length)return we.none;let r=new Ki;for(let{from:n,to:o}of e.visibleRanges)Xy(this.tree,i,(s,a,l)=>{r.add(s,a,this.markCache[l]||(this.markCache[l]=we.mark({class:l})))},n,o);return r.finish()}},eZ=$t.high(Fe.fromClass(jy,{decorations:t=>t.decorations})),oxe=ll.define([{tag:C.meta,color:"#404740"},{tag:C.link,textDecoration:"underline"},{tag:C.heading,textDecoration:"underline",fontWeight:"bold"},{tag:C.emphasis,fontStyle:"italic"},{tag:C.strong,fontWeight:"bold"},{tag:C.strikethrough,textDecoration:"line-through"},{tag:C.keyword,color:"#708"},{tag:[C.atom,C.bool,C.url,C.contentSeparator,C.labelName],color:"#219"},{tag:[C.literal,C.inserted],color:"#164"},{tag:[C.string,C.deleted],color:"#a11"},{tag:[C.regexp,C.escape,C.special(C.string)],color:"#e40"},{tag:C.definition(C.variableName),color:"#00f"},{tag:C.local(C.variableName),color:"#30a"},{tag:[C.typeName,C.namespace],color:"#085"},{tag:C.className,color:"#167"},{tag:[C.special(C.variableName),C.macroName],color:"#256"},{tag:C.definition(C.propertyName),color:"#00c"},{tag:C.comment,color:"#940"},{tag:C.invalid,color:"#f00"}]),tZ=de.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),HP=1e4,GP="()[]{}",KP=be.define({combine(t){return kt(t,{afterCursor:!0,brackets:GP,maxScanDistance:HP,renderMatch:nZ})}}),iZ=we.mark({class:"cm-matchingBracket"}),rZ=we.mark({class:"cm-nonmatchingBracket"});function nZ(t){let e=[],i=t.matched?iZ:rZ;return e.push(i.range(t.start.from,t.start.to)),t.end&&e.push(i.range(t.end.from,t.end.to)),e}var oZ=He.define({create(){return we.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let i=[],r=e.state.facet(KP);for(let n of e.state.selection.ranges){if(!n.empty)continue;let o=xr(e.state,n.head,-1,r)||n.head>0&&xr(e.state,n.head-1,1,r)||r.afterCursor&&(xr(e.state,n.head,1,r)||n.head<e.state.doc.length&&xr(e.state,n.head+1,-1,r));o&&(i=i.concat(r.renderMatch(o,e.state)))}return we.set(i,!0)},provide:t=>de.decorations.from(t)}),sZ=[oZ,tZ];function JP(t={}){return[KP.of(t),sZ]}var Du=new Qe;function qy(t,e,i){let r=t.prop(e<0?Qe.openedBy:Qe.closedBy);if(r)return r;if(t.name.length==1){let n=i.indexOf(t.name);if(n>-1&&n%2==(e<0?1:0))return[i[n+e]]}return null}function Wy(t){let e=t.type.prop(Du);return e?e(t.node):t}function xr(t,e,i,r={}){let n=r.maxScanDistance||HP,o=r.brackets||GP,s=ze(t),a=s.resolveInner(e,i);for(let l=a;l;l=l.parent){let c=qy(l.type,i,o);if(c&&l.from<l.to){let u=Wy(l);if(u&&(i>0?e>=u.from&&e<u.to:e>u.from&&e<=u.to))return aZ(t,e,i,l,u,c,o)}}return lZ(t,e,i,s,a.type,n,o)}function aZ(t,e,i,r,n,o,s){let a=r.parent,l={from:n.from,to:n.to},c=0,u=a==null?void 0:a.cursor();if(u&&(i<0?u.childBefore(r.from):u.childAfter(r.to)))do if(i<0?u.to<=r.from:u.from>=r.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from<u.to){let f=Wy(u);return{start:l,end:f?{from:f.from,to:f.to}:void 0,matched:!0}}else if(qy(u.type,i,s))c++;else if(qy(u.type,-i,s)){if(c==0){let f=Wy(u);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}c--}}while(i<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function lZ(t,e,i,r,n,o,s){let a=i<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=s.indexOf(a);if(l<0||l%2==0!=i>0)return null;let c={from:i<0?e-1:e,to:i>0?e+1:e},u=t.doc.iterRange(e,i>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let p=u.value;i<0&&(d+=p.length);let g=e+d*i;for(let x=i>0?0:p.length-1,v=i>0?p.length:-1;x!=v;x+=i){let S=s.indexOf(p[x]);if(!(S<0||r.resolveInner(g+x,1).type!=n))if(S%2==0==i>0)f++;else{if(f==1)return{start:c,end:{from:g+x,to:g+x+1},matched:S>>1==l>>1};f--}}i>0&&(d+=p.length)}return u.done?{start:c,matched:!1}:null}function AP(t,e,i,r=0,n=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let o=n;for(let s=r;s<e;s++)t.charCodeAt(s)==9?o+=i-o%i:o++;return o}var cl=class{constructor(e,i,r,n){this.string=e,this.tabSize=i,this.indentUnit=r,this.overrideIndent=n,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let i=this.string.charAt(this.pos),r;if(typeof e=="string"?r=i==e:r=i&&(e instanceof RegExp?e.test(i):e(i)),r)return++this.pos,i}eatWhile(e){let i=this.pos;for(;this.eat(e););return this.pos>i}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=AP(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return(e=this.overrideIndent)!==null&&e!==void 0?e:AP(this.string,null,this.tabSize)}match(e,i,r){if(typeof e=="string"){let n=s=>r?s.toLowerCase():s,o=this.string.substr(this.pos,e.length);return n(o)==n(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&i!==!1&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}};function cZ(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||uZ,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||Gy}}function uZ(t){if(typeof t!="object")return t;let e={};for(let i in t){let r=t[i];e[i]=r instanceof Array?r.slice():r}return e}var $P=new WeakMap,Ru=class t extends ci{constructor(e){let i=ul(e.languageData),r=cZ(e),n,o=new class extends qn{createParse(s,a,l){return new By(n,s,a,l)}};super(i,o,[IP.of((s,a)=>this.getIndent(s,a))],e.name),this.topNode=pZ(i),n=this,this.streamParser=r,this.stateAfter=new Qe({perNode:!0}),this.tokenTable=e.tokenTable?new qp(r.tokenTable):dZ}static define(e){return new t(e)}getIndent(e,i){let r=ze(e.state),n=r.resolve(i);for(;n&&n.type!=this.topNode;)n=n.parent;if(!n)return null;let o,{overrideIndentation:s}=e.options;s&&(o=$P.get(e.state),o!=null&&o<i-1e4&&(o=void 0));let a=Hy(this,r,0,n.from,o!=null?o:i),l,c;if(a?(c=a.state,l=a.pos+1):(c=this.streamParser.startState(e.unit),l=0),i-l>1e4)return null;for(;l<i;){let f=e.state.doc.lineAt(l),d=Math.min(i,f.to);if(f.length){let p=s?s(f.from):-1,g=new cl(f.text,e.state.tabSize,e.unit,p<0?void 0:p);for(;g.pos<d-f.from;)t_(this.streamParser.token,g,c)}else this.streamParser.blankLine(c,e.unit);if(d==i)break;l=f.to+1}let u=e.lineAt(i);return s&&o==null&&$P.set(e.state,u.from),this.streamParser.indent(c,/^\s*(.*)/.exec(u.text)[1],e)}get allowsNesting(){return!1}};function Hy(t,e,i,r,n){let o=i>=r&&i+e.length<=n&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:i+e.length};for(let s=e.children.length-1;s>=0;s--){let a=e.children[s],l=i+e.positions[s],c=a instanceof qe&&l<n&&Hy(t,a,l,r,n);if(c)return c}return null}function e_(t,e,i,r,n){if(n&&i<=0&&r>=e.length)return e;!n&&e.type==t.topNode&&(n=!0);for(let o=e.children.length-1;o>=0;o--){let s=e.positions[o],a=e.children[o],l;if(s<r&&a instanceof qe){if(!(l=e_(t,a,i-s,r-s,n)))break;return n?new qe(e.type,e.children.slice(0,o).concat(l),e.positions.slice(0,o+1),s+l.length):l}}return null}function fZ(t,e,i,r){for(let n of e){let o=n.from+(n.openStart?25:0),s=n.to-(n.openEnd?25:0),a=o<=i&&s>i&&Hy(t,n.tree,0-n.offset,i,s),l;if(a&&(l=e_(t,n.tree,i+n.offset,a.pos+n.offset,!1)))return{state:a.state,tree:l}}return{state:t.streamParser.startState(r?hn(r):4),tree:qe.empty}}var By=class{constructor(e,i,r,n){this.lang=e,this.input=i,this.fragments=r,this.ranges=n,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=n[n.length-1].to;let o=js.get(),s=n[0].from,{state:a,tree:l}=fZ(e,r,s,o==null?void 0:o.state);this.state=a,this.parsedPos=this.chunkStart=s+l.length;for(let c=0;c<l.children.length;c++)this.chunks.push(l.children[c]),this.chunkPos.push(l.positions[c]);o&&this.parsedPos<o.viewport.from-1e5&&(this.state=this.lang.streamParser.startState(hn(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}advance(){let e=js.get(),i=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),r=Math.min(i,this.chunkStart+2048);for(e&&(r=Math.min(r,e.viewport.to));this.parsedPos<r;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==`
`&&(i="");else{let r=i.indexOf(`
`);r>-1&&(i=i.slice(0,r))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),r=e+i.length;for(let n=this.rangeIndex;;){let o=this.ranges[n].to;if(o>=r||(i=i.slice(0,o-(r-i.length)),n++,n==this.ranges.length))break;let s=this.ranges[n].from,a=this.lineAfter(s);i+=a,r=s+a.length}return{line:i,end:r}}skipGapsTo(e,i,r){for(;;){let n=this.ranges[this.rangeIndex].to,o=e+i;if(r>0?n>o:n>=o)break;let s=this.ranges[++this.rangeIndex].from;i+=s-n}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,i,r,n,o){if(this.ranges.length>1){o=this.skipGapsTo(i,o,1),i+=o;let s=this.chunk.length;o=this.skipGapsTo(r,o,-1),r+=o,n+=this.chunk.length-s}return this.chunk.push(e,i,r,n),o}parseLine(e){let{line:i,end:r}=this.nextLine(),n=0,{streamParser:o}=this.lang,s=new cl(i,e?e.state.tabSize:4,e?hn(e.state):2);if(s.eol())o.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let a=t_(o.token,s,this.state);if(a&&(n=this.emitToken(this.lang.tokenTable.resolve(a),this.parsedPos+s.start,this.parsedPos+s.pos,4,n)),s.start>1e4)break}this.parsedPos=r,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=qe.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:hZ,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new qe(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new qe(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}};function t_(t,e,i){e.start=e.pos;for(let r=0;r<10;r++){let n=t(e,i);if(e.pos>e.start)return n}throw new Error("Stream parser failed to advance stream.")}var Gy=Object.create(null),Lu=[Et.none],hZ=new zn(Lu),XP=[],RP=Object.create(null),i_=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])i_[t]=r_(Gy,e);var qp=class{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),i_)}resolve(e){return e?this.table[e]||(this.table[e]=r_(this.extra,e)):0}},dZ=new qp(Gy);function Dy(t,e){XP.indexOf(t)>-1||(XP.push(t),console.warn(e))}function r_(t,e){let i=[];for(let a of e.split(" ")){let l=[];for(let c of a.split(".")){let u=t[c]||C[c];u?typeof u=="function"?l.length?l=l.map(u):Dy(c,`Modifier ${c} used at start of tag`):l.length?Dy(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:Dy(c,`Unknown highlighting tag ${c}`)}for(let c of l)i.push(c)}if(!i.length)return 0;let r=e.replace(/ /g,"_"),n=r+" "+i.map(a=>a.id),o=RP[n];if(o)return o.id;let s=RP[n]=Et.define({id:Lu.length,name:r,props:[Pt({[r]:i})]});return Lu.push(s),s.id}function pZ(t){let e=Et.define({id:Lu.length,name:"Document",props:[Yn.add(()=>t)],top:!0});return Lu.push(e),e}var sxe={rtl:we.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:ot.RTL}),ltr:we.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:ot.LTR}),auto:we.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})};var hl=class{constructor(e,i,r){this.state=e,this.pos=i,this.explicit=r,this.abortListeners=[]}tokenBefore(e){let i=ze(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),r=Math.max(i.from,this.pos-250),n=i.text.slice(r-i.from,this.pos-i.from),o=n.search(h_(e,!1));return o<0?null:{from:r+o,to:this.pos,text:n.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,i){e=="abort"&&this.abortListeners&&this.abortListeners.push(i)}};function n_(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function OZ(t){let e=Object.create(null),i=Object.create(null);for(let{label:n}of t){e[n[0]]=!0;for(let o=1;o<n.length;o++)i[n[o]]=!0}let r=n_(e)+n_(i)+"*$";return[new RegExp("^"+r),new RegExp(r)]}function zu(t){let e=t.map(n=>typeof n=="string"?{label:n}:n),[i,r]=e.every(n=>/^\w+$/.test(n.label))?[/\w*$/,/\w+$/]:OZ(e);return n=>{let o=n.matchBefore(r);return o||n.explicit?{from:o?o.from:n.pos,options:e,validFor:i}:null}}function Kp(t,e){return i=>{for(let r=ze(i.state).resolveInner(i.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(i)}}var Fp=class{constructor(e,i,r,n){this.completion=e,this.source=i,this.match=r,this.score=n}};function Bo(t){return t.selection.main.from}function h_(t,e){var i;let{source:r}=t,n=e&&r[0]!="^",o=r[r.length-1]!="$";return!n&&!o?t:new RegExp(`${n?"^":""}(?:${r})${o?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}var ux=xi.define();function mZ(t,e,i,r){let{main:n}=t.selection,o=i-n.from,s=r-n.from;return Object.assign(Object.assign({},t.changeByRange(a=>a!=n&&i!=r&&t.sliceDoc(a.from+o,a.from+s)!=t.sliceDoc(i,r)?{range:a}:{changes:{from:a.from+o,to:r==n.from?a.to:a.from+s,insert:e},range:ee.cursor(a.from+o+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}var o_=new WeakMap;function gZ(t){if(!Array.isArray(t))return t;let e=o_.get(t);return e||o_.set(t,e=zu(t)),e}var Hp=Se.define(),Nu=Se.define(),ex=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i<e.length;){let r=Ut(e,i),n=_i(r);this.chars.push(r);let o=e.slice(i,i+n),s=o.toUpperCase();this.folded.push(Ut(s==o?o.toLowerCase():s,0)),i+=n}this.astral=e.length!=this.chars.length}ret(e,i){return this.score=e,this.matched=i,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:i,folded:r,any:n,precise:o,byWord:s}=this;if(i.length==1){let T=Ut(e,0),$=_i(T),I=$==e.length?0:-100;if(T!=i[0])if(T==r[0])I+=-200;else return null;return this.ret(I,[0,$])}let a=e.indexOf(this.pattern);if(a==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=i.length,c=0;if(a<0){for(let T=0,$=Math.min(e.length,200);T<$&&c<l;){let I=Ut(e,T);(I==i[c]||I==r[c])&&(n[c++]=T),T+=_i(I)}if(c<l)return null}let u=0,f=0,d=!1,p=0,g=-1,x=-1,v=/[a-z]/.test(e),S=!0;for(let T=0,$=Math.min(e.length,200),I=0;T<$&&f<l;){let _=Ut(e,T);a<0&&(u<l&&_==i[u]&&(o[u++]=T),p<l&&(_==i[p]||_==r[p]?(p==0&&(g=T),x=T+1,p++):p=0));let A,q=_<255?_>=48&&_<=57||_>=97&&_<=122?2:_>=65&&_<=90?1:0:(A=cu(_))!=A.toLowerCase()?1:A!=A.toUpperCase()?2:0;(!T||q==1&&v||I==0&&q!=0)&&(i[f]==_||r[f]==_&&(d=!0)?s[f++]=T:s.length&&(S=!1)),I=q,T+=_i(_)}return f==l&&s[0]==0&&S?this.result(-100+(d?-200:0),s,e):p==l&&g==0?this.ret(-200-e.length+(x==e.length?0:-100),[0,x]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):p==l?this.ret(-900-e.length,[g,x]):f==l?this.result(-100+(d?-200:0)+-700+(S?0:-1100),s,e):i.length==2?null:this.result((n[0]?-700:0)+-200+-1100,n,e)}result(e,i,r){let n=[],o=0;for(let s of i){let a=s+(this.astral?_i(Ut(r,s)):1);o&&n[o-1]==s?n[o-1]=a:(n[o++]=s,n[o++]=a)}return this.ret(e-r.length,n)}},tx=class{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let i=e.slice(0,this.pattern.length),r=i==this.pattern?0:i.toLowerCase()==this.folded?-200:null;return r==null?null:(this.matched=[0,i.length],this.score=r+(e.length==this.pattern.length?0:-100),this)}},ui=be.define({combine(t){return kt(t,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:bZ,filterStrict:!1,compareCompletions:(e,i)=>e.label.localeCompare(i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>r=>s_(e(r),i(r)),optionClass:(e,i)=>r=>s_(e(r),i(r)),addToOptions:(e,i)=>e.concat(i),filterStrict:(e,i)=>e||i})}});function s_(t,e){return t?e?t+" "+e:t:e}function bZ(t,e,i,r,n,o){let s=t.textDirection==ot.RTL,a=s,l=!1,c="top",u,f,d=e.left-n.left,p=n.right-e.right,g=r.right-r.left,x=r.bottom-r.top;if(a&&d<Math.min(g,p)?a=!1:!a&&p<Math.min(g,d)&&(a=!0),g<=(a?d:p))u=Math.max(n.top,Math.min(i.top,n.bottom-x))-e.top,f=Math.min(400,a?d:p);else{l=!0,f=Math.min(400,(s?e.right:n.right-e.left)-30);let T=n.bottom-e.bottom;T>=x||T>e.top?u=i.bottom-e.top:(c="bottom",u=e.bottom-i.top)}let v=(e.bottom-e.top)/o.offsetHeight,S=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/v}px; max-width: ${f/S}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function yZ(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),i.type&&r.classList.add(...i.type.split(/\s+/g).map(n=>"cm-completionIcon-"+n)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(i,r,n,o){let s=document.createElement("span");s.className="cm-completionLabel";let a=i.displayLabel||i.label,l=0;for(let c=0;c<o.length;){let u=o[c++],f=o[c++];u>l&&s.appendChild(document.createTextNode(a.slice(l,u)));let d=s.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(a.slice(u,f))),d.className="cm-completionMatchedText",l=f}return l<a.length&&s.appendChild(document.createTextNode(a.slice(l))),s},position:50},{render(i){if(!i.detail)return null;let r=document.createElement("span");return r.className="cm-completionDetail",r.textContent=i.detail,r},position:80}),e.sort((i,r)=>i.position-r.position).map(i=>i.render)}function Ky(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let n=Math.floor(e/i);return{from:n*i,to:(n+1)*i}}let r=Math.floor((t-e)/i);return{from:t-(r+1)*i,to:t-r*i}}var ix=class{constructor(e,i,r){this.view=e,this.stateField=i,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let n=e.state.field(i),{options:o,selected:s}=n.open,a=e.state.facet(ui);this.optionContent=yZ(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=Ky(o.length,s,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(i).open;for(let u=l.target,f;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(f=/-(\d+)$/.exec(u.id))&&+f[1]<c.length){this.applyCompletion(e,c[+f[1]]),l.preventDefault();return}}),this.dom.addEventListener("focusout",l=>{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(ui).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:Nu.of(null)})}),this.showOptions(o,n.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let r=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=n){let{options:o,selected:s,disabled:a}=r.open;(!n.open||n.open.options!=o)&&(this.range=Ky(o.length,s,e.state.facet(ui).maxRenderedOptions),this.showOptions(o,r.id)),this.updateSel(),a!=((i=n.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of i.split(" "))r&&this.dom.classList.add(r);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;if((i.selected>-1&&i.selected<this.range.from||i.selected>=this.range.to)&&(this.range=Ky(i.options.length,i.selected,this.view.state.facet(ui).maxRenderedOptions),this.showOptions(i.options,e.id)),this.updateSelectedOption(i.selected)){this.destroyInfo();let{completion:r}=i.options[i.selected],{info:n}=r;if(!n)return;let o=typeof n=="string"?document.createTextNode(n):n(r);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(s,r)}).catch(s=>li(this.view.state,s,"completion info")):this.addInfoPane(o,r)}}addInfoPane(e,i){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:n,destroy:o}=e;r.appendChild(n),this.infoDestroy=o||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let r=this.list.firstChild,n=this.range.from;r;r=r.nextSibling,n++)r.nodeName!="LI"||!r.id?n--:n==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),i=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return i&&vZ(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),o=this.space;if(!o){let s=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,right:s.innerWidth,bottom:s.innerHeight}}return n.top>Math.min(o.bottom,i.bottom)-10||n.bottom<Math.max(o.top,i.top)+10?null:this.view.state.facet(ui).positionInfo(this.view,i,n,r,o,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,i,r){let n=document.createElement("ul");n.id=i,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions"));let o=null;for(let s=r.from;s<r.to;s++){let{completion:a,match:l}=e[s],{section:c}=a;if(c){let d=typeof c=="string"?c:c.name;if(d!=o&&(s>r.from||r.from==0))if(o=d,typeof c!="string"&&c.header)n.appendChild(c.header(c));else{let p=n.appendChild(document.createElement("completion-section"));p.textContent=d}}let u=n.appendChild(document.createElement("li"));u.id=i+"-"+s,u.setAttribute("role","option");let f=this.optionClass(a);f&&(u.className=f);for(let d of this.optionContent){let p=d(a,this.view.state,this.view,l);p&&u.appendChild(p)}}return r.from&&n.classList.add("cm-completionListIncompleteTop"),r.to<e.length&&n.classList.add("cm-completionListIncompleteBottom"),n}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}};function xZ(t,e){return i=>new ix(i,t,e)}function vZ(t,e){let i=t.getBoundingClientRect(),r=e.getBoundingClientRect(),n=i.height/t.offsetHeight;r.top<i.top?t.scrollTop-=(i.top-r.top)/n:r.bottom>i.bottom&&(t.scrollTop+=(r.bottom-i.bottom)/n)}function a_(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function wZ(t,e){let i=[],r=null,n=c=>{i.push(c);let{section:u}=c.completion;if(u){r||(r=[]);let f=typeof u=="string"?u:u.name;r.some(d=>d.name==f)||r.push(typeof u=="string"?{name:f}:u)}},o=e.facet(ui);for(let c of t)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)n(new Fp(f,c.source,u?u(f):[],1e9-i.length));else{let f=e.sliceDoc(c.from,c.to),d,p=o.filterStrict?new tx(f):new ex(f);for(let g of c.result.options)if(d=p.match(g.label)){let x=g.displayLabel?u?u(g,d.matched):[]:d.matched;n(new Fp(g,c.source,x,d.score+(g.boost||0)))}}}if(r){let c=Object.create(null),u=0,f=(d,p)=>{var g,x;return((g=d.rank)!==null&&g!==void 0?g:1e9)-((x=p.rank)!==null&&x!==void 0?x:1e9)||(d.name<p.name?-1:1)};for(let d of r.sort(f))u-=1e5,c[d.name]=u;for(let d of i){let{section:p}=d.completion;p&&(d.score+=c[typeof p=="string"?p:p.name])}}let s=[],a=null,l=o.compareCompletions;for(let c of i.sort((u,f)=>f.score-u.score||l(u.completion,f.completion))){let u=c.completion;!a||a.label!=u.label||a.detail!=u.detail||a.type!=null&&u.type!=null&&a.type!=u.type||a.apply!=u.apply||a.boost!=u.boost?s.push(c):a_(c.completion)>a_(a)&&(s[s.length-1]=c),a=c.completion}return s}var rx=class t{constructor(e,i,r,n,o,s){this.options=e,this.attrs=i,this.tooltip=r,this.timestamp=n,this.selected=o,this.disabled=s}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new t(this.options,l_(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,r,n,o){let s=wZ(e,i);if(!s.length)return n&&e.some(l=>l.state==1)?new t(n.options,n.attrs,n.tooltip,n.timestamp,n.selected,!0):null;let a=i.facet(ui).selectOnOpen?0:-1;if(n&&n.selected!=a&&n.selected!=-1){let l=n.options[n.selected].completion;for(let c=0;c<s.length;c++)if(s[c].completion==l){a=c;break}}return new t(s,l_(r,a),{pos:e.reduce((l,c)=>c.hasResult()?Math.min(l,c.from):l,1e8),create:CZ,above:o.aboveCursor},n?n.timestamp:Date.now(),a,!1)}map(e){return new t(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}},nx=class t{constructor(e,i,r){this.active=e,this.id=i,this.open=r}static start(){return new t(TZ,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,r=i.facet(ui),o=(r.override||i.languageDataAt("autocomplete",Bo(i)).map(gZ)).map(a=>(this.active.find(c=>c.source==a)||new pn(a,this.active.some(c=>c.state!=0)?1:0)).update(e,r));o.length==this.active.length&&o.every((a,l)=>a==this.active[l])&&(o=this.active);let s=this.open;s&&e.docChanged&&(s=s.map(e.changes)),e.selection||o.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!kZ(o,this.active)?s=rx.build(o,i,this.id,s,r):s&&s.disabled&&!o.some(a=>a.state==1)&&(s=null),!s&&o.every(a=>a.state!=1)&&o.some(a=>a.hasResult())&&(o=o.map(a=>a.hasResult()?new pn(a.source,0):a));for(let a of e.effects)a.is(p_)&&(s=s&&s.setSelected(a.value,this.id));return o==this.active&&s==this.open?this:new t(o,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:SZ}};function kZ(t,e){if(t==e)return!0;for(let i=0,r=0;;){for(;i<t.length&&!t[i].hasResult;)i++;for(;r<e.length&&!e[r].hasResult;)r++;let n=i==t.length,o=r==e.length;if(n||o)return n==o;if(t[i++].result!=e[r++].result)return!1}}var SZ={"aria-autocomplete":"list"};function l_(t,e){let i={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(i["aria-activedescendant"]=t+"-"+e),i}var TZ=[];function ox(t,e){if(t.isUserEvent("input.complete")){let i=t.annotation(ux);if(i&&e.activateOnCompletion(i))return"input"}return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}var pn=class t{constructor(e,i,r=-1){this.source=e,this.state=i,this.explicitPos=r}hasResult(){return!1}update(e,i){let r=ox(e,i),n=this;r?n=n.handleUserEvent(e,r,i):e.docChanged?n=n.handleChange(e):e.selection&&n.state!=0&&(n=new t(n.source,0));for(let o of e.effects)if(o.is(Hp))n=new t(n.source,1,o.value?Bo(e.state):-1);else if(o.is(Nu))n=new t(n.source,0);else if(o.is(d_))for(let s of o.value)s.source==n.source&&(n=s);return n}handleUserEvent(e,i,r){return i=="delete"||!r.activateOnTyping?this.map(e.changes):new t(this.source,1)}handleChange(e){return e.changes.touchesRange(Bo(e.startState))?new t(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new t(this.source,this.state,e.mapPos(this.explicitPos))}},Gp=class t extends pn{constructor(e,i,r,n,o){super(e,2,i),this.result=r,this.from=n,this.to=o}hasResult(){return!0}handleUserEvent(e,i,r){var n;let o=this.result;o.map&&!e.changes.empty&&(o=o.map(o,e.changes));let s=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),l=Bo(e.state);if((this.explicitPos<0?l<=s:l<this.from)||l>a||!o||i=="delete"&&Bo(e.startState)==this.from)return new pn(this.source,i=="input"&&r.activateOnTyping?1:0);let c=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return EZ(o.validFor,e.state,s,a)?new t(this.source,c,o,s,a):o.update&&(o=o.update(o,s,a,new hl(e.state,l,c>=0)))?new t(this.source,c,o,o.from,(n=o.to)!==null&&n!==void 0?n:Bo(e.state)):new pn(this.source,1,c)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new pn(this.source,0):this.map(e.changes)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new t(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new pn(this.source,0)}};function EZ(t,e,i,r){if(!t)return!1;let n=e.sliceDoc(i,r);return typeof t=="function"?t(n,i,r,e):h_(t,!0).test(n)}var d_=Se.define({map(t,e){return t.map(i=>i.map(e))}}),p_=Se.define(),qi=He.define({create(){return nx.start()},update(t,e){return t.update(e)},provide:t=>[Vn.from(t,e=>e.tooltip),de.contentAttributes.from(t,e=>e.attrs)]});function fx(t,e){let i=e.completion.apply||e.completion.label,r=t.state.field(qi).active.find(n=>n.source==e.source);return r instanceof Gp?(typeof i=="string"?t.dispatch(Object.assign(Object.assign({},mZ(t.state,i,r.from,r.to)),{annotations:ux.of(e.completion)})):i(t,e.completion,r.from,r.to),!0):!1}var CZ=xZ(qi,fx);function Hn(t,e="option"){return i=>{let r=i.state.field(qi,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<i.state.facet(ui).interactionDelay)return!1;let n=1,o;e=="page"&&(o=Cy(i,r.open.tooltip))&&(n=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=r.open.options,a=r.open.selected>-1?r.open.selected+n*(t?1:-1):t?0:s-1;return a<0?a=e=="page"?0:s-1:a>=s&&(a=e=="page"?s-1:0),i.dispatch({effects:p_.of(a)}),!0}}var Jp=t=>{let e=t.state.field(qi,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(ui).interactionDelay?!1:fx(t,e.open.options[e.open.selected])},ju=t=>t.state.field(qi,!1)?(t.dispatch({effects:Hp.of(!0)}),!0):!1,qu=t=>{let e=t.state.field(qi,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:Nu.of(null)}),!0)},sx=class{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}},PZ=50,_Z=1e3,QZ=Fe.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(qi).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(qi),i=t.state.facet(ui);if(!t.selectionSet&&!t.docChanged&&t.startState.field(qi)==e)return;let r=t.transactions.some(o=>(o.selection||o.docChanged)&&!ox(o,i));for(let o=0;o<this.running.length;o++){let s=this.running[o];if(r||s.updates.length+t.transactions.length>PZ&&Date.now()-s.time>_Z){for(let a of s.context.abortListeners)try{a()}catch(l){li(this.view.state,l)}s.context.abortListeners=null,this.running.splice(o--,1)}else s.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(o=>o.effects.some(s=>s.is(Hp)))&&(this.pendingStart=!0);let n=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(o=>o.state==1&&!this.running.some(s=>s.active.source==o.source))?setTimeout(()=>this.startUpdate(),n):-1,this.composing!=0)for(let o of t.transactions)ox(o,i)=="input"?this.composing=2:this.composing==2&&o.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(qi);for(let i of e.active)i.state==1&&!this.running.some(r=>r.active.source==i.source)&&this.startQuery(i)}startQuery(t){let{state:e}=this.view,i=Bo(e),r=new hl(e,i,t.explicitPos==i),n=new sx(t,r);this.running.push(n),Promise.resolve(t.source(r)).then(o=>{n.context.aborted||(n.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:Nu.of(null)}),li(this.view.state,o)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(ui).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(ui);for(let r=0;r<this.running.length;r++){let n=this.running[r];if(n.done===void 0)continue;if(this.running.splice(r--,1),n.done){let s=new Gp(n.active.source,n.active.explicitPos,n.done,n.done.from,(t=n.done.to)!==null&&t!==void 0?t:Bo(n.updates.length?n.updates[0].startState:this.view.state));for(let a of n.updates)s=s.update(a,i);if(s.hasResult()){e.push(s);continue}}let o=this.view.state.field(qi).active.find(s=>s.source==n.active.source);if(o&&o.state==1)if(n.done==null){let s=new pn(n.active.source,0);for(let a of n.updates)s=s.update(a,i);s.state!=1&&e.push(s)}else this.startQuery(o)}e.length&&this.view.dispatch({effects:d_.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(qi,!1);if(e&&e.tooltip&&this.view.state.facet(ui).closeOnBlur){let i=e.open&&Cy(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Nu.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Hp.of(!1)}),20),this.composing=0}}}),AZ=typeof navigator=="object"&&/Win/.test(navigator.platform),$Z=$t.highest(de.domEventHandlers({keydown(t,e){let i=e.state.field(qi,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(AZ&&t.altKey)||t.metaKey)return!1;let r=i.open.options[i.open.selected],n=i.active.find(s=>s.source==r.source),o=r.completion.commitCharacters||n.result.commitCharacters;return o&&o.indexOf(t.key)>-1&&fx(e,r),!1}})),O_=de.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),ax=class{constructor(e,i,r,n){this.field=e,this.line=i,this.from=r,this.to=n}},lx=class t{constructor(e,i,r){this.field=e,this.from=i,this.to=r}map(e){let i=e.mapPos(this.from,-1,wt.TrackDel),r=e.mapPos(this.to,1,wt.TrackDel);return i==null||r==null?null:new t(this.field,i,r)}},cx=class t{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let r=[],n=[i],o=e.doc.lineAt(i),s=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(r.length){let c=s,u=/^\t*/.exec(l)[0].length;for(let f=0;f<u;f++)c+=e.facet(Nr);n.push(i+c.length-u),l=c+l.slice(u)}r.push(l),i+=l.length+1}let a=this.fieldPositions.map(l=>new lx(l.field,n[l.line]+l.from,n[l.line]+l.to));return{text:r,ranges:a}}static parse(e){let i=[],r=[],n=[],o;for(let s of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(s);){let a=o[1]?+o[1]:null,l=o[2]||o[3]||"",c=-1,u=l.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f<i.length;f++)(a!=null?i[f].seq==a:u&&i[f].name==u)&&(c=f);if(c<0){let f=0;for(;f<i.length&&(a==null||i[f].seq!=null&&i[f].seq<a);)f++;i.splice(f,0,{seq:a,name:u}),c=f;for(let d of n)d.field>=c&&d.field++}n.push(new ax(c,r.length,o.index,o.index+u.length)),s=s.slice(0,o.index)+l+s.slice(o.index+o[0].length)}s=s.replace(/\\([{}])/g,(a,l,c)=>{for(let u of n)u.line==r.length&&u.from>c&&(u.from--,u.to--);return l}),r.push(s)}return new t(r,n)}},XZ=we.widget({widget:new class extends Jt{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),RZ=we.mark({class:"cm-snippetField"}),dl=class t{constructor(e,i){this.ranges=e,this.active=i,this.deco=we.set(e.map(r=>(r.from==r.to?XZ:RZ).range(r.from,r.to)))}map(e){let i=[];for(let r of this.ranges){let n=r.map(e);if(!n)return null;i.push(n)}return new t(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(r=>r.field==this.active&&r.from<=i.from&&r.to>=i.to))}},Wu=Se.define({map(t,e){return t&&t.map(e)}}),LZ=Se.define(),Mu=He.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(Wu))return i.value;if(i.is(LZ)&&t)return new dl(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>de.decorations.from(t,e=>e?e.deco:we.none)});function hx(t,e){return ee.create(t.filter(i=>i.field==e).map(i=>ee.range(i.from,i.to)))}function IZ(t){let e=cx.parse(t);return(i,r,n,o)=>{let{text:s,ranges:a}=e.instantiate(i.state,n),l={changes:{from:n,to:o,insert:Ge.of(s)},scrollIntoView:!0,annotations:r?[ux.of(r),Ct.userEvent.of("input.complete")]:void 0};if(a.length&&(l.selection=hx(a,0)),a.some(c=>c.field>0)){let c=new dl(a,0),u=l.effects=[Wu.of(c)];i.state.field(Mu,!1)===void 0&&u.push(Se.appendConfig.of([Mu,zZ,jZ,O_]))}i.dispatch(i.state.update(l))}}function m_(t){return({state:e,dispatch:i})=>{let r=e.field(Mu,!1);if(!r||t<0&&r.active==0)return!1;let n=r.active+t,o=t>0&&!r.ranges.some(s=>s.field==n+t);return i(e.update({selection:hx(r.ranges,n),effects:Wu.of(o?null:new dl(r.ranges,n)),scrollIntoView:!0})),!0}}var DZ=({state:t,dispatch:e})=>t.field(Mu,!1)?(e(t.update({effects:Wu.of(null)})),!0):!1,NZ=m_(1),MZ=m_(-1);var UZ=[{key:"Tab",run:NZ,shift:MZ},{key:"Escape",run:DZ}],c_=be.define({combine(t){return t.length?t[0]:UZ}}),zZ=$t.highest(Vt.compute([c_],t=>t.facet(c_)));function fi(t,e){return Object.assign(Object.assign({},e),{apply:IZ(t)})}var jZ=de.domEventHandlers({mousedown(t,e){let i=e.state.field(Mu,!1),r;if(!i||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let n=i.ranges.find(o=>o.from<=r&&o.to>=r);return!n||n.field==i.active?!1:(e.dispatch({selection:hx(i.ranges,n.field),effects:Wu.of(i.ranges.some(o=>o.field>n.field)?new dl(i.ranges,n.field):null),scrollIntoView:!0}),!0)}});var Uu={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Bs=Se.define({map(t,e){let i=e.mapPos(t,-1,wt.TrackAfter);return i==null?void 0:i}}),dx=new class extends Ir{};dx.startSide=1;dx.endSide=-1;var g_=He.define({create(){return nt.empty},update(t,e){if(t=t.map(e.changes),e.selection){let i=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=i.from&&r<=i.to})}for(let i of e.effects)i.is(Bs)&&(t=t.update({add:[dx.range(i.value,i.value+1)]}));return t}});function b_(){return[WZ,g_]}var Jy="()[]{}<>";function y_(t){for(let e=0;e<Jy.length;e+=2)if(Jy.charCodeAt(e)==t)return Jy.charAt(e+1);return cu(t<128?t:t+1)}function x_(t,e){return t.languageDataAt("closeBrackets",e)[0]||Uu}var qZ=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),WZ=de.inputHandler.of((t,e,i,r)=>{if((qZ?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let n=t.state.selection.main;if(r.length>2||r.length==2&&_i(Ut(r,0))==1||e!=n.from||i!=n.to)return!1;let o=BZ(t.state,r);return o?(t.dispatch(o),!0):!1}),v_=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=x_(t,t.selection.main.head).brackets||Uu.brackets,n=null,o=t.changeByRange(s=>{if(s.empty){let a=ZZ(t.doc,s.head);for(let l of r)if(l==a&&eO(t.doc,s.head)==y_(Ut(l,0)))return{changes:{from:s.head-l.length,to:s.head+l.length},range:ee.cursor(s.head-l.length)}}return{range:n=s}});return n||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!n};function BZ(t,e){let i=x_(t,t.selection.main.head),r=i.brackets||Uu.brackets;for(let n of r){let o=y_(Ut(n,0));if(e==n)return o==n?FZ(t,n,r.indexOf(n+n+n)>-1,i):VZ(t,n,o,i.before||Uu.before);if(e==o&&w_(t,t.selection.main.from))return YZ(t,n,o)}return null}function w_(t,e){let i=!1;return t.field(g_).between(0,t.doc.length,r=>{r==e&&(i=!0)}),i}function eO(t,e){let i=t.sliceString(e,e+2);return i.slice(0,_i(Ut(i,0)))}function ZZ(t,e){let i=t.sliceString(e-2,e);return _i(Ut(i,0))==i.length?i:i.slice(1)}function VZ(t,e,i,r){let n=null,o=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:i,from:s.to}],effects:Bs.of(s.to+e.length),range:ee.range(s.anchor+e.length,s.head+e.length)};let a=eO(t.doc,s.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:e+i,from:s.head},effects:Bs.of(s.head+e.length),range:ee.cursor(s.head+e.length)}:{range:n=s}});return n?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function YZ(t,e,i){let r=null,n=t.changeByRange(o=>o.empty&&eO(t.doc,o.head)==i?{changes:{from:o.head,to:o.head+i.length,insert:i},range:ee.cursor(o.head+i.length)}:r={range:o});return r?null:t.update(n,{scrollIntoView:!0,userEvent:"input.type"})}function FZ(t,e,i,r){let n=r.stringPrefixes||Uu.stringPrefixes,o=null,s=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:Bs.of(a.to+e.length),range:ee.range(a.anchor+e.length,a.head+e.length)};let l=a.head,c=eO(t.doc,l),u;if(c==e){if(u_(t,l))return{changes:{insert:e+e,from:l},effects:Bs.of(l+e.length),range:ee.cursor(l+e.length)};if(w_(t,l)){let d=i&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:ee.cursor(l+d.length)}}}else{if(i&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=f_(t,l-2*e.length,n))>-1&&u_(t,u))return{changes:{insert:e+e+e+e,from:l},effects:Bs.of(l+e.length),range:ee.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=dt.Word&&f_(t,l,n)>-1&&!HZ(t,l,e,n))return{changes:{insert:e+e,from:l},effects:Bs.of(l+e.length),range:ee.cursor(l+e.length)}}return{range:o=a}});return o?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function u_(t,e){let i=ze(t).resolveInner(e+1);return i.parent&&i.from==e}function HZ(t,e,i,r){let n=ze(t).resolveInner(e,-1),o=r.reduce((s,a)=>Math.max(s,a.length),0);for(let s=0;s<5;s++){let a=t.sliceDoc(n.from,Math.min(n.to,n.from+i.length+o)),l=a.indexOf(i);if(!l||l>-1&&r.indexOf(a.slice(0,l))>-1){let u=n.firstChild;for(;u&&u.from==n.from&&u.to-u.from>i.length+l;){if(t.sliceDoc(u.to-i.length,u.to)==i)return!1;u=u.firstChild}return!0}let c=n.to==e&&n.parent;if(!c)break;n=c}return!1}function f_(t,e,i){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=dt.Word)return e;for(let n of i){let o=e-n.length;if(t.sliceDoc(o,e)==n&&r(t.sliceDoc(o-1,o))!=dt.Word)return o}return-1}function px(t={}){return[$Z,qi,ui.of(t),QZ,KZ,O_]}var GZ=[{key:"Ctrl-Space",run:ju},{key:"Escape",run:qu},{key:"ArrowDown",run:Hn(!0)},{key:"ArrowUp",run:Hn(!1)},{key:"PageDown",run:Hn(!0,"page")},{key:"PageUp",run:Hn(!1,"page")},{key:"Enter",run:Jp}],KZ=$t.highest(Vt.computeN([ui],t=>t.facet(ui).defaultKeymap?[GZ]:[]));var rO=class t{static create(e,i,r,n,o){let s=n+(n<<8)+e+(i<<4)|0;return new t(e,i,r,s,o,[],[])}constructor(e,i,r,n,o,s,a){this.type=e,this.value=i,this.from=r,this.hash=n,this.end=o,this.children=s,this.positions=a,this.hashProp=[[Qe.contextHash,n]]}addChild(e,i){e.prop(Qe.contextHash)!=this.hash&&(e=new qe(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let r=this.children.length-1;return r>=0&&(i=Math.max(i,this.positions[r]+this.children[r].length+this.from)),new qe(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(n,o,s)=>new qe(Et.none,n,o,s,this.hashProp)})}},ge;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(ge||(ge={}));var gx=class{constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}},bx=class{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return Vu(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,i=0,r=0){for(let n=i;n<e;n++)r+=this.text.charCodeAt(n)==9?4-r%4:1;return r}findColumn(e){let i=0;for(let r=0;i<this.text.length&&r<e;i++)r+=this.text.charCodeAt(i)==9?4-r%4:1;return i}scrub(){if(!this.baseIndent)return this.text;let e="";for(let i=0;i<this.basePos;i++)e+=" ";return e+this.text.slice(this.basePos)}};function k_(t,e,i){if(i.pos==i.text.length||t!=e.block&&i.indent>=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let r=(t.type==ge.OrderedList?Ax:Qx)(i,e,!1);return r>0&&(t.type!=ge.BulletList||_x(i,e,!1)<0)&&i.text.charCodeAt(i.pos+r-1)==t.value}var L_={[ge.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(Je(ge.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+(vr(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[ge.ListItem](t,e,i){return i.indent<i.baseIndent+t.value&&i.next>-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[ge.OrderedList]:k_,[ge.BulletList]:k_,[ge.Document](){return!0}};function vr(t){return t==32||t==9||t==10||t==13}function Vu(t,e=0){for(;e<t.length&&vr(t.charCodeAt(e));)e++;return e}function S_(t,e,i){for(;e>i&&vr(t.charCodeAt(e-1));)e--;return e}function I_(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;if(e<t.pos+3)return-1;if(t.next==96){for(let i=e;i<t.text.length;i++)if(t.text.charCodeAt(i)==96)return-1}return e}function D_(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function _x(t,e,i){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let r=1;for(let n=t.pos+1;n<t.text.length;n++){let o=t.text.charCodeAt(n);if(o==t.next)r++;else if(!vr(o))return-1}return i&&t.next==45&&U_(t)>-1&&t.depth==e.stack.length||r<3?-1:1}function N_(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function Qx(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||vr(t.text.charCodeAt(t.pos+1)))&&(!i||N_(e,ge.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function Ax(t,e,i){let r=t.pos,n=t.next;for(;n>=48&&n<=57;){r++;if(r==t.text.length)return-1;n=t.text.charCodeAt(r)}return r==t.pos||r>t.pos+9||n!=46&&n!=41||r<t.text.length-1&&!vr(t.text.charCodeAt(r+1))||i&&!N_(e,ge.OrderedList)&&(t.skipSpace(r+1)==t.text.length||r>t.pos+1||t.next!=49)?-1:r+1-t.pos}function M_(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let i=e-t.pos;return i>6?-1:i}function U_(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let i=e;for(;e<t.text.length&&vr(t.text.charCodeAt(e));)e++;return e==t.text.length?i:-1}var yx=/^[ \t]*$/,z_=/-->/,j_=/\?>/,xx=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,z_],[/^\s*<\?/,j_],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,yx],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,yx]];function q_(t,e,i){if(t.next!=60)return-1;let r=t.text.slice(t.pos);for(let n=0,o=xx.length-(i?1:0);n<o;n++)if(xx[n][0].test(r))return n;return-1}function T_(t,e){let i=t.countIndent(e,t.pos,t.indent),r=t.countIndent(t.skipSpace(e),e,i);return r>=i+5?i+1:r}function Zs(t,e,i){let r=t.length-1;r>=0&&t[r].to==e&&t[r].type==ge.CodeText?t[r].to=i:t.push(Je(ge.CodeText,e,i))}var tO={LinkReference:void 0,IndentedCode(t,e){let i=e.baseIndent+4;if(e.indent<i)return!1;let r=e.findColumn(i),n=t.lineStart+r,o=t.lineStart+e.text.length,s=[],a=[];for(Zs(s,n,o);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){Zs(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<i)break;{if(a.length){for(let c of a)c.type==ge.CodeText?Zs(s,c.from,c.to):s.push(c);a=[]}Zs(s,t.lineStart-1,t.lineStart);for(let c of e.markers)s.push(c);o=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<o&&Zs(s,l,o)}}return a.length&&(a=a.filter(l=>l.type!=ge.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(s,-n).finish(ge.CodeBlock,o-n),n),!0},FencedCode(t,e){let i=I_(e);if(i<0)return!1;let r=t.lineStart+e.pos,n=e.next,o=i-e.pos,s=e.skipSpace(i),a=S_(e.text,e.text.length,s),l=[Je(ge.CodeMark,r,r+o)];s<a&&l.push(Je(ge.CodeInfo,t.lineStart+s,t.lineStart+a));for(let c=!0;t.nextLine()&&e.depth>=t.stack.length;c=!1){let u=e.pos;if(e.indent-e.baseIndent<4)for(;u<e.text.length&&e.text.charCodeAt(u)==n;)u++;if(u-e.pos>=o&&e.skipSpace(u)==e.text.length){for(let f of e.markers)l.push(f);l.push(Je(ge.CodeMark,t.lineStart+e.pos,t.lineStart+u)),t.nextLine();break}else{c||Zs(l,t.lineStart-1,t.lineStart);for(let p of e.markers)l.push(p);let f=t.lineStart+e.basePos,d=t.lineStart+e.text.length;f<d&&Zs(l,f,d)}}return t.addNode(t.buffer.writeElements(l,-r).finish(ge.FencedCode,t.prevLineEnd()-r),r),!0},Blockquote(t,e){let i=D_(e);return i<0?!1:(t.startContext(ge.Blockquote,e.pos),t.addNode(ge.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+i),null)},HorizontalRule(t,e){if(_x(e,t,!1)<0)return!1;let i=t.lineStart+e.pos;return t.nextLine(),t.addNode(ge.HorizontalRule,i),!0},BulletList(t,e){let i=Qx(e,t,!1);if(i<0)return!1;t.block.type!=ge.BulletList&&t.startContext(ge.BulletList,e.basePos,e.next);let r=T_(e,e.pos+1);return t.startContext(ge.ListItem,e.basePos,r-e.baseIndent),t.addNode(ge.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+i),e.moveBaseColumn(r),null},OrderedList(t,e){let i=Ax(e,t,!1);if(i<0)return!1;t.block.type!=ge.OrderedList&&t.startContext(ge.OrderedList,e.basePos,e.text.charCodeAt(e.pos+i-1));let r=T_(e,e.pos+i);return t.startContext(ge.ListItem,e.basePos,r-e.baseIndent),t.addNode(ge.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+i),e.moveBaseColumn(r),null},ATXHeading(t,e){let i=M_(e);if(i<0)return!1;let r=e.pos,n=t.lineStart+r,o=S_(e.text,e.text.length,r),s=o;for(;s>r&&e.text.charCodeAt(s-1)==e.next;)s--;(s==o||s==r||!vr(e.text.charCodeAt(s-1)))&&(s=e.text.length);let a=t.buffer.write(ge.HeaderMark,0,i).writeElements(t.parser.parseInline(e.text.slice(r+i+1,s),n+i+1),-n);s<e.text.length&&a.write(ge.HeaderMark,s-r,o-r);let l=a.finish(ge.ATXHeading1-1+i,e.text.length-r);return t.nextLine(),t.addNode(l,n),!0},HTMLBlock(t,e){let i=q_(e,t,!1);if(i<0)return!1;let r=t.lineStart+e.pos,n=xx[i][1],o=[],s=n!=yx;for(;!n.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){s=!1;break}for(let c of e.markers)o.push(c)}s&&t.nextLine();let a=n==z_?ge.CommentBlock:n==j_?ge.ProcessingInstructionBlock:ge.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(o,-r).finish(a,l-r),r),!0},SetextHeading:void 0},vx=class{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,i,r){if(this.stage==-1)return!1;let n=r.content+`
`+i.scrub(),o=this.advance(n);return o>-1&&o<n.length?this.complete(e,r,o):!1}finish(e,i){return(this.stage==2||this.stage==3)&&Vu(i.content,this.pos)==i.content.length?this.complete(e,i,i.content.length):!1}complete(e,i,r){return e.addLeafElement(i,Je(ge.LinkReference,this.start,this.start+r,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;){if(this.stage==-1)return-1;if(this.stage==0){if(!this.nextStage(H_(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(Je(ge.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(Y_(e,Vu(e,this.pos),this.start)))return-1}else if(this.stage==2){let i=Vu(e,this.pos),r=0;if(i>this.pos){let n=F_(e,i,this.start);if(n){let o=Ox(e,n.to-this.start);o>0&&(this.nextStage(n),r=o)}}return r||(r=Ox(e,this.pos)),r>0&&r<e.length?r:-1}else return Ox(e,this.pos)}}};function Ox(t,e){for(;e<t.length;e++){let i=t.charCodeAt(e);if(i==10)break;if(!vr(i))return-1}return e}var wx=class{nextLine(e,i,r){let n=i.depth<e.stack.length?-1:U_(i),o=i.next;if(n<0)return!1;let s=Je(ge.HeaderMark,e.lineStart+i.pos,e.lineStart+n);return e.nextLine(),e.addLeafElement(r,Je(o==61?ge.SetextHeading1:ge.SetextHeading2,r.start,e.prevLineEnd(),[...e.parser.parseInline(r.content,r.start),s])),!0}finish(){return!1}},JZ={LinkReference(t,e){return e.content.charCodeAt(0)==91?new vx(e):null},SetextHeading(){return new wx}},eV=[(t,e)=>M_(e)>=0,(t,e)=>I_(e)>=0,(t,e)=>D_(e)>=0,(t,e)=>Qx(e,t,!0)>=0,(t,e)=>Ax(e,t,!0)>=0,(t,e)=>_x(e,t,!0)>=0,(t,e)=>q_(e,t,!0)>=0],tV={text:"",end:0},kx=class{constructor(e,i,r,n){this.parser=e,this.input=i,this.ranges=n,this.line=new bx,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=n[n.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=n[0].from,this.block=rO.create(ge.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=r.length?new Cx(r,i):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let r=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;r<e.markers.length&&(!n||e.markers[r].from<n.end);){let o=e.markers[r++];this.addNode(o.type,o.from,o.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let r of this.parser.blockParsers)if(r){let n=r(this,e);if(n!=!1){if(n==!0)return null;e.forward();continue e}}break}let i=new gx(this.lineStart+e.pos,e.text.slice(e.pos));for(let r of this.parser.leafBlockParsers)if(r){let n=r(this,i);n&&i.parsers.push(n)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let r of this.parser.endLeafBlock)if(r(this,e,i))break e}for(let r of i.parsers)if(r.nextLine(this,e,i))return null;i.content+=`
`+e.scrub();for(let r of e.markers)i.marks.push(r)}return this.finishLeaf(i),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let i=this.fragments.takeNodes(this);return i?(this.absoluteLineStart+=i,this.lineStart=G_(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=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.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let i=tV;if(i.end=e,e>=this.to)i.text="";else if(i.text=this.lineChunkAt(e),i.end+=i.text.length,this.ranges.length>1){let r=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<i.end;){n++;let o=this.ranges[n].from,s=this.lineChunkAt(o);i.end=o+s.length,i.text=i.text.slice(0,this.ranges[n-1].to-r)+s,r=i.end-i.text.length}}return i}readLine(){let{line:e}=this,{text:i,end:r}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=r,e.reset(i);e.depth<this.stack.length;e.depth++){let n=this.stack[e.depth],o=this.parser.skipContextMarkup[n.type];if(!o)throw new Error("Unhandled block context "+ge[n.type]);if(!o(n,this,e))break;e.forward()}}lineChunkAt(e){let i=this.input.chunk(e),r;if(this.input.lineChunks)r=i==`
`?"":i;else{let n=i.indexOf(`
`);r=n<0?i:i.slice(0,n)}return e+r.length>this.to?r.slice(0,this.to-e):r}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,i,r=0){this.block=rO.create(e,r,this.lineStart+i,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,i,r=0){this.startContext(this.parser.getNodeType(e),i,r)}addNode(e,i,r){typeof e=="number"&&(e=new qe(this.parser.nodeSet.types[e],pl,pl,(r!=null?r:this.prevLineEnd())-i)),this.block.addChild(e,i-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,i){this.addNode(this.buffer.writeElements(Ex(i.children,e.marks),-i.from).finish(i.type,i.to-i.from),i.from)}finishContext(){let e=this.stack.pop(),i=this.stack[this.stack.length-1];i.addChild(e.toTree(this.parser.nodeSet),e.from-i.from),this.block=i}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?W_(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let r of e.parsers)if(r.finish(this,e))return;let i=Ex(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(i,-e.start).finish(ge.Paragraph,e.content.length),e.start)}elt(e,i,r,n){return typeof e=="string"?Je(this.parser.getNodeType(e),i,r,n):new oO(e,i)}get buffer(){return new nO(this.parser.nodeSet)}};function W_(t,e,i,r,n){let o=t[e].to,s=[],a=[],l=i.from+r;function c(u,f){for(;f?u>=o:u>o;){let d=t[e+1].from-o;r+=d,u+=d,e++,o=t[e].to}}for(let u=i.firstChild;u;u=u.nextSibling){c(u.from+r,!0);let f=u.from+r,d,p=n.get(u.tree);p?d=p:u.to+r>o?(d=W_(t,e,u,r,n),c(u.to+r,!1)):d=u.toTree(),s.push(d),a.push(f-l)}return c(i.to+r,!1),new qe(i.type,s,a,i.to+r-l,i.tree?i.tree.propValues:void 0)}var Fu=class t extends qn{constructor(e,i,r,n,o,s,a,l,c){super(),this.nodeSet=e,this.blockParsers=i,this.leafBlockParsers=r,this.blockNames=n,this.endLeafBlock=o,this.skipContextMarkup=s,this.inlineParsers=a,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,i,r){let n=new kx(this,e,i,r);for(let o of this.wrappers)n=o(n,e,i,r);return n}configure(e){let i=Sx(e);if(!i)return this;let{nodeSet:r,skipContextMarkup:n}=this,o=this.blockParsers.slice(),s=this.leafBlockParsers.slice(),a=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),f=this.wrappers;if(Bu(i.defineNodes)){n=Object.assign({},n);let d=r.types.slice(),p;for(let g of i.defineNodes){let{name:x,block:v,composite:S,style:T}=typeof g=="string"?{name:g}:g;if(d.some(_=>_.name==x))continue;S&&(n[d.length]=(_,A,q)=>S(A,q,_.value));let $=d.length,I=S?["Block","BlockContext"]:v?$>=ge.ATXHeading1&&$<=ge.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;d.push(Et.define({id:$,name:x,props:I&&[[Qe.group,I]]})),T&&(p||(p={}),Array.isArray(T)||T instanceof yr?p[x]=T:Object.assign(p,T))}r=new zn(d),p&&(r=r.extend(Pt(p)))}if(Bu(i.props)&&(r=r.extend(...i.props)),Bu(i.remove))for(let d of i.remove){let p=this.blockNames.indexOf(d),g=this.inlineNames.indexOf(d);p>-1&&(o[p]=s[p]=void 0),g>-1&&(l[g]=void 0)}if(Bu(i.parseBlock))for(let d of i.parseBlock){let p=a.indexOf(d.name);if(p>-1)o[p]=d.parse,s[p]=d.leaf;else{let g=d.before?iO(a,d.before):d.after?iO(a,d.after)+1:a.length-1;o.splice(g,0,d.parse),s.splice(g,0,d.leaf),a.splice(g,0,d.name)}d.endLeaf&&u.push(d.endLeaf)}if(Bu(i.parseInline))for(let d of i.parseInline){let p=c.indexOf(d.name);if(p>-1)l[p]=d.parse;else{let g=d.before?iO(c,d.before):d.after?iO(c,d.after)+1:c.length-1;l.splice(g,0,d.parse),c.splice(g,0,d.name)}}return i.wrap&&(f=f.concat(i.wrap)),new t(r,o,s,a,u,n,l,c,f)}getNodeType(e){let i=this.nodeTypes[e];if(i==null)throw new RangeError(`Unknown node type '${e}'`);return i}parseInline(e,i){let r=new Tx(this,e,i);e:for(let n=i;n<r.end;){let o=r.char(n);for(let s of this.inlineParsers)if(s){let a=s(r,o,n);if(a>=0){n=a;continue e}}n++}return r.resolveMarkers(0)}};function Bu(t){return t!=null&&t.length>0}function Sx(t){if(!Array.isArray(t))return t;if(t.length==0)return null;let e=Sx(t[0]);if(t.length==1)return e;let i=Sx(t.slice(1));if(!i||!e)return e||i;let r=(s,a)=>(s||pl).concat(a||pl),n=e.wrap,o=i.wrap;return{props:r(e.props,i.props),defineNodes:r(e.defineNodes,i.defineNodes),parseBlock:r(e.parseBlock,i.parseBlock),parseInline:r(e.parseInline,i.parseInline),remove:r(e.remove,i.remove),wrap:n?o?(s,a,l,c)=>n(o(s,a,l,c),a,l,c):n:o}}function iO(t,e){let i=t.indexOf(e);if(i<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return i}var B_=[Et.none];for(let t=1,e;e=ge[t];t++)B_[t]=Et.define({id:t,name:e,props:t>=ge.Escape?[]:[[Qe.group,t in L_?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});var pl=[],nO=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,i,r,n=0){return this.content.push(e,i,r,4+n*4),this}writeElements(e,i=0){for(let r of e)r.writeTo(this,i);return this}finish(e,i){return qe.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:i})}},Vs=class{constructor(e,i,r,n=pl){this.type=e,this.from=i,this.to=r,this.children=n}writeTo(e,i){let r=e.content.length;e.writeElements(this.children,i),e.content.push(this.type,this.from+i,this.to+i,e.content.length+4-r)}toTree(e){return new nO(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},oO=class{constructor(e,i){this.tree=e,this.from=i}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return pl}writeTo(e,i){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+i,this.to+i,-1)}toTree(){return this.tree}};function Je(t,e,i,r){return new Vs(t,e,i,r)}var Z_={resolve:"Emphasis",mark:"EmphasisMark"},V_={resolve:"Emphasis",mark:"EmphasisMark"},Zu={},E_={},ir=class{constructor(e,i,r,n){this.type=e,this.from=i,this.to=r,this.side=n}},C_="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",Hu=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Hu=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(t){}var mx={Escape(t,e,i){if(e!=92||i==t.end-1)return-1;let r=t.char(i+1);for(let n=0;n<C_.length;n++)if(C_.charCodeAt(n)==r)return t.append(Je(ge.Escape,i,i+2));return-1},Entity(t,e,i){if(e!=38)return-1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(t.slice(i+1,i+31));return r?t.append(Je(ge.Entity,i,i+1+r[0].length)):-1},InlineCode(t,e,i){if(e!=96||i&&t.char(i-1)==96)return-1;let r=i+1;for(;r<t.end&&t.char(r)==96;)r++;let n=r-i,o=0;for(;r<t.end;r++)if(t.char(r)==96){if(o++,o==n&&t.char(r+1)!=96)return t.append(Je(ge.InlineCode,i,r+1,[Je(ge.CodeMark,i,i+n),Je(ge.CodeMark,r+1-n,r+1)]))}else o=0;return-1},HTMLTag(t,e,i){if(e!=60||i==t.end-1)return-1;let r=t.slice(i+1,t.end),n=/^(?:[a-z][-\w+.]+:[^\s>]+|[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(r);if(n)return t.append(Je(ge.Autolink,i,i+1+n[0].length,[Je(ge.LinkMark,i,i+1),Je(ge.URL,i+1,i+n[0].length),Je(ge.LinkMark,i+n[0].length,i+1+n[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(o)return t.append(Je(ge.Comment,i,i+1+o[0].length));let s=/^\?[^]*?\?>/.exec(r);if(s)return t.append(Je(ge.ProcessingInstruction,i,i+1+s[0].length));let a=/^(?:![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(r);return a?t.append(Je(ge.HTMLTag,i,i+1+a[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let r=i+1;for(;t.char(r)==e;)r++;let n=t.slice(i-1,i),o=t.slice(r,r+1),s=Hu.test(n),a=Hu.test(o),l=/\s|^$/.test(n),c=/\s|^$/.test(o),u=!c&&(!a||l||s),f=!l&&(!s||c||a),d=u&&(e==42||!f||s),p=f&&(e==42||!u||a);return t.append(new ir(e==95?Z_:V_,i,r,(d?1:0)|(p?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(Je(ge.HardBreak,i,i+2));if(e==32){let r=i+1;for(;t.char(r)==32;)r++;if(t.char(r)==10&&r>=i+2)return t.append(Je(ge.HardBreak,i,r+1))}return-1},Link(t,e,i){return e==91?t.append(new ir(Zu,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new ir(E_,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let r=t.parts.length-1;r>=0;r--){let n=t.parts[r];if(n instanceof ir&&(n.type==Zu||n.type==E_)){if(!n.side||t.skipSpace(n.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[r]=null,-1;let o=t.takeContent(r),s=t.parts[r]=iV(t,o,n.type==Zu?ge.Link:ge.Image,n.from,i+1);if(n.type==Zu)for(let a=0;a<r;a++){let l=t.parts[a];l instanceof ir&&l.type==Zu&&(l.side=0)}return s.to}}return-1}};function iV(t,e,i,r,n){let{text:o}=t,s=t.char(n),a=n;if(e.unshift(Je(ge.LinkMark,r,r+(i==ge.Image?2:1))),e.push(Je(ge.LinkMark,n-1,n)),s==40){let l=t.skipSpace(n+1),c=Y_(o,l-t.offset,t.offset),u;c&&(l=t.skipSpace(c.to),l!=c.to&&(u=F_(o,l-t.offset,t.offset),u&&(l=t.skipSpace(u.to)))),t.char(l)==41&&(e.push(Je(ge.LinkMark,n,n+1)),a=l+1,c&&e.push(c),u&&e.push(u),e.push(Je(ge.LinkMark,l,a)))}else if(s==91){let l=H_(o,n-t.offset,t.offset,!1);l&&(e.push(l),a=l.to)}return Je(i,r,a,e)}function Y_(t,e,i){if(t.charCodeAt(e)==60){for(let n=e+1;n<t.length;n++){let o=t.charCodeAt(n);if(o==62)return Je(ge.URL,e+i,n+1+i);if(o==60||o==10)return!1}return null}else{let n=0,o=e;for(let s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(vr(a))break;if(s)s=!1;else if(a==40)n++;else if(a==41){if(!n)break;n--}else a==92&&(s=!0)}return o>e?Je(ge.URL,e+i,o+i):o==t.length?null:!1}}function F_(t,e,i){let r=t.charCodeAt(e);if(r!=39&&r!=34&&r!=40)return!1;let n=r==40?41:r;for(let o=e+1,s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(s)s=!1;else{if(a==n)return Je(ge.LinkTitle,e+i,o+1+i);a==92&&(s=!0)}}return null}function H_(t,e,i,r){for(let n=!1,o=e+1,s=Math.min(t.length,o+999);o<s;o++){let a=t.charCodeAt(o);if(n)n=!1;else{if(a==93)return r?!1:Je(ge.LinkLabel,e+i,o+1+i);if(r&&!vr(a)&&(r=!1),a==91)return!1;a==92&&(n=!0)}}return null}var Tx=class{constructor(e,i,r){this.parser=e,this.text=i,this.offset=r,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,r,n,o){return this.append(new ir(e,i,r,(n?1:0)|(o?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let r=e;r<this.parts.length;r++){let n=this.parts[r];if(!(n instanceof ir&&n.type.resolve&&n.side&2))continue;let o=n.type==Z_||n.type==V_,s=n.to-n.from,a,l=r-1;for(;l>=e;l--){let x=this.parts[l];if(x instanceof ir&&x.side&1&&x.type==n.type&&!(o&&(n.side&1||x.side&2)&&(x.to-x.from+s)%3==0&&((x.to-x.from)%3||s%3))){a=x;break}}if(!a)continue;let c=n.type.resolve,u=[],f=a.from,d=n.to;if(o){let x=Math.min(2,a.to-a.from,s);f=a.to-x,d=n.from+x,c=x==1?"Emphasis":"StrongEmphasis"}a.type.mark&&u.push(this.elt(a.type.mark,f,a.to));for(let x=l+1;x<r;x++)this.parts[x]instanceof Vs&&u.push(this.parts[x]),this.parts[x]=null;n.type.mark&&u.push(this.elt(n.type.mark,n.from,d));let p=this.elt(c,f,d,u);this.parts[l]=o&&a.from!=f?new ir(a.type,a.from,f,a.side):null,(this.parts[r]=o&&n.to!=d?new ir(n.type,d,n.to,n.side):null)?this.parts.splice(r,0,p):this.parts[r]=p}let i=[];for(let r=e;r<this.parts.length;r++){let n=this.parts[r];n instanceof Vs&&i.push(n)}return i}findOpeningDelimiter(e){for(let i=this.parts.length-1;i>=0;i--){let r=this.parts[i];if(r instanceof ir&&r.type==e)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}skipSpace(e){return Vu(this.text,e-this.offset)+this.offset}elt(e,i,r,n){return typeof e=="string"?Je(this.parser.getNodeType(e),i,r,n):new oO(e,i)}};function Ex(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),r=0;for(let n of e){for(;r<i.length&&i[r].to<n.to;)r++;if(r<i.length&&i[r].from<n.from){let o=i[r];o instanceof Vs&&(i[r]=new Vs(o.type,o.from,o.to,Ex(o.children,[n])))}else i.splice(r++,0,n)}return i}var rV=[ge.CodeBlock,ge.ListItem,ge.OrderedList,ge.BulletList],Cx=class{constructor(e,i){this.fragments=e,this.input=i,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,i){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let o=this.fragment.to;for(;o>0&&this.input.read(o-1,o)!=`
`;)o--;this.fragmentEnd=o?o-1:0}let r=this.cursor;r||(r=this.cursor=this.fragment.tree.cursor(),r.firstChild());let n=e+this.fragment.offset;for(;r.to<=n;)if(!r.parent())return!1;for(;;){if(r.from>=n)return this.fragment.from<=i;if(!r.childAfter(n))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(Qe.contextHash)==e}takeNodes(e){let i=this.cursor,r=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),o=e.absoluteLineStart,s=o,a=e.block.children.length,l=s,c=a;for(;;){if(i.to-r>n){if(i.type.isAnonymous&&i.firstChild())continue;break}let u=G_(i.from-r,e.ranges);if(i.to-r<=e.ranges[e.rangeI].to)e.addNode(i.tree,u);else{let f=new qe(e.parser.nodeSet.types[ge.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,i.tree),e.addNode(f,u)}if(i.type.is("Block")&&(rV.indexOf(i.type.id)<0?(s=i.to-r,a=e.block.children.length):(s=l,a=c,l=i.to-r,c=e.block.children.length)),!i.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return s-o}};function G_(t,e){let i=t;for(let r=1;r<e.length;r++){let n=e[r-1].to,o=e[r].from;n<t&&(i-=o-n)}return i}var nV=Pt({"Blockquote/...":C.quote,HorizontalRule:C.contentSeparator,"ATXHeading1/... SetextHeading1/...":C.heading1,"ATXHeading2/... SetextHeading2/...":C.heading2,"ATXHeading3/...":C.heading3,"ATXHeading4/...":C.heading4,"ATXHeading5/...":C.heading5,"ATXHeading6/...":C.heading6,"Comment CommentBlock":C.comment,Escape:C.escape,Entity:C.character,"Emphasis/...":C.emphasis,"StrongEmphasis/...":C.strong,"Link/... Image/...":C.link,"OrderedList/... BulletList/...":C.list,"BlockQuote/...":C.quote,"InlineCode CodeText":C.monospace,"URL Autolink":C.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":C.processingInstruction,"CodeInfo LinkLabel":C.labelName,LinkTitle:C.string,Paragraph:C.content}),K_=new Fu(new zn(B_).extend(nV),Object.keys(tO).map(t=>tO[t]),Object.keys(tO).map(t=>JZ[t]),Object.keys(tO),eV,L_,Object.keys(mx).map(t=>mx[t]),Object.keys(mx),[]);function oV(t,e,i){let r=[];for(let n=t.firstChild,o=e;;n=n.nextSibling){let s=n?n.from:i;if(s>o&&r.push({from:o,to:s}),!n)break;o=n.to}return r}function J_(t){let{codeParser:e,htmlParser:i}=t;return{wrap:ru((n,o)=>{let s=n.type.id;if(e&&(s==ge.CodeBlock||s==ge.FencedCode)){let a="";if(s==ge.FencedCode){let c=n.node.getChild(ge.CodeInfo);c&&(a=o.read(c.from,c.to))}let l=e(a);if(l)return{parser:l,overlay:c=>c.type.id==ge.CodeText}}else if(i&&(s==ge.HTMLBlock||s==ge.HTMLTag))return{parser:i,overlay:oV(n.node,n.from,n.to)};return null})}}var sV={resolve:"Strikethrough",mark:"StrikethroughMark"},aV={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":C.strikethrough}},{name:"StrikethroughMark",style:C.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let r=t.slice(i-1,i),n=t.slice(i+2,i+3),o=/\s|^$/.test(r),s=/\s|^$/.test(n),a=Hu.test(r),l=Hu.test(n);return t.addDelimiter(sV,i,i+2,!s&&(!l||o||a),!o&&(!a||s||l))},after:"Emphasis"}]};function Yu(t,e,i=0,r,n=0){let o=0,s=!0,a=-1,l=-1,c=!1,u=()=>{r.push(t.elt("TableCell",n+a,n+l,t.parser.parseInline(e.slice(a,l),n+a)))};for(let f=i;f<e.length;f++){let d=e.charCodeAt(f);d==124&&!c?((!s||a>-1)&&o++,s=!1,r&&(a>-1&&u(),r.push(t.elt("TableDelimiter",f+n,f+n+1))),a=l=-1):(c||d!=32&&d!=9)&&(a<0&&(a=f),l=f+1),c=!c&&d==92}return a>-1&&(o++,r&&u()),o}function P_(t,e){for(let i=e;i<t.length;i++){let r=t.charCodeAt(i);if(r==124)return!0;r==92&&i++}return!1}var eQ=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,sO=class{constructor(){this.rows=null}nextLine(e,i,r){if(this.rows==null){this.rows=!1;let n;if((i.next==45||i.next==58||i.next==124)&&eQ.test(n=i.text.slice(i.pos))){let o=[];Yu(e,r.content,0,o,r.start)==Yu(e,n,i.pos)&&(this.rows=[e.elt("TableHeader",r.start,r.start+r.content.length,o),e.elt("TableDelimiter",e.lineStart+i.pos,e.lineStart+i.text.length)])}}else if(this.rows){let n=[];Yu(e,i.text,i.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+i.pos,e.lineStart+i.text.length,n))}return!1}finish(e,i){return this.rows?(e.addLeafElement(i,e.elt("Table",i.start,i.start+i.content.length,this.rows)),!0):!1}},lV={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":C.heading}},"TableRow",{name:"TableCell",style:C.content},{name:"TableDelimiter",style:C.processingInstruction}],parseBlock:[{name:"Table",leaf(t,e){return P_(e.content,0)?new sO:null},endLeaf(t,e,i){if(i.parsers.some(n=>n instanceof sO)||!P_(e.text,e.basePos))return!1;let r=t.scanLine(t.absoluteLineEnd+1).text;return eQ.test(r)&&Yu(t,e.text,e.basePos)==Yu(t,r,e.basePos)},before:"SetextHeading"}]},Px=class{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}},cV={defineNodes:[{name:"Task",block:!0,style:C.list},{name:"TaskMarker",style:C.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new Px:null},after:"SetextHeading"}]},__=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Q_=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,uV=/[\w-]+\.[\w-]+($|\/)/,A_=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,$_=/\/[a-zA-Z\d@.]+/gy;function X_(t,e,i,r){let n=0;for(let o=e;o<i;o++)t[o]==r&&n++;return n}function fV(t,e){Q_.lastIndex=e;let i=Q_.exec(t);if(!i||uV.exec(i[0])[0].indexOf("_")>-1)return-1;let r=e+i[0].length;for(;;){let n=t[r-1],o;if(/[?!.,:*_~]/.test(n)||n==")"&&X_(t,e,r,")")>X_(t,e,r,"("))r--;else if(n==";"&&(o=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,r))))r=e+o.index;else break}return r}function R_(t,e){A_.lastIndex=e;let i=A_.exec(t);if(!i)return-1;let r=i[0][i[0].length-1];return r=="_"||r=="-"?-1:e+i[0].length-(r=="."?1:0)}var hV={parseInline:[{name:"Autolink",parse(t,e,i){let r=i-t.offset;__.lastIndex=r;let n=__.exec(t.text),o=-1;return!n||(n[1]||n[2]?o=fV(t.text,r+n[0].length):n[3]?o=R_(t.text,r):(o=R_(t.text,r+n[0].length),o>-1&&n[0]=="xmpp:"&&($_.lastIndex=o,n=$_.exec(t.text),n&&(o=n.index+n[0].length))),o<0)?-1:(t.addElement(t.elt("URL",i,o+t.offset)),o+t.offset)}}]},tQ=[lV,cV,aV,hV];function iQ(t,e,i){return(r,n,o)=>{if(n!=t||r.char(o+1)==t)return-1;let s=[r.elt(i,o,o+1)];for(let a=o+1;a<r.end;a++){let l=r.char(a);if(l==t)return r.addElement(r.elt(e,o,a+1,s.concat(r.elt(i,a,a+1))));if(l==92&&s.push(r.elt("Escape",a,a+++2)),vr(l))break}return-1}}var rQ={defineNodes:[{name:"Superscript",style:C.special(C.content)},{name:"SuperscriptMark",style:C.processingInstruction}],parseInline:[{name:"Superscript",parse:iQ(94,"Superscript","SuperscriptMark")}]},nQ={defineNodes:[{name:"Subscript",style:C.special(C.content)},{name:"SubscriptMark",style:C.processingInstruction}],parseInline:[{name:"Subscript",parse:iQ(126,"Subscript","SubscriptMark")}]},oQ={defineNodes:[{name:"Emoji",style:C.character}],parseInline:[{name:"Emoji",parse(t,e,i){let r;return e!=58||!(r=/^[a-zA-Z_0-9]+:/.exec(t.slice(i+1,t.end)))?-1:t.addElement(t.elt("Emoji",i,i+1+r[0].length))}}]};var Rx=class t{constructor(e,i,r,n,o,s,a,l,c,u=0,f){this.p=e,this.stack=i,this.state=r,this.reducePos=n,this.pos=o,this.score=s,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=f}toString(){return`[${this.stack.filter((e,i)=>i%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,r=0){let n=e.parser.context;return new t(e,[],i,r,r,0,[],0,n?new aO(n,n.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let r=e>>19,n=e&65535,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let s=o.dynamicPrecedence(n);if(s&&(this.score+=s),r==0){this.pushState(o.getGoto(this.state,n,!0),this.reducePos),n<o.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,4,!0),this.reduceContext(n,this.reducePos);return}let a=this.stack.length-(r-1)*3-(e&262144?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((i=this.p.parser.nodeSet.types[n])===null||i===void 0)&&i.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let u=a?this.stack[a-1]:0,f=this.bufferBase+this.buffer.length-u;if(n<o.minRepeatTerm||e&131072){let d=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,l,d,f+4,!0)}if(e&262144)this.state=this.stack[a];else{let d=this.stack[a-3];this.state=o.getGoto(d,n,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(n,l)}storeNode(e,i,r,n=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let s=this,a=this.buffer.length;if(a==0&&s.parent&&(a=s.bufferBase-s.parent.bufferBase,s=s.parent),a>0&&s.buffer[a-4]==0&&s.buffer[a-1]>-1){if(i==r)return;if(s.buffer[a-2]>=i){s.buffer[a-2]=r;return}}}if(!o||this.pos==r)this.buffer.push(e,i,r,n);else{let s=this.buffer.length;if(s>0&&this.buffer[s-4]!=0)for(;s>0&&this.buffer[s-2]>r;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,n>4&&(n-=4);this.buffer[s]=e,this.buffer[s+1]=i,this.buffer[s+2]=r,this.buffer[s+3]=n}}shift(e,i,r,n){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(i,r),i<=this.p.parser.maxNode&&this.buffer.push(i,r,n,4);else{let o=e,{parser:s}=this.p;(n>this.pos||i<=s.maxNode)&&(this.pos=n,s.stateFlag(o,1)||(this.reducePos=n)),this.pushState(o,r),this.shiftContext(i,r),i<=s.maxNode&&this.buffer.push(i,r,n,4)}}apply(e,i,r,n){e&65536?this.reduce(e):this.shift(e,i,r,n)}useNode(e,i){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(i,n),this.buffer.push(r,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let r=e.buffer.slice(i),n=e.bufferBase+i;for(;e&&n==e.bufferBase;)e=e.parent;return new t(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,n,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,r?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new Lx(this);;){let r=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(r==0)return!1;if(!(r&65536))return!0;i.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let n=[];for(let o=0,s;o<i.length;o+=2)(s=i[o+1])!=this.state&&this.p.parser.hasAction(s,e)&&n.push(i[o],s);if(this.stack.length<120)for(let o=0;n.length<8&&o<i.length;o+=2){let s=i[o+1];n.some((a,l)=>l&1&&a==s)||n.push(i[o],s)}i=n}let r=[];for(let n=0;n<i.length&&r.length<4;n+=2){let o=i[n+1];if(o==this.state)continue;let s=this.split();s.pushState(o,this.pos),s.storeNode(0,s.pos,s.pos,4,!0),s.shiftContext(i[n],this.pos),s.reducePos=this.pos,s.score-=200,r.push(s)}return r}forceReduce(){let{parser:e}=this.p,i=e.stateSlot(this.state,5);if(!(i&65536))return!1;if(!e.validAction(this.state,i)){let r=i>>19,n=i&65535,o=this.stack.length-r*3;if(o<0||e.getGoto(this.stack[o],n,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;i=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],r=(n,o)=>{if(!i.includes(n))return i.push(n),e.allActions(n,s=>{if(!(s&393216))if(s&65536){let a=(s>>19)-o;if(a>1){let l=s&65535,c=this.stack.length-a*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return a<<19|65536|l}}else{let a=r(s,o+1);if(a!=null)return a}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;i<this.stack.length;i+=3)if(this.stack[i]!=e.stack[i])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(i)))}reduceContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(i)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let i=new aO(this.curContext.tracker,e);i.hash!=this.curContext.hash&&this.emitContext(),this.curContext=i}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},aO=class{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}},Lx=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,r=e>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=n}},Ix=class t{constructor(e,i,r){this.stack=e,this.pos=i,this.index=r,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new t(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new t(this.stack,this.pos,this.index)}};function Gu(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let r=0,n=0;r<t.length;){let o=0;for(;;){let s=t.charCodeAt(r++),a=!1;if(s==126){o=65535;break}s>=92&&s--,s>=34&&s--;let l=s-32;if(l>=46&&(l-=46,a=!0),o+=l,a)break;o*=46}i?i[n++]=o:i=new e(o)}return i}var Ol=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},sQ=new Ol,Dx=class{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=sQ,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let r=this.range,n=this.rangeIndex,o=this.pos+e;for(;o<r.from;){if(!n)return null;let s=this.ranges[--n];o-=r.from-s.to,r=s}for(;i<0?o>r.to:o>=r.to;){if(n==this.ranges.length-1)return null;let s=this.ranges[++n];o+=s.from-r.to,r=s}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let i of this.ranges)if(i.to>e)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,r,n;if(i>=0&&i<this.chunk.length)r=this.pos+e,n=this.chunk.charCodeAt(i);else{let o=this.resolveOffset(e,1);if(o==null)return-1;if(r=o,r>=this.chunk2Pos&&r<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(r-this.chunk2Pos);else{let s=this.rangeIndex,a=this.range;for(;a.to<=r;)a=this.ranges[++s];this.chunk2=this.input.chunk(this.chunk2Pos=r),r+this.chunk2.length>a.to&&(this.chunk2=this.chunk2.slice(0,a.to-r)),n=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),n}acceptToken(e,i=0){let r=i?this.resolveOffset(i,-1):this.pos;if(r==null||r<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=r}acceptTokenTo(e,i){this.token.value=e,this.token.end=i}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:i}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=i,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),i=this.pos+e.length;this.chunk=i>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=sQ,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,i){if(e>=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let r="";for(let n of this.ranges){if(n.from>=i)break;n.to>e&&(r+=this.input.read(Math.max(n.from,e),Math.min(n.to,i)))}return r}},Zo=class{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:r}=i.p;fQ(this.data,e,i,this.id,r.data,r.tokenPrecTable)}};Zo.prototype.contextual=Zo.prototype.fallback=Zo.prototype.extend=!1;var Vo=class{constructor(e,i,r){this.precTable=i,this.elseToken=r,this.data=typeof e=="string"?Gu(e):e}token(e,i){let r=e.pos,n=0;for(;;){let o=e.next<0,s=e.resolveOffset(1,1);if(fQ(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(o||n++,s==null)break;e.reset(s,e.token)}n&&(e.reset(r,e.token),e.acceptToken(this.elseToken,n))}};Vo.prototype.contextual=Zo.prototype.fallback=Zo.prototype.extend=!1;var Be=class{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}};function fQ(t,e,i,r,n,o){let s=0,a=1<<r,{dialect:l}=i.p.parser;e:for(;a&t[s];){let c=t[s+1];for(let p=s+3;p<c;p+=2)if((t[p+1]&a)>0){let g=t[p];if(l.allows(g)&&(e.token.value==-1||e.token.value==g||pV(g,e.token.value,n,o))){e.acceptToken(g);break}}let u=e.next,f=0,d=t[s+2];if(e.next<0&&d>f&&t[c+d*3-3]==65535){s=t[c+d*3-1];continue e}for(;f<d;){let p=f+d>>1,g=c+p+(p<<1),x=t[g],v=t[g+1]||65536;if(u<x)d=p;else if(u>=v)f=p+1;else{s=t[g+2],e.advance();continue e}}break}}function aQ(t,e,i){for(let r=e,n;(n=t[r])!=65535;r++)if(n==i)return r-e;return-1}function pV(t,e,i,r){let n=aQ(i,r,e);return n<0||aQ(i,r,t)<n}var rr=typeof process!="undefined"&&process.env&&/\bparse\b/.test(process.env.LOG),$x=null;function lQ(t,e,i){let r=t.cursor(st.IncludeAnonymous);for(r.moveTo(e);;)if(!(i<0?r.childBefore(e):r.childAfter(e)))for(;;){if((i<0?r.to<e:r.from>e)&&!r.type.isError)return i<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(i<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return i<0?0:t.length}}var Nx=class{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?lQ(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?lQ(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let i=this.trees.length-1;if(i<0)return this.nextFragment(),null;let r=this.trees[i],n=this.index[i];if(n==r.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=r.children[n],s=this.start[i]+r.positions[n];if(s>e)return this.nextStart=s,null;if(o instanceof qe){if(s==e){if(s<this.safeFrom)return null;let a=s+o.length;if(a<=this.safeTo){let l=o.prop(Qe.lookAhead);if(!l||a+l<this.fragment.to)return o}}this.index[i]++,s+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[i]++,this.nextStart=s+o.length}}},Mx=class{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(r=>new Ol)}getActions(e){let i=0,r=null,{parser:n}=e.p,{tokenizers:o}=n,s=n.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let c=0;c<o.length;c++){if(!(1<<c&s))continue;let u=o[c],f=this.tokens[c];if(!(r&&!u.fallback)&&((u.contextual||f.start!=e.pos||f.mask!=s||f.context!=a)&&(this.updateCachedToken(f,u,e),f.mask=s,f.context=a),f.lookAhead>f.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=i;if(f.extended>-1&&(i=this.addActions(e,f.extended,f.end,i)),i=this.addActions(e,f.value,f.end,i),!u.extend&&(r=f,i>d))break}}for(;this.actions.length>i;)this.actions.pop();return l&&e.setLookAhead(l),!r&&e.pos==this.stream.end&&(r=new Ol,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,i=this.addActions(e,r.value,r.end,i)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Ol,{pos:r,p:n}=e;return i.start=r,i.end=Math.min(r+1,n.stream.end),i.value=r==n.stream.end?n.parser.eofTerm:0,i}updateCachedToken(e,i,r){let n=this.stream.clipPos(r.pos);if(i.token(this.stream.reset(n,e),r),e.value>-1){let{parser:o}=r.p;for(let s=0;s<o.specialized.length;s++)if(o.specialized[s]==e.value){let a=o.specializers[s](this.stream.read(e.start,e.end),r);if(a>=0&&r.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,i,r,n){for(let o=0;o<n;o+=3)if(this.actions[o]==e)return n;return this.actions[n++]=e,this.actions[n++]=i,this.actions[n++]=r,n}addActions(e,i,r,n){let{state:o}=e,{parser:s}=e.p,{data:a}=s;for(let l=0;l<2;l++)for(let c=s.stateSlot(o,l?2:1);;c+=3){if(a[c]==65535)if(a[c+1]==1)c=Gn(a,c+2);else{n==0&&a[c+1]==2&&(n=this.putAction(Gn(a,c+2),i,r,n));break}a[c]==i&&(n=this.putAction(Gn(a,c+1),i,r,n))}return n}},Ux=class{constructor(e,i,r,n){this.parser=e,this.input=i,this.ranges=n,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new Dx(i,n),this.tokens=new Mx(e,this.stream),this.topTerm=e.top[1];let{from:o}=n[0];this.stacks=[Rx.start(this,e.top[0],o)],this.fragments=r.length&&this.stream.end-o>e.bufferLength*4?new Nx(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,r=this.stacks=[],n,o;if(this.bigReductionCount>300&&e.length==1){let[s]=e;for(;s.forceReduce()&&s.stack.length&&s.stack[s.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<e.length;s++){let a=e[s];for(;;){if(this.tokens.mainToken=null,a.pos>i)r.push(a);else{if(this.advanceStack(a,r,e))continue;{n||(n=[],o=[]),n.push(a);let l=this.tokens.getMainToken(a);o.push(l.value,l.end)}}break}}if(!r.length){let s=n&&OV(n);if(s)return rr&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw rr&&n&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&n){let s=this.stoppedAt!=null&&n[0].pos>this.stoppedAt?n[0]:this.runRecovery(n,o,r);if(s)return rr&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(r.length>s)for(r.sort((a,l)=>l.score-a.score);r.length>s;)r.pop();r.some(a=>a.reducePos>i)&&this.recovering--}else if(r.length>1){e:for(let s=0;s<r.length-1;s++){let a=r[s];for(let l=s+1;l<r.length;l++){let c=r[l];if(a.sameState(c)||a.buffer.length>500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(s--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let s=1;s<r.length;s++)r[s].pos<this.minStackPos&&(this.minStackPos=r[s].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,i,r){let n=e.pos,{parser:o}=this,s=rr?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&n>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(n);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?o.getGoto(e.state,f.type.id):-1;if(d>-1&&f.length&&(!c||(f.prop(Qe.contextHash)||0)==u))return e.useNode(f,d),rr&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof qe)||f.children.length==0||f.positions[0]>0)break;let p=f.children[0];if(p instanceof qe&&f.positions[0]==0)f=p;else break}}let a=o.stateSlot(e.state,4);if(a>0)return e.reduce(a),rr&&console.log(s+this.stackID(e)+` (via always-reduce ${o.getName(a&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;c<l.length;){let u=l[c++],f=l[c++],d=l[c++],p=c==l.length||!r,g=p?e:e.split(),x=this.tokens.mainToken;if(g.apply(u,f,x?x.start:g.pos,d),rr&&console.log(s+this.stackID(g)+` (via ${u&65536?`reduce of ${o.getName(u&65535)}`:"shift"} for ${o.getName(f)} @ ${n}${g==e?"":", split"})`),p)return!0;g.pos>n?i.push(g):r.push(g)}return!1}advanceFully(e,i){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return cQ(e,i),!0}}runRecovery(e,i,r){let n=null,o=!1;for(let s=0;s<e.length;s++){let a=e[s],l=i[s<<1],c=i[(s<<1)+1],u=rr?this.stackID(a)+" -> ":"";if(a.deadEnd&&(o||(o=!0,a.restart(),rr&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,r))))continue;let f=a.split(),d=u;for(let p=0;f.forceReduce()&&p<10&&(rr&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));p++)rr&&(d=this.stackID(f)+" -> ");for(let p of a.recoverByInsert(l))rr&&console.log(u+this.stackID(p)+" (via recover-insert)"),this.advanceFully(p,r);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),rr&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),cQ(a,r)):(!n||n.score<a.score)&&(n=a)}return n}stackToTree(e){return e.close(),qe.build({buffer:Ix.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let i=($x||($x=new WeakMap)).get(e);return i||$x.set(e,i=String.fromCodePoint(this.nextStackID++)),i+e}};function cQ(t,e){for(let i=0;i<e.length;i++){let r=e[i];if(r.pos==t.pos&&r.sameState(t)){e[i].score<t.score&&(e[i]=t);return}}e.push(t)}var zx=class{constructor(e,i,r){this.source=e,this.flags=i,this.disabled=r}allows(e){return!this.disabled||this.disabled[e]==0}},Xx=t=>t,On=class{constructor(e){this.start=e.start,this.shift=e.shift||Xx,this.reduce=e.reduce||Xx,this.reuse=e.reuse||Xx,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},Wt=class t extends qn{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let a=0;a<e.repeatNodeCount;a++)i.push("");let r=Object.keys(e.topRules).map(a=>e.topRules[a][1]),n=[];for(let a=0;a<i.length;a++)n.push([]);function o(a,l,c){n[a].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let a of e.nodeProps){let l=a[0];typeof l=="string"&&(l=Qe[l]);for(let c=1;c<a.length;){let u=a[c++];if(u>=0)o(u,l,a[c++]);else{let f=a[c+-u];for(let d=-u;d>0;d--)o(a[c++],l,f);c++}}}this.nodeSet=new zn(i.map((a,l)=>Et.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:n[l],top:r.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=1024;let s=Gu(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;a<this.specializerSpecs.length;a++)this.specialized[a]=this.specializerSpecs[a].term;this.specializers=this.specializerSpecs.map(uQ),this.states=Gu(e.states,Uint32Array),this.data=Gu(e.stateData),this.goto=Gu(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(a=>typeof a=="number"?new Zo(s,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,r){let n=new Ux(this,e,i,r);for(let o of this.wrappers)n=o(n,e,i,r);return n}getGoto(e,i,r=!1){let n=this.goto;if(i>=n[0])return-1;for(let o=n[i+1];;){let s=n[o++],a=s&1,l=n[o++];if(a&&r)return l;for(let c=o+(s>>1);o<c;o++)if(n[o]==e)return l;if(a)return-1}}hasAction(e,i){let r=this.data;for(let n=0;n<2;n++)for(let o=this.stateSlot(e,n?2:1),s;;o+=3){if((s=r[o])==65535)if(r[o+1]==1)s=r[o=Gn(r,o+2)];else{if(r[o+1]==2)return Gn(r,o+2);break}if(s==i||s==0)return Gn(r,o+1)}return 0}stateSlot(e,i){return this.states[e*6+i]}stateFlag(e,i){return(this.stateSlot(e,0)&i)>0}validAction(e,i){return!!this.allActions(e,r=>r==i?!0:null)}allActions(e,i){let r=this.stateSlot(e,4),n=r?i(r):void 0;for(let o=this.stateSlot(e,1);n==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=Gn(this.data,o+2);else break;n=i(Gn(this.data,o+1))}return n}nextStates(e){let i=[];for(let r=this.stateSlot(e,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Gn(this.data,r+2);else break;if(!(this.data[r+2]&1)){let n=this.data[r+1];i.some((o,s)=>s&1&&o==n)||i.push(this.data[r],n)}}return i}configure(e){let i=Object.assign(Object.create(t.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=r}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(r=>{let n=e.tokenizers.find(o=>o.from==r);return n?n.to:r})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((r,n)=>{let o=e.specializers.find(a=>a.from==r.external);if(!o)return r;let s=Object.assign(Object.assign({},r),{external:o.to});return i.specializers[n]=uQ(s),s})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),r=i.map(()=>!1);if(e)for(let o of e.split(" ")){let s=i.indexOf(o);s>=0&&(r[s]=!0)}let n=null;for(let o=0;o<i.length;o++)if(!r[o])for(let s=this.dialects[i[o]],a;(a=this.data[s++])!=65535;)(n||(n=new Uint8Array(this.maxTerm+1)))[a]=1;return new zx(e,r,n)}static deserialize(e){return new t(e)}};function Gn(t,e){return t[e]|t[e+1]<<16}function OV(t){let e=null;for(let i of t){let r=i.p.stoppedAt;(i.pos==i.p.stream.end||r!=null&&i.pos>r)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.score<i.score)&&(e=i)}return e}function uQ(t){if(t.external){let e=t.extend?1:0;return(i,r)=>t.external(i,r)<<1|e}return t.get}var mV=54,gV=1,bV=55,yV=2,xV=56,vV=3,hQ=4,wV=5,lO=6,xQ=7,vQ=8,wQ=9,kQ=10,kV=11,SV=12,TV=13,jx=57,EV=14,dQ=58,SQ=20,CV=22,TQ=23,PV=24,Wx=26,EQ=27,_V=28,QV=31,AV=34,$V=36,XV=37,RV=0,LV=1,IV={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},DV={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},pQ={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function NV(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function CQ(t){return t==9||t==10||t==13||t==32}var OQ=null,mQ=null,gQ=0;function Bx(t,e){let i=t.pos+e;if(gQ==i&&mQ==t)return OQ;let r=t.peek(e);for(;CQ(r);)r=t.peek(++e);let n="";for(;NV(r);)n+=String.fromCharCode(r),r=t.peek(++e);return mQ=t,gQ=i,OQ=n?n.toLowerCase():r==MV||r==UV?void 0:null}var PQ=60,cO=62,Zx=47,MV=63,UV=33,zV=45;function bQ(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i<t.length;i++)this.hash+=(this.hash<<4)+t.charCodeAt(i)+(t.charCodeAt(i)<<8)}var jV=[lO,kQ,xQ,vQ,wQ],qV=new On({start:null,shift(t,e,i,r){return jV.indexOf(e)>-1?new bQ(Bx(r,1)||"",t):t},reduce(t,e){return e==SQ&&t?t.parent:t},reuse(t,e,i,r){let n=e.type.id;return n==lO||n==$V?new bQ(Bx(r,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),WV=new Be((t,e)=>{if(t.next!=PQ){t.next<0&&e.context&&t.acceptToken(jx);return}t.advance();let i=t.next==Zx;i&&t.advance();let r=Bx(t,0);if(r===void 0)return;if(!r)return t.acceptToken(i?EV:lO);let n=e.context?e.context.name:null;if(i){if(r==n)return t.acceptToken(kV);if(n&&DV[n])return t.acceptToken(jx,-2);if(e.dialectEnabled(RV))return t.acceptToken(SV);for(let o=e.context;o;o=o.parent)if(o.name==r)return;t.acceptToken(TV)}else{if(r=="script")return t.acceptToken(xQ);if(r=="style")return t.acceptToken(vQ);if(r=="textarea")return t.acceptToken(wQ);if(IV.hasOwnProperty(r))return t.acceptToken(kQ);n&&pQ[n]&&pQ[n][r]?t.acceptToken(jx,-1):t.acceptToken(lO)}},{contextual:!0}),BV=new Be(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(dQ);break}if(t.next==zV)e++;else if(t.next==cO&&e>=2){i>=3&&t.acceptToken(dQ,-2);break}else e=0;t.advance()}});function ZV(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}var VV=new Be((t,e)=>{if(t.next==Zx&&t.peek(1)==cO){let i=e.dialectEnabled(LV)||ZV(e.context);t.acceptToken(i?wV:hQ,2)}else t.next==cO&&t.acceptToken(hQ,1)});function Vx(t,e,i){let r=2+t.length;return new Be(n=>{for(let o=0,s=0,a=0;;a++){if(n.next<0){a&&n.acceptToken(e);break}if(o==0&&n.next==PQ||o==1&&n.next==Zx||o>=2&&o<r&&n.next==t.charCodeAt(o-2))o++,s++;else if((o==2||o==r)&&CQ(n.next))s++;else if(o==r&&n.next==cO){a>s?n.acceptToken(e,-s):n.acceptToken(i,-(s-2));break}else if((n.next==10||n.next==13)&&a){n.acceptToken(e,1);break}else o=s=0;n.advance()}})}var YV=Vx("script",mV,gV),FV=Vx("style",bV,yV),HV=Vx("textarea",xV,vV),GV=Pt({"Text RawText":C.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":C.angleBracket,TagName:C.tagName,"MismatchedCloseTag/TagName":[C.tagName,C.invalid],AttributeName:C.attributeName,"AttributeValue UnquotedAttributeValue":C.attributeValue,Is:C.definitionOperator,"EntityReference CharacterReference":C.character,Comment:C.blockComment,ProcessingInst:C.processingInstruction,DoctypeDecl:C.documentMeta}),_Q=Wt.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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rO~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:"\u26A0 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:qV,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"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[GV],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!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VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!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!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[YV,FV,HV,VV,WV,BV,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function QQ(t,e){let i=Object.create(null);for(let r of t.getChildren(TQ)){let n=r.getChild(PV),o=r.getChild(Wx)||r.getChild(EQ);n&&(i[e.read(n.from,n.to)]=o?o.type.id==Wx?e.read(o.from+1,o.to-1):e.read(o.from,o.to):"")}return i}function yQ(t,e){let i=t.getChild(CV);return i?e.read(i.from,i.to):" "}function qx(t,e,i){let r;for(let n of i)if(!n.attrs||n.attrs(r||(r=QQ(t.node.parent.firstChild,e))))return{parser:n.parser};return null}function Yx(t=[],e=[]){let i=[],r=[],n=[],o=[];for(let a of t)(a.tag=="script"?i:a.tag=="style"?r:a.tag=="textarea"?n:o).push(a);let s=e.length?Object.create(null):null;for(let a of e)(s[a.name]||(s[a.name]=[])).push(a);return ru((a,l)=>{let c=a.type.id;if(c==_V)return qx(a,l,i);if(c==QV)return qx(a,l,r);if(c==AV)return qx(a,l,n);if(c==SQ&&o.length){let u=a.node,f=u.firstChild,d=f&&yQ(f,l),p;if(d){for(let g of o)if(g.tag==d&&(!g.attrs||g.attrs(p||(p=QQ(u,l))))){let x=u.lastChild,v=x.type.id==XV?x.from:u.to;if(v>f.to)return{parser:g.parser,overlay:[{from:f.to,to:v}]}}}}if(s&&c==TQ){let u=a.node,f;if(f=u.firstChild){let d=s[l.read(f.from,f.to)];if(d)for(let p of d){if(p.tagName&&p.tagName!=yQ(u.parent,l))continue;let g=u.lastChild;if(g.type.id==Wx){let x=g.from+1,v=g.lastChild,S=g.to-(v&&v.isError?0:1);if(S>x)return{parser:p.parser,overlay:[{from:x,to:S}]}}else if(g.type.id==EQ)return{parser:p.parser,overlay:[{from:g.from,to:g.to}]}}}}return null})}var KV=99,AQ=1,JV=100,eY=101,$Q=2,XQ=[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],tY=58,iY=40,RQ=95,rY=91,uO=45,nY=46,oY=35,sY=37,aY=38,lY=92,cY=10;function Ku(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function uY(t){return t>=48&&t<=57}var fY=new Be((t,e)=>{for(let i=!1,r=0,n=0;;n++){let{next:o}=t;if(Ku(o)||o==uO||o==RQ||i&&uY(o))!i&&(o!=uO||n>0)&&(i=!0),r===n&&o==uO&&r++,t.advance();else if(o==lY&&t.peek(1)!=cY)t.advance(),t.next>-1&&t.advance(),i=!0;else{i&&t.acceptToken(o==iY?JV:r==2&&e.canShift($Q)?$Q:eY);break}}}),hY=new Be(t=>{if(XQ.includes(t.peek(-1))){let{next:e}=t;(Ku(e)||e==RQ||e==oY||e==nY||e==rY||e==tY&&Ku(t.peek(1))||e==uO||e==aY)&&t.acceptToken(KV)}}),dY=new Be(t=>{if(!XQ.includes(t.peek(-1))){let{next:e}=t;if(e==sY&&(t.advance(),t.acceptToken(AQ)),Ku(e)){do t.advance();while(Ku(t.next));t.acceptToken(AQ)}}}),pY=Pt({"AtKeyword import charset namespace keyframes media supports":C.definitionKeyword,"from to selector":C.keyword,NamespaceName:C.namespace,KeyframeName:C.labelName,KeyframeRangeName:C.operatorKeyword,TagName:C.tagName,ClassName:C.className,PseudoClassName:C.constant(C.className),IdName:C.labelName,"FeatureName PropertyName":C.propertyName,AttributeName:C.attributeName,NumberLiteral:C.number,KeywordQuery:C.keyword,UnaryQueryOp:C.operatorKeyword,"CallTag ValueName":C.atom,VariableName:C.variableName,Callee:C.operatorKeyword,Unit:C.unit,"UniversalSelector NestingSelector":C.definitionOperator,MatchOp:C.compareOperator,"ChildOp SiblingOp, LogicOp":C.logicOperator,BinOp:C.arithmeticOperator,Important:C.modifier,Comment:C.blockComment,ColorLiteral:C.color,"ParenthesizedContent StringLiteral":C.string,":":C.punctuation,"PseudoOp #":C.derefOperator,"; ,":C.separator,"( )":C.paren,"[ ]":C.squareBracket,"{ }":C.brace}),OY={__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:138},mY={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},gY={__proto__:null,not:132,only:132},LQ=Wt.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#C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#b!^R!g^R!i_R#n!iS$e#m$fR%V$yV$c#m$f$yQ!rjR#v!rQdOShPwU!ldh#sR#s!nQ$P#SU$p$P$v%SQ$v$YR%S$qQ#_!ZR$W#_Q$r$PR%T$rQpUS!vp$nR$n#|Q$j#qR%P$jQ!ogS#t!o#uR#u!pQ#f!_R$^#fQ$f#mR$|$fQ$z$eR%W$z_cOPdhw!n#s^UOPdhw!n#sQ!uoQ!}tQ#OuQ#PvQ#|#RR$_#hR$Q#SQ!VZQ!d]Q#V!TQ#q!m[$O#S$P$Y$q$v%SQ$R#UQ$T#XS$h#q$jQ$m#zR%O$iR#}#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$[#dR$]#e",nodeNames:"\u26A0 Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],propSources:[pY],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![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^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^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!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[hY,dY,fY,1,2,3,4,new Vo("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>OY[t]||-1},{term:58,get:t=>mY[t]||-1},{term:101,get:t=>gY[t]||-1}],tokenPrec:1200});var Fx=null;function Hx(){if(!Fx&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let r in t)r!="cssText"&&r!="cssFloat"&&typeof t[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())),i.has(r)||(e.push(r),i.add(r)));Fx=e.sort().map(r=>({type:"property",label:r}))}return Fx||[]}var IQ=["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(t=>({type:"class",label:t})),DQ=["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(t=>({type:"keyword",label:t})).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(t=>({type:"constant",label:t}))),bY=["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(t=>({type:"type",label:t})),Yo=/^(\w[\w-]*|-\w[\w-]*|)$/,yY=/^-(-[\w-]*)?$/;function xY(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let r=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(r==null?void 0:r.name)!="Callee"?!1:e.sliceString(r.from,r.to)=="var"}var NQ=new Va,vY=["Declaration"];function wY(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function MQ(t,e,i){if(e.to-e.from>4096){let r=NQ.get(e);if(r)return r;let n=[],o=new Set,s=e.cursor(st.IncludeAnonymous);if(s.firstChild())do for(let a of MQ(t,s.node,i))o.has(a.label)||(o.add(a.label),n.push(a));while(s.nextSibling());return NQ.set(e,n),n}else{let r=[],n=new Set;return e.cursor().iterate(o=>{var s;if(i(o)&&o.matchContext(vY)&&((s=o.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let a=t.sliceString(o.from,o.to);n.has(a)||(n.add(a),r.push({label:a,type:"variable"}))}}),r}}var kY=t=>e=>{let{state:i,pos:r}=e,n=ze(i).resolveInner(r,-1),o=n.type.isError&&n.from==n.to-1&&i.doc.sliceString(n.from,n.to)=="-";if(n.name=="PropertyName"||(o||n.name=="TagName")&&/^(Block|Styles)$/.test(n.resolve(n.to).name))return{from:n.from,options:Hx(),validFor:Yo};if(n.name=="ValueName")return{from:n.from,options:DQ,validFor:Yo};if(n.name=="PseudoClassName")return{from:n.from,options:IQ,validFor:Yo};if(t(n)||(e.explicit||o)&&xY(n,i.doc))return{from:t(n)||o?n.from:r,options:MQ(i.doc,wY(n),t),validFor:yY};if(n.name=="TagName"){for(let{parent:l}=n;l;l=l.parent)if(l.name=="Block")return{from:n.from,options:Hx(),validFor:Yo};return{from:n.from,options:bY,validFor:Yo}}if(!e.explicit)return null;let s=n.resolve(r),a=s.childBefore(r);return a&&a.name==":"&&s.name=="PseudoClassSelector"?{from:r,options:IQ,validFor:Yo}:a&&a.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:r,options:DQ,validFor:Yo}:s.name=="Block"||s.name=="Styles"?{from:r,options:Hx(),validFor:Yo}:null},SY=kY(t=>t.name=="VariableName"),Ju=Yt.define({name:"css",parser:LQ.configure({props:[Ft.add({Declaration:vi()}),qt.add({"Block KeyframeList":dn})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function fO(){return new St(Ju,Ju.data.of({autocomplete:SY}))}var TY=309,UQ=1,EY=2,CY=3,PY=310,_Y=312,QY=313,AY=4,$Y=5,XY=0,Kx=[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],zQ=125,RY=59,Jx=47,LY=42,IY=43,DY=45,NY=60,MY=44,UY=new On({start:!1,shift(t,e){return e==AY||e==$Y||e==_Y?t:e==QY},strict:!1}),zY=new Be((t,e)=>{let{next:i}=t;(i==zQ||i==-1||e.context)&&t.acceptToken(PY)},{contextual:!0,fallback:!0}),jY=new Be((t,e)=>{let{next:i}=t,r;Kx.indexOf(i)>-1||i==Jx&&((r=t.peek(1))==Jx||r==LY)||i!=zQ&&i!=RY&&i!=-1&&!e.context&&t.acceptToken(TY)},{contextual:!0}),qY=new Be((t,e)=>{let{next:i}=t;if((i==IY||i==DY)&&(t.advance(),i==t.next)){t.advance();let r=!e.context&&e.canShift(UQ);t.acceptToken(r?UQ:EY)}},{contextual:!0});function Gx(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}var WY=new Be((t,e)=>{if(t.next!=NY||!e.dialectEnabled(XY)||(t.advance(),t.next==Jx))return;let i=0;for(;Kx.indexOf(t.next)>-1;)t.advance(),i++;if(Gx(t.next,!0)){for(t.advance(),i++;Gx(t.next,!1);)t.advance(),i++;for(;Kx.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==MY)return;for(let r=0;;r++){if(r==7){if(!Gx(t.next,!0))return;break}if(t.next!="extends".charCodeAt(r))break;t.advance(),i++}}t.acceptToken(CY,-i)}),BY=Pt({"get set async static":C.modifier,"for while do if else switch try catch finally return throw break continue default case":C.controlKeyword,"in of await yield void typeof delete instanceof":C.operatorKeyword,"let var const using function class extends":C.definitionKeyword,"import export from":C.moduleKeyword,"with debugger as new":C.keyword,TemplateString:C.special(C.string),super:C.atom,BooleanLiteral:C.bool,this:C.self,null:C.null,Star:C.modifier,VariableName:C.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":C.function(C.variableName),VariableDefinition:C.definition(C.variableName),Label:C.labelName,PropertyName:C.propertyName,PrivatePropertyName:C.special(C.propertyName),"CallExpression/MemberExpression/PropertyName":C.function(C.propertyName),"FunctionDeclaration/VariableDefinition":C.function(C.definition(C.variableName)),"ClassDeclaration/VariableDefinition":C.definition(C.className),PropertyDefinition:C.definition(C.propertyName),PrivatePropertyDefinition:C.definition(C.special(C.propertyName)),UpdateOp:C.updateOperator,"LineComment Hashbang":C.lineComment,BlockComment:C.blockComment,Number:C.number,String:C.string,Escape:C.escape,ArithOp:C.arithmeticOperator,LogicOp:C.logicOperator,BitOp:C.bitwiseOperator,CompareOp:C.compareOperator,RegExp:C.regexp,Equals:C.definitionOperator,Arrow:C.function(C.punctuation),": Spread":C.punctuation,"( )":C.paren,"[ ]":C.squareBracket,"{ }":C.brace,"InterpolationStart InterpolationEnd":C.special(C.brace),".":C.derefOperator,", ;":C.separator,"@":C.meta,TypeName:C.typeName,TypeDefinition:C.definition(C.typeName),"type enum interface implements namespace module declare":C.definitionKeyword,"abstract global Privacy readonly override":C.modifier,"is keyof unique infer":C.operatorKeyword,JSXAttributeValue:C.attributeValue,JSXText:C.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":C.angleBracket,"JSXIdentifier JSXNameSpacedName":C.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":C.attributeName,"JSXBuiltin/JSXIdentifier":C.standard(C.tagName)}),ZY={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},VY={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},YY={__proto__:null,"<":143},jQ=Wt.deserialize({version:14,states:"$<UO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ08SO'#ChO+RO!bO'#CiO+aO#tO'#CiO+oO?MpO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DyO0fQ^O'#EROOQ07b'#EZ'#EZO1PQWO'#EWOOQO'#El'#ElOOQO'#Ie'#IeO1XQWO'#GmO1dQWO'#EkO1iQWO'#EkO3kQ08SO'#JiO6[Q08SO'#JjO6xQWO'#FZO6}Q&jO'#FqOOQ07b'#Fc'#FcO7YO,YO'#FcO7hQ7[O'#FxO9UQWO'#FwOOQ07b'#Jj'#JjOOQ07`'#Ji'#JiO9ZQWO'#GqOOQU'#KU'#KUO9fQWO'#IRO9kQ07hO'#ISOOQU'#JW'#JWOOQU'#IW'#IWQ`Q^OOO`Q^OOO%[Q^O'#DqO9sQ^O'#D}O9zQ^O'#EPO9aQWO'#GmO:RQ7[O'#CnO:aQWO'#EjO:lQWO'#EuO:qQ7[O'#FbO;`QWO'#GmOOQO'#KV'#KVO;eQWO'#KVO;sQWO'#GuO;sQWO'#GvO;sQWO'#GxO9aQWO'#G{O<jQWO'#HOO>RQWO'#CdO>cQWO'#H[O>kQWO'#HbO>kQWO'#HdO`Q^O'#HfO>kQWO'#HhO>kQWO'#HkO>pQWO'#HqO>uQ07iO'#HwO%[Q^O'#HyO?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Q3o;YQ3t:wQ4k0aQ4s0qQ6U;ZQ6[2mQ6a2sQ6o3ZQ6p;[Q6y;^Q6z;eQ7r5WQ8a6SQ8e6]Q8n;fQ8t;oQ8u;pQ9k8gQ9{9WQ:S9iQ:e#RR<P<]R#ZWR'U!eY!tQ'Z-Y1[5]S'Q!e-QQ'f!rS'p!u!xS'r!y5_S,}'R'YS-i'g'hQ-k'iQ2b-WR2p-jR(t#wR(w#xQ!fQT-X'Z-Y]!qQ!r'Z-Y1[5]Q#o]R'd:dT#jZ%bS#iZ%bS%hm,dU(a#g#h#kS-}(b(cQ.R(dQ0c+TQ2u.OU2v.P.Q.SS6c2w2xR8h6d`#]W#V#Y%e'}(W+Q-xr#fZm#g#h#k%b(b(c(d+T.O.P.Q.S2w2x6dQ1q,dQ2X,zQ6Q2PQ8`6RT;w'S+RT#`W%eS#_W%eS(O#V(WS(T#Y+QS-P'S+RT-s'}-xT'X!e%fQ$kfR)s$pT)h$k)iR3r.zT*X$x*ZR*a${Q0g+]Q2z.ZQ5`1^Q6h3OQ7z5cQ8k6gQ9Y7yQ9l8jQ9}9[Q:V9nQ:[:OR:_:WnqOXst!Z#c%j&m&o&p&r,h,m1w1zQ&g!VR,]&dtmOXst!U!V!Z#c%j&d&m&o&p&r,h,m1w1zR,d&jT%im,dR1W+|R,[&bQ&Q|R+t&RR+j%{T&k!W&nT&l!W&nT1y,m1z",nodeNames:"\u26A0 ArithOp ArithOp JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:UY,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[BY],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$<k#p#q$=a#q#r$>q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(n%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&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z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(Z~~",141,332),new Vo("j~RQYZXz{^~^O'x~~aP!P!Qd~iO'y~~",25,315)],topRules:{Script:[0,6],SingleExpression:[1,269],SingleClassItem:[2,270]},dialects:{jsx:0,ts:14602},dynamicPrecedences:{69:1,79:1,81:1,165:1,193:1},specialized:[{term:319,get:t=>ZY[t]||-1},{term:334,get:t=>VY[t]||-1},{term:70,get:t=>YY[t]||-1}],tokenPrec:14626});var ZQ=[fi("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),fi("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),fi("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),fi("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),fi("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),fi(`try {
\${}
} catch (\${error}) {
\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),fi("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),fi(`if (\${}) {
\${}
} else {
\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),fi(`class \${name} {
constructor(\${params}) {
\${}
}
}`,{label:"class",detail:"definition",type:"keyword"}),fi('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),fi('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],FY=ZQ.concat([fi("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),fi("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),fi("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),qQ=new Va,VQ=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function ef(t){return(e,i)=>{let r=e.node.getChild("VariableDefinition");return r&&i(r,t),!0}}var HY=["FunctionDeclaration"],GY={FunctionDeclaration:ef("function"),ClassDeclaration:ef("class"),ClassExpression:()=>!0,EnumDeclaration:ef("constant"),TypeAliasDeclaration:ef("type"),NamespaceDeclaration:ef("namespace"),VariableDefinition(t,e){t.matchContext(HY)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function YQ(t,e){let i=qQ.get(e);if(i)return i;let r=[],n=!0;function o(s,a){let l=t.sliceString(s.from,s.to);r.push({label:l,type:a})}return e.cursor(st.IncludeAnonymous).iterate(s=>{if(n)n=!1;else if(s.name){let a=GY[s.name];if(a&&a(s,o)||VQ.has(s.name))return!1}else if(s.to-s.from>8192){for(let a of YQ(t,s.node))r.push(a);return!1}}),qQ.set(e,r),r}var WQ=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,FQ=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function KY(t){let e=ze(t.state).resolveInner(t.pos,-1);if(FQ.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&WQ.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let r=[];for(let n=e;n;n=n.parent)VQ.has(n.name)&&(r=r.concat(YQ(t.state.doc,n)));return{options:r,from:i?e.from:t.pos,validFor:WQ}}var Mr=Yt.define({name:"javascript",parser:jQ.configure({props:[Ft.add({IfStatement:vi({except:/^\s*({|else\b)/}),TryStatement:vi({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Bp,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),r=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:r?1:2)*t.unit},Block:tr({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":vi({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),qt.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":dn,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),HQ={test:t=>/^JSX/.test(t.name),facet:ul({commentTokens:{block:{open:"{/*",close:"*/}"}}})},ev=Mr.configure({dialect:"ts"},"typescript"),tv=Mr.configure({dialect:"jsx",props:[Wp.add(t=>t.isTop?[HQ]:void 0)]}),iv=Mr.configure({dialect:"jsx ts",props:[Wp.add(t=>t.isTop?[HQ]:void 0)]},"typescript"),GQ=t=>({label:t,type:"keyword"}),KQ="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(GQ),JY=KQ.concat(["declare","implements","private","protected","public"].map(GQ));function hO(t={}){let e=t.jsx?t.typescript?iv:tv:t.typescript?ev:Mr,i=t.typescript?FY.concat(JY):ZQ.concat(KQ);return new St(e,[Mr.data.of({autocomplete:Kp(FQ,zu(i))}),Mr.data.of({autocomplete:KY}),t.jsx?iF:[]])}function eF(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function BQ(t,e,i=t.length){for(let r=e==null?void 0:e.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return t.sliceString(r.from,Math.min(r.to,i));return""}var tF=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),iF=de.inputHandler.of((t,e,i,r,n)=>{if((tF?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||r!=">"&&r!="/"||!Mr.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c;let{head:u}=l,f=ze(s).resolveInner(u-1,-1),d;if(f.name=="JSXStartTag"&&(f=f.parent),!(s.doc.sliceString(u-1,u)!=r||f.name=="JSXAttributeValue"&&f.to>u)){if(r==">"&&f.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(r=="/"&&f.name=="JSXStartCloseTag"){let p=f.parent,g=p.parent;if(g&&p.from==u-2&&((d=BQ(s.doc,g.firstChild,u))||((c=g.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let x=`${d}>`;return{range:ee.cursor(u+x.length,-1),changes:{from:u,insert:x}}}}else if(r==">"){let p=eF(f);if(p&&p.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(s.doc.sliceString(u,u+2))&&(d=BQ(s.doc,p,u)))return{range:l,changes:{from:u,insert:`</${d}>`}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var tf=["_blank","_self","_top","_parent"],rv=["ascii","utf-8","utf-16","latin1","latin1"],nv=["get","post","put","delete"],ov=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],nr=["true","false"],Pe={},rF={a:{attrs:{href:null,ping:null,type:null,media:null,target:tf,hreflang:null}},abbr:Pe,address:Pe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Pe,aside:Pe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Pe,base:{attrs:{href:null,target:tf}},bdi:Pe,bdo:Pe,blockquote:{attrs:{cite:null}},body:Pe,br:Pe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:ov,formmethod:nv,formnovalidate:["novalidate"],formtarget:tf,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Pe,center:Pe,cite:Pe,code:Pe,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:Pe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Pe,div:Pe,dl:Pe,dt:Pe,em:Pe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Pe,figure:Pe,footer:Pe,form:{attrs:{action:null,name:null,"accept-charset":rv,autocomplete:["on","off"],enctype:ov,method:nv,novalidate:["novalidate"],target:tf}},h1:Pe,h2:Pe,h3:Pe,h4:Pe,h5:Pe,h6:Pe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Pe,hgroup:Pe,hr:Pe,html:{attrs:{manifest:null}},i:Pe,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:ov,formmethod:nv,formnovalidate:["novalidate"],formtarget:tf,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:Pe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Pe,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:Pe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:rv,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:Pe,noscript:Pe,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:Pe,param:{attrs:{name:null,value:null}},pre:Pe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Pe,rt:Pe,ruby:Pe,samp:Pe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:rv}},section:Pe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Pe,source:{attrs:{src:null,type:null,media:null}},span:Pe,strong:Pe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Pe,summary:Pe,sup:Pe,table:Pe,tbody:Pe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Pe,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:Pe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Pe,time:{attrs:{datetime:null}},title:Pe,tr:Pe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Pe,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:Pe},iA={accesskey:null,class:null,contenteditable:nr,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:nr,autocorrect:nr,autocapitalize:nr,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":nr,"aria-autocomplete":["inline","list","both","none"],"aria-busy":nr,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":nr,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":nr,"aria-hidden":nr,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":nr,"aria-multiselectable":nr,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":nr,"aria-relevant":null,"aria-required":nr,"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},rA="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(t=>"on"+t);for(let t of rA)iA[t]=null;var Ys=class{constructor(e,i){this.tags=Object.assign(Object.assign({},rF),e),this.globalAttrs=Object.assign(Object.assign({},iA),i),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};Ys.default=new Ys;function ml(t,e,i=t.length){if(!e)return"";let r=e.firstChild,n=r&&r.getChild("TagName");return n?t.sliceString(n.from,Math.min(n.to,i)):""}function gl(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function nA(t,e,i){let r=i.tags[ml(t,gl(e))];return(r==null?void 0:r.children)||i.allTags}function sv(t,e){let i=[];for(let r=gl(e);r&&!r.type.isTop;r=gl(r.parent)){let n=ml(t,r);if(n&&r.lastChild.name=="CloseTag")break;n&&i.indexOf(n)<0&&(e.name=="EndTag"||e.from>=r.firstChild.to)&&i.push(n)}return i}var oA=/^[:\-\.\w\u00b7-\uffff]*$/;function JQ(t,e,i,r,n){let o=/\s*>/.test(t.sliceDoc(n,n+5))?"":">",s=gl(i,!0);return{from:r,to:n,options:nA(t.doc,s,e).map(a=>({label:a,type:"type"})).concat(sv(t.doc,i).map((a,l)=>({label:"/"+a,apply:"/"+a+o,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function eA(t,e,i,r){let n=/\s*>/.test(t.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:sv(t.doc,e).map((o,s)=>({label:o,apply:o+n,type:"type",boost:99-s})),validFor:oA}}function nF(t,e,i,r){let n=[],o=0;for(let s of nA(t.doc,i,e))n.push({label:"<"+s,type:"type"});for(let s of sv(t.doc,i))n.push({label:"</"+s+">",type:"type",boost:99-o++});return{from:r,to:r,options:n,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function oF(t,e,i,r,n){let o=gl(i),s=o?e.tags[ml(t.doc,o)]:null,a=s&&s.attrs?Object.keys(s.attrs):[],l=s&&s.globalAttrs===!1?a:a.length?a.concat(e.globalAttrNames):e.globalAttrNames;return{from:r,to:n,options:l.map(c=>({label:c,type:"property"})),validFor:oA}}function sF(t,e,i,r,n){var o;let s=(o=i.parent)===null||o===void 0?void 0:o.getChild("AttributeName"),a=[],l;if(s){let c=t.sliceDoc(s.from,s.to),u=e.globalAttrs[c];if(!u){let f=gl(i),d=f?e.tags[ml(t.doc,f)]:null;u=(d==null?void 0:d.attrs)&&d.attrs[c]}if(u){let f=t.sliceDoc(r,n).toLowerCase(),d='"',p='"';/^['"]/.test(f)?(l=f[0]=='"'?/^[^"]*$/:/^[^']*$/,d="",p=t.sliceDoc(n,n+1)==f[0]?"":f[0],f=f.slice(1),r++):l=/^[^\s<>='"]*$/;for(let g of u)a.push({label:g,apply:d+g+p,type:"constant"})}}return{from:r,to:n,options:a,validFor:l}}function sA(t,e){let{state:i,pos:r}=e,n=ze(i).resolveInner(r,-1),o=n.resolve(r);for(let s=r,a;o==n&&(a=n.childBefore(s));){let l=a.lastChild;if(!l||!l.type.isError||l.from<l.to)break;o=n=a,s=l.from}return n.name=="TagName"?n.parent&&/CloseTag$/.test(n.parent.name)?eA(i,n,n.from,r):JQ(i,t,n,n.from,r):n.name=="StartTag"?JQ(i,t,n,r,r):n.name=="StartCloseTag"||n.name=="IncompleteCloseTag"?eA(i,n,r,r):n.name=="OpenTag"||n.name=="SelfClosingTag"||n.name=="AttributeName"?oF(i,t,n,n.name=="AttributeName"?n.from:r,r):n.name=="Is"||n.name=="AttributeValue"||n.name=="UnquotedAttributeValue"?sF(i,t,n,n.name=="Is"?r:n.from,r):e.explicit&&(o.name=="Element"||o.name=="Text"||o.name=="Document")?nF(i,t,n,r):null}function aA(t){return sA(Ys.default,t)}function aF(t){let{extraTags:e,extraGlobalAttributes:i}=t,r=i||e?new Ys(e,i):Ys.default;return n=>sA(r,n)}var lF=Mr.parser.configure({top:"SingleExpression"}),lA=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:ev.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:tv.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:iv.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:lF},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:Mr.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:Ju.parser}],cA=[{name:"style",parser:Ju.parser.configure({top:"Styles"})}].concat(rA.map(t=>({name:t,parser:Mr.parser}))),uA=Yt.define({name:"html",parser:_Q.configure({props:[Ft.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length<t.node.to)return t.continue();let e=null,i;for(let r=t.node;;){let n=r.lastChild;if(!n||n.name!="Element"||n.to!=r.to)break;e=r=n}return e&&!((i=e.lastChild)&&(i.name=="CloseTag"||i.name=="SelfClosingTag"))?t.lineIndent(e.from)+t.unit:null}}),qt.add({Element(t){let e=t.firstChild,i=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:i.name=="CloseTag"?i.from:t.to}}}),Du.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),dO=uA.configure({wrap:Yx(lA,cA)});function pO(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=Yx((t.nestedLanguages||[]).concat(lA),(t.nestedAttributes||[]).concat(cA)));let r=i?uA.configure({wrap:i,dialect:e}):e?dO.configure({dialect:e}):dO;return new St(r,[dO.data.of({autocomplete:aF(t)}),t.autoCloseTags!==!1?cF:[],hO().support,fO().support])}var tA=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),cF=de.inputHandler.of((t,e,i,r,n)=>{if(t.composing||t.state.readOnly||e!=i||r!=">"&&r!="/"||!dO.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c,u,f;let d=s.doc.sliceString(l.from-1,l.to)==r,{head:p}=l,g=ze(s).resolveInner(p,-1),x;if(d&&r==">"&&g.name=="EndTag"){let v=g.parent;if(((u=(c=v.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(x=ml(s.doc,v.parent,p))&&!tA.has(x)){let S=p+(s.doc.sliceString(p,p+1)===">"?1:0),T=`</${x}>`;return{range:l,changes:{from:p,to:S,insert:T}}}}else if(d&&r=="/"&&g.name=="IncompleteCloseTag"){let v=g.parent;if(g.from==p-2&&((f=v.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(x=ml(s.doc,v,p))&&!tA.has(x)){let S=p+(s.doc.sliceString(p,p+1)===">"?1:0),T=`${x}>`;return{range:ee.cursor(p+T.length,-1),changes:{from:p,to:S,insert:T}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var dA=ul({commentTokens:{block:{open:"<!--",close:"-->"}}}),pA=new Qe,OA=K_.configure({props:[qt.add(t=>!t.is("Block")||t.is("Document")||cv(t)!=null||uF(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),pA.add(cv),Ft.add({Document:()=>null}),Yn.add({Document:dA})]});function cv(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function uF(t){return t.name=="OrderedList"||t.name=="BulletList"}function fF(t,e){let i=t;for(;;){let r=i.nextSibling,n;if(!r||(n=cv(r.type))!=null&&n<=e)break;i=r}return i.to}var hF=Vy.of((t,e,i)=>{for(let r=ze(t).resolveInner(i,-1);r&&!(r.from<e);r=r.parent){let n=r.type.prop(pA);if(n==null)continue;let o=fF(r,n);if(o>i)return{from:i,to:o}}return null});function fv(t){return new ci(dA,t,[hF],"markdown")}var dF=fv(OA),pF=OA.configure([tQ,nQ,rQ,oQ,{props:[qt.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),OO=fv(pF);function OF(t,e){return i=>{if(i&&t){let r=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?r=t(i):r=Dt.matchLanguageName(t,i,!0),r instanceof Dt)return r.support?r.support.language.parser:js.getSkippingParser(r.load());if(r)return r.parser}return e?e.parser:null}}var bl=class{constructor(e,i,r,n,o,s,a){this.node=e,this.from=i,this.to=r,this.spaceBefore=n,this.spaceAfter=o,this.type=s,this.item=a}blank(e,i=!0){let r=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;r.length<e;)r+=" ";return r}else{for(let n=this.to-this.from-r.length-this.spaceAfter.length;n>0;n--)r+=" ";return r+(i?this.spaceAfter:"")}}marker(e,i){let r=this.node.name=="OrderedList"?String(+gA(this.item,e)[2]+i):"";return this.spaceBefore+r+this.type+this.spaceAfter}};function mA(t,e){let i=[];for(let n=t;n&&n.name!="Document";n=n.parent)(n.name=="ListItem"||n.name=="Blockquote"||n.name=="FencedCode")&&i.push(n);let r=[];for(let n=i.length-1;n>=0;n--){let o=i[n],s,a=e.lineAt(o.from),l=o.from-a.from;if(o.name=="FencedCode")r.push(new bl(o,l,l,"","","",null));else if(o.name=="Blockquote"&&(s=/^ *>( ?)/.exec(a.text.slice(l))))r.push(new bl(o,l,l+s[0].length,"",s[1],">",null));else if(o.name=="ListItem"&&o.parent.name=="OrderedList"&&(s=/^( *)\d+([.)])( *)/.exec(a.text.slice(l)))){let c=s[3],u=s[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),r.push(new bl(o.parent,l,l+u,s[1],c,s[2],o))}else if(o.name=="ListItem"&&o.parent.name=="BulletList"&&(s=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(a.text.slice(l)))){let c=s[4],u=s[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let f=s[2];s[3]&&(f+=s[3].replace(/[xX]/," ")),r.push(new bl(o.parent,l,l+u,s[1],c,f,o))}}return r}function gA(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function av(t,e,i,r=0){for(let n=-1,o=t;;){if(o.name=="ListItem"){let a=gA(o,e),l=+a[2];if(n>=0){if(l!=n+1)return;i.push({from:o.from+a[1].length,to:o.from+a[0].length,insert:String(n+2+r)})}n=l}let s=o.nextSibling;if(!s)break;o=s}}function hv(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(Nr)!=" ")return t;let r=Ai(t,4,i),n="";for(let o=r;o>0;)o>=4?(n+=" ",o-=4):(n+=" ",o--);return n+t.slice(i)}var mF=({state:t,dispatch:e})=>{let i=ze(t),{doc:r}=t,n=null,o=t.changeByRange(s=>{if(!s.empty||!OO.isActiveAt(t,s.from))return n={range:s};let a=s.from,l=r.lineAt(a),c=mA(i.resolveInner(a,-1),r);for(;c.length&&c[c.length-1].from>a-l.from;)c.pop();if(!c.length)return n={range:s};let u=c[c.length-1];if(u.to-u.spaceAfter.length>a-l.from)return n={range:s};let f=a>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&f){let v=u.node.firstChild,S=u.node.getChild("ListItem","ListItem");if(v.to>=a||S&&S.to<a||l.from>0&&!/[^\s>]/.test(r.lineAt(l.from-1).text)){let T=c.length>1?c[c.length-2]:null,$,I="";T&&T.item?($=l.from+T.from,I=T.marker(r,1)):$=l.from+(T?T.to:0);let _=[{from:$,to:a,insert:I}];return u.node.name=="OrderedList"&&av(u.item,r,_,-2),T&&T.node.name=="OrderedList"&&av(T.item,r,_),{range:ee.cursor($+I.length),changes:_}}else{let T=hA(c,t,l);return{range:ee.cursor(a+T.length+1),changes:{from:l.from,insert:T+t.lineBreak}}}}if(u.node.name=="Blockquote"&&f&&l.from){let v=r.lineAt(l.from-1),S=/>\s*$/.exec(v.text);if(S&&S.index==u.from){let T=t.changes([{from:v.from+S.index,to:v.to},{from:l.from+u.from,to:l.to}]);return{range:s.map(T),changes:T}}}let d=[];u.node.name=="OrderedList"&&av(u.item,r,d);let p=u.item&&u.item.from<l.from,g="";if(!p||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=u.to)for(let v=0,S=c.length-1;v<=S;v++)g+=v==S&&!p?c[v].marker(r,1):c[v].blank(v<S?Ai(l.text,4,c[v+1].from)-g.length:null);let x=a;for(;x>l.from&&/\s/.test(l.text.charAt(x-l.from-1));)x--;return g=hv(g,t),gF(u.node,t.doc)&&(g=hA(c,t,l)+t.lineBreak+g),d.push({from:x,to:a,insert:t.lineBreak+g}),{range:ee.cursor(x+g.length+1),changes:d}});return n?!1:(e(t.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function fA(t){return t.name=="QuoteMark"||t.name=="ListMark"}function gF(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,r=t.getChild("ListItem","ListItem");if(!r)return!1;let n=e.lineAt(i.to),o=e.lineAt(r.from),s=/^[\s>]*$/.test(n.text);return n.number+(s?0:1)<o.number}function hA(t,e,i){let r="";for(let n=0,o=t.length-2;n<=o;n++)r+=t[n].blank(n<o?Ai(i.text,4,t[n+1].from)-r.length:null,n<o);return hv(r,e)}function bF(t,e){let i=t.resolveInner(e,-1),r=e;fA(i)&&(r=i.from,i=i.parent);for(let n;n=i.childBefore(r);)if(fA(n))r=n.from;else if(n.name=="OrderedList"||n.name=="BulletList")i=n.lastChild,r=i.to;else break;return i}var yF=({state:t,dispatch:e})=>{let i=ze(t),r=null,n=t.changeByRange(o=>{let s=o.from,{doc:a}=t;if(o.empty&&OO.isActiveAt(t,o.from)){let l=a.lineAt(s),c=mA(bF(i,s),a);if(c.length){let u=c[c.length-1],f=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(s-l.from>f&&!/\S/.test(l.text.slice(f,s-l.from)))return{range:ee.cursor(l.from+f),changes:{from:l.from+f,to:s}};if(s-l.from==f&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let d=l.from+u.from;if(u.item&&u.node.from<u.item.from&&/\S/.test(l.text.slice(u.from,u.to))){let p=u.blank(Ai(l.text,4,u.to)-Ai(l.text,4,u.from));return d==l.from&&(p=hv(p,t)),{range:ee.cursor(d+p.length),changes:{from:d,to:l.from+u.to,insert:p}}}if(d<s)return{range:ee.cursor(d),changes:{from:d,to:s}}}}}return r={range:o}});return r?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"delete"})),!0)},xF=[{key:"Enter",run:mF},{key:"Backspace",run:yF}],uv=pO({matchClosingTags:!1});function bA(t={}){let{codeLanguages:e,defaultCodeLanguage:i,addKeymap:r=!0,base:{parser:n}=dF,completeHTMLTags:o=!0}=t;if(!(n instanceof Fu))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let s=t.extensions?[t.extensions]:[],a=[uv.support],l;i instanceof St?(a.push(i.support),l=i.language):i&&(l=i);let c=e||l?OF(e,l):void 0;s.push(J_({codeParser:c,htmlParser:uv.language.parser})),r&&a.push($t.high(Vt.of(xF)));let u=fv(n.configure(s));return o&&a.push(u.data.of({autocomplete:vF})),new St(u,a)}function vF(t){let{state:e,pos:i}=t,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(e.sliceDoc(i-25,i));if(!r)return null;let n=ze(e).resolveInner(i,-1);for(;n&&!n.type.isTop;){if(n.name=="CodeBlock"||n.name=="FencedCode"||n.name=="ProcessingInstructionBlock"||n.name=="CommentBlock"||n.name=="Link"||n.name=="Image")return null;n=n.parent}return{from:i-r[0].length,to:i,options:wF(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var lv=null;function wF(){if(lv)return lv;let t=aA(new hl(rt.create({extensions:uv}),0,!0));return lv=t?t.options:[]}var kF=36,yA=1,SF=2,rf=3,dv=4,TF=5,EF=6,CF=7,PF=8,_F=9,QF=10,AF=11,$F=12,XF=13,RF=14,LF=15,IF=16,DF=17,xA=18,NF=19,PA=20,_A=21,vA=22,MF=23,UF=24;function Ov(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function zF(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function Hs(t,e,i){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=i&&!r&&t.next==92,t.advance()}}function jF(t,e){e:for(;;){if(t.next<0)return console.log("exit at end",t.pos);if(t.next==36){t.advance();for(let i=0;i<e.length;i++){if(t.next!=e.charCodeAt(i))continue e;t.advance()}if(t.next==36){t.advance();return}}else t.advance()}}function qF(t,e){let i="[{<(".indexOf(String.fromCharCode(e)),r=i<0?e:"]}>)".charCodeAt(i);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function mv(t,e){for(;!(t.next!=95&&!Ov(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function WF(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),Hs(t,e,!1)}else mv(t)}function wA(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function kA(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function SA(t){for(;!(t.next<0||t.next==10);)t.advance()}function Fs(t,e){for(let i=0;i<e.length;i++)if(e.charCodeAt(i)==t)return!0;return!1}var pv=` \r
`;function QA(t,e,i){let r=Object.create(null);r.true=r.false=TF,r.null=r.unknown=EF;for(let n of t.split(" "))n&&(r[n]=PA);for(let n of e.split(" "))n&&(r[n]=_A);for(let n of(i||"").split(" "))n&&(r[n]=UF);return r}var Gs="array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ",Ks="absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ",gv={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',words:QA(Ks,Gs)};function BF(t,e,i,r){let n={};for(let o in gv)n[o]=(t.hasOwnProperty(o)?t:gv)[o];return e&&(n.words=QA(e,i||"",r)),n}function AA(t){return new Be(e=>{var i;let{next:r}=e;if(e.advance(),Fs(r,pv)){for(;Fs(e.next,pv);)e.advance();e.acceptToken(kF)}else if(r==36&&t.doubleDollarQuotedStrings){let n=mv(e,"");e.next==36&&(e.advance(),jF(e,n),e.acceptToken(rf))}else if(r==39||r==34&&t.doubleQuotedStrings)Hs(e,r,t.backslashEscapes),e.acceptToken(rf);else if(r==35&&t.hashComments||r==47&&e.next==47&&t.slashComments)SA(e),e.acceptToken(yA);else if(r==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))SA(e),e.acceptToken(yA);else if(r==47&&e.next==42){e.advance();for(let n=1;;){let o=e.next;if(e.next<0)break;if(e.advance(),o==42&&e.next==47){if(n--,e.advance(),!n)break}else o==47&&e.next==42&&(n++,e.advance())}e.acceptToken(SF)}else if((r==101||r==69)&&e.next==39)e.advance(),Hs(e,39,!0);else if((r==110||r==78)&&e.next==39&&t.charSetCasts)e.advance(),Hs(e,39,t.backslashEscapes),e.acceptToken(rf);else if(r==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),Hs(e,39,t.backslashEscapes),e.acceptToken(rf);break}if(!Ov(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(r==113||r==81)&&e.next==39&&e.peek(1)>0&&!Fs(e.peek(1),pv)){let n=e.peek(1);e.advance(2),qF(e,n),e.acceptToken(rf)}else if(r==40)e.acceptToken(CF);else if(r==41)e.acceptToken(PF);else if(r==123)e.acceptToken(_F);else if(r==125)e.acceptToken(QF);else if(r==91)e.acceptToken(AF);else if(r==93)e.acceptToken($F);else if(r==59)e.acceptToken(XF);else if(t.unquotedBitLiterals&&r==48&&e.next==98)e.advance(),wA(e),e.acceptToken(vA);else if((r==98||r==66)&&(e.next==39||e.next==34)){let n=e.next;e.advance(),t.treatBitsAsBytes?(Hs(e,n,t.backslashEscapes),e.acceptToken(MF)):(wA(e,n),e.acceptToken(vA))}else if(r==48&&(e.next==120||e.next==88)||(r==120||r==88)&&e.next==39){let n=e.next==39;for(e.advance();zF(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(dv)}else if(r==46&&e.next>=48&&e.next<=57)kA(e,!0),e.acceptToken(dv);else if(r==46)e.acceptToken(RF);else if(r>=48&&r<=57)kA(e,!1),e.acceptToken(dv);else if(Fs(r,t.operatorChars)){for(;Fs(e.next,t.operatorChars);)e.advance();e.acceptToken(LF)}else if(Fs(r,t.specialVar))e.next==r&&e.advance(),WF(e),e.acceptToken(DF);else if(Fs(r,t.identifierQuotes))Hs(e,r,!1),e.acceptToken(NF);else if(r==58||r==44)e.acceptToken(IF);else if(Ov(r)){let n=mv(e,String.fromCharCode(r));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?xA:(i=t.words[n.toLowerCase()])!==null&&i!==void 0?i:xA)}})}var $A=AA(gv),ZF=Wt.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"\u26A0 LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,$A],topRules:{Script:[0,25]},tokenPrec:0});function bv(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function nf(t,e){let i=t.sliceString(e.from,e.to),r=/^([`'"])(.*)\1$/.exec(i);return r?r[2]:i}function mO(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function VF(t,e){if(e.name=="CompositeIdentifier"){let i=[];for(let r=e.firstChild;r;r=r.nextSibling)mO(r)&&i.push(nf(t,r));return i}return[nf(t,e)]}function TA(t,e){for(let i=[];;){if(!e||e.name!=".")return i;let r=bv(e);if(!mO(r))return i;i.unshift(nf(t,r)),e=bv(r)}}function YF(t,e){let i=ze(t).resolveInner(e,-1),r=HF(t.doc,i);return i.name=="Identifier"||i.name=="QuotedIdentifier"||i.name=="Keyword"?{from:i.from,quoted:i.name=="QuotedIdentifier"?t.doc.sliceString(i.from,i.from+1):null,parents:TA(t.doc,bv(i)),aliases:r}:i.name=="."?{from:e,quoted:null,parents:TA(t.doc,i),aliases:r}:{from:e,quoted:null,parents:[],empty:!0,aliases:r}}var FF=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function HF(t,e){let i;for(let n=e;!i;n=n.parent){if(!n)return null;n.name=="Statement"&&(i=n)}let r=null;for(let n=i.firstChild,o=!1,s=null;n;n=n.nextSibling){let a=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,l=null;if(!o)o=a=="from";else if(a=="as"&&s&&mO(n.nextSibling))l=nf(t,n.nextSibling);else{if(a&&FF.has(a))break;s&&mO(n)&&(l=nf(t,n))}l&&(r||(r=Object.create(null)),r[l]=VF(t,s)),s=/Identifier$/.test(n.name)?n:null}return r}function GF(t,e){return t?e.map(i=>Object.assign(Object.assign({},i),{label:i.label[0]==t?i.label:t+i.label+t,apply:void 0})):e}var KF=/^\w*$/,JF=/^[`'"]?\w*[`'"]?$/;function EA(t){return t.self&&typeof t.self.label=="string"}var yv=class t{constructor(e){this.idQuote=e,this.list=[],this.children=void 0}child(e){let i=this.children||(this.children=Object.create(null)),r=i[e];return r||(e&&!this.list.some(n=>n.label==e)&&this.list.push(CA(e,"type",this.idQuote)),i[e]=new t(this.idQuote))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let i=this.list.findIndex(r=>r.label==e.label);i>-1?this.list[i]=e:this.list.push(e)}addCompletions(e){for(let i of e)this.addCompletion(typeof i=="string"?CA(i,"property",this.idQuote):i)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):EA(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let i of Object.keys(e)){let r=e[i],n=null,o=i.replace(/\\?\./g,a=>a=="."?"\0":a).split("\0"),s=this;EA(r)&&(n=r.self,r=r.children);for(let a=0;a<o.length;a++)n&&a==o.length-1&&s.addCompletion(n),s=s.child(o[a].replace(/\\\./g,"."));s.addNamespace(r)}}};function CA(t,e,i){return/^[a-z_][a-z_\d]*$/.test(t)?{label:t,type:e}:{label:t,type:e,apply:i+t+i}}function eH(t,e,i,r,n,o){var s;let a=((s=o==null?void 0:o.spec.identifierQuotes)===null||s===void 0?void 0:s[0])||'"',l=new yv(a),c=n?l.child(n):null;return l.addNamespace(t),e&&(c||l).addCompletions(e),i&&l.addCompletions(i),c&&l.addCompletions(c.list),r&&l.addCompletions((c||l).child(r).list),u=>{let{parents:f,from:d,quoted:p,empty:g,aliases:x}=YF(u.state,u.pos);if(g&&!u.explicit)return null;x&&f.length==1&&(f=x[f[0]]||f);let v=l;for(let $ of f){for(;!v.children||!v.children[$];)if(v==l&&c)v=c;else if(v==c&&r)v=v.child(r);else return null;let I=v.maybeChild($);if(!I)return null;v=I}let S=p&&u.state.sliceDoc(u.pos,u.pos+1)==p,T=v.list;return v==l&&x&&(T=T.concat(Object.keys(x).map($=>({label:$,type:"constant"})))),{from:d,to:S?u.pos+1:void 0,options:GF(p,T),validFor:p?JF:KF}}}function tH(t,e){let i=Object.keys(t).map(r=>({label:e?r.toUpperCase():r,type:t[r]==_A?"type":t[r]==PA?"keyword":"variable",boost:-1}));return Kp(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],zu(i))}var iH=ZF.configure({props:[Ft.add({Statement:vi()}),qt.add({Statement(t,e){return{from:Math.min(t.from+100,e.doc.lineAt(t.from).to),to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),Pt({Keyword:C.keyword,Type:C.typeName,Builtin:C.standard(C.name),Bits:C.number,Bytes:C.string,Bool:C.bool,Null:C.null,Number:C.number,String:C.string,Identifier:C.name,QuotedIdentifier:C.special(C.string),SpecialVar:C.special(C.name),LineComment:C.lineComment,BlockComment:C.blockComment,Operator:C.operator,"Semi Punctuation":C.punctuation,"( )":C.paren,"{ }":C.brace,"[ ]":C.squareBracket})]}),mn=class t{constructor(e,i,r){this.dialect=e,this.language=i,this.spec=r}get extension(){return this.language.extension}static define(e){let i=BF(e,e.keywords,e.types,e.builtin),r=Yt.define({name:"sql",parser:iH.configure({tokenizers:[{from:$A,to:AA(i)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new t(i,r,e)}};function rH(t,e=!1){return tH(t.dialect.words,e)}function nH(t,e=!1){return t.language.data.of({autocomplete:rH(t,e)})}function oH(t){return t.schema?eH(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||xv):()=>null}function sH(t){return t.schema?(t.dialect||xv).language.data.of({autocomplete:oH(t)}):[]}function XA(t={}){let e=t.dialect||xv;return new St(e.language,[sH(t),nH(e,!!t.upperCaseKeywords)])}var xv=mn.define({}),uve=mn.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:Ks+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:Gs+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),RA="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",LA=Gs+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",IA="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",fve=mn.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:Ks+"group_concat "+RA,types:LA,builtin:IA}),hve=mn.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:Ks+"always generated groupby_concat hard persistent shutdown soft virtual "+RA,types:LA,builtin:IA}),dve=mn.define({keywords:Ks+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:Gs+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),pve=mn.define({keywords:Ks+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:Gs+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),Ove=mn.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:Gs+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),mve=mn.define({keywords:Ks+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:Gs+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});var aH=Pt({String:C.string,Number:C.number,"True False":C.bool,PropertyName:C.propertyName,Null:C.null,",":C.separator,"[ ]":C.squareBracket,"{ }":C.brace}),DA=Wt.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[aH],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var lH=Yt.define({name:"json",parser:DA.configure({props:[Ft.add({Object:vi({except:/^\s*\}/}),Array:vi({except:/^\s*\]/})}),qt.add({"Object Array":dn})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function NA(){return new St(lH)}var vv=1,cH=2,uH=3,fH=4,hH=5,dH=35,pH=36,OH=37,mH=11,gH=13;function bH(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function yH(t){return t==9||t==10||t==13||t==32}var MA=null,UA=null,zA=0;function wv(t,e){let i=t.pos+e;if(UA==t&&zA==i)return MA;for(;yH(t.peek(e));)e++;let r="";for(;;){let n=t.peek(e);if(!bH(n))break;r+=String.fromCharCode(n),e++}return UA=t,zA=i,MA=r||null}function jA(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i<t.length;i++)this.hash+=(this.hash<<4)+t.charCodeAt(i)+(t.charCodeAt(i)<<8)}var xH=new On({start:null,shift(t,e,i,r){return e==vv?new jA(wv(r,1)||"",t):t},reduce(t,e){return e==mH&&t?t.parent:t},reuse(t,e,i,r){let n=e.type.id;return n==vv||n==gH?new jA(wv(r,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),vH=new Be((t,e)=>{if(t.next==60){if(t.advance(),t.next==47){t.advance();let i=wv(t,0);if(!i)return t.acceptToken(hH);if(e.context&&i==e.context.name)return t.acceptToken(cH);for(let r=e.context;r;r=r.parent)if(r.name==i)return t.acceptToken(uH,-2);t.acceptToken(fH)}else if(t.next!=33&&t.next!=63)return t.acceptToken(vv)}},{contextual:!0});function kv(t,e){return new Be(i=>{let r=0,n=e.charCodeAt(0);e:for(;!(i.next<0);i.advance(),r++)if(i.next==n){for(let o=1;o<e.length;o++)if(i.peek(o)!=e.charCodeAt(o))continue e;break}r&&i.acceptToken(t)})}var wH=kv(dH,"-->"),kH=kv(pH,"?>"),SH=kv(OH,"]]>"),TH=Pt({Text:C.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":C.angleBracket,TagName:C.tagName,"MismatchedCloseTag/Tagname":[C.tagName,C.invalid],AttributeName:C.attributeName,AttributeValue:C.attributeValue,Is:C.definitionOperator,"EntityReference CharacterReference":C.character,Comment:C.blockComment,ProcessingInst:C.processingInstruction,DoctypeDecl:C.documentMeta,Cdata:C.special(C.string)}),qA=Wt.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G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YbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"\u26A0 StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:xH,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[TH],skippedNodes:[0],repeatNodeCount:8,tokenData:"Jy~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O,^!O!P$n!P!Q.m!Q![$n![!]0V!]!^$n!^!_3h!_!`El!`!aF_!a!bGQ!b!c$n!c!}0V!}#P$n#P#QHj#Q#R$n#R#S0V#S#T$n#T#o0V#o%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U$n4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V$Ib$Kh$n$Kh%#t0V%#t&/x$n&/x&Et0V&Et&FV$n&FV;'S0V;'S;:j3b;:j;=`&e<%l?&r$n?&r?Ah0V?Ah?BY$n?BY?Mn0V?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv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,i.to):""}function Sv(t,e){let i=e&&e.firstChild;return!i||i.name!="OpenTag"?"":gO(t,i)}function EH(t,e,i){let r=e&&e.getChildren("Attribute").find(o=>o.from<=i&&o.to>=i),n=r&&r.getChild("AttributeName");return n?t.sliceString(n.from,n.to):""}function Tv(t){for(let e=t&&t.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function CH(t,e){var i;let r=ze(t).resolveInner(e,-1),n=null;for(let o=r;!n&&o.parent;o=o.parent)(o.name=="OpenTag"||o.name=="CloseTag"||o.name=="SelfClosingTag"||o.name=="MismatchedCloseTag")&&(n=o);if(n&&(n.to>e||n.lastChild.type.isError)){let o=n.parent;if(r.name=="TagName")return n.name=="CloseTag"||n.name=="MismatchedCloseTag"?{type:"closeTag",from:r.from,context:o}:{type:"openTag",from:r.from,context:Tv(o)};if(r.name=="AttributeName")return{type:"attrName",from:r.from,context:n};if(r.name=="AttributeValue")return{type:"attrValue",from:r.from,context:n};let s=r==n||r.name=="Attribute"?r.childBefore(e):r;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:e,context:Tv(o)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=e?{type:"closeTag",from:e,context:o}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:e,context:n}:s?{type:"attrName",from:e,context:n}:null}else if(r.name=="StartCloseTag")return{type:"closeTag",from:e,context:r.parent};for(;r.parent&&r.to==e&&!(!((i=r.lastChild)===null||i===void 0)&&i.type.isError);)r=r.parent;return r.name=="Element"||r.name=="Text"||r.name=="Document"?{type:"tag",from:e,context:r.name=="Element"?r:Tv(r)}:null}var Cv=class{constructor(e,i,r){this.attrs=i,this.attrValues=r,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(n=>({label:n,type:"text"})):[]}},Ev=/^[:\-\.\w\u00b7-\uffff]*$/;function WA(t){return Object.assign(Object.assign({type:"property"},t.completion||{}),{label:t.name})}function BA(t){return typeof t=="string"?{label:`"${t}"`,type:"constant"}:/^"/.test(t.label)?t:Object.assign(Object.assign({},t),{label:`"${t.label}"`})}function PH(t,e){let i=[],r=[],n=Object.create(null);for(let l of e){let c=WA(l);i.push(c),l.global&&r.push(c),l.values&&(n[l.name]=l.values.map(BA))}let o=[],s=[],a=Object.create(null);for(let l of t){let c=r,u=n;l.attributes&&(c=c.concat(l.attributes.map(d=>typeof d=="string"?i.find(p=>p.label==d)||{label:d,type:"property"}:(d.values&&(u==n&&(u=Object.create(u)),u[d.name]=d.values.map(BA)),WA(d)))));let f=new Cv(l,c,u);a[f.name]=f,o.push(f),l.top&&s.push(f)}s.length||(s=o);for(let l=0;l<o.length;l++){let c=t[l],u=o[l];if(c.children)for(let f of c.children)a[f]&&u.children.push(a[f]);else u.children=o}return l=>{var c;let{doc:u}=l.state,f=CH(l.state,l.pos);if(!f||f.type=="tag"&&!l.explicit)return null;let{type:d,from:p,context:g}=f;if(d=="openTag"){let x=s,v=Sv(u,g);if(v){let S=a[v];x=(S==null?void 0:S.children)||o}return{from:p,options:x.map(S=>S.completion),validFor:Ev}}else if(d=="closeTag"){let x=Sv(u,g);return x?{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=a[x])===null||c===void 0?void 0:c.closeNameCompletion)||{label:x+">",type:"type"}],validFor:Ev}:null}else if(d=="attrName"){let x=a[gO(u,g)];return{from:p,options:(x==null?void 0:x.attrs)||r,validFor:Ev}}else if(d=="attrValue"){let x=EH(u,g,p);if(!x)return null;let v=a[gO(u,g)],S=((v==null?void 0:v.attrValues)||n)[x];return!S||!S.length?null:{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:S,validFor:/^"[^"]*"?$/}}else if(d=="tag"){let x=Sv(u,g),v=a[x],S=[],T=g&&g.lastChild;x&&(!T||T.name!="CloseTag"||gO(u,T)!=x)&&S.push(v?v.closeCompletion:{label:"</"+x+">",type:"type",boost:2});let $=S.concat(((v==null?void 0:v.children)||(g?o:s)).map(I=>I.openCompletion));if(g&&(v!=null&&v.text.length)){let I=g.firstChild;I.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(I.to,l.pos))&&($=$.concat(v.text))}return{from:p,options:$,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}var Pv=Yt.define({name:"xml",parser:qA.configure({props:[Ft.add({Element(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),qt.add({Element(t){let e=t.firstChild,i=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:i.name=="CloseTag"?i.from:t.to}}}),Du.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function VA(t={}){let e=[Pv.data.of({autocomplete:PH(t.elements||[],t.attributes||[])})];return t.autoCloseTags!==!1&&e.push(_H),new St(Pv,e)}function ZA(t,e,i=t.length){if(!e)return"";let r=e.firstChild,n=r&&r.getChild("TagName");return n?t.sliceString(n.from,Math.min(n.to,i)):""}var _H=de.inputHandler.of((t,e,i,r,n)=>{if(t.composing||t.state.readOnly||e!=i||r!=">"&&r!="/"||!Pv.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c,u,f;let{head:d}=l,p=s.doc.sliceString(d-1,d)==r,g=ze(s).resolveInner(d,-1),x;if(p&&r==">"&&g.name=="EndTag"){let v=g.parent;if(((u=(c=v.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(x=ZA(s.doc,v.parent,d))){let S=d+(s.doc.sliceString(d,d+1)===">"?1:0),T=`</${x}>`;return{range:l,changes:{from:d,to:S,insert:T}}}}else if(p&&r=="/"&&g.name=="StartCloseTag"){let v=g.parent;if(g.from==d-2&&((f=v.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(x=ZA(s.doc,v,d))){let S=d+(s.doc.sliceString(d,d+1)===">"?1:0),T=`${x}>`;return{range:ee.cursor(d+T.length,-1),changes:{from:d,to:S,insert:T}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var yl=63,YA=64,QH=1,AH=2,GA=3,$H=4,KA=5,XH=6,RH=7,JA=65,LH=66,IH=8,DH=9,NH=10,MH=11,UH=12,e$=13,zH=19,jH=20,qH=29,WH=33,BH=34,ZH=47,VH=0,Rv=1,Qv=2,sf=3,Av=4,Kn=class{constructor(e,i,r){this.parent=e,this.depth=i,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+i+(i<<4)+r}};Kn.top=new Kn(null,-1,VH);function of(t,e){for(let i=0,r=e-t.pos-1;;r--,i++){let n=t.peek(r);if(Jn(n)||n==-1)return i}}function $v(t){return t==32||t==9}function Jn(t){return t==10||t==13}function t$(t){return $v(t)||Jn(t)}function Js(t){return t<0||t$(t)}var YH=new On({start:Kn.top,reduce(t,e){return t.type==sf&&(e==jH||e==BH)?t.parent:t},shift(t,e,i,r){if(e==GA)return new Kn(t,of(r,r.pos),Rv);if(e==JA||e==KA)return new Kn(t,of(r,r.pos),Qv);if(e==yl)return t.parent;if(e==zH||e==WH)return new Kn(t,0,sf);if(e==e$&&t.type==Av)return t.parent;if(e==ZH){let n=/[1-9]/.exec(r.read(r.pos,i.pos));if(n)return new Kn(t,t.depth+ +n[0],Av)}return t},hash(t){return t.hash}});function xl(t,e,i=0){return t.peek(i)==e&&t.peek(i+1)==e&&t.peek(i+2)==e&&Js(t.peek(i+3))}var FH=new Be((t,e)=>{if(t.next==-1&&e.canShift(YA))return t.acceptToken(YA);let i=t.peek(-1);if((Jn(i)||i<0)&&e.context.type!=sf){if(xl(t,45))if(e.canShift(yl))t.acceptToken(yl);else return t.acceptToken(QH,3);if(xl(t,46))if(e.canShift(yl))t.acceptToken(yl);else return t.acceptToken(AH,3);let r=0;for(;t.next==32;)r++,t.advance();(r<e.context.depth||r==e.context.depth&&e.context.type==Rv&&(t.next!=45||!Js(t.peek(1))))&&t.next!=-1&&!Jn(t.next)&&t.next!=35&&t.acceptToken(yl,-r)}},{contextual:!0}),HH=new Be((t,e)=>{if(e.context.type==sf){t.next==63&&(t.advance(),Js(t.next)&&t.acceptToken(RH));return}if(t.next==45)t.advance(),Js(t.next)&&t.acceptToken(e.context.type==Rv&&e.context.depth==of(t,t.pos-1)?$H:GA);else if(t.next==63)t.advance(),Js(t.next)&&t.acceptToken(e.context.type==Qv&&e.context.depth==of(t,t.pos-1)?XH:KA);else{let i=t.pos;for(;;)if($v(t.next)){if(t.pos==i)return;t.advance()}else if(t.next==33)i$(t);else if(t.next==38)Xv(t);else if(t.next==42){Xv(t);break}else if(t.next==39||t.next==34){if(Lv(t,!0))break;return}else if(t.next==91||t.next==123){if(!KH(t))return;break}else{r$(t,!0,!1,0);break}for(;$v(t.next);)t.advance();if(t.next==58){if(t.pos==i&&e.canShift(qH))return;let r=t.peek(1);Js(r)&&t.acceptTokenTo(e.context.type==Qv&&e.context.depth==of(t,i)?LH:JA,i)}}},{contextual:!0});function GH(t){return t>32&&t<127&&t!=34&&t!=37&&t!=44&&t!=60&&t!=62&&t!=92&&t!=94&&t!=96&&t!=123&&t!=124&&t!=125}function FA(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function HA(t,e){return t.next==37?(t.advance(),FA(t.next)&&t.advance(),FA(t.next)&&t.advance(),!0):GH(t.next)||e&&t.next==44?(t.advance(),!0):!1}function i$(t){if(t.advance(),t.next==60){for(t.advance();;)if(!HA(t,!0)){t.next==62&&t.advance();break}}else for(;HA(t,!1););}function Xv(t){for(t.advance();!Js(t.next)&&bO(t.tag)!="f";)t.advance()}function Lv(t,e){let i=t.next,r=!1,n=t.pos;for(t.advance();;){let o=t.next;if(o<0)break;if(t.advance(),o==i)if(o==39)if(t.next==39)t.advance();else break;else break;else if(o==92&&i==34)t.next>=0&&t.advance();else if(Jn(o)){if(e)return!1;r=!0}else if(e&&t.pos>=n+1024)return!1}return!r}function KH(t){for(let e=[],i=t.pos+1024;;)if(t.next==91||t.next==123)e.push(t.next),t.advance();else if(t.next==39||t.next==34){if(!Lv(t,!0))return!1}else if(t.next==93||t.next==125){if(e[e.length-1]!=t.next-2)return!1;if(e.pop(),t.advance(),!e.length)return!0}else{if(t.next<0||t.pos>i||Jn(t.next))return!1;t.advance()}}var JH="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function bO(t){return t<33?"u":t>125?"s":JH[t-33]}function _v(t,e){let i=bO(t);return i!="u"&&!(e&&i=="f")}function r$(t,e,i,r){if(bO(t.next)=="s"||(t.next==63||t.next==58||t.next==45)&&_v(t.peek(1),i))t.advance();else return!1;let n=t.pos;for(;;){let o=t.next,s=0,a=r+1;for(;t$(o);){if(Jn(o)){if(e)return!1;a=0}else a++;o=t.peek(++s)}if(!(o>=0&&(o==58?_v(t.peek(s+1),i):o==35?t.peek(s-1)!=32:_v(o,i)))||!i&&a<=r||a==0&&!i&&(xl(t,45,s)||xl(t,46,s)))break;if(e&&bO(o)=="f")return!1;for(let c=s;c>=0;c--)t.advance();if(e&&t.pos>n+1024)return!1}return!0}var eG=new Be((t,e)=>{if(t.next==33)i$(t),t.acceptToken(UH);else if(t.next==38||t.next==42){let i=t.next==38?NH:MH;Xv(t),t.acceptToken(i)}else t.next==39||t.next==34?(Lv(t,!1),t.acceptToken(DH)):r$(t,!1,e.context.type==sf,e.context.depth)&&t.acceptToken(IH)}),tG=new Be((t,e)=>{let i=e.context.type==Av?e.context.depth:-1,r=t.pos;e:for(;;){let n=0,o=t.next;for(;o==32;)o=t.peek(++n);if(!n&&(xl(t,45,n)||xl(t,46,n))||!Jn(o)&&(i<0&&(i=Math.max(e.context.depth+1,n)),n<i))break;for(;;){if(t.next<0)break e;let s=Jn(t.next);if(t.advance(),s)continue e;r=t.pos}}t.acceptTokenTo(e$,r)}),iG=Pt({DirectiveName:C.keyword,DirectiveContent:C.attributeValue,"DirectiveEnd DocEnd":C.meta,QuotedLiteral:C.string,BlockLiteralHeader:C.special(C.string),BlockLiteralContent:C.content,Literal:C.content,"Key/Literal Key/QuotedLiteral":C.definition(C.propertyName),"Anchor Alias":C.labelName,Tag:C.typeName,Comment:C.lineComment,": , -":C.separator,"?":C.punctuation,"[ ]":C.squareBracket,"{ }":C.brace}),n$=Wt.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59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[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"\u26A0 DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:YH,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[iG],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[FH,HH,eG,tG,0,1],topRules:{Stream:[0,15]},tokenPrec:0});var rG=Wt.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"\u26A0 Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),nG=Yt.define({name:"yaml",parser:n$.configure({props:[Ft.add({Stream:t=>{for(let e=t.node.resolve(t.pos,-1);e&&e.to>=t.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.from<e.to)return t.baseIndentFor(e);if(e.name=="BlockLiteral")return t.baseIndentFor(e)+t.unit;if(e.name=="BlockSequence"||e.name=="BlockMapping")return t.column(e.from,1);if(e.name=="QuotedLiteral")return null;if(e.name=="Literal"){let i=t.column(e.from,1);if(i==t.lineIndent(e.from,1))return i;if(e.to>t.pos)return null}}return null},FlowMapping:tr({closing:"}"}),FlowSequence:tr({closing:"]"})}),qt.add({"FlowMapping FlowSequence":dn,"BlockSequence Pair BlockLiteral":(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function o$(){return new St(nG)}var Uve=Yt.define({name:"yaml-frontmatter",parser:rG.configure({props:[Pt({DashLine:C.meta})]})});var oG=["-type","-spec","-export_type","-opaque"],sG=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],aG=/[\->,;]/,lG=["->",";",","],cG=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],uG=/[\+\-\*\/<>=\|:!]/,fG=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],hG=/[<\(\[\{]/,Dv=["<<","(","[","{"],dG=/[>\)\]\}]/,u$=["}","]",")",">>"],pG=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],OG=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],yO=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,mG=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function gG(t,e){if(e.in_string)return e.in_string=!l$(t),tt(e,t,"string");if(e.in_atom)return e.in_atom=!c$(t),tt(e,t,"atom");if(t.eatSpace())return tt(e,t,"whitespace");if(!af(e)&&t.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return wi(t.current(),oG)?tt(e,t,"type"):tt(e,t,"attribute");var i=t.next();if(i=="%")return t.skipToEnd(),tt(e,t,"comment");if(i==":")return tt(e,t,"colon");if(i=="?")return t.eatSpace(),t.eatWhile(yO),tt(e,t,"macro");if(i=="#")return t.eatSpace(),t.eatWhile(yO),tt(e,t,"record");if(i=="$")return t.next()=="\\"&&!t.match(mG)?tt(e,t,"error"):tt(e,t,"number");if(i==".")return tt(e,t,"dot");if(i=="'"){if(!(e.in_atom=!c$(t))){if(t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),tt(e,t,"fun");if(t.match(/\s*\(/,!1)||t.match(/\s*:/,!1))return tt(e,t,"function")}return tt(e,t,"atom")}if(i=='"')return e.in_string=!l$(t),tt(e,t,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(i))return t.eatWhile(yO),tt(e,t,"variable");if(/[a-z_ß-öø-ÿ]/.test(i)){if(t.eatWhile(yO),t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),tt(e,t,"fun");var r=t.current();return wi(r,sG)?tt(e,t,"keyword"):wi(r,cG)?tt(e,t,"operator"):t.match(/\s*\(/,!1)?wi(r,OG)&&(af(e).token!=":"||af(e,2).token=="erlang")?tt(e,t,"builtin"):wi(r,pG)?tt(e,t,"guard"):tt(e,t,"function"):bG(t)==":"?r=="erlang"?tt(e,t,"builtin"):tt(e,t,"function"):wi(r,["true","false"])?tt(e,t,"boolean"):tt(e,t,"atom")}var n=/[0-9]/,o=/[0-9a-zA-Z]/;return n.test(i)?(t.eatWhile(n),t.eat("#")?t.eatWhile(o)||t.backUp(1):t.eat(".")&&(t.eatWhile(n)?t.eat(/[eE]/)&&(t.eat(/[-+]/)?t.eatWhile(n)||t.backUp(2):t.eatWhile(n)||t.backUp(1)):t.backUp(1)),tt(e,t,"number")):s$(t,hG,Dv)?tt(e,t,"open_paren"):s$(t,dG,u$)?tt(e,t,"close_paren"):a$(t,aG,lG)?tt(e,t,"separator"):a$(t,uG,fG)?tt(e,t,"operator"):tt(e,t,null)}function s$(t,e,i){if(t.current().length==1&&e.test(t.current())){for(t.backUp(1);e.test(t.peek());)if(t.next(),wi(t.current(),i))return!0;t.backUp(t.current().length-1)}return!1}function a$(t,e,i){if(t.current().length==1&&e.test(t.current())){for(;e.test(t.peek());)t.next();for(;0<t.current().length;){if(wi(t.current(),i))return!0;t.backUp(1)}t.next()}return!1}function l$(t){return f$(t,'"',"\\")}function c$(t){return f$(t,"'","\\")}function f$(t,e,i){for(;!t.eol();){var r=t.next();if(r==e)return!0;r==i&&t.next()}return!1}function bG(t){var e=t.match(/^\s*([^\s%])/,!1);return e?e[1]:""}function wi(t,e){return-1<e.indexOf(t)}function tt(t,e,i){switch(vG(t,yG(i,e)),i){case"atom":return"atom";case"attribute":return"attribute";case"boolean":return"atom";case"builtin":return"builtin";case"close_paren":return null;case"colon":return null;case"comment":return"comment";case"dot":return null;case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"macroName";case"number":return"number";case"open_paren":return null;case"operator":return"operator";case"record":return"bracket";case"separator":return null;case"string":return"string";case"type":return"def";case"variable":return"variable";default:return null}}function h$(t,e,i,r){return{token:t,column:e,indent:i,type:r}}function yG(t,e){return h$(e.current(),e.column(),e.indentation(),t)}function xG(t){return h$(t,0,0,t)}function af(t,e){var i=t.tokenStack.length,r=e||1;return i<r?!1:t.tokenStack[i-r]}function vG(t,e){e.type=="comment"||e.type=="whitespace"||(t.tokenStack=wG(t.tokenStack,e),t.tokenStack=kG(t.tokenStack))}function wG(t,e){var i=t.length-1;return 0<i&&t[i].type==="record"&&e.type==="dot"?t.pop():(0<i&&t[i].type==="group"&&t.pop(),t.push(e)),t}function kG(t){if(!t.length)return t;var e=t.length-1;if(t[e].type==="dot")return[];if(e>1&&t[e].type==="fun"&&t[e-1].token==="fun")return t.slice(0,e-1);switch(t[e].token){case"}":return Ur(t,{g:["{"]});case"]":return Ur(t,{i:["["]});case")":return Ur(t,{i:["("]});case">>":return Ur(t,{i:["<<"]});case"end":return Ur(t,{i:["begin","case","fun","if","receive","try"]});case",":return Ur(t,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return Ur(t,{r:["when"],m:["try","if","case","receive"]});case";":return Ur(t,{E:["case","fun","if","receive","try","when"]});case"catch":return Ur(t,{e:["try"]});case"of":return Ur(t,{e:["case"]});case"after":return Ur(t,{e:["receive","try"]});default:return t}}function Ur(t,e){for(var i in e)for(var r=t.length-1,n=e[i],o=r-1;-1<o;o--)if(wi(t[o].token,n)){var s=t.slice(0,o);switch(i){case"m":return s.concat(t[o]).concat(t[r]);case"r":return s.concat(t[r]);case"i":return s;case"g":return s.concat(xG("group"));case"E":return s.concat(t[o]);case"e":return s.concat(t[o])}}return i=="E"?[]:t}function SG(t,e,i){var r,n=TG(e),o=af(t,1),s=af(t,2);return t.in_string||t.in_atom?null:s?o.token=="when"?o.column+i.unit:n==="when"&&s.type==="function"?s.indent+i.unit:n==="("&&o.token==="fun"?o.column+3:n==="catch"&&(r=Iv(t,["try"]))?r.column:wi(n,["end","after","of"])?(r=Iv(t,["begin","case","fun","if","receive","try"]),r?r.column:null):wi(n,u$)?(r=Iv(t,Dv),r?r.column:null):wi(o.token,[",","|","||"])||wi(n,[",","|","||"])?(r=EG(t),r?r.column+r.token.length:i.unit):o.token=="->"?wi(s.token,["receive","case","if","try"])?s.column+i.unit+i.unit:s.column+i.unit:wi(o.token,Dv)?o.column+o.token.length:(r=CG(t),ea(r)?r.column+i.unit:0):0}function TG(t){var e=t.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return ea(e)&&e.index===0?e[0]:""}function EG(t){var e=t.tokenStack.slice(0,-1),i=xO(e,"type",["open_paren"]);return ea(e[i])?e[i]:!1}function CG(t){var e=t.tokenStack,i=xO(e,"type",["open_paren","separator","keyword"]),r=xO(e,"type",["operator"]);return ea(i)&&ea(r)&&i<r?e[i+1]:ea(i)?e[i]:!1}function Iv(t,e){var i=t.tokenStack,r=xO(i,"token",e);return ea(i[r])?i[r]:!1}function xO(t,e,i){for(var r=t.length-1;-1<r;r--)if(wi(t[r][e],i))return r;return!1}function ea(t){return t!==!1&&t!=null}var d$={name:"erlang",startState(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:gG,indent:SG,languageData:{commentTokens:{line:"%"}}};function p$(t){O$(t,"start");var e={},i=t.languageData||{},r=!1;for(var n in t)if(n!=i&&t.hasOwnProperty(n))for(var o=e[n]=[],s=t[n],a=0;a<s.length;a++){var l=s[a];o.push(new QG(l,t)),(l.indent||l.dedent)&&(r=!0)}return{name:i.name,startState:function(){return{state:"start",pending:null,indent:r?[]:null}},copyState:function(c){var u={state:c.state,pending:c.pending,indent:c.indent&&c.indent.slice(0)};return c.stack&&(u.stack=c.stack.slice(0)),u},token:AG(e),indent:$G(e,i),languageData:i}}function O$(t,e){if(!t.hasOwnProperty(e))throw new Error("Undefined state "+e+" in simple mode")}function PG(t,e){if(!t)return/(?:)/;var i="";return t instanceof RegExp?(t.ignoreCase&&(i="i"),t=t.source):t=String(t),new RegExp((e===!1?"":"^")+"(?:"+t+")",i)}function _G(t){if(!t)return null;if(t.apply)return t;if(typeof t=="string")return t.replace(/\./g," ");for(var e=[],i=0;i<t.length;i++)e.push(t[i]&&t[i].replace(/\./g," "));return e}function QG(t,e){(t.next||t.push)&&O$(e,t.next||t.push),this.regex=PG(t.regex),this.token=_G(t.token),this.data=t}function AG(t){return function(e,i){if(i.pending){var r=i.pending.shift();return i.pending.length==0&&(i.pending=null),e.pos+=r.text.length,r.token}for(var n=t[i.state],o=0;o<n.length;o++){var s=n[o],a=(!s.data.sol||e.sol())&&e.match(s.regex);if(a){s.data.next?i.state=s.data.next:s.data.push?((i.stack||(i.stack=[])).push(i.state),i.state=s.data.push):s.data.pop&&i.stack&&i.stack.length&&(i.state=i.stack.pop()),s.data.indent&&i.indent.push(e.indentation()+e.indentUnit),s.data.dedent&&i.indent.pop();var l=s.token;if(l&&l.apply&&(l=l(a)),a.length>2&&s.token&&typeof s.token!="string"){i.pending=[];for(var c=2;c<a.length;c++)a[c]&&i.pending.push({text:a[c],token:s.token[c-1]});return e.backUp(a[0].length-(a[1]?a[1].length:0)),l[0]}else return l&&l.join?l[0]:l}}return e.next(),null}}function $G(t,e){return function(i,r){if(i.indent==null||e.dontIndentStates&&e.doneIndentState.indexOf(i.state)>-1)return null;var n=i.indent.length-1,o=t[i.state];e:for(;;){for(var s=0;s<o.length;s++){var a=o[s];if(a.data.dedent&&a.data.dedentIfLineStart!==!1){var l=a.regex.exec(r);if(l&&l[0]){n--,(a.next||a.push)&&(o=t[a.next||a.push]),r=r.slice(l[0].length);continue e}}}break}return n<0?0:i.indent[n]}}var m$="from",XG=new RegExp("^(\\s*)\\b("+m$+")\\b","i"),g$=["run","cmd","entrypoint","shell"],RG=new RegExp("^(\\s*)("+g$.join("|")+")(\\s+\\[)","i"),b$="expose",LG=new RegExp("^(\\s*)("+b$+")(\\s+)","i"),IG=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],DG=[m$,b$].concat(g$).concat(IG),y$="("+DG.join("|")+")",NG=new RegExp("^(\\s*)"+y$+"(\\s*)(#.*)?$","i"),MG=new RegExp("^(\\s*)"+y$+"(\\s+)","i"),x$=p$({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:XG,token:[null,"keyword"],sol:!0,next:"from"},{regex:NG,token:[null,"keyword",null,"error"],sol:!0},{regex:RG,token:[null,"keyword",null],sol:!0,next:"array"},{regex:LG,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:MG,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}});var UG=189,zG=190,jG=191,v$=192,w$=193,k$=194,S$=195,T$=1,E$=2,C$=196,qG=197,WG=198,BG=3,ZG=4,VG=5,YG=6,FG=7,HG=8,GG=9,KG=10,JG=11,eK=12,tK=13,iK=14,rK=15,nK=16,oK=17,sK=18,aK=19,lK=20,cK=21,uK=22,fK=23,hK=199,dK=200,P$=9,TO=10,Bv=13,_$=32,EO=33,lf=34,Zv=35,pK=37,vO=38,cf=39,Q$=40,Mv=41,Uv=42,wl=43,OK=44,Go=45,ra=46,gn=47,A$=48,$$=57,eo=58,X$=59,wO=60,Fo=61,Xi=62,Vv=63,R$=64,mK=65,gK=90,L$=91,SO=92,zv=93,kO=94,I$=97,Nv=99,vl=100,jv=101,bK=104,qv=105,yK=108,xK=109,ta=110,Ko=111,vK=112,wK=114,Yv=116,kK=117,SK=119,TK=121,EK=122,D$=123,ia=124,Wv=125,uf=126,CK=[{token:ZG,supportsInterpol:!0,endDelimiter:cf,delimiterLength:1},{token:BG,supportsInterpol:!0,endDelimiter:lf,delimiterLength:1},{token:YG,supportsInterpol:!0,endDelimiter:cf,delimiterLength:3},{token:VG,supportsInterpol:!0,endDelimiter:lf,delimiterLength:3},{token:FG,supportsInterpol:!0,endDelimiter:Mv,delimiterLength:1},{token:HG,supportsInterpol:!0,endDelimiter:Wv,delimiterLength:1},{token:GG,supportsInterpol:!0,endDelimiter:zv,delimiterLength:1},{token:KG,supportsInterpol:!0,endDelimiter:Xi,delimiterLength:1},{token:JG,supportsInterpol:!0,endDelimiter:ia,delimiterLength:1},{token:eK,supportsInterpol:!0,endDelimiter:gn,delimiterLength:1},{token:iK,supportsInterpol:!1,endDelimiter:cf,delimiterLength:1},{token:tK,supportsInterpol:!1,endDelimiter:lf,delimiterLength:1},{token:nK,supportsInterpol:!1,endDelimiter:cf,delimiterLength:3},{token:rK,supportsInterpol:!1,endDelimiter:lf,delimiterLength:3},{token:oK,supportsInterpol:!1,endDelimiter:Mv,delimiterLength:1},{token:sK,supportsInterpol:!1,endDelimiter:Wv,delimiterLength:1},{token:aK,supportsInterpol:!1,endDelimiter:zv,delimiterLength:1},{token:lK,supportsInterpol:!1,endDelimiter:Xi,delimiterLength:1},{token:cK,supportsInterpol:!1,endDelimiter:ia,delimiterLength:1},{token:uK,supportsInterpol:!1,endDelimiter:gn,delimiterLength:1}],PK=new Be((t,e)=>{let i=CK.find(r=>e.canShift(r.token));_K(t,i)&&t.acceptToken(i.token)});function _K(t,e){let i=e.delimiterLength===3;for(let r=!1;;r=!0){let n=!1;if(U$(t.next))for(t.advance(),r=!0,n=!0;or(t.next);)t.advance();if(t.next===e.endDelimiter){let o=1;for(;o<e.delimiterLength&&t.peek(o)===e.endDelimiter;)o++;if(o===e.delimiterLength&&(!i||n))return r;t.advance(o)}else{if(t.next===Zv){if(e.supportsInterpol&&t.peek(1)===D$)return r}else if(t.next===SO){if(!(i&&t.peek(1)===TO)){if(e.supportsInterpol||t.peek(1)===e.endDelimiter)return r}}else if(t.next===-1)return r;t.advance()}}return!1}var QK=new Be((t,e)=>{let i=0;for(;I$<=t.next&&t.next<=EK||mK<=t.next&&t.next<=gK||A$<=t.next&&t.next<=$$;)t.advance(),i++;i>0&&t.acceptToken(fK)}),AK=new Be((t,e)=>{or(t.peek(-1))||(e.canShift(T$)&&t.next===Q$?(t.advance(),t.acceptToken(T$)):e.canShift(E$)&&t.next===L$?(t.advance(),t.acceptToken(E$)):e.canShift(C$)&&t.next===eo&&(t.advance(),or(t.next)&&t.acceptToken(C$)))}),$K=new Be((t,e)=>{if(ff(t.next)){for(t.advance();ff(t.next);)t.advance();if(t.next===wl){let i=t.peek(1);i!==wl&&i!==eo&&i!==gn&&!or(i)&&t.acceptToken(v$)}else if(t.next===Go){let i=t.peek(1);i!==Go&&i!==Xi&&i!==eo&&i!==gn&&!or(i)&&t.acceptToken(v$)}}}),N$=/[\p{ID_Start}_]/u,M$=/[\p{ID_Continue}@]/u,XK=new Be((t,e)=>{if(t.next===eo){t.advance();let[i,r]=kl(t);if(N$.test(i)){do t.advance(r),[i,r]=kl(t);while(M$.test(i));(t.next===Vv||t.next===EO)&&t.advance(),t.acceptToken(qG)}}}),RK=new Be((t,e)=>{let[i,r]=kl(t);if(N$.test(i)){do t.advance(r),[i,r]=kl(t);while(M$.test(i));(t.next===Vv||t.next===EO)&&t.advance(),t.next===eo&&(t.advance(),or(t.next)&&t.acceptToken(WG))}}),LK=/[_\p{Ll}\p{Lm}\p{Lo}\p{Nl}\u1885\u1886\u2118\u212E\u309B\u309C]/u,IK=/[\p{ID_Continue}]/u,DK=new Be((t,e)=>{let[i,r]=kl(t),o=i==="_"?dK:hK;if(LK.test(i)){do t.advance(r),[i,r]=kl(t);while(IK.test(i));(t.next===Vv||t.next===EO)&&t.advance(),t.acceptToken(o)}else t.next===ra&&(t.advance(),t.next===ra&&(t.advance(),t.next===ra&&(t.advance(),Ho(t.next)&&t.acceptToken(o))))}),NK=new Be((t,e)=>{if(t.next===ta&&(t.advance(),t.next===Ko&&(t.advance(),t.next===Yv))){for(t.advance();ff(t.next);)t.advance();t.next===qv&&(t.advance(),t.next===ta&&(t.advance(),Ho(t.next)&&t.acceptToken(UG)))}}),MK=new Be((t,e)=>{t.next===gn&&(t.advance(),t.next===gn&&(t.advance(),t.acceptToken(zG)))}),UK=new Be((t,e)=>{t.next===R$&&(t.advance(),(t.next===vl&&t.peek(1)===Ko&&t.peek(2)===Nv&&or(t.peek(3))||t.next===xK&&t.peek(1)===Ko&&t.peek(2)===vl&&t.peek(3)===kK&&t.peek(4)===yK&&t.peek(5)===jv&&t.peek(6)===vl&&t.peek(7)===Ko&&t.peek(8)===Nv&&or(t.peek(9))||t.next===Yv&&t.peek(1)===TK&&t.peek(2)===vK&&t.peek(3)===jv&&t.peek(4)===vl&&t.peek(5)===Ko&&t.peek(6)===Nv&&or(t.peek(7)))&&t.acceptToken(jG))}),zK=new Be((t,e)=>{if(t.next===Bv&&t.advance(),t.next===TO){t.advance();let i=0,r=!1;for(;or(t.peek(i));)r=r||U$(t.peek(i)),i++;if(e.canShift(S$)&&t.peek(i)===vl&&t.peek(i+1)===Ko&&Ho(t.peek(i+2))){t.acceptToken(S$);return}if(e.canShift(k$)&&jK(t,i)){t.acceptToken(k$);return}e.canShift(w$)&&t.peek(i)!==X$&&t.peek(i)!==Zv&&!r&&t.acceptToken(w$)}});function jK(t,e=0){if(t.peek(e)===vO){if(e++,t.peek(e)===vO)return e++,t.peek(e)===vO,Ne(t,e)}else{if(t.peek(e)===Fo)return t.peek(e)===Fo?(e++,t.peek(e)===Fo&&e++,Ne(t,e)):t.peek(e)===uf?(e++,Ne(t,e)):(t.peek(1)===Xi&&e++,Ne(t,e));if(t.peek(e)===eo){if(e++,t.peek(e)===eo)return e++,t.peek(e)===eo?!1:Ne(t,e)}else if(t.peek(e)===wl){if(e++,t.peek(e)===wl)return e++,t.peek(e)===wl&&e++,Ne(t,e)}else if(t.peek(e)===Go){if(e++,t.peek(e)===Go)return e++,t.peek(e)===Go&&e++,Ne(t,e);if(t.peek(e)===Xi)return e++,Ne(t,e)}else if(t.peek(e)===wO){if(e++,t.peek(e)===Fo||t.peek(e)===Go||t.peek(e)===Xi)return e++,Ne(t,e);if(t.peek(e)===uf)return e++,t.peek(e)===Xi&&e++,Ne(t,e);if(t.peek(e)===ia){if(e++,t.peek(e)===Xi)return e++,Ne(t,e)}else if(t.peek(e)===wO){if(e++,t.peek(e)===wO||t.peek(e)===uf)return e++,Ne(t,e)}else return Ne(t,e)}else if(t.peek(e)===Xi){if(e++,t.peek(e)===Fo)return e++,Ne(t,e);if(t.peek(e)===Xi){if(e++,t.peek(e)===Xi)return e++,Ne(t,e)}else return Ne(t,e)}else if(t.peek(e)===kO){if(e++,t.peek(e)===kO&&(e++,t.peek(e)===kO))return e++,Ne(t,e)}else if(t.peek(e)===EO){if(e++,t.peek(e)===Fo)return e++,t.peek(e)===Fo&&e++,Ne(t,e)}else if(t.peek(e)===uf){if(e++,t.peek(e)===Xi)return e++,t.peek(e)===Xi&&e++,Ne(t,e)}else{if(t.peek(e)===ia)return e++,t.peek(e)===ia?(e++,t.peek(e)===ia&&e++,Ne(t,e)):(t.peek(e)===Xi&&e++,Ne(t,e));if(t.peek(e)===Uv)return e++,t.peek(e)===Uv&&e++,Ne(t,e);if(t.peek(e)===gn)return e++,t.peek(e)===gn&&e++,Ne(t,e);if(t.peek(e)===ra)return e++,t.peek(e)===ra?(e++,t.peek(e)===ra?!1:Ne(t,e)):Ne(t,e);if(t.peek(e)===SO){if(e++,t.peek(e)===SO)return e++,Ne(t,e)}else if(t.peek(e)===SK){if(e++,t.peek(e)===bK&&(e++,t.peek(e)===jv&&(e++,t.peek(e)===ta)))return e++,Ho(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===I$){if(e++,t.peek(e)===ta&&(e++,t.peek(e)===vl))return e++,Ho(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===Ko){if(e++,t.peek(e)===wK)return e++,Ho(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===qv){if(e++,t.peek(e)===ta)return e++,Ho(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===ta&&(e++,t.peek(e)===Ko&&(e++,t.peek(e)===Yv))){for(e++;ff(t.peek(e));)e++;if(t.peek(e)===qv&&(e++,t.peek(e)===ta))return e++,Ho(t.peek(e))&&Ne(t,e)}}}}function Ne(t,e){if(t.peek(e)===eo)return!or(t.peek(e+1));for(;ff(t.peek(e));)e++;if(t.peek(e)===gn){for(e++;or(t.peek(e));)e++;if(qK(t.peek(e)))return!1}return!0}function ff(t){return t===_$||t===P$}function or(t){return t===_$||t===P$||t===TO||t===Bv}function U$(t){return t===TO||t===Bv}function qK(t){return A$<=t&&t<=$$}var WK=new Set([R$,ra,wl,Go,kO,Go,Uv,gn,wO,Xi,ia,uf,Fo,vO,SO,pK,D$,Wv,L$,zv,Q$,Mv,lf,cf,OK,X$,Zv]);function Ho(t){return WK.has(t)?!0:or(t)||t===-1}function kl(t){let e=t.next;if(55296<=e&&e<=56319){let i=t.peek(1);if(56320<=i&&i<=57343)return[String.fromCharCode(e,i),2]}return[String.fromCharCode(e),1]}var BK=Pt({"Atom QuotedAtom QuotedAtom/QuotedContent Keyword QuotedKeyword QuotedKeyword/QuotedContent":C.atom,Alias:C.namespace,Boolean:C.bool,Nil:C.null,Integer:C.integer,Float:C.float,Char:C.character,Identifier:C.variableName,Comment:C.lineComment,SpecialIdentifier:C.special(C.variableName),UnderscoredIdentifier:C.comment,"String String/QuotedContent":C.string,"Charlist Charlist/QuotedContent":C.string,"StringSigil StringSigil/SigilName StringSigil/SigilModifiers StringSigil/QuotedContent StringSigil/{ StringSigil/} StringSigil/[ StringSigil/] StringSigil/( StringSigil/)":C.string,"Sigil Sigil/SigilName Sigil/SigilModifiers Sigil/QuotedContent Sigil/{ Sigil/} Sigil/[ Sigil/] Sigil/( Sigil/)":C.special(C.string),EscapeSequence:C.escape,"Interpolation/#{ Interpolation/}":C.special(C.brace),"( )":C.paren,"[ ]":C.squareBracket,"% { }":C.brace,", ;":C.separator,"<< >>":C.angleBracket,"fn do end catch rescue after else":C.keyword,Operator:C.operator,WordOperator:C.keyword,"CaptureOperand/Integer":C.operator,"AtOperator/Operator AtOperator/Identifier AtOperator/Boolean AtOperator/Nil AtOperator/Call/Identifier":C.attributeName,"DocAtOperator/Operator DocAtOperator/Identifier DocAtOperator/Call/Identifier DocAtOperator/Call/Arguments/Boolean DocAtOperator/Call/Arguments/String DocAtOperator/Call/Arguments/String/QuotedContent DocAtOperator/Call/Arguments/Charlist DocAtOperator/Call/Arguments/Charlist/QuotedContent DocAtOperator/Call/Arguments/StringSigil DocAtOperator/Call/Arguments/StringSigil/QuotedContent DocAtOperator/Call/Arguments/StringSigil/SigilName DocAtOperator/Call/Arguments/StringSigil/SigilModifiers DocAtOperator/Call/Arguments/StringSigil/{ DocAtOperator/Call/Arguments/StringSigil/} DocAtOperator/Call/Arguments/StringSigil/[ DocAtOperator/Call/Arguments/StringSigil/] DocAtOperator/Call/Arguments/StringSigil/( DocAtOperator/Call/Arguments/StringSigil/)":C.docString,"Call/Identifier Call/UnderscoredIdentifier":C.function(C.variableName),"Call/Dot/Right/Identifier Call/Dot/Right/SpecialIdentifier Call/Dot/Right/UnderscoredIdentifier":C.function(C.variableName),"Call/Dot/Atom":C.namespace,"PipeOperator/Right/Identifier":C.function(C.variableName),"FunctionDefinitionCall/Identifier":C.keyword,"FunctionDefinitionCall/Arguments/Identifier FunctionDefinitionCall/Arguments/UnderscoredIdentifier FunctionDefinitionCall/Arguments/SpecialIdentifier":C.definition(C.function(C.variableName)),"FunctionDefinitionCall/Arguments/Call/Identifier FunctionDefinitionCall/Arguments/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/Call/SpecialIdentifier":C.definition(C.function(C.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Identifier FunctionDefinitionCall/Arguments/WhenOperator/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/SpecialIdentifier":C.definition(C.function(C.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Call/Identifier FunctionDefinitionCall/Arguments/WhenOperator/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/Call/SpecialIdentifier":C.definition(C.function(C.variableName)),"FunctionDefinitionCall/Arguments/PipeOperator/Right/Identifier":C.variableName,"KernelCall/Identifier":C.keyword}),ZK={__proto__:null,when:432,def:446,defdelegate:448,defguard:450,defguardp:452,defmacro:454,defmacrop:456,defn:458,defnp:460,defp:462,defexception:464,defimpl:466,defmodule:468,defoverridable:470,defprotocol:472,defstruct:474,alias:476,case:478,cond:480,for:482,if:484,import:486,quote:488,raise:490,receive:492,require:494,reraise:496,super:498,throw:500,try:502,unless:504,unquote:506,unquote_splicing:508,use:510,with:512,true:514,false:516,nil:518,not:588,do:600,after:604,rescue:608,catch:612,else:616,end:618,and:624,in:626,or:628,fn:630},VK={__proto__:null,__MODULE__:436,__DIR__:438,__ENV__:440,__CALLER__:442,__STACKTRACE__:444},z$=Wt.deserialize({version:14,states:"$CWQ'_Q!7uOOP'iOMhOOOOQ<R'#Gq'#GqO'nQ##|O'#GxO'|Q##|O'#GzO([Q!:kO'#CvOOQ<u'#D['#D[OOQ<u'#D^'#D^OOQ<u'#G}'#G}OOQ8a'#Dg'#DgOOQ8a'#Hz'#HzO.gQ##|O'#H}O.uQ##|O'#IPO/TQ!LbO'#DkOOQ8a'#IR'#IRO/cQ!:kO'#DuO/pQ!:kO'#DwO/}Q!:kO'#DxO0[Q!7uO'#FaO6WQ!6UO'#D}O0[Q!7uO'#FaOOQ9]'#EU'#EUOcQ!7uO'#ETO<XQ!7uO'#FaOOQ8a'#Im'#ImQ>YQ!6yOOO>dQ!;_O'#GsOOQ8a'#E]'#E]OEwQ!;_O'#GsOOQ8a'#Ej'#EjO>dQ!;_O'#GsOOQ8a'#Ek'#EkOOQ8a'#Iq'#IqO!&fQ!;_O'#FmO!&pQMxO'#FRO!&uQ!6yO'#IpOOQ8a'#Ip'#IpO!/aQ!7uO'#D{OOQ8a'#FW'#FWOOQ9]'#F_'#F_OOQ`'#Fa'#FaO!/kQMxO'#FYOOQ8a'#JU'#JUOOQ8a'#Fg'#FgOOQ8a'#Fi'#FiOOQ8a'#Fj'#FjOOQ8a'#JX'#JXOOQ8a'#J]'#J]OOQ8a'#JW'#JWOOQ8a'#JV'#JVOOQ8a'#Gs'#GsQcQ!7uOOOOQ<R'#DU'#DUOOQ<u'#D]'#D]OOQ<u'#D_'#D_OOQ<u'#D`'#D`OOQ8a'#De'#DeOOQ8a'#Df'#Df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Zoa%foa%ioa'hoa!doa!boa!noavoa'qoa'joa'loa'noa'poa~P#@POQ$WO!r4mO!}#qO#e1jO#f1tO#g2PO#h2eO#i2oO#j2yO#k3TO#l3_O#m3iO#n3}O#o4XO#p4wO#q4wO#r5RO#{4cO#}2ZO$X5hO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~Ovoa|oa%ioa~P,AYOQ$WO!r4gO!}#qO#e1dO#f1nO#g1xO#h2_O#i2iO#j2sO#k2}O#l3XO#m3cO#n3wO#o4RO#p4qO#q4qO#r4{O#{4]O#}2TO$X5bO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~O!aoa%ioa~P,CZOvoa|oa%Xoa%Zoa%foa%ioa'hoa'joa'loa'noa'poa'qoa~P,0SO!aoa%Zoa%ioa'hoa~P,2pO%i5wO%Sna%Xna%fna!dna!bna!nnavna'qna'jna'lna'nna'pna~P(=hOQna!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una%Xna%fna%pna'tna'una'vnavna'jna'lna'nna'pna'qna~O%i5xO%Sna!dna!bna!nna~P,G`O%i5yO~P,G`OQna!ana!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una%pna'tna'una'vna~O%i5{O~P,JWOvna|na%pnaQna!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una'tna'una'vna~O%i5zO~P,LUO%i6OO!ana~P(=hO%i5|O%Zna'hna~P%-lOkTO|xO!T!SO!U!SO!V!SO!W!SO!c_O!maO!r=lO!s=lO!v=nO!z<dO#exO#fxO#gxO#hxO#ixO#jxO#kxO#lxO#mxO#nxO#oxO#pxO#qxO#rxO#{vO%TwO%VeO%W=mO%]XO%p!UO&k!YO&l!YO&m!ZO&oXO&p![O&rZO&t[O&v]O'`uO'b!_O't!aO'u!bO'v!`O'w!cO%X}X%f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}<O<P<Q<R<S<T<U<V<W<X<Y<Z<[<]<^<_<`<a<b<d<e<f<g<h<i<j<k<l<m<n<o<p<q<r<s<t=l=n=o",nodeNames:"\u26A0 ( [ QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent SigilModifiers Comment Source Block ( StabClause Arguments Keywords Pair Keyword QuotedKeyword EscapeSequence Interpolation #{ } ) WhenOperator WordOperator Right Arguments WhenOperator Operator Body Identifier SpecialIdentifier UnderscoredIdentifier Identifier Identifier Alias Integer Float Char Boolean Nil Atom QuotedAtom String Charlist Sigil SigilName { } [ ] SigilName StringSigil SigilName SigilName List Keywords Tuple Bitstring << >> Map Struct UnaryOperator Operator Operator WordOperator AtOperator Operator DocAtOperator Operator CaptureOperator Operator CaptureOperand Dot Operator Right Call Arguments DoBlock do AfterBlock after RescueBlock rescue CatchBlock catch ElseBlock else end FunctionDefinitionCall KernelCall Call Dot Right Identifier OperatorIdentifier Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator String Charlist Call Dot Arguments Call MapContent OperatorIdentifier Operator BinaryOperator Operator WordOperator WordOperator WordOperator WordOperator Operator OperatorIdentifier WhenOperator Right PipeOperator Operator Right Call Arguments FunctionDefinitionCall KernelCall Call KernelCall Call AccessCall AnonymousFunction fn",maxTerm:323,nodeProps:[["closedBy",36,"interpolationEnd",75,">>"],["openedBy",37,"interpolationStart",76,"<<"]],propSources:[BK],skippedNodes:[0,24],repeatNodeCount:29,tokenData:"Eu~RyXY#rYZ#}]^$Spq#rqr$Yrs%^st%quv'_vw'vwx(fxy(yyz)Oz{)T{|)h|}*W}!O*]!O!P+O!P!Q+o!Q!R+|!R![/n![!]1e!]!^8b!^!_8g!_!`:d!`!a:z!a!b;d!b!c<c!c!u<k!u!v>u!v!}<k!}#O?i#O#P?n#P#QCU#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>T#T#o>TT=bTXY=_YZ=_]^=_pq=_!O!P=qT=tTXY=qYZ=q]^=qpq=q!c!}>TT>YX!TTXY=_YZ=_]^=_pq=_!O!P=q!Q![>T!c!}>T#R#S>T#T#o>TV>|X!TT!hQXY=_YZ=_]^=_pq=_!O!P=q!Q![<k!c!}<k#R#S>T#T#o>T~?nO!c~~?sX%d~O#O@`#O#P@e#P#i@`#i#j@o#j#l@`#l#mBa#m;'S@`;'S;=`CO<%lO@`Q@eOrQV@lPrQ#eT![!]$eQ@rS!Q![AO!c!iAO#T#ZAO#o#pAtQARR!Q![A[!c!iA[#T#ZA[QA_R!Q![Ah!c!iAh#T#ZAhQAkR!Q![@`!c!i@`#T#Z@`QAwR!Q![BQ!c!iBQ#T#ZBQQBTS!Q![BQ!c!iBQ#T#ZBQ#q#r@`QBdS!Q![Bp!c!iBp#T#ZBp#o#pAtQBuRrQ!Q![@`!c!i@`#T#Z@`QCRP;=`<%l@`~CZO!d~~C`Q!s~![!]$e#Q#RCf~CiP#Q#RCl~CqP#n~![!]$e~CyO!`~~DOO!g~~DTP!a~#q#r'pVD_R'PQ#gT![!]$e!`!aDh#p#qDpTDmP$XT![!]$eTDuQ#iT![!]$e#p#qD{TEQP#iT![!]$eVE[O!bRuS~EaQ&v~!`!a:X#r#sEg~EjP#r#sEm~ErP!s~![!]$e",tokenizers:[NK,MK,UK,$K,zK,AK,XK,RK,PK,QK,DK,0,1,2],topRules:{Source:[0,25]},dynamicPrecedences:{43:1,79:-1,150:-1},specialized:[{term:199,get:t=>ZK[t]||-1},{term:200,get:t=>VK[t]||-1}],tokenPrec:42923});var j$=Yt.define({name:"elixir",parser:z$.configure({props:[Ft.add({"DoBlock AfterBlock ElseBlock CatchBlock RescueBlock":Fv(vi({except:/^\s*(after|else|catch|rescue|end)\b/})),AnonymousFunction:Fv(tr({closing:"end",align:!1})),Block:Fv(tr({closing:")",align:!1})),StabClause:vi(),List:tr({closing:"]",align:!1}),Tuple:tr({closing:"}",align:!1}),Bitstring:tr({closing:">>",align:!1}),Arguments:tr({closing:")",align:!1}),Map:tr({closing:"}",align:!1}),"String Charlist Sigil":Bp,BinaryOperator:vi(),Pair:vi()}),qt.add({"DoBlock Block List Tuple Bitstring AnonymousFunction":dn,Map:YK})]}),languageData:{commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["~s","~S","~r","~R","~c","~C","~D","~N"]},indentOnInput:/^\s*([\}\]\)]|>>|after|else|catch|rescue|end)|.*->$/}});function Fv(t){return e=>{var i,r,n,o;let s=e.node.childBefore(e.pos);return((r=(i=e.node.lastChild)===null||i===void 0?void 0:i.type)===null||r===void 0?void 0:r.name)==="end"&&e.textAfter.endsWith("end")?e.baseIndentFor(e.node):((n=s==null?void 0:s.type)===null||n===void 0?void 0:n.name)==="StabClause"&&e.textAfter.endsWith("->")?e.baseIndentFor(s):((o=s==null?void 0:s.type)===null||o===void 0?void 0:o.name)==="StabClause"?e.baseIndentFor(s)+e.unit:t(e)}}function YK(t){let e=t.getChild("{"),i=t.getChild("}");return e&&i?{from:e.to,to:i.from}:null}var FK=t=>{let{state:e,dispatch:i}=t,r=ze(e),n=hn(e),o=!0,s=e.changeByRange(a=>{if(!a.empty||!j$.isActiveAt(e,a.from))return o=!1,{range:a};let l=r.resolve(a.from,-1),c=HK(l);if(c&&!GK(c)){let u=fl(e,c.from+1)||n,f=Fn(e,u),d=Fn(e,u-n),p=`
${f}`,g=`
${d}end`,x=a.from+p.length;return{range:ee.cursor(x),changes:[{from:a.from,to:a.to,insert:p+g}]}}return o=!1,{range:a}});return o?(i(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0):!1};function HK(t){let e=t;return e&&e.type.name==="do"&&(e=e.parent),e&&e.type.name==="Operator"&&(e=e.parent),e&&(e.type.name==="StabClause"||e.type.name==="fn")&&(e=e.parent),e&&q$(e)?e:null}function q$(t){return t.type.name==="DoBlock"||t.type.name==="AnonymousFunction"}function GK(t){var e,i;let r=t;for(;r;){if(q$(r)&&((i=(e=r.lastChild)===null||e===void 0?void 0:e.type)===null||i===void 0?void 0:i.name)!=="end")return!1;r=r.parent}return!0}var KK=[{key:"Enter",run:FK}];function W$(){let t=[$t.high(Vt.of(KK))];return new St(j$,t)}var B$=Dt.of({name:"Elixir",support:W$()}),Z$=Dt.of({name:"Erlang",support:new St(Ru.define(d$))}),V$=Dt.of({name:"SQL",support:XA()}),Y$=Dt.of({name:"YAML",support:o$()}),F$=Dt.of({name:"JSON",support:NA()}),H$=Dt.of({name:"XML",support:VA()}),G$=Dt.of({name:"CSS",support:fO()}),K$=Dt.of({name:"HTML",support:pO()}),J$=Dt.of({name:"JavaScript",support:hO()}),eX=Dt.of({name:"Dockerfile",support:new St(Ru.define(x$))}),JK=Dt.of({name:"Markdown",support:bA({base:OO,codeLanguages:[B$,Z$,V$,Y$,F$,H$,G$,K$,J$,eX]})}),CO=[B$,Z$,V$,Y$,F$,H$,G$,K$,J$,eX,JK];function tX(t,{dark:e}){let i={sans:"Inter",mono:"JetBrains Mono, monospace"};return de.theme({"&":{color:t.text,backgroundColor:t.background,borderRadius:"8px",fontSize:"14px",fontFamily:i.mono},"&.cm-focused":{outline:"none"},".cm-scroller":{fontFamily:"inherit",padding:"0.75rem 0"},".cm-content":{caretColor:t.cursor,padding:"0"},"*":{"&":{scrollbarWidth:"thin",scrollbarColor:`${t.backgroundLightest} transparent`},"&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-thumb":{background:t.backgroundLightest},"&::-webkit-scrollbar-track":{background:"transparent"}},".cm-activeLine":{backgroundColor:"transparent"},"&.cm-focused:not(.cm-selecting) .cm-activeLine":{backgroundColor:t.activeLine},".cm-cursor, .cm-dropCursor":{borderLeft:"1px solid",borderRight:"1px solid",marginLeft:"-1px",marginRight:"-1px",borderColor:t.cursor},".cm-selectionBackground":{backgroundColor:t.inactiveSelectionBackground},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{backgroundColor:t.selectionBackground},".cm-selectionMatch":{backgroundColor:t.selectionMatchBackground},"&:not(.cm-focused) .cm-fat-cursor":{outline:"none !important"},".cm-gutters":{backgroundColor:t.background,color:t.gutterText,border:"none"},".cm-gutters .cm-activeLineGutter":{backgroundColor:"transparent"},"&.cm-focused:not(.cm-selecting) .cm-gutters .cm-activeLineGutter":{backgroundColor:t.activeLine},".cm-tooltip":{backgroundColor:t.backgroundLighter,boxShadow:"0 2px 6px 0 rgba(0, 0, 0, 0.2)",color:t.text,borderRadius:"8px",border:`1px solid ${t.border}`,"& .cm-tooltip-arrow::before":{borderTopColor:t.backgroundLighter,borderBottomColor:t.backgroundLighter}},".cm-panels":{backgroundColor:"transparent",color:t.text,"&.cm-panels-top":{borderBottom:`2px solid ${t.separator}`},"&.cm-panels-bottom":{borderTop:`2px solid ${t.separator}`}},".cm-gutter.cm-lineNumbers":{"& .cm-gutterElement":{color:t.lineNumber,whiteSpace:"pre","&.cm-activeLineGutter":{color:t.lineNumberActive}}},".cm-gutter.cm-foldGutter":{"& .cm-gutterElement":{cursor:"pointer"},"&:not(:hover) .cm-gutterElement > .cm-gutterFoldMarker-open":{visibility:"hidden"}},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"unset",borderRadius:"2px","&:hover":{backgroundColor:t.selectionBackground}},".cm-searchMatch":{backgroundColor:t.searchMatchBackground,"&.cm-searchMatch-selected":{backgroundColor:t.searchMatchActiveBackground}},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:t.selectionBackground},".cm-tooltip.cm-tooltip-autocomplete":{padding:"4px",backgroundColor:t.backgroundLighter,color:t.text,"& > ul":{fontFamily:"inherit","& > li":{padding:"4px",borderRadius:"4px",display:"flex",alignItems:"center","&[aria-selected]":{background:"none",backgroundColor:t.backgroundLightest,color:"unset"},"& .cm-completionIcon":{lineHeight:"1","&:after":{fontVariantLigatures:"normal"},"&.cm-completionIcon-function:after":{content:"'\u0192'"},"&.cm-completionIcon-module:after":{content:"'m'"},"&.cm-completionIcon-struct:after":{content:"'\u2B58'"},"&.cm-completionIcon-interface:after":{content:"'*'"},"&.cm-completionIcon-type:after":{content:"'t'"},"&.cm-completionIcon-variable:after":{content:"'\u{1D465}'"},"&.cm-completionIcon-field:after":{content:"'\u2022'"},"&.cm-completionIcon-keyword:after":{content:"'\u26A1'"}}}},"& .cm-completionMatchedText":{textDecoration:"none",color:t.matchingText}},".cm-tooltip.cm-completionInfo":{borderRadius:"8px",backgroundColor:t.backgroundLighter,color:t.text,top:"0 !important",padding:"0","&.cm-completionInfo-right":{marginLeft:"4px"},"&.cm-completionInfo-left":{marginRight:"4px"},"& .cm-completionInfoDocs":{padding:"6px"}},".cm-tooltip .cm-hoverDocs":{maxWidth:"800px",maxHeight:"300px",overflowY:"auto",padding:"8px",display:"flex",flexDirection:"column",gap:"64px"},".cm-tooltip.cm-signatureHint":{"& .cm-signatureHintStepper":{borderColor:t.separator},"& .cm-signatureHintActiveArgument":{color:t.matchingText}},".cm-tooltip-lint":{display:"flex",flexDirection:"column",gap:"8px",maxWidth:"600px","& .cm-diagnostic":{display:"flex",border:"none",margin:"0","&::before":{content:"'\u279C'",fontVariantLigatures:"common-ligatures",fontSize:"1.5em",lineHeight:"1",whiteSpace:"nowrap",marginRight:"6px"},"&.cm-diagnostic-error::before":{color:"#be5046"},"&.cm-diagnostic-warning::before":{color:"#d19a66"}}},".cm-panel.cm-search":{display:"flex",alignItems:"center",flexWrap:"wrap",padding:"8px","& br":{content:'" "',display:"block",width:"100%"},"& .cm-textfield":{borderRadius:"4px",border:`1px solid ${t.border}`},"& .cm-button":{borderRadius:"4px",background:t.backgroundLightest,border:"none"},"& label:first-of-type":{marginLeft:"8px"},"& label":{display:"inline-flex",alignItems:"center",gap:"4px"},"& label input":{appearance:"none",border:`1px solid ${t.backgroundLightest}`,borderRadius:"4px",width:"18px",height:"18px","&:checked":{backgroundImage:`url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")`,backgroundColor:t.backgroundLightest,borderColor:"transparent"}},'& button[name="close"]':{display:"none"}},".cm-markdown":{"&":{fontFamily:i.sans},"& p":{marginTop:"0.5rem",marginBottom:"0.5rem"},"& hr":{borderTop:`1px solid ${t.separator}`,marginTop:"0.5rem",marginBottom:"0.5rem",marginRight:"-6px",marginLeft:"-6px"},"& a":{borderBottom:`1px solid ${t.text}`},"& h2":{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.125em",fontWeight:"600"},"& ul":{marginTop:"1rem",marginBottom:"1rem",marginLeft:"2rem",listStylePosition:"outside",listStyleType:"disc","& ul":{listStyleType:"circle","& ul":{listStyleType:"square"}}},"& li":{marginTop:"0.25rem",marginBottom:"0.25rem","& > ul, & > ol":{marginTop:"0",marginBottom:"0"}},"& ol":{marginTop:"1rem",marginBottom:"1rem",marginLeft:"2rem",listStylePosition:"outside",listStyleType:"decimal"},"& code":{background:t.selectionBackground,borderRadius:"3px"},"& pre":{marginTop:"0.5rem",marginBottom:"0.5rem","& code":{background:"transparent",whiteSpace:"pre-wrap"}},"& > :first-child":{marginTop:"0"},"& > :last-child":{marginBottom:"0"}}},{dark:e})}function iX({base:t,lightRed:e,blue:i,gray:r,green:n,purple:o,red:s,teal:a,peach:l,yellow:c}){return ll.define([{tag:C.keyword,color:o},{tag:C.null,color:i},{tag:C.bool,color:i},{tag:C.number,color:i},{tag:C.string,color:n},{tag:C.special(C.string),color:c},{tag:C.character,color:i},{tag:C.escape,color:i},{tag:C.atom,color:i},{tag:C.variableName,color:t},{tag:C.special(C.variableName),color:e},{tag:[C.function(C.variableName),C.function(C.propertyName)],color:i},{tag:C.namespace,color:a},{tag:C.operator,color:l},{tag:C.comment,color:r},{tag:[C.docString,C.docComment],color:r},{tag:[C.paren,C.squareBracket,C.brace,C.angleBracket,C.separator],color:t},{tag:C.special(C.brace),color:s},{tag:C.strong,fontWeight:"bold"},{tag:C.emphasis,fontStyle:"italic"},{tag:C.strikethrough,textDecoration:"line-through"},{tag:C.link,color:i},{tag:C.heading,color:e},{tag:C.monospace,color:n},{tag:C.propertyName,color:e},{tag:C.tagName,color:o},{tag:C.className,color:l}])}var eJ=tX({text:"#c8ccd4",background:"#282c34",backgroundLighter:"#2f343e",backgroundLightest:"#454a56",border:"#363c46",cursor:"#73ade8",activeLine:"#2d323b",selectionBackground:"#394c5f",inactiveSelectionBackground:"#29333d",selectionMatchBackground:"#343f4d",gutterText:"#c8ccd4",lineNumber:"#60646c",lineNumberActive:"#c8ccd4",matchingText:"#73ade8",searchMatchBackground:"#4c6582",searchMatchActiveBackground:"#54789e",separator:"#464b57"},{dark:!0}),Hv=iX({base:"#c8ccd4",lightRed:"#e06c75",blue:"#61afef",gray:"#8c92a3",green:"#98c379",purple:"#c678dd",red:"#be5046",teal:"#56b6c2",peach:"#d19a66",yellow:"#e5c07b"}),rX=[eJ,Fy(Hv)],tJ=tX({text:"#383a41",background:"#fafafa",backgroundLighter:"#ebebec",backgroundLightest:"#cacaca",border:"#dfdfe0",cursor:"#5c79e2",activeLine:"#efeff0",selectionBackground:"#d4dbf4",inactiveSelectionBackground:"#ebeef9",selectionMatchBackground:"#d3d5e1",gutterText:"#383a41",lineNumber:"#b6b7b9",lineNumberActive:"#383a41",matchingText:"#73ade8",searchMatchBackground:"#bbc6f1",searchMatchActiveBackground:"#9daeec",separator:"#c9c9ca"},{dark:!1}),Gv=iX({base:"#304254",lightRed:"#e45649",blue:"#4078F2",gray:"#707177",green:"#50a14f",purple:"#a726a4",red:"#ca1243",teal:"#0084bc",peach:"#986801",yellow:"#c18401"}),nX=[tJ,Fy(Gv)];var dX=va(lX()),pX=va(uX()),Kv=va(hX());function XO(){return/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)}function Jo(t){return t.matches&&t.matches("input, textarea, [contenteditable]")}function Jv(t,e=0){let i=t.getBoundingClientRect();return i.bottom>=-e&&i.top<=window.innerHeight+e}function bn(t){return t.offsetParent===null}function OX(t){let e=null;return new Promise((i,r)=>{bn(t)?(e=new ResizeObserver(n=>{bn(t)||(e.disconnect(),i())}),e.observe(t)):i()})}function RO(t,{root:e=null,proximity:i=0}={}){let r=null;return{promise:new Promise((s,a)=>{iJ(t,i)?s():(r=new IntersectionObserver(l=>{l[0].isIntersecting&&(r.disconnect(),r=null,s())},{root:e,rootMargin:`${i}px`}),r.observe(t))}),cancel:()=>{r&&r.disconnect()}}}function iJ(t,e=0){return!bn(t)&&Jv(t,e)}function mX(t,e,i){return Math.min(Math.max(t,e),i)}function gX(t){let e=window.getComputedStyle(t),i=parseInt(e.lineHeight,10);if(Number.isNaN(i)){let r=t.cloneNode();r.innerHTML="<br>",t.appendChild(r);let n=r.clientHeight;r.innerHTML="<br><br>";let o=r.clientHeight;return t.removeChild(r),o-n}else return i}function bX(t){let e=window.getSelection(),i=document.createRange();i.selectNodeContents(t),e.removeAllRanges(),e.addRange(i)}function na(t){let{height:e}=t.getBoundingClientRect();e<window.innerHeight?t.scrollIntoView({behavior:"smooth",block:"center"}):t.scrollIntoView({behavior:"smooth",block:"start"})}function yX(t){return Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)<1}function hf(t){t.scrollTop=t.scrollHeight}function xX(t){return btoa(unescape(encodeURIComponent(t)))}function vX(t){return decodeURIComponent(escape(atob(t)))}function wX(){return SX(24)}function kX(){return SX(40)}function SX(t){let e=new Uint8Array(t);crypto.getRandomValues(e);let i=String.fromCharCode(...e);return btoa(i)}function LO(t){return(0,dX.default)(t).toString(Kv.default)}function TX(t){return(0,pX.default)(t).toString(Kv.default)}function IO(t){let e=document.querySelector('[rel="icon"]');e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=`/${t}.svg`}function to(t,e){let i=t.querySelector(e);if(!i)throw new Error(`expected a child matching ${e}, but none was found`);return i}function yn(t){t.preventDefault(),t.stopPropagation()}var rJ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39"};function df(t){return(t||"").replace(/[&<>"']/g,e=>rJ[e])}function EX(t){let e=atob(t),i=new Uint8Array(e.length),r=i.byteLength;for(let n=0;n<r;n++)i[n]=e.charCodeAt(n);return i.buffer}function DO(){return document.body.hasAttribute("data-within-iframe")?";SameSite=None;Secure":";SameSite=Lax"}function NO(t,e,i=void 0){if(t.hasOwnProperty(e)){let r=t,{[e]:n}=r,o=pi(r,[Qk(e)]);return[n,o]}return[i,t]}function CX(t){return new Promise((e,i)=>{setTimeout(()=>e(),t)})}function PX(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}var ei=class{constructor(){this.callbacks=[]}get event(){return this.addListener.bind(this)}addListener(e){return this.callbacks.push(e),{destroy:()=>{this.removeListener(e)}}}removeListener(e){let i=this.callbacks.indexOf(e);i!==-1&&this.callbacks.splice(i,1)}dispatch(...e){this.callbacks.forEach(i=>{i(...e)})}};var _X="settings",pf={normal:14,large:16},nJ={default:"default",emacs:"emacs",vim:"vim"},Sl={default:"default",light:"light"},oJ={editor_auto_completion:!0,editor_auto_signature:!0,editor_font_size:pf.normal,editor_theme:Sl.default,editor_ligatures:!1,editor_markdown_word_wrap:!0,editor_mode:nJ.default,custom_view_show_section:!0,custom_view_show_markdown:!0,custom_view_show_output:!0,custom_view_spotlight:!1},ew=class{constructor(){bt(this,"_onChange",new ei);this.settings=oJ,this.loadSettings()}get(){return this.settings}update(e){let i=this.settings;this.settings=H(H({},this.settings),e),this._onChange.dispatch(this.settings,i),this.storeSettings()}getAndSubscribe(e){return e(this.settings),this._onChange.addListener(e)}loadSettings(){let e=Os(_X);e&&(Object.values(Sl).includes(e.editor_theme)||delete e.editor_theme,this.settings=H(H({},this.settings),e))}storeSettings(){Ca(_X,this.settings)}},xt=new ew;function MO(t,e){let i=Dt.matchLanguageName(CO,e);if(!i)return df(t);let r=sJ();Ui.mount(window.document,r.module);let n=i.support.language.parser.parse(t),o="";return CP(t,n,r,(s,a)=>{o+=`<span class="${a}">${df(s)}</span>`},()=>{o+="<br />"}),o}function sJ(){return xt.get().editor_theme==="light"?Gv:Hv}var Of=class{constructor(e){this.size=e,this.cache=new Map}get(e){if(this.cache.has(e)){let i=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,i),i}else return}set(e,i){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size===this.size){let r=this.cache.keys().next().value;this.cache.delete(r)}this.cache.set(e,i)}};var aJ=0,lJ=()=>`mermaid-graph-${aJ++}`,cJ="5.15.4",QX=new Of(25);function AX(t,e){let i=LO(t),r=QX.get(i);return r?Promise.resolve(r):uJ().then(n=>(fJ(t),n.initialize(H({startOnLoad:!1},e)),n.render(lJ(),t).then(({svg:o})=>(QX.set(i,o),o)).catch(o=>`<div class="error-box whitespace-pre-wrap"><span class="font-semibold">Mermaid</span>
${o.message}</div>`)))}function uJ(){return import("./mermaid.core-IHQY3BMC.js").then(({default:t})=>t)}function fJ(t){let e=`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/${cJ}/css/all.min.css`;if(t.includes("fa:")&&!document.querySelector(`link[href="${e}"]`)){let i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.href=e,document.head.appendChild(i)}}var tw=class{constructor(e,i,{baseUrl:r=null,defaultCodeLanguage:n=null,emptyText:o="",allowedUriSchemes:s=[],useDarkTheme:a=!1}={}){this.container=e,this.content=i,this.baseUrl=r,this.defaultCodeLanguage=n,this.emptyText=o,this.allowedUriSchemes=s,this.useDarkTheme=a,this.render()}setContent(e){this.content=e,this.render()}render(){this.getHtml().then(e=>{let i=`<div>${e}</div>`;_S(this.container,i,{childrenOnly:!0})})}getHtml(){return Ch().use(Nh).use(Yh).use(Fh).use(mJ).use(dJ,{highlight:MO,defaultLanguage:this.defaultCodeLanguage}).use(nd,{allowDangerousHtml:!0}).use(Qd).use(pJ,{baseUrl:this.baseUrl}).use(Rd,hJ(this.allowedUriSchemes)).use($d).use(gJ,{useDarkTheme:this.useDarkTheme}).use(bJ,{baseUrl:this.baseUrl}).use(Ud,{closeEmptyElements:!0}).process(this.content).then(e=>String(e)).catch(e=>{console.error(`Failed to render markdown, reason: ${e.message}`)}).then(e=>e||`
<div class="text-gray-300">
${this.emptyText}
</div>
`)}},oa=tw;function hJ(t){return Ce(H({},Lr),{attributes:Ce(H({},Lr.attributes),{"*":[...Lr.attributes["*"]||[],"className","style"]}),protocols:Ce(H({},Lr.protocols),{href:[...Lr.protocols.href,...t]})})}function dJ(t){return e=>{let i=[];return mi(e,"code",r=>{let n=r.lang||t.defaultLanguage;if(n){let o=function(a){r.type="html",r.value=`<pre><code>${a}</code></pre>`},s=t.highlight(r.value,n);if(s&&typeof s.then=="function"){let a=Promise.resolve(s).then(o);i.push(a)}else o(s)}}),Promise.all(i).then(()=>null)}}function pJ(t){return e=>{t.baseUrl&&mi(e,"element",i=>{if(i.tagName==="a"&&i.properties){let r=i.properties.href;r&&!iw(r)&&!rw(r)&&!yJ(r)&&(i.properties.href=$X(t.baseUrl,r))}if(i.tagName==="img"&&i.properties){let r=i.properties.src;r&&!iw(r)&&!rw(r)&&(i.properties.src=$X(t.baseUrl,r))}}),mi(e,"element",i=>{i.tagName==="a"&&i.properties&&i.properties.href&&(i.properties.href=i.properties.href.split("/").map(r=>r===".."?"__parent__":r).join("/"))})}}var OJ=Ch().use(Xd,{fragment:!0});function mJ(t){return e=>{mi(e,"code",(i,r,n)=>{i.lang==="mermaid"&&(i.type="html",i.value=`
<div class="mermaid">${df(i.value)}</div>
`)})}}function gJ(t){return e=>{let i=[];return mi(e,"element",r=>{if((r.properties&&Array.isArray(r.properties.className)?r.properties.className:[]).includes("mermaid")){let o=function(c){let u=OJ.parse(c);Vb(u,!0),r.children=u.children},s=Jc(r,{whitespace:"pre"}),a=t.useDarkTheme?"dark":"default",l=AX(s,{theme:a}).then(o);i.push(l)}}),Promise.all(i).then(()=>null)}}function bJ(t){return e=>{mi(e,"element",i=>{if(i.properties&&i.properties.href){let r=i.properties.href;rw(r)?(i.properties["data-phx-link"]=t.baseUrl&&r.startsWith(t.baseUrl)?"patch":"redirect",i.properties["data-phx-link-state"]="push"):iw(r)&&(i.properties.target="_blank",i.properties.rel="noreferrer noopener")}})}}function iw(t){return/^(?:[a-z]+:)?\/\//i.test(t)}function yJ(t){return t.startsWith("#")}function rw(t){return t.startsWith("/")||t.startsWith(window.location.origin)}function $X(t,e){return t.replace(/\/$/,"")+"/"+e}var Tl=class{constructor(){this.subscribersByTopic={}}subscribe(e,i){return Array.isArray(this.subscribersByTopic[e])||(this.subscribersByTopic[e]=[]),this.subscribersByTopic[e].push(i),{destroy:()=>{this.unsubscribe(e,i)}}}unsubscribe(e,i){let r=this.subscribersByTopic[e].indexOf(i);r!==-1&&(this.subscribersByTopic[e].splice(r,1),this.subscribersByTopic[e].length===0&&delete this.subscribersByTopic[e])}broadcast(e,i){Array.isArray(this.subscribersByTopic[e])&&this.subscribersByTopic[e].forEach(r=>{r(i)})}},ti=new Tl;var XX=t=>typeof t=="object"&&t!=null&&t.nodeType===1,RX=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",nw=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let i=getComputedStyle(t,null);return RX(i.overflowY,e)||RX(i.overflowX,e)||(r=>{let n=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(s){return null}})(r);return!!n&&(n.clientHeight<r.scrollHeight||n.clientWidth<r.scrollWidth)})(t)}return!1},UO=(t,e,i,r,n,o,s,a)=>o<t&&s>e||o>t&&s<e?0:o<=t&&a<=i||s>=e&&a>=i?o-t-r:s>e&&a<i||o<t&&a>i?s-e+n:0,xJ=t=>{let e=t.parentElement;return e==null?t.getRootNode().host||null:e},ow=(t,e)=>{var i,r,n,o;if(typeof document=="undefined")return[];let{scrollMode:s,block:a,inline:l,boundary:c,skipOverflowHiddenElements:u}=e,f=typeof c=="function"?c:ue=>ue!==c;if(!XX(t))throw new TypeError("Invalid target");let d=document.scrollingElement||document.documentElement,p=[],g=t;for(;XX(g)&&f(g);){if(g=xJ(g),g===d){p.push(g);break}g!=null&&g===document.body&&nw(g)&&!nw(document.documentElement)||g!=null&&nw(g,u)&&p.push(g)}let x=(r=(i=window.visualViewport)==null?void 0:i.width)!=null?r:innerWidth,v=(o=(n=window.visualViewport)==null?void 0:n.height)!=null?o:innerHeight,{scrollX:S,scrollY:T}=window,{height:$,width:I,top:_,right:A,bottom:q,left:le}=t.getBoundingClientRect(),F=a==="start"||a==="nearest"?_:a==="end"?q:_+$/2,U=l==="center"?le+I/2:l==="end"?A:le,ie=[];for(let ue=0;ue<p.length;ue++){let re=p[ue],{height:he,width:me,top:ve,right:j,bottom:ae,left:V}=re.getBoundingClientRect();if(s==="if-needed"&&_>=0&&le>=0&&q<=v&&A<=x&&_>=ve&&q<=ae&&le>=V&&A<=j)return ie;let E=getComputedStyle(re),B=parseInt(E.borderLeftWidth,10),ne=parseInt(E.borderTopWidth,10),D=parseInt(E.borderRightWidth,10),Ue=parseInt(E.borderBottomWidth,10),Ze=0,Ve=0,Xt="offsetWidth"in re?re.offsetWidth-re.clientWidth-B-D:0,Xe="offsetHeight"in re?re.offsetHeight-re.clientHeight-ne-Ue:0,_t="offsetWidth"in re?re.offsetWidth===0?0:me/re.offsetWidth:0,Qt="offsetHeight"in re?re.offsetHeight===0?0:he/re.offsetHeight:0;if(d===re)Ze=a==="start"?F:a==="end"?F-v:a==="nearest"?UO(T,T+v,v,ne,Ue,T+F,T+F+$,$):F-v/2,Ve=l==="start"?U:l==="center"?U-x/2:l==="end"?U-x:UO(S,S+x,x,B,D,S+U,S+U+I,I),Ze=Math.max(0,Ze+T),Ve=Math.max(0,Ve+S);else{Ze=a==="start"?F-ve-ne:a==="end"?F-ae+Ue+Xe:a==="nearest"?UO(ve,ae,he,ne,Ue+Xe,F,F+$,$):F-(ve+he/2)+Xe/2,Ve=l==="start"?U-V-B:l==="center"?U-(V+me/2)+Xt/2:l==="end"?U-j+D+Xt:UO(V,j,me,B,D+Xt,U,U+I,I);let{scrollLeft:cr,scrollTop:ur}=re;Ze=Math.max(0,Math.min(ur+Ze/Qt,re.scrollHeight-he/Qt+Xe)),Ve=Math.max(0,Math.min(cr+Ve/_t,re.scrollWidth-me/_t+Xt)),F+=ur-Ze,U+=cr-Ve}ie.push({el:re,top:Ze,left:Ve})}return ie};var vJ=t=>t===!1?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&Object.keys(e).length!==0)(t)?t:{block:"start",inline:"nearest"};function zO(t,e){if(!t.isConnected||!(n=>{let o=n;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(t))return;let i=(n=>{let o=window.getComputedStyle(n);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(t);if((n=>typeof n=="object"&&typeof n.behavior=="function")(e))return e.behavior(ow(t,e));let r=typeof e=="boolean"||e==null?void 0:e.behavior;for(let{el:n,top:o,left:s}of ow(t,vJ(e))){let a=o-i.top+i.bottom,l=s-i.left+i.right;n.scroll({top:a,left:l,behavior:r})}}function sa(t){return["code","smart","setup"].includes(t)}function LX(t){return["markdown","code","setup"].includes(t)}var wJ={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.liveEditors={},this.updateInsertModeAvailability(),["code","smart"].includes(this.props.type)&&this.el.querySelector("[data-el-amplify-outputs-button]").addEventListener("click",e=>{this.el.toggleAttribute("data-js-amplified")}),this.props.type==="smart"&&this.el.querySelector("[data-el-toggle-source-button]").addEventListener("click",e=>{this.el.toggleAttribute("data-js-source-visible"),this.updateInsertModeAvailability(),this.maybeFocusCurrentEditor()}),this.el.addEventListener("lb:cell:editor_created",t=>{let{tag:e,liveEditor:i}=t.detail;this.handleCellEditorCreated(e,i)}),this.el.addEventListener("lb:cell:editor_removed",t=>{let{tag:e}=t.detail;this.handleCellEditorRemoved(e)}),this.el.addEventListener("mouseenter",t=>{this.el.setAttribute("data-js-hover","")}),this.el.addEventListener("mouseleave",t=>{this.el.removeAttribute("data-js-hover")}),this.subscriptions=[ti.subscribe("navigation",this.handleNavigationEvent.bind(this)),ti.subscribe("cells",this.handleCellsEvent.bind(this)),ti.subscribe(`cells:${this.props.cellId}`,this.handleCellEvent.bind(this))],this._handleViewportResize=this.handleViewportResize.bind(this),window.visualViewport.addEventListener("resize",this._handleViewportResize)},disconnected(){this.el.removeAttribute("id")},destroyed(){this.subscriptions.forEach(t=>t.destroy()),window.visualViewport.removeEventListener("resize",this._handleViewportResize)},updated(){let t=this.props;this.props=this.getProps(),this.props.evaluationDigest!==t.evaluationDigest&&this.updateChangeIndicator()},getProps(){return ht(this.el,["cell-id","type","session-path","evaluation-digest","smart-cell-js-view-ref","allowed-uri-schemes"])},handleNavigationEvent(t){t.type==="element_focused"?this.handleElementFocused(t.focusableId,t.scroll):t.type==="insert_mode_changed"&&this.handleInsertModeChanged(t.enabled)},handleCellsEvent(t){t.type==="cell_moved"&&this.handleCellMoved(t.cellId)},handleCellEvent(t){t.type==="dispatch_queue_evaluation"&&this.handleDispatchQueueEvaluation(t.dispatch)},handleElementFocused(t,e){this.props.cellId===t?(this.isFocused=!0,this.el.setAttribute("data-js-focused",""),e&&na(this.el)):this.isFocused&&(this.isFocused=!1,this.el.removeAttribute("data-js-focused"))},handleCellEditorCreated(t,e){if(this.liveEditors[t]=e,this.updateInsertModeAvailability(),e===this.currentEditor()&&this.maybeFocusCurrentEditor(),e.onBlur(()=>{setTimeout(()=>{this.isFocused&&this.insertMode&&this.currentEditor().focus()},0)}),e.onFocus(()=>{setTimeout(()=>{(!this.isFocused||!this.insertMode)&&this.currentEditor().blur()},0)}),t==="primary"){let i=e.getSource();if(this.el.toggleAttribute("data-js-empty",i===""),e.onChange(r=>{this.el.toggleAttribute("data-js-empty",r==="")}),this.props.type==="markdown"){let r=this.el.querySelector("[data-el-markdown-container]"),n=new oa(r,i,{baseUrl:this.props.sessionPath,emptyText:"Empty markdown cell",allowedUriSchemes:this.props.allowedUriSchemes});e.onChange(o=>{n.setContent(o)})}sa(this.props.type)&&(this.updateChangeIndicator(),e.onChange(r=>{this.updateChangeIndicator()}),this.handleEvent(`evaluation_finished:${this.props.cellId}`,({code_markers:r})=>{e.setCodeMarkers(r)}),this.handleEvent(`start_evaluation:${this.props.cellId}`,()=>{e.clearDoctests()}),this.handleEvent(`doctest_report:${this.props.cellId}`,r=>{e.updateDoctests([r])}),this.handleEvent("erase_outputs",()=>{e.setCodeMarkers([]),e.clearDoctests()}))}},handleCellEditorRemoved(t){delete this.liveEditors[t]},handleViewportResize(){this.isFocused&&this.scrollEditorCursorIntoViewIfNeeded()},currentEditor(){return this.liveEditors[this.currentEditorTag()]},currentEditorTag(){return this.props.type==="smart"?this.el.hasAttribute("data-js-source-visible")?"primary":"secondary":"primary"},updateInsertModeAvailability(){this.el.toggleAttribute("data-js-insert-mode-disabled",!this.currentEditor())},maybeFocusCurrentEditor(){this.isFocused&&this.insertMode&&this.currentEditor().focus()},updateChangeIndicator(){let t=this.el.querySelector("[data-el-cell-status]");if(t&&t.querySelector("[data-el-change-indicator]")&&this.props.evaluationDigest){let i=this.liveEditors.primary.getSource(),r=LO(i),n=this.props.evaluationDigest!==r;this.el.toggleAttribute("data-js-changed",n)}},handleInsertModeChanged(t){this.isFocused&&!this.insertMode&&t?(this.insertMode=t,this.currentEditor()&&(this.currentEditor().focus(),this.scrollEditorCursorIntoViewIfNeeded())):this.insertMode&&!t&&(this.insertMode=t,this.currentEditor()&&this.currentEditor().blur())},handleCellMoved(t){this.isFocused&&t===this.props.cellId&&na(this.el)},handleDispatchQueueEvaluation(t){this.props.type==="smart"&&this.props.smartCellJsViewRef?ti.broadcast(`js_views:${this.props.smartCellJsViewRef}`,{type:"sync",callback:t}):t()},scrollEditorCursorIntoViewIfNeeded(){let t=this.currentEditor().getElementAtCursor();zO(t,{scrollMode:"if-needed",behavior:"smooth",block:"center"})}},IX=wJ;var gf=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),r=lw(t.state,i.from);return r.line?kJ(t):r.block?SJ(t):!1};function bf(t,e){return({state:i,dispatch:r})=>{if(i.readOnly)return!1;let n=t(e,i);return n?(r(i.update(n)),!0):!1}}var kJ=bf(cw,0),DX=bf(cw,1),NX=bf(cw,2),MX=bf(UX,0);var SJ=bf((t,e)=>UX(t,e,EJ(e)),0);function lw(t,e){let i=t.languageDataAt("commentTokens",e);return i.length?i[0]:{}}var mf=50;function TJ(t,{open:e,close:i},r,n){let o=t.sliceDoc(r-mf,r),s=t.sliceDoc(n,n+mf),a=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(s)[0].length,c=o.length-a;if(o.slice(c-e.length,c)==e&&s.slice(l,l+i.length)==i)return{open:{pos:r-a,margin:a&&1},close:{pos:n+l,margin:l&&1}};let u,f;n-r<=2*mf?u=f=t.sliceDoc(r,n):(u=t.sliceDoc(r,r+mf),f=t.sliceDoc(n-mf,n));let d=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(f)[0].length,g=f.length-p-i.length;return u.slice(d,d+e.length)==e&&f.slice(g,g+i.length)==i?{open:{pos:r+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:n-p-i.length,margin:/\s/.test(f.charAt(g-1))?1:0}}:null}function EJ(t){let e=[];for(let i of t.selection.ranges){let r=t.doc.lineAt(i.from),n=i.to<=r.to?r:t.doc.lineAt(i.to),o=e.length-1;o>=0&&e[o].to>r.from?e[o].to=n.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:n.to})}return e}function UX(t,e,i=e.selection.ranges){let r=i.map(o=>lw(e,o.from).block);if(!r.every(o=>o))return null;let n=i.map((o,s)=>TJ(e,r[s],o.from,o.to));if(t!=2&&!n.every(o=>o))return{changes:e.changes(i.map((o,s)=>n[s]?[]:[{from:o.from,insert:r[s].open+" "},{from:o.to,insert:" "+r[s].close}]))};if(t!=1&&n.some(o=>o)){let o=[];for(let s=0,a;s<n.length;s++)if(a=n[s]){let l=r[s],{open:c,close:u}=a;o.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:u.pos-u.margin,to:u.pos+l.close.length})}return{changes:o}}return null}function cw(t,e,i=e.selection.ranges){let r=[],n=-1;for(let{from:o,to:s}of i){let a=r.length,l=1e9,c=lw(e,o).line;if(c){for(let u=o;u<=s;){let f=e.doc.lineAt(u);if(f.from>n&&(o==s||s>f.from)){n=f.from;let d=/^\s*/.exec(f.text)[0].length,p=d==f.length,g=f.text.slice(d,d+c.length)==c?d:-1;d<f.text.length&&d<l&&(l=d),r.push({line:f,comment:g,token:c,indent:d,empty:p,single:!1})}u=f.to+1}if(l<1e9)for(let u=a;u<r.length;u++)r[u].indent<r[u].line.text.length&&(r[u].indent=l);r.length==a+1&&(r[a].single=!0)}}if(t!=2&&r.some(o=>o.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:a,token:l,indent:c,empty:u,single:f}of r)(f||!u)&&o.push({from:a.from+c,insert:l+" "});let s=e.changes(o);return{changes:s,selection:e.selection.map(s,1)}}else if(t!=1&&r.some(o=>o.comment>=0)){let o=[];for(let{line:s,comment:a,token:l}of r)if(a>=0){let c=s.from+a,u=c+l.length;s.text[u-s.from]==" "&&u++,o.push({from:c,to:u})}return{changes:o}}return null}var aw=xi.define(),CJ=xi.define(),PJ=be.define(),zX=be.define({combine(t){return kt(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(r,n)=>e(r,n)||i(r,n)})}}),jX=He.define({create(){return aa.empty},update(t,e){let i=e.state.facet(zX),r=e.annotation(aw);if(r){let l=zr.fromTransaction(e,r.selection),c=r.side,u=c==0?t.undone:t.done;return l?u=qO(u,u.length,i.minDepth,l):u=ZX(u,e.startState.selection),new aa(c==0?r.rest:u,c==0?u:r.rest)}let n=e.annotation(CJ);if((n=="full"||n=="before")&&(t=t.isolate()),e.annotation(Ct.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=zr.fromTransaction(e),s=e.annotation(Ct.time),a=e.annotation(Ct.userEvent);return o?t=t.addChanges(o,s,a,i,e):e.selection&&(t=t.addSelection(e.startState.selection,s,a,i.newGroupDelay)),(n=="full"||n=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new aa(t.done.map(zr.fromJSON),t.undone.map(zr.fromJSON))}});function qX(t={}){return[jX,zX.of(t),de.domEventHandlers({beforeinput(e,i){let r=e.inputType=="historyUndo"?la:e.inputType=="historyRedo"?es:null;return r?(e.preventDefault(),r(i)):!1}})]}function uw(t,e){return function({state:i,dispatch:r}){if(!e&&i.readOnly)return!1;let n=i.field(jX,!1);if(!n)return!1;let o=n.pop(t,i,e);return o?(r(o),!0):!1}}var la=uw(0,!1),es=uw(1,!1),WX=uw(0,!0);var zr=class t{constructor(e,i,r,n,o){this.changes=e,this.effects=i,this.mapped=r,this.startSelection=n,this.selectionsAfter=o}setSelAfter(e){return new t(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(n=>n.toJSON())}}static fromJSON(e){return new t(e.changes&&Qi.fromJSON(e.changes),[],e.mapped&&Wn.fromJSON(e.mapped),e.startSelection&&ee.fromJSON(e.startSelection),e.selectionsAfter.map(ee.fromJSON))}static fromTransaction(e,i){let r=wr;for(let n of e.startState.facet(PJ)){let o=n(e);o.length&&(r=r.concat(o))}return!r.length&&e.changes.empty?null:new t(e.changes.invert(e.startState.doc),r,void 0,i||e.startState.selection,wr)}static selection(e){return new t(void 0,wr,void 0,void 0,e)}};function qO(t,e,i,r){let n=e+1>i+20?e-i-1:0,o=t.slice(n,e);return o.push(r),o}function _J(t,e){let i=[],r=!1;return t.iterChangedRanges((n,o)=>i.push(n,o)),e.iterChangedRanges((n,o,s,a)=>{for(let l=0;l<i.length;){let c=i[l++],u=i[l++];a>=c&&s<=u&&(r=!0)}}),r}function QJ(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,r)=>i.empty!=e.ranges[r].empty).length===0}function BX(t,e){return t.length?e.length?t.concat(e):t:e}var wr=[],AJ=200;function ZX(t,e){if(t.length){let i=t[t.length-1],r=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-AJ));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),qO(t,t.length-1,1e9,i.setSelAfter(r)))}else return[zr.selection([e])]}function $J(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function sw(t,e){if(!t.length)return t;let i=t.length,r=wr;for(;i;){let n=XJ(t[i-1],e,r);if(n.changes&&!n.changes.empty||n.effects.length){let o=t.slice(0,i);return o[i-1]=n,o}else e=n.mapped,i--,r=n.selectionsAfter}return r.length?[zr.selection(r)]:wr}function XJ(t,e,i){let r=BX(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):wr,i);if(!t.changes)return zr.selection(r);let n=t.changes.map(e),o=e.mapDesc(t.changes,!0),s=t.mapped?t.mapped.composeDesc(o):o;return new zr(n,Se.mapEffects(t.effects,e),s,t.startSelection.map(o),r)}var RJ=/^(input\.type|delete)($|\.)/,aa=class t{constructor(e,i,r=0,n=void 0){this.done=e,this.undone=i,this.prevTime=r,this.prevUserEvent=n}isolate(){return this.prevTime?new t(this.done,this.undone):this}addChanges(e,i,r,n,o){let s=this.done,a=s[s.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!r||RJ.test(r))&&(!a.selectionsAfter.length&&i-this.prevTime<n.newGroupDelay&&n.joinToEvent(o,_J(a.changes,e.changes))||r=="input.type.compose")?s=qO(s,s.length-1,n.minDepth,new zr(e.changes.compose(a.changes),BX(e.effects,a.effects),a.mapped,a.startSelection,wr)):s=qO(s,s.length,n.minDepth,e),new t(s,wr,i,r)}addSelection(e,i,r,n){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:wr;return o.length>0&&i-this.prevTime<n&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&QJ(o[o.length-1],e)?this:new t(ZX(this.done,e),this.undone,i,r)}addMapping(e){return new t(sw(this.done,e),sw(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,i,r){let n=e==0?this.done:this.undone;if(n.length==0)return null;let o=n[n.length-1],s=o.selectionsAfter[0]||i.selection;if(r&&o.selectionsAfter.length)return i.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:aw.of({side:e,rest:$J(n),selection:s}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(o.changes){let a=n.length==1?wr:n.slice(0,n.length-1);return o.mapped&&(a=sw(a,o.mapped)),i.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:aw.of({side:e,rest:a,selection:s}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}};aa.empty=new aa(wr,wr);function yf(t,e){return ee.create(t.ranges.map(e),t.mainIndex)}function ts(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function ca({state:t,dispatch:e},i){let r=yf(t.selection,i);return r.eq(t.selection,!0)?!1:(e(ts(t,r)),!0)}function WO(t,e){return ee.cursor(e?t.to:t.from)}function BO(t,e){return ca(t,i=>i.empty?t.moveByChar(i,e):WO(i,e))}function is(t){return t.textDirectionAt(t.state.selection.main.head)==ot.LTR}var xf=t=>BO(t,!is(t)),fw=t=>BO(t,is(t)),VX=t=>BO(t,!0),ZO=t=>BO(t,!1);function YX(t,e){return ca(t,i=>i.empty?t.moveByGroup(i,e):WO(i,e))}var VO=t=>YX(t,!is(t)),YO=t=>YX(t,is(t));var k2e=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function FX(t,e){return ca(t,i=>{if(!i.empty)return WO(i,e);let r=t.moveVertically(i,e);return r.head!=i.head?r:t.moveToLineBoundary(i,e)})}var vf=t=>FX(t,!1),wf=t=>FX(t,!0);function HX(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,i=0,r=0,n;if(e){for(let o of t.state.facet(de.scrollMargins)){let s=o(t);s!=null&&s.top&&(i=Math.max(s==null?void 0:s.top,i)),s!=null&&s.bottom&&(r=Math.max(s==null?void 0:s.bottom,r))}n=t.scrollDOM.clientHeight-i-r}else n=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:r,selfScroll:e,height:Math.max(t.defaultLineHeight,n-5)}}function GX(t,e){let i=HX(t),{state:r}=t,n=yf(r.selection,s=>s.empty?t.moveVertically(s,e,i.height):WO(s,e));if(n.eq(r.selection))return!1;let o;if(i.selfScroll){let s=t.coordsAtPos(r.selection.main.head),a=t.scrollDOM.getBoundingClientRect(),l=a.top+i.marginTop,c=a.bottom-i.marginBottom;s&&s.top>l&&s.bottom<c&&(o=de.scrollIntoView(n.main.head,{y:"start",yMargin:s.top-l}))}return t.dispatch(ts(r,n),{effects:o}),!0}var El=t=>GX(t,!1),Cl=t=>GX(t,!0);function FO(t,e,i){let r=t.lineBlockAt(e.head),n=t.moveToLineBoundary(e,i);if(n.head==e.head&&n.head!=(i?r.to:r.from)&&(n=t.moveToLineBoundary(e,i,!1)),!i&&n.head==r.from&&r.length){let o=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;o&&e.head!=r.from+o&&(n=ee.cursor(r.from+o))}return n}var kf=t=>ca(t,e=>FO(t,e,!0)),Sf=t=>ca(t,e=>FO(t,e,!1));var HO=t=>ca(t,e=>ee.cursor(t.lineBlockAt(e.head).from,1)),GO=t=>ca(t,e=>ee.cursor(t.lineBlockAt(e.head).to,-1));function LJ(t,e,i){let r=!1,n=yf(t.selection,o=>{let s=xr(t,o.head,-1)||xr(t,o.head,1)||o.head>0&&xr(t,o.head-1,1)||o.head<t.doc.length&&xr(t,o.head+1,-1);if(!s||!s.end)return o;r=!0;let a=s.start.from==o.head?s.end.to:s.end.from;return i?ee.range(o.anchor,a):ee.cursor(a)});return r?(e(ts(t,n)),!0):!1}var KX=({state:t,dispatch:e})=>LJ(t,e,!1);function rs(t,e){let i=yf(t.state.selection,r=>{let n=e(r);return ee.range(r.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return i.eq(t.state.selection)?!1:(t.dispatch(ts(t.state,i)),!0)}function KO(t,e){return rs(t,i=>t.moveByChar(i,e))}var hw=t=>KO(t,!is(t)),dw=t=>KO(t,is(t)),pw=t=>KO(t,!0),Ow=t=>KO(t,!1);function JO(t,e){return rs(t,i=>t.moveByGroup(i,e))}var em=t=>JO(t,!is(t)),tm=t=>JO(t,is(t)),JX=t=>JO(t,!0),e6=t=>JO(t,!1);function t6(t,e){return rs(t,i=>t.moveVertically(i,e))}var Pl=t=>t6(t,!1),_l=t=>t6(t,!0);function i6(t,e){return rs(t,i=>t.moveVertically(i,e,HX(t).height))}var Tf=t=>i6(t,!1),ua=t=>i6(t,!0),mw=t=>rs(t,e=>FO(t,e,!0)),gw=t=>rs(t,e=>FO(t,e,!1));var Ef=t=>rs(t,e=>ee.cursor(t.lineBlockAt(e.head).from)),Cf=t=>rs(t,e=>ee.cursor(t.lineBlockAt(e.head).to)),Pf=({state:t,dispatch:e})=>(e(ts(t,{anchor:0})),!0),_f=({state:t,dispatch:e})=>(e(ts(t,{anchor:t.doc.length})),!0),Ql=({state:t,dispatch:e})=>(e(ts(t,{anchor:t.selection.main.anchor,head:0})),!0),Al=({state:t,dispatch:e})=>(e(ts(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),im=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),r6=({state:t,dispatch:e})=>{let i=om(t).map(({from:r,to:n})=>ee.range(r,Math.min(n+1,t.doc.length)));return e(t.update({selection:ee.create(i),userEvent:"select"})),!0};function rm(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:r}=t,n=r.changeByRange(o=>{let{from:s,to:a}=o;if(s==a){let l=e(o);l<s?(i="delete.backward",l=jO(t,l,!1)):l>s&&(i="delete.forward",l=jO(t,l,!0)),s=Math.min(s,l),a=Math.max(a,l)}else s=jO(t,s,!1),a=jO(t,a,!0);return s==a?{range:o}:{changes:{from:s,to:a},range:ee.cursor(s,s<o.head?-1:1)}});return n.changes.empty?!1:(t.dispatch(r.update(n,{scrollIntoView:!0,userEvent:i,effects:i=="delete.selection"?de.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function jO(t,e,i){if(t instanceof de)for(let r of t.state.facet(de.atomicRanges).map(n=>n(t)))r.between(e,e,(n,o)=>{n<e&&o>e&&(e=i?o:n)});return e}var n6=(t,e,i)=>rm(t,r=>{let n=r.from,{state:o}=t,s=o.doc.lineAt(n),a,l;if(i&&!e&&n>s.from&&n<s.from+200&&!/[^ \t]/.test(a=s.text.slice(0,n-s.from))){if(a[a.length-1]==" ")return n-1;let c=Ai(a,o.tabSize),u=c%hn(o)||hn(o);for(let f=0;f<u&&a[a.length-1-f]==" ";f++)n--;l=n}else l=zt(s.text,n-s.from,e,e)+s.from,l==n&&s.number!=(e?o.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(s.text.slice(l-s.from,n-s.from))&&(l=zt(s.text,l-s.from,!1,!1)+s.from);return l}),$l=t=>n6(t,!1,!0);var Qf=t=>n6(t,!0,!1),o6=(t,e)=>rm(t,i=>{let r=i.head,{state:n}=t,o=n.doc.lineAt(r),s=n.charCategorizer(r);for(let a=null;;){if(r==(e?o.to:o.from)){r==i.head&&o.number!=(e?n.doc.lines:1)&&(r+=e?1:-1);break}let l=zt(o.text,r-o.from,e)+o.from,c=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),u=s(c);if(a!=null&&u!=a)break;(c!=" "||r!=i.head)&&(a=u),r=l}return r}),bw=t=>o6(t,!1),s6=t=>o6(t,!0),yw=t=>rm(t,e=>{let i=t.lineBlockAt(e.head).to;return e.head<i?i:Math.min(t.state.doc.length,e.head+1)}),a6=t=>rm(t,e=>{let i=t.lineBlockAt(e.head).from;return e.head>i?i:Math.max(0,e.head-1)});var Af=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:Ge.of(["",""])},range:ee.cursor(r.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},nm=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let n=r.from,o=t.doc.lineAt(n),s=n==o.from?n-1:zt(o.text,n-o.from,!1)+o.from,a=n==o.to?n+1:zt(o.text,n-o.from,!0)+o.from;return{changes:{from:s,to:a,insert:t.doc.slice(n,a).append(t.doc.slice(s,n))},range:ee.cursor(a)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function om(t){let e=[],i=-1;for(let r of t.selection.ranges){let n=t.doc.lineAt(r.from),o=t.doc.lineAt(r.to);if(!r.empty&&r.to==o.from&&(o=t.doc.lineAt(r.to-1)),i>=n.number){let s=e[e.length-1];s.to=o.to,s.ranges.push(r)}else e.push({from:n.from,to:o.to,ranges:[r]});i=o.number+1}return e}function l6(t,e,i){if(t.readOnly)return!1;let r=[],n=[];for(let o of om(t)){if(i?o.to==t.doc.length:o.from==0)continue;let s=t.doc.lineAt(i?o.to+1:o.from-1),a=s.length+1;if(i){r.push({from:o.to,to:s.to},{from:o.from,insert:s.text+t.lineBreak});for(let l of o.ranges)n.push(ee.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{r.push({from:s.from,to:o.from},{from:o.to,insert:t.lineBreak+s.text});for(let l of o.ranges)n.push(ee.range(l.anchor-a,l.head-a))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:ee.create(n,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}var c6=({state:t,dispatch:e})=>l6(t,e,!1),u6=({state:t,dispatch:e})=>l6(t,e,!0);function f6(t,e,i){if(t.readOnly)return!1;let r=[];for(let n of om(t))i?r.push({from:n.from,insert:t.doc.slice(n.from,n.to)+t.lineBreak}):r.push({from:n.to,insert:t.lineBreak+t.doc.slice(n.from,n.to)});return e(t.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var h6=({state:t,dispatch:e})=>f6(t,e,!1),d6=({state:t,dispatch:e})=>f6(t,e,!0),p6=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(om(e).map(({from:n,to:o})=>(n>0?n--:o<e.doc.length&&o++,{from:n,to:o}))),r=yf(e.selection,n=>{let o;if(t.lineWrapping){let s=t.lineBlockAt(n.head),a=t.coordsAtPos(n.head,n.assoc||1);a&&(o=s.bottom+t.documentTop-a.bottom+t.defaultLineHeight/2)}return t.moveVertically(n,!0,o)}).map(i);return t.dispatch({changes:i,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function IJ(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=ze(t).resolveInner(e),r=i.childBefore(e),n=i.childAfter(e),o;return r&&n&&r.to<=e&&n.from>=e&&(o=r.type.prop(Qe.closedBy))&&o.indexOf(n.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(n.from).from&&!/\S/.test(t.sliceDoc(r.to,n.from))?{from:r.to,to:n.from}:null}var $f=m6(!1),O6=m6(!0);function m6(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let r=e.changeByRange(n=>{let{from:o,to:s}=n,a=e.doc.lineAt(o),l=!t&&o==s&&IJ(e,o);t&&(o=s=(s<=a.to?a:e.doc.lineAt(s)).to);let c=new qs(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=fl(c,o);for(u==null&&(u=Ai(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));s<a.to&&/\s/.test(a.text[s-a.from]);)s++;l?{from:o,to:s}=l:o>a.from&&o<a.from+100&&!/\S/.test(a.text.slice(0,o))&&(o=a.from);let f=["",Fn(e,u)];return l&&f.push(Fn(e,c.lineIndent(a.from,-1))),{changes:{from:o,to:s,insert:Ge.of(f)},range:ee.cursor(o+1+f[1].length)}});return i(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}}function xw(t,e){let i=-1;return t.changeByRange(r=>{let n=[];for(let s=r.from;s<=r.to;){let a=t.doc.lineAt(s);a.number>i&&(r.empty||r.to>a.from)&&(e(a,n,r),i=a.number),s=a.to+1}let o=t.changes(n);return{changes:n,range:ee.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}var g6=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),r=new qs(t,{overrideIndentation:o=>{let s=i[o];return s==null?-1:s}}),n=xw(t,(o,s,a)=>{let l=fl(r,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=Fn(t,l);(c!=u||a.from<o.from+c.length)&&(i[o.from]=l,s.push({from:o.from,to:o.from+c.length,insert:u}))});return n.changes.empty||e(t.update(n,{userEvent:"indent"})),!0},Xf=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(xw(t,(i,r)=>{r.push({from:i.from,insert:t.facet(Nr)})}),{userEvent:"input.indent"})),!0),Rf=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(xw(t,(i,r)=>{let n=/^\s*/.exec(i.text)[0];if(!n)return;let o=Ai(n,t.tabSize),s=0,a=Fn(t,Math.max(0,o-hn(t)));for(;s<n.length&&s<a.length&&n.charCodeAt(s)==a.charCodeAt(s);)s++;r.push({from:i.from+s,to:i.from+n.length,insert:a.slice(s)})}),{userEvent:"delete.dedent"})),!0);function ct(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var n=i[r];typeof n=="string"?t.setAttribute(r,n):n!=null&&(t[r]=n)}e++}for(;e<arguments.length;e++)b6(t,arguments[e]);return t}function b6(t,e){if(typeof e=="string")t.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)t.appendChild(e);else if(Array.isArray(e))for(var i=0;i<e.length;i++)b6(t,e[i]);else throw new RangeError("Unsupported child node: "+e)}var y6=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t,os=class{constructor(e,i,r=0,n=e.length,o,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,n),this.bufferStart=r,this.normalize=o?a=>o(y6(a)):y6,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ut(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=cu(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=_i(e);let n=this.normalize(i);for(let o=0,s=r;;o++){let a=n.charCodeAt(o),l=this.match(a,s,this.bufferPos+this.bufferStart);if(o==n.length-1){if(l)return this.value=l,this;break}s==r&&o<i.length&&i.charCodeAt(o)==a&&s++}}}match(e,i,r){let n=null;for(let o=0;o<this.matches.length;o+=2){let s=this.matches[o],a=!1;this.query.charCodeAt(s)==e&&(s==this.query.length-1?n={from:this.matches[o+1],to:r}:(this.matches[o]++,a=!0)),a||(this.matches.splice(o,2),o-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?n={from:i,to:r}:this.matches.push(1,i)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferStart)&&(n=null),n}};typeof Symbol!="undefined"&&(os.prototype[Symbol.iterator]=function(){return this});var T6={from:-1,to:-1,match:/.*/.exec("")},Cw="gm"+(/x/.unicode==null?"":"u"),Ll=class{constructor(e,i,r,n=0,o=e.length){if(this.text=e,this.to=o,this.curLine="",this.done=!1,this.value=T6,/\\[sWDnr]|\n|\r|\[\^/.test(i))return new cm(e,i,r,n,o);this.re=new RegExp(i,Cw+(r!=null&&r.ignoreCase?"i":"")),this.test=r==null?void 0:r.test,this.iter=e.iter();let s=e.lineAt(n);this.curLineStart=s.from,this.matchPos=um(e,n),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let r=this.curLineStart+i.index,n=r+i[0].length;if(this.matchPos=um(this.text,n+(r==n?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(r<n||r>this.value.to)&&(!this.test||this.test(r,n,i)))return this.value={from:r,to:n,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}},vw=new WeakMap,lm=class t{constructor(e,i){this.from=e,this.text=i}get to(){return this.from+this.text.length}static get(e,i,r){let n=vw.get(e);if(!n||n.from>=r||n.to<=i){let a=new t(i,e.sliceString(i,r));return vw.set(e,a),a}if(n.from==i&&n.to==r)return n;let{text:o,from:s}=n;return s>i&&(o=e.sliceString(i,s)+o,s=i),n.to<r&&(o+=e.sliceString(n.to,r)),vw.set(e,new t(s,o)),new t(i,o.slice(i-s,r-s))}},cm=class{constructor(e,i,r,n,o){this.text=e,this.to=o,this.done=!1,this.value=T6,this.matchPos=um(e,n),this.re=new RegExp(i,Cw+(r!=null&&r.ignoreCase?"i":"")),this.test=r==null?void 0:r.test,this.flat=lm.get(e,n,this.chunkEnd(n+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let r=this.flat.from+i.index,n=r+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,n,i)))return this.value={from:r,to:n,match:i},this.matchPos=um(this.text,n+(r==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=lm.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol!="undefined"&&(Ll.prototype[Symbol.iterator]=cm.prototype[Symbol.iterator]=function(){return this});function NJ(t){try{return new RegExp(t,Cw),!0}catch(e){return!1}}function um(t,e){if(e>=t.length)return e;let i=t.lineAt(e),r;for(;e<i.to&&(r=i.text.charCodeAt(e-i.from))>=56320&&r<57344;)e++;return e}function ww(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),i=ct("input",{class:"cm-textfield",name:"line",value:e}),r=ct("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:fm.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),n())},onsubmit:o=>{o.preventDefault(),n()}},ct("label",t.state.phrase("Go to line"),": ",i)," ",ct("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function n(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.value);if(!o)return;let{state:s}=t,a=s.doc.lineAt(s.selection.main.head),[,l,c,u,f]=o,d=u?+u.slice(1):0,p=c?+c:a.number;if(c&&f){let v=p/100;l&&(v=v*(l=="-"?-1:1)+a.number/s.doc.lines),p=Math.round(s.doc.lines*v)}else c&&l&&(p=p*(l=="-"?-1:1)+a.number);let g=s.doc.line(Math.max(1,Math.min(s.doc.lines,p))),x=ee.cursor(g.from+Math.max(0,Math.min(d,g.length)));t.dispatch({effects:[fm.of(!1),de.scrollIntoView(x.from,{y:"center"})],selection:x}),t.focus()}return{dom:r}}var fm=Se.define(),x6=He.define({create(){return!0},update(t,e){for(let i of e.effects)i.is(fm)&&(t=i.value);return t},provide:t=>br.from(t,e=>e?ww:null)}),E6=t=>{let e=Us(t,ww);if(!e){let i=[fm.of(!0)];t.state.field(x6,!1)==null&&i.push(Se.appendConfig.of([x6,MJ])),t.dispatch({effects:i}),e=Us(t,ww)}return e&&e.dom.querySelector("input").select(),!0},MJ=de.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),UJ={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},C6=be.define({combine(t){return kt(t,UJ,{highlightWordAroundCursor:(e,i)=>e||i,minSelectionLength:Math.min,maxMatches:Math.min})}});function P6(t){let e=[BJ,WJ];return t&&e.push(C6.of(t)),e}var zJ=we.mark({class:"cm-selectionMatch"}),jJ=we.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function v6(t,e,i,r){return(i==0||t(e.sliceDoc(i-1,i))!=dt.Word)&&(r==e.doc.length||t(e.sliceDoc(r,r+1))!=dt.Word)}function qJ(t,e,i,r){return t(e.sliceDoc(i,i+1))==dt.Word&&t(e.sliceDoc(r-1,r))==dt.Word}var WJ=Fe.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(C6),{state:i}=t,r=i.selection;if(r.ranges.length>1)return we.none;let n=r.main,o,s=null;if(n.empty){if(!e.highlightWordAroundCursor)return we.none;let l=i.wordAt(n.head);if(!l)return we.none;s=i.charCategorizer(n.head),o=i.sliceDoc(l.from,l.to)}else{let l=n.to-n.from;if(l<e.minSelectionLength||l>200)return we.none;if(e.wholeWords){if(o=i.sliceDoc(n.from,n.to),s=i.charCategorizer(n.head),!(v6(s,i,n.from,n.to)&&qJ(s,i,n.from,n.to)))return we.none}else if(o=i.sliceDoc(n.from,n.to),!o)return we.none}let a=[];for(let l of t.visibleRanges){let c=new os(i.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!s||v6(s,i,u,f))&&(n.empty&&u<=n.from&&f>=n.to?a.push(jJ.range(u,f)):(u>=n.to||f<=n.from)&&a.push(zJ.range(u,f)),a.length>e.maxMatches))return we.none}}return we.set(a)}},{decorations:t=>t.decorations}),BJ=de.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),ZJ=({state:t,dispatch:e})=>{let{selection:i}=t,r=ee.create(i.ranges.map(n=>t.wordAt(n.head)||ee.cursor(n.head)),i.mainIndex);return r.eq(i)?!1:(e(t.update({selection:r})),!0)};function VJ(t,e){let{main:i,ranges:r}=t.selection,n=t.wordAt(i.head),o=n&&n.from==i.from&&n.to==i.to;for(let s=!1,a=new os(t.doc,e,r[r.length-1].to);;)if(a.next(),a.done){if(s)return null;a=new os(t.doc,e,0,Math.max(0,r[r.length-1].from-1)),s=!0}else{if(s&&r.some(l=>l.from==a.value.from))continue;if(o){let l=t.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}var _6=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(o=>o.from===o.to))return ZJ({state:t,dispatch:e});let r=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=r))return!1;let n=VJ(t,r);return n?(e(t.update({selection:t.selection.addRange(ee.range(n.from,n.to),!1),effects:de.scrollIntoView(n.to)})),!0):!1},Dl=be.define({combine(t){return kt(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Ew(e),scrollToMatch:e=>de.scrollIntoView(e)})}});var Il=class{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||NJ(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,r)=>r=="n"?`
`:r=="r"?"\r":r=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new Sw(this):new kw(this)}getCursor(e,i=0,r){let n=e.doc?e:rt.create({doc:e});return r==null&&(r=n.doc.length),this.regexp?Rl(this,n,i,r):Xl(this,n,i,r)}},hm=class{constructor(e){this.spec=e}};function Xl(t,e,i,r){return new os(e.doc,t.unquoted,i,r,t.caseSensitive?void 0:n=>n.toLowerCase(),t.wholeWord?YJ(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function YJ(t,e){return(i,r,n,o)=>((o>i||o+n.length<r)&&(o=Math.max(0,i-2),n=t.sliceString(o,Math.min(t.length,r+2))),(e(dm(n,i-o))!=dt.Word||e(pm(n,i-o))!=dt.Word)&&(e(pm(n,r-o))!=dt.Word||e(dm(n,r-o))!=dt.Word))}var kw=class extends hm{constructor(e){super(e)}nextMatch(e,i,r){let n=Xl(this.spec,e,r,e.doc.length).nextOverlapping();return n.done&&(n=Xl(this.spec,e,0,i).nextOverlapping()),n.done?null:n.value}prevMatchInRange(e,i,r){for(let n=r;;){let o=Math.max(i,n-1e4-this.spec.unquoted.length),s=Xl(this.spec,e,o,n),a=null;for(;!s.nextOverlapping().done;)a=s.value;if(a)return a;if(o==i)return null;n-=1e4}}prevMatch(e,i,r){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,i){let r=Xl(this.spec,e,0,e.doc.length),n=[];for(;!r.next().done;){if(n.length>=i)return null;n.push(r.value)}return n}highlight(e,i,r,n){let o=Xl(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}};function Rl(t,e,i,r){return new Ll(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?FJ(e.charCategorizer(e.selection.main.head)):void 0},i,r)}function dm(t,e){return t.slice(zt(t,e,!1),e)}function pm(t,e){return t.slice(e,zt(t,e))}function FJ(t){return(e,i,r)=>!r[0].length||(t(dm(r.input,r.index))!=dt.Word||t(pm(r.input,r.index))!=dt.Word)&&(t(pm(r.input,r.index+r[0].length))!=dt.Word||t(dm(r.input,r.index+r[0].length))!=dt.Word)}var Sw=class extends hm{nextMatch(e,i,r){let n=Rl(this.spec,e,r,e.doc.length).next();return n.done&&(n=Rl(this.spec,e,0,i).next()),n.done?null:n.value}prevMatchInRange(e,i,r){for(let n=1;;n++){let o=Math.max(i,r-n*1e4),s=Rl(this.spec,e,o,r),a=null;for(;!s.next().done;)a=s.value;if(a&&(o==i||a.from>o+10))return a;if(o==i)return null}}prevMatch(e,i,r){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(i,r)=>r=="$"?"$":r=="&"?e.match[0]:r!="0"&&+r<e.match.length?e.match[r]:i)}matchAll(e,i){let r=Rl(this.spec,e,0,e.doc.length),n=[];for(;!r.next().done;){if(n.length>=i)return null;n.push(r.value)}return n}highlight(e,i,r,n){let o=Rl(this.spec,e,Math.max(0,i-250),Math.min(r+250,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}},io=Se.define(),Pw=Se.define(),ns=He.define({create(t){return new Lf(Tw(t).create(),null)},update(t,e){for(let i of e.effects)i.is(io)?t=new Lf(i.value.create(),t.panel):i.is(Pw)&&(t=new Lf(t.query,i.value?Aw:null));return t},provide:t=>br.from(t,e=>e.panel)});var Lf=class{constructor(e,i){this.query=e,this.panel=i}},HJ=we.mark({class:"cm-searchMatch"}),GJ=we.mark({class:"cm-searchMatch cm-searchMatch-selected"}),KJ=Fe.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(ns))}update(t){let e=t.state.field(ns);(e!=t.startState.field(ns)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return we.none;let{view:i}=this,r=new Ki;for(let n=0,o=i.visibleRanges,s=o.length;n<s;n++){let{from:a,to:l}=o[n];for(;n<s-1&&l>o[n+1].from-2*250;)l=o[++n].to;t.highlight(i.state,a,l,(c,u)=>{let f=i.state.selection.ranges.some(d=>d.from==c&&d.to==u);r.add(c,u,f?GJ:HJ)})}return r.finish()}},{decorations:t=>t.decorations});function If(t){return e=>{let i=e.state.field(ns,!1);return i&&i.query.spec.valid?t(e,i):Nl(e)}}var w6=If((t,{query:e})=>{let{to:i}=t.state.selection.main,r=e.nextMatch(t.state,i,i);if(!r)return!1;let n=ee.single(r.from,r.to),o=t.state.facet(Dl);return t.dispatch({selection:n,effects:[Xw(t,r),o.scrollToMatch(n.main,t)],userEvent:"select.search"}),$6(t),!0}),k6=If((t,{query:e})=>{let{state:i}=t,{from:r}=i.selection.main,n=e.prevMatch(i,r,r);if(!n)return!1;let o=ee.single(n.from,n.to),s=t.state.facet(Dl);return t.dispatch({selection:o,effects:[Xw(t,n),s.scrollToMatch(o.main,t)],userEvent:"select.search"}),$6(t),!0}),_w=If((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:ee.create(i.map(r=>ee.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),Q6=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:r,to:n}=i.main,o=[],s=0;for(let a=new os(t.doc,t.sliceDoc(r,n));!a.next().done;){if(o.length>1e3)return!1;a.value.from==r&&(s=o.length),o.push(ee.range(a.value.from,a.value.to))}return e(t.update({selection:ee.create(o,s),userEvent:"select.search.matches"})),!0},S6=If((t,{query:e})=>{let{state:i}=t,{from:r,to:n}=i.selection.main;if(i.readOnly)return!1;let o=e.nextMatch(i,r,r);if(!o)return!1;let s=[],a,l,c=[];if(o.from==r&&o.to==n&&(l=i.toText(e.getReplacement(o)),s.push({from:o.from,to:o.to,insert:l}),o=e.nextMatch(i,o.from,o.to),c.push(de.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(r).number)+"."))),o){let u=s.length==0||s[0].from>=o.to?0:o.to-o.from-l.length;a=ee.single(o.from-u,o.to-u),c.push(Xw(t,o)),c.push(i.facet(Dl).scrollToMatch(a.main,t))}return t.dispatch({changes:s,selection:a,effects:c,userEvent:"input.replace"}),!0}),Qw=If((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(n=>{let{from:o,to:s}=n;return{from:o,to:s,insert:e.getReplacement(n)}});if(!i.length)return!1;let r=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:de.announce.of(r),userEvent:"input.replace.all"}),!0});function Aw(t){return t.state.facet(Dl).createPanel(t)}function Tw(t,e){var i,r,n,o,s;let a=t.selection.main,l=a.empty||a.to>a.from+100?"":t.sliceDoc(a.from,a.to);if(e&&!l)return e;let c=t.facet(Dl);return new Il({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=e==null?void 0:e.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(n=e==null?void 0:e.literal)!==null&&n!==void 0?n:c.literal,regexp:(o=e==null?void 0:e.regexp)!==null&&o!==void 0?o:c.regexp,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:c.wholeWord})}function A6(t){let e=Us(t,Aw);return e&&e.dom.querySelector("[main-field]")}function $6(t){let e=A6(t);e&&e==t.root.activeElement&&e.select()}var Nl=t=>{let e=t.state.field(ns,!1);if(e&&e.panel){let i=A6(t);if(i&&i!=t.root.activeElement){let r=Tw(t.state,e.query.spec);r.valid&&t.dispatch({effects:io.of(r)}),i.focus(),i.select()}}else t.dispatch({effects:[Pw.of(!0),e?io.of(Tw(t.state,e.query.spec)):Se.appendConfig.of(eee)]});return!0},$w=t=>{let e=t.state.field(ns,!1);if(!e||!e.panel)return!1;let i=Us(t,Aw);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:Pw.of(!1)}),!0};var Ew=class{constructor(e){this.view=e;let i=this.query=e.state.field(ns).query.spec;this.commit=this.commit.bind(this),this.searchField=ct("input",{value:i.search,placeholder:sr(e,"Find"),"aria-label":sr(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=ct("input",{value:i.replace,placeholder:sr(e,"Replace"),"aria-label":sr(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=ct("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=ct("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=ct("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function r(n,o,s){return ct("button",{class:"cm-button",name:n,onclick:o,type:"button"},s)}this.dom=ct("div",{onkeydown:n=>this.keydown(n),class:"cm-search"},[this.searchField,r("next",()=>w6(e),[sr(e,"next")]),r("prev",()=>k6(e),[sr(e,"previous")]),r("select",()=>_w(e),[sr(e,"all")]),ct("label",null,[this.caseField,sr(e,"match case")]),ct("label",null,[this.reField,sr(e,"regexp")]),ct("label",null,[this.wordField,sr(e,"by word")]),...e.state.readOnly?[]:[ct("br"),this.replaceField,r("replace",()=>S6(e),[sr(e,"replace")]),r("replaceAll",()=>Qw(e),[sr(e,"replace all")])],ct("button",{name:"close",onclick:()=>$w(e),"aria-label":sr(e,"close"),type:"button"},["\xD7"])])}commit(){let e=new Il({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:io.of(e)}))}keydown(e){Ty(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?k6:w6)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),S6(this.view))}update(e){for(let i of e.transactions)for(let r of i.effects)r.is(io)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Dl).top}};function sr(t,e){return t.state.phrase(e)}var sm=30,am=/[\s\.,:;?!]/;function Xw(t,{from:e,to:i}){let r=t.state.doc.lineAt(e),n=t.state.doc.lineAt(i).to,o=Math.max(r.from,e-sm),s=Math.min(n,i+sm),a=t.state.sliceDoc(o,s);if(o!=r.from){for(let l=0;l<sm;l++)if(!am.test(a[l+1])&&am.test(a[l])){a=a.slice(l);break}}if(s!=n){for(let l=a.length-1;l>a.length-sm;l--)if(!am.test(a[l-1])&&am.test(a[l])){a=a.slice(0,l);break}}return de.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${r.number}.`)}var JJ=de.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),eee=[ns,$t.low(KJ),JJ];var Rw=class{constructor(e,i,r){this.from=e,this.to=i,this.diagnostic=r}},fa=class t{constructor(e,i,r){this.diagnostics=e,this.panel=i,this.selected=r}static init(e,i,r){let n=e,o=r.facet(Df).markerFilter;o&&(n=o(n,r));let s=we.set(n.map(a=>a.from==a.to||a.from==a.to-1&&r.doc.lineAt(a.from).to==a.from?we.widget({widget:new Lw(a),diagnostic:a}).range(a.from):we.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity+(a.markClass?" "+a.markClass:"")},diagnostic:a,inclusive:!0}).range(a.from,a.to)),!0);return new t(s,i,Ml(s))}};function Ml(t,e=null,i=0){let r=null;return t.between(i,1e9,(n,o,{spec:s})=>{if(!(e&&s.diagnostic!=e))return r=new Rw(n,o,s.diagnostic),!1}),r}function tee(t,e){let i=e.pos,r=e.end||i,n=t.state.facet(Df).hideOn(t,i,r);if(n!=null)return n;let o=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(s=>s.is(Iw))||t.changes.touchesRange(o.from,Math.max(o.to,r)))}function R6(t,e){return t.field(ar,!1)?e:e.concat(Se.appendConfig.of(aee))}function L6(t,e){return{effects:R6(t,[Iw.of(e)])}}var Iw=Se.define(),Dw=Se.define(),I6=Se.define(),ar=He.define({create(){return new fa(we.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let i=t.diagnostics.map(e.changes),r=null,n=t.panel;if(t.selected){let o=e.changes.mapPos(t.selected.from,1);r=Ml(i,t.selected.diagnostic,o)||Ml(i,null,o)}!i.size&&n&&e.state.facet(Df).autoPanel&&(n=null),t=new fa(i,n,r)}for(let i of e.effects)if(i.is(Iw)){let r=e.state.facet(Df).autoPanel?i.value.length?Nf.open:null:t.panel;t=fa.init(i.value,r,e.state)}else i.is(Dw)?t=new fa(t.diagnostics,i.value?Nf.open:null,t.selected):i.is(I6)&&(t=new fa(t.diagnostics,t.panel,i.value));return t},provide:t=>[br.from(t,e=>e.panel),de.decorations.from(t,e=>e.diagnostics)]});var iee=we.mark({class:"cm-lintRange cm-lintRange-active",inclusive:!0});function ree(t,e,i){let{diagnostics:r}=t.state.field(ar),n=[],o=2e8,s=0;r.between(e-(i<0?1:0),e+(i>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||i>0)&&(e<c||i<0))&&(n.push(u.diagnostic),o=Math.min(l,o),s=Math.max(c,s))});let a=t.state.facet(Df).tooltipFilter;return a&&(n=a(n,t.state)),n.length?{pos:o,end:s,above:t.state.doc.lineAt(o).to<s,create(){return{dom:nee(t,n)}}}:null}function nee(t,e){return ct("ul",{class:"cm-tooltip-lint"},e.map(i=>U6(t,i,!1)))}var D6=t=>{let e=t.state.field(ar,!1);(!e||!e.panel)&&t.dispatch({effects:R6(t.state,[Dw.of(!0)])});let i=Us(t,Nf.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},X6=t=>{let e=t.state.field(ar,!1);return!e||!e.panel?!1:(t.dispatch({effects:Dw.of(!1)}),!0)},N6=t=>{let e=t.state.field(ar,!1);if(!e)return!1;let i=t.state.selection.main,r=e.diagnostics.iter(i.to+1);return!r.value&&(r=e.diagnostics.iter(0),!r.value||r.from==i.from&&r.to==i.to)?!1:(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)};var Df=be.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},kt(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,i)=>e?i?r=>e(r)||i(r):e:i}))}});function M6(t){let e=[];if(t)e:for(let{name:i}of t){for(let r=0;r<i.length;r++){let n=i[r];if(/[a-zA-Z]/.test(n)&&!e.some(o=>o.toLowerCase()==n.toLowerCase())){e.push(n);continue e}}e.push("")}return e}function U6(t,e,i){var r;let n=i?M6(e.actions):[];return ct("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},ct("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),(r=e.actions)===null||r===void 0?void 0:r.map((o,s)=>{let a=!1,l=d=>{if(d.preventDefault(),a)return;a=!0;let p=Ml(t.state.field(ar).diagnostics,e);p&&o.apply(t,p.from,p.to)},{name:c}=o,u=n[s]?c.indexOf(n[s]):-1,f=u<0?c:[c.slice(0,u),ct("u",c.slice(u,u+1)),c.slice(u+1)];return ct("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${n[s]})"`}.`},f)}),e.source&&ct("div",{class:"cm-diagnosticSource"},e.source))}var Lw=class extends Jt{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return ct("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}},mm=class{constructor(e,i){this.diagnostic=i,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=U6(e,i,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},Nf=class t{constructor(e){this.view=e,this.items=[];let i=n=>{if(n.keyCode==27)X6(this.view),this.view.focus();else if(n.keyCode==38||n.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(n.keyCode==40||n.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(n.keyCode==36)this.moveSelection(0);else if(n.keyCode==35)this.moveSelection(this.items.length-1);else if(n.keyCode==13)this.view.focus();else if(n.keyCode>=65&&n.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],s=M6(o.actions);for(let a=0;a<s.length;a++)if(s[a].toUpperCase().charCodeAt(0)==n.keyCode){let l=Ml(this.view.state.field(ar).diagnostics,o);l&&o.actions[a].apply(e,l.from,l.to)}}else return;n.preventDefault()},r=n=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(n.target)&&this.moveSelection(o)};this.list=ct("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:i,onclick:r}),this.dom=ct("div",{class:"cm-panel-lint"},this.list,ct("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>X6(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(ar).selected;if(!e)return-1;for(let i=0;i<this.items.length;i++)if(this.items[i].diagnostic==e.diagnostic)return i;return-1}update(){let{diagnostics:e,selected:i}=this.view.state.field(ar),r=0,n=!1,o=null;for(e.between(0,this.view.state.doc.length,(s,a,{spec:l})=>{let c=-1,u;for(let f=r;f<this.items.length;f++)if(this.items[f].diagnostic==l.diagnostic){c=f;break}c<0?(u=new mm(this.view,l.diagnostic),this.items.splice(r,0,u),n=!0):(u=this.items[c],c>r&&(this.items.splice(r,c-r),n=!0)),i&&u.diagnostic==i.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),o=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),r++});r<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)n=!0,this.items.pop();this.items.length==0&&(this.items.push(new mm(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),n=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({key:this,read:()=>({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:a})=>{let l=a.height/this.list.offsetHeight;s.top<a.top?this.list.scrollTop-=(a.top-s.top)/l:s.bottom>a.bottom&&(this.list.scrollTop+=(s.bottom-a.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let e=this.list.firstChild;function i(){let r=e;e=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;e!=r.dom;)i();e=r.dom.nextSibling}else this.list.insertBefore(r.dom,e);for(;e;)i()}moveSelection(e){if(this.selectedIndex<0)return;let i=this.view.state.field(ar),r=Ml(i.diagnostics,this.items[e].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:I6.of(r)})}static open(e){return new t(e)}};function oee(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(t)}</svg>')`}function Om(t){return oee(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${t}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}var see=de.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Om("#d11")},".cm-lintRange-warning":{backgroundImage:Om("orange")},".cm-lintRange-info":{backgroundImage:Om("#999")},".cm-lintRange-hint":{backgroundImage:Om("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});var aee=[ar,de.decorations.compute([ar],t=>{let{selected:e,panel:i}=t.field(ar);return!e||!i||e.from==e.to?we.none:we.set([iee.range(e.from,e.to)])}),Ip(ree,{hideOn:tee}),see];var z6=t=>e=>{let i=t==="down",r=e.state.selection;for(let n of r.ranges)r=r.addRange(e.moveVertically(n,i));return e.dispatch({selection:r}),!0},lee=z6("up"),cee=z6("down"),uee=t=>{let e=null;for(let i of t.state.selection.ranges)if(!i.empty)for(let r=i.from;r<=i.to;){let n=t.state.doc.lineAt(r),o=Math.min(n.to,i.to);e?e=e.addRange(ee.range(o,o)):e=ee.single(o),r=n.to+1}return e?(t.dispatch({selection:e}),!0):!1},j6=[{key:"Ctrl-Space",run:ju},{key:"Escape",run:qu},{key:"ArrowDown",run:Hn(!0)},{key:"ArrowUp",run:Hn(!1)},{key:"PageDown",run:Hn(!0,"page")},{key:"PageUp",run:Hn(!1,"page")},{key:"Enter",run:Jp},{key:"Tab",run:Jp},{key:"Mod-f",run:Nl,scope:"editor search-panel"},{key:"Escape",run:$w,scope:"editor search-panel"},{key:"Alt-Enter",run:_w,scope:"editor search-panel"},{key:"Mod-Alt-Enter",run:Qw,scope:"editor search-panel"},{key:"Ctrl-g",run:E6},{key:"Mod-d",run:_6,preventDefault:!0},{key:"Shift-Mod-l",run:Q6},{key:"Enter",run:$f,shift:$f},{key:"ArrowLeft",run:xf,shift:hw,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:VO,shift:em},{key:"ArrowRight",run:fw,shift:dw,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:YO,shift:tm},{key:"ArrowUp",run:vf,shift:Pl,preventDefault:!0},{key:"ArrowDown",run:wf,shift:_l,preventDefault:!0},{key:"Home",run:Sf,shift:gw},{mac:"Cmd-ArrowLeft",run:Sf,shift:gw},{key:"Mod-Home",run:Pf,shift:Ql},{mac:"Cmd-ArrowUp",run:Pf,shift:Ql},{key:"PageUp",run:El,shift:Tf},{mac:"Ctrl-ArrowUp",run:El,shift:Tf},{key:"PageDown",run:Cl,shift:ua},{mac:"Ctrl-ArrowDown",run:Cl,shift:ua},{key:"End",run:kf,shift:mw},{mac:"Cmd-ArrowRight",run:kf,shift:mw},{key:"Mod-Alt-ArrowUp",linux:"Shift-Alt-ArrowUp",run:lee,preventDefault:!0},{key:"Mod-Alt-ArrowDown",linux:"Shift-Alt-ArrowDown",run:cee,preventDefault:!0},{key:"Shift-Alt-i",run:uee},{key:"Mod-End",run:_f,shift:Al},{mac:"Cmd-ArrowDown",run:_f,shift:Al},{key:"Mod-a",run:im},{key:"Backspace",run:v_},{key:"Backspace",run:$l,shift:$l},{key:"Delete",run:Qf},{key:"Mod-Backspace",mac:"Alt-Backspace",run:bw},{key:"Mod-Delete",mac:"Alt-Delete",run:s6},{mac:"Mod-Backspace",run:a6},{mac:"Mod-Delete",run:yw},{mac:"Ctrl-b",run:xf,shift:hw,preventDefault:!0},{mac:"Ctrl-f",run:fw,shift:dw},{mac:"Ctrl-p",run:vf,shift:Pl},{mac:"Ctrl-n",run:wf,shift:_l},{mac:"Ctrl-a",run:HO,shift:Ef},{mac:"Ctrl-e",run:GO,shift:Cf},{mac:"Ctrl-d",run:Qf},{mac:"Ctrl-h",run:$l},{mac:"Ctrl-k",run:yw},{mac:"Ctrl-Alt-h",run:bw},{mac:"Ctrl-o",run:Af},{mac:"Ctrl-t",run:nm},{mac:"Ctrl-v",run:Cl},{mac:"Alt-v",run:El},{key:"Shift-Mod-k",run:p6},{key:"Alt-ArrowDown",run:u6},{key:"Alt-ArrowUp",run:c6},{win:"Shift-Alt-ArrowDown",mac:"Shift-Alt-ArrowDown",run:d6},{win:"Shift-Alt-ArrowUp",mac:"Shift-Alt-ArrowUp",run:h6},{key:"Mod-l",run:r6,preventDefault:!0},{key:"Shift-Mod-\\",run:KX},{key:"Tab",run:Xf,shift:Rf,preventDefault:!0},{key:"Mod-[",run:Rf},{key:"Mod-]",run:Xf},{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Vp},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:qP},{key:"Mod-k Mod-0",run:BP},{key:"Mod-k Mod-j",run:ZP},{key:"Mod-k Mod-c",run:DX},{key:"Mod-k Mod-u",run:NX},{key:"Mod-/",run:gf},{key:"Shift-Alt-a",run:MX},{key:"Mod-z",run:la,preventDefault:!0},{key:"Mod-y",run:es,preventDefault:!0},{key:"Mod-Shift-z",run:es,preventDefault:!0},{key:"Mod-u",run:WX,preventDefault:!0},{key:"Mod-Shift-m",run:D6},{key:"F8",run:N6}];function fee(t){var e=t.Pos;function i(h,O,b){if(O.line===b.line&&O.ch>=b.ch-1){var y=h.getLine(O.line),w=y.charCodeAt(O.ch);55296<=w&&w<=55551&&(b.ch+=1)}return{start:O,end:b}}var r=[{keys:"<Left>",type:"keyToKey",toKeys:"h"},{keys:"<Right>",type:"keyToKey",toKeys:"l"},{keys:"<Up>",type:"keyToKey",toKeys:"k"},{keys:"<Down>",type:"keyToKey",toKeys:"j"},{keys:"g<Up>",type:"keyToKey",toKeys:"gk"},{keys:"g<Down>",type:"keyToKey",toKeys:"gj"},{keys:"<Space>",type:"keyToKey",toKeys:"l"},{keys:"<BS>",type:"keyToKey",toKeys:"h"},{keys:"<Del>",type:"keyToKey",toKeys:"x"},{keys:"<C-Space>",type:"keyToKey",toKeys:"W"},{keys:"<C-BS>",type:"keyToKey",toKeys:"B"},{keys:"<S-Space>",type:"keyToKey",toKeys:"w"},{keys:"<S-BS>",type:"keyToKey",toKeys:"b"},{keys:"<C-n>",type:"keyToKey",toKeys:"j"},{keys:"<C-p>",type:"keyToKey",toKeys:"k"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-Esc>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-Esc>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"<Home>",type:"keyToKey",toKeys:"0"},{keys:"<End>",type:"keyToKey",toKeys:"$"},{keys:"<PageUp>",type:"keyToKey",toKeys:"<C-b>"},{keys:"<PageDown>",type:"keyToKey",toKeys:"<C-f>"},{keys:"<CR>",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"<Ins>",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"<Ins>",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"<C-f>",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"<C-b>",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"<C-d>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"<C-u>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'<register>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<register>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"gq",type:"operator",operator:"hardWrap"},{keys:"gw",type:"operator",operator:"hardWrap",operatorArgs:{keepCursor:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"<C-u>",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"<C-w>",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"<C-w>",type:"idle",context:"normal"},{keys:"<C-i>",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"<C-o>",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"<C-e>",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"<C-y>",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"<C-v>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"<C-q>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r<character>",type:"action",action:"replace",isEdit:!0},{keys:"@<register>",type:"action",action:"replayMacro"},{keys:"q<register>",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"<C-r>",type:"action",action:"redo"},{keys:"m<register>",type:"action",action:"setMark"},{keys:'"<register>',type:"action",action:"setRegister"},{keys:"<C-r><register>",type:"action",action:"insertRegister",context:"insert",isEdit:!0},{keys:"<C-o>",type:"action",action:"oneNormalCommand",context:"insert"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z<CR>",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"<C-a>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"<C-x>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"<C-t>",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"<C-d>",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a<register>",type:"motion",motion:"textObjectManipulation"},{keys:"i<register>",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],n=r.length,o=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"omap",shortName:"om"},{name:"noremap",shortName:"no"},{name:"nnoremap",shortName:"nn"},{name:"vnoremap",shortName:"vn"},{name:"inoremap",shortName:"ino"},{name:"onoremap",shortName:"ono"},{name:"unmap"},{name:"mapclear",shortName:"mapc"},{name:"nmapclear",shortName:"nmapc"},{name:"vmapclear",shortName:"vmapc"},{name:"imapclear",shortName:"imapc"},{name:"omapclear",shortName:"omapc"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"startinsert",shortName:"start"},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"delete",shortName:"d"},{name:"join",shortName:"j"},{name:"normal",shortName:"norm"},{name:"global",shortName:"g"}],s=cr("");function a(h){h.setOption("disableInput",!0),h.setOption("showCursorWhenSelecting",!1),t.signal(h,"vim-mode-change",{mode:"normal"}),h.on("cursorActivity",Sk),ve(h),t.on(h.getInputField(),"paste",c(h))}function l(h){h.setOption("disableInput",!1),h.off("cursorActivity",Sk),t.off(h.getInputField(),"paste",c(h)),h.state.vim=null,Fl&&clearTimeout(Fl)}function c(h){var O=h.state.vim;return O.onPasteFn||(O.onPasteFn=function(){O.insertMode||(h.setCursor($e(h.getCursor(),0,1)),ce.enterInsertMode(h,{},O))}),O.onPasteFn}var u=/[\d]/,f=[t.isWordChar,function(h){return h&&!t.isWordChar(h)&&!/\s/.test(h)}],d=[function(h){return/\S/.test(h)}],p=["<",">"],g=["-",'"',".",":","_","/","+"],x=/^\w$/,v;try{v=new RegExp("^[\\p{Lu}]$","u")}catch(h){v=/^[A-Z]$/}function S(h,O){return O>=h.firstLine()&&O<=h.lastLine()}function T(h){return/^[a-z]$/.test(h)}function $(h){return"()[]{}".indexOf(h)!=-1}function I(h){return u.test(h)}function _(h){return v.test(h)}function A(h){return/^\s*$/.test(h)}function q(h){return".?!".indexOf(h)!=-1}function le(h,O){for(var b=0;b<O.length;b++)if(O[b]==h)return!0;return!1}var F={};function U(h,O,b,y,w){if(O===void 0&&!w)throw Error("defaultValue is required unless callback is provided");if(b||(b="string"),F[h]={type:b,defaultValue:O,callback:w},y)for(var k=0;k<y.length;k++)F[y[k]]=F[h];O&&ie(h,O)}function ie(h,O,b,y){var w=F[h];y=y||{};var k=y.scope;if(!w)return new Error("Unknown option: "+h);if(w.type=="boolean"){if(O&&O!==!0)return new Error("Invalid argument: "+h+"="+O);O!==!1&&(O=!0)}w.callback?(k!=="local"&&w.callback(O,void 0),k!=="global"&&b&&w.callback(O,b)):(k!=="local"&&(w.value=w.type=="boolean"?!!O:O),k!=="global"&&b&&(b.state.vim.options[h]={value:O}))}function ue(h,O,b){var y=F[h];b=b||{};var w=b.scope;if(!y)return new Error("Unknown option: "+h);if(y.callback){let k=O&&y.callback(void 0,O);return w!=="global"&&k!==void 0?k:w!=="local"?y.callback():void 0}else return(w!=="global"&&O&&O.state.vim.options[h]||w!=="local"&&y||{}).value}U("filetype",void 0,"string",["ft"],function(h,O){if(O!==void 0)if(h===void 0){let b=O.getOption("mode");return b=="null"?"":b}else{let b=h==""?"null":h;O.setOption("mode",b)}}),U("textwidth",80,"number",["tw"],function(h,O){if(O!==void 0)if(h===void 0){var b=O.getOption("textwidth");return b}else{var y=Math.round(h);y>1&&O.setOption("textwidth",y)}});var re=function(){var h=100,O=-1,b=0,y=0,w=new Array(h);function k(R,M,z){var G=O%h,J=w[G];function Y(oe){var fe=++O%h,Ae=w[fe];Ae&&Ae.clear(),w[fe]=R.setBookmark(oe)}if(J){var W=J.find();W&&!Ot(W,M)&&Y(M)}else Y(M);Y(z),b=O,y=O-h+1,y<0&&(y=0)}function P(R,M){O+=M,O>b?O=b:O<y&&(O=y);var z=w[(h+O)%h];if(z&&!z.find()){var G=M>0?1:-1,J,Y=R.getCursor();do if(O+=G,z=w[(h+O)%h],z&&(J=z.find())&&!Ot(Y,J))break;while(O<b&&O>y)}return z}function X(R,M){var z=O,G=P(R,M);return O=z,G&&G.find()}return{cachedCursor:void 0,add:k,find:X,move:P}},he=function(h){return h?{changes:h.changes,expectCursorActivityForChange:h.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};class me{constructor(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=he()}exitMacroRecordMode(){var O=j.macroModeState;O.onRecordingDone&&O.onRecordingDone(),O.onRecordingDone=void 0,O.isRecording=!1}enterMacroRecordMode(O,b){var y=j.registerController.getRegister(b);if(y){if(y.clear(),this.latestRegister=b,O.openDialog){var w=fo("span",{class:"cm-vim-message"},"recording @"+b);this.onRecordingDone=O.openDialog(w,null,{bottom:!0})}this.isRecording=!0}}}function ve(h){return h.state.vim||(h.state.vim={inputState:new ur,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeReturn:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{},expectLiteralNext:!1}),h.state.vim}var j;function ae(){j={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:re(),macroModeState:new me,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new Fm({}),searchHistoryController:new Bl,exCommandHistoryController:new Bl};for(var h in F){var O=F[h];O.value=O.defaultValue}}var V,E={enterVimMode:a,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return j.registerController},resetVimGlobalState_:ae,getVimGlobalState_:function(){return j},maybeInitVimState_:ve,suppressErrorLogging:!1,InsertModeKey:ng,map:function(h,O,b){Pr.map(h,O,b)},unmap:function(h,O){return Pr.unmap(h,O)},noremap:function(h,O,b){Pr.map(h,O,b,!0)},mapclear:function(h){var O=r.length,b=n,y=r.slice(0,O-b);if(r=r.slice(O-b),h)for(var w=y.length-1;w>=0;w--){var k=y[w];if(h!==k.context)if(k.context)this._mapCommand(k);else{var P=["normal","insert","visual"];for(var X in P)if(P[X]!==h){var R=Object.assign({},k);R.context=P[X],this._mapCommand(R)}}}},langmap:Qt,vimKeyFromEvent:_t,setOption:ie,getOption:ue,defineOption:U,defineEx:function(h,O,b){if(!O)O=h;else if(h.indexOf(O)!==0)throw new Error('(Vim.defineEx) "'+O+'" is not a prefix of "'+h+'", command not registered');vk[h]=b,Pr.commandMap_[O]={name:h,shortName:O,type:"api"}},handleKey:function(h,O,b){var y=this.findKey(h,O,b);if(typeof y=="function")return y()},multiSelectHandleKey:qI,findKey:function(h,O,b){var y=ve(h),w=h;function k(){var z=j.macroModeState;if(z.isRecording){if(O=="q")return z.exitMacroRecordMode(),Rt(w),!0;b!="mapping"&&UI(z,O)}}function P(){if(O=="<Esc>"){if(y.visualMode)Zr(w);else if(y.insertMode)ho(w);else return;return Rt(w),!0}}function X(){if(P())return!0;y.inputState.keyBuffer.push(O);var z=y.inputState.keyBuffer.join(""),G=O.length==1,J=Br.matchCommand(z,r,y.inputState,"insert"),Y=y.inputState.changeQueue;if(J.type=="none")return Rt(w),!1;if(J.type=="partial"){if(J.expectLiteralNext&&(y.expectLiteralNext=!0),V&&window.clearTimeout(V),V=G&&window.setTimeout(function(){y.insertMode&&y.inputState.keyBuffer.length&&Rt(w)},ue("insertModeEscKeysTimeout")),G){var W=w.listSelections();(!Y||Y.removed.length!=W.length)&&(Y=y.inputState.changeQueue=new rh),Y.inserted+=O;for(var oe=0;oe<W.length;oe++){var fe=Tt(W[oe].anchor,W[oe].head),Ae=uo(W[oe].anchor,W[oe].head),_e=w.getRange(fe,w.state.overwrite?$e(Ae,0,1):Ae);Y.removed[oe]=(Y.removed[oe]||"")+_e}}return!G}if(y.expectLiteralNext=!1,V&&window.clearTimeout(V),J.command&&Y){for(var W=w.listSelections(),oe=0;oe<W.length;oe++){var Re=W[oe].head;w.replaceRange(Y.removed[oe]||"",$e(Re,0,-Y.inserted.length),Re,"+input")}j.macroModeState.lastInsertModeChanges.changes.pop()}return J.command||Rt(w),J.command}function R(){if(k()||P())return!0;y.inputState.keyBuffer.push(O);var z=y.inputState.keyBuffer.join("");if(/^[1-9]\d*$/.test(z))return!0;var G=/^(\d*)(.*)$/.exec(z);if(!G)return Rt(w),!1;var J=y.visualMode?"visual":"normal",Y=G[2]||G[1];y.inputState.operatorShortcut&&y.inputState.operatorShortcut.slice(-1)==Y&&(Y=y.inputState.operatorShortcut);var W=Br.matchCommand(Y,r,y.inputState,J);return W.type=="none"?(Rt(w),!1):W.type=="partial"?(W.expectLiteralNext&&(y.expectLiteralNext=!0),!0):W.type=="clear"?(Rt(w),!0):(y.expectLiteralNext=!1,y.inputState.keyBuffer.length=0,G=/^(\d*)(.*)$/.exec(z),G&&G[1]&&G[1]!="0"&&y.inputState.pushRepeatDigit(G[1]),W.command)}var M;return y.insertMode?M=X():M=R(),M===!1?!y.insertMode&&O.length===1?function(){return!0}:void 0:M===!0?function(){return!0}:function(){return w.operation(function(){w.curOp.isVimOp=!0;try{M.type=="keyToKey"?Ze(w,M.toKeys,M):Br.processCommand(w,y,M)}catch(z){throw w.state.vim=void 0,ve(w),E.suppressErrorLogging||console.log(z),z}return!0})}},handleEx:function(h,O){Pr.processCommand(h,O)},defineMotion:Hm,defineAction:ye,defineOperator:Gm,mapCommand:NI,_mapCommand:wk,defineRegister:nh,exitVisualMode:Zr,exitInsertMode:ho},B=[],ne=!1,D;function Ue(h){if(h[0]=="<"){var O=h.toLowerCase().slice(1,-1),b=O.split("-");if(O=b.pop()||"",O=="lt")h="<";else if(O=="space")h=" ";else if(O=="cr")h=`
`;else if(Xe[O]){var y=D.value,w={key:Xe[O],target:{value:y,selectionEnd:y.length,selectionStart:y.length}};D.onKeyDown&&D.onKeyDown(w,D.value,P),D&&D.onKeyUp&&D.onKeyUp(w,D.value,P);return}}if(h==`
`){var k=D;D=null,k.onClose&&k.onClose(k.value)}else D.value=(D.value||"")+h;function P(X){typeof X=="string"?D.value=X:D=null}}function Ze(h,O,b){var y=ne;if(b){if(B.indexOf(b)!=-1)return;B.push(b),ne=b.noremap!=!1}try{for(var w=ve(h),k=/<(?:[CSMA]-)*\w+>|./gi,P;P=k.exec(O);){var X=P[0],R=w.insertMode;if(D){Ue(X);continue}var M=E.handleKey(h,X,"mapping");if(!M&&R&&w.insertMode){if(X[0]=="<"){var z=X.toLowerCase().slice(1,-1),G=z.split("-");if(z=G.pop()||"",z=="lt")X="<";else if(z=="space")X=" ";else if(z=="cr")X=`
`;else if(Xe.hasOwnProperty(z)){X=Xe[z],Pk(h,X);continue}else X=X[0],k.lastIndex=P.index+1}h.replaceSelection(X)}}}finally{if(B.pop(),ne=B.length?y:!1,!B.length&&D){var J=D;D=null,Vl(h,J)}}}var Ve={Return:"CR",Backspace:"BS",Delete:"Del",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"CR"," ":"Space"},Xt={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1,AltGraph:1,Dead:1,Unidentified:1},Xe={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(Ve)).forEach(function(h){Xe[(Ve[h]||"").toLowerCase()]=Xe[h.toLowerCase()]=h});function _t(h,O){var k;var b=h.key;if(!Xt[b]){b.length>1&&b[0]=="n"&&(b=b.replace("Numpad","")),b=Ve[b]||b;var y="";if(h.ctrlKey&&(y+="C-"),h.altKey&&(y+="A-"),h.metaKey&&(y+="M-"),t.isMac&&h.altKey&&!h.metaKey&&!h.ctrlKey&&(y=y.slice(2)),(y||b.length>1)&&h.shiftKey&&(y+="S-"),O&&!O.expectLiteralNext&&b.length==1){if(s.keymap&&b in s.keymap)(s.remapCtrl!=!1||!y)&&(b=s.keymap[b]);else if(b.charCodeAt(0)>255){var w=((k=h.code)==null?void 0:k.slice(-1))||"";h.shiftKey||(w=w.toLowerCase()),w&&(b=w)}}return y+=b,y.length>1&&(y="<"+y+">"),y}}function Qt(h,O){s.string!==h&&(s=cr(h)),s.remapCtrl=O}function cr(h){let O={};if(!h)return{keymap:O,string:""};function b(y){return y.split(/\\?(.)/).filter(Boolean)}return h.split(/((?:[^\\,]|\\.)+),/).map(y=>{if(!y)return;let w=y.split(/((?:[^\\;]|\\.)+);/);if(w.length==3){let k=b(w[1]),P=b(w[2]);if(k.length!==P.length)return;for(let X=0;X<k.length;++X)O[k[X]]=P[X]}else if(w.length==1){let k=b(y);if(k.length%2!==0)return;for(let P=0;P<k.length;P+=2)O[k[P]]=k[P+1]}}),{keymap:O,string:h}}U("langmap",void 0,"string",["lmap"],function(h,O){if(h===void 0)return s.string;Qt(h)});class ur{constructor(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null,this.changeQueue=null}pushRepeatDigit(O){this.operator?this.motionRepeat=this.motionRepeat.concat(O):this.prefixRepeat=this.prefixRepeat.concat(O)}getRepeat(){var O=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(O=1,this.prefixRepeat.length>0&&(O*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(O*=parseInt(this.motionRepeat.join(""),10))),O}}function Rt(h,O){h.state.vim.inputState=new ur,h.state.vim.expectLiteralNext=!1,t.signal(h,"vim-command-done",O)}function rh(){this.removed=[],this.inserted=""}class Zi{constructor(O,b,y){this.clear(),this.keyBuffer=[O||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!b,this.blockwise=!!y}setText(O,b,y){this.keyBuffer=[O||""],this.linewise=!!b,this.blockwise=!!y}pushText(O,b){b&&(this.linewise||this.keyBuffer.push(`
`),this.linewise=!0),this.keyBuffer.push(O)}pushInsertModeChanges(O){this.insertModeChanges.push(he(O))}pushSearchQuery(O){this.searchQueries.push(O)}clear(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1}toString(){return this.keyBuffer.join("")}}function nh(h,O){var b=j.registerController.registers;if(!h||h.length!=1)throw Error("Register name must be 1 character");if(b[h])throw Error("Register already defined "+h);b[h]=O,g.push(h)}class Fm{constructor(O){this.registers=O,this.unnamedRegister=O['"']=new Zi,O["."]=new Zi,O[":"]=new Zi,O["/"]=new Zi,O["+"]=new Zi}pushText(O,b,y,w,k){if(O!=="_"){w&&y.charAt(y.length-1)!==`
`&&(y+=`
`);var P=this.isValidRegister(O)?this.getRegister(O):null;if(!P){switch(b){case"yank":this.registers[0]=new Zi(y,w,k);break;case"delete":case"change":y.indexOf(`
`)==-1?this.registers["-"]=new Zi(y,w):(this.shiftNumericRegisters_(),this.registers[1]=new Zi(y,w));break}this.unnamedRegister.setText(y,w,k);return}var X=_(O);X?P.pushText(y,w):P.setText(y,w,k),O==="+"&&navigator.clipboard.writeText(y),this.unnamedRegister.setText(P.toString(),w)}}getRegister(O){return this.isValidRegister(O)?(O=O.toLowerCase(),this.registers[O]||(this.registers[O]=new Zi),this.registers[O]):this.unnamedRegister}isValidRegister(O){return O&&(le(O,g)||x.test(O))}shiftNumericRegisters_(){for(var O=9;O>=2;O--)this.registers[O]=this.getRegister(""+(O-1))}}class Bl{constructor(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}nextMatch(O,b){var y=this.historyBuffer,w=b?-1:1;this.initialPrefix===null&&(this.initialPrefix=O);for(var k=this.iterator+w;b?k>=0:k<y.length;k+=w)for(var P=y[k],X=0;X<=P.length;X++)if(this.initialPrefix==P.substring(0,X))return this.iterator=k,P;if(k>=y.length)return this.iterator=y.length,this.initialPrefix;if(k<0)return O}pushInput(O){var b=this.historyBuffer.indexOf(O);b>-1&&this.historyBuffer.splice(b,1),O.length&&this.historyBuffer.push(O)}reset(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}}var Br={matchCommand:function(h,O,b,y){var w=Vi(h,O,y,b);if(!w.full&&!w.partial)return{type:"none"};if(!w.full&&w.partial)return{type:"partial",expectLiteralNext:w.partial.length==1&&w.partial[0].keys.slice(-11)=="<character>"};for(var k,P=0;P<w.full.length;P++){var X=w.full[P];k||(k=X)}if(k.keys.slice(-11)=="<character>"||k.keys.slice(-10)=="<register>"){var R=Er(h);if(!R||R.length>1)return{type:"clear"};b.selectedCharacter=R}return{type:"full",command:k}},processCommand:function(h,O,b){switch(O.inputState.repeatOverride=b.repeatOverride,b.type){case"motion":this.processMotion(h,O,b);break;case"operator":this.processOperator(h,O,b);break;case"operatorMotion":this.processOperatorMotion(h,O,b);break;case"action":this.processAction(h,O,b);break;case"search":this.processSearch(h,O,b);break;case"ex":case"keyToEx":this.processEx(h,O,b);break}},processMotion:function(h,O,b){O.inputState.motion=b.motion,O.inputState.motionArgs=je(b.motionArgs),this.evalInput(h,O)},processOperator:function(h,O,b){var y=O.inputState;if(y.operator)if(y.operator==b.operator){y.motion="expandToLine",y.motionArgs={linewise:!0,repeat:1},this.evalInput(h,O);return}else Rt(h);y.operator=b.operator,y.operatorArgs=je(b.operatorArgs),b.keys.length>1&&(y.operatorShortcut=b.keys),b.exitVisualBlock&&(O.visualBlock=!1,xa(h)),O.visualMode&&this.evalInput(h,O)},processOperatorMotion:function(h,O,b){var y=O.visualMode,w=je(b.operatorMotionArgs);w&&y&&w.visualLine&&(O.visualLine=!0),this.processOperator(h,O,b),y||this.processMotion(h,O,b)},processAction:function(h,O,b){var y=O.inputState,w=y.getRepeat(),k=!!w,P=je(b.actionArgs)||{repeat:1};y.selectedCharacter&&(P.selectedCharacter=y.selectedCharacter),b.operator&&this.processOperator(h,O,b),b.motion&&this.processMotion(h,O,b),(b.motion||b.operator)&&this.evalInput(h,O),P.repeat=w||1,P.repeatIsExplicit=k,P.registerName=y.registerName,Rt(h),O.lastMotion=null,b.isEdit&&this.recordLastEdit(O,y,b),ce[b.action](h,P,O)},processSearch:function(h,O,b){if(!h.getSearchCursor)return;var y=b.searchArgs.forward,w=b.searchArgs.wholeWordOnly;Cr(h).setReversed(!y);var k=y?"/":"?",P=Cr(h).getQuery(),X=h.getScrollInfo();function R(oe,fe,Ae){j.searchHistoryController.pushInput(oe),j.searchHistoryController.reset();try{Yl(h,oe,fe,Ae)}catch(_e){ut(h,"Invalid regex: "+oe),Rt(h);return}Br.processMotion(h,O,{keys:"",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:b.searchArgs.toJumplist}})}function M(oe){h.scrollTo(X.left,X.top),R(oe,!0,!0);var fe=j.macroModeState;fe.isRecording&&jI(fe,oe)}function z(oe,fe,Ae){var _e=_t(oe),Re,ft;_e=="<Up>"||_e=="<Down>"?(Re=_e=="<Up>",ft=oe.target?oe.target.selectionEnd:0,fe=j.searchHistoryController.nextMatch(fe,Re)||"",Ae(fe),ft&&oe.target&&(oe.target.selectionEnd=oe.target.selectionStart=Math.min(ft,oe.target.value.length))):_e&&_e!="<Left>"&&_e!="<Right>"&&j.searchHistoryController.reset();var di;try{di=Yl(h,fe,!0,!0)}catch(Zt){}di?h.scrollIntoView(yk(h,!y,di),30):(ig(h),h.scrollTo(X.left,X.top))}function G(oe,fe,Ae){var _e=_t(oe);_e=="<Esc>"||_e=="<C-c>"||_e=="<C-[>"||_e=="<BS>"&&fe==""?(j.searchHistoryController.pushInput(fe),j.searchHistoryController.reset(),Yl(h,P),ig(h),h.scrollTo(X.left,X.top),t.e_stop(oe),Rt(h),Ae(),h.focus()):_e=="<Up>"||_e=="<Down>"?t.e_stop(oe):_e=="<C-u>"&&(t.e_stop(oe),Ae(""))}switch(b.searchArgs.querySrc){case"prompt":var J=j.macroModeState;if(J.isPlaying){let fe=J.replaySearchQueries.shift();R(fe,!0,!1)}else Vl(h,{onClose:M,prefix:k,desc:"(JavaScript regexp)",onKeyUp:z,onKeyDown:G});break;case"wordUnderCursor":var Y=eg(h,{noSymbol:!0}),W=!0;if(Y||(Y=eg(h,{noSymbol:!1}),W=!1),!Y){ut(h,"No word under cursor"),Rt(h);return}let oe=h.getLine(Y.start.line).substring(Y.start.ch,Y.end.ch);W&&w?oe="\\b"+oe+"\\b":oe=lI(oe),j.jumpList.cachedCursor=h.getCursor(),h.setCursor(Y.start),R(oe,!0,!1);break}},processEx:function(h,O,b){function y(k){j.exCommandHistoryController.pushInput(k),j.exCommandHistoryController.reset(),Pr.processCommand(h,k),h.state.vim&&Rt(h)}function w(k,P,X){var R=_t(k),M,z;(R=="<Esc>"||R=="<C-c>"||R=="<C-[>"||R=="<BS>"&&P=="")&&(j.exCommandHistoryController.pushInput(P),j.exCommandHistoryController.reset(),t.e_stop(k),Rt(h),X(),h.focus()),R=="<Up>"||R=="<Down>"?(t.e_stop(k),M=R=="<Up>",z=k.target?k.target.selectionEnd:0,P=j.exCommandHistoryController.nextMatch(P,M)||"",X(P),z&&k.target&&(k.target.selectionEnd=k.target.selectionStart=Math.min(z,k.target.value.length))):R=="<C-u>"?(t.e_stop(k),X("")):R&&R!="<Left>"&&R!="<Right>"&&j.exCommandHistoryController.reset()}b.type=="keyToEx"?Pr.processCommand(h,b.exArgs.input):O.visualMode?Vl(h,{onClose:y,prefix:":",value:"'<,'>",onKeyDown:w,selectValueOnOpen:!1}):Vl(h,{onClose:y,prefix:":",onKeyDown:w})},evalInput:function(h,O){var b=O.inputState,y=b.motion,w=b.motionArgs||{repeat:1},k=b.operator,P=b.operatorArgs||{},X=b.registerName,R=O.sel,M=it(O.visualMode?Ee(h,R.head):h.getCursor("head")),z=it(O.visualMode?Ee(h,R.anchor):h.getCursor("anchor")),G=it(M),J=it(z),Y,W,oe;if(k&&this.recordLastEdit(O,b),b.repeatOverride!==void 0?oe=b.repeatOverride:oe=b.getRepeat(),oe>0&&w.explicitRepeat?w.repeatIsExplicit=!0:(w.noRepeat||!w.explicitRepeat&&oe===0)&&(oe=1,w.repeatIsExplicit=!1),b.selectedCharacter&&(w.selectedCharacter=P.selectedCharacter=b.selectedCharacter),w.repeat=oe,Rt(h),y){var fe=Tr[y](h,M,w,O,b);if(O.lastMotion=Tr[y],!fe)return;if(w.toJumplist){var Ae=j.jumpList,_e=Ae.cachedCursor;_e?(sk(h,_e,fe),delete Ae.cachedCursor):sk(h,M,fe)}fe instanceof Array?(W=fe[0],Y=fe[1]):Y=fe,Y||(Y=it(M)),O.visualMode?(O.visualBlock&&Y.ch===1/0||(Y=Ee(h,Y,G)),W&&(W=Ee(h,W)),W=W||J,R.anchor=W,R.head=Y,xa(h),kn(h,O,"<",at(W,Y)?W:Y),kn(h,O,">",at(W,Y)?Y:W)):k||(Y=Ee(h,Y,G),h.setCursor(Y.line,Y.ch))}if(k){if(P.lastSel){W=J;var Re=P.lastSel,ft=Math.abs(Re.head.line-Re.anchor.line),di=Math.abs(Re.head.ch-Re.anchor.ch);Re.visualLine?Y=new e(J.line+ft,J.ch):Re.visualBlock?Y=new e(J.line+ft,J.ch+di):Re.head.line==Re.anchor.line?Y=new e(J.line,J.ch+di):Y=new e(J.line+ft,J.ch),O.visualMode=!0,O.visualLine=Re.visualLine,O.visualBlock=Re.visualBlock,R=O.sel={anchor:W,head:Y},xa(h)}else O.visualMode&&(P.lastSel={anchor:it(R.anchor),head:it(R.head),visualBlock:O.visualBlock,visualLine:O.visualLine});var Zt,ri,Ke,et,ki;if(O.visualMode){Zt=Tt(R.head,R.anchor),ri=uo(R.head,R.anchor),Ke=O.visualLine||P.linewise,et=O.visualBlock?"block":Ke?"line":"char";var ni=i(h,Zt,ri);if(ki=Jm(h,{anchor:ni.start,head:ni.end},et),Ke){var Ht=ki.ranges;if(et=="block")for(var Yr=0;Yr<Ht.length;Yr++)Ht[Yr].head.ch=ii(h,Ht[Yr].head.line);else et=="line"&&(Ht[0].head=new e(Ht[0].head.line+1,0))}}else{if(Zt=it(W||J),ri=it(Y||G),at(ri,Zt)){var sg=Zt;Zt=ri,ri=sg}Ke=w.linewise||P.linewise,Ke?OI(h,Zt,ri):w.forward&&pI(h,Zt,ri),et="char";var WI=!w.inclusive||Ke,ni=i(h,Zt,ri);ki=Jm(h,{anchor:ni.start,head:ni.end},et,WI)}h.setSelections(ki.ranges,ki.primary),O.lastMotion=null,P.repeat=oe,P.registerName=X,P.linewise=Ke;var ag=Zl[k](h,P,ki.ranges,J,Y);O.visualMode&&Zr(h,ag!=null),ag&&h.setCursor(ag)}},recordLastEdit:function(h,O,b){var y=j.macroModeState;y.isPlaying||(h.lastEditInputState=O,h.lastEditActionCommand=b,y.lastInsertModeChanges.changes=[],y.lastInsertModeChanges.expectCursorActivityForChange=!1,y.lastInsertModeChanges.visualBlock=h.visualBlock?h.sel.head.line-h.sel.anchor.line:0)}},Tr={moveToTopLine:function(h,O,b){var y=rg(h).top+b.repeat-1;return new e(y,Vr(h.getLine(y)))},moveToMiddleLine:function(h){var O=rg(h),b=Math.floor((O.top+O.bottom)*.5);return new e(b,Vr(h.getLine(b)))},moveToBottomLine:function(h,O,b){var y=rg(h).bottom-b.repeat+1;return new e(y,Vr(h.getLine(y)))},expandToLine:function(h,O,b){var y=O;return new e(y.line+b.repeat-1,1/0)},findNext:function(h,O,b){var y=Cr(h),w=y.getQuery();if(w){var k=!b.forward;return k=y.isReversed()?!k:k,bk(h,w),yk(h,k,w,b.repeat)}},findAndSelectNextInclusive:function(h,O,b,y,w){var k=Cr(h),P=k.getQuery();if(P){var X=!b.forward;X=k.isReversed()?!X:X;var R=RI(h,X,P,b.repeat,y);if(R){if(w.operator)return R;var M=R[0],z=new e(R[1].line,R[1].ch-1);if(y.visualMode){(y.visualLine||y.visualBlock)&&(y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""}));var G=y.sel.anchor;if(G)return k.isReversed()?b.forward?[G,M]:[G,z]:b.forward?[G,z]:[G,M]}else y.visualMode=!0,y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""});return X?[z,M]:[M,z]}}},goToMark:function(h,O,b,y){var w=sh(h,y,b.selectedCharacter||"");return w?b.linewise?{line:w.line,ch:Vr(h.getLine(w.line))}:w:null},moveToOtherHighlightedEnd:function(h,O,b,y){if(y.visualBlock&&b.sameLine){var w=y.sel;return[Ee(h,new e(w.anchor.line,w.head.ch)),Ee(h,new e(w.head.line,w.anchor.ch))]}else return[y.sel.head,y.sel.anchor]},jumpToMark:function(h,O,b,y){for(var w=O,k=0;k<b.repeat;k++){var P=w;for(var X in y.marks)if(T(X)){var R=y.marks[X].find(),M=b.forward?at(R,P):at(P,R);if(!M&&!(b.linewise&&R.line==P.line)){var z=Ot(P,w),G=b.forward?ik(P,R,w):ik(w,R,P);(z||G)&&(w=R)}}}return b.linewise&&(w=new e(w.line,Vr(h.getLine(w.line)))),w},moveByCharacters:function(h,O,b){var y=O,w=b.repeat,k=b.forward?y.ch+w:y.ch-w;return new e(y.line,k)},moveByLines:function(h,O,b,y){var w=O,k=w.ch;switch(y.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:k=y.lastHPos;break;default:y.lastHPos=k}var P=b.repeat+(b.repeatOffset||0),X=b.forward?w.line+P:w.line-P,R=h.firstLine(),M=h.lastLine(),z=h.findPosV(w,b.forward?P:-P,"line",y.lastHSPos),G=b.forward?z.line>X:z.line<X;return G&&(X=z.line,k=z.ch),X<R&&w.line==R?this.moveToStartOfLine(h,O,b,y):X>M&&w.line==M?uk(h,O,b,y,!0):(b.toFirstChar&&(k=Vr(h.getLine(X)),y.lastHPos=k),y.lastHSPos=h.charCoords(new e(X,k),"div").left,new e(X,k))},moveByDisplayLines:function(h,O,b,y){var w=O;switch(y.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:y.lastHSPos=h.charCoords(w,"div").left}var k=b.repeat,P=h.findPosV(w,b.forward?k:-k,"line",y.lastHSPos);if(P.hitSide)if(b.forward){var X=h.charCoords(P,"div"),R={top:X.top+8,left:y.lastHSPos};P=h.coordsChar(R,"div")}else{var M=h.charCoords(new e(h.firstLine(),0),"div");M.left=y.lastHSPos,P=h.coordsChar(M,"div")}return y.lastHPos=P.ch,P},moveByPage:function(h,O,b){var y=O,w=b.repeat;return h.findPosV(y,b.forward?w:-w,"page")},moveByParagraph:function(h,O,b){var y=b.forward?1:-1;return fk(h,O,b.repeat,y).start},moveBySentence:function(h,O,b){var y=b.forward?1:-1;return wI(h,O,b.repeat,y)},moveByScroll:function(h,O,b,y){var w=h.getScrollInfo(),k=null,P=b.repeat;P||(P=w.clientHeight/(2*h.defaultTextHeight()));var X=h.charCoords(O,"local");if(b.repeat=P,k=Tr.moveByDisplayLines(h,O,b,y),!k)return null;var R=h.charCoords(k,"local");return h.scrollTo(null,w.top+R.top-X.top),k},moveByWords:function(h,O,b){return yI(h,O,b.repeat,!!b.forward,!!b.wordEnd,!!b.bigWord)},moveTillCharacter:function(h,O,b){var y=b.repeat,w=tg(h,y,b.forward,b.selectedCharacter,O),k=b.forward?-1:1;return ak(k,b),w?(w.ch+=k,w):null},moveToCharacter:function(h,O,b){var y=b.repeat;return ak(0,b),tg(h,y,b.forward,b.selectedCharacter,O)||O},moveToSymbol:function(h,O,b){var y=b.repeat;return b.selectedCharacter&&bI(h,y,b.forward,b.selectedCharacter)||O},moveToColumn:function(h,O,b,y){var w=b.repeat;return y.lastHPos=w-1,y.lastHSPos=h.charCoords(O,"div").left,xI(h,w)},moveToEol:function(h,O,b,y){return uk(h,O,b,y,!1)},moveToFirstNonWhiteSpaceCharacter:function(h,O){var b=O;return new e(b.line,Vr(h.getLine(b.line)))},moveToMatchedSymbol:function(h,O){for(var b=O,y=b.line,w=b.ch,k=h.getLine(y),P;w<k.length;w++)if(P=k.charAt(w),P&&$(P)){var X=h.getTokenTypeAt(new e(y,w+1));if(X!=="string"&&X!=="comment")break}if(w<k.length){var R=P==="<"||P===">"?/[(){}[\]<>]/:/[(){}[\]]/,M=h.findMatchingBracket(new e(y,w),{bracketRegex:R});return M.to}else return b},moveToStartOfLine:function(h,O){return new e(O.line,0)},moveToLineOrEdgeOfDocument:function(h,O,b){var y=b.forward?h.lastLine():h.firstLine();return b.repeatIsExplicit&&(y=b.repeat-h.getOption("firstLineNumber")),new e(y,Vr(h.getLine(y)))},moveToStartOfDisplayLine:function(h){return h.execCommand("goLineLeft"),h.getCursor()},moveToEndOfDisplayLine:function(h){h.execCommand("goLineRight");var O=h.getCursor();return O.sticky=="before"&&O.ch--,O},textObjectManipulation:function(h,O,b,y){var w={"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"},k={"'":!0,'"':!0,"`":!0},P=b.selectedCharacter||"";P=="b"?P="(":P=="B"&&(P="{");var X=!b.textObjectInner,R,M;if(w[P]){if(M=!0,R=dk(h,O,P,X),!R){var z=h.getSearchCursor(new RegExp("\\"+P,"g"),O);z.find()&&(R=dk(h,z.from(),P,X))}}else if(k[P])M=!0,R=kI(h,O,P,X);else if(P==="W"||P==="w")for(var G=b.repeat||1;G-- >0;){var J=eg(h,{inclusive:X,innerWord:!X,bigWord:P==="W",noSymbol:P==="W",multiline:!0},R&&R.end);J&&(R||(R=J),R.end=J.end)}else if(P==="p")if(R=fk(h,O,b.repeat,0,X),b.linewise=!0,y.visualMode)y.visualLine||(y.visualLine=!0);else{var Y=y.inputState.operatorArgs;Y&&(Y.linewise=!0),R.end.line--}else if(P==="t")R=mI(h,O,X);else if(P==="s"){var W=h.getLine(O.line);O.ch>0&&q(W[O.ch])&&(O.ch-=1);var oe=hk(h,O,b.repeat,1,X),fe=hk(h,O,b.repeat,-1,X);A(h.getLine(fe.line)[fe.ch])&&A(h.getLine(oe.line)[oe.ch-1])&&(fe={line:fe.line,ch:fe.ch+1}),R={start:fe,end:oe}}return R?h.state.vim.visualMode?hI(h,R.start,R.end,M):[R.start,R.end]:null},repeatLastCharacterSearch:function(h,O,b){var y=j.lastCharacterSearch,w=b.repeat,k=b.forward===y.forward,P=(y.increment?1:0)*(k?-1:1);h.moveH(-P,"char"),b.inclusive=!!k;var X=tg(h,w,k,y.selectedCharacter);return X?(X.ch+=P,X):(h.moveH(P,"char"),O)}};function Hm(h,O){Tr[h]=O}function oh(h,O){for(var b=[],y=0;y<O;y++)b.push(h);return b}var Zl={change:function(h,O,b){var y,w,k=h.state.vim,P=b[0].anchor,X=b[0].head;if(k.visualMode)if(O.fullLine)X.ch=Number.MAX_VALUE,X.line--,h.setSelection(P,X),w=h.getSelection(),h.replaceSelection(""),y=P;else{w=h.getSelection();var z=oh("",b.length);h.replaceSelections(z),y=Tt(b[0].head,b[0].anchor)}else{w=h.getRange(P,X);var R=k.lastEditInputState;if((R==null?void 0:R.motion)=="moveByWords"&&!A(w)){var M=/\s+$/.exec(w);M&&R.motionArgs&&R.motionArgs.forward&&(X=$e(X,0,-M[0].length),w=w.slice(0,-M[0].length))}O.linewise&&(P=new e(P.line,Vr(h.getLine(P.line))),X.line>P.line&&(X=new e(X.line-1,Number.MAX_VALUE))),h.replaceRange("",P,X),y=P}j.registerController.pushText(O.registerName,"change",w,O.linewise,b.length>1),ce.enterInsertMode(h,{head:y},h.state.vim)},delete:function(h,O,b){var y,w,k=h.state.vim;if(k.visualBlock){w=h.getSelection();var R=oh("",b.length);h.replaceSelections(R),y=Tt(b[0].head,b[0].anchor)}else{var P=b[0].anchor,X=b[0].head;O.linewise&&X.line!=h.firstLine()&&P.line==h.lastLine()&&P.line==X.line-1&&(P.line==h.firstLine()?P.ch=0:P=new e(P.line-1,ii(h,P.line-1))),w=h.getRange(P,X),h.replaceRange("",P,X),y=P,O.linewise&&(y=Tr.moveToFirstNonWhiteSpaceCharacter(h,P))}return j.registerController.pushText(O.registerName,"delete",w,O.linewise,k.visualBlock),Ee(h,y)},indent:function(h,O,b){var y=h.state.vim,w=y.visualMode?O.repeat||0:1;if(h.indentMore)for(var k=0;k<w;k++)O.indentRight?h.indentMore():h.indentLess();else{var P=b[0].anchor.line,X=y.visualBlock?b[b.length-1].anchor.line:b[0].head.line;O.linewise&&X--;for(var R=P;R<=X;R++)for(var k=0;k<w;k++)h.indentLine(R,O.indentRight)}return Tr.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},indentAuto:function(h,O,b){return h.execCommand("indentAuto"),Tr.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},hardWrap:function(h,O,b,y){if(h.hardWrap){var w=b[0].anchor.line,k=b[0].head.line;O.linewise&&k--;var P=h.hardWrap({from:w,to:k});return P>w&&O.linewise&&P--,O.keepCursor?y:new e(P,0)}},changeCase:function(h,O,b,y,w){for(var k=h.getSelections(),P=[],X=O.toLower,R=0;R<k.length;R++){var M=k[R],z="";if(X===!0)z=M.toLowerCase();else if(X===!1)z=M.toUpperCase();else for(var G=0;G<M.length;G++){var J=M.charAt(G);z+=_(J)?J.toLowerCase():J.toUpperCase()}P.push(z)}return h.replaceSelections(P),O.shouldMoveCursor?w:!h.state.vim.visualMode&&O.linewise&&b[0].anchor.line+1==b[0].head.line?Tr.moveToFirstNonWhiteSpaceCharacter(h,y):O.linewise?y:Tt(b[0].anchor,b[0].head)},yank:function(h,O,b,y){var w=h.state.vim,k=h.getSelection(),P=w.visualMode?Tt(w.sel.anchor,w.sel.head,b[0].head,b[0].anchor):y;return j.registerController.pushText(O.registerName,"yank",k,O.linewise,w.visualBlock),P}};function Gm(h,O){Zl[h]=O}var ce={jumpListWalk:function(h,O,b){if(!b.visualMode){var y=O.repeat||1,w=O.forward,k=j.jumpList,P=k.move(h,w?y:-y),X=P?P.find():void 0;X=X||h.getCursor(),h.setCursor(X)}},scroll:function(h,O,b){if(!b.visualMode){var y=O.repeat||1,w=h.defaultTextHeight(),k=h.getScrollInfo().top,P=w*y,X=O.forward?k+P:k-P,R=it(h.getCursor()),M=h.charCoords(R,"local");if(O.forward)X>M.top?(R.line+=(X-M.top)/w,R.line=Math.ceil(R.line),h.setCursor(R),M=h.charCoords(R,"local"),h.scrollTo(null,M.top)):h.scrollTo(null,X);else{var z=X+h.getScrollInfo().clientHeight;z<M.bottom?(R.line-=(M.bottom-z)/w,R.line=Math.floor(R.line),h.setCursor(R),M=h.charCoords(R,"local"),h.scrollTo(null,M.bottom-h.getScrollInfo().clientHeight)):h.scrollTo(null,X)}}},scrollToCursor:function(h,O){var b=h.getCursor().line,y=h.charCoords(new e(b,0),"local"),w=h.getScrollInfo().clientHeight,k=y.top;switch(O.position){case"center":k=y.bottom-w/2;break;case"bottom":var P=new e(b,h.getLine(b).length-1),X=h.charCoords(P,"local"),R=X.bottom-k;k=k-w+R;break}h.scrollTo(null,k)},replayMacro:function(h,O,b){var y=O.selectedCharacter||"",w=O.repeat||1,k=j.macroModeState;for(y=="@"?y=k.latestRegister:k.latestRegister=y;w--;)MI(h,b,k,y)},enterMacroRecordMode:function(h,O){var b=j.macroModeState,y=O.selectedCharacter;j.registerController.isValidRegister(y)&&b.enterMacroRecordMode(h,y)},toggleOverwrite:function(h){h.state.overwrite?(h.toggleOverwrite(!1),h.setOption("keyMap","vim-insert"),t.signal(h,"vim-mode-change",{mode:"insert"})):(h.toggleOverwrite(!0),h.setOption("keyMap","vim-replace"),t.signal(h,"vim-mode-change",{mode:"replace"}))},enterInsertMode:function(h,O,b){if(!h.getOption("readOnly")){b.insertMode=!0,b.insertModeRepeat=O&&O.repeat||1;var y=O?O.insertAt:null,w=b.sel,k=O.head||h.getCursor("head"),P=h.listSelections().length;if(y=="eol")k=new e(k.line,ii(h,k.line));else if(y=="bol")k=new e(k.line,0);else if(y=="charAfter"){var X=i(h,k,$e(k,0,1));k=X.end}else if(y=="firstNonBlank"){var X=i(h,k,Tr.moveToFirstNonWhiteSpaceCharacter(h,k));k=X.end}else if(y=="startOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(k=new e(Math.min(w.head.line,w.anchor.line),Math.min(w.head.ch,w.anchor.ch)),P=Math.abs(w.head.line-w.anchor.line)+1):w.head.line<w.anchor.line?k=w.head:k=new e(w.anchor.line,0)}else if(y=="endOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(k=new e(Math.min(w.head.line,w.anchor.line),Math.max(w.head.ch,w.anchor.ch)+1),P=Math.abs(w.head.line-w.anchor.line)+1):w.head.line>=w.anchor.line?k=$e(w.head,0,1):k=new e(w.anchor.line,0)}else if(y=="inplace"){if(b.visualMode)return}else y=="lastEdit"&&(k=xk(h)||k);h.setOption("disableInput",!1),O&&O.replace?(h.toggleOverwrite(!0),h.setOption("keyMap","vim-replace"),t.signal(h,"vim-mode-change",{mode:"replace"})):(h.toggleOverwrite(!1),h.setOption("keyMap","vim-insert"),t.signal(h,"vim-mode-change",{mode:"insert"})),j.macroModeState.isPlaying||(h.on("change",kk),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=h.setBookmark(k,{insertLeft:!0}),t.on(h.getInputField(),"keydown",Ek)),b.visualMode&&Zr(h),nk(h,k,P)}},toggleVisualMode:function(h,O,b){var y=O.repeat,w=h.getCursor(),k;if(b.visualMode)b.visualLine!=!!O.linewise||b.visualBlock!=!!O.blockwise?(b.visualLine=!!O.linewise,b.visualBlock=!!O.blockwise,t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),xa(h)):Zr(h);else{b.visualMode=!0,b.visualLine=!!O.linewise,b.visualBlock=!!O.blockwise,k=Ee(h,new e(w.line,w.ch+y-1));var P=i(h,w,k);b.sel={anchor:P.start,head:P.end},t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),xa(h),kn(h,b,"<",Tt(w,k)),kn(h,b,">",uo(w,k))}},reselectLastSelection:function(h,O,b){var y=b.lastSelection;if(b.visualMode&&ok(h,b),y){var w=y.anchorMark.find(),k=y.headMark.find();if(!w||!k)return;b.sel={anchor:w,head:k},b.visualMode=!0,b.visualLine=y.visualLine,b.visualBlock=y.visualBlock,xa(h),kn(h,b,"<",Tt(w,k)),kn(h,b,">",uo(w,k)),t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""})}},joinLines:function(h,O,b){var y,w;if(b.visualMode){if(y=h.getCursor("anchor"),w=h.getCursor("head"),at(w,y)){var k=w;w=y,y=k}w.ch=ii(h,w.line)-1}else{var P=Math.max(O.repeat,2);y=h.getCursor(),w=Ee(h,new e(y.line+P-1,1/0))}for(var X=0,R=y.line;R<w.line;R++){X=ii(h,y.line);var M="",z=0;if(!O.keepSpaces){var G=h.getLine(y.line+1);z=G.search(/\S/),z==-1?z=G.length:M=" "}h.replaceRange(M,new e(y.line,X),new e(y.line+1,z))}var J=Ee(h,new e(y.line,X));b.visualMode&&Zr(h,!1),h.setCursor(J)},newLineAndEnterInsertMode:function(h,O,b){b.insertMode=!0;var y=it(h.getCursor());if(y.line===h.firstLine()&&!O.after)h.replaceRange(`
`,new e(h.firstLine(),0)),h.setCursor(h.firstLine(),0);else{y.line=O.after?y.line:y.line-1,y.ch=ii(h,y.line),h.setCursor(y);var w=t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent;w(h)}this.enterInsertMode(h,{repeat:O.repeat},b)},paste:function(h,O,b){var y=j.registerController.getRegister(O.registerName);if(O.registerName==="+")navigator.clipboard.readText().then(k=>{this.continuePaste(h,O,b,k,y)});else{var w=y.toString();this.continuePaste(h,O,b,w,y)}},continuePaste:function(h,O,b,y,w){var k=it(h.getCursor());if(y){if(O.matchIndent){var P=h.getOption("tabSize"),X=function(ni){var Ht=ni.split(" ").length-1,Yr=ni.split(" ").length-1;return Ht*P+Yr*1},R=h.getLine(h.getCursor().line),M=X(R.match(/^\s*/)[0]),z=y.replace(/\n$/,""),G=y!==z,J=X(y.match(/^\s*/)[0]),y=z.replace(/^\s*/gm,function(ni){var Ht=M+(X(ni)-J);if(Ht<0)return"";if(h.getOption("indentWithTabs")){var Yr=Math.floor(Ht/P);return Array(Yr+1).join(" ")}else return Array(Ht+1).join(" ")});y+=G?`
`:""}if(O.repeat>1)var y=Array(O.repeat+1).join(y);var Y=w.linewise,W=w.blockwise;if(W){y=y.split(`
`),Y&&y.pop();for(var oe=0;oe<y.length;oe++)y[oe]=y[oe]==""?" ":y[oe];k.ch+=O.after?1:0,k.ch=Math.min(ii(h,k.line),k.ch)}else Y?b.visualMode?y=b.visualLine?y.slice(0,-1):`
`+y.slice(0,y.length-1)+`
`:O.after?(y=`
`+y.slice(0,y.length-1),k.ch=ii(h,k.line)):k.ch=0:k.ch+=O.after?1:0;var fe;if(b.visualMode){b.lastPastedText=y;var Ae,_e=fI(h,b),Re=_e[0],ft=_e[1],di=h.getSelection(),Zt=h.listSelections(),ri=new Array(Zt.length).join("1").split("1");b.lastSelection&&(Ae=b.lastSelection.headMark.find()),j.registerController.unnamedRegister.setText(di),W?(h.replaceSelections(ri),ft=new e(Re.line+y.length-1,Re.ch),h.setCursor(Re),rk(h,ft),h.replaceSelections(y),fe=Re):b.visualBlock?(h.replaceSelections(ri),h.setCursor(Re),h.replaceRange(y,Re,Re),fe=Re):(h.replaceRange(y,Re,ft),fe=h.posFromIndex(h.indexFromPos(Re)+y.length-1)),Ae&&(b.lastSelection.headMark=h.setBookmark(Ae)),Y&&(fe.ch=0)}else if(W){h.setCursor(k);for(var oe=0;oe<y.length;oe++){var Ke=k.line+oe;Ke>h.lastLine()&&h.replaceRange(`
`,new e(Ke,0));var et=ii(h,Ke);et<k.ch&&cI(h,Ke,k.ch)}h.setCursor(k),rk(h,new e(k.line+y.length-1,k.ch)),h.replaceSelections(y),fe=k}else if(h.replaceRange(y,k),Y){var Ke=O.after?k.line+1:k.line;fe=new e(Ke,Vr(h.getLine(Ke)))}else fe=it(k),/\n/.test(y)||(fe.ch+=y.length-(O.after?1:0));b.visualMode&&Zr(h,!1),h.setCursor(fe)}},undo:function(h,O){h.operation(function(){co(h,t.commands.undo,O.repeat)(),h.setCursor(Ee(h,h.getCursor("start")))})},redo:function(h,O){co(h,t.commands.redo,O.repeat)()},setRegister:function(h,O,b){b.inputState.registerName=O.selectedCharacter},insertRegister:function(h,O,b){var y=O.selectedCharacter,w=j.registerController.getRegister(y),k=w&&w.toString();k&&h.replaceSelection(k)},oneNormalCommand:function(h,O,b){ho(h,!0),b.insertModeReturn=!0,t.on(h,"vim-command-done",function y(){b.visualMode||(b.insertModeReturn&&(b.insertModeReturn=!1,b.insertMode||ce.enterInsertMode(h,{},b)),t.off(h,"vim-command-done",y))})},setMark:function(h,O,b){var y=O.selectedCharacter;y&&kn(h,b,y,h.getCursor())},replace:function(h,O,b){var y=O.selectedCharacter||"",w=h.getCursor(),k,P,X=h.listSelections();if(b.visualMode)w=h.getCursor("start"),P=h.getCursor("end");else{var R=h.getLine(w.line);k=w.ch+O.repeat,k>R.length&&(k=R.length),P=new e(w.line,k)}var M=i(h,w,P);if(w=M.start,P=M.end,y==`
`)b.visualMode||h.replaceRange("",w,P),(t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent)(h);else{var z=h.getRange(w,P);if(z=z.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y),z=z.replace(/[^\n]/g,y),b.visualBlock){var G=new Array(h.getOption("tabSize")+1).join(" ");z=h.getSelection(),z=z.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y);var J=z.replace(/\t/g,G).replace(/[^\n]/g,y).split(`
`);h.replaceSelections(J)}else h.replaceRange(z,w,P);b.visualMode?(w=at(X[0].anchor,X[0].head)?X[0].anchor:X[0].head,h.setCursor(w),Zr(h,!1)):h.setCursor($e(P,0,-1))}},incrementNumberToken:function(h,O){for(var b=h.getCursor(),y=h.getLine(b.line),w=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi,k,P,X,R;(k=w.exec(y))!==null&&(P=k.index,X=P+k[0].length,!(b.ch<X)););if(!(!O.backtrack&&X<=b.ch)){if(k){var M=k[2]||k[4],z=k[3]||k[5],G=O.increase?1:-1,J={"0b":2,0:8,"":10,"0x":16}[M.toLowerCase()],Y=parseInt(k[1]+z,J)+G*O.repeat;R=Y.toString(J);var W=M?new Array(z.length-R.length+1+k[1].length).join("0"):"";R.charAt(0)==="-"?R="-"+M+W+R.substr(1):R=M+W+R;var oe=new e(b.line,P),fe=new e(b.line,X);h.replaceRange(R,oe,fe)}else return;h.setCursor(new e(b.line,P+R.length-1))}},repeatLastEdit:function(h,O,b){var y=b.lastEditInputState;if(y){var w=O.repeat;w&&O.repeatIsExplicit?y.repeatOverride=w:w=y.repeatOverride||w,Ck(h,b,w,!1)}},indent:function(h,O){h.indentLine(h.getCursor().line,O.indentRight)},exitInsertMode:function(h,O){ho(h)}};function ye(h,O){ce[h]=O}function Ee(h,O,b){var y=h.state.vim,w=y.insertMode||y.visualMode,k=Math.min(Math.max(h.firstLine(),O.line),h.lastLine()),P=h.getLine(k),X=P.length-1+ +!!w,R=Math.min(Math.max(0,O.ch),X),M=P.charCodeAt(R);if(56320<=M&&M<=57343){var z=1;b&&b.line==k&&b.ch>R&&(z=-1),R+=z,R>X&&(R-=2)}return new e(k,R)}function je(h){var O={};for(var b in h)h.hasOwnProperty(b)&&(O[b]=h[b]);return O}function $e(h,O,b){return typeof O=="object"&&(b=O.ch,O=O.line),new e(h.line+O,h.ch+b)}function Vi(h,O,b,y){y.operator&&(b="operatorPending");for(var w,k=[],P=[],X=ne?O.length-n:0,R=X;R<O.length;R++){var M=O[R];b=="insert"&&M.context!="insert"||M.context&&M.context!=b||y.operator&&M.type=="action"||!(w=wn(h,M.keys))||(w=="partial"&&k.push(M),w=="full"&&P.push(M))}return{partial:k.length&&k,full:P.length&&P}}function wn(h,O){let b=O.slice(-11)=="<character>",y=O.slice(-10)=="<register>";if(b||y){var w=O.length-(b?11:10),k=h.slice(0,w),P=O.slice(0,w);return k==P&&h.length>w?"full":P.indexOf(k)==0?"partial":!1}else return h==O?"full":O.indexOf(h)==0?"partial":!1}function Er(h){var O=/^.*(<[^>]+>)$/.exec(h),b=O?O[1]:h.slice(-1);if(b.length>1)switch(b){case"<CR>":case"<S-CR>":b=`
`;break;case"<Space>":case"<S-Space>":b=" ";break;default:b="";break}return b}function co(h,O,b){return function(){for(var y=0;y<b;y++)O(h)}}function it(h){return new e(h.line,h.ch)}function Ot(h,O){return h.ch==O.ch&&h.line==O.line}function at(h,O){return h.line<O.line||h.line==O.line&&h.ch<O.ch}function Tt(h,O){return arguments.length>2&&(O=Tt.apply(void 0,Array.prototype.slice.call(arguments,1))),at(h,O)?h:O}function uo(h,O){return arguments.length>2&&(O=uo.apply(void 0,Array.prototype.slice.call(arguments,1))),at(h,O)?O:h}function ik(h,O,b){var y=at(h,O),w=at(O,b);return y&&w}function ii(h,O){return h.getLine(O).length}function Km(h){return h.trim?h.trim():h.replace(/^\s+|\s+$/g,"")}function lI(h){return h.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}function cI(h,O,b){var y=ii(h,O),w=new Array(b-y+1).join(" ");h.setCursor(new e(O,y)),h.replaceRange(w,h.getCursor())}function rk(h,O){var b=[],y=h.listSelections(),w=it(h.clipPos(O)),k=!Ot(O,w),P=h.getCursor("head"),X=uI(y,P),R=Ot(y[X].head,y[X].anchor),M=y.length-1,z=M-X>X?M:0,G=y[z].anchor,J=Math.min(G.line,w.line),Y=Math.max(G.line,w.line),W=G.ch,oe=w.ch,fe=y[z].head.ch-W,Ae=oe-W;fe>0&&Ae<=0?(W++,k||oe--):fe<0&&Ae>=0?(W--,R||oe++):fe<0&&Ae==-1&&(W--,oe++);for(var _e=J;_e<=Y;_e++){var Re={anchor:new e(_e,W),head:new e(_e,oe)};b.push(Re)}return h.setSelections(b),O.ch=oe,G.ch=W,G}function nk(h,O,b){for(var y=[],w=0;w<b;w++){var k=$e(O,w,0);y.push({anchor:k,head:k})}h.setSelections(y,0)}function uI(h,O,b){for(var y=0;y<h.length;y++){var w=b!="head"&&Ot(h[y].anchor,O),k=b!="anchor"&&Ot(h[y].head,O);if(w||k)return y}return-1}function fI(h,O){var b=O.lastSelection,y=function(){var k=h.listSelections(),P=k[0],X=k[k.length-1],R=at(P.anchor,P.head)?P.anchor:P.head,M=at(X.anchor,X.head)?X.head:X.anchor;return[R,M]},w=function(){var k=h.getCursor(),P=h.getCursor(),X=b.visualBlock;if(X){var R=X.width,M=X.height;P=new e(k.line+M,k.ch+R);for(var z=[],G=k.line;G<P.line;G++){var J=new e(G,k.ch),Y=new e(G,P.ch),W={anchor:J,head:Y};z.push(W)}h.setSelections(z)}else{var oe=b.anchorMark.find(),fe=b.headMark.find(),Ae=fe.line-oe.line,_e=fe.ch-oe.ch;P={line:P.line+Ae,ch:Ae?P.ch:_e+P.ch},b.visualLine&&(k=new e(k.line,0),P=new e(P.line,ii(h,P.line))),h.setSelection(k,P)}return[k,P]};return O.visualMode?y():w()}function ok(h,O){var b=O.sel.anchor,y=O.sel.head;O.lastPastedText&&(y=h.posFromIndex(h.indexFromPos(b)+O.lastPastedText.length),O.lastPastedText=null),O.lastSelection={anchorMark:h.setBookmark(b),headMark:h.setBookmark(y),anchor:it(b),head:it(y),visualMode:O.visualMode,visualLine:O.visualLine,visualBlock:O.visualBlock}}function hI(h,O,b,y){var w=h.state.vim.sel,k=y?O:w.head,P=y?O:w.anchor,X;return at(b,O)&&(X=b,b=O,O=X),at(k,P)?(k=Tt(O,k),P=uo(P,b)):(P=Tt(O,P),k=uo(k,b),k=$e(k,0,-1),k.ch==-1&&k.line!=h.firstLine()&&(k=new e(k.line-1,ii(h,k.line-1)))),[P,k]}function xa(h,O,b){var y=h.state.vim;O=O||y.sel,b||(b=y.visualLine?"line":y.visualBlock?"block":"char");var w=Jm(h,O,b);h.setSelections(w.ranges,w.primary)}function Jm(h,O,b,y){var w=it(O.head),k=it(O.anchor);if(b=="char"){var P=!y&&!at(O.head,O.anchor)?1:0,X=at(O.head,O.anchor)?1:0;return w=$e(O.head,0,P),k=$e(O.anchor,0,X),{ranges:[{anchor:k,head:w}],primary:0}}else if(b=="line"){if(at(O.head,O.anchor))w.ch=0,k.ch=ii(h,k.line);else{k.ch=0;var R=h.lastLine();w.line>R&&(w.line=R),w.ch=ii(h,w.line)}return{ranges:[{anchor:k,head:w}],primary:0}}else if(b=="block"){var M=Math.min(k.line,w.line),z=k.ch,G=Math.max(k.line,w.line),J=w.ch;z<J?J+=1:z+=1;for(var Y=G-M+1,W=w.line==M?0:Y-1,oe=[],fe=0;fe<Y;fe++)oe.push({anchor:new e(M+fe,z),head:new e(M+fe,J)});return{ranges:oe,primary:W}}throw"never happens"}function dI(h){var O=h.getCursor("head");return h.getSelection().length==1&&(O=Tt(O,h.getCursor("anchor"))),O}function Zr(h,O){var b=h.state.vim;O!==!1&&h.setCursor(Ee(h,b.sel.head)),ok(h,b),b.visualMode=!1,b.visualLine=!1,b.visualBlock=!1,b.insertMode||t.signal(h,"vim-mode-change",{mode:"normal"})}function pI(h,O,b){var y=h.getRange(O,b);if(/\n\s*$/.test(y)){var w=y.split(`
`);w.pop();for(var k=w.pop();w.length>0&&k&&A(k);k=w.pop())b.line--,b.ch=0;k?(b.line--,b.ch=ii(h,b.line)):b.ch=0}}function OI(h,O,b){O.ch=0,b.ch=0,b.line++}function Vr(h){if(!h)return 0;var O=h.search(/\S/);return O==-1?h.length:O}function eg(h,{inclusive:O,innerWord:b,bigWord:y,noSymbol:w,multiline:k},P){var X=P||dI(h),R=h.getLine(X.line),M=R,z=X.line,G=z,J=X.ch,Y,W=w?f[0]:d[0];if(b&&/\s/.test(R.charAt(J)))W=function(ft){return/\s/.test(ft)};else{for(;!W(R.charAt(J));)if(J++,J>=R.length){if(!k)return null;J--,Y=ck(h,X,!0,y,!0);break}y?W=d[0]:(W=f[0],W(R.charAt(J))||(W=f[1]))}for(var oe=J,fe=J;W(R.charAt(fe))&&fe>=0;)fe--;if(fe++,Y)oe=Y.to,G=Y.line,M=h.getLine(G),!M&&oe==0&&oe++;else for(;W(R.charAt(oe))&&oe<R.length;)oe++;if(O){var Ae=oe,_e=X.ch<=fe&&/\s/.test(R.charAt(X.ch));if(!_e)for(;/\s/.test(M.charAt(oe))&&oe<M.length;)oe++;if(Ae==oe||_e){for(var Re=fe;/\s/.test(R.charAt(fe-1))&&fe>0;)fe--;!fe&&!_e&&(fe=Re)}}return{start:new e(z,fe),end:new e(G,oe)}}function mI(h,O,b){var y=O;if(!t.findMatchingTag||!t.findEnclosingTag)return{start:y,end:y};var w=t.findMatchingTag(h,O)||t.findEnclosingTag(h,O);return!w||!w.open||!w.close?{start:y,end:y}:b?{start:w.open.from,end:w.close.to}:{start:w.open.to,end:w.close.from}}function sk(h,O,b){Ot(O,b)||j.jumpList.add(h,O,b)}function ak(h,O){j.lastCharacterSearch.increment=h,j.lastCharacterSearch.forward=O.forward,j.lastCharacterSearch.selectedCharacter=O.selectedCharacter}var gI={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},lk={bracket:{isComplete:function(h){if(h.nextCh===h.symb){if(h.depth++,h.depth>=1)return!0}else h.nextCh===h.reverseSymb&&h.depth--;return!1}},section:{init:function(h){h.curMoveThrough=!0,h.symb=(h.forward?"]":"[")===h.symb?"{":"}"},isComplete:function(h){return h.index===0&&h.nextCh===h.symb}},comment:{isComplete:function(h){var O=h.lastCh==="*"&&h.nextCh==="/";return h.lastCh=h.nextCh,O}},method:{init:function(h){h.symb=h.symb==="m"?"{":"}",h.reverseSymb=h.symb==="{"?"}":"{"},isComplete:function(h){return h.nextCh===h.symb}},preprocess:{init:function(h){h.index=0},isComplete:function(h){if(h.nextCh==="#"){var O=h.lineText.match(/^#(\w+)/)[1];if(O==="endif"){if(h.forward&&h.depth===0)return!0;h.depth++}else if(O==="if"){if(!h.forward&&h.depth===0)return!0;h.depth--}if(O==="else"&&h.depth===0)return!0}return!1}}};function bI(h,O,b,y){var w=it(h.getCursor()),k=b?1:-1,P=b?h.lineCount():-1,X=w.ch,R=w.line,M=h.getLine(R),z={lineText:M,nextCh:M.charAt(X),lastCh:null,index:X,symb:y,reverseSymb:(b?{")":"(","}":"{"}:{"(":")","{":"}"})[y],forward:b,depth:0,curMoveThrough:!1},G=gI[y];if(!G)return w;var J=lk[G].init,Y=lk[G].isComplete;for(J&&J(z);R!==P&&O;){if(z.index+=k,z.nextCh=z.lineText.charAt(z.index),!z.nextCh){if(R+=k,z.lineText=h.getLine(R)||"",k>0)z.index=0;else{var W=z.lineText.length;z.index=W>0?W-1:0}z.nextCh=z.lineText.charAt(z.index)}Y(z)&&(w.line=R,w.ch=z.index,O--)}return z.nextCh||z.curMoveThrough?new e(R,z.index):w}function ck(h,O,b,y,w){var k=O.line,P=O.ch,X=h.getLine(k),R=b?1:-1,M=y?d:f;if(w&&X==""){if(k+=R,X=h.getLine(k),!S(h,k))return null;P=b?0:X.length}for(;;){if(w&&X=="")return{from:0,to:0,line:k};for(var z=R>0?X.length:-1,G=z,J=z;P!=z;){for(var Y=!1,W=0;W<M.length&&!Y;++W)if(M[W](X.charAt(P))){for(G=P;P!=z&&M[W](X.charAt(P));)P+=R;if(J=P,Y=G!=J,G==O.ch&&k==O.line&&J==G+R)continue;return{from:Math.min(G,J+1),to:Math.max(G,J),line:k}}Y||(P+=R)}if(k+=R,!S(h,k))return null;X=h.getLine(k),P=R>0?0:X.length}}function yI(h,O,b,y,w,k){var P=it(O),X=[];(y&&!w||!y&&w)&&b++;for(var R=!(y&&w),M=0;M<b;M++){var z=ck(h,O,y,k,R);if(!z){var G=ii(h,h.lastLine());X.push(y?{line:h.lastLine(),from:G,to:G}:{line:0,from:0,to:0});break}X.push(z),O=new e(z.line,y?z.to-1:z.from)}var J=X.length!=b,Y=X[0],W=X.pop();return y&&!w?(!J&&(Y.from!=P.ch||Y.line!=P.line)&&(W=X.pop()),W&&new e(W.line,W.from)):y&&w?W&&new e(W.line,W.to-1):!y&&w?(!J&&(Y.to!=P.ch||Y.line!=P.line)&&(W=X.pop()),W&&new e(W.line,W.to)):W&&new e(W.line,W.from)}function uk(h,O,b,y,w){var k=O,P=new e(k.line+b.repeat-1,1/0),X=h.clipPos(P);return X.ch--,w||(y.lastHPos=1/0,y.lastHSPos=h.charCoords(X,"div").left),P}function tg(h,O,b,y,w){if(y){for(var k=w||h.getCursor(),P=k.ch,X,R=0;R<O;R++){var M=h.getLine(k.line);if(X=vI(P,M,y,b,!0),X==-1)return;P=X}if(X!=null)return new e(h.getCursor().line,X)}}function xI(h,O){var b=h.getCursor().line;return Ee(h,new e(b,O-1))}function kn(h,O,b,y){!le(b,p)&&!x.test(b)||(O.marks[b]&&O.marks[b].clear(),O.marks[b]=h.setBookmark(y))}function vI(h,O,b,y,w){var k;return y?(k=O.indexOf(b,h+1),k!=-1&&!w&&(k-=1)):(k=O.lastIndexOf(b,h-1),k!=-1&&!w&&(k+=1)),k}function fk(h,O,b,y,w){var k=O.line,P=h.firstLine(),X=h.lastLine(),R,M,z=k;function G(fe){return!h.getLine(fe)}function J(fe,Ae,_e){return _e?G(fe)!=G(fe+Ae):!G(fe)&&G(fe+Ae)}if(y){for(;P<=z&&z<=X&&b>0;)J(z,y)&&b--,z+=y;return{start:new e(z,0),end:O}}var Y=h.state.vim;if(Y.visualLine&&J(k,1,!0)){var W=Y.sel.anchor;J(W.line,-1,!0)&&(!w||W.line!=k)&&(k+=1)}var oe=G(k);for(z=k;z<=X&&b;z++)J(z,1,!0)&&(!w||G(z)!=oe)&&b--;for(M=new e(z,0),z>X&&!oe?oe=!0:w=!1,z=k;z>P&&!((!w||G(z)==oe||z==k)&&J(z,-1,!0));z--);return R=new e(z,0),{start:R,end:M}}function hk(h,O,b,y,w){function k(M){M.pos+M.dir<0||M.pos+M.dir>=M.line.length?M.line=null:M.pos+=M.dir}function P(M,z,G,J){var Y=M.getLine(z),W={line:Y,ln:z,pos:G,dir:J};if(W.line==="")return{ln:W.ln,pos:W.pos};var oe=W.pos;for(k(W);W.line!==null;){if(oe=W.pos,q(W.line[W.pos]))if(w){for(k(W);W.line!==null&&A(W.line[W.pos]);)oe=W.pos,k(W);return{ln:W.ln,pos:oe+1}}else return{ln:W.ln,pos:W.pos+1};k(W)}return{ln:W.ln,pos:oe+1}}function X(M,z,G,J){var Y=M.getLine(z),W={line:Y,ln:z,pos:G,dir:J};if(W.line==="")return{ln:W.ln,pos:W.pos};var oe=W.pos;for(k(W);W.line!==null;){if(!A(W.line[W.pos])&&!q(W.line[W.pos]))oe=W.pos;else if(q(W.line[W.pos]))return w?A(W.line[W.pos+1])?{ln:W.ln,pos:W.pos+1}:{ln:W.ln,pos:oe}:{ln:W.ln,pos:oe};k(W)}return W.line=Y,w&&A(W.line[W.pos])?{ln:W.ln,pos:W.pos}:{ln:W.ln,pos:oe}}for(var R={ln:O.line,pos:O.ch};b>0;)y<0?R=X(h,R.ln,R.pos,y):R=P(h,R.ln,R.pos,y),b--;return new e(R.ln,R.pos)}function wI(h,O,b,y){function w(R,M){if(M.pos+M.dir<0||M.pos+M.dir>=M.line.length){if(M.ln+=M.dir,!S(R,M.ln)){M.line=null,M.ln=null,M.pos=null;return}M.line=R.getLine(M.ln),M.pos=M.dir>0?0:M.line.length-1}else M.pos+=M.dir}function k(R,M,z,G){var fe=R.getLine(M),J=fe==="",Y={line:fe,ln:M,pos:z,dir:G},W={ln:Y.ln,pos:Y.pos},oe=Y.line==="";for(w(R,Y);Y.line!==null;){if(W.ln=Y.ln,W.pos=Y.pos,Y.line===""&&!oe)return{ln:Y.ln,pos:Y.pos};if(J&&Y.line!==""&&!A(Y.line[Y.pos]))return{ln:Y.ln,pos:Y.pos};q(Y.line[Y.pos])&&!J&&(Y.pos===Y.line.length-1||A(Y.line[Y.pos+1]))&&(J=!0),w(R,Y)}var fe=R.getLine(W.ln);W.pos=0;for(var Ae=fe.length-1;Ae>=0;--Ae)if(!A(fe[Ae])){W.pos=Ae;break}return W}function P(R,M,z,G){var oe=R.getLine(M),J={line:oe,ln:M,pos:z,dir:G},Y={ln:J.ln,pos:null},W=J.line==="";for(w(R,J);J.line!==null;){if(J.line===""&&!W)return Y.pos!==null?Y:{ln:J.ln,pos:J.pos};if(q(J.line[J.pos])&&Y.pos!==null&&!(J.ln===Y.ln&&J.pos+1===Y.pos))return Y;J.line!==""&&!A(J.line[J.pos])&&(W=!1,Y={ln:J.ln,pos:J.pos}),w(R,J)}var oe=R.getLine(Y.ln);Y.pos=0;for(var fe=0;fe<oe.length;++fe)if(!A(oe[fe])){Y.pos=fe;break}return Y}for(var X={ln:O.line,pos:O.ch};b>0;)y<0?X=P(h,X.ln,X.pos,y):X=k(h,X.ln,X.pos,y),b--;return new e(X.ln,X.pos)}function dk(h,O,b,y){var w=O,k={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[b],P={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[b],X=h.getLine(w.line).charAt(w.ch),R=X===P?1:0,M=h.scanForBracket(new e(w.line,w.ch+R),-1,void 0,{bracketRegex:k}),z=h.scanForBracket(new e(w.line,w.ch+R),1,void 0,{bracketRegex:k});if(!M||!z)return null;var G=M.pos,J=z.pos;if(G.line==J.line&&G.ch>J.ch||G.line>J.line){var Y=G;G=J,J=Y}return y?J.ch+=1:G.ch+=1,{start:G,end:J}}function kI(h,O,b,y){var w=it(O),k=h.getLine(w.line),P=k.split(""),X,R,M,z,G=P.indexOf(b);if(w.ch<G)w.ch=G;else if(G<w.ch&&P[w.ch]==b){var J=/string/.test(h.getTokenTypeAt($e(O,0,1))),Y=/string/.test(h.getTokenTypeAt(O)),W=J&&!Y;W||(R=w.ch,--w.ch)}if(P[w.ch]==b&&!R)X=w.ch+1;else for(M=w.ch;M>-1&&!X;M--)P[M]==b&&(X=M+1);if(X&&!R)for(M=X,z=P.length;M<z&&!R;M++)P[M]==b&&(R=M);return!X||!R?{start:w,end:w}:(y&&(--X,++R),{start:new e(w.line,X),end:new e(w.line,R)})}U("pcre",!0,"boolean");class SI{getQuery(){return j.query}setQuery(O){j.query=O}getOverlay(){return this.searchOverlay}setOverlay(O){this.searchOverlay=O}isReversed(){return j.isReversed}setReversed(O){j.isReversed=O}getScrollbarAnnotate(){return this.annotate}setScrollbarAnnotate(O){this.annotate=O}}function Cr(h){var O=h.state.vim;return O.searchState_||(O.searchState_=new SI)}function TI(h){return pk(h,"/")}function EI(h){return Ok(h,"/")}function pk(h,O){var b=Ok(h,O)||[];if(!b.length)return[];var y=[];if(b[0]===0){for(var w=0;w<b.length;w++)typeof b[w]=="number"&&y.push(h.substring(b[w]+1,b[w+1]));return y}}function Ok(h,O){O||(O="/");for(var b=!1,y=[],w=0;w<h.length;w++){var k=h.charAt(w);!b&&k==O&&y.push(w),b=!b&&k=="\\"}return y}function CI(h){for(var O="|(){",b="}",y=!1,w=[],k=-1;k<h.length;k++){var P=h.charAt(k)||"",X=h.charAt(k+1)||"",R=X&&O.indexOf(X)!=-1;y?((P!=="\\"||!R)&&w.push(P),y=!1):P==="\\"?(y=!0,X&&b.indexOf(X)!=-1&&(R=!0),(!R||X==="\\")&&w.push(P)):(w.push(P),R&&X!=="\\"&&w.push("\\"))}return w.join("")}var mk={"\\n":`
`,"\\r":"\r","\\t":" "};function PI(h){for(var O=!1,b=[],y=-1;y<h.length;y++){var w=h.charAt(y)||"",k=h.charAt(y+1)||"";mk[w+k]?(b.push(mk[w+k]),y++):O?(b.push(w),O=!1):w==="\\"?(O=!0,I(k)||k==="$"?b.push("$"):k!=="/"&&k!=="\\"&&b.push("\\")):(w==="$"&&b.push("$"),b.push(w),k==="/"&&b.push("\\"))}return b.join("")}var gk={"\\/":"/","\\\\":"\\","\\n":`
`,"\\r":"\r","\\t":" ","\\&":"&"};function _I(h){for(var O=new t.StringStream(h),b=[];!O.eol();){for(;O.peek()&&O.peek()!="\\";)b.push(O.next());var y=!1;for(var w in gk)if(O.match(w,!0)){y=!0,b.push(gk[w]);break}y||b.push(O.next())}return b.join("")}function QI(h,O,b){var y=j.registerController.getRegister("/");if(y.setText(h),h instanceof RegExp)return h;var w=EI(h),k,P;if(!w.length)k=h;else{k=h.substring(0,w[0]);var X=h.substring(w[0]);P=X.indexOf("i")!=-1}if(!k)return null;ue("pcre")||(k=CI(k)),b&&(O=/^[^A-Z]*$/.test(k));var R=new RegExp(k,O||P?"im":"m");return R}function fo(h){typeof h=="string"&&(h=document.createElement(h));for(var O,b=1;b<arguments.length;b++)if(O=arguments[b])if(typeof O!="object"&&(O=document.createTextNode(O)),O.nodeType)h.appendChild(O);else for(var y in O)Object.prototype.hasOwnProperty.call(O,y)&&(y[0]==="$"?h.style[y.slice(1)]=O[y]:h.setAttribute(y,O[y]));return h}function ut(h,O){var b=fo("div",{$color:"red",$whiteSpace:"pre",class:"cm-vim-message"},O);h.openNotification?h.openNotification(b,{bottom:!0,duration:5e3}):alert(b.innerText)}function AI(h,O){return fo("div",{$display:"flex"},fo("span",{$fontFamily:"monospace",$whiteSpace:"pre",$flex:1},h,fo("input",{type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false",$width:"100%"})),O&&fo("span",{$color:"#888"},O))}function Vl(h,O){if(B.length){O.value||(O.value=""),D=O;return}var b=AI(O.prefix,O.desc);if(h.openDialog)h.openDialog(b,O.onClose,{onKeyDown:O.onKeyDown,onKeyUp:O.onKeyUp,bottom:!0,selectValueOnOpen:!1,value:O.value});else{var y="";typeof O.prefix!="string"&&O.prefix&&(y+=O.prefix.textContent),O.desc&&(y+=" "+O.desc),O.onClose(prompt(y,""))}}function $I(h,O){if(h instanceof RegExp&&O instanceof RegExp){for(var b=["global","multiline","ignoreCase","source"],y=0;y<b.length;y++){var w=b[y];if(h[w]!==O[w])return!1}return!0}return!1}function Yl(h,O,b,y){if(O){var w=Cr(h),k=QI(O,!!b,!!y);if(k)return bk(h,k),$I(k,w.getQuery())||w.setQuery(k),k}}function XI(h){if(h.source.charAt(0)=="^")var O=!0;return{token:function(b){if(O&&!b.sol()){b.skipToEnd();return}var y=b.match(h,!1);if(y)return y[0].length==0?(b.next(),"searching"):!b.sol()&&(b.backUp(1),!h.exec(b.next()+y[0]))?(b.next(),null):(b.match(h),"searching");for(;!b.eol()&&(b.next(),!b.match(h,!1)););},query:h}}var Fl=0;function bk(h,O){clearTimeout(Fl);var b=Cr(h);b.highlightTimeout=Fl,Fl=setTimeout(function(){if(h.state.vim){var y=Cr(h);y.highlightTimeout=null;var w=y.getOverlay();(!w||O!=w.query)&&(w&&h.removeOverlay(w),w=XI(O),h.addOverlay(w),h.showMatchesOnScrollbar&&(y.getScrollbarAnnotate()&&y.getScrollbarAnnotate().clear(),y.setScrollbarAnnotate(h.showMatchesOnScrollbar(O))),y.setOverlay(w))}},50)}function yk(h,O,b,y){return h.operation(function(){y===void 0&&(y=1);for(var w=h.getCursor(),k=h.getSearchCursor(b,w),P=0;P<y;P++){var X=k.find(O);if(P==0&&X&&Ot(k.from(),w)){var R=O?k.from():k.to();X=k.find(O),X&&!X[0]&&Ot(k.from(),R)&&h.getLine(R.line).length==R.ch&&(X=k.find(O))}if(!X&&(k=h.getSearchCursor(b,O?new e(h.lastLine()):new e(h.firstLine(),0)),!k.find(O)))return}return k.from()})}function RI(h,O,b,y,w){return h.operation(function(){y===void 0&&(y=1);var k=h.getCursor(),P=h.getSearchCursor(b,k),X=P.find(!O);!w.visualMode&&X&&Ot(P.from(),k)&&P.find(!O);for(var R=0;R<y;R++)if(X=P.find(O),!X&&(P=h.getSearchCursor(b,O?new e(h.lastLine()):new e(h.firstLine(),0)),!P.find(O)))return;return[P.from(),P.to()]})}function ig(h){var O=Cr(h);O.highlightTimeout&&(clearTimeout(O.highlightTimeout),O.highlightTimeout=null),h.removeOverlay(Cr(h).getOverlay()),O.setOverlay(null),O.getScrollbarAnnotate()&&(O.getScrollbarAnnotate().clear(),O.setScrollbarAnnotate(null))}function LI(h,O,b){return typeof h!="number"&&(h=h.line),O instanceof Array?le(h,O):typeof b=="number"?h>=O&&h<=b:h==O}function rg(h){var O=h.getScrollInfo(),b=6,y=10,w=h.coordsChar({left:0,top:b+O.top},"local"),k=O.clientHeight-y+O.top,P=h.coordsChar({left:0,top:k},"local");return{top:w.line,bottom:P.line}}function sh(h,O,b){if(b=="'"||b=="`")return j.jumpList.find(h,-1)||new e(0,0);if(b==".")return xk(h);var y=O.marks[b];return y&&y.find()}function xk(h){if(h.getLastEditEnd)return h.getLastEditEnd();for(var O=h.doc.history.done,b=O.length;b--;)if(O[b].changes)return it(O[b].changes[0].to)}class II{constructor(){this.commandMap_,this.buildCommandMap_()}processCommand(O,b,y){var w=this;O.operation(function(){O.curOp.isVimOp=!0,w._processCommand(O,b,y)})}_processCommand(O,b,y){var w=O.state.vim,k=j.registerController.getRegister(":"),P=k.toString(),X=new t.StringStream(b);k.setText(b);var R=y||{};R.input=b;try{this.parseInput_(O,X,R)}catch(G){throw ut(O,G+""),G}w.visualMode&&Zr(O);var M,z;if(!R.commandName)R.line!==void 0&&(z="move");else if(M=this.matchCommand_(R.commandName),M){if(z=M.name,M.excludeFromCommandHistory&&k.setText(P),this.parseCommandArgs_(X,R,M),M.type=="exToKey"){Ze(O,M.toKeys,M);return}else if(M.type=="exToEx"){this.processCommand(O,M.toInput);return}}if(!z){ut(O,'Not an editor command ":'+b+'"');return}try{vk[z](O,R),(!M||!M.possiblyAsync)&&R.callback&&R.callback()}catch(G){throw ut(O,G+""),G}}parseInput_(O,b,y){var k,P;b.eatWhile(":"),b.eat("%")?(y.line=O.firstLine(),y.lineEnd=O.lastLine()):(y.line=this.parseLineSpec_(O,b),y.line!==void 0&&b.eat(",")&&(y.lineEnd=this.parseLineSpec_(O,b))),y.line==null?O.state.vim.visualMode?(y.selectionLine=(k=sh(O,O.state.vim,"<"))==null?void 0:k.line,y.selectionLineEnd=(P=sh(O,O.state.vim,">"))==null?void 0:P.line):y.selectionLine=O.getCursor().line:(y.selectionLine=y.line,y.selectionLineEnd=y.lineEnd);var w=b.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return w?y.commandName=w[1]:y.commandName=b.match(/.*/)[0],y}parseLineSpec_(O,b){var y=b.match(/^(\d+)/);if(y)return parseInt(y[1],10)-1;switch(b.next()){case".":return this.parseLineSpecOffset_(b,O.getCursor().line);case"$":return this.parseLineSpecOffset_(b,O.lastLine());case"'":var w=b.next(),k=sh(O,O.state.vim,w);if(!k)throw new Error("Mark not set");return this.parseLineSpecOffset_(b,k.line);case"-":case"+":return b.backUp(1),this.parseLineSpecOffset_(b,O.getCursor().line);default:b.backUp(1);return}}parseLineSpecOffset_(O,b){var y=O.match(/^([+-])?(\d+)/);if(y){var w=parseInt(y[2],10);y[1]=="-"?b-=w:b+=w}return b}parseCommandArgs_(O,b,y){if(!O.eol()){b.argString=O.match(/.*/)[0];var w=y.argDelimiter||/\s+/,k=Km(b.argString).split(w);k.length&&k[0]&&(b.args=k)}}matchCommand_(O){for(var b=O.length;b>0;b--){var y=O.substring(0,b);if(this.commandMap_[y]){var w=this.commandMap_[y];if(w.name.indexOf(O)===0)return w}}return null}buildCommandMap_(){this.commandMap_={};for(var O=0;O<o.length;O++){var b=o[O],y=b.shortName||b.name;this.commandMap_[y]=b}}map(O,b,y,w){if(O!=":"&&O.charAt(0)==":"){if(y)throw Error("Mode not supported for ex mappings");var k=O.substring(1);b!=":"&&b.charAt(0)==":"?this.commandMap_[k]={name:k,type:"exToEx",toInput:b.substring(1),user:!0}:this.commandMap_[k]={name:k,type:"exToKey",toKeys:b,user:!0}}else{var P={keys:O,type:"keyToKey",toKeys:b,noremap:!!w};y&&(P.context=y),r.unshift(P)}}unmap(O,b){if(O!=":"&&O.charAt(0)==":"){if(b)throw Error("Mode not supported for ex mappings");var y=O.substring(1);if(this.commandMap_[y]&&this.commandMap_[y].user)return delete this.commandMap_[y],!0}else for(var w=O,k=0;k<r.length;k++)if(w==r[k].keys&&r[k].context===b)return r.splice(k,1),!0}}var vk={colorscheme:function(h,O){if(!O.args||O.args.length<1){ut(h,h.getOption("theme"));return}h.setOption("theme",O.args[0])},map:function(h,O,b,y){var w=O.args;if(!w||w.length<2){h&&ut(h,"Invalid mapping: "+O.input);return}Pr.map(w[0],w[1],b,y)},imap:function(h,O){this.map(h,O,"insert")},nmap:function(h,O){this.map(h,O,"normal")},vmap:function(h,O){this.map(h,O,"visual")},omap:function(h,O){this.map(h,O,"operatorPending")},noremap:function(h,O){this.map(h,O,void 0,!0)},inoremap:function(h,O){this.map(h,O,"insert",!0)},nnoremap:function(h,O){this.map(h,O,"normal",!0)},vnoremap:function(h,O){this.map(h,O,"visual",!0)},onoremap:function(h,O){this.map(h,O,"operatorPending",!0)},unmap:function(h,O,b){var y=O.args;(!y||y.length<1||!Pr.unmap(y[0],b))&&h&&ut(h,"No such mapping: "+O.input)},mapclear:function(h,O){E.mapclear()},imapclear:function(h,O){E.mapclear("insert")},nmapclear:function(h,O){E.mapclear("normal")},vmapclear:function(h,O){E.mapclear("visual")},omapclear:function(h,O){E.mapclear("operatorPending")},move:function(h,O){Br.processCommand(h,h.state.vim,{keys:"",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:O.line+1})},set:function(h,O){var b=O.args,y=O.setCfg||{};if(!b||b.length<1){h&&ut(h,"Invalid mapping: "+O.input);return}var w=b[0].split("="),k=w.shift()||"",P=w.length>0?w.join("="):void 0,X=!1,R=!1;if(k.charAt(k.length-1)=="?"){if(P)throw Error("Trailing characters: "+O.argString);k=k.substring(0,k.length-1),X=!0}else k.charAt(k.length-1)=="!"&&(k=k.substring(0,k.length-1),R=!0);P===void 0&&k.substring(0,2)=="no"&&(k=k.substring(2),P=!1);var M=F[k]&&F[k].type=="boolean";if(M&&(R?P=!ue(k,h,y):P==null&&(P=!0)),!M&&P===void 0||X){var z=ue(k,h,y);z instanceof Error?ut(h,z.message):z===!0||z===!1?ut(h," "+(z?"":"no")+k):ut(h," "+k+"="+z)}else{var G=ie(k,P,h,y);G instanceof Error&&ut(h,G.message)}},setlocal:function(h,O){O.setCfg={scope:"local"},this.set(h,O)},setglobal:function(h,O){O.setCfg={scope:"global"},this.set(h,O)},registers:function(h,O){var b=O.args,y=j.registerController.registers,w=`----------Registers----------
`;if(b)for(var X=b.join(""),R=0;R<X.length;R++){var k=X.charAt(R);if(j.registerController.isValidRegister(k)){var M=y[k]||new Zi;w+='"'+k+" "+M.toString()+`
`}}else for(var k in y){var P=y[k].toString();P.length&&(w+='"'+k+" "+P+`
`)}ut(h,w)},sort:function(h,O){var b,y,w,k,P;function X(){if(O.argString){var Ke=new t.StringStream(O.argString);if(Ke.eat("!")&&(b=!0),Ke.eol())return;if(!Ke.eatSpace())return"Invalid arguments";var et=Ke.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!et||!Ke.eol())return"Invalid arguments";if(et[1]){y=et[1].indexOf("i")!=-1,w=et[1].indexOf("u")!=-1;var ki=et[1].indexOf("d")!=-1||et[1].indexOf("n")!=-1,ni=et[1].indexOf("x")!=-1,Ht=et[1].indexOf("o")!=-1;if(Number(ki)+Number(ni)+Number(Ht)>1)return"Invalid arguments";k=ki&&"decimal"||ni&&"hex"||Ht&&"octal"}et[2]&&(P=new RegExp(et[2].substr(1,et[2].length-2),y?"i":""))}}var R=X();if(R){ut(h,R+": "+O.argString);return}var M=O.line||h.firstLine(),z=O.lineEnd||O.line||h.lastLine();if(M==z)return;var G=new e(M,0),J=new e(z,ii(h,z)),Y=h.getRange(G,J).split(`
`),W=k=="decimal"?/(-?)([\d]+)/:k=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:k=="octal"?/([0-7]+)/:null,oe=k=="decimal"?10:k=="hex"?16:k=="octal"?8:void 0,fe=[],Ae=[];if(k||P)for(var _e=0;_e<Y.length;_e++){var Re=P?Y[_e].match(P):null;Re&&Re[0]!=""?fe.push(Re):W&&W.exec(Y[_e])?fe.push(Y[_e]):Ae.push(Y[_e])}else Ae=Y;function ft(Ke,et){if(b){var ki;ki=Ke,Ke=et,et=ki}y&&(Ke=Ke.toLowerCase(),et=et.toLowerCase());var ni=W&&W.exec(Ke),Ht=W&&W.exec(et);if(!ni||!Ht)return Ke<et?-1:1;var Yr=parseInt((ni[1]+ni[2]).toLowerCase(),oe),sg=parseInt((Ht[1]+Ht[2]).toLowerCase(),oe);return Yr-sg}function di(Ke,et){if(b){var ki;ki=Ke,Ke=et,et=ki}return y&&(Ke[0]=Ke[0].toLowerCase(),et[0]=et[0].toLowerCase()),Ke[0]<et[0]?-1:1}if(fe.sort(P?di:ft),P)for(var _e=0;_e<fe.length;_e++)fe[_e]=fe[_e].input;else k||Ae.sort(ft);if(Y=b?fe.concat(Ae):Ae.concat(fe),w){var Zt=Y,ri;Y=[];for(var _e=0;_e<Zt.length;_e++)Zt[_e]!=ri&&Y.push(Zt[_e]),ri=Zt[_e]}h.replaceRange(Y.join(`
`),G,J)},vglobal:function(h,O){this.global(h,O)},normal:function(h,O){var b=O.argString;if(b&&b[0]=="!"&&(b=b.slice(1),ne=!0),b=b.trimStart(),!b){ut(h,"Argument is required.");return}var y=O.line;if(typeof y=="number")for(var w=isNaN(O.lineEnd)?y:O.lineEnd,k=y;k<=w;k++)h.setCursor(k,0),Ze(h,O.argString.trimStart()),h.state.vim.insertMode&&ho(h,!0);else Ze(h,O.argString.trimStart()),h.state.vim.insertMode&&ho(h,!0)},global:function(h,O){var b=O.argString;if(!b){ut(h,"Regular Expression missing from global");return}var y=O.commandName[0]==="v";b[0]==="!"&&O.commandName[0]==="g"&&(y=!0,b=b.slice(1));var w=O.line!==void 0?O.line:h.firstLine(),k=O.lineEnd||O.line||h.lastLine(),P=TI(b),X=b,R="";if(P&&P.length&&(X=P[0],R=P.slice(1,P.length).join("/")),X)try{Yl(h,X,!0,!0)}catch(fe){ut(h,"Invalid regex: "+X);return}for(var M=Cr(h).getQuery(),z=[],G=w;G<=k;G++){var J=h.getLine(G),Y=M.test(J);Y!==y&&z.push(R?h.getLineHandle(G):J)}if(!R){ut(h,z.join(`
`));return}var W=0,oe=function(){if(W<z.length){var fe=z[W++],Ae=h.getLineNumber(fe);if(Ae==null){oe();return}var _e=Ae+1+R;Pr.processCommand(h,_e,{callback:oe})}else h.releaseLineHandles&&h.releaseLineHandles()};oe()},substitute:function(h,O){if(!h.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var b=O.argString,y=b?pk(b,b[0]):[],w="",k="",P,X,R,M=!1,z=!1;if(y&&y.length)w=y[0],ue("pcre")&&w!==""&&(w=new RegExp(w).source),k=y[1],k!==void 0&&(ue("pcre")?k=_I(k.replace(/([^\\])&/g,"$1$$&")):k=PI(k),j.lastSubstituteReplacePart=k),P=y[2]?y[2].split(" "):[];else if(b&&b.length){ut(h,"Substitutions should be of the form :s/pattern/replace/");return}if(P&&(X=P[0],R=parseInt(P[1]),X&&(X.indexOf("c")!=-1&&(M=!0),X.indexOf("g")!=-1&&(z=!0),ue("pcre")?w=w+"/"+X:w=w.replace(/\//g,"\\/")+"/"+X)),w)try{Yl(h,w,!0,!0)}catch(Ae){ut(h,"Invalid regex: "+w);return}if(k=k||j.lastSubstituteReplacePart,k===void 0){ut(h,"No previous substitute regular expression");return}var G=Cr(h),J=G.getQuery(),Y=O.line!==void 0?O.line:h.getCursor().line,W=O.lineEnd||Y;Y==h.firstLine()&&W==h.lastLine()&&(W=1/0),R&&(Y=W,W=Y+R-1);var oe=Ee(h,new e(Y,0)),fe=h.getSearchCursor(J,oe);DI(h,M,z,Y,W,fe,J,k,O.callback)},startinsert:function(h,O){Ze(h,O.argString=="!"?"A":"i",{})},redo:t.commands.redo,undo:t.commands.undo,write:function(h){t.commands.save?t.commands.save(h):h.save&&h.save()},nohlsearch:function(h){ig(h)},yank:function(h){var O=it(h.getCursor()),b=O.line,y=h.getLine(b);j.registerController.pushText("0","yank",y,!0,!0)},delete:function(h,O){var b=O.selectionLine,y=isNaN(O.selectionLineEnd)?b:O.selectionLineEnd;Zl.delete(h,{linewise:!0},[{anchor:new e(b,0),head:new e(y+1,0)}])},join:function(h,O){var b=O.selectionLine,y=isNaN(O.selectionLineEnd)?b:O.selectionLineEnd;h.setCursor(new e(b,0)),ce.joinLines(h,{repeat:y-b},h.state.vim)},delmarks:function(h,O){if(!O.argString||!Km(O.argString)){ut(h,"Argument required");return}for(var b=h.state.vim,y=new t.StringStream(Km(O.argString));!y.eol();){y.eatSpace();var w=y.pos;if(!y.match(/[a-zA-Z]/,!1)){ut(h,"Invalid argument: "+O.argString.substring(w));return}var k=y.next();if(y.match("-",!0)){if(!y.match(/[a-zA-Z]/,!1)){ut(h,"Invalid argument: "+O.argString.substring(w));return}var P=k,X=y.next();if(P&&X&&T(P)==T(X)){var R=P.charCodeAt(0),M=X.charCodeAt(0);if(R>=M){ut(h,"Invalid argument: "+O.argString.substring(w));return}for(var z=0;z<=M-R;z++){var G=String.fromCharCode(R+z);delete b.marks[G]}}else{ut(h,"Invalid argument: "+P+"-");return}}else k&&delete b.marks[k]}}},Pr=new II;function DI(h,O,b,y,w,k,P,X,R){h.state.vim.exMode=!0;var M=!1,z,G,J;function Y(){h.operation(function(){for(;!M;)W(),fe();Ae()})}function W(){var Re=h.getRange(k.from(),k.to()),ft=Re.replace(P,X),di=k.to().line;k.replace(ft),G=k.to().line,w+=G-di,J=G<di}function oe(){var Re=z&&it(k.to()),ft=k.findNext();return ft&&!ft[0]&&Re&&Ot(k.from(),Re)&&(ft=k.findNext()),ft}function fe(){for(;oe()&&LI(k.from(),y,w);)if(!(!b&&k.from().line==G&&!J)){h.scrollIntoView(k.from(),30),h.setSelection(k.from(),k.to()),z=k.from(),M=!1;return}M=!0}function Ae(Re){if(Re&&Re(),h.focus(),z){h.setCursor(z);var ft=h.state.vim;ft.exMode=!1,ft.lastHPos=ft.lastHSPos=z.ch}R&&R()}function _e(Re,ft,di){t.e_stop(Re);var Zt=_t(Re);switch(Zt){case"y":W(),fe();break;case"n":fe();break;case"a":var ri=R;R=void 0,h.operation(Y),R=ri;break;case"l":W();case"q":case"<Esc>":case"<C-c>":case"<C-[>":Ae(di);break}return M&&Ae(di),!0}if(fe(),M){ut(h,"No matches for "+P.source);return}if(!O){Y(),R&&R();return}Vl(h,{prefix:fo("span","replace with ",fo("strong",X)," (y/n/a/q/l)"),onKeyDown:_e})}function ho(h,O){var b=h.state.vim,y=j.macroModeState,w=j.registerController.getRegister("."),k=y.isPlaying,P=y.lastInsertModeChanges;k||(h.off("change",kk),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=void 0,t.off(h.getInputField(),"keydown",Ek)),!k&&b.insertModeRepeat>1&&(Ck(h,b,b.insertModeRepeat-1,!0),b.lastEditInputState.repeatOverride=b.insertModeRepeat),delete b.insertModeRepeat,b.insertMode=!1,O||h.setCursor(h.getCursor().line,h.getCursor().ch-1),h.setOption("keyMap","vim"),h.setOption("disableInput",!0),h.toggleOverwrite(!1),w.setText(P.changes.join("")),t.signal(h,"vim-mode-change",{mode:"normal"}),y.isRecording&&zI(y)}function wk(h){r.unshift(h)}function NI(h,O,b,y,w){var k={keys:h,type:O};k[O]=b,k[O+"Args"]=y;for(var P in w)k[P]=w[P];wk(k)}U("insertModeEscKeysTimeout",200,"number");function MI(h,O,b,y){var w=j.registerController.getRegister(y);if(y==":"){w.keyBuffer[0]&&Pr.processCommand(h,w.keyBuffer[0]),b.isPlaying=!1;return}var k=w.keyBuffer,P=0;b.isPlaying=!0,b.replaySearchQueries=w.searchQueries.slice(0);for(var X=0;X<k.length;X++)for(var R=k[X],M,z,G=/<(?:[CSMA]-)*\w+>|./gi;M=G.exec(R);)if(z=M[0],E.handleKey(h,z,"macro"),O.insertMode){var J=w.insertModeChanges[P++].changes;j.macroModeState.lastInsertModeChanges.changes=J,_k(h,J,1),ho(h)}b.isPlaying=!1}function UI(h,O){if(!h.isPlaying){var b=h.latestRegister,y=j.registerController.getRegister(b);y&&y.pushText(O)}}function zI(h){if(!h.isPlaying){var O=h.latestRegister,b=j.registerController.getRegister(O);b&&b.pushInsertModeChanges&&b.pushInsertModeChanges(h.lastInsertModeChanges)}}function jI(h,O){if(!h.isPlaying){var b=h.latestRegister,y=j.registerController.getRegister(b);y&&y.pushSearchQuery&&y.pushSearchQuery(O)}}function kk(h,O){var b=j.macroModeState,y=b.lastInsertModeChanges;if(!b.isPlaying)for(var w=h.state.vim;O;){if(y.expectCursorActivityForChange=!0,y.ignoreCount>1)y.ignoreCount--;else if(O.origin=="+input"||O.origin=="paste"||O.origin===void 0){var k=h.listSelections().length;k>1&&(y.ignoreCount=k);var P=O.text.join(`
`);if(y.maybeReset&&(y.changes=[],y.maybeReset=!1),P)if(h.state.overwrite&&!/\n/.test(P))y.changes.push([P]);else{if(P.length>1){var X=w&&w.insertEnd&&w.insertEnd.find(),R=h.getCursor();if(X&&X.line==R.line){var M=X.ch-R.ch;M>0&&M<P.length&&(y.changes.push([P,M]),P="")}}P&&y.changes.push(P)}}O=O.next}}function Sk(h){var w;var O=h.state.vim;if(O.insertMode){var b=j.macroModeState;if(b.isPlaying)return;var y=b.lastInsertModeChanges;y.expectCursorActivityForChange?y.expectCursorActivityForChange=!1:(y.maybeReset=!0,O.insertEnd&&O.insertEnd.clear(),O.insertEnd=h.setBookmark(h.getCursor(),{insertLeft:!0}))}else(w=h.curOp)!=null&&w.isVimOp||Tk(h,O)}function Tk(h,O){var b=h.getCursor("anchor"),y=h.getCursor("head");if(O.visualMode&&!h.somethingSelected()?Zr(h,!1):!O.visualMode&&!O.insertMode&&h.somethingSelected()&&(O.visualMode=!0,O.visualLine=!1,t.signal(h,"vim-mode-change",{mode:"visual"})),O.visualMode){var w=at(y,b)?0:-1,k=at(y,b)?-1:0;y=$e(y,0,w),b=$e(b,0,k),O.sel={anchor:b,head:y},kn(h,O,"<",Tt(y,b)),kn(h,O,">",uo(y,b))}else O.insertMode||(O.lastHPos=h.getCursor().ch)}function ng(h,O){this.keyName=h,this.key=O.key,this.ctrlKey=O.ctrlKey,this.altKey=O.altKey,this.metaKey=O.metaKey,this.shiftKey=O.shiftKey}function Ek(h){var O=j.macroModeState,b=O.lastInsertModeChanges,y=t.keyName?t.keyName(h):h.key;y&&(y.indexOf("Delete")!=-1||y.indexOf("Backspace")!=-1)&&(b.maybeReset&&(b.changes=[],b.maybeReset=!1),b.changes.push(new ng(y,h)))}function Ck(h,O,b,y){var w=j.macroModeState;w.isPlaying=!0;var k=O.lastEditActionCommand,P=O.inputState;function X(){k?Br.processAction(h,O,k):Br.evalInput(h,O)}function R(z){if(w.lastInsertModeChanges.changes.length>0){z=O.lastEditActionCommand?z:1;var G=w.lastInsertModeChanges;_k(h,G.changes,z)}}if(O.inputState=O.lastEditInputState,k&&k.interlaceInsertRepeat)for(var M=0;M<b;M++)X(),R(1);else y||X(),R(b);O.inputState=P,O.insertMode&&!y&&ho(h),w.isPlaying=!1}function Pk(h,O){t.lookupKey(O,"vim-insert",function(y){return typeof y=="string"?t.commands[y](h):y(h),!0})}function _k(h,O,b){var y=h.getCursor("head"),w=j.macroModeState.lastInsertModeChanges.visualBlock;w&&(nk(h,y,w+1),b=h.listSelections().length,h.setCursor(y));for(var k=0;k<b;k++){w&&h.setCursor($e(y,k,0));for(var P=0;P<O.length;P++){var X=O[P];if(X instanceof ng)Pk(h,X.keyName);else if(typeof X=="string")h.replaceSelection(X);else{var R=h.getCursor(),M=$e(R,0,X[0].length-(X[1]||0));h.replaceRange(X[0],R,X[1]?R:M),h.setCursor(M)}}}w&&h.setCursor($e(y,0,1))}function og(h){var O=new h.constructor;return Object.keys(h).forEach(function(b){if(b!="insertEnd"){var y=h[b];Array.isArray(y)?y=y.slice():y&&typeof y=="object"&&y.constructor!=Object&&(y=og(y)),O[b]=y}}),h.sel&&(O.sel={head:h.sel.head&&it(h.sel.head),anchor:h.sel.anchor&&it(h.sel.anchor)}),O}function qI(h,O,b){var k=ve(h),y=h,w=!1,k=E.maybeInitVimState_(y),P=k.visualBlock||k.wasInVisualBlock,X=y.isInMultiSelectMode();if(k.wasInVisualBlock&&!X?k.wasInVisualBlock=!1:X&&k.visualBlock&&(k.wasInVisualBlock=!0),O=="<Esc>"&&!k.insertMode&&!k.visualMode&&X&&k.status=="<Esc>")Rt(y);else if(P||!X||y.inVirtualSelectionMode)w=E.handleKey(y,O,b);else{var R=og(k),M=k.inputState.changeQueueList||[];y.operation(function(){var G;y.curOp&&(y.curOp.isVimOp=!0);var z=0;y.forEachSelection(function(){y.state.vim.inputState.changeQueue=M[z];var J=y.getCursor("head"),Y=y.getCursor("anchor"),W=at(J,Y)?0:-1,oe=at(J,Y)?-1:0;J=$e(J,0,W),Y=$e(Y,0,oe),y.state.vim.sel.head=J,y.state.vim.sel.anchor=Y,w=E.handleKey(y,O,b),y.virtualSelection&&(M[z]=y.state.vim.inputState.changeQueue,y.state.vim=og(R)),z++}),(G=y.curOp)!=null&&G.cursorActivity&&!w&&(y.curOp.cursorActivity=!1),y.state.vim=k,k.inputState.changeQueueList=M,k.inputState.changeQueue=null},!0)}return w&&!k.visualMode&&!k.insert&&k.visualMode!=y.somethingSelected()&&Tk(y,k),w}return ae(),E}function lr(t,e){var i=e.ch,r=e.line+1;r<1&&(r=1,i=0),r>t.lines&&(r=t.lines,i=Number.MAX_VALUE);var n=t.line(r);return Math.min(n.from+Math.max(0,i),n.to)}function kr(t,e){let i=t.lineAt(e);return{line:i.number-1,ch:e-i.from}}var Sr=class{constructor(e,i){this.line=e,this.ch=i}};function Z6(t,e,i){if(t.addEventListener)t.addEventListener(e,i,!1);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||[]).concat(i)}}function V6(t,e,i){if(t.removeEventListener)t.removeEventListener(e,i,!1);else{var r=t._handlers,n=r&&r[e];if(n){var o=n.indexOf(i);o>-1&&(r[e]=n.slice(0,o).concat(n.slice(o+1)))}}}function Y6(t,e,...i){var r,n=(r=t._handlers)===null||r===void 0?void 0:r[e];if(n)for(var o=0;o<n.length;++o)n[o](...i)}function q6(t,...e){if(t)for(var i=0;i<t.length;++i)t[i](...e)}var Nw;try{Nw=new RegExp("[\\w\\p{Alphabetic}\\p{Number}_]","u")}catch(t){Nw=/[\w]/}function Mf(t,e){var i=t.cm6;if(!i.state.readOnly){var r="input.type.compose";if(t.curOp&&(t.curOp.lastChange||(r="input.type.compose.start")),e.annotations)try{e.annotations.some(function(n){n.value=="input"&&(n.value=r)})}catch(n){console.error(n)}else e.userEvent=r;return i.dispatch(e)}}function W6(t,e){var i;t.curOp&&(t.curOp.$changeStart=void 0),(e?la:es)(t.cm6);let r=(i=t.curOp)===null||i===void 0?void 0:i.$changeStart;r!=null&&t.cm6.dispatch({selection:{anchor:r}})}var hee={},We=class t{constructor(e){this.state={},this.marks=Object.create(null),this.$mid=0,this.options={},this._handlers={},this.$lastChangeEndOffset=0,this.virtualSelection=null,this.cm6=e,this.onChange=this.onChange.bind(this),this.onSelectionChange=this.onSelectionChange.bind(this)}openDialog(e,i,r){return pee(this,e,i,r)}openNotification(e,i){return dee(this,e,i)}on(e,i){Z6(this,e,i)}off(e,i){V6(this,e,i)}signal(e,i,r){Y6(this,e,i,r)}indexFromPos(e){return lr(this.cm6.state.doc,e)}posFromIndex(e){return kr(this.cm6.state.doc,e)}foldCode(e){let i=this.cm6,r=i.state.selection.ranges,n=this.cm6.state.doc,o=lr(n,e),s=ee.create([ee.range(o,o)],0).ranges;i.state.selection.ranges=s,Vp(i),i.state.selection.ranges=r}firstLine(){return 0}lastLine(){return this.cm6.state.doc.lines-1}lineCount(){return this.cm6.state.doc.lines}setCursor(e,i){typeof e=="object"&&(i=e.ch,e=e.line);var r=lr(this.cm6.state.doc,{line:e,ch:i||0});this.cm6.dispatch({selection:{anchor:r}},{scrollIntoView:!this.curOp}),this.curOp&&!this.curOp.isVimOp&&this.onBeforeEndOperation()}getCursor(e){var i=this.cm6.state.selection.main,r=e=="head"||!e?i.head:e=="anchor"?i.anchor:e=="start"?i.from:e=="end"?i.to:null;if(r==null)throw new Error("Invalid cursor type");return this.posFromIndex(r)}listSelections(){var e=this.cm6.state.doc;return this.cm6.state.selection.ranges.map(i=>({anchor:kr(e,i.anchor),head:kr(e,i.head)}))}setSelections(e,i){var r=this.cm6.state.doc,n=e.map(o=>{var s=lr(r,o.head),a=lr(r,o.anchor);return s==a?ee.cursor(s,1):ee.range(a,s)});this.cm6.dispatch({selection:ee.create(n,i)})}setSelection(e,i,r){this.setSelections([{anchor:e,head:i}],0),r&&r.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(e){var i=this.cm6.state.doc;return e<0||e>=i.lines?"":this.cm6.state.doc.line(e+1).text}getLineHandle(e){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:e,index:this.indexFromPos(new Sr(e,0))}}getLineNumber(e){var i=this.$lineHandleChanges;if(!i)return null;for(var r=e.index,n=0;n<i.length;n++)if(r=i[n].changes.mapPos(r,1,wt.TrackAfter),r==null)return null;var o=this.posFromIndex(r);return o.ch==0?o.line:null}releaseLineHandles(){this.$lineHandleChanges=void 0}getRange(e,i){var r=this.cm6.state.doc;return this.cm6.state.sliceDoc(lr(r,e),lr(r,i))}replaceRange(e,i,r,n){r||(r=i);var o=this.cm6.state.doc,s=lr(o,i),a=lr(o,r);Mf(this,{changes:{from:s,to:a,insert:e}})}replaceSelection(e){Mf(this,this.cm6.state.replaceSelection(e))}replaceSelections(e){var i=this.cm6.state.selection.ranges,r=i.map((n,o)=>({from:n.from,to:n.to,insert:e[o]||""}));Mf(this,{changes:r})}getSelection(){return this.getSelections().join(`
`)}getSelections(){var e=this.cm6;return e.state.selection.ranges.map(i=>e.state.sliceDoc(i.from,i.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(e=>!e.empty)}getInputField(){return this.cm6.contentDOM}clipPos(e){var i=this.cm6.state.doc,r=e.ch,n=e.line+1;n<1&&(n=1,r=0),n>i.lines&&(n=i.lines,r=Number.MAX_VALUE);var o=i.line(n);return r=Math.min(Math.max(0,r),o.to-o.from),new Sr(n-1,r)}getValue(){return this.cm6.state.doc.toString()}setValue(e){var i=this.cm6;return i.dispatch({changes:{from:0,to:i.state.doc.length,insert:e},selection:ee.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(e,i){var r=this.cm6.state,n=lr(r.doc,e),o=xr(r,n+1,-1);return o&&o.end?{to:kr(r.doc,o.end.from)}:(o=xr(r,n,1),o&&o.end?{to:kr(r.doc,o.end.from)}:{to:void 0})}scanForBracket(e,i,r,n){return gee(this,e,i,r,n)}indentLine(e,i){i?this.indentMore():this.indentLess()}indentMore(){Xf(this.cm6)}indentLess(){Rf(this.cm6)}execCommand(e){if(e=="indentAuto")t.commands.indentAuto(this);else if(e=="goLineLeft")Sf(this.cm6);else if(e=="goLineRight"){kf(this.cm6);let i=this.cm6.state,r=i.selection.main.head;r<i.doc.length&&i.sliceDoc(r,r+1)!==`
`&&ZO(this.cm6)}else console.log(e+" is not implemented")}setBookmark(e,i){var r=i!=null&&i.insertLeft?1:-1,n=this.indexFromPos(e),o=new Mw(this,n,r);return o}addOverlay({query:e}){let i=new Il({regexp:!0,search:e.source,caseSensitive:!/i/.test(e.flags)});if(i.valid){i.forVim=!0,this.cm6Query=i;let r=io.of(i);return this.cm6.dispatch({effects:r}),i}}removeOverlay(e){if(!this.cm6Query)return;this.cm6Query.forVim=!1;let i=io.of(this.cm6Query);this.cm6.dispatch({effects:i})}getSearchCursor(e,i){var r=this,n=null,o=null;i.ch==null&&(i.ch=Number.MAX_VALUE);var s=lr(r.cm6.state.doc,i),a=e.source.replace(/(\\.|{(?:\d+(?:,\d*)?|,\d+)})|[{}]/g,function(d,p){return p||"\\"+d});function l(d,p=0,g=d.length){return new Ll(d,a,{ignoreCase:e.ignoreCase},p,g)}function c(d){var p=r.cm6.state.doc;if(d>p.length)return null;let g=l(p,d).next();return g.done?null:g.value}var u=1e4;function f(d,p){var g=r.cm6.state.doc;for(let x=1;;x++){let v=Math.max(d,p-x*u),S=l(g,v,p),T=null;for(;!S.next().done;)T=S.value;if(T&&(v==d||T.from>v+10))return T;if(v==d)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(d){var p=r.cm6.state.doc;if(d){let g=n?n.from==n.to?n.to-1:n.from:s;n=f(0,g)}else{let g=n?n.from==n.to?n.to+1:n.to:s;n=c(g)}return o=n&&{from:kr(p,n.from),to:kr(p,n.to),match:n.match},n&&n.match},from:function(){return o==null?void 0:o.from},to:function(){return o==null?void 0:o.to},replace:function(d){n&&(Mf(r,{changes:{from:n.from,to:n.to,insert:d}}),n.to=n.from+d.length,o&&(o.to=kr(r.cm6.state.doc,n.to)))}}}findPosV(e,i,r,n){let{cm6:o}=this,s=o.state.doc,a=r=="page"?o.dom.clientHeight:0,l=lr(s,e),c=ee.cursor(l,1,void 0,n),u=Math.round(Math.abs(i));for(let d=0;d<u;d++)r=="page"?c=o.moveVertically(c,i>0,a):r=="line"&&(c=o.moveVertically(c,i>0));let f=kr(s,c.head);return(i<0&&c.head==0&&n!=0&&e.line==0&&e.ch!=0||i>0&&c.head==s.length&&f.ch!=n&&e.line==f.line)&&(f.hitSide=!0),f}charCoords(e,i){var r=this.cm6.contentDOM.getBoundingClientRect(),n=lr(this.cm6.state.doc,e),o=this.cm6.coordsAtPos(n),s=-r.top;return{left:((o==null?void 0:o.left)||0)-r.left,top:((o==null?void 0:o.top)||0)+s,bottom:((o==null?void 0:o.bottom)||0)+s}}coordsChar(e,i){var r=this.cm6.contentDOM.getBoundingClientRect(),n=this.cm6.posAtCoords({x:e.left+r.left,y:e.top+r.top})||0;return kr(this.cm6.state.doc,n)}getScrollInfo(){var e=this.cm6.scrollDOM;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight,width:e.scrollWidth,clientHeight:e.clientHeight,clientWidth:e.clientWidth}}scrollTo(e,i){e!=null&&(this.cm6.scrollDOM.scrollLeft=e),i!=null&&(this.cm6.scrollDOM.scrollTop=i)}scrollIntoView(e,i){if(e){var r=this.indexFromPos(e);this.cm6.dispatch({effects:de.scrollIntoView(r)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(e,i){this.cm6.dom.style.width=e+4+"px",this.cm6.dom.style.height=i+"px",this.refresh()}refresh(){this.cm6.measure()}destroy(){this.removeOverlay()}getLastEditEnd(){return this.posFromIndex(this.$lastChangeEndOffset)}onChange(e){this.$lineHandleChanges&&this.$lineHandleChanges.push(e);for(let r in this.marks)this.marks[r].update(e.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(r=>r.map(e.changes)));var i=this.curOp=this.curOp||{};e.changes.iterChanges((r,n,o,s,a)=>{(i.$changeStart==null||i.$changeStart>o)&&(i.$changeStart=o),this.$lastChangeEndOffset=s;var l={text:a.toJSON()};i.lastChange?i.lastChange.next=i.lastChange=l:i.lastChange=i.change=l},!0),i.changeHandlers||(i.changeHandlers=this._handlers.change&&this._handlers.change.slice())}onSelectionChange(){var e=this.curOp=this.curOp||{};e.cursorActivityHandlers||(e.cursorActivityHandlers=this._handlers.cursorActivity&&this._handlers.cursorActivity.slice()),this.curOp.cursorActivity=!0}operation(e,i){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var r=e()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return r}onBeforeEndOperation(){var e=this.curOp,i=!1;e&&(e.change&&q6(e.changeHandlers,this,e.change),e&&e.cursorActivity&&(q6(e.cursorActivityHandlers,this,null),e.isVimOp&&(i=!0)),this.curOp=null),i&&this.scrollIntoView()}moveH(e,i){if(i=="char"){var r=this.getCursor();this.setCursor(r.line,r.ch+e)}}setOption(e,i){switch(e){case"keyMap":this.state.keyMap=i;break;case"textwidth":this.state.textwidth=i;break}}getOption(e){switch(e){case"firstLineNumber":return 1;case"tabSize":return this.cm6.state.tabSize||4;case"readOnly":return this.cm6.state.readOnly;case"indentWithTabs":return this.cm6.state.facet(Nr)==" ";case"indentUnit":return this.cm6.state.facet(Nr).length||2;case"textwidth":return this.state.textwidth;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(e){this.state.overwrite=e}getTokenTypeAt(e){var i,r=this.indexFromPos(e),n=Zy(this.cm6.state,r),o=n==null?void 0:n.resolve(r),s=((i=o==null?void 0:o.type)===null||i===void 0?void 0:i.name)||"";return/comment/i.test(s)?"comment":/string/i.test(s)?"string":""}overWriteSelection(e){var i=this.cm6.state.doc,r=this.cm6.state.selection,n=r.ranges.map(o=>{if(o.empty){var s=o.to<i.length?i.sliceString(o.from,o.to+1):"";if(s&&!/\n/.test(s))return ee.range(o.from,o.to+1)}return o});this.cm6.dispatch({selection:ee.create(n,r.mainIndex)}),this.replaceSelection(e)}isInMultiSelectMode(){return this.cm6.state.selection.ranges.length>1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(e){var i=this.cm6.state.selection;this.virtualSelection=ee.create(i.ranges,i.mainIndex);for(var r=0;r<this.virtualSelection.ranges.length;r++){var n=this.virtualSelection.ranges[r];n&&(this.cm6.dispatch({selection:ee.create([n])}),e(),this.virtualSelection.ranges[r]=this.cm6.state.selection.ranges[0])}this.cm6.dispatch({selection:this.virtualSelection}),this.virtualSelection=null}hardWrap(e){return xee(this,e)}};We.isMac=typeof navigator!="undefined"&&/Mac/.test(navigator.platform);We.Pos=Sr;We.StringStream=cl;We.commands={cursorCharLeft:function(t){xf(t.cm6)},redo:function(t){W6(t,!1)},undo:function(t){W6(t,!0)},newlineAndIndent:function(t){$f({state:t.cm6.state,dispatch:e=>Mf(t,e)})},indentAuto:function(t){g6(t.cm6)},newlineAndIndentContinueComment:void 0,save:void 0};We.isWordChar=function(t){return Nw.test(t)};We.keys=hee;We.addClass=function(t,e){};We.rmClass=function(t,e){};We.e_preventDefault=function(t){t.preventDefault()};We.e_stop=function(t){var e,i;(e=t==null?void 0:t.stopPropagation)===null||e===void 0||e.call(t),(i=t==null?void 0:t.preventDefault)===null||i===void 0||i.call(t)};We.lookupKey=function(e,i,r){var n=We.keys[e];n&&r(n)};We.on=Z6;We.off=V6;We.signal=Y6;We.findMatchingTag=bee;We.findEnclosingTag=yee;We.keyName=void 0;function F6(t,e,i){var r=document.createElement("div");return r.appendChild(e),r}function H6(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}function dee(t,e,i){H6(t,a);var r=F6(t,e,i&&i.bottom),n=!1,o,s=i&&typeof i.duration!="undefined"?i.duration:5e3;function a(){n||(n=!0,clearTimeout(o),r.remove(),K6(t,r))}return r.onclick=function(l){l.preventDefault(),a()},G6(t,r),s&&(o=setTimeout(a,s)),a}function G6(t,e){var i=t.state.dialog;t.state.dialog=e,e&&i!==e&&(i&&i.contains(document.activeElement)&&t.focus(),i&&i.parentElement?i.parentElement.replaceChild(e,i):i&&i.remove(),We.signal(t,"dialog"))}function K6(t,e){t.state.dialog==e&&(t.state.dialog=null,We.signal(t,"dialog"))}function pee(t,e,i,r){r||(r={}),H6(t,void 0);var n=F6(t,e,r.bottom),o=!1;G6(t,n);function s(l){if(typeof l=="string")a.value=l;else{if(o)return;o=!0,K6(t,n),t.state.dialog||t.focus(),r.onClose&&r.onClose(n)}}var a=n.getElementsByTagName("input")[0];return a&&(r.value&&(a.value=r.value,r.selectValueOnOpen!==!1&&a.select()),r.onInput&&We.on(a,"input",function(l){r.onInput(l,a.value,s)}),r.onKeyUp&&We.on(a,"keyup",function(l){r.onKeyUp(l,a.value,s)}),We.on(a,"keydown",function(l){r&&r.onKeyDown&&r.onKeyDown(l,a.value,s)||(l.keyCode==13&&i(a.value),(l.keyCode==27||r.closeOnEnter!==!1&&l.keyCode==13)&&(a.blur(),We.e_stop(l),s()))}),r.closeOnBlur!==!1&&We.on(a,"blur",function(){setTimeout(function(){document.activeElement!==a&&s()})}),a.focus()),s}var Oee={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function mee(t){return t&&t.bracketRegex||/[(){}[\]]/}function gee(t,e,i,r,n){for(var o=n&&n.maxScanLineLength||1e4,s=n&&n.maxScanLines||1e3,a=[],l=mee(n),c=i>0?Math.min(e.line+s,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-s),u=e.line;u!=c;u+=i){var f=t.getLine(u);if(f){var d=i>0?0:f.length-1,p=i>0?f.length:-1;if(!(f.length>o))for(u==e.line&&(d=e.ch-(i<0?1:0));d!=p;d+=i){var g=f.charAt(d);if(l.test(g)){var x=Oee[g];if(x&&x.charAt(1)==">"==i>0)a.push(g);else if(a.length)a.pop();else return{pos:new Sr(u,d),ch:g}}}}}return u-i==(i>0?t.lastLine():t.firstLine())?!1:null}function bee(t,e){}function yee(t,e){var i,r,n=t.cm6.state,o=t.indexFromPos(e);if(o<n.doc.length){var s=n.sliceDoc(o,o+1);s=="<"&&o++}for(var a=Zy(n,o),l=(a==null?void 0:a.resolve(o))||null;l;){if(((i=l.firstChild)===null||i===void 0?void 0:i.type.name)=="OpenTag"&&((r=l.lastChild)===null||r===void 0?void 0:r.type.name)=="CloseTag")return{open:B6(n.doc,l.firstChild),close:B6(n.doc,l.lastChild)};l=l.parent}}function B6(t,e){return{from:kr(t,e.from),to:kr(t,e.to)}}var Mw=class{constructor(e,i,r){this.cm=e,this.id=e.$mid++,this.offset=i,this.assoc=r,e.marks[this.id]=this}clear(){delete this.cm.marks[this.id]}find(){return this.offset==null?null:this.cm.posFromIndex(this.offset)}update(e){this.offset!=null&&(this.offset=e.mapPos(this.offset,this.assoc,wt.TrackDel))}};function xee(t,e){for(var i,r=e.column||t.getOption("textwidth")||80,n=e.allowMerge!=!1,o=Math.min(e.from,e.to),s=Math.max(e.from,e.to);o<=s;){var a=t.getLine(o);if(a.length>r){var l=g(a,r,5);if(l){var c=(i=/^\s*/.exec(a))===null||i===void 0?void 0:i[0];t.replaceRange(`
`+c,new Sr(o,l.start),new Sr(o,l.end))}s++}else if(n&&/\S/.test(a)&&o!=s){var u=t.getLine(o+1);if(u&&/\S/.test(u)){var f=a.replace(/\s+$/,""),d=u.replace(/^\s+/,""),p=f+" "+d,l=g(p,r,5);l&&l.start>f.length||p.length<r?(t.replaceRange(" ",new Sr(o,f.length),new Sr(o+1,u.length-d.length)),o--,s--):f.length<a.length&&t.replaceRange("",new Sr(o,f.length),new Sr(o,a.length))}}o++}return o;function g(x,v,S){if(!(x.length<v)){var T=x.slice(0,v),$=x.slice(v),I=/^(?:(\s+)|(\S+)(\s+))/.exec($),_=/(?:(\s+)|(\s+)(\S+))$/.exec(T),A=0,q=0;if(_&&!_[2]&&(A=v-_[1].length,q=v),I&&!I[2]&&(A||(A=v),q=v+I[1].length),A)return{start:A,end:q};if(_&&_[2]&&_.index>S)return{start:_.index,end:_.index+_[2].length};if(I&&I[2])return A=v+I[2].length,{start:A,end:A+I[3].length}}}}var Uw=hP||function(){let t={cursorBlinkRate:1200};return function(){return t}}(),zw=class{constructor(e,i,r,n,o,s,a,l,c,u){this.left=e,this.top=i,this.height=r,this.fontFamily=n,this.fontSize=o,this.fontWeight=s,this.color=a,this.className=l,this.letter=c,this.partial=u}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",e.style.height=this.height+"px",e.style.lineHeight=this.height+"px",e.style.fontFamily=this.fontFamily,e.style.fontSize=this.fontSize,e.style.fontWeight=this.fontWeight,e.style.color=this.partial?"transparent":this.color,e.className=this.className,e.textContent=this.letter}eq(e){return this.left==e.left&&this.top==e.top&&this.height==e.height&&this.fontFamily==e.fontFamily&&this.fontSize==e.fontSize&&this.fontWeight==e.fontWeight&&this.color==e.color&&this.className==e.className&&this.letter==e.letter}},jw=class{constructor(e,i){this.view=e,this.rangePieces=[],this.cursors=[],this.cm=i,this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=e.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),e.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){let i=Uw(this.cm.cm6.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=i+"ms"}update(e){(e.selectionSet||e.geometryChanged||e.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink"),vee(e)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,i=[];for(let r of e.selection.ranges){let n=r==e.selection.main,o=Tee(this.cm,this.view,r,n);o&&i.push(o)}return{cursors:i}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((i,r)=>!i.eq(this.cursors[r]))){let i=this.cursorLayer.children;if(i.length!==e.length){this.cursorLayer.textContent="";for(let r of e)this.cursorLayer.appendChild(r.draw())}else e.forEach((r,n)=>r.adjust(i[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}};function vee(t){return Uw(t.startState)!=Uw(t.state)}var wee={".cm-vimMode .cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696",color:"transparent !important"}},kee=$t.highest(de.theme(wee));function See(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==ot.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Tee(t,e,i,r){var n,o;let s=i.head,a=!1,l=1,c=t.state.vim;if(c&&(!c.insertMode||t.state.overwrite)){if(a=!0,c.visualBlock&&!r)return null;i.anchor<i.head&&s--,t.state.overwrite?l=.2:c.status&&(l=.5)}if(a){let f=s<e.state.doc.length&&e.state.sliceDoc(s,s+1);f&&/[\uDC00-\uDFFF]/.test(f)&&s>1&&(s--,f=e.state.sliceDoc(s,s+1));let d=e.coordsAtPos(s,1);if(!d)return null;let p=See(e),g=e.domAtPos(s),x=g?g.node:e.contentDOM;for(;g&&g.node instanceof HTMLElement;)x=g.node,g={node:g.node.childNodes[g.offset],offset:0};if(!(x instanceof HTMLElement)){if(!x.parentNode)return null;x=x.parentNode}let v=getComputedStyle(x),S=d.left,T=(o=(n=e).coordsForChar)===null||o===void 0?void 0:o.call(n,s);if(T&&(S=T.left),!f||f==`
`||f=="\r")f="\xA0";else if(f==" "){f="\xA0";var u=e.coordsAtPos(s+1,-1);u&&(S=u.left-(u.left-d.left)/parseInt(v.tabSize))}else/[\uD800-\uDBFF]/.test(f)&&s<e.state.doc.length-1&&(f+=e.state.sliceDoc(s+1,s+2));let $=d.bottom-d.top;return new zw(S-p.left,d.top-p.top+$*(1-l),$*l,v.fontFamily,v.fontSize,v.fontWeight,v.color,r?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",f,l!=1)}else return null}var Eee=typeof navigator!="undefined"&&/linux/i.test(navigator.platform)&&/ Gecko\/\d+/.exec(navigator.userAgent),ha=fee(We),Cee=250,Pee=de.baseTheme({".cm-vimMode .cm-cursorLayer:not(.cm-vimCursorLayer)":{display:"none"},".cm-vim-panel":{padding:"0px 10px",fontFamily:"monospace",minHeight:"1.3em"},".cm-vim-panel input":{border:"none",outline:"none",backgroundColor:"inherit"},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"}}),_ee=Fe.fromClass(class{constructor(t){this.status="",this.query=null,this.decorations=we.none,this.waitForCopy=!1,this.lastKeydown="",this.useNextTextInput=!1,this.compositionText="",this.view=t;let e=this.cm=new We(t);ha.enterVimMode(this.cm),this.view.cm=this.cm,this.cm.state.vimPlugin=this,this.blockCursor=new jw(t,e),this.updateClass(),this.cm.on("vim-command-done",()=>{e.state.vim&&(e.state.vim.status=""),this.blockCursor.scheduleRedraw(),this.updateStatus()}),this.cm.on("vim-mode-change",i=>{e.state.vim&&(e.state.vim.mode=i.mode,i.subMode&&(e.state.vim.mode+=" block"),e.state.vim.status="",this.blockCursor.scheduleRedraw(),this.updateClass(),this.updateStatus())}),this.cm.on("dialog",()=>{this.cm.state.statusbar?this.updateStatus():t.dispatch({effects:J6.of(!!this.cm.state.dialog)})}),this.dom=document.createElement("span"),this.dom.style.cssText="position: absolute; right: 10px; top: 1px",this.statusButton=document.createElement("span"),this.statusButton.onclick=i=>{ha.handleKey(this.cm,"<Esc>","user"),this.cm.focus()},this.statusButton.style.cssText="cursor: pointer"}update(t){var e;if((t.viewportChanged||t.docChanged)&&this.query&&this.highlight(this.query),t.docChanged&&this.cm.onChange(t),t.selectionSet&&this.cm.onSelectionChange(),t.viewportChanged,this.cm.curOp&&!this.cm.curOp.isVimOp&&this.cm.onBeforeEndOperation(),t.transactions){for(let i of t.transactions)for(let r of i.effects)if(r.is(io))if(!((e=r.value)===null||e===void 0?void 0:e.forVim))this.highlight(null);else{let o=r.value.create();this.highlight(o)}}this.blockCursor.update(t)}updateClass(){let t=this.cm.state;!t.vim||t.vim.insertMode&&!t.overwrite?this.view.scrollDOM.classList.remove("cm-vimMode"):this.view.scrollDOM.classList.add("cm-vimMode")}updateStatus(){let t=this.cm.state.statusbar,e=this.cm.state.vim;if(!t||!e)return;let i=this.cm.state.dialog;if(i)i.parentElement!=t&&(t.textContent="",t.appendChild(i));else{t.textContent="";var r=(e.mode||"normal").toUpperCase();e.insertModeReturn&&(r+="(C-O)"),this.statusButton.textContent=`--${r}--`,t.appendChild(this.statusButton)}this.dom.textContent=e.status,t.appendChild(this.dom)}destroy(){ha.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(t){if(this.query=t,!t)return this.decorations=we.none;let{view:e}=this,i=new Ki;for(let r=0,n=e.visibleRanges,o=n.length;r<o;r++){let{from:s,to:a}=n[r];for(;r<o-1&&a>n[r+1].from-2*Cee;)a=n[++r].to;t.highlight(e.state,s,a,(l,c)=>{i.add(l,c,Aee)})}return this.decorations=i.finish()}handleKey(t,e){let i=this.cm,r=i.state.vim;if(!r)return;let n=ha.vimKeyFromEvent(t,r);if(We.signal(this.cm,"inputEvent",{type:"handleKey",key:n}),!n)return;if(n=="<Esc>"&&!r.insertMode&&!r.visualMode&&this.query){let a=r.searchState_;a&&(i.removeOverlay(a.getOverlay()),a.setOverlay(null))}if(n==="<C-c>"&&!We.isMac&&i.somethingSelected())return this.waitForCopy=!0,!0;r.status=(r.status||"")+n;let s=ha.multiSelectHandleKey(i,n,"user");return r=ha.maybeInitVimState_(i),!s&&r.insertMode&&i.state.overwrite&&(t.key&&t.key.length==1&&!/\n/.test(t.key)?(s=!0,i.overWriteSelection(t.key)):t.key=="Backspace"&&(s=!0,We.commands.cursorCharLeft(i))),s&&(We.signal(this.cm,"vim-keypress",n),t.preventDefault(),t.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!s}},{eventHandlers:{copy:function(t,e){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var i=this.cm,r=i.state.vim;r&&(r.insertMode?i.setSelection(i.getCursor(),i.getCursor()):i.operation(()=>{i.curOp&&(i.curOp.isVimOp=!0),ha.handleKey(i,"<Esc>","user")}))}))},compositionstart:function(t,e){this.useNextTextInput=!0,We.signal(this.cm,"inputEvent",t)},compositionupdate:function(t,e){We.signal(this.cm,"inputEvent",t)},compositionend:function(t,e){We.signal(this.cm,"inputEvent",t)},keypress:function(t,e){We.signal(this.cm,"inputEvent",t),this.lastKeydown=="Dead"&&this.handleKey(t,e)},keydown:function(t,e){We.signal(this.cm,"inputEvent",t),this.lastKeydown=t.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(t,e))}},provide:()=>[de.inputHandler.of((t,e,i,r)=>{var n,o,s=Lee(t);if(!s)return!1;var a=(n=s.state)===null||n===void 0?void 0:n.vim,l=s.state.vimPlugin;if(a&&!a.insertMode&&!(!((o=s.curOp)===null||o===void 0)&&o.isVimOp)){if(r==="\0\0")return!0;if(We.signal(s,"inputEvent",{type:"text",text:r,from:e,to:i}),r.length==1&&l.useNextTextInput){if(a.expectLiteralNext&&t.composing)return l.compositionText=r,!1;if(l.compositionText){var c=l.compositionText;l.compositionText="";var u=t.state.selection.main.head,f=t.state.sliceDoc(u-c.length,u);if(c===f){var d=s.getCursor();s.replaceRange("",s.posFromIndex(u-c.length),d)}}return l.handleKey({key:r,preventDefault:()=>{},stopPropagation:()=>{}}),Qee(t),!0}}return!1})],decorations:t=>t.decorations});function Qee(t){var e=t.scrollDOM.parentElement;if(e){if(Eee){t.contentDOM.textContent="\0\0",t.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var i=t.scrollDOM.nextSibling,r=window.getSelection(),n=r&&{anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset};t.scrollDOM.remove(),e.insertBefore(t.scrollDOM,i);try{n&&r&&(r.setPosition(n.anchorNode,n.anchorOffset),n.focusNode&&r.extend(n.focusNode,n.focusOffset))}catch(o){console.error(o)}t.focus(),t.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}var Aee=we.mark({class:"cm-searchMatch"}),J6=Se.define(),$ee=He.define({create:()=>!1,update(t,e){for(let i of e.effects)i.is(J6)&&(t=i.value);return t},provide:t=>br.from(t,e=>e?Xee:null)});function Xee(t){let e=document.createElement("div");e.className="cm-vim-panel";let i=t.cm;return i.state.dialog&&e.appendChild(i.state.dialog),{top:!1,dom:e}}function Ree(t){let e=document.createElement("div");e.className="cm-vim-panel";let i=t.cm;return i.state.statusbar=e,i.state.vimPlugin.updateStatus(),{dom:e}}function eR(t={}){return[Pee,_ee,kee,t.status?br.of(Ree):$ee]}function Lee(t){return t.cm||null}var Ww=class{constructor(e,i,r,n,o,s){this.left=e,this.top=i,this.height=r,this.className=n,this.letter=o,this.partial=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",e.style.height=this.height+"px",e.style.lineHeight=this.height+"px",e.style.color=this.partial?"transparent":"",e.className=this.className,e.textContent=this.letter}eq(e){return this.left==e.left&&this.top==e.top&&this.letter==e.letter&&this.height==e.height&&this.className==e.className}},Bw=class{constructor(e){this.view=e,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=e.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),e.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration="1200ms"}update(e){(e.selectionSet||e.geometryChanged||e.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink")}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,i=[];for(let r of e.selection.ranges){let n=r==e.selection.main,o=Mee(null,this.view,r,n);o&&i.push(o)}return{cursors:i}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((i,r)=>!i.eq(this.cursors[r]))){let i=this.cursorLayer.children;if(i.length!==e.length){this.cursorLayer.textContent="";for(let r of e)this.cursorLayer.appendChild(r.draw())}else e.forEach((r,n)=>r.adjust(i[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}},Iee={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696"}},Dee=$t.highest(de.theme(Iee));function Nee(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==ot.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Mee(t,e,i,r){let n=i.head;var o=1;let s=e.coordsAtPos(n,1);if(!s)return null;let a=Nee(e),l=n<e.state.doc.length&&e.state.sliceDoc(n,n+1);(!l||l==`
`||l=="\r")&&(l="\xA0");let c=s.bottom-s.top;return new Ww(s.left-a.left,s.top-a.top+c*(1-o),c*o,r?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",l,o!=1)}var Uee=de.theme({".cm-emacsMode .cm-cursorLayer:not(.cm-vimCursorLayer)":{display:"none"},".cm-vim-panel":{padding:"5px 10px",backgroundColor:"#fffa8f",fontFamily:"monospace"},".cm-vim-panel input":{border:"none",outline:"none",backgroundColor:"#fffa8f"}}),zee=Fe.fromClass(class{constructor(t){this.status="",this.view=t,this.em=new Uf(t),this.blockCursor=new Bw(t),this.view.scrollDOM.classList.add("cm-emacsMode")}update(t){t.docChanged&&(this.em.$emacsMark=null,this.em.updateMarksOnChange(t.changes)),this.blockCursor.update(t)}destroy(){this.view.scrollDOM.classList.remove("cm-emacsMode"),this.blockCursor.destroy()}},{eventHandlers:{mousedown:function(){this.em.$emacsMark=null}},provide:t=>Vt.of([{any:function(e,i){var r;return!!(!((r=e.plugin(t))===null||r===void 0)&&r.em.handleKeyboard(i))}}])}),jee=Se.define(),qee=He.define({create:()=>!1,update(t,e){for(let i of e.effects)i.is(jee)&&(t=i.value);return t},provide:t=>br.from(t,e=>e?Wee:null)});function Wee(t){let e=document.createElement("div");return e.className="cm-vim-panel",{top:!1,dom:e}}function iR(t={}){return[Uee,zee,Dee,qee]}var Bee={Return:"Return",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"Return",Divide:"/",Slash:"/",Multiply:"*",Subtract:"-",Minus:"-",Equal:"="},Zee={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1},qw={},Uf=class t{constructor(e){this.view=e,this.$data={count:0,keyChain:"",lastCommand:""},this.$emacsMarkRing=[],this.$emacsMark=null}static bindKey(e,i){e.split("|").forEach(function(r){let n="",o=r.split(/\s+/);o.forEach(function(s,a){let l=s.split(/-(?=.)/),c=l.pop();l.length&&(n+=l.sort().join("-")+"-"),n+=c,a===o.length-1?qw[n]=i:(qw[n]="null",n+=" ")})})}static getKey(e){var i=e.code,r=e.key;if(Zee[r])return["","",""];i.length>1&&(i[0]=="N"&&(i=i.replace(/^Numpad/,"")),i[0]=="K"&&(i=i.replace(/^Key/,""))),i=Bee[i]||i,i.length==1&&(i=i.toLowerCase());var n="";return e.ctrlKey&&(n+="C-"),e.metaKey&&(n+="CMD-"),e.altKey&&(n+="M-"),e.shiftKey&&(n+="S-"),[i,n,r]}static addCommands(e){Object.keys(e).forEach(function(i){var r=e[i];typeof r=="function"&&(r={exec:r}),t.commands[i]=r})}static execCommand(e,i,r,n=1){var o=void 0;if(typeof e=="function")for(var s=0;s<n;s++)e(i.view);else if(e!=="null")if(e.exec){n>1&&e.handlesCount&&(r||(r={}),typeof r=="object"&&(r.count=n),n=1);for(var s=0;s<n;s++)o=e.exec(i,r||{})}else throw new Error("missformed command");return o}handleKeyboard(e){var i=t.getKey(e),r=this.findCommand(i);if(r&&r.command){var n=t.execCommand(r.command,this,r.args,r.count);if(n===!1)return}return r}findCommand([e,i,r]){if(e){var n=this,o=this.$data;if(!i&&e.length==1&&(n.pushEmacsMark(),o.count)){var s=new Array(o.count+1).join(r);return o.count=null,{command:"insertstring",args:s}}if(i=="C-"||o.count){var c=parseInt(e[e.length-1]);if(typeof c=="number"&&!isNaN(c))return o.count=Math.max(o.count||0,0),o.count=10*o.count+c,{command:"null"}}i&&(e=i+e),o.keyChain&&(e=o.keyChain+=" "+e);var a=qw[e];if(o.keyChain=a=="null"?e:"",!!a){if(a==="null")return{command:"null"};if(a==="universalArgument")return o.count=-4,{command:"null"};var l;if(typeof a!="string"&&(l=a.args,a.command&&(a=a.command)),(a==="insertstring"||a===Af||a===gf)&&n.pushEmacsMark(),!(typeof a=="string"&&(a=t.commands[a],!a))){!a.readOnly&&!a.isYank&&(o.lastCommand=null);var c=o.count||1;return o.count&&(o.count=0),{command:a,args:l,count:c}}}}}showCommandLine(e){console.error("TODO")}updateMarksOnChange(e){this.$emacsMark&&(this.$emacsMark=this.updateMark(this.$emacsMark,e)),this.$emacsMarkRing=this.$emacsMarkRing.map(i=>this.updateMark(i,e)).filter(Boolean)}updateMark(e,i){if(e){var r=e.map(function(n){return i.mapPos(n,1,wt.TrackDel)}).filter(n=>n!=null);return r.length==0?null:r}}emacsMark(){return this.$emacsMark}setEmacsMark(e){this.$emacsMark=e}pushEmacsMark(e,i){var r=this.$emacsMark;r&&this.$emacsMarkRing.push(r),!e||i?this.setEmacsMark(e):this.$emacsMarkRing.push(e)}popEmacsMark(){var e=this.emacsMark();return e?(this.setEmacsMark(null),e):this.$emacsMarkRing.pop()}getLastEmacsMark(){return this.$emacsMark||this.$emacsMarkRing.slice(-1)[0]}getCopyText(){var e=this.view.state;return e.selection.ranges.map(i=>e.sliceDoc(i.from,i.to)).join(`
`)}clearSelection(){var e=this.view,i=e.state.selection,r=!i.ranges.some(o=>o.from!=o.to);if(r)return!1;var n=i.ranges.map(o=>ee.range(o.head,o.head));return e.dispatch({selection:ee.create(n,i.mainIndex)}),!0}onPaste(e){var i=this.view,r=i.state.selection,n;if(r.ranges.length>1){var o=e.split(`
`);o.length==r.ranges.length&&(n=o)}var s=0,a=i.state.changeByRange(l=>{var c=n?n[s]:e;return s++,{changes:{from:l.from,to:l.to,insert:c},range:ee.cursor(l.from+c.length)}});i.dispatch(a)}};Uf.commands={};var tR={"Up|C-p":{command:"goOrSelect",args:[vf,Pl]},"Down|C-n":{command:"goOrSelect",args:[wf,_l]},"Left|C-b":{command:"goOrSelect",args:[ZO,Ow]},"Right|C-f":{command:"goOrSelect",args:[VX,pw]},"C-Left|M-b":{command:"goOrSelect",args:[VO,em]},"C-Right|M-f":{command:"goOrSelect",args:[YO,tm]},"Home|C-a":{command:"goOrSelect",args:[HO,Ef]},"End|C-e":{command:"goOrSelect",args:[GO,Cf]},"C-Home|S-M-,":{command:"goOrSelect",args:[Pf,Ql]},"C-End|S-M-.":{command:"goOrSelect",args:[_f,Al]},"S-Up|S-C-p":Pl,"S-Down|S-C-n":_l,"S-Left|S-C-b":Ow,"S-Right|S-C-f":pw,"S-C-Left|S-M-b":e6,"S-C-Right|S-M-f":JX,"S-Home|S-C-a":Ef,"S-End|S-C-e":Cf,"S-C-Home":Ql,"S-C-End":Al,"C-l":"recenterTopBottom","M-s":"centerSelection","M-g":"gotoline","C-x C-p|C-x h":im,"PageDown|C-v|C-Down":{command:"goOrSelect",args:[Cl,ua]},"PageUp|M-v|C-Up":{command:"goOrSelect",args:[El,ua]},"S-C-Down":ua,"S-C-Up":Tf,"C-s":Nl,"C-r":Nl,"M-C-s":"findnext","M-C-r":"findprevious","S-M-5":"replace",Backspace:$l,"Delete|C-d":Qf,"Return|C-m":{command:"insertstring",args:`
`},"C-o":Af,"M-d|C-Delete":{command:"killWord",args:"right"},"C-Backspace|M-Backspace|M-Delete":{command:"killWord",args:"left"},"C-k":"killLine","M-h":"selectParagraph","M-@|M-S-2":"markWord","C-y|S-Delete":"yank","M-y":"yankRotate","C-g":"keyboardQuit","C-w|C-S-w":"killRegion","M-w":"killRingSave","C-Space":"setMark","C-x C-x":"exchangePointAndMark","C-t":nm,"M-u":{command:"changeCase",args:{dir:1}},"M-l":{command:"changeCase",args:{dir:-1}},"C-x C-u":{command:"changeCase",args:{dir:1,region:!0}},"C-x C-l":{command:"changeCase",args:{dir:1,region:!0}},"M-/":ju,"C-u":"universalArgument","M-;":gf,"C-/|C-x u|S-C--|C-z":la,"S-C-/|S-C-x u|C--|S-C-z":es,"C-x r":"selectRectangularRegion","M-x":{command:"focusCommandLine",args:"M-x "},Esc:"unsetTransientMark"};for(let t in tR)tR[t];var ro=class t{constructor(e=[]){this.ops=e}retain(e){return e<=0?this:this.append({retain:e})}insert(e){return e===""?this:this.append({insert:e})}delete(e){return e<=0?this:this.append({delete:e})}append(e){if(this.ops.length===0)return this.ops.push(e),this;let i=this.ops.pop();return Wi(e)&&Bi(i)?this.append(e).append(i):Wi(e)&&Wi(i)?(this.ops.push({insert:i.insert+e.insert}),this):Bi(e)&&Bi(i)?(this.ops.push({delete:i.delete+e.delete}),this):jr(e)&&jr(i)?(this.ops.push({retain:i.retain+e.retain}),this):(this.ops.push(i,e),this)}compose(e){let i=new da(this.ops),r=new da(e.ops),n=new t;for(;i.hasNext()||r.hasNext();)if(Wi(r.peek()))n.append(r.next());else if(Bi(i.peek()))n.append(i.next());else{let o=Math.min(i.peekLength(),r.peekLength()),s=i.next(o),a=r.next(o);jr(a)?n.append(s):Bi(a)&&jr(s)&&n.append(a)}return n._trim()}transform(e,i){if(i!=="left"&&i!=="right")throw new Error(`Invalid priority "${i}", should be either "left" or "right"`);let r=new da(this.ops),n=new da(e.ops),o=new t;for(;r.hasNext()||n.hasNext();)if(Wi(r.peek())&&(!Wi(n.peek())||i==="left")){let s=gm(r.next());o.retain(s)}else if(Wi(n.peek()))o.append(n.next());else{let s=Math.min(r.peekLength(),n.peekLength()),a=r.next(s),l=n.next(s);if(Bi(a))continue;Bi(l)?o.append(l):o.retain(s)}return o._trim()}_trim(){return this.ops.length>0&&jr(this.ops[this.ops.length-1])&&this.ops.pop(),this}transformPosition(e){let i=new da(this.ops),r=0;for(;i.hasNext()&&r<e;){let n=i.next(),o=gm(n);Bi(n)?e-=Math.min(o,e-r):(Wi(n)&&(e+=o),r+=o)}return e}toCompressed(){return this.ops.map(e=>{if(Wi(e))return e.insert;if(jr(e))return e.retain;if(Bi(e))return-e.delete;throw new Error(`Invalid operation ${e}`)})}static fromCompressed(e){return e.reduce((i,r)=>{if(typeof r=="string")return i.insert(r);if(typeof r=="number"&&r>=0)return i.retain(r);if(typeof r=="number"&&r<0)return i.delete(-r);throw new Error(`Invalid compressed operation ${r}`)},new this)}applyToString(e){let i="",r=0;return this.ops.forEach(n=>{jr(n)&&(i+=e.slice(r,r+n.retain),r+=n.retain),Wi(n)&&(i+=n.insert),Bi(n)&&(r+=n.delete)}),i+=e.slice(r),i}},da=class{constructor(e){this.ops=e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(e=1/0){let i=this.ops[this.index];if(i){let r=this.offset,n=gm(i);if(e>=n-r?(e=n-r,this.index+=1,this.offset=0):this.offset+=e,Bi(i))return{delete:e};if(jr(i))return{retain:e};if(Wi(i))return{insert:i.insert.substr(r,e)}}else return{retain:e}}peek(){return this.ops[this.index]||{retain:1/0}}peekLength(){return this.ops[this.index]?gm(this.ops[this.index])-this.offset:1/0}};function gm(t){if(Wi(t))return t.insert.length;if(jr(t))return t.retain;if(Bi(t))return t.delete}function Wi(t){return typeof t.insert=="string"}function jr(t){return typeof t.retain=="number"}function Bi(t){return typeof t.delete=="number"}var oR=be.define({combine(t){return kt(t,{})}}),rR=xi.define(),Vee=Fe.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(oR);this.collabClient=e,this.deltaSubscription=e.onDelta((i,{remote:r})=>{if(r)return t.dispatch({changes:Zw(i),selection:ss(t.state.selection,i),annotations:[Ct.addToHistory.of(!1),Ct.remote.of(!0),rR.of(!0)],filter:!1})})}update(t){if(!t.transactions.some(i=>i.annotation(rR))){if(t.docChanged){let i=Yee(t.changes),r=nR(t);this.collabClient.handleClientDelta(i,r)}else if(t.focusChanged||!t.state.selection.eq(t.startState.selection)){let i=nR(t);this.collabClient.handleClientSelection(i)}}}destroy(){this.deltaSubscription.destroy()}});function Zw(t){let e=[],i=0;for(let r of t.ops)jr(r)&&(i+=r.retain),Wi(r)&&e.push({from:i,to:i,insert:r.insert}),Bi(r)&&(e.push({from:i,to:i+r.delete}),i+=r.delete);return e}function Yee(t){let e=[];return t.iterChanges((i,r,n,o,s)=>{let a=new ro;i&&a.retain(i),i!==r&&a.delete(r-i);let l=s.toString();l&&a.insert(l),e.push(a)}),e.reverse().reduce((i,r)=>i.compose(r))}function nR(t){return t.view.hasFocus?t.state.selection:null}function ss(t,e){let i=t.ranges.map(r=>ee.range(e.transformPosition(r.anchor),e.transformPosition(r.head)));return ee.create(i,t.mainIndex)}function sR(t){return[Vee,oR.of({collabClient:t})]}var Fee=de.baseTheme({".cm-peerCursor":{position:"relative",display:"inline",zIndex:"1"},".cm-peerCursorCaret":{position:"absolute",left:"0",top:"0",bottom:"0",height:"100%",width:"2px"},".cm-peerCursorLabel":{position:"absolute",left:"0",top:"0",transform:"translateY(-100%)",whiteSpace:"nowrap",padding:"1px 8px",fontSize:"12px",color:"#f8fafc",visibility:"hidden",transitionProperty:"visibility",transitionDuration:"0s",transitionDelay:"1.5s"},".cm-peerCursor .cm-peerCursorLabel:hover":{visibility:"visible"},".cm-peerCursor .cm-peerCursorCaret:hover + .cm-peerCursorLabel":{visibility:"visible",transitionDelay:"0s"},".cm-peerCursor.cm-peerCursor-inline .cm-peerCursorLabel":{marginLeft:"4px",transform:"none"}}),lR=be.define({combine(t){return kt(t,{})}}),Hee=Fe.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(lR);this.peers=e.getPeers(),this.decorations=nt.of(Object.values(this.peers).flatMap(aR),!0),this.peersSubscription=e.onPeersChange(i=>{let r=this.peers;if(r===i)return;let n=new Set,o=[];for(let s in i){let a=i[s],l=r[s];l&&a.eq(l)?n.add(s):o.push(a)}this.decorations=this.decorations.update({filter:(s,a,l)=>n.has(l.spec.id),add:o.flatMap(aR),sort:!0}),this.peers=i,setTimeout(()=>{t.update([])},0)})}destroy(){this.peersSubscription.destroy()}},{decorations:t=>t.decorations}),Vw=class extends Jt{constructor(e,i,r){super(),this.cursorPos=e,this.color=i,this.label=r}toDOM(e){let i=document.createElement("div");i.classList.add("cm-peerCursor"),e.state.doc.lineAt(this.cursorPos).number===1&&i.classList.add("cm-peerCursor-inline");let n=document.createElement("div");n.classList.add("cm-peerCursorCaret"),n.style.backgroundColor=this.color;let o=document.createElement("div");return o.classList.add("cm-peerCursorLabel"),o.textContent=this.label,o.style.backgroundColor=this.color,i.appendChild(n),i.appendChild(o),i}eq(e){return e.cursorPos===this.cursorPos&&e.color===this.color&&e.label===this.label}};function aR(t){let{id:e,selection:i,meta:{hex_color:r,name:n}}=t;if(!i)return[];let o=we.mark({class:"cm-peerSelection",attributes:{style:`background-color: ${r}30`},id:e}),s=i.ranges.filter(l=>!l.empty).map(({from:l,to:c})=>o.range(l,c)),a=i.ranges.map(l=>{let c=l.head;return we.widget({widget:new Vw(c,r,n),id:e}).range(c)});return s.concat(a)}function cR(t){return[Hee,lR.of({collabClient:t}),Fee]}var Gee=de.baseTheme({".cm-doctestDetails":{paddingTop:"4px",paddingBottom:"4px",paddingLeft:"6px"},".cm-doctestDetailsContent":{whiteSpace:"pre-wrap",border:"1px solid #424857",paddingTop:"6px",paddingBottom:"6px",marginLeft:"-8px",paddingLeft:"8px",borderRadius:"4px",marginRight:"16px"},"&light .cm-doctestDetailsContent":{borderColor:"#b6b7b9"},".cm-doctestStatus":{position:"relative"},".cm-doctestStatus::before":{borderRadius:"2px",width:"10px",height:"10px",display:"block",content:"''",position:"absolute",top:"50%",left:"0",transform:"translate(calc(-100% - 6px), -50%)"},".cm-doctestStatus-running::before":{backgroundColor:"#91a4b7"},".cm-doctestStatus-success::before":{backgroundColor:"#4ade80"},".cm-doctestStatus-failed::before":{backgroundColor:"#e97579"}}),uR=Se.define(),fR=Se.define(),hR=He.define({create(t){return we.none},update(t,e){t=t.map(e.changes);for(let i of e.effects){if(i.is(uR)){let r=i.value;t=t.update({filter:(n,o,s)=>!r.some(a=>s.spec.report.line===a.line),add:r.flatMap(n=>Kee(n,e.state.doc)),sort:!0})}i.is(fR)&&(t=we.none)}return t},provide(t){return de.decorations.from(t)}});function Kee(t,e){let i=e.line(t.line).from+t.column,r=[we.mark({class:`cm-doctestStatus cm-doctestStatus-${t.status}`,report:t}).range(i,i+1)];if(t.status==="failed"){let n=e.line(t.end_line+1);r.push(we.widget({widget:new Yw(t),block:!0,report:t}).range(n.from))}return r}var Yw=class extends Jt{constructor(e){super(),this.report=e}toDOM(e){let i=document.createElement("div");i.classList.add("cm-doctestDetails");let r=document.createElement("div");return r.classList.add("cm-doctestDetailsContent"),r.classList.add("editor-theme-aware-ansi"),i.style.marginLeft=`${this.report.column}ch`,r.innerHTML=this.report.details,i.appendChild(r),i}eq(e){return this.report===e.report}};function dR(t,e){let i=[uR.of(e)];t.dispatch({effects:OR(t.state,i)})}function pR(t){let e=[fR.of(null)];t.dispatch({effects:OR(t.state,e)})}var Jee=[hR,Gee];function OR(t,e){return t.field(hR,!1)?e:e.concat(Se.appendConfig.of(Jee))}var ete=de.baseTheme({".cm-signatureHint":{display:"flex"},".cm-signatureHintStepper":{padding:"4px 8px",borderRight:"1px solid black"},".cm-signatureHintContent":{padding:"4px"},".cm-signatureHintActiveArgument":{color:"gray"}}),zf=be.define({combine(t){return kt(t,{})}}),bR=be.define({}).from(zf,({triggerCharacters:t,retriggerCharacters:e})=>({triggerCharacters:new Set(t),retriggerCharacters:new Set(t.concat(e))})),yR=Se.define(),xR=Se.define(),Gw=Se.define(),vR=Se.define(),qr=He.define({create(){return{context:null,hint:null}},update({context:t,hint:e},i){e=e&&e.setPosition(i.state.selection.main.head),tte(i,!!e)&&(t=mR(i.state));for(let n of i.effects)n.is(yR)&&(n.value.signatureResult?e=Fw.build(i.state,n.value.signatureResult):(t=null,e=null)),n.is(xR)&&(t=mR(i.state)),n.is(Gw)&&(t=null,e=null),n.is(vR)&&(e=e&&e.setSelected(n.value));return{context:t,hint:e}},provide(t){return Vn.from(t,e=>e.hint&&e.hint.tooltip)}});function tte(t,e){let{activateOnTyping:i}=t.state.facet(zf),{triggerCharacters:r,retriggerCharacters:n}=t.state.facet(bR),o=t.startState.selection.main.head,s=t.state.selection.main.head,a=t.isUserEvent("input");if(t.docChanged){let l=!1;return t.changes.iterChangedRanges((c,u,f,d)=>{if(!l){if(c<u&&c<=o&&o<=u){let p=t.startState.doc.sliceString(c,u);e&&(l=l||bm(p,n))}if(f<d&&f<=s&&s<=d){let p=t.state.doc.sliceString(f,s);e?l=l||bm(p,n):i&&a&&(l=l||bm(p,r))}}}),l}if(!t.docChanged&&o!==s){let l=t.state.doc.sliceString(Math.min(o,s),Math.max(o,s));if(e)return bm(l,n)}return!1}function bm(t,e){for(let i of t)if(e.has(i))return!0;return!1}function mR(t){let e=t.selection.main.head;return{state:t,pos:e}}var Fw=class t{constructor(e,i,r){this.signatureResult=e,this.selectedIdx=i,this.tooltip=r}static build(e,i){return new t(i,0,{pos:e.selection.main.head,above:!0,create:r=>new Hw(r)})}setSelected(e){return new t(this.signatureResult,e,this.tooltip)}setPosition(e){return e===this.tooltip.pos?this:new t(this.signatureResult,this.selectedIdx,Ce(H({},this.tooltip),{pos:e}))}},Hw=class{constructor(e){this.view=e;let{signatureResult:i}=e.state.field(qr).hint;this.dom=document.createElement("div"),this.dom.classList.add("cm-signatureHint"),i.items.length>1&&(this.stepper=document.createElement("div"),this.stepper.classList.add("cm-signatureHintStepper"),this.dom.appendChild(this.stepper));let r=document.createElement("div");r.classList.add("cm-signatureHintContent"),this.contentLeft=document.createElement("span"),this.contentActive=document.createElement("span"),this.contentActive.classList.add("cm-signatureHintActiveArgument"),this.contentRight=document.createElement("span"),r.appendChild(this.contentLeft),r.appendChild(this.contentActive),r.appendChild(this.contentRight),this.dom.appendChild(r)}mount(){this.updateSelected()}update(e){let i=e.startState.field(qr),r=e.state.field(qr);i!==r&&this.updateSelected()}updateSelected(){let{signatureResult:e,selectedIdx:i}=this.view.state.field(qr).hint,{activeArgumentIdx:r,items:n}=e,o=n[i],s=o.arguments[r];this.stepper&&(this.stepper.textContent=`${i+1}/${n.length}`);let a=o.signature.indexOf(s);this.contentLeft.textContent=o.signature.slice(0,a),this.contentActive.textContent=s,this.contentRight.textContent=o.signature.slice(a+s.length)}},ite=Fe.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(qr);e.context!==t.startState.field(qr).context&&(this.maybeAbortQuery(),e.context&&this.requestSignature(t.state))}destroy(){this.maybeAbortQuery()}requestSignature(t){let{context:e}=t.field(qr),{source:i}=t.facet(zf),r={aborted:!1};i(e).then(n=>{r.aborted||this.view.dispatch({effects:yR.of({signatureResult:n})})}),this.query=r}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}},{eventHandlers:{blur(t){let e=this.view.state.field(qr,!1);e&&e.hint&&this.view.state.facet(zf).closeOnBlur&&setTimeout(()=>{this.view.dispatch({effects:[Gw.of(null)]})},0)}}});function rte(t){return t.dispatch({effects:[xR.of(null)]}),!0}function Kw(t){let e=t.state.field(qr,!1);return!e||!e.hint?!1:(t.dispatch({effects:[Gw.of(null)]}),!0)}var gR=t=>e=>{let i=e.state.field(qr,!1);if(!i||!i.hint)return!1;let{signatureResult:r,selectedIdx:n}=i.hint;if(r.items.length===1)return!1;let o=r.items.length,s=n+(t?1:-1);return s<0&&(s+=o),s>=o&&(s-=o),e.dispatch({effects:[vR.of(s)]}),!0},nte=[{key:"Mod-Shift-Space",run:rte},{key:"Escape",run:Kw},{key:"ArrowDown",run:gR(!0)},{key:"ArrowUp",run:gR(!1)}];function wR(t,{activateOnTyping:e=!0,closeOnBlur:i=!0,triggerCharacters:r=["(",","],retriggerCharacters:n=[")"]}={}){return[qr,ite,zf.of({source:t,activateOnTyping:e,closeOnBlur:i,triggerCharacters:r,retriggerCharacters:n}),bR,$t.high(Vt.of(nte)),ete]}var kR=be.define({combine(t){return kt(t,{})}}),SR=Se.define(),ym=He.define({create(){return{doc:null}},update({doc:t},e){e.docChanged&&(t=null);for(let i of e.effects)i.is(SR)&&(t=e.state.doc);return{doc:t}}}),ote=Fe.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(ym);e.doc!==t.startState.field(ym).doc&&(this.maybeAbortQuery(),e.doc&&this.requestFormatterChanges(t.state))}destroy(){this.maybeAbortQuery()}requestFormatterChanges(t){let{doc:e}=t.field(ym),{source:i}=t.facet(kR),r={aborted:!1};i(e).then(n=>{!r.aborted&&n&&this.view.dispatch({changes:n})}),this.query=r}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}});function ste(t){return t.state.readOnly?!1:(t.dispatch({effects:[SR.of(null)]}),!0)}var ate=[{key:"Ctrl-Shift-i",mac:"Alt-Shift-f",win:"Alt-Shift-f",run:ste}];function TR(t){return[ym,ote,kR.of({source:t}),Vt.of(ate)]}function ER(t,e){let i=e;for(;!t.endsWith(i);)i=i.slice(0,-1);return i.length}var lte=de.baseTheme({".cm-readOnlyHint":{padding:"4px"}}),CR=Se.define(),Jw=Se.define(),xm=He.define({create(){return{tooltip:null}},update({tooltip:t},e){e.state.selection.eq(e.startState.selection)||(t=null);for(let i of e.effects)i.is(CR)&&(t={pos:e.state.selection.main.head,above:!0,create:cte}),i.is(Jw)&&(t=null);return{tooltip:t}},provide(t){return Vn.from(t,e=>e.tooltip)}});function cte(t){let e=document.createElement("div");return e.classList.add("cm-readOnlyHint"),e.textContent="This editor is read-only",{dom:e}}var ute=Fe.fromClass(class{constructor(t){this.view=t}},{eventHandlers:{input(t){this.view.state.readOnly&&(this.view.state.field(xm).tooltip||this.view.dispatch({effects:CR.of(null)}))},blur(t){this.view.state.readOnly&&this.view.state.field(xm).tooltip&&setTimeout(()=>{this.view.dispatch({effects:[Jw.of(null)]})},0)}}});function fte(t){let e=t.state.field(xm,!1);return!e||!e.tooltip?!1:(t.dispatch({effects:[Jw.of(null)]}),!0)}var hte=[{key:"Escape",run:fte}];function PR(){return[xm,ute,Vt.of(hte),lte]}var dte=5e3,jf=class{constructor(e,i){bt(this,"_onDelta",new ei);bt(this,"onDelta",this._onDelta.event);bt(this,"_onPeersChange",new ei);bt(this,"onPeersChange",this._onPeersChange.event);this.connection=e,this.revision=i,this.clientId=e.getClientId(),this.peers={},this.updatePeers(e.getClients()),this.inflightDelta=null,this.bufferDelta=null,this.selection=null,this.selectionChanged=!1,this.revisionReportTimeoutId=null,this.subscriptions=[e.onDelta(this.handleServerDelta.bind(this)),e.onAcknowledgement(this.handleServerAcknowledgement.bind(this)),e.onSelection(this.handleServerSelection.bind(this)),e.onClientsUpdate(this.handleServerClientsUpdate.bind(this))]}destroy(){this.subscriptions.forEach(e=>e.destroy())}getPeers(){return this.peers}handleClientDelta(e,i){this.peers=_R(this.peers,e),this.selection=i,this.inflightDelta?this.bufferDelta?this.bufferDelta=this.bufferDelta.compose(e):this.bufferDelta=e:(this.inflightDelta=e,this.sendDelta()),this._onDelta.dispatch(e,{remote:!1}),this._onPeersChange.dispatch(this.peers)}handleClientSelection(e){this.selection=e,this.inflightDelta?this.selectionChanged=!0:this.sendSelection()}handleServerDelta(e,i,r){this.revision++;let{inflightDelta:n,bufferDelta:o}=this;n&&([e,n]=[n.transform(e,"right"),e.transform(n,"left")],i=i&&ss(i,n)),o&&([e,o]=[o.transform(e,"right"),e.transform(o,"left")],i=i&&ss(i,o)),this.inflightDelta=n,this.bufferDelta=o,this.selection=this.selection&&ss(this.selection,e);let[s,a]=NO(this.peers,r);a=_R(a,e),s&&(a[r]=new Ul(s.id,s.meta,i)),this.peers=a,this._onDelta.dispatch(e,{remote:!0}),this._onPeersChange.dispatch(this.peers),this.maybeScheduleRevisionReport()}handleServerAcknowledgement(){this.revision++,this.inflightDelta=null,this.bufferDelta&&(this.inflightDelta=this.bufferDelta,this.bufferDelta=null,this.sendDelta())}handleServerSelection(e,i){if(!this.peers.hasOwnProperty(i))return;let{inflightDelta:r,bufferDelta:n}=this;r&&(e=e&&ss(e,r)),n&&(e=e&&ss(e,n));let o=this.peers[i];this.peers=Ce(H({},this.peers),{[i]:new Ul(o.id,o.meta,e)}),this._onPeersChange.dispatch(this.peers)}handleServerClientsUpdate(e){this.updatePeers(e),this._onPeersChange.dispatch(this.peers)}sendDelta(){this.connection.sendDelta(this.inflightDelta,this.selection,this.revision),this.selectionChanged=!1,this.maybeCancelRevisionReport()}sendSelection(){Object.keys(this.peers).length>0&&this.connection.sendSelection(this.selection,this.revision),this.selectionChanged=!1}sendRevision(){this.connection.sendRevision(this.revision)}updatePeers(e){let i={};for(let r in e)if(r!==this.clientId){let n=this.peers[r],o=e[r],s=n?n.selection:null;i[r]=new Ul(r,o,s)}this.peers=i}maybeScheduleRevisionReport(){!this.inflightDelta&&!this.revisionReportTimeoutId&&(this.revisionReportTimeoutId=setTimeout(()=>{this.sendRevision(),this.revisionReportTimeoutId=null},dte))}maybeCancelRevisionReport(){this.revisionReportTimeoutId!==null&&(clearTimeout(this.revisionReportTimeoutId),this.revisionReportTimeoutId=null)}},Ul=class{constructor(e,i,r){this.id=e,this.meta=i,this.selection=r}eq(e){return this.id===e.id&&this.meta===e.meta&&(this.selection===e.selection||this.selection&&e.selection&&this.selection.eq(e.selection))}};function _R(t,e){let i={};for(let r in t){let n=t[r],o=n.selection&&ss(n.selection,e);i[r]=new Ul(n.id,n.meta,o)}return i}function QR(t){let e=t.state.selection;return e.ranges.length>1?(t.dispatch({selection:e.asSingle()}),!0):!1}function AR(t){return O6(t)?(qu(t),Kw(t),!0):!1}function e2(t,e){for(;t;){if(e.includes(t.type.name))return t;t=t.parent}return null}function $R(t,e){let i=0;for(;i<e.length&&t.parent;){if(t.parent.type.name!==e[i])return null;t=t.parent,i++}return i===e.length&&t?t:null}var pte=de.editorAttributes.compute(["selection"],t=>t.selection.ranges.every(i=>i.empty)?{}:{class:"cm-selecting"});function XR(){return[pte]}var qf=class{constructor(e,i,r,n,o,s,a){bt(this,"_onMount",new ei);bt(this,"onMount",this._onMount.event);bt(this,"_onChange",new ei);bt(this,"onChange",this._onChange.event);bt(this,"_onBlur",new ei);bt(this,"onBlur",this._onBlur.event);bt(this,"_onFocus",new ei);bt(this,"onFocus",this._onFocus.event);this.container=e,this.source=r,this.language=o,this.intellisense=s,this.readOnly=a,this.initialWidgets={},this.connection=i,this.collabClient=new jf(i,n),this.deltaSubscription=this.collabClient.onDelta((l,c)=>{this.source=l.applyToString(this.source),this._onChange.dispatch(this.source)})}isMounted(){return!!this.view}mount(){if(this.isMounted())throw new Error("The editor is already mounted");this.mountEditor(),this.setInitialWidgets(),this._onMount.dispatch()}getSource(){return this.source}getElementAtCursor(){if(!this.isMounted())return this.container;let{node:e}=this.view.domAtPos(this.view.state.selection.main.head);return e instanceof Element?e:e.parentElement}focus(){this.isMounted()||this.mount(),this.view.focus()}blur(){this.isMounted()&&this.view.hasFocus&&this.view.contentDOM.blur()}destroy(){this.isMounted()&&this.view.destroy(),this.collabClient.destroy(),this.deltaSubscription.destroy()}updateDoctests(e){if(this.isMounted())dR(this.view,e);else{this.initialWidgets.doctestReportsByLine=this.initialWidgets.doctestReportsByLine||{};for(let i of e)this.initialWidgets.doctestReportsByLine[i.line]=i}}clearDoctests(){this.isMounted()?pR(this.view):delete this.initialWidgets.doctestReportsByLine}setCodeMarkers(e){if(this.isMounted()){let i=this.view.state.doc,r=e.map(n=>{let o=i.line(n.line),[,s,a]=o.text.match(/^(\s*).*?(\s*)$/),l=o.from+s.length,c=o.to-a.length;return{from:l,to:c,severity:n.severity,message:n.description}});this.view.dispatch(L6(this.view.state,r))}else this.initialWidgets.codeMarkers=e}mountEditor(){let e=xt.get(),i=c=>c.toString().padStart(3," "),r=c=>{let u=document.createElement("i");return u.classList.add(c?"ri-arrow-down-s-line":"ri-arrow-right-s-line",c?"cm-gutterFoldMarker-open":null),u},n=de.theme({"&":{fontSize:`${e.editor_font_size}px`}}),o=de.theme({"&":{fontVariantLigatures:`${e.editor_ligatures?"normal":"none"}`}}),s=this.language==="markdown"&&e.editor_markdown_word_wrap,a=this.language&&Dt.matchLanguageName(CO,this.language,!1),l=[{key:"Escape",run:QR},{key:"Alt-Enter",run:AR}];this.view=new de({parent:this.container,doc:this.source,extensions:[wP({formatNumber:i}),gP(),kP(),mP(),P6(),YP({markerDOM:r}),Yp({placeholderText:"\u22EF"}),fP(),OP(),bP(),XR(),yP(),rt.allowMultipleSelections.of(!0),JP(),b_(),MP(),qX(),rt.readOnly.of(this.readOnly),PR(),Vt.of(l),Vt.of(j6),rt.tabSize.of(2),rt.lineSeparator.of(`
`),s?de.lineWrapping:[],de.contentAttributes.of({tabIndex:-1}),n,e.editor_theme==="light"?nX:rX,o,sR(this.collabClient),cR(this.collabClient),px({activateOnTyping:e.editor_auto_completion,defaultKeymap:!1}),this.intellisense?[px({override:[this.completionSource.bind(this)]}),Ip(this.docsHoverTooltipSource.bind(this)),wR(this.signatureSource.bind(this),{activateOnTyping:e.editor_auto_signature}),TR(this.formatterSource.bind(this))]:[],e.editor_mode==="vim"?[eR()]:[],e.editor_mode==="emacs"?[iR()]:[],a?a.support:[],de.domEventHandlers({keydown:this.handleEditorKeydown.bind(this),blur:this.handleEditorBlur.bind(this),focus:this.handleEditorFocus.bind(this)})]})}handleEditorKeydown(e){return e.key==="Escape"&&this.container.dispatchEvent(new CustomEvent("lb:editor_escape",{bubbles:!0})),!1}handleEditorBlur(e){return this.container.contains(e.relatedTarget)||this._onBlur.dispatch(),!1}handleEditorFocus(e){return this._onFocus.dispatch(),!1}completionSource(e){let i=xt.get();if(!e.matchBefore(/[\w?!.]$/)&&!e.explicit)return null;let n=this.getCompletionHint(e);return this.connection.intellisenseRequest("completion",{hint:n,editor_auto_completion:i.editor_auto_completion}).then(o=>{if(o.items.length===0)return null;let s=o.items.map((l,c)=>{let u=this.completionItemToCompletions(l);return Ce(H({},u),{boost:1-c/o.items.length})}),a=ER(n,o.items[0].insert_text);return{from:e.pos-a,options:s,validFor:/^\w*[!?]?$/}}).catch(()=>null)}getCompletionHint(e){let r=ze(e.state).resolve(e.pos);if(r&&this.language==="elixir"){let n=e2(r,["Map","Bitstring"]);if(n)return e.state.doc.sliceString(n.from,e.pos)}return e.matchBefore(/^.*/).text}completionItemToCompletions(e){let i={label:e.label,type:e.kind,info:n=>e.documentation===null?null:CX(350).then(()=>{let o=document.createElement("div");return o.classList.add("cm-completionInfoDocs"),o.classList.add("cm-markdown"),new oa(o,e.documentation,{defaultCodeLanguage:this.language,useDarkTheme:this.usesDarkTheme()}),o})},r=e.insert_text.includes("${}")?e.insert_text:e.insert_text+"${}";return fi(r,i)}docsHoverTooltipSource(e,i,r){let n=e.state.doc.lineAt(i),o=n.to-n.from,s=n.text,a=i-n.from+(r===1?1:0);return a<1||a>o?null:this.connection.intellisenseRequest("details",{line:s,column:a}).then(l=>({pos:n.from+l.range.from-1,end:n.from+l.range.to-1,above:!0,create:c=>{let u=document.createElement("div");u.classList.add("cm-hoverDocs");for(let f of l.contents){let d=document.createElement("div");d.classList.add("cm-hoverDocsContent"),d.classList.add("cm-markdown"),u.appendChild(d),new oa(d,f,{defaultCodeLanguage:this.language,useDarkTheme:this.usesDarkTheme()})}return{dom:u}}})).catch(()=>null)}signatureSource({state:e,pos:i}){let r=this.getSignatureHint(e,i);return this.connection.intellisenseRequest("signature",{hint:r}).then(n=>({activeArgumentIdx:n.active_argument,items:n.items})).catch(()=>null)}getSignatureHint(e,i){let n=ze(e).resolve(i);if(n&&this.language==="elixir"){let o=e2(n,["Call","FunctionDefinitionCall","KernelCall"]);if(o){let a=$R(o,["Right","PipeOperator"])||o;return e.doc.sliceString(a.from,i)}}return e.doc.sliceString(0,i)}formatterSource(e){return this.connection.intellisenseRequest("format",{code:e.toString()}).then(i=>{if(this.setCodeMarkers(i.code_markers),i.delta){let r=ro.fromCompressed(i.delta);return Zw(r)}else return null}).catch(()=>null)}setInitialWidgets(){if(this.initialWidgets.doctestReportsByLine){let e=Object.values(this.initialWidgets.doctestReportsByLine);this.updateDoctests(e)}this.initialWidgets.codeMarkers&&this.setCodeMarkers(this.initialWidgets.codeMarkers),this.initialWidgets={}}usesDarkTheme(){return xt.get().editor_theme!=="light"}};var Wf={},zl=class t{constructor(e){this.id=e,this.pubsub=new Tl,this.map={}}static create(e){let i=new t(e);return Wf[e]=i,i}static getStore(e){if(!Wf.hasOwnProperty(e))throw new Error(`No store found for id "${e}"`);return Wf[e]}destroy(){Wf[this.id]===this&&delete Wf[this.id]}set(e,i){this.map[e]=i,this.pubsub.broadcast(e,i)}get(e){if(!this.map.hasOwnProperty(e))throw new Error(`Key "${e}" not found in the store`);return this.map[e]}watch(e,i){return this.pubsub.subscribe(e,i)}};var Bf=class{constructor(e,i,r){bt(this,"_onDelta",new ei);bt(this,"onDelta",this._onDelta.event);bt(this,"_onAcknowledgement",new ei);bt(this,"onAcknowledgement",this._onAcknowledgement.event);bt(this,"_onSelection",new ei);bt(this,"onSelection",this._onSelection.event);bt(this,"_onClientsUpdate",new ei);bt(this,"onClientsUpdate",this._onClientsUpdate.event);this.hook=e,this.cellId=i,this.tag=r,this.sessionStore=zl.getStore("session"),this.handlerByRef={},this.setupCollaborationHandlers(),this.clientsSubscription=this.sessionStore.watch("clients",n=>{this._onClientsUpdate.dispatch(n)}),this.setupIntellisenseHandlers()}destroy(){this.clientsSubscription.destroy()}getClients(){return this.sessionStore.get("clients")}getClientId(){return this.sessionStore.get("clientId")}sendDelta(e,i,r){this.hook.pushEvent("apply_cell_delta",{cell_id:this.cellId,tag:this.tag,delta:e.toCompressed(),selection:i&&RR(i),revision:r})}sendSelection(e,i){this.hook.pushEvent("report_cell_selection",{cell_id:this.cellId,tag:this.tag,selection:e&&RR(e),revision:i})}sendRevision(e){this.hook.pushEvent("report_cell_revision",{cell_id:this.cellId,tag:this.tag,revision:e})}setupCollaborationHandlers(){this.hook.handleEvent(`cell_delta:${this.cellId}:${this.tag}`,({delta:e,selection:i,client_id:r})=>{e=ro.fromCompressed(e),i=i&&LR(i),this._onDelta.dispatch(e,i,r)}),this.hook.handleEvent(`cell_acknowledgement:${this.cellId}:${this.tag}`,()=>{this._onAcknowledgement.dispatch()}),this.hook.handleEvent(`cell_selection:${this.cellId}:${this.tag}`,({selection:e,client_id:i})=>{e=e&&LR(e),this._onSelection.dispatch(e,i)})}setupIntellisenseHandlers(){this.hook.handleEvent("intellisense_response",({ref:e,response:i})=>{let r=this.handlerByRef[e];r&&(r(i),delete this.handlerByRef[e])})}intellisenseRequest(e,i){return new Promise((r,n)=>{this.hook.pushEvent("intellisense_request",H({cell_id:this.cellId,type:e},i),({ref:o})=>{o?this.handlerByRef[o]=s=>{s?r(s):n(new vm("No relevant intellisense response for the given parameters"))}:n(new vm("Intellisense request could not be completed"))})})}};function RR(t){return t.ranges.map(({anchor:e,head:i})=>[e,i])}function LR(t){let e=t.map(([i,r])=>ee.range(i,r));return ee.create(e)}var vm=class extends Error{constructor(e){super(e),this.name="IntellisenseError"}};var Ote={mounted(){this.props=this.getProps(),this.handleEvent(`cell_editor_init:${this.props.cellId}:${this.props.tag}`,({source:t,revision:e,doctest_reports:i,code_markers:r})=>{let n=this.el.querySelector("[data-el-editor-container]"),o=document.createElement("div");n.appendChild(o),this.connection=new Bf(this,this.props.cellId,this.props.tag),this.liveEditor=new qf(o,this.connection,t,e,this.props.language,this.props.intellisense,this.props.readOnly),this.liveEditor.setCodeMarkers(r),this.liveEditor.updateDoctests(i);let s=n.querySelector("[data-el-skeleton]"),a=document.createElement("div");a.classList.add("whitespace-pre","overflow-x-auto","text-editor","font-editor","px-12"),a.textContent=t,s.replaceChildren(a),this.liveEditor.onMount(()=>{s.remove()}),this.el.dispatchEvent(new CustomEvent("lb:cell:editor_created",{detail:{tag:this.props.tag,liveEditor:this.liveEditor},bubbles:!0})),this.visibility=RO(this.el,{root:document.querySelector("[data-el-notebook]"),proximity:2e3}),this.visibility.promise.then(()=>{this.liveEditor.isMounted()||this.liveEditor.mount()})})},disconnected(){this.el.removeAttribute("id")},destroyed(){this.connection&&this.connection.destroy(),this.liveEditor&&(this.el.dispatchEvent(new CustomEvent("lb:cell:editor_removed",{detail:{tag:this.props.tag},bubbles:!0})),this.liveEditor.destroy()),this.visibility&&this.visibility.cancel()},getProps(){return ht(this.el,["cell-id","tag","language","intellisense","read-only"])}},IR=Ote;var t2="data-js-dragging",mte={mounted(){this.el.addEventListener("dragenter",t=>{this.el.setAttribute(t2,"")}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.removeAttribute(t2)}),this.el.addEventListener("drop",t=>{this.el.removeAttribute(t2)})}},DR=mte;var gte={mounted(){let t=xt.get(),e=this.el.querySelector('[name="editor_auto_completion"][value="true"]'),i=this.el.querySelector('[name="editor_auto_signature"][value="true"]'),r=this.el.querySelector('[name="editor_font_size"][value="true"]'),n=this.el.querySelector('[name="editor_ligatures"][value="true"]'),o=this.el.querySelector('[name="editor_light_theme"][value="true"]'),s=this.el.querySelector('[name="editor_markdown_word_wrap"][value="true"]'),a=this.el.querySelector('select[name="editor_mode"]');e.checked=t.editor_auto_completion,i.checked=t.editor_auto_signature,r.checked=t.editor_font_size===pf.large,n.checked=t.editor_ligatures,o.checked=t.editor_theme===Sl.light,s.checked=t.editor_markdown_word_wrap,a.value=t.editor_mode,e.addEventListener("change",l=>{xt.update({editor_auto_completion:l.target.checked})}),i.addEventListener("change",l=>{xt.update({editor_auto_signature:l.target.checked})}),r.addEventListener("change",l=>{xt.update({editor_font_size:l.target.checked?pf.large:pf.normal})}),n.addEventListener("change",l=>{xt.update({editor_ligatures:l.target.checked})}),o.addEventListener("change",l=>{xt.update({editor_theme:l.target.checked?Sl.light:Sl.default})}),s.addEventListener("change",l=>{xt.update({editor_markdown_word_wrap:l.target.checked})}),a.addEventListener("change",l=>{xt.update({editor_mode:l.target.value})})}},NR=gte;var z2=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)},oo=(t,e,i)=>(z2(t,e,"read from private field"),i?i.call(t):e.get(t)),no=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},l2=(t,e,i,r)=>(z2(t,e,"write to private field"),r?r.call(t,i):e.set(t,i),i),Wr=(t,e,i)=>(z2(t,e,"access private method"),i),bte="14.0";function yte(t,e,i){let r=`https://cdn.jsdelivr.net/npm/emojibase-data@${e}/${t}`;return typeof i=="function"?r=i(t,e):typeof i=="string"&&(r=`${i}/${t}`),r}async function j2(t,e={}){let d=e,{local:i=!1,version:r="latest",cdnUrl:n}=d,o=pi(d,["local","version","cdnUrl"]),s=yte(t,r,n),a=i?localStorage:sessionStorage,l=`emojibase/${r}/${t}`,c=a.getItem(l);if(c)return Promise.resolve(JSON.parse(c));let u=await fetch(s,H({credentials:"omit",mode:"cors",redirect:"error"},o));if(!u.ok)throw new Error("Failed to load Emojibase dataset.");let f=await u.json();try{a.setItem(l,JSON.stringify(f))}catch(p){}return f}var xte={discord:"joypixels",slack:"iamcal"};async function MR(t,e,i){var r;return j2(`${t}/shortcodes/${(r=xte[e])!==null&&r!==void 0?r:e}.json`,i)}function Ff(t,e){if(e.length===0)return t;let i=new Set(t.shortcodes);return e.forEach(r=>{let n=r[t.hexcode];Array.isArray(n)?n.forEach(o=>i.add(o)):n&&i.add(n)}),t.shortcodes=[...i],t.skins&&t.skins.forEach(r=>{Ff(r,e)}),t}function vte(t,e=[]){let i=[];return t.forEach(r=>{if(r.skins){let n=r,{skins:o}=n,s=pi(n,["skins"]);i.push(Ff(s,e)),o.forEach(a=>{let l=H({},a);s.tags&&(l.tags=[...s.tags]),i.push(Ff(l,e))})}else i.push(Ff(r,e))}),i}function wte(t,e){return e.length===0||t.forEach(i=>{Ff(i,e)}),t}async function YR(t,e={}){let l=e,{compact:i=!1,flat:r=!1,shortcodes:n=[]}=l,o=pi(l,["compact","flat","shortcodes"]),s=await j2(`${t}/${i?"compact":"data"}.json`,o),a=[];return n.length>0&&(a=await Promise.all(n.map(c=>{let u;if(c.includes("/")){let[f,d]=c.split("/");u=MR(f,d,o)}else u=MR(t,c,o);return u.catch(()=>({}))}))),r?vte(s,a):wte(s,a)}async function FR(t,e){return j2(`${t}/messages.json`,e)}function i2(t,e){let i=t.target.closest("[data-emoji]");if(i){let r=e.find(n=>n.emoji===i.dataset.emoji);if(r)return r}return null}function HR(t){var e;let i=(e=window.matchMedia)==null?void 0:e.call(window,"(prefers-reduced-motion: reduce)");return t.animate&&!(i!=null&&i.matches)}function UR(t,e){return t.toLowerCase().includes(e.toLowerCase())}function kte(t,e){let i=null;return()=>{i||(i=window.setTimeout(()=>{t(),i=null},e))}}function Ste(t,e){let i=null;return(...r)=>{i&&window.clearTimeout(i),i=window.setTimeout(()=>{t(...r),i=null},e)}}function pa(t,e,i,r){if(HR(r)&&t.animate)return t.animate(e,i).finished;let n=i.direction==="normal"?1:0,o=Object.entries(e).reduce((s,[a,l])=>Ce(H({},s),{[a]:l[n]}),{});return Object.assign(t.style,o),Promise.resolve()}function c2(t){var e;let i=document.createElement("template");return i.innerHTML=t,(e=i.content)==null?void 0:e.firstElementChild}async function Tte(t){let e=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(i)).map(r=>r.toString(16).padStart(2,"0")).join("")}function hi(...t){return t.reduce((e,i)=>Ce(H({},e),{[i]:q2(i)}),{})}function q2(t){return`picmo__${t}`}function Tm(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function jl(t,...e){Tm(t).append(...e)}function GR(t){try{return window[t].length,!0}catch(e){return!1}}function Ete(){return GR("sessionStorage")}function Cte(){return GR("localStorage")}function Gf(t){var e;return{emoji:t.emoji,label:t.label,tags:t.tags,skins:(e=t.skins)==null?void 0:e.map(i=>Gf(i)),order:t.order,custom:!1,hexcode:t.hexcode,version:t.version}}function $m(t,e,i){var r;return i&&!i.some(n=>n.order===t.group)?!1:UR(t.label,e)||((r=t.tags)==null?void 0:r.some(n=>UR(n,e)))}var Xm=class{constructor(e="en"){this.locale=e}},Pte=[(t,e)=>(t.hexcode==="1F91D"&&e<14&&(t.skins=[]),t),(t,e)=>(t.skins&&(t.skins=t.skins.filter(i=>!i.version||i.version<=e)),t)];function _te(t,e){return Pte.some(i=>i(t,e)===null)?null:t}function Rm(t,e){return t.filter(i=>_te(i,e)!==null)}var r2={};function KR(t){return r2[t]||(r2[t]=new u2(t)),r2[t]}KR.deleteDatabase=t=>{};var u2=class extends Xm{open(){return Promise.resolve()}delete(){return Promise.resolve()}close(){}isPopulated(){return Promise.resolve(!1)}getEmojiCount(){return Promise.resolve(this.emojis.length)}getEtags(){return Promise.resolve({foo:"bar"})}getHash(){return Promise.resolve("")}populate(e){return this.categories=e.groups,this.emojis=e.emojis,Promise.resolve()}getCategories(e){var i;let r=this.categories.filter(n=>n.key!=="component");if(e.showRecents&&r.unshift({key:"recents",order:-1}),(i=e.custom)!=null&&i.length&&r.push({key:"custom",order:10}),e.categories){let n=e.categories;r=r.filter(o=>n.includes(o.key)),r.sort((o,s)=>n.indexOf(o.key)-n.indexOf(s.key))}else r.sort((n,o)=>n.order-o.order);return Promise.resolve(r)}getEmojis(e,i){let r=this.emojis.filter(n=>n.group===e.order).filter(n=>n.version<=i).sort((n,o)=>n.order!=null&&o.order!=null?n.order-o.order:0).map(Gf);return Promise.resolve(Rm(r,i))}searchEmojis(e,i,r,n){let o=this.emojis.filter(l=>$m(l,e,n)&&l.version<=r).map(Gf),s=i.filter(l=>$m(l,e,n)),a=[...Rm(o,r),...s];return Promise.resolve(a)}setMeta(e){this.meta=e}};function Qte(t,e){let i=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return{emojisUrl:`${i}/data.json`,messagesUrl:`${i}/messages.json`}}async function zR(t){try{return(await fetch(t,{method:"HEAD"})).headers.get("etag")}catch(e){return null}}function Ate(t){let{emojisUrl:e,messagesUrl:i}=Qte("latest",t);try{return Promise.all([zR(e),zR(i)])}catch(r){return Promise.all([null,null])}}async function $te(t,e,i){let r;try{r=await t.getEtags()}catch(s){r={}}let{storedEmojisEtag:n,storedMessagesEtag:o}=r;if(i!==o||e!==n){let[s,a]=await Promise.all([FR(t.locale),YR(t.locale)]);await t.populate({groups:s.groups,emojis:a,emojisEtag:e,messagesEtag:i})}}async function Xte(t,e){let i=await t.getHash();return e!==i}async function JR(t,e,i){let r=i||e(t);try{await r.open()}catch(n){console.warn("[picmo] IndexedDB not available, falling back to InMemoryStoreFactory"),r=KR(t)}return r}async function Rte(t,e,i){if(!Ete()&&typeof window<"u")throw new Error("Session storage is required to use CDN emoji data.");let r=await JR(t,e,i),[n,o]=await Ate(t);if(await r.isPopulated())n&&o&&await $te(r,n,o);else{let[s,a]=await Promise.all([FR(t),YR(t)]);await r.populate({groups:s.groups,emojis:a,emojisEtag:n,messagesEtag:o})}return r}async function Lte(t,e,i,r,n){let o=await JR(t,e,n),s=await Tte(r);return(!await o.isPopulated()||await Xte(o,s))&&await o.populate({groups:i.groups,emojis:r,hash:s}),o}async function eL(t,e,i,r,n){return i&&r?Lte(t,e,i,r,n):Rte(t,e,n)}var Kf=class{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;(e=this.rootElement)==null||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,i,r){e.target===i&&(r.focus(),e.preventDefault())}handleKeyDown(e){e.key==="Tab"&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}},{light:Ite,dark:XSe,auto:RSe}=hi("light","dark","auto"),Me=class{constructor({template:e,classes:i,parent:r}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=i,this.parent=r,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...i){this.events.emit(e,...i)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then(i=>{this.emojiData=i})}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync(H({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}async render(e={}){return await this.emojiDataPromise,this.el=await this.template.renderAsync(H({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.on(e,this.appEvents[e],this)}),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.off(e,this.appEvents[e])}),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){let i=this.keyBindings[e.key];i&&i.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce((e,i)=>Ce(H({},e),{[i]:this.el.querySelector(this.uiElements[i])}),{})}bindUIEvents(){this.uiEvents.forEach(e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)})}unbindUIEvents(){this.uiEvents.forEach(e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)})}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){let e=new MutationObserver(i=>{let[r]=i;r.type==="childList"&&r.addedNodes[0]===this.el&&(HR(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)});e.observe(this.parent,{childList:!0})}}static childEvent(e,i,r,n={}){return{target:e,event:i,handler:r,options:n}}static uiEvent(e,i,r={}){return{event:e,handler:i,options:r}}static byClass(e){return`.${e}`}},Dte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"/></svg>',Nte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"/></svg>',Mte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM176.4 240C194 240 208.4 225.7 208.4 208C208.4 190.3 194 176 176.4 176C158.7 176 144.4 190.3 144.4 208C144.4 225.7 158.7 240 176.4 240zM336.4 176C318.7 176 304.4 190.3 304.4 208C304.4 225.7 318.7 240 336.4 240C354 240 368.4 225.7 368.4 208C368.4 190.3 354 176 336.4 176zM259.9 369.4C288.8 369.4 316.2 375.2 340.6 385.5C352.9 390.7 366.7 381.3 361.4 369.1C344.8 330.9 305.6 303.1 259.9 303.1C214.3 303.1 175.1 330.8 158.4 369.1C153.1 381.3 166.1 390.6 179.3 385.4C203.7 375.1 231 369.4 259.9 369.4L259.9 369.4z"/></svg>',Ute='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M448 64H192C85.96 64 0 149.1 0 256s85.96 192 192 192h256c106 0 192-85.96 192-192S554 64 448 64zM247.1 280h-32v32c0 13.2-10.78 24-23.98 24c-13.2 0-24.02-10.8-24.02-24v-32L136 279.1C122.8 279.1 111.1 269.2 111.1 256c0-13.2 10.85-24.01 24.05-24.01L167.1 232v-32c0-13.2 10.82-24 24.02-24c13.2 0 23.98 10.8 23.98 24v32h32c13.2 0 24.02 10.8 24.02 24C271.1 269.2 261.2 280 247.1 280zM431.1 344c-22.12 0-39.1-17.87-39.1-39.1s17.87-40 39.1-40s39.1 17.88 39.1 40S454.1 344 431.1 344zM495.1 248c-22.12 0-39.1-17.87-39.1-39.1s17.87-40 39.1-40c22.12 0 39.1 17.88 39.1 40S518.1 248 495.1 248z"/></svg>',zte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/></svg>',jte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M512 32H120c-13.25 0-24 10.75-24 24L96.01 288c0 53 43 96 96 96h192C437 384 480 341 480 288h32c70.63 0 128-57.38 128-128S582.6 32 512 32zM512 224h-32V96h32c35.25 0 64 28.75 64 64S547.3 224 512 224zM560 416h-544C7.164 416 0 423.2 0 432C0 458.5 21.49 480 48 480h480c26.51 0 48-21.49 48-48C576 423.2 568.8 416 560 416z"/></svg>',qte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M482.3 192C516.5 192 576 221 576 256C576 292 516.5 320 482.3 320H365.7L265.2 495.9C259.5 505.8 248.9 512 237.4 512H181.2C170.6 512 162.9 501.8 165.8 491.6L214.9 320H112L68.8 377.6C65.78 381.6 61.04 384 56 384H14.03C6.284 384 0 377.7 0 369.1C0 368.7 .1818 367.4 .5398 366.1L32 256L.5398 145.9C.1818 144.6 0 143.3 0 142C0 134.3 6.284 128 14.03 128H56C61.04 128 65.78 130.4 68.8 134.4L112 192H214.9L165.8 20.4C162.9 10.17 170.6 0 181.2 0H237.4C248.9 0 259.5 6.153 265.2 16.12L365.7 192H482.3z"/></svg>',Wte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M9.375 233.4C3.375 239.4 0 247.5 0 256v128c0 8.5 3.375 16.62 9.375 22.62S23.5 416 32 416h32V224H32C23.5 224 15.38 227.4 9.375 233.4zM464 96H352V32c0-17.62-14.38-32-32-32S288 14.38 288 32v64H176C131.8 96 96 131.8 96 176V448c0 35.38 28.62 64 64 64h320c35.38 0 64-28.62 64-64V176C544 131.8 508.3 96 464 96zM256 416H192v-32h64V416zM224 296C201.9 296 184 278.1 184 256S201.9 216 224 216S264 233.9 264 256S246.1 296 224 296zM352 416H288v-32h64V416zM448 416h-64v-32h64V416zM416 296c-22.12 0-40-17.88-40-40S393.9 216 416 216S456 233.9 456 256S438.1 296 416 296zM630.6 233.4C624.6 227.4 616.5 224 608 224h-32v192h32c8.5 0 16.62-3.375 22.62-9.375S640 392.5 640 384V256C640 247.5 636.6 239.4 630.6 233.4z"/></svg>',Bte=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<defs>
<radialGradient gradientUnits="userSpaceOnUse" cy="10%" id="gradient-0">
<stop offset="0" stop-color="hsl(50, 100%, 50%)" />
<stop offset="1" stop-color="hsl(50, 100%, 60%)" />
</radialGradient>
</defs>
<!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<ellipse stroke="#000" fill="rgba(0, 0, 0, 0.6)" cx="172.586" cy="207.006" rx="39.974" ry="39.974"/>
<ellipse stroke="#000" fill="rgba(0, 0, 0, 0.6)" cx="334.523" cy="207.481" rx="39.974" ry="39.974"/>
<ellipse stroke="#000" fill="rgba(0, 0, 0, 0.6)" cx="313.325" cy="356.208" rx="91.497" ry="59.893"/>
<path fill="#55a7ff" d="M 159.427 274.06 L 102.158 363.286 L 124.366 417.011 L 160.476 423.338 L 196.937 414.736 L 218.502 375.214"></path>
<path fill="url(#gradient-0)" d="M256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0zM256 352C290.9 352 323.2 367.8 348.3 394.9C354.3 401.4 364.4 401.7 370.9 395.7C377.4 389.7 377.7 379.6 371.7 373.1C341.6 340.5 301 320 256 320C247.2 320 240 327.2 240 336C240 344.8 247.2 352 256 352H256zM208 369C208 349 179.6 308.6 166.4 291.3C163.2 286.9 156.8 286.9 153.6 291.3C140.6 308.6 112 349 112 369C112 395 133.5 416 160 416C186.5 416 208 395 208 369H208zM303.6 208C303.6 225.7 317.1 240 335.6 240C353.3 240 367.6 225.7 367.6 208C367.6 190.3 353.3 176 335.6 176C317.1 176 303.6 190.3 303.6 208zM207.6 208C207.6 190.3 193.3 176 175.6 176C157.1 176 143.6 190.3 143.6 208C143.6 225.7 157.1 240 175.6 240C193.3 240 207.6 225.7 207.6 208z" />
</svg>`,Zte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z"/></svg>',Vte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256.3 331.8C208.9 331.8 164.1 324.9 124.5 312.8C112.2 309 100.2 319.7 105.2 331.5C130.1 390.6 188.4 432 256.3 432C324.2 432 382.4 390.6 407.4 331.5C412.4 319.7 400.4 309 388.1 312.8C348.4 324.9 303.7 331.8 256.3 331.8H256.3zM176.4 176C158.7 176 144.4 190.3 144.4 208C144.4 225.7 158.7 240 176.4 240C194 240 208.4 225.7 208.4 208C208.4 190.3 194 176 176.4 176zM336.4 240C354 240 368.4 225.7 368.4 208C368.4 190.3 354 176 336.4 176C318.7 176 304.4 190.3 304.4 208C304.4 225.7 318.7 240 336.4 240z"/></svg>',Yte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"/></svg>',Fte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M413.8 447.1L256 448l0 31.99C256 497.7 241.8 512 224.1 512c-17.67 0-32.1-14.32-32.1-31.99l0-31.99l-158.9-.0099c-28.5 0-43.69-34.49-24.69-56.4l68.98-79.59H62.22c-25.41 0-39.15-29.8-22.67-49.13l60.41-70.85H89.21c-21.28 0-32.87-22.5-19.28-37.31l134.8-146.5c10.4-11.3 28.22-11.3 38.62-.0033l134.9 146.5c13.62 14.81 2.001 37.31-19.28 37.31h-10.77l60.35 70.86c16.46 19.34 2.716 49.12-22.68 49.12h-15.2l68.98 79.59C458.7 413.7 443.1 447.1 413.8 447.1z"/></svg>',Hte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M224 256c70.7 0 128-57.31 128-128S294.7 0 224 0C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3c-95.73 0-173.3 77.6-173.3 173.3C0 496.5 15.52 512 34.66 512H413.3C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304zM479.1 320h-73.85C451.2 357.7 480 414.1 480 477.3C480 490.1 476.2 501.9 470 512h138C625.7 512 640 497.6 640 479.1C640 391.6 568.4 320 479.1 320zM432 256C493.9 256 544 205.9 544 144S493.9 32 432 32c-25.11 0-48.04 8.555-66.72 22.51C376.8 76.63 384 101.4 384 128c0 35.52-11.93 68.14-31.59 94.71C372.7 243.2 400.8 256 432 256z"/></svg>',Gte=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<defs>
<radialGradient id="radial" cy="85%">
<stop offset="20%" stop-color="var(--color-secondary)" />
<stop offset="100%" stop-color="var(--color-primary)" />
</radialGradient>
</defs>
<!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="url('#radial')" d="M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z" />
</svg>`,Kte='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"/></svg>';function Jte(t,e){let i=c2(e);return i.dataset.icon=t,i.classList.add(q2("icon")),i}var jR={clock:Dte,flag:Nte,frown:Mte,gamepad:Ute,lightbulb:zte,mug:jte,plane:qte,robot:Wte,sad:Bte,search:Zte,smiley:Vte,symbols:Yte,tree:Fte,users:Hte,warning:Gte,xmark:Kte},Nm={recents:"clock","smileys-emotion":"smiley","people-body":"users","animals-nature":"tree","food-drink":"mug",activities:"gamepad","travel-places":"plane",objects:"lightbulb",symbols:"symbols",flags:"flag",custom:"robot"};function tL(t,e){if(!(t in jR))return console.warn(`Unknown icon: "${t}"`),document.createElement("div");let i=Jte(t,jR[t]);return e&&i.classList.add(q2(`icon-${e}`)),i}var eie={mode:"sync"},Yf,Em,Cm,f2,Pm,h2,_m,d2,Bt=class{constructor(e,i={}){no(this,Cm),no(this,Pm),no(this,_m),no(this,Yf,void 0),no(this,Em,void 0),l2(this,Yf,e),l2(this,Em,i.mode||eie.mode)}renderSync(e={}){let i=c2(oo(this,Yf).call(this,e));return Wr(this,_m,d2).call(this,i,e),Wr(this,Pm,h2).call(this,i),Wr(this,Cm,f2).call(this,i,e),i}async renderAsync(e={}){let i=c2(oo(this,Yf).call(this,e));return Wr(this,_m,d2).call(this,i,e),Wr(this,Pm,h2).call(this,i),await Wr(this,Cm,f2).call(this,i,e),i}render(e){return oo(this,Em)==="sync"?this.renderSync(e):this.renderAsync(e)}};Yf=new WeakMap,Em=new WeakMap,Cm=new WeakSet,f2=async function(t,e){let i=t.querySelectorAll("[data-view]"),r=[];for(let n of i){let o=e[n.dataset.view];o?n.dataset.render!=="sync"?r.push(o.render().then(s=>(n.replaceWith(s),s))):n.replaceWith(o.renderSync()):n.remove()}return Promise.all(r)},Pm=new WeakSet,h2=function(t){t.querySelectorAll("i[data-icon]").forEach(e=>{let{icon:i,size:r}=e.dataset;e.replaceWith(tL(i,r))})},_m=new WeakSet,d2=function(t,e){return t.querySelectorAll("[data-placeholder]").forEach(i=>{let r=i.dataset.placeholder;if(r&&e[r]){let n=e[r];i.replaceWith(...[n].flat())}else console.warn(`Missing placeholder element for key "${r}"`)}),t};var tie=hi("imagePlaceholder","placeholder"),iie=new Bt(({classes:t})=>`
<div class="${t.placeholder} ${t.imagePlaceholder}"></div>
`),p2=class extends Me{constructor({classNames:e}={}){super({template:iie,classes:tie}),this.classNames=e}load(e){let i=document.createElement("img");this.classNames&&(i.className=this.classNames),i.addEventListener("load",()=>{this.el.replaceWith(i)},{once:!0}),Promise.resolve(e).then(r=>i.src=r)}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach(e=>this.el.classList.add(e)),this.el}},rie=hi("customEmoji"),O2=class{renderElement(e){return{content:e}}renderImage(e="",i){let r=new p2({classNames:e});return r.renderSync(),{content:r,resolver:()=>(r.load(i()),r.el)}}doRender(e,i,r){if(e.custom)return this.renderCustom(e,i,r);let{content:n,resolver:o}=this.render(e,r),s=n instanceof Element?n:n.el;return o&&o(),s}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:i,emoji:r,data:n}){return{url:e,label:i,emoji:r,data:n}}renderCustom(e,i,r=""){let n=[rie.customEmoji,r].join(" ").trim(),{content:o,resolver:s}=this.renderImage(n,()=>e.url),a=o instanceof Element?o:o.el;return s&&s(),a}},nie=new Bt(({emoji:t})=>`<span>${t}</span>`),m2=class extends O2{render(e){return this.renderElement(nie.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:i,label:r}){return{emoji:e,hexcode:i,label:r}}},oie={"categories.activities":"Activities","categories.animals-nature":"Animals & Nature","categories.custom":"Custom","categories.flags":"Flags","categories.food-drink":"Food & Drink","categories.objects":"Objects","categories.people-body":"People & Body","categories.recents":"Recently Used","categories.smileys-emotion":"Smileys & Emotion","categories.symbols":"Symbols","categories.travel-places":"Travel & Places","error.load":"Failed to load emojis","recents.clear":"Clear recent emojis","recents.none":"You haven't selected any emojis yet.",retry:"Try again","search.clear":"Clear search","search.error":"Failed to search emojis","search.notFound":"No results found",search:"Search emojis..."},g2="PicMo";function iL(t){return new b2(t)}iL.deleteDatabase=t=>new Promise((e,i)=>{let r=indexedDB.deleteDatabase(`${g2}-${t}`);r.addEventListener("success",e),r.addEventListener("error",i)});var b2=class extends Xm{async open(){let e=indexedDB.open(`${g2}-${this.locale}`);return new Promise((i,r)=>{e.addEventListener("success",n=>{var o;this.db=(o=n.target)==null?void 0:o.result,i()}),e.addEventListener("error",r),e.addEventListener("upgradeneeded",async n=>{var o;this.db=(o=n.target)==null?void 0:o.result,this.db.createObjectStore("category",{keyPath:"order"});let s=this.db.createObjectStore("emoji",{keyPath:"emoji"});s.createIndex("category","group"),s.createIndex("version","version"),this.db.createObjectStore("meta")})})}async delete(){this.close();let e=indexedDB.deleteDatabase(`${g2}-${this.locale}`);await this.waitForRequest(e)}close(){this.db.close()}async getEmojiCount(){let e=this.db.transaction("emoji","readonly").objectStore("emoji");return(await this.waitForRequest(e.count())).target.result}async getEtags(){let e=this.db.transaction("meta","readonly").objectStore("meta"),[i,r]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:i.target.result,storedMessagesEtag:r.target.result}}async setMeta(e){let i=this.db.transaction("meta","readwrite"),r=i.objectStore("meta");return new Promise(n=>{i.oncomplete=n,Object.keys(e).filter(Boolean).forEach(o=>{r.put(e[o],o)})})}async getHash(){let e=this.db.transaction("meta","readonly").objectStore("meta");return(await this.waitForRequest(e.get("hash"))).target.result}async isPopulated(){let e=this.db.transaction("category","readonly").objectStore("category");return(await this.waitForRequest(e.count())).target.result>0}async populate({groups:e,emojis:i,emojisEtag:r,messagesEtag:n,hash:o}){await this.removeAllObjects("category","emoji");let s=[this.addObjects("category",e),this.addObjects("emoji",i),this.setMeta({emojisEtag:r,messagesEtag:n,hash:o})];await Promise.all(s)}async getCategories(e){var i;let r=this.db.transaction("category","readonly").objectStore("category"),n=(await this.waitForRequest(r.getAll())).target.result.filter(o=>o.key!=="component");if(e.showRecents&&n.unshift({key:"recents",order:-1}),(i=e.custom)!=null&&i.length&&n.push({key:"custom",order:10}),e.categories){let o=e.categories;n=n.filter(s=>o.includes(s.key)),n.sort((s,a)=>o.indexOf(s.key)-o.indexOf(a.key))}else n.sort((o,s)=>o.order-s.order);return n}async getEmojis(e,i){let r=this.db.transaction("emoji","readonly").objectStore("emoji").index("category"),n=(await this.waitForRequest(r.getAll(e.order))).target.result.filter(o=>o.version<=i).sort((o,s)=>o.order!=null&&s.order!=null?o.order-s.order:0).map(Gf);return Rm(n,i)}async searchEmojis(e,i,r,n){let o=[];return new Promise((s,a)=>{let l=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();l.addEventListener("success",c=>{var u;let f=(u=c.target)==null?void 0:u.result;if(!f)return s([...Rm(o,r),...i.filter(p=>$m(p,e))]);let d=f.value;$m(d,e,n)&&d.version<=r&&o.push(Gf(d)),f.continue()}),l.addEventListener("error",c=>{a(c)})})}async waitForRequest(e){return new Promise((i,r)=>{e.onsuccess=i,e.onerror=r})}withTransaction(e,i="readwrite",r){return new Promise((n,o)=>{let s=this.db.transaction(e,i);s.oncomplete=n,s.onerror=o,r(s)})}async removeAllObjects(...e){let i=this.db.transaction(e,"readwrite"),r=e.map(n=>i.objectStore(n));await Promise.all(r.map(n=>this.waitForRequest(n.clear())))}async addObjects(e,i){return this.withTransaction(e,"readwrite",r=>{let n=r.objectStore(e);i.forEach(o=>{n.add(o)})})}};function sie(){let t={};return{getItem:e=>t[e],setItem:(e,i)=>t[e]=i,length:Object.keys(t).length,clear:()=>t={},key:e=>Object.keys(t)[e],removeItem:e=>delete t[e]}}var y2=class{},n2="PicMo:recents",x2=class extends y2{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(n2)}getRecents(e){var i;try{return JSON.parse((i=this.storage.getItem(n2))!=null?i:"[]").slice(0,e)}catch(r){return[]}}addOrUpdateRecent(e,i){let r=[e,...this.getRecents(i).filter(n=>n.hexcode!==e.hexcode)].slice(0,i);try{this.storage.setItem(n2,JSON.stringify(r))}catch(n){console.warn("storage is not available, recent emojis will not be saved")}}},v2=class extends x2{constructor(){super(Cte()?localStorage:sie())}},aie={dataStore:iL,theme:Ite,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:oie,locale:"en",maxRecents:50,custom:[]};function W2(t={}){return Ce(H(H({},aie),t),{renderer:t.renderer||new m2,recentsProvider:t.recentsProvider||new v2})}var Oa,Hf,Lm,Qm,w2,ma=class{constructor(){no(this,Hf),no(this,Qm),no(this,Oa,new Map)}on(e,i,r){Wr(this,Qm,w2).call(this,e,i,r)}once(e,i,r){Wr(this,Qm,w2).call(this,e,i,r,!0)}off(e,i){let r=Wr(this,Hf,Lm).call(this,e);oo(this,Oa).set(e,r.filter(n=>n.handler!==i))}emit(e,...i){Wr(this,Hf,Lm).call(this,e).forEach(r=>{r.handler.apply(r.context,i),r.once&&this.off(e,r.handler)})}removeAll(){oo(this,Oa).clear()}};Oa=new WeakMap,Hf=new WeakSet,Lm=function(t){return oo(this,Oa).has(t)||oo(this,Oa).set(t,[]),oo(this,Oa).get(t)},Qm=new WeakSet,w2=function(t,e,i,r=!1){Wr(this,Hf,Lm).call(this,t).push({context:i,handler:e,once:r})};var lie={injectStyles:!0},k2=class extends ma{},S2=class extends ma{},T2=hi("emojiCategory","categoryName","noRecents","recentEmojis"),Jf=class extends Me{constructor({template:e,category:i,showVariants:r,lazyLoader:n}){super({template:e,classes:T2}),this.baseUIElements={categoryName:Me.byClass(T2.categoryName)},this.category=i,this.showVariants=r,this.lazyLoader=n}setActive(e,i,r){this.emojiContainer.setActive(e,i,r)}},cie=new Bt(({classes:t,emoji:e})=>`
<button
type="button"
class="${t.emojiButton}"
title="${e.label}"
data-emoji="${e.emoji}"
tabindex="-1">
<div data-placeholder="emojiContent"></div>
</button>
`),uie=hi("emojiButton"),Im=class extends Me{constructor({emoji:e,lazyLoader:i,category:r}){super({template:cie,classes:uie}),this.emoji=e,this.lazyLoader=i,this.category=r}initialize(){this.uiEvents=[Me.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}},E2=class{constructor(e,i,r=0,n=0,o=!1){this.events=new ma,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(i/e),this.columnCount=e,this.focusedRow=r,this.focusedColumn=n,this.emojiCount=i,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,i){this.events.on(e,i)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,i,r=!0){let n=this.getIndex();this.focusedRow=e,i!==void 0&&(this.focusedColumn=Math.min(this.columnCount,i)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:n,to:this.getIndex(),performFocus:r})}setFocusedIndex(e,i=!0){let r=Math.floor(e/this.columnCount),n=e%this.columnCount;this.setCell(r,n,i)}focusNext(){this.focusedColumn<this.columnCount-1&&this.getIndex()<this.emojiCount-1?this.setCell(this.focusedRow,this.focusedColumn+1):this.focusedRow<this.rowCount-1?this.setCell(this.focusedRow+1,0):this.wrap?this.setCell(0,0):this.events.emit("focus:overflow",0)}focusPrevious(){this.focusedColumn>0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow<this.rowCount-1?this.setCell(this.focusedRow+1,this.focusedColumn):this.events.emit("focus:overflow",this.focusedColumn)}focusToIndex(e){this.setCell(Math.floor(e/this.columnCount),e%this.columnCount)}getIndex(){return this.focusedRow*this.columnCount+this.focusedColumn}getCell(){return{row:this.focusedRow,column:this.focusedColumn}}getRowCount(){return this.rowCount}},fie=new Bt(({classes:t})=>`
<div class="${t.emojiContainer}">
<div data-placeholder="emojis"></div>
</div>
`),hie=hi("emojiContainer"),ga=class extends Me{constructor({emojis:e,showVariants:i,preview:r=!0,lazyLoader:n,category:o,fullHeight:s=!1}){super({template:fie,classes:hie}),this.fullHeight=!1,this.showVariants=i,this.lazyLoader=n,this.preview=r,this.emojis=e,this.category=o,this.fullHeight=s,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new E2(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[Me.uiEvent("click",this.selectEmoji),Me.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(Me.uiEvent("mouseover",this.showPreview),Me.uiEvent("mouseout",this.hidePreview),Me.uiEvent("focus",this.showPreview,{capture:!0}),Me.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,i){if(e)if(typeof e=="string"){let r=this.emojis.findIndex(n=>n.emoji===e);this.grid.setFocusedIndex(r,!1),setTimeout(()=>{var n,o,s,a;let l=this.emojiViews[r].el;l.scrollIntoView();let c=(n=l.parentElement)==null?void 0:n.previousElementSibling,u=(s=(o=l.parentElement)==null?void 0:o.parentElement)==null?void 0:s.parentElement;u.scrollTop-=(a=c==null?void 0:c.offsetHeight)!=null?a:0})}else e.row==="first"||e.row===0?this.grid.setCell(0,e.offset,i):e.row==="last"&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,i)}setActive(e,i,r){var n;e?this.setFocusedView(i,r):(n=this.emojiViews[this.grid.getIndex()])==null||n.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map(e=>this.viewFactory.create(Im,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer})),this.emojiElements=this.emojiViews.map(e=>e.renderSync()),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach(e=>e.destroy()),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:i,performFocus:r}){var n,o;(n=this.emojiViews[e])==null||n.deactivateFocus(),(o=this.emojiViews[i])==null||o.activateFocus(r)}selectEmoji(e){e.stopPropagation();let i=i2(e,this.emojis);i&&this.events.emit("emoji:select",{emoji:i,showVariants:this.showVariants})}showPreview(e){let i=e.target.closest("button"),r=i==null?void 0:i.firstElementChild,n=i2(e,this.emojis);n&&this.events.emit("preview:show",n,r==null?void 0:r.cloneNode(!0))}hidePreview(e){i2(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}},die=new Bt(({classes:t,category:e,pickerId:i,icon:r,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${r}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),C2=class extends Jf{constructor({category:e,showVariants:i,lazyLoader:r,emojiVersion:n}){super({category:e,showVariants:i,lazyLoader:r,template:die}),this.showVariants=i,this.lazyLoader=r,this.emojiVersion=n}initialize(){this.uiElements=H({},this.baseUIElements),super.initialize()}async render(){await this.emojiDataPromise;let e=await this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(ga,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:Nm[this.category.key]})}},P2=class extends ga{constructor({category:e,emojis:i,preview:r=!0,lazyLoader:n}){super({category:e,emojis:i,showVariants:!1,preview:r,lazyLoader:n})}async addOrUpdate(e){let i=this.el.querySelector(`[data-emoji="${e.emoji}"]`);i&&(this.el.removeChild(i),this.emojis=this.emojis.filter(n=>n!==e));let r=this.viewFactory.create(Im,{emoji:e});if(this.el.insertBefore(r.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter(n=>n!==e)],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);let n=this.el.childElementCount-this.options.maxRecents;for(let o=0;o<n;o++)this.el.lastElementChild&&this.el.removeChild(this.el.lastElementChild)}}},pie=new Bt(({emojiCount:t,classes:e,category:i,pickerId:r,icon:n,i18n:o})=>`
<section class="${e.emojiCategory}" role="tabpanel" aria-labelledby="${r}-category-${i.key}">
<h3 data-category="${i.key}" class="${e.categoryName}">
<i data-icon="${n}"></i>
${o.get(`categories.${i.key}`,i.message||i.key)}
</h3>
<div data-empty="${t===0}" class="${e.recentEmojis}">
<div data-view="emojis" data-render="sync"></div>
</div>
<div class="${e.noRecents}">
${o.get("recents.none")}
</div>
</section>
`,{mode:"async"}),_2=class extends Jf{constructor({category:e,lazyLoader:i,provider:r}){super({category:e,showVariants:!1,lazyLoader:i,template:pie}),this.provider=r}initialize(){this.uiElements=Ce(H({},this.baseUIElements),{recents:Me.byClass(T2.recentEmojis)}),this.appEvents={"recent:add":this.addRecent},super.initialize()}async addRecent(e){await this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}async render(){var e;let i=(e=this.provider)==null?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(P2,{emojis:i,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:i.length,icon:Nm[this.category.key]}),this.el}},Oie=new Bt(({classes:t,category:e,pickerId:i,icon:r,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${r}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),Q2=class extends Jf{constructor({category:e,lazyLoader:i}){super({template:Oie,showVariants:!1,lazyLoader:i,category:e})}initialize(){this.uiElements=H({},this.baseUIElements),super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(ga,{emojis:this.customEmojis,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:this.customEmojis.length,icon:Nm[this.category.key]})}},Dm=class{constructor(){this.elements=new Map}lazyLoad(e,i){return this.elements.set(e,i),e}observe(e){if(window.IntersectionObserver){let i=new IntersectionObserver(r=>{r.filter(n=>n.intersectionRatio>0).map(n=>n.target).forEach(n=>{let o=this.elements.get(n);o==null||o(),i.unobserve(n)})},{root:e});this.elements.forEach((r,n)=>{i.observe(n)})}else this.elements.forEach(i=>{i()})}},qR=hi("emojiArea"),mie=new Bt(({classes:t})=>`
<div class="${t.emojiArea}">
<div data-placeholder="emojis"></div>
</div>
`,{mode:"async"}),gie={recents:_2,custom:Q2};function bie(t){return gie[t.key]||C2}function yie(t){return!t||t==="button"?{row:"first",offset:0}:t}var A2=class extends Me{constructor({categoryTabs:e,categories:i,emojiVersion:r}){super({template:mie,classes:qR}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new Dm,this.categoryTabs=e,this.categories=i,this.emojiVersion=r,this.handleScroll=kte(this.handleScroll.bind(this),100)}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:Me.byClass(qR.emojiArea)},this.uiEvents=[Me.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}async render(){this.emojiCategories=this.categories.map(this.createCategory,this);let e={};return this.categories.forEach((i,r)=>{e[`emojis-${i.key}`]=this.emojiCategories[r]}),await super.render({emojis:await Promise.all(this.emojiCategories.map(i=>i.render()))}),this.lazyLoader.observe(this.el),this.el}destroy(){super.destroy(),this.emojiCategories.forEach(e=>{var i;(i=this.observer)==null||i.unobserve(e.el),e.destroy()})}handleCategorySelect(e,i){this.el.style.overflow="hidden",this.selectCategory(e,i),this.el.style.overflow="auto"}createCategory(e){let i=bie(e);return this.viewFactory.create(i,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find(i=>i.key===this.options.initialCategory)?this.options.initialCategory:(e=this.categories.find(i=>i.key!=="recents"))==null?void 0:e.key}determineFocusTarget(e){let i=this.emojiCategories.find(r=>r.category.key===e);return this.options.initialEmoji&&(i!=null&&i.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");let i=this.determineInitialCategory();i&&(this.selectCategory(i,{focus:this.determineFocusTarget(i),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(i))}getCategoryIndex(e){return this.categories.findIndex(i=>i.key===e)}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:e!=null?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory<this.categories.length-1&&this.focusCategory(this.selectedCategory+1,{row:"first",offset:e!=null?e:0})}focusCategory(e,i){this.selectCategory(e,{focus:i,performFocus:!0})}async selectCategory(e,i={}){var r;this.scrollListenerState="suspend";let{focus:n,performFocus:o,scroll:s}=H({performFocus:!1},i);this.emojiCategories[this.selectedCategory].setActive(!1);let a=this.selectedCategory=typeof e=="number"?e:this.getCategoryIndex(e);(r=this.categoryTabs)==null||r.setActiveTab(this.selectedCategory,{performFocus:o,scroll:n==="button"});let l=this.emojiCategories[a].el.offsetTop;this.emojiCategories[a].setActive(!0,yie(n),n!=="button"&&o),s&&(this.el.scrollTop=l),this.scrollListenerState="resume"}updateFocusedCategory(e){var i;this.categories[this.selectedCategory].key!==e&&(this.scrollListenerState="suspend",this.selectedCategory=this.getCategoryIndex(e),(i=this.categoryTabs)==null||i.setActiveTab(this.selectedCategory,{changeFocusable:!1,performFocus:!1}),this.scrollListenerState="resume")}handleScroll(){if(this.scrollListenerState==="suspend"||!this.categoryTabs)return;if(this.scrollListenerState==="resume"){this.scrollListenerState="active";return}let e=this.el.scrollTop,i=this.el.scrollHeight-this.el.offsetHeight,r=this.emojiCategories.findIndex((o,s)=>{var a;return e<((a=this.emojiCategories[s+1])==null?void 0:a.el.offsetTop)}),n={changeFocusable:!1,performFocus:!1,scroll:!1};e===0?this.categoryTabs.setActiveTab(0,n):Math.floor(e)===Math.floor(i)||r<0?this.categoryTabs.setActiveTab(this.categories.length-1,n):this.categoryTabs.setActiveTab(r,n)}},xie=new Bt(({classList:t,classes:e,icon:i,message:r})=>`
<div class="${t}" role="alert">
<div class="${e.iconContainer}"><i data-size="10x" data-icon="${i}"></i></div>
<h3 class="${e.title}">${r}</h3>
</div>
`),WR=hi("error","iconContainer","title"),eh=class extends Me{constructor({message:e,icon:i="warning",template:r=xie,className:n}){super({template:r,classes:WR}),this.message=e,this.icon=i,this.className=n}renderSync(){let e=[WR.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}},vie=new Bt(({classList:t,classes:e,icon:i,i18n:r,message:n})=>`
<div class="${t}" role="alert">
<div class="${e.icon}"><i data-size="10x" data-icon="${i}"></i></div>
<h3 class="${e.title}">${n}</h3>
<button type="button">${r.get("retry")}</button>
</div>
`),wie=hi("dataError"),$2=class extends eh{constructor({message:e}){super({message:e,template:vie,className:wie.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[Me.childEvent("retryButton","click",this.onRetry)],super.initialize()}async onRetry(){this.emojiData?await this.emojiData.delete():await this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");let e=await eL(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}},Zf=hi("preview","previewEmoji","previewName","tagList","tag"),kie=new Bt(({classes:t,tag:e})=>`
<li class="${t.tag}">${e}</li>
`),Sie=new Bt(({classes:t})=>`
<div class="${t.preview}">
<div class="${t.previewEmoji}"></div>
<div class="${t.previewName}"></div>
<ul class="${t.tagList}"></ul>
</div>
`),X2=class extends Me{constructor(){super({template:Sie,classes:Zf})}initialize(){this.uiElements={emoji:Me.byClass(Zf.previewEmoji),name:Me.byClass(Zf.previewName),tagList:Me.byClass(Zf.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,i){if(jl(this.ui.emoji,i),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";let r=e.tags.map(n=>kie.renderSync({tag:n,classes:Zf}));jl(this.ui.tagList,...r)}}hidePreview(){Tm(this.ui.emoji),Tm(this.ui.name),Tm(this.ui.tagList)}},Tie=new Bt(({classes:t,i18n:e})=>`
<button title="${e.get("search.clear")}" class="${t.clearSearchButton}">
<i data-icon="xmark"></i>
</button>
`),Eie=new Bt(({classes:t,i18n:e})=>`
<div class="${t.searchContainer}">
<input class="${t.searchField}" placeholder="${e.get("search")}">
<span class="${t.searchAccessory}"></span>
</div>
`,{mode:"async"}),Vf=hi("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound"),R2=class extends Me{constructor({categories:e,emojiVersion:i}){super({template:Eie,classes:Vf}),this.categories=e.filter(r=>r.key!=="recents"),this.emojiVersion=i,this.search=Ste(this.search.bind(this),100)}initialize(){this.uiElements={searchField:Me.byClass(Vf.searchField),searchAccessory:Me.byClass(Vf.searchAccessory)},this.uiEvents=[Me.childEvent("searchField","keydown",this.onKeyDown),Me.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=tL("search"),this.notFoundMessage=this.viewFactory.create(eh,{message:this.i18n.get("search.notFound"),className:Vf.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(eh,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=Tie.render({classes:Vf,i18n:this.i18n}),this.clearSearchButton.addEventListener("click",e=>this.onClearSearch(e)),this.searchField=this.ui.searchField,this.showSearchIcon(),this.el}showSearchIcon(){this.showSearchAccessory(this.searchIcon)}showClearSearchButton(){this.showSearchAccessory(this.clearSearchButton)}showSearchAccessory(e){jl(this.ui.searchAccessory,e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var i;e.stopPropagation(),this.searchField.value="",(i=this.resultsContainer)==null||i.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&e.key==="Escape"&&this.onClearSearch(e)}onKeyDown(e){var i;e.key==="Escape"&&this.searchField.value?this.onClearSearch(e):(e.key==="Enter"||e.key==="ArrowDown")&&this.resultsContainer&&(e.preventDefault(),(i=this.resultsContainer.el.querySelector('[tabindex="0"]'))==null||i.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{let i=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),i.length){let r=new Dm;this.resultsContainer=this.viewFactory.create(ga,{emojis:i,fullHeight:!0,showVariants:!0,lazyLoader:r}),this.resultsContainer.renderSync(),(e=this.resultsContainer)!=null&&e.el&&(r.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",n=>this.handleResultsKeydown(n)),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch(i){this.events.emit("content:show",this.errorMessage)}}},Cie=new Bt(({classes:t})=>`
<div class="${t.variantOverlay}">
<div class="${t.variantPopup}">
<div data-view="emojis" data-render="sync"></div>
</div>
</div>
`),BR=hi("variantOverlay","variantPopup"),o2={easing:"ease-in-out",duration:250,fill:"both"},ZR={opacity:[0,1]},VR={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]},L2=class extends Me{constructor({emoji:e,parent:i}){super({template:Cie,classes:BR,parent:i}),this.focusedEmojiIndex=0,this.focusTrap=new Kf,this.animateShow=()=>Promise.all([pa(this.el,ZR,o2,this.options),pa(this.ui.popup,VR,o2,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:Me.byClass(BR.variantPopup)},this.uiEvents=[Me.uiEvent("click",this.handleClick),Me.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){let e=Ce(H({},o2),{direction:"reverse"});return Promise.all([pa(this.el,ZR,e,this.options),pa(this.ui.popup,VR,e,this.options)])}async hide(){await this.animateHide(),this.events.emit("variantPopup:hide")}handleKeydown(e){e.key==="Escape"&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){let i=this.getEmoji(this.focusedEmojiIndex);i.tabIndex=-1,this.focusedEmojiIndex=e;let r=this.getEmoji(this.focusedEmojiIndex);r.tabIndex=0,r.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){let e=Ce(H({},this.emoji),{skins:null}),i=(this.emoji.skins||[]).map(n=>Ce(H({},n),{label:this.emoji.label,tags:this.emoji.tags})),r=[e,...i];return this.emojiContainer=this.viewFactory.create(ga,{emojis:r,preview:!1}),super.renderSync({emojis:this.emojiContainer}),r.length<this.options.emojisPerRow&&this.el.style.setProperty("--emojis-per-row",r.length.toString()),this.el}activate(){this.emojiContainer.setActive(!0,{row:0,offset:0},!0),this.focusTrap.activate(this.el)}},Pie=new Bt(({classes:t,i18n:e,category:i,pickerId:r,icon:n})=>`
<li class="${t.categoryTab}">
<button
aria-selected="false"
role="tab"
class="${t.categoryButton}"
tabindex="-1"
title="${e.get(`categories.${i.key}`,i.message||i.key)}"
type="button"
data-category="${i.key}"
id="${r}-category-${i.key}"
>
<i data-icon="${n}"></i>
</li>
`),s2=hi("categoryTab","categoryTabActive","categoryButton"),I2=class extends Me{constructor({category:e,icon:i}){super({template:Pie,classes:s2}),this.isActive=!1,this.category=e,this.icon=i}initialize(){this.uiElements={button:Me.byClass(s2.categoryButton)},this.uiEvents=[Me.childEvent("button","click",this.selectCategory),Me.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,i={}){let{changeFocusable:r,performFocus:n,scroll:o}=H({changeFocusable:!0,performFocus:!0,scroll:!0},i);this.el.classList.toggle(s2.categoryTabActive,e),r&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&n&&(this.ui.button.focus(),o&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}},_ie=new Bt(({classes:t})=>`
<div class="${t.categoryButtonsContainer}">
<ul role="tablist" class="${t.categoryButtons}">
<div data-placeholder="tabs"></div>
</ul>
</div>
`),Qie=hi("categoryButtons","categoryButtonsContainer"),D2=class extends Me{constructor({categories:e}){super({template:_ie,classes:Qie}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[Me.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){let e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,i=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",i&&e?this.el.classList.add("has-overflow-both"):i?this.el.classList.add("has-overflow-left"):e&&this.el.classList.add("has-overflow-right")}renderSync(){return this.tabViews=this.categories.map(e=>this.viewFactory.create(I2,{category:e,icon:Nm[e.key]})),super.renderSync({tabs:this.tabViews.map(e=>e.renderSync())}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,i={}){this.checkOverflow();let r=this.currentTabView,n=this.tabViews[e];r.setActive(!1,i),n.setActive(!0,i),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{let i=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(i),{changeFocusable:!0,performFocus:!0})}}},Aie=[{version:15,emoji:String.fromCodePoint(129768)},{version:14,emoji:String.fromCodePoint(128733)},{version:13,emoji:String.fromCodePoint(129729)},{version:12,emoji:String.fromCodePoint(129449)},{version:11,emoji:String.fromCodePoint(129463)},{version:5,emoji:String.fromCodePoint(129322)},{version:4,emoji:String.fromCodePoint(9877)},{version:3,emoji:String.fromCodePoint(129314)},{version:2,emoji:String.fromCodePoint(128488)},{version:1,emoji:String.fromCodePoint(128512)}];function $ie(){var t;let e=Aie.find(i=>Xie(i.emoji));return(t=e==null?void 0:e.version)!=null?t:1}function Xie(t){let e=document.createElement("canvas").getContext("2d");if(e)return e.textBaseline="top",e.font="32px Arial",e.fillText(t,0,0),e.getImageData(16,16,1,1).data[0]!==0}function a2(t,e){return Array.from({length:t},()=>e).join("")}function Rie({showHeader:t,classes:e}){return t?`
<header class="${e.header}">
<div data-view="search"></div>
<div data-view="categoryTabs" data-render="sync"></div>
</header>
`:""}function Lie(t){let{classes:e,theme:i,className:r=""}=t;return`
<div class="picmo__picker ${e.picker} ${i} ${r}">
${Rie(t)}
<div class="${e.content}">
<div data-view="emojiArea"></div>
</div>
<div data-view="preview"></div>
</div>
`}function Iie(t){let{emojiCount:e,classes:i,theme:r,className:n,categoryCount:o}=t,s=({showSearch:u,classes:f})=>u?`
<div class="${f.searchSkeleton}">
<div class="${f.searchInput} ${f.placeholder}"></div>
</div>
`:"",a=({showCategoryTabs:u,classes:f})=>u?`
<div class="${f.categoryTabsSkeleton}">
${a2(o,`<div class="${f.placeholder} ${f.categoryTab}"></div>`)}
</div>
`:"",l=({showHeader:u,classes:f})=>u?`
<header class="${f.headerSkeleton}">
${s(t)}
${a(t)}
</header>
`:"",c=({showPreview:u,classes:f})=>u?`
<div class="${f.previewSkeleton}">
<div class="${f.placeholder} ${f.previewEmoji}"></div>
<div class="${f.placeholder} ${f.previewName}"></div>
<ul class="${f.tagList}">
${a2(3,`<li class="${f.placeholder} ${f.tag}"></li>`)}
</ul>
</div>
`:"";return`
<div class="picmo__picker ${i.skeleton} ${i.picker} ${r} ${n}">
${l(t)}
<div class="${i.contentSkeleton}">
<div class="${i.placeholder} ${i.categoryName}"></div>
<div class="${i.emojiGrid}">
${a2(e,`<div class="${i.placeholder} ${i.emoji}"></div>`)}
</div>
</div>
${c(t)}
</div>
`}var Die=new Bt(t=>t.isLoaded?Lie(t):Iie(t)),wm=hi("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),km={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"},N2=class extends Me{constructor(){super({template:Die,classes:wm}),this.pickerReady=!1,this.externalEvents=new S2,this.updaters={styleProperty:e=>i=>this.el.style.setProperty(km[e],i.toString()),theme:e=>{let i=this.options.theme,r=this.el.closest(`.${i}`);this.el.classList.remove(i),r==null||r.classList.remove(i),this.el.classList.add(e),r==null||r.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:Me.byClass(wm.content),header:Me.byClass(wm.header)},this.uiEvents=[Me.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,i;super.destroy(),(e=this.search)==null||e.destroy(),this.emojiArea.destroy(),(i=this.categoryTabs)==null||i.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,i){this.externalEvents.on(e,i)}removeEventListener(e,i){this.externalEvents.off(e,i)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){let i=e.ctrlKey||e.metaKey;e.key==="s"&&i&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(X2)),this.options.showSearch&&(this.search=this.viewFactory.create(R2,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(D2,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(A2,{categoryTabs:this.categoryTabs,categories:this.categories,emojiVersion:this.emojiVersion}),[this.preview,this.search,this.emojiArea,this.categoryTabs]}setStyleProperties(){this.options.showSearch||this.el.style.setProperty("--search-height-full","0px"),this.options.showCategoryTabs||(this.el.style.setProperty("--category-tabs-height","0px"),this.el.style.setProperty("--category-tabs-offset","0px")),this.options.showPreview||this.el.style.setProperty("--emoji-preview-height-full","0px"),Object.keys(km).forEach(e=>{this.options[e]&&this.el.style.setProperty(km[e],this.options[e].toString())})}updateStyleProperty(e,i){this.el.style.setProperty(km[e],i.toString())}reinitialize(){this.renderSync()}onError(e){let i=this.viewFactory.createWithOptions({data:!1},$2,{message:this.i18n.get("error.load")}),r=this.el.offsetHeight||375;throw this.el.style.height=`${r}px`,jl(this.el,i.renderSync()),e}async onDataReady(e){let i=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,this.options.emojiVersion==="auto"?this.emojiVersion=$ie()||parseFloat(bte):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);let[r,n,o,s]=this.buildChildViews();await super.render({isLoaded:!0,search:n,categoryTabs:s,emojiArea:o,preview:r,showHeader:!!(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,i.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(r){this.events.emit("error",r)}}renderSync(){var e;let i=((e=this.options.categories)==null?void 0:e.length)||10;if(this.options.showRecents&&(i+=1),super.renderSync({isLoaded:!1,theme:this.options.theme,className:this.options.className,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows,categoryCount:i}),this.el.style.setProperty("--category-count",i.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return jl(this.options.rootElement,this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if(typeof this.options.autoFocus<"u")switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;case"auto":return this.search||this.emojiArea.focusableEmoji;default:return null}if(this.options.autoFocusSearch===!0)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;!this.pickerReady||(e=this.getInitialFocusTarget())==null||e.focus()}reset(e=!0){var i;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),(i=this.search)==null||i.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var i,r;e!==this.currentView&&(this.currentView!==this.emojiArea&&((i=this.currentView)==null||i.destroy()),this.ui.pickerContent.classList.toggle(wm.fullHeight,e!==this.emojiArea),jl(this.ui.pickerContent,e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):(r=this.categoryTabs)==null||r.el.remove())}hideVariantPopup(){var e;(e=this.variantPopup)==null||e.destroy()}isPickerClick(e){var i,r;let n=e.target,o=this.el.contains(n),s=(r=(i=this.variantPopup)==null?void 0:i.el)==null?void 0:r.contains(n);return o||s}async selectEmoji({emoji:e}){var i,r;(i=e.skins)!=null&&i.length&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await((r=this.variantPopup)==null?void 0:r.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){let i=document.activeElement;this.events.once("variantPopup:hide",()=>{i==null||i.focus()}),this.variantPopup=this.viewFactory.create(L2,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}async emitEmoji(e){this.externalEvents.emit("emoji:select",await this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}updateOptions(e){Object.keys(e).forEach(i=>{this.updaters[i](e[i])}),Object.assign(this.options,e)}},M2=class{constructor({events:e,i18n:i,renderer:r,emojiData:n,options:o,customEmojis:s=[],pickerId:a}){this.events=e,this.i18n=i,this.renderer=r,this.emojiData=n,this.options=o,this.customEmojis=s,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}createWithOptions(e={},i,...r){let n=new i(...r);return n.setPickerId(this.pickerId),n.setEvents(this.events),n.setI18n(this.i18n),n.setRenderer(this.renderer),e.data!==!1&&n.setEmojiData(this.emojiData),n.setOptions(this.options),n.setCustomEmojis(this.customEmojis),n.viewFactory=this,n.initialize(),n}create(e,...i){return this.createWithOptions({},e,...i)}},Am,U2=class{constructor(e={}){no(this,Am,void 0),l2(this,Am,new Map(Object.entries(e)))}get(e,i=e){return oo(this,Am).get(e)||i}};Am=new WeakMap;function Nie(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(!t||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",i==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}function B2(){let t=!1;return function(e){lie.injectStyles&&!t&&(Nie(e),t=!0)}}var Mie=`.picmo__picker .picmo__icon{width:1.25em;height:1em;fill:currentColor}.picmo__icon-small{font-size:.8em}.picmo__icon-medium{font-size:1em}.picmo__icon-large{font-size:1.25em}.picmo__icon-2x{font-size:2em}.picmo__icon-3x{font-size:3em}.picmo__icon-4x{font-size:4em}.picmo__icon-5x{font-size:5em}.picmo__icon-8x{font-size:8em}.picmo__icon-10x{font-size:10em}.picmo__light,.picmo__auto{color-scheme:light;--accent-color: #4f46e5;--background-color: #f9fafb;--border-color: #cccccc;--category-name-background-color: #f9fafb;--category-name-button-color: #999999;--category-name-text-color: hsl(214, 30%, 50%);--category-tab-active-background-color: rgba(255, 255, 255, .6);--category-tab-active-color: var(--accent-color);--category-tab-color: #666;--category-tab-highlight-background-color: rgba(0, 0, 0, .15);--error-color-dark: hsl(0, 100%, 45%);--error-color: hsl(0, 100%, 40%);--focus-indicator-background-color: hsl(198, 65%, 85%);--focus-indicator-color: #333333;--hover-background-color: #c7d2fe;--placeholder-background-color: #cccccc;--search-background-color: #f9fafb;--search-focus-background-color: #ffffff;--search-icon-color: #999999;--search-placeholder-color: #71717a;--secondary-background-color: #e2e8f0;--secondary-text-color: #666666;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #000000;--variant-popup-background-color: #ffffff}.picmo__dark{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}@media (prefers-color-scheme: dark){.picmo__auto{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}}.picmo__picker .picmo__categoryButtonsContainer{overflow:auto;padding:2px 0}.picmo__picker .picmo__categoryButtonsContainer.picmo__has-overflow-right{mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo__picker .picmo__categoryButtonsContainer.picmo__has-overflow-left{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo__picker .picmo__categoryButtonsContainer.picmo__has-overflow-both{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%)}.picmo__picker .picmo__categoryButtons{display:flex;flex-direction:row;gap:var(--tab-gap);margin:0;padding:0 .5em;align-items:center;height:var(--category-tabs-height);box-sizing:border-box;width:100%;justify-content:space-between;position:relative;list-style-type:none;justify-self:center;max-width:min(23.55rem,calc(var(--category-count, 1) * 2.5rem))}.picmo__picker .picmo__categoryButtons .picmo__categoryTab{display:flex;align-items:center;transition:all .1s;width:2em}.picmo__picker .picmo__categoryButtons .picmo__categoryTab.picmo__categoryTabActive .picmo__categoryButton{color:var(--category-tab-active-color);background:linear-gradient(rgba(255,255,255,.75) 0%,rgba(255,255,255,.75) 100%),linear-gradient(var(--category-tab-active-color) 0%,var(--category-tab-active-color) 100%);border:2px solid var(--category-tab-active-color)}.picmo__picker .picmo__categoryButtons .picmo__categoryTab.picmo__categoryTabActive .picmo__categoryButton:hover{background-color:var(--category-tab-active-background-color)}.picmo__picker .picmo__categoryButtons .picmo__categoryTab button.picmo__categoryButton{border-radius:5px;background:transparent;border:2px solid transparent;color:var(--category-tab-color);cursor:pointer;padding:2px;vertical-align:middle;display:flex;align-items:center;justify-content:center;font-size:1.2rem;width:1.6em;height:1.6em;transition:all .1s}.picmo__picker .picmo__categoryButtons .picmo__categoryTab button.picmo__categoryButton:is(img){width:var(--category-tab-size);height:var(--category-tab-size)}.picmo__picker .picmo__categoryButtons .picmo__categoryTab button.picmo__categoryButton:hover{background:var(--category-tab-highlight-background-color)}.picmo__dataError [data-icon]{opacity:.8}@keyframes appear{0%{opacity:0}to{opacity:.8}}@keyframes appear-grow{0%{opacity:0;transform:scale(.8)}to{opacity:.8;transform:scale(1)}}.picmo__picker .picmo__error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--secondary-text-color)}.picmo__picker .picmo__error .picmo__iconContainer{opacity:.8;animation:appear-grow .25s cubic-bezier(.175,.885,.32,1.275);--color-primary: var(--error-color);--color-secondary: var(--error-color-dark)}.picmo__picker .picmo__error .picmo__title{animation:appear .25s;animation-delay:50ms;animation-fill-mode:both}.picmo__picker .picmo__error button{padding:8px 16px;cursor:pointer;background:var(--background-color);border:1px solid var(--text-color);border-radius:5px;color:var(--text-color)}.picmo__picker .picmo__error button:hover{background:var(--text-color);color:var(--background-color)}.picmo__emojiButton{background:transparent;border:none;border-radius:15px;cursor:pointer;display:flex;font-family:var(--emoji-font);font-size:var(--emoji-size);height:100%;justify-content:center;align-items:center;margin:0;overflow:hidden;padding:0;width:100%}.picmo__emojiButton:hover{background:var(--hover-background-color)}.picmo__emojiButton:focus{border-radius:0;background:var(--focus-indicator-background-color);outline:1px solid var(--focus-indicator-color)}.picmo__picker .picmo__emojiArea{height:var(--emoji-area-height);overflow-y:auto;position:relative}.picmo__picker .picmo__emojiCategory{position:relative}.picmo__picker .picmo__emojiCategory .picmo__categoryName{font-size:.9em;padding:.5rem;margin:0;background:var(--category-name-background-color);color:var(--category-name-text-color);top:0;z-index:1;display:grid;gap:4px;grid-template-columns:auto 1fr auto;align-items:center;line-height:1;box-sizing:border-box;height:var(--category-name-height);justify-content:flex-start;text-transform:uppercase}.picmo__picker .picmo__emojiCategory .picmo__categoryName button{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;color:var(--category-name-button-color)}.picmo__picker .picmo__emojiCategory .picmo__categoryName button:hover{opacity:1}.picmo__picker .picmo__emojiCategory .picmo__noRecents{color:var(--secondary-text-color);grid-column:1 / span var(--emojis-per-row);font-size:.9em;text-align:center;display:flex;align-items:center;justify-content:center;min-height:calc(var(--emoji-size) * var(--emoji-size-multiplier))}.picmo__picker .picmo__emojiCategory .picmo__recentEmojis[data-empty=true]{display:none}:is(.picmo__picker .picmo__emojiCategory) .picmo__recentEmojis[data-empty=false]+div{display:none}.picmo__picker .picmo__emojiContainer{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center}.picmo__picker.picmo__picker{--border-radius: 5px;--emoji-area-height: calc( (var(--row-count) * var(--emoji-size) * var(--emoji-size-multiplier)) + var(--category-name-height) );--content-height: var(--emoji-area-height);--emojis-per-row: 8;--row-count: 6;--emoji-preview-margin: 4px;--emoji-preview-height: calc(var(--emoji-preview-size) + 1em + 1px);--emoji-preview-height-full: calc(var(--emoji-preview-height) + var(--emoji-preview-margin));--emoji-preview-size: 2.75em;--emoji-size: 2rem;--emoji-size-multiplier: 1.3;--content-margin: 8px;--category-tabs-height:calc(1.5em + 9px);--category-tabs-offset: 8px;--category-tab-size: 1.2rem;--category-name-height: 2rem;--category-name-padding-y: 6px;--search-height: 2em;--search-margin: .5em;--search-margin-bottom: 4px;--search-height-full: calc(var(--search-height) + var(--search-margin) + var(--search-margin-bottom));--overlay-background-color: rgba(0, 0, 0, .8);--emoji-font: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";--ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;--ui-font-size: 16px;--picker-width: calc(var(--emojis-per-row) * var(--emoji-size) * var(--emoji-size-multiplier) + 2.75rem);--preview-background-color: var(--secondary-background-color);background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);font-size:var(--ui-font-size);overflow:hidden;position:relative;width:var(--picker-width);display:grid;gap:8px}.picmo__picker.picmo__picker>*{font-family:var(--ui-font)}.picmo__picker.picmo__skeleton{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);width:var(--picker-width);color:var(--secondary-text-color)}.picmo__picker.picmo__skeleton *{box-sizing:border-box}.picmo__picker.picmo__skeleton .picmo__placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo__picker.picmo__skeleton .picmo__placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}.picmo__picker.picmo__skeleton .picmo__headerSkeleton{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;overflow:hidden;gap:8px;border-bottom:1px solid var(--border-color);width:var(--picker-width)}.picmo__picker.picmo__skeleton .picmo__searchSkeleton{padding:0 8px;height:var(--search-height)}.picmo__picker.picmo__skeleton .picmo__searchSkeleton .picmo__searchInput{width:100%;height:28px;border-radius:3px}.picmo__picker.picmo__skeleton .picmo__categoryTabsSkeleton{height:var(--category-tabs-height);display:flex;flex-direction:row;align-items:center;justify-self:center;width:calc(2rem * var(--category-count, 1))}.picmo__picker.picmo__skeleton .picmo__categoryTabsSkeleton .picmo__categoryTab{width:25px;height:25px;padding:2px;border-radius:5px;margin:.25em}.picmo__picker.picmo__skeleton .picmo__contentSkeleton{height:var(--content-height);padding-right:8px;opacity:.7}.picmo__picker.picmo__skeleton .picmo__contentSkeleton .picmo__categoryName{width:50%;height:1rem;margin:.5rem;box-sizing:border-box}.picmo__picker.picmo__skeleton .picmo__contentSkeleton .picmo__emojiGrid{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center;width:var(--picker-width)}.picmo__picker.picmo__skeleton .picmo__contentSkeleton .picmo__emojiGrid .picmo__emoji{width:var(--emoji-size);height:var(--emoji-size);border-radius:50%}.picmo__picker.picmo__skeleton .picmo__previewSkeleton{height:var(--emoji-preview-height);border-top:1px solid var(--border-color);display:grid;align-items:center;padding:.5em;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags"}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__previewEmoji{grid-area:emoji;border-radius:50%;width:var(--emoji-preview-size);height:var(--emoji-preview-size)}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__previewName{grid-area:name;height:.8em;width:80%}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__tagList .picmo__tag{border-radius:3px;padding:2px 8px;margin-right:.25em;height:1em;width:20%}.picmo__overlay{background:rgba(0,0,0,.75);height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.picmo__content{position:relative;overflow:hidden;height:var(--content-height)}.picmo__content.picmo__fullHeight{height:calc(var(--content-height) + var(--category-tabs-height) + var(--category-tabs-offset));overflow-y:auto}.picmo__pluginContainer{margin:.5em;display:flex;flex-direction:row}.picmo__header{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:grid;gap:8px;border-bottom:1px solid var(--border-color)}@media (prefers-reduced-motion: reduce){.picmo__placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo__placeholder:after{display:none}}.picmo__picker .picmo__preview{border-top:1px solid var(--border-color);display:grid;align-items:center;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags";height:var(--emoji-preview-height);box-sizing:border-box;padding:.5em;position:relative;background:var(--preview-background-color)}.picmo__picker .picmo__preview .picmo__previewEmoji{grid-area:emoji;font-size:var(--emoji-preview-size);font-family:var(--emoji-font);width:1.25em;display:flex;align-items:center;justify-content:center}.picmo__picker .picmo__preview .picmo__previewName{grid-area:name;color:var(--text-color);font-size:.8em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.picmo__picker .picmo__preview .picmo__tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0;font-size:.75em;overflow:hidden}.picmo__picker .picmo__preview .picmo__tag{border-radius:3px;background:var(--tag-background-color);color:var(--text-color);padding:2px 8px;margin-right:.25em;white-space:nowrap}.picmo__picker .picmo__preview .picmo__tag:last-child{margin-right:0}.picmo__picker .picmo__searchContainer{display:flex;height:var(--search-height);box-sizing:border-box;padding:0 8px;position:relative}.picmo__picker .picmo__searchContainer .picmo__searchField{background:var(--search-background-color);border-radius:3px;border:none;box-sizing:border-box;color:var(--text-color);font-size:.9em;outline:none;padding:.5em 2.25em .5em .5em;width:100%}.picmo__picker .picmo__searchContainer .picmo__searchField:focus{background:var(--search-focus-background-color)}.picmo__picker .picmo__searchContainer .picmo__searchField::placeholder{color:var(--search-placeholder-color)}.picmo__picker .picmo__searchContainer .picmo__searchAccessory{color:var(--search-icon-color);height:100%;position:absolute;right:1em;top:0;width:1.25rem;display:flex;align-items:center}.picmo__picker .picmo__searchContainer .picmo__searchAccessory svg{fill:var(--search-icon-color)}.picmo__picker .picmo__searchContainer .picmo__clearButton{border:0;color:var(--search-icon-color);background:transparent;cursor:pointer}.picmo__picker .picmo__searchContainer .picmo__clearSearchButton{cursor:pointer;border:none;background:transparent;color:var(--search-icon-color);font-size:1em;width:100%;height:100%;display:flex;align-items:center;padding:0}.picmo__picker .picmo__searchContainer .picmo__notFound [data-icon]{fill:#f3e265}.picmo__picker .picmo__variantOverlay{background:var(--overlay-background-color);border-radius:5px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.picmo__picker .picmo__variantOverlay .picmo__variantPopup{background:var(--variant-popup-background-color);border-radius:5px;margin:.5em;padding:.5em;text-align:center;user-select:none;display:flex;align-items:center;justify-content:center}.picmo__customEmoji{width:1em;height:1em}@keyframes shine{to{transform:translate(100%)}}.picmo__picker .picmo__imagePlaceholder{width:2rem;height:2rem;border-radius:50%}.picmo__placeholder{background:#DDDBDD;position:relative}.picmo__placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}
`;function Uie(t){return eL(t.locale,t.dataStore,t.messages,t.emojiData)}var zie=0,Sm;function jie(){return`picmo-${Date.now()}-${zie++}`}var qie=B2();function rL(t){qie(Mie);let e=W2(t),i=((e==null?void 0:e.custom)||[]).map(s=>Ce(H({},s),{custom:!0,tags:["custom",...s.tags||[]]})),r=new k2;Sm||(Sm=Uie(e));let n=new U2(e.i18n);Sm.then(s=>{r.emit("data:ready",s)}).catch(s=>{r.emit("error",s)});let o=new M2({events:r,i18n:n,customEmojis:i,renderer:e.renderer,options:e,emojiData:Sm,pickerId:jie()}).create(N2);return o.renderSync(),o}function ba(t){return t.split("-")[0]}function ql(t){return t.split("-")[1]}function qm(t){return["top","bottom"].includes(ba(t))?"x":"y"}function dL(t){return t==="y"?"height":"width"}function nL(t,e,i){let{reference:r,floating:n}=t,o=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2,a=qm(e),l=dL(a),c=r[l]/2-n[l]/2,u=ba(e),f=a==="x",d;switch(u){case"top":d={x:o,y:r.y-n.height};break;case"bottom":d={x:o,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:s};break;case"left":d={x:r.x-n.width,y:s};break;default:d={x:r.x,y:r.y}}switch(ql(e)){case"start":d[a]-=c*(i&&f?-1:1);break;case"end":d[a]+=c*(i&&f?-1:1);break}return d}var Wie=async(t,e,i)=>{let{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:s}=i,a=await(s.isRTL==null?void 0:s.isRTL(e)),l=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:c,y:u}=nL(l,r,a),f=r,d={},p=0;for(let g=0;g<o.length;g++){let{name:x,fn:v}=o[g],{x:S,y:T,data:$,reset:I}=await v({x:c,y:u,initialPlacement:r,placement:f,strategy:n,middlewareData:d,rects:l,platform:s,elements:{reference:t,floating:e}});if(c=S!=null?S:c,u=T!=null?T:u,d=Ce(H({},d),{[x]:H(H({},d[x]),$)}),I&&p<=50){p++,typeof I=="object"&&(I.placement&&(f=I.placement),I.rects&&(l=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):I.rects),{x:c,y:u}=nL(l,f,a)),g=-1;continue}}return{x:c,y:u,placement:f,strategy:n,middlewareData:d}};function Bie(t){return H({top:0,right:0,bottom:0,left:0},t)}function Zie(t){return typeof t!="number"?Bie(t):{top:t,right:t,bottom:t,left:t}}function Mm(t){return Ce(H({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}async function F2(t,e){var i;e===void 0&&(e={});let{x:r,y:n,platform:o,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=e,g=Zie(p),x=a[d?f==="floating"?"reference":"floating":f],v=Mm(await o.getClippingRect({element:(i=await(o.isElement==null?void 0:o.isElement(x)))==null||i?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),S=Mm(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?Ce(H({},s.floating),{x:r,y:n}):s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:v.top-S.top+g.top,bottom:S.bottom-v.bottom+g.bottom,left:v.left-S.left+g.left,right:S.right-v.right+g.right}}var Vie=Math.min,Yie=Math.max;function oL(t,e,i){return Yie(t,Vie(e,i))}var Fie={left:"right",right:"left",bottom:"top",top:"bottom"};function Um(t){return t.replace(/left|right|bottom|top/g,e=>Fie[e])}function pL(t,e,i){i===void 0&&(i=!1);let r=ql(t),n=qm(t),o=dL(n),s=n==="x"?r===(i?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=Um(s)),{main:s,cross:Um(s)}}var Hie={start:"end",end:"start"};function Z2(t){return t.replace(/start|end/g,e=>Hie[e])}var Gie=["top","right","bottom","left"],Kie=Gie.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function Jie(t,e,i){return(t?[...i.filter(r=>ql(r)===t),...i.filter(r=>ql(r)!==t)]:i.filter(r=>ba(r)===r)).filter(r=>t?ql(r)===t||(e?Z2(r)!==r:!1):!0)}var ere=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var i,r,n,o,s;let{x:a,y:l,rects:c,middlewareData:u,placement:f,platform:d,elements:p}=e,he=t,{alignment:g=null,allowedPlacements:x=Kie,autoAlignment:v=!0}=he,S=pi(he,["alignment","allowedPlacements","autoAlignment"]),T=Jie(g,v,x),$=await F2(e,S),I=(i=(r=u.autoPlacement)==null?void 0:r.index)!=null?i:0,_=T[I];if(_==null)return{};let{main:A,cross:q}=pL(_,c,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(f!==_)return{x:a,y:l,reset:{placement:T[0]}};let le=[$[ba(_)],$[A],$[q]],F=[...(n=(o=u.autoPlacement)==null?void 0:o.overflows)!=null?n:[],{placement:_,overflows:le}],U=T[I+1];if(U)return{data:{index:I+1,overflows:F},reset:{placement:U}};let ie=F.slice().sort((me,ve)=>me.overflows[0]-ve.overflows[0]),ue=(s=ie.find(me=>{let{overflows:ve}=me;return ve.every(j=>j<=0)}))==null?void 0:s.placement,re=ue!=null?ue:ie[0].placement;return re!==f?{data:{index:I+1,overflows:F},reset:{placement:re}}:{}}}};function tre(t){let e=Um(t);return[Z2(t),e,Z2(e)]}var ire=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var i;let{placement:r,middlewareData:n,rects:o,initialPlacement:s,platform:a,elements:l}=e,le=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0}=le,g=pi(le,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]),x=ba(r),v=f||(x===s||!p?[Um(s)]:tre(s)),S=[s,...v],T=await F2(e,g),$=[],I=((i=n.flip)==null?void 0:i.overflows)||[];if(c&&$.push(T[x]),u){let{main:F,cross:U}=pL(r,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));$.push(T[F],T[U])}if(I=[...I,{placement:r,overflows:$}],!$.every(F=>F<=0)){var _,A;let F=((_=(A=n.flip)==null?void 0:A.index)!=null?_:0)+1,U=S[F];if(U)return{data:{index:F,overflows:I},reset:{placement:U}};let ie="bottom";switch(d){case"bestFit":{var q;let ue=(q=I.map(re=>[re,re.overflows.filter(he=>he>0).reduce((he,me)=>he+me,0)]).sort((re,he)=>re[1]-he[1])[0])==null?void 0:q[0].placement;ue&&(ie=ue);break}case"initialPlacement":ie=s;break}if(r!==ie)return{reset:{placement:ie}}}return{}}}};async function rre(t,e){let{placement:i,platform:r,elements:n}=t,o=await(r.isRTL==null?void 0:r.isRTL(n.floating)),s=ba(i),a=ql(i),l=qm(i)==="x",c=["left","top"].includes(s)?-1:1,u=o&&l?-1:1,f=typeof e=="function"?e(t):e,{mainAxis:d,crossAxis:p,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:H({mainAxis:0,crossAxis:0,alignmentAxis:null},f);return a&&typeof g=="number"&&(p=a==="end"?g*-1:g),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}var sL=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){let{x:i,y:r}=e,n=await rre(e,t);return{x:i+n.x,y:r+n.y,data:n}}}};function nre(t){return t==="x"?"y":"x"}var aL=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:i,y:r,placement:n}=e,v=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:S=>{let{x:T,y:$}=S;return{x:T,y:$}}}}=v,l=pi(v,["mainAxis","crossAxis","limiter"]),c={x:i,y:r},u=await F2(e,l),f=qm(ba(n)),d=nre(f),p=c[f],g=c[d];if(o){let S=f==="y"?"top":"left",T=f==="y"?"bottom":"right",$=p+u[S],I=p-u[T];p=oL($,p,I)}if(s){let S=d==="y"?"top":"left",T=d==="y"?"bottom":"right",$=g+u[S],I=g-u[T];g=oL($,g,I)}let x=a.fn(Ce(H({},e),{[f]:p,[d]:g}));return Ce(H({},x),{data:{x:x.x-i,y:x.y-r}})}}};function OL(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function lo(t){if(t==null)return window;if(!OL(t)){let e=t.ownerDocument;return e&&e.defaultView||window}return t}function xn(t){return lo(t).getComputedStyle(t)}function so(t){return OL(t)?"":t?(t.nodeName||"").toLowerCase():""}function mL(){let t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function vn(t){return t instanceof lo(t).HTMLElement}function as(t){return t instanceof lo(t).Element}function ore(t){return t instanceof lo(t).Node}function Wl(t){if(typeof ShadowRoot>"u")return!1;let e=lo(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Wm(t){let{overflow:e,overflowX:i,overflowY:r}=xn(t);return/auto|scroll|overlay|hidden/.test(e+r+i)}function sre(t){return["table","td","th"].includes(so(t))}function gL(t){let e=/firefox/i.test(mL()),i=xn(t);return i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].includes(i.willChange)||e&&i.willChange==="filter"||e&&(i.filter?i.filter!=="none":!1)}function bL(){return!/^((?!chrome|android).)*safari/i.test(mL())}var lL=Math.min,th=Math.max,zm=Math.round;function ao(t,e,i){var r,n,o,s;e===void 0&&(e=!1),i===void 0&&(i=!1);let a=t.getBoundingClientRect(),l=1,c=1;e&&vn(t)&&(l=t.offsetWidth>0&&zm(a.width)/t.offsetWidth||1,c=t.offsetHeight>0&&zm(a.height)/t.offsetHeight||1);let u=as(t)?lo(t):window,f=!bL()&&i,d=(a.left+(f&&(r=(n=u.visualViewport)==null?void 0:n.offsetLeft)!=null?r:0))/l,p=(a.top+(f&&(o=(s=u.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/c,g=a.width/l,x=a.height/c;return{width:g,height:x,top:p,right:d+g,bottom:p+x,left:d,x:d,y:p}}function ls(t){return((ore(t)?t.ownerDocument:t.document)||window.document).documentElement}function Bm(t){return as(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yL(t){return ao(ls(t)).left+Bm(t).scrollLeft}function are(t){let e=ao(t);return zm(e.width)!==t.offsetWidth||zm(e.height)!==t.offsetHeight}function lre(t,e,i){let r=vn(e),n=ls(e),o=ao(t,r&&are(e),i==="fixed"),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if(r||!r&&i!=="fixed")if((so(e)!=="body"||Wm(n))&&(s=Bm(e)),vn(e)){let l=ao(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else n&&(a.x=yL(n));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function xL(t){return so(t)==="html"?t:t.assignedSlot||t.parentNode||(Wl(t)?t.host:null)||ls(t)}function cL(t){return!vn(t)||xn(t).position==="fixed"?null:cre(t)}function cre(t){let{offsetParent:e}=t,i=t,r=!1;for(;i&&i!==e;){let{assignedSlot:n}=i;if(n){let o=n.offsetParent;if(xn(n).display==="contents"){let s=n.hasAttribute("style"),a=n.style.display;n.style.display=xn(i).display,o=n.offsetParent,n.style.display=a,s||n.removeAttribute("style")}i=n,e!==o&&(e=o,r=!0)}else if(Wl(i)&&i.host&&r)break;i=Wl(i)&&i.host||i.parentNode}return e}function ure(t){let e=xL(t);for(Wl(e)&&(e=e.host);vn(e)&&!["html","body"].includes(so(e));){if(gL(e))return e;{let i=e.parentNode;e=Wl(i)?i.host:i}}return null}function V2(t){let e=lo(t),i=cL(t);for(;i&&sre(i)&&xn(i).position==="static";)i=cL(i);return i&&(so(i)==="html"||so(i)==="body"&&xn(i).position==="static"&&!gL(i))?e:i||ure(t)||e}function uL(t){if(vn(t))return{width:t.offsetWidth,height:t.offsetHeight};let e=ao(t);return{width:e.width,height:e.height}}function fre(t){let{rect:e,offsetParent:i,strategy:r}=t,n=vn(i),o=ls(i);if(i===o)return e;let s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if((n||!n&&r!=="fixed")&&((so(i)!=="body"||Wm(o))&&(s=Bm(i)),vn(i))){let l=ao(i,!0);a.x=l.x+i.clientLeft,a.y=l.y+i.clientTop}return Ce(H({},e),{x:e.x-s.scrollLeft+a.x,y:e.y-s.scrollTop+a.y})}function hre(t,e){let i=lo(t),r=ls(t),n=i.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(n){o=n.width,s=n.height;let c=bL();(c||!c&&e==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:o,height:s,x:a,y:l}}function dre(t){var e;let i=ls(t),r=Bm(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=th(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=th(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-r.scrollLeft+yL(t),l=-r.scrollTop;return xn(n||i).direction==="rtl"&&(a+=th(i.clientWidth,n?n.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function vL(t){let e=xL(t);return["html","body","#document"].includes(so(e))?t.ownerDocument.body:vn(e)&&Wm(e)?e:vL(e)}function jm(t,e){var i;e===void 0&&(e=[]);let r=vL(t),n=r===((i=t.ownerDocument)==null?void 0:i.body),o=lo(r),s=n?[o].concat(o.visualViewport||[],Wm(r)?r:[]):r,a=e.concat(s);return n?a:a.concat(jm(s))}function pre(t,e){let i=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(i&&Wl(i)){let r=e;do{if(r&&t===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function Ore(t,e){let i=ao(t,!1,e==="fixed"),r=i.top+t.clientTop,n=i.left+t.clientLeft;return{top:r,left:n,x:n,y:r,right:n+t.clientWidth,bottom:r+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function fL(t,e,i){return e==="viewport"?Mm(hre(t,i)):as(e)?Ore(e,i):Mm(dre(ls(t)))}function mre(t){let e=jm(t),i=["absolute","fixed"].includes(xn(t).position)&&vn(t)?V2(t):t;return as(i)?e.filter(r=>as(r)&&pre(r,i)&&so(r)!=="body"):[]}function gre(t){let{element:e,boundary:i,rootBoundary:r,strategy:n}=t,o=[...i==="clippingAncestors"?mre(e):[].concat(i),r],s=o[0],a=o.reduce((l,c)=>{let u=fL(e,c,n);return l.top=th(u.top,l.top),l.right=lL(u.right,l.right),l.bottom=lL(u.bottom,l.bottom),l.left=th(u.left,l.left),l},fL(e,s,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}var bre={getClippingRect:gre,convertOffsetParentRelativeRectToViewportRelativeRect:fre,isElement:as,getDimensions:uL,getOffsetParent:V2,getDocumentElement:ls,getElementRects:t=>{let{reference:e,floating:i,strategy:r}=t;return{reference:lre(e,V2(i),r),floating:Ce(H({},uL(i)),{x:0,y:0})}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>xn(t).direction==="rtl"};function yre(t,e,i,r){r===void 0&&(r={});let{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=n&&!a,c=o&&!a,u=l||c?[...as(t)?jm(t):[],...jm(e)]:[];u.forEach(x=>{l&&x.addEventListener("scroll",i,{passive:!0}),c&&x.addEventListener("resize",i)});let f=null;if(s){let x=!0;f=new ResizeObserver(()=>{x||i(),x=!1}),as(t)&&!a&&f.observe(t),f.observe(e)}let d,p=a?ao(t):null;a&&g();function g(){let x=ao(t);p&&(x.x!==p.x||x.y!==p.y||x.width!==p.width||x.height!==p.height)&&i(),p=x,d=requestAnimationFrame(g)}return i(),()=>{var x;u.forEach(v=>{l&&v.removeEventListener("scroll",i),c&&v.removeEventListener("resize",i)}),(x=f)==null||x.disconnect(),f=null,a&&cancelAnimationFrame(d)}}var xre=(t,e,i)=>Wie(t,e,H({platform:bre},i));async function vre(t,e,i,r){if(!r)throw new Error("Must provide a positioning option");return await(typeof r=="string"?wre(t,e,i,r):kre(e,r))}async function wre(t,e,i,r){if(!i)throw new Error("Reference element is required for relative positioning");let n;return r==="auto"?n={middleware:[ere(),aL(),sL({mainAxis:5,crossAxis:12})]}:n={placement:r,middleware:[ire(),aL(),sL(5)]},yre(i,e,async()=>{if((!i.isConnected||!i.offsetParent)&&Sre(t))return;let{x:o,y:s}=await xre(i,e,n);Object.assign(e.style,{position:"absolute",left:`${o}px`,top:`${s}px`})})}function kre(t,e){return t.style.position="fixed",Object.entries(e).forEach(([i,r])=>{t.style[i]=r}),()=>{}}function Sre(t){switch(t.options.onPositionLost){case"close":return t.close(),!0;case"destroy":return t.destroy(),!0;case"hold":return!0}}var Tre={hideOnClickOutside:!0,hideOnEmojiSelect:!0,hideOnEscape:!0,position:"auto",showCloseButton:!0,onPositionLost:"none"};function Ere(t={}){return H(Ce(H({},Tre),{rootElement:document.body}),t)}var Cre='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"/></svg>',hL=hi("popupContainer","closeButton"),Y2=class{constructor(e,i){this.isOpen=!1,this.externalEvents=new ma,this.options=H(H({},Ere(i)),W2(e)),this.popupEl=document.createElement("div"),this.popupEl.classList.add(hL.popupContainer),this.popupEl.classList.add(this.options.theme),i.className&&this.popupEl.classList.add(i.className),this.options.showCloseButton&&(this.closeButton=document.createElement("button"),this.closeButton.type="button",this.closeButton.classList.add(hL.closeButton),this.closeButton.innerHTML=Cre,this.closeButton.addEventListener("click",()=>{this.close()}),this.popupEl.appendChild(this.closeButton));let r=document.createElement("div");this.popupEl.appendChild(r),this.picker=rL(Ce(H({},this.options),{rootElement:r})),this.focusTrap=new Kf,this.picker.addEventListener("data:ready",()=>{this.focusTrap.activate(this.picker.el),this.picker.setInitialFocus()}),this.options.hideOnEmojiSelect&&this.picker.addEventListener("emoji:select",()=>{var n;this.close(),(n=this.triggerElement)==null||n.focus()}),this.options.hideOnClickOutside&&(this.onDocumentClick=this.onDocumentClick.bind(this),document.addEventListener("click",this.onDocumentClick)),this.options.hideOnEscape&&(this.handleKeydown=this.handleKeydown.bind(this),this.popupEl.addEventListener("keydown",this.handleKeydown)),this.referenceElement=this.options.referenceElement,this.triggerElement=this.options.triggerElement}addEventListener(e,i){this.externalEvents.on(e,i),this.picker.addEventListener(e,i)}removeEventListener(e,i){this.externalEvents.off(e,i),this.picker.removeEventListener(e,i)}handleKeydown(e){var i;e.key==="Escape"&&(this.close(),(i=this.triggerElement)==null||i.focus())}async destroy(){this.isOpen&&await this.close(),document.removeEventListener("click",this.onDocumentClick),this.picker.destroy(),this.externalEvents.removeAll()}toggle(e){return this.isOpen?this.close():this.open(e)}async open({triggerElement:e,referenceElement:i}={}){this.isOpen||(e&&(this.triggerElement=e),i&&(this.referenceElement=i),await this.initiateOpenStateChange(!0),this.popupEl.style.opacity="0",this.options.rootElement.appendChild(this.popupEl),await this.setPosition(),this.picker.reset(!1),await this.animatePopup(!0),await this.animateCloseButton(!0),this.picker.setInitialFocus(),this.externalEvents.emit("picker:open"))}async close(){var e;!this.isOpen||(await this.initiateOpenStateChange(!1),await this.animateCloseButton(!1),await this.animatePopup(!1),this.popupEl.remove(),this.picker.reset(),(e=this.positionCleanup)==null||e.call(this),this.focusTrap.deactivate(),this.externalEvents.emit("picker:close"))}getRunningAnimations(){return this.picker.el.getAnimations().filter(e=>e.playState==="running")}async setPosition(){var e;(e=this.positionCleanup)==null||e.call(this),this.positionCleanup=await vre(this,this.popupEl,this.referenceElement,this.options.position)}awaitPendingAnimations(){return Promise.all(this.getRunningAnimations().map(e=>e.finished))}onDocumentClick(e){var i;let r=e.target,n=(i=this.triggerElement)==null?void 0:i.contains(r);this.isOpen&&!this.picker.isPickerClick(e)&&!n&&this.close()}animatePopup(e){return pa(this.popupEl,{opacity:[0,1],transform:["scale(0.9)","scale(1)"]},{duration:150,id:e?"show-picker":"hide-picker",easing:"ease-in-out",direction:e?"normal":"reverse",fill:"both"},this.options)}animateCloseButton(e){if(this.closeButton)return pa(this.closeButton,{opacity:[0,1]},{duration:25,id:e?"show-close":"hide-close",easing:"ease-in-out",direction:e?"normal":"reverse",fill:"both"},this.options)}async initiateOpenStateChange(e){this.isOpen=e,await this.awaitPendingAnimations()}},Pre=`.picmo__popupContainer{display:flex;flex-direction:column;position:absolute}.picmo__popupContainer .picmo__closeButton{position:absolute;opacity:0;background:transparent;border:none;z-index:1;right:0;top:0;cursor:pointer;padding:4px;align-self:flex-end;transform:translate(50%,-50%);background:#999999;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border-radius:50%}.picmo__popupContainer .picmo__closeButton:hover{background:var(--accent-color)}.picmo__popupContainer .picmo__closeButton svg{fill:#fff;width:1.25rem;height:1.25rem}
`,_re=B2();function wL(t,e){return _re(Pre),new Y2(H({autoFocus:"auto"},t),e)}var Qre={mounted(){let t=this.el.querySelector("[data-emoji-button]"),e=this.el.querySelector("[data-emoji-preview]"),i=this.el.querySelector("[data-emoji-input]"),r=wL({showPreview:!1},{triggerElement:t,referenceElement:t,position:"bottom"});r.addEventListener("emoji:select",({emoji:n})=>{e.innerHTML=n,i.value=n}),t.addEventListener("click",n=>{r.toggle()})}},kL=Qre;var Are={mounted(){this.focus()},updated(){this.el!==document.activeElement&&this.focus()},focus(){Jo(document.activeElement)||(this.el.focus(),this.el.selectionStart=this.el.selectionEnd=this.el.value.length,this.el.scrollLeft=this.el.scrollWidth)}},SL=Are;var $re={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.initializeHeadingEl(),this.navigationSubscription=ti.subscribe("navigation",this.handleNavigationEvent.bind(this))},updated(){this.props=this.getProps(),this.initializeHeadingEl()},destroyed(){this.navigationSubscription.destroy()},getProps(){return ht(this.el,["id","on-value-change","metadata"])},initializeHeadingEl(){let t=this.el.querySelector("[data-el-heading]");t!==this.headingEl&&(this.headingEl=t,this.headingEl.addEventListener("paste",e=>{e.preventDefault();let i=e.clipboardData.getData("text/plain").replace(`
`," ");document.execCommand("insertText",!1,i)}),this.headingEl.addEventListener("keydown",e=>{e.key==="Enter"&&e.preventDefault()}),this.headingEl.addEventListener("blur",e=>{setTimeout(()=>{this.isFocused&&this.insertMode&&(this.headingEl.focus(),TL(this.headingEl))},0)}))},handleNavigationEvent(t){t.type==="element_focused"?this.handleElementFocused(t.focusableId,t.scroll):t.type==="insert_mode_changed"&&this.handleInsertModeChanged(t.enabled)},handleElementFocused(t,e){this.props.id===t?(this.isFocused=!0,this.el.setAttribute("data-js-focused",""),e&&na(this.el)):this.isFocused&&(this.isFocused=!1,this.el.removeAttribute("data-js-focused"))},handleInsertModeChanged(t){this.isFocused&&!this.insertMode&&t?(this.insertMode=t,this.el.setAttribute("phx-update","ignore"),this.headingEl.setAttribute("contenteditable",""),this.headingEl.focus(),TL(this.headingEl)):this.insertMode&&!t&&(this.insertMode=t,this.headingEl.removeAttribute("contenteditable"),this.el.removeAttribute("phx-update"),this.pushEvent(this.props.onValueChange,{value:this.headingEl.textContent.trim(),metadata:this.props.metadata}))}};function TL(t){let e=document.createRange();e.selectNodeContents(t),e.collapse(!1);let i=window.getSelection();i.removeAllRanges(),i.addRange(e)}var EL=$re;var Xre={mounted(){this.props=this.getProps(),this.sourceEl=to(this.el,"[data-source]"),this.targetEl=to(this.el,"[data-target]"),this.updateDOM()},updated(){this.props=this.getProps(),this.updateDOM()},getProps(){return ht(this.el,["language"])},updateDOM(){let t=this.sourceEl.innerText,e=MO(t,this.props.language);this.targetEl.innerHTML=e,this.el.setAttribute("data-highlighted","")}},CL=Xre;var H2=["bg-yellow-100","border-yellow-300"],Rre={mounted(){this.props=this.getProps(),this.inputEl=this.el.querySelector("[data-input]"),this.previewEl=this.el.querySelector("[data-preview]"),this.initialPreviewContentEl=this.previewEl.firstElementChild,this.cameraPreviewEl=this.el.querySelector("[data-camera-preview]"),this.cameraListEl=this.el.querySelector("[data-camera-list]"),this.cameraItemTemplateEl=this.cameraListEl.firstElementChild,this.cameraItemTemplateEl.remove(),this.uploadButton=this.el.querySelector("[data-btn-upload]"),this.openCameraButton=this.el.querySelector("[data-btn-open-camera]"),this.captureCameraButton=this.el.querySelector("[data-btn-capture-camera]"),this.cancelButton=this.el.querySelector("[data-btn-cancel]"),this.cameraListPopulated=!1,this.cameraVideoEl=null,this.cameraStream=null,this.updateImagePreview(),this.uploadButton.addEventListener("click",t=>{this.inputEl.click()}),this.inputEl.addEventListener("change",t=>{let[e]=t.target.files;e&&this.loadFile(e)}),this.el.addEventListener("dragover",t=>{t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}),this.el.addEventListener("drop",t=>{t.stopPropagation(),t.preventDefault();let[e]=t.dataTransfer.files;e&&this.loadFile(e),this.closeCameraView()}),this.el.addEventListener("dragenter",t=>{this.el.classList.add(...H2)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...H2)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...H2)}),this.openCameraButton.addEventListener("click",t=>{this.cameraListPopulated||(this.renderCameraList(),this.cameraListPopulated=!0)}),this.cameraListEl.addEventListener("click",t=>{let e=t.target.closest("[data-camera-id]");if(e){let i=e.dataset.cameraId;this.openCameraView(i)}}),this.captureCameraButton.addEventListener("click",t=>{let e=this.toCanvas(this.cameraVideoEl,this.cameraVideoEl.videoWidth,this.cameraVideoEl.videoHeight);this.pushImage(e),this.closeCameraView()}),this.cancelButton.addEventListener("click",t=>{this.closeCameraView()})},updated(){this.props=this.getProps(),this.updateImagePreview()},getProps(){return ht(this.el,["id","phx-target","height","width","format","fit","image-url","value-height","value-width"])},updateImagePreview(){this.props.imageUrl?Dre(this.props.imageUrl,this.props.valueHeight,this.props.valueWidth,this.props.format).then(t=>{this.setPreview(t)}):this.setPreview(this.initialPreviewContentEl)},loadFile(t){let e=new FileReader;e.onload=i=>{let r=document.createElement("img");r.addEventListener("load",n=>{let o=this.toCanvas(r,r.width,r.height);this.pushImage(o)}),r.src=i.target.result},e.readAsDataURL(t)},openCameraView(t){this.cameraPreviewEl.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.captureCameraButton.classList.remove("hidden"),this.previewEl.classList.add("hidden"),this.openCameraButton.classList.add("hidden"),this.uploadButton.classList.add("hidden"),navigator.mediaDevices.getUserMedia(this.cameraConstraints(t)).then(e=>{this.cameraStream=e,this.cameraVideoEl=document.createElement("video"),this.cameraVideoEl.autoplay=!0,this.cameraVideoEl.playsinline=!0,this.cameraVideoEl.muted=!0,this.cameraVideoEl.srcObject=e,this.setCameraPreview(this.cameraVideoEl)}).catch(()=>{})},cameraConstraints(t){return t==="system_default"?{audio:!1,video:!0}:{audio:!1,video:{deviceId:t}}},renderCameraList(){navigator.mediaDevices.getUserMedia({audio:!1,video:!0}).then(t=>navigator.mediaDevices.enumerateDevices().then(e=>(this.stopMediaStream(t),e))).then(t=>{let e=t.filter(i=>i.kind==="videoinput").map(i=>({deviceId:i.deviceId,label:i.label}));[{deviceId:"system_default",label:"System Default"},...e].forEach(({deviceId:i,label:r})=>{let n=this.cameraItemTemplateEl.cloneNode(!0);n.querySelector("[data-camera-id]").setAttribute("data-camera-id",i),n.querySelector("[data-label]").innerHTML=r,this.cameraListEl.appendChild(n)})}).catch(t=>{console.error(t),this.openCameraButton.disabled=!0})},closeCameraView(){return this.cameraStream!==null&&(this.stopMediaStream(this.cameraStream),this.cameraStream=null),this.cameraVideoEl!==null&&(this.cameraVideoEl.remove(),this.cameraVideoEl=null),this.cameraPreviewEl.classList.add("hidden"),this.cancelButton.classList.add("hidden"),this.captureCameraButton.classList.add("hidden"),this.previewEl.classList.remove("hidden"),this.openCameraButton.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),!0},stopMediaStream(t){t.getTracks().forEach(e=>{e.stop()})},pushImage(t){Lre(t,this.props.format).then(e=>{let i={height:t.height,width:t.width},r=new Blob([e]);r.meta=()=>i,this.uploadTo(this.props.phxTarget,"file",[r])})},toCanvas(t,e,i){let{width:r,height:n}=this.props,o=document.createElement("canvas"),s=o.getContext("2d");if(r===null&&n===null||r===e&&n===i)o.width=e,o.height=i,o.getContext("2d").drawImage(t,0,0,e,i,0,0,e,i);else if(this.props.fit==="contain"){let a=r/e,l=n/i,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=u,o.height=f,s.drawImage(t,0,0,e,i,0,0,u,f)}else if(this.props.fit==="crop"){let a=r/e,l=n/i,c=Math.max(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=r,o.height=n,s.drawImage(t,Math.round((u-r)/c/2),Math.round((f-n)/c/2),e-Math.round((u-r)/c),i-Math.round((f-n)/c),0,0,r,n)}else if(this.props.fit==="pad"){let a=r/e,l=n/i,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=r,o.height=n,s.fillStyle="black",s.fillRect(0,0,o.width,o.height),s.drawImage(t,0,0,e,i,Math.round((r-u)/2),Math.round((n-f)/2),u,f)}else o.width=r,o.height=n,s.drawImage(t,0,0,e,i,0,0,r,n);return o},setPreview(t){t.style.maxHeight="300px",t.style.maxWidth="100%",this.previewEl.replaceChildren(t)},setCameraPreview(t){t.style.maxHeight="300px",t.style.maxWidth="100%",this.cameraPreviewEl.replaceChildren(t)}};function Lre(t,e){if(e==="png"||e==="jpeg")return new Promise((i,r)=>{t.toBlob(n=>{n.arrayBuffer().then(o=>{i(o)})},`image/${e}`)});if(e==="rgb"){let i=t.getContext("2d").getImageData(0,0,t.width,t.height),r=Ire(i);return Promise.resolve(r)}throw new Error(`Unexpected format: ${e}`)}function Ire(t){let e=t.width*t.height,i=new Uint8ClampedArray(e*3);for(let r=0;r<e;r++)i[r*3]=t.data[r*4],i[r*3+1]=t.data[r*4+1],i[r*3+2]=t.data[r*4+2];return i.buffer}function Dre(t,e,i,r){if(r==="png"||r==="jpeg"){let n=document.createElement("img");return n.src=t,Promise.resolve(n)}if(r==="rgb")return fetch(t).then(n=>n.arrayBuffer()).then(n=>{let o=document.createElement("canvas");o.height=e,o.width=i;let s=Nre(n,i,e);return o.getContext("2d").putImageData(s,0,0),o});throw new Error(`Unexpected format: ${r}`)}function Nre(t,e,i){let r=e*i,n=new Uint8Array(t),o=new Uint8ClampedArray(r*4);for(let s=0;s<r;s++)o[s*4]=n[s*3],o[s*4+1]=n[s*3+1],o[s*4+2]=n[s*3+2],o[s*4+3]=255;return new ImageData(o,e,i)}var PL=Rre;var Mre={mounted(){this.updateSrc()},updated(){this.updateSrc()},updateSrc(){let t=this.el.src,e="data:image/x-pixel;base64,",i=t.slice(e.length);if(t.startsWith(e)){let r=EX(i),n=new DataView(r),o=n.getUint32(0,!1),s=n.getUint32(4,!1),a=n.getUint8(8),l=r.slice(9),c=Ure(l,s,o,a),u=document.createElement("canvas");u.height=o,u.width=s,u.getContext("2d").putImageData(c,0,0);let f=u.toDataURL("image/png");this.el.src=f}}};function Ure(t,e,i,r){let n=e*i,o=new Uint8Array(t),s=new Uint8ClampedArray(n*4);for(let a=0;a<n;a++)r===1?(s[a*4]=o[a],s[a*4+1]=o[a],s[a*4+2]=o[a],s[a*4+3]=255):r===2?(s[a*4]=o[a*2],s[a*4+1]=o[a*2],s[a*4+2]=o[a*2],s[a*4+3]=o[a*2+1]):r===3?(s[a*4]=o[a*3],s[a*4+1]=o[a*3+1],s[a*4+2]=o[a*3+2],s[a*4+3]=255):r===4&&(s[a*4]=o[a*4],s[a*4+1]=o[a*4+1],s[a*4+2]=o[a*4+2],s[a*4+3]=o[a*4+3]);return new ImageData(s,e,i)}var _L=Mre;var zre=document.querySelector("meta[name='csrf-token']").getAttribute("content"),G2=new uh(window.LIVEBOOK_BASE_URL_PATH+"/socket",{params:{_csrf_token:zre}}),ya=null;function QL(t){return ya||(G2.connect(),ya=G2.channel("js_view",{session_token:t}),ya.join()),ya}function AL(){ya&&(ya.leave(),ya=null,G2.disconnect())}function $L(t,e){if(Array.isArray(e)&&e[1]&&e[1].constructor===ArrayBuffer){let[i,r]=e;return vS([t,i],r)}else return{root:[t,e]}}function K2(t){if(t.constructor===ArrayBuffer){let[[e,i],r]=wS(t);return[e,[i,r]]}else{let{root:[e,i]}=t;return[e,i]}}var XL="wcqj5QWCo66osdAWDnEgPRFyL7nfe8oNqNggnw4vvW8=";function RL(t,e,i){let r=jre(e,i);return qre(r).then(()=>{t.sandbox="allow-scripts allow-same-origin allow-downloads allow-forms allow-modals allow-popups allow-top-navigation",t.allow="accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; fullscreen; geolocation; gyroscope; microphone; midi; usb; xr-spatial-tracking; clipboard-read; clipboard-write; bluetooth; serial",t.src=r})}function jre(t,e){let i=window.location.protocol;return e?e.replace(/^https?:/,i):i==="https:"?"https://livebookusercontent.com/iframe/v5.html":`http://${window.location.hostname}:${t}/iframe/v5.html`}var J2=null;function qre(t){return J2||(J2=fetch(t).then(e=>e.text()).then(e=>{if(TX(e)!==XL)throw new Error(`The iframe loaded from ${t} doesn't have the expected checksum ${XL}`)})),J2}var Wre={mounted(){this.props=this.getProps(),this.id=wX(),this.childToken=kX(),this.childReadyPromise=null,this.childReady=!1,this.initReceived=!1,this.syncCallbackQueue=[],this.pongCallbackQueue=[],this.initTimeout=setTimeout(()=>this.handleInitTimeout(),2e3),this.channel=QL(this.props.sessionToken),this.iframeActions=this.createIframe(),this.childReadyPromise=new Promise((n,o)=>{this._handleWindowMessage=s=>{s.source===this.iframe.contentWindow&&this.handleChildMessage(s.data,n)},window.addEventListener("message",this._handleWindowMessage)}),this.hiddenInput=document.createElement("input"),this.hiddenInput.style.display="none",this.el.appendChild(this.hiddenInput),this.iframeActions.visibilityPromise.then(()=>{this.loadIframe()});let t=this.channel.on(`init:${this.props.ref}:${this.id}`,n=>{let[,o]=K2(n);this.handleServerInit(o)}),e=this.channel.on(`event:${this.props.ref}`,n=>{let[[o],s]=K2(n);this.handleServerEvent(o,s)}),i=this.channel.on(`error:${this.props.ref}`,({message:n,init:o})=>{this.handleServerError(n,o)}),r=this.channel.on(`pong:${this.props.ref}`,()=>{this.handleServerPong()});this.unsubscribeFromChannelEvents=()=>{this.channel.off(`init:${this.props.ref}:${this.id}`,t),this.channel.off(`event:${this.props.ref}`,e),this.channel.off(`error:${this.props.ref}`,i),this.channel.off(`pong:${this.props.ref}`,r)},this.subscriptions=[ti.subscribe(`js_views:${this.props.ref}`,this.handleJSViewEvent.bind(this)),ti.subscribe("navigation",this.handleNavigationEvent.bind(this))],this.channel.push("connect",{connect_token:this.props.connectToken,ref:this.props.ref,id:this.id},3e4)},updated(){this.props=this.getProps(this)},disconnected(){this.el.removeAttribute("id")},destroyed(){window.removeEventListener("message",this._handleWindowMessage),this.iframeActions.remove(),this.unsubscribeFromChannelEvents(),this.channel.push("disconnect",{ref:this.props.ref}),this.subscriptions.forEach(t=>t.destroy())},getProps(){return ht(this.el,["ref","assets-base-path","assets-cdn-url","js-path","session-token","connect-token","iframe-port","iframe-url","timeout-message"])},createIframe(){this.iframePlaceholder=document.createElement("div"),this.el.appendChild(this.iframePlaceholder),this.iframe=document.createElement("iframe"),this.iframe.className="w-full h-0 absolute z-[1]";let t=document.querySelector("[data-el-notebook]"),e=t.querySelector("[data-el-notebook-content]"),i=new ResizeObserver(l=>{this.repositionIframe()});i.observe(e),i.observe(t);let r=bn(this.iframePlaceholder),n=new ResizeObserver(l=>{let c=bn(this.iframePlaceholder);r!==c&&(r=c,this.repositionIframe())});n.observe(this.iframePlaceholder);let o=ti.subscribe("js_views",l=>{l.type==="reposition"&&this.repositionIframe()});this.iframe.addEventListener("mouseenter",l=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0}))}),this.iframe.addEventListener("mouseleave",l=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseleave",{bubbles:!0}))});let s=RO(this.iframePlaceholder,{root:t,proximity:2e3});this.iframe.toggleAttribute("data-js-focused",!!this.el.closest("[data-js-focused]"));let a=()=>{i.disconnect(),n.disconnect(),o.destroy(),s.cancel(),this.iframe.remove(),this.iframePlaceholder.remove()};return{visibilityPromise:s.promise,remove:a}},repositionIframe(){let{iframe:t,iframePlaceholder:e}=this,i=document.querySelector("[data-el-notebook]");if(bn(e))t.classList.add("hidden");else{t.classList.remove("hidden");let r=i.getBoundingClientRect(),n=e.getBoundingClientRect(),o=n.top-r.top+i.scrollTop;t.style.top=`${o}px`;let s=n.left-r.left+i.scrollLeft;t.style.left=`${s}px`,t.style.height=`${n.height}px`,t.style.width=`${n.width}px`}},loadIframe(){let t=document.querySelector("[data-el-js-view-iframes]");RL(this.iframe,this.props.iframePort,this.props.iframeUrl).then(()=>{t.appendChild(this.iframe)})},handleChildMessage(t,e){if(t.type==="ready"&&!this.childReady)this.getAssetsBaseUrl().then(i=>{this.postMessage({type:"readyReply",token:this.childToken,baseUrl:i,jsPath:this.props.jsPath}),this.childReady=!0,e()});else{if(t.token!==this.childToken)throw new Error("Token mismatch");if(t.type==="resize")this.iframePlaceholder.style.height=`${t.height}px`,this.iframe.style.height=`${t.height}px`;else if(t.type==="domEvent"){let i=this.replicateDomEvent(t.event);t.isTargetEditable?this.hiddenInput.dispatchEvent(i):this.el.dispatchEvent(i)}else if(t.type==="event"){let{event:i,payload:r}=t,n=$L([i,this.props.ref],r);this.channel.push("event",n)}else t.type==="syncReply"?(this.pongCallbackQueue.push(this.syncCallbackQueue.shift()),this.channel.push("ping",{ref:this.props.ref})):t.type==="selectSecret"&&this.pushEvent("select_secret",{js_view_ref:this.props.ref,preselect_name:t.preselectName,options:t.options})}},getAssetsBaseUrl(){return Zm().then(t=>!t&&this.props.assetsCdnUrl?this.props.assetsCdnUrl:window.location.origin+this.props.assetsBasePath)},postMessage(t){this.iframe.contentWindow.postMessage(t,"*")},replicateDomEvent(t){if(t.type==="focus")return new FocusEvent("focus");if(t.type==="mousedown")return new MouseEvent("mousedown",{bubbles:!0});if(t.type==="keydown")return new KeyboardEvent(t.type,t.props)},handleInitTimeout(){this.initTimeoutContainer=document.createElement("div"),this.initTimeoutContainer.classList.add("info-box"),this.el.prepend(this.initTimeoutContainer),this.initTimeoutContainer.textContent=this.props.timeoutMessage},clearInitTimeout(){clearTimeout(this.initTimeout),this.initTimeoutContainer&&this.initTimeoutContainer.remove()},handleServerInit(t){this.clearInitTimeout(),this.initReceived=!0,this.childReadyPromise.then(()=>{this.postMessage({type:"init",data:t})})},handleServerEvent(t,e){this.initReceived&&this.childReadyPromise.then(()=>{this.postMessage({type:"event",event:t,payload:e})})},handleServerError(t,e){e&&this.clearInitTimeout(),this.errorContainer||(this.errorContainer=document.createElement("div"),this.errorContainer.classList.add("error-box","mb-4"),this.el.prepend(this.errorContainer)),this.errorContainer.textContent=t},handleServerPong(){this.pongCallbackQueue.shift()()},handleJSViewEvent(t){t.type==="sync"?(this.syncCallbackQueue.push(t.callback),this.postMessage({type:"sync"})):t.type=="secretSelected"&&this.postMessage({type:"secretSelected",secretName:t.secretName})},handleNavigationEvent(t){if(t.type==="element_focused"){let e=this.el.closest("[data-focusable-id]"),i=e?e.dataset.focusableId:null;this.iframe.toggleAttribute("data-js-focused",i===t.focusableId)}}};function Zm(){let t=window.LIVEBOOK_PUBLIC_BASE_URL_PATH+"/public/health";return Zm.promise=Zm.promise||fetch(t).then(e=>e.status===200).catch(e=>!1),Zm.promise}var LL=Wre;var Bre={mounted(){this.props=this.getProps(),this._handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this._handleDocumentKeyUp=this.handleDocumentKeyUp.bind(this),this._handleDocumentFocus=this.handleDocumentFocus.bind(this),window.addEventListener("keydown",this._handleDocumentKeyDown,!0),window.addEventListener("keyup",this._handleDocumentKeyUp,!0),window.addEventListener("focus",this._handleDocumentFocus,!0)},updated(){this.props=this.getProps()},destroyed(){window.removeEventListener("keydown",this._handleDocumentKeyDown,!0),window.removeEventListener("keyup",this._handleDocumentKeyUp,!0),window.removeEventListener("focus",this._handleDocumentFocus,!0)},getProps(){return ht(this.el,["cell-id","default-handlers","keydown-enabled","keyup-enabled","target"])},handleDocumentKeyDown(t){if(this.isKeyboardToggle(t)&&!Jo(document.activeElement)){yn(t),this.keyboardEnabled()?this.disableKeyboard():this.enableKeyboard();return}if(this.keyboardEnabled()){if(this.props.defaultHandlers!=="on"&&yn(t),t.repeat)return;if(this.props.keydownEnabled){let{key:e}=t;this.pushEventTo(this.props.target,"keydown",{key:e})}}},handleDocumentKeyUp(t){if(this.keyboardEnabled()&&(this.props.defaultHandlers!=="on"&&yn(t),this.props.keyupEnabled)){let{key:e}=t;this.pushEventTo(this.props.target,"keyup",{key:e})}},handleDocumentFocus(t){this.props.keydownEnabled&&Jo(t.target)&&this.disableKeyboard()},enableKeyboard(){this.keyboardEnabled()||this.pushEventTo(this.props.target,"enable_keyboard",{})},disableKeyboard(){this.keyboardEnabled()&&this.pushEventTo(this.props.target,"disable_keyboard",{})},keyboardEnabled(){return this.props.keydownEnabled||this.props.keyupEnabled},isKeyboardToggle(t){if(t.repeat)return!1;let{metaKey:e,ctrlKey:i,key:r}=t;return(XO()?e:i)&&r==="k"&&this.isCellFocused()?!this.keyboardEnabled()||["on","disable_only"].includes(this.props.defaultHandlers):!1},isCellFocused(){let t=this.el.closest("[data-el-session]");return t&&t.getAttribute("data-js-focused-id")===this.props.cellId}},IL=Bre;var Zre={mounted(){this.props=this.getProps(),this.templateEl=to(this.el,"[data-template]"),this.contentEl=to(this.el,"[data-content]"),this.markdown=new oa(this.contentEl,this.templateEl.textContent,{baseUrl:this.props.basePath,allowedUriSchemes:this.props.allowedUriSchemes})},updated(){this.props=this.getProps(),this.markdown.setContent(this.templateEl.textContent)},getProps(){return ht(this.el,["base-path","allowed-uri-schemes"])}},DL=Zre;var Vre={mounted(){this.scroll()},updated(){this.scroll()},scroll(){hf(this.el)}},NL=Vre;var ih=class{constructor(e=2e3){this.resetTimeout=e,this.buffer=[],this.resetTimeoutId=null}push(e){this.buffer.push(e),this.resetTimeoutId&&clearTimeout(this.resetTimeoutId),this.resetTimeoutId=setTimeout(()=>{this.reset()},this.resetTimeout)}reset(){this.resetTimeoutId&&clearTimeout(this.resetTimeoutId),this.resetTimeoutId=null,this.buffer=[]}tryMatch(e){if(e.length>this.buffer.length)return!1;let i=this.buffer.slice(-e.length),r=e.every((n,o)=>n===i[o]);return r&&this.reset(),r}};var Yre={mounted(){this.props=this.getProps(),this.focusedId=null,this.insertMode=!1,this.view=null,this.viewOptions=null,this.keyBuffer=new ih,this.lastLocationReportByClientId={},this.followedClientId=null,this.store=zl.create("session"),IO(this.faviconForEvaluationStatus(this.props.globalStatus)),this.updateSectionListHighlight(),this._handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this._handleEditorEscape=this.handleEditorEscape.bind(this),this._handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this._handleDocumentFocus=this.handleDocumentFocus.bind(this),this._handleDocumentClick=this.handleDocumentClick.bind(this),document.addEventListener("keydown",this._handleDocumentKeyDown,!0),document.addEventListener("lb:editor_escape",this._handleEditorEscape),document.addEventListener("mousedown",this._handleDocumentMouseDown),document.addEventListener("focus",this._handleDocumentFocus,!0),document.addEventListener("click",this._handleDocumentClick),this.getElement("sections-list").addEventListener("click",t=>{this.handleSectionsListClick(t),this.handleCellIndicatorsClick(t)}),this.getElement("clients-list").addEventListener("click",t=>this.handleClientsListClick(t)),this.getElement("sections-list-toggle").addEventListener("click",t=>this.toggleSectionsList()),this.getElement("clients-list-toggle").addEventListener("click",t=>this.toggleClientsList()),this.getElement("secrets-list-toggle").addEventListener("click",t=>this.toggleSecretsList()),this.getElement("runtime-info-toggle").addEventListener("click",t=>this.toggleRuntimeInfo()),this.getElement("app-info-toggle").addEventListener("click",t=>this.toggleAppInfo()),this.getElement("files-list-toggle").addEventListener("click",t=>this.toggleFilesList()),this.getElement("notebook").addEventListener("scroll",t=>this.updateSectionListHighlight()),this.getElement("notebook-indicators").addEventListener("click",t=>this.handleCellIndicatorsClick(t)),this.getElement("views").addEventListener("click",t=>{this.handleViewsClick(t)}),this.getElement("section-toggle-collapse-all-button").addEventListener("click",t=>this.toggleCollapseAllSections()),this.initializeDragAndDrop(),window.addEventListener("phx:page-loading-stop",()=>{this.initializeFocus()},{once:!0}),this.handleEvent("session_init",({clients:t,client_id:e})=>{let i={};for(let r of t)i[r.id]=r;this.store.set("clients",i),this.store.set("clientId",e)}),this.handleEvent("cell_inserted",({cell_id:t})=>{this.handleCellInserted(t)}),this.handleEvent("cell_deleted",({cell_id:t,sibling_cell_id:e})=>{this.handleCellDeleted(t,e)}),this.handleEvent("cell_restored",({cell_id:t})=>{this.handleCellRestored(t)}),this.handleEvent("cell_moved",({cell_id:t})=>{this.handleCellMoved(t)}),this.handleEvent("section_inserted",({section_id:t})=>{this.handleSectionInserted(t)}),this.handleEvent("section_deleted",({section_id:t})=>{this.handleSectionDeleted(t)}),this.handleEvent("section_moved",({section_id:t})=>{this.handleSectionMoved(t)}),this.handleEvent("client_joined",({client:t})=>{this.handleClientJoined(t)}),this.handleEvent("client_left",({client_id:t})=>{this.handleClientLeft(t)}),this.handleEvent("clients_updated",({clients:t})=>{this.handleClientsUpdated(t)}),this.handleEvent("secret_selected",({select_secret_ref:t,secret_name:e})=>{this.handleSecretSelected(t,e)}),this.handleEvent("location_report",({client_id:t,focusable_id:e})=>{let i={focusableId:e};this.handleLocationReport(t,i)})},updated(){let t=this.props;this.props=this.getProps(),this.props.globalStatus!==t.globalStatus&&IO(this.faviconForEvaluationStatus(this.props.globalStatus))},disconnected(){this.el.removeAttribute("id"),this.keepChannel=!0},destroyed(){document.removeEventListener("keydown",this._handleDocumentKeyDown,!0),document.removeEventListener("lb:editor_scape",this._handleEditorEscape),document.removeEventListener("mousedown",this._handleDocumentMouseDown),document.removeEventListener("focus",this._handleDocumentFocus,!0),document.removeEventListener("click",this._handleDocumentClick),IO("favicon"),this.keepChannel||AL(),this.store.destroy()},getProps(){return ht(this.el,["autofocus-cell-id","global-status"])},faviconForEvaluationStatus(t){return t==="evaluating"?"favicon-evaluating":t==="stale"?"favicon-stale":t==="errored"?"favicon-errored":"favicon"},handleDocumentKeyDown(t){if(t.repeat)return;let e=XO()?t.metaKey:t.ctrlKey,i=t.altKey,r=t.shiftKey,n=t.key,o=this.keyBuffer;if(!(Jo(t.target)&&t.target.closest("[data-el-outputs-container]"))){if(e&&r&&!i&&n==="Enter"){yn(t),this.queueFullCellsEvaluation(!0);return}else if(!e&&r&&!i&&n==="Enter"){yn(t),sa(this.focusedCellType())&&this.queueFocusedCellEvaluation(),this.moveFocus(1);return}else if(e&&!i&&n==="Enter"){yn(t),sa(this.focusedCellType())&&this.queueFocusedCellEvaluation();return}else if(e&&n==="s"){yn(t),this.saveNotebook();return}else if(e||i)return}this.insertMode?(o.reset(),!t.target.closest("[data-el-editor-container]")&&n==="Escape"&&this.escapeInsertMode()):Jo(t.target)?(o.reset(),n==="Escape"&&t.target.blur()):(o.push(t.key),o.tryMatch(["d","d"])?this.deleteFocusedCell():o.tryMatch(["e","a"])?this.queueFullCellsEvaluation(!1):o.tryMatch(["e","e"])?sa(this.focusedCellType())&&this.queueFocusedCellEvaluation():o.tryMatch(["e","s"])?this.queueFocusedSectionEvaluation():o.tryMatch(["s","s"])?this.toggleSectionsList():o.tryMatch(["s","e"])?this.toggleSecretsList():o.tryMatch(["s","a"])?this.toggleAppInfo():o.tryMatch(["s","u"])?this.toggleClientsList():o.tryMatch(["s","f"])?this.toggleFilesList():o.tryMatch(["s","r"])?this.toggleRuntimeInfo():o.tryMatch(["s","b"])?this.showBin():o.tryMatch(["s","p"])?this.showPackageSearch():o.tryMatch(["e","x"])?this.cancelFocusedCellEvaluation():o.tryMatch(["0","0"])?this.reconnectRuntime():o.tryMatch(["Escape","Escape"])?this.setFocusedEl(null):o.tryMatch(["?"])?this.showShortcuts():o.tryMatch(["i"])||t.target.matches("body, [data-el-cell-body], [data-el-heading], [data-focusable-id]")&&this.focusedId&&n==="Enter"?(yn(t),this.isInsertModeAvailable()&&this.enterInsertMode()):o.tryMatch(["j"])?this.moveFocus(1):o.tryMatch(["k"])?this.moveFocus(-1):o.tryMatch(["J"])?this.moveFocusedCell(1):o.tryMatch(["K"])?this.moveFocusedCell(-1):o.tryMatch(["n"])?this.insertCellBelowFocused("code"):o.tryMatch(["N"])?this.insertCellAboveFocused("code"):o.tryMatch(["m"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellBelowFocused("markdown"):o.tryMatch(["M"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellAboveFocused("markdown"):o.tryMatch(["v","z"])?this.toggleView("code-zen"):o.tryMatch(["v","p"])?this.toggleView("presentation"):o.tryMatch(["v","c"])?this.toggleView("custom"):o.tryMatch(["c"])?(!this.view||this.viewOptions.showSection)&&this.toggleCollapseSection():o.tryMatch(["C"])&&(!this.view||this.viewOptions.showSection)&&this.toggleCollapseAllSections())},handleEditorEscape(){this.insertMode&&(this.keyBuffer.reset(),this.escapeInsertMode())},handleDocumentMouseDown(t){if(!t.target.closest("[data-el-notebook]")){this.insertMode&&this.setInsertMode(!1);return}if(t.target.closest(".cm-tooltip")){this.insertMode&&this.setInsertMode(!1);return}if(t.target.closest("[data-el-insert-buttons] button"))return;let e=t.target.closest("[data-focusable-id]"),i=e?e.dataset.focusableId:null,r=this.editableElementClicked(t,e);i!==this.focusedId&&this.setFocusedEl(i,{scroll:!1,focusElement:!1}),!t.target.closest("[data-el-actions]")&&this.insertMode!==r&&this.setInsertMode(r)},editableElementClicked(t,e){if(e){let i=t.target.closest("[data-el-editor-container], [data-el-heading]");return i&&e.contains(i)}return!1},handleDocumentFocus(t){let e=t.target.closest&&t.target.closest("[data-focusable-id]");if(e){let i=e.dataset.focusableId;i!==this.focusedId&&this.setFocusedEl(i,{scroll:!1,focusElement:!1})}},handleDocumentClick(t){t.target.closest("[data-el-enable-insert-mode-button]")&&this.setInsertMode(!0),t.target.closest("[data-btn-package-search]")&&this.insertMode&&this.setInsertMode(!1);let e=t.target.closest("[data-el-queue-cell-evaluation-button]");if(e){let r=e.getAttribute("data-cell-id"),n=e.hasAttribute("data-disable-dependencies-cache");this.queueCellEvaluation(r,n)}let i=window.location.hash;if(i){let r=i.replace(/^#/,"");!document.getElementById(r).contains(t.target)&&!t.target.closest("a")&&history.pushState(null,document.title,window.location.pathname+window.location.search)}},handleSectionsListClick(t){let e=t.target.closest("[data-el-sections-list-item]");if(e){let i=e.getAttribute("data-section-id");this.getSectionById(i).scrollIntoView({behavior:"instant",block:"start"})}},handleClientsListClick(t){let e=t.target.closest("[data-el-clients-list-item]");if(e){let i=e.getAttribute("data-client-id");t.target.closest("[data-el-client-link]")&&this.handleClientLinkClick(i),t.target.closest("[data-el-client-follow-toggle]")&&this.handleClientFollowToggleClick(i,e)}},handleClientLinkClick(t){this.mirrorClientFocus(t)},handleClientFollowToggleClick(t,e){let i=this.el.querySelector("[data-el-clients-list-item][data-js-followed]");i&&i.removeAttribute("data-js-followed"),t===this.followedClientId?this.followedClientId=null:(e.setAttribute("data-js-followed",""),this.followedClientId=t,this.mirrorClientFocus(t))},mirrorClientFocus(t){let e=this.lastLocationReportByClientId[t];e&&e.focusableId&&this.setFocusedEl(e.focusableId)},handleCellIndicatorsClick(t){let e=t.target.closest("[data-el-focus-cell-button]");if(e){let i=e.getAttribute("data-target");this.setFocusedEl(i)}},initializeFocus(){let t=window.location.hash;if(t){let e=t.replace(/^#/,""),i=document.getElementById(e);if(i){let r=i.closest("[data-focusable-id]");r?this.setFocusedEl(r.dataset.focusableId):i.scrollIntoView()}}else this.props.autofocusCellId&&(this.setFocusedEl(this.props.autofocusCellId,{scroll:!1}),this.setInsertMode(!0))},updateSectionListHighlight(){let t=this.el.querySelector("[data-el-sections-list-item][data-js-is-viewed]");t&&t.removeAttribute("data-js-is-viewed");let e=this.getSections().reverse().find(i=>{let{top:r}=i.getBoundingClientRect(),n=document.documentElement.scrollTop;return r<=n+window.innerHeight*.35});if(e){let i=e.getAttribute("data-section-id");this.el.querySelector(`[data-el-sections-list-item][data-section-id="${i}"]`).setAttribute("data-js-is-viewed","")}},initializeDragAndDrop(){let t=!1,e=null,i=null,r=(o=null)=>{if(!t){t=!0,e=o;let s=o?"internal":"external";this.el.setAttribute("data-js-dragging",s),s==="external"&&this.toggleFilesList(!0)}},n=()=>{t&&(t=!1,this.el.removeAttribute("data-js-dragging"))};this.el.addEventListener("dragstart",o=>{r(o.target)}),this.el.addEventListener("dragenter",o=>{r()}),this.el.addEventListener("dragleave",o=>{PX()||this.el.contains(o.relatedTarget)||n()}),this.el.addEventListener("dragover",o=>{o.stopPropagation(),o.preventDefault()}),this.el.addEventListener("drop",o=>{o.stopPropagation(),o.preventDefault();let s=o.target.closest("[data-el-insert-drop-area]"),a=o.target.closest("[data-el-files-drop-area]");if(s){let l=s.getAttribute("data-section-id")||null,c=s.getAttribute("data-cell-id")||null;if(o.dataTransfer.files.length>0)i=o.dataTransfer.files,this.pushEvent("handle_file_drop",{section_id:l,cell_id:c});else if(e&&e.matches("[data-el-file-entry]")){let u=e.getAttribute("data-name");this.pushEvent("insert_file",{file_entry_name:u,section_id:l,cell_id:c})}}else a&&o.dataTransfer.files.length>0&&(i=o.dataTransfer.files,this.pushEvent("handle_file_drop",{}));n()}),this.handleEvent("finish_file_drop",o=>{let s=document.querySelector('#add-file-entry-modal input[type="file"]');s&&(s.files=i,s.dispatchEvent(new Event("change",{bubbles:!0})))})},toggleSectionsList(t=null){this.toggleSidePanelContent("sections-list",t)},toggleClientsList(t=null){this.toggleSidePanelContent("clients-list",t)},toggleSecretsList(t=null){this.toggleSidePanelContent("secrets-list",t)},toggleAppInfo(t=null){this.toggleSidePanelContent("app-info",t)},toggleFilesList(t=null){this.toggleSidePanelContent("files-list",t)},toggleRuntimeInfo(t=null){this.toggleSidePanelContent("runtime-info",t)},toggleSidePanelContent(t,e=null){(e===null?this.el.getAttribute("data-js-side-panel-content")!==t:e)?this.el.setAttribute("data-js-side-panel-content",t):this.el.removeAttribute("data-js-side-panel-content")},showBin(){let t=this.el.querySelector("[data-btn-show-bin]");t&&t.click()},showPackageSearch(){this.setFocusedEl("setup");let t=this.el.querySelector("[data-btn-package-search]");t&&t.click()},saveNotebook(){this.pushEvent("save",{})},deleteFocusedCell(){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("delete_cell",{cell_id:this.focusedId})},queueCellEvaluation(t,e){this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_cell_evaluation",{cell_id:t,disable_dependencies_cache:e})})},queueFocusedCellEvaluation(){this.focusedId&&this.isCell(this.focusedId)&&this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_cell_evaluation",{cell_id:this.focusedId})})},queueFullCellsEvaluation(t){let e=t&&this.focusedId&&this.isCell(this.focusedId)?[this.focusedId]:[];this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_full_evaluation",{forced_cell_ids:e})})},queueFocusedSectionEvaluation(){if(this.focusedId){let t=this.getSectionIdByFocusableId(this.focusedId);t&&this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_section_evaluation",{section_id:t})})}},dispatchQueueEvaluation(t){sa(this.focusedCellType())?ti.broadcast(`cells:${this.focusedId}`,{type:"dispatch_queue_evaluation",dispatch:t}):t()},cancelFocusedCellEvaluation(){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("cancel_cell_evaluation",{cell_id:this.focusedId})},reconnectRuntime(){this.pushEvent("reconnect_runtime",{})},showShortcuts(){let t=this.el.querySelector("[data-btn-show-shortcuts]");t&&t.click()},isInsertModeAvailable(){if(!this.focusedId)return!1;let t=this.getFocusableEl(this.focusedId);return!this.isCell(this.focusedId)||!t.hasAttribute("data-js-insert-mode-disabled")},enterInsertMode(){this.focusedId&&this.setInsertMode(!0)},escapeInsertMode(){this.setInsertMode(!1)},moveFocus(t){let e=this.nearbyFocusableId(this.focusedId,t);this.setFocusedEl(e)},moveFocusedCell(t){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("move_cell",{cell_id:this.focusedId,offset:t})},insertCellBelowFocused(t){if(this.focusedId)this.insertCellBelowFocusableId(this.focusedId,t);else{let e=this.getFocusableIds();e.length>0&&this.insertCellBelowFocusableId(e[e.length-1],t)}},insertCellAboveFocused(t){if(this.focusedId){let e=this.nearbyFocusableId(this.focusedId,-1);this.insertCellBelowFocusableId(e,t)}else{let e=this.getFocusableIds();e.length>0&&this.insertCellBelowFocusableId(e[0],t)}},insertCellBelowFocusableId(t,e){if(this.isCell(t))this.pushEvent("insert_cell_below",{type:e,cell_id:t});else if(this.isSection(t))this.pushEvent("insert_cell_below",{type:e,section_id:t});else if(this.isNotebook(t)){let i=this.getSectionIds();i.length>0&&this.pushEvent("insert_cell_below",{type:e,section_id:i[0]})}},setFocusedEl(t,{scroll:e=!0,focusElement:i=!0}={}){if(this.focusedId=t,t?this.el.setAttribute("data-js-focused-id",t):this.el.removeAttribute("data-js-focused-id"),t){if(!this.isSection(t)){let n=this.getSectionIdByFocusableId(t);n&&this.getSectionById(n).removeAttribute("data-js-collapsed")}let r=this.getFocusableEl(t);i&&(r.querySelector("[data-el-cell-body]")||r.querySelector("[data-el-heading]")||r).focus({preventScroll:!0})}ti.broadcast("navigation",{type:"element_focused",focusableId:t,scroll:e}),this.setInsertMode(!1),this.sendLocationReport({focusableId:t})},setInsertMode(t){this.insertMode=t,t?this.el.setAttribute("data-js-insert-mode",""):this.el.removeAttribute("data-js-insert-mode"),ti.broadcast("navigation",{type:"insert_mode_changed",enabled:t})},handleViewsClick(t){let e=t.target.closest("[data-el-view-toggle]");if(e){let i=e.getAttribute("data-el-view-toggle");this.toggleView(i)}},toggleView(t){t===this.view?(this.unsetView(),t==="custom"&&this.customViewSettingsSubscription.destroy()):t==="code-zen"?this.setView(t,{showSection:!1,showMarkdown:!1,showOutput:!0,spotlight:!1}):t==="presentation"?this.setView(t,{showSection:!0,showMarkdown:!0,showOutput:!0,spotlight:!0}):t==="custom"&&(this.customViewSettingsSubscription=xt.getAndSubscribe(i=>{this.setView(t,{showSection:i.custom_view_show_section,showMarkdown:i.custom_view_show_markdown,showOutput:i.custom_view_show_output,spotlight:i.custom_view_spotlight})}),this.pushEvent("open_custom_view_settings"));let e=this.focusedId||this.nearbyFocusableId(null,0);if(e){let i=this.ensureVisibleFocusableEl(e);i!==this.focused&&this.setFocusedEl(i,{scroll:!1}),i&&this.getFocusableEl(i).scrollIntoView({block:"center"})}},setView(t,e){this.view=t,this.viewOptions=e,this.el.setAttribute("data-js-view",t),this.el.toggleAttribute("data-js-hide-section",!e.showSection),this.el.toggleAttribute("data-js-hide-markdown",!e.showMarkdown),this.el.toggleAttribute("data-js-hide-output",!e.showOutput),this.el.toggleAttribute("data-js-spotlight",e.spotlight)},unsetView(){this.view=null,this.viewOptions=null,this.el.removeAttribute("data-js-view"),this.el.removeAttribute("data-js-hide-section"),this.el.removeAttribute("data-js-hide-markdown"),this.el.removeAttribute("data-js-hide-output"),this.el.removeAttribute("data-js-spotlight")},toggleCollapseSection(){if(this.focusedId){let t=this.getSectionIdByFocusableId(this.focusedId);if(t){let e=this.getSectionById(t);e.hasAttribute("data-js-collapsed")?e.removeAttribute("data-js-collapsed"):(e.setAttribute("data-js-collapsed",""),this.setFocusedEl(t,{scroll:!0}))}}},toggleCollapseAllSections(){let t=this.getSections().every(e=>e.hasAttribute("data-js-collapsed"));if(this.getSections().forEach(e=>{e.toggleAttribute("data-js-collapsed",!t)}),this.focusedId){let e=this.getSectionIdByFocusableId(this.focusedId);e&&this.setFocusedEl(e,{scroll:!0})}},handleCellInserted(t){this.setFocusedEl(t),LX(this.focusedCellType())&&this.setInsertMode(!0)},handleCellDeleted(t,e){if(this.focusedId===t)if(this.view){let i=this.ensureVisibleFocusableEl(e);this.setFocusedEl(i)}else this.setFocusedEl(e)},handleCellRestored(t){this.setFocusedEl(t)},handleCellMoved(t){this.repositionJSViews(),this.focusedId===t&&ti.broadcast("cells",{type:"cell_moved",cellId:t})},handleSectionInserted(t){let i=this.getSectionById(t).querySelector("[data-el-section-headline]"),{focusableId:r}=i.dataset;this.setFocusedEl(r),this.setInsertMode(!0),bX(document.activeElement)},handleSectionDeleted(t){this.focusedId&&!this.getFocusableEl(this.focusedId)&&this.setFocusedEl(null)},handleSectionMoved(t){this.repositionJSViews();let e=this.getSectionById(t);na(e)},handleClientJoined(t){let e=this.store.get("clients");this.store.set("clients",Ce(H({},e),{[t.id]:t}))},handleClientLeft(t){let e=this.store.get("clients"),i=e[t];if(i){let[,r]=NO(e,t);this.store.set("clients",r),i.id===this.followedClientId&&(this.followedClientId=null)}},handleClientsUpdated(t){let e=this.store.get("clients"),i=H({},e);for(let r of t)i[r.id]=r;this.store.set("clients",i)},handleSecretSelected(t,e){ti.broadcast(`js_views:${t}`,{type:"secretSelected",secretName:e})},handleLocationReport(t,e){let i=this.store.get("clients")[t];this.lastLocationReportByClientId[t]=e,i&&i.id===this.followedClientId&&e.focusableId!==this.focusedId&&this.setFocusedEl(e.focusableId)},repositionJSViews(){ti.broadcast("js_views",{type:"reposition"})},sendLocationReport(t){Object.keys(this.store.get("clients")).length>1&&this.pushEvent("location_report",{focusable_id:t.focusableId})},focusedCellType(){return this.focusedId&&this.isCell(this.focusedId)?this.getFocusableEl(this.focusedId).getAttribute("data-type"):null},nearbyFocusableId(t,e){let i=this.getFocusableIds();if(i.length===0)return null;let r=i.indexOf(t);if(r===-1){let n=this.getFocusableEls().find(Jv);return n?n.getAttribute("data-focusable-id"):i[0]}else{let n=mX(r+e,0,i.length-1);return i[n]}},ensureVisibleFocusableEl(t){let e=this.getFocusableEl(t),i=Array.from(this.el.querySelectorAll("[data-focusable-id]")),r=i.indexOf(e),n=[...i.slice(r,-1),...i.slice(0,r).reverse()].find(o=>!bn(o));return n&&n.getAttribute("data-focusable-id")},isCell(t){return this.getFocusableEl(t).hasAttribute("data-el-cell")},isSection(t){return this.getFocusableEl(t).hasAttribute("data-el-section-headline")},isNotebook(t){return this.getFocusableEl(t).hasAttribute("data-el-notebook-headline")},getFocusableEl(t){return this.el.querySelector(`[data-focusable-id="${t}"]`)},getFocusableEls(){return Array.from(this.el.querySelectorAll("[data-focusable-id]")).filter(t=>!bn(t))},getFocusableIds(){return this.getFocusableEls().map(t=>t.getAttribute("data-focusable-id"))},getSectionIdByFocusableId(t){let i=this.getFocusableEl(t).closest("[data-el-section]");return i&&i.getAttribute("data-section-id")},getSectionIds(){return this.getSections().map(e=>e.getAttribute("data-section-id"))},getSections(){return Array.from(this.el.querySelectorAll("[data-el-section]"))},getSectionById(t){return this.el.querySelector(`[data-el-section][data-section-id="${t}"]`)},getElement(t){return this.el.querySelector(`[data-el-${t}]`)}},ML=Yre;var Fre={mounted(){this.autosize(),this.el.addEventListener("input",t=>{this.autosize()})},updated(){this.autosize()},autosize(){this.el.style.height="0px",this.el.style.height=`${this.el.scrollHeight+2}px`}},UL=Fre;var Hre=100,Gre={mounted(){this.props=this.getProps(),this.interval=setInterval(()=>this.updateDOM(),Hre)},updated(){this.props=this.getProps(),this.updateDOM()},destroyed(){clearInterval(this.interval)},getProps(){return ht(this.el,["start"])},updateDOM(){let e=(Date.now()-new Date(this.props.start))/1e3;this.el.innerHTML=`${e.toFixed(1)}s`}},zL=Gre;var jL="lb_user_data";function qL(t){let e=JSON.stringify(t),i=xX(e);Jre(jL,i,15768e4)}function WL(){let t=Kre(jL);if(t){let e=vX(t);return JSON.parse(e)}else return null}function Kre(t){let e=document.cookie.split("; ").find(i=>i.startsWith(`${t}=`));return e?e.replace(`${t}=`,""):null}function Jre(t,e,i){let r=`${t}=${e};max-age=${i};path=/${DO()}`;document.cookie=r}var ene={mounted(){this.el.addEventListener("submit",t=>{let e=this.el.user_form_name.value,i=this.el.user_form_hex_color.value;qL({name:e,hex_color:i})})}},BL=ene;var tne={mounted(){this.props=this.getProps(),this.updateAttrs(),this.el.addEventListener("blur",t=>{let e=this.datetimeLocalToUtc(this.el.value);this.pushEventTo(this.props.phxTarget,"change",{html_value:e})})},updated(){this.props=this.getProps(),this.updateAttrs()},getProps(){return ht(this.el,["utc-value","utc-min","utc-max","phx-target"])},updateAttrs(){this.el.value=this.datetimeUtcToLocal(this.props.utcValue),this.el.min=this.datetimeUtcToLocal(this.props.utcMin),this.el.max=this.datetimeUtcToLocal(this.props.utcMax)},datetimeUtcToLocal(t){if(!t)return null;let e=new Date(t+"Z"),i=e.getFullYear().toString(),r=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0");return`${i}-${r}-${n}T${o}:${s}:${a}`},datetimeLocalToUtc(t){if(!t)return null;let e=new Date(t),i=e.getUTCFullYear().toString(),r=(e.getUTCMonth()+1).toString().padStart(2,"0"),n=e.getUTCDate().toString().padStart(2,"0"),o=e.getUTCHours().toString().padStart(2,"0"),s=e.getUTCMinutes().toString().padStart(2,"0"),a=e.getUTCSeconds().toString().padStart(2,"0");return`${i}-${r}-${n}T${o}:${s}:${a}`}},ZL=tne;var ine={mounted(){this.props=this.getProps(),this.updateAttrs(),this.el.addEventListener("blur",t=>{let e=this.timeLocalToUtc(this.el.value);this.pushEventTo(this.props.phxTarget,"change",{html_value:e})})},updated(){this.props=this.getProps(),this.updateAttrs()},getProps(){return ht(this.el,["utc-value","utc-min","utc-max","phx-target"])},updateAttrs(){this.el.value=this.timeUtcToLocal(this.props.utcValue),this.el.min=this.timeUtcToLocal(this.props.utcMin),this.el.max=this.timeUtcToLocal(this.props.utcMax)},timeUtcToLocal(t){if(!t)return null;let e=new Date;e.setUTCHours(...t.split(":"));let i=e.getHours().toString().padStart(2,"0"),r=e.getMinutes().toString().padStart(2,"0"),n=e.getSeconds().toString().padStart(2,"0");return`${i}:${r}:${n}`},timeLocalToUtc(t){if(!t)return null;let e=new Date;e.setHours(...t.split(":"));let i=e.getUTCHours().toString().padStart(2,"0"),r=e.getUTCMinutes().toString().padStart(2,"0"),n=e.getUTCSeconds().toString().padStart(2,"0");return`${i}:${r}:${n}`}},VL=ine;var HL=va(FL());var rne={mounted(){this.props=this.getProps(),this.lineHeight=gX(this.el),this.templateEl=to(this.el,"[data-template]"),this.contentEl=to(this.el,"[data-content]"),this.capLines();let t=this.hyperListConfig();this.virtualizedList=new HL.default(this.contentEl,t),this.props.follow&&hf(this.contentEl)},updated(){this.props=this.getProps(),this.capLines();let t=this.props.follow&&yX(this.contentEl),e=this.hyperListConfig();this.virtualizedList.refresh(this.contentEl,e),t&&hf(this.contentEl)},getProps(){return ht(this.el,["max-height","follow","max-lines","ignore-trailing-empty-line"])},hyperListConfig(){let t=this.getLineElements(),e=t.length,i=Math.min(this.props.maxHeight,this.lineHeight*e);return{height:i,total:e,itemHeight:this.lineHeight,generate:r=>{let n=t[r].cloneNode(!0);return n.removeAttribute("id"),n},afterRender:()=>{this.contentEl.scrollWidth>this.contentEl.clientWidth?this.contentEl.style.height=`${i+12}px`:this.contentEl.style.height=`${i}px`}}},getLineElements(){let t=Array.from(this.templateEl.querySelectorAll("[data-line]"));if(t.length===0)return[];let e=t[t.length-1];return this.props.ignoreTrailingEmptyLine&&e.innerText===""?t.slice(0,-1):t},capLines(){if(this.props.maxLines){let e=Array.from(this.templateEl.querySelectorAll("[data-line]")).slice(0,-this.props.maxLines),[i,...r]=e;r.forEach(n=>n.remove()),i&&(i.innerHTML="...")}}},GL=rne;var nne={mounted(){let t=xt.get(),e=this.el.querySelector('[name="show_section"][value="true"]'),i=this.el.querySelector('[name="show_markdown"][value="true"]'),r=this.el.querySelector('[name="show_output"][value="true"]'),n=this.el.querySelector('[name="spotlight"][value="true"]');e.checked=t.custom_view_show_section,i.checked=t.custom_view_show_markdown,r.checked=t.custom_view_show_output,n.checked=t.custom_view_spotlight,e.addEventListener("change",o=>{xt.update({custom_view_show_section:o.target.checked})}),i.addEventListener("change",o=>{xt.update({custom_view_show_markdown:o.target.checked})}),r.addEventListener("change",o=>{xt.update({custom_view_show_output:o.target.checked})}),n.addEventListener("change",o=>{xt.update({custom_view_spotlight:o.target.checked})})}},KL=nne;var JL={AppAuth:yS,AudioInput:kS,Cell:IX,CellEditor:IR,Dropzone:DR,EditorSettings:NR,EmojiPicker:kL,FocusOnUpdate:SL,Headline:EL,Highlight:CL,ImageInput:PL,ImageOutput:_L,JSView:LL,KeyboardControl:IL,MarkdownRenderer:DL,ScrollOnUpdate:NL,Session:ML,TextareaAutosize:UL,Timer:zL,UserForm:BL,UtcDateTimeInput:ZL,UtcTimeInput:VL,VirtualizedLines:GL,CustomViewSettings:KL};var eI={onBeforeElUpdated(t,e){for(let i of t.attributes)i.name.startsWith("data-js-")&&e.setAttribute(i.name,i.value),i.name==="data-keep-attribute"&&(t.hasAttribute(i.value)?e.setAttribute(i.value,t.getAttribute(i.value)):e.removeAttribute(i.value))},onNodeAdded(t){if(t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute("autofocus")&&(t.focus(),t.setSelectionRange&&t.value)){let e=t.value.length;t.setSelectionRange(e,e)}}};var Ym=va(iI());function rI(){Ym.default.config({barColors:{0:"#b2c1ff"},shadowColor:"rgba(0, 0, 0, .3)"}),window.addEventListener("phx:page-loading-start",()=>{Ym.default.show(500)}),window.addEventListener("phx:page-loading-stop",()=>{Ym.default.hide()})}function nI(){window.addEventListener("lb:focus",t=>{requestAnimationFrame(()=>{t.target.focus()})}),window.addEventListener("lb:set_value",t=>{t.target.value=t.detail.value}),window.addEventListener("lb:check",t=>{t.target.checked=!0}),window.addEventListener("lb:uncheck",t=>{t.target.checked=!1}),window.addEventListener("lb:set_text",t=>{t.target.textContent=t.detail.value}),window.addEventListener("lb:clipcopy",t=>{"clipboard"in navigator?t.detail.content?navigator.clipboard.writeText(t.detail.content):t.target.tagName==="INPUT"?navigator.clipboard.writeText(t.target.value):navigator.clipboard.writeText(t.target.textContent):alert(`Sorry, your browser does not support clipboard copy.
This generally requires a secure origin \u2014 either HTTPS or localhost.`)}),window.addEventListener("lb:scroll_into_view",t=>{let e=t.detail||{};OX(t.target).then(()=>{zO(t.target,H({scrollMode:"if-needed",behavior:"smooth",block:"nearest",inline:"nearest"},e))})}),window.addEventListener("phx:lb:exec_js",t=>{let e=t.detail.to||"body";document.querySelectorAll(e).forEach(i=>{window.liveSocket.execJS(i,t.detail.js)})}),window.addEventListener("lb:session_list:on_selection_change",()=>{let t=!!document.querySelector("[name='session_ids[]']:checked"),e=document.querySelector("#edit-sessions [name='disconnect']"),i=document.querySelector("#edit-sessions [name='close_all']");e.parentElement.classList.toggle("pointer-events-none",!t),e.parentElement.classList.toggle("opacity-50",!t),i.parentElement.classList.toggle("pointer-events-none",!t),i.parentElement.classList.toggle("opacity-50",!t)}),window.addEventListener("contextmenu",t=>{let e=t.target.closest("[data-contextmenu-trigger-click]");e&&(t.preventDefault(),e.dispatchEvent(new Event("mousedown",{bubbles:!0})),e.dispatchEvent(new Event("click",{bubbles:!0})))}),window.addEventListener("submit",t=>{t.target.hasAttribute("phx-nosubmit")&&(t.preventDefault(),t.stopPropagation())},{capture:!0})}function oI(){let t=/AppleWebKit/.test(navigator.userAgent),e="ontouchstart"in window||navigator.maxTouchPoints>0;if(t&&e){let i=document.querySelector("meta[name='viewport']");i&&(i.content+=", maximum-scale=1.0")}}var tk="confirm-opted-out-ids";function sI(){return Os(tk)||[]}function aI(){window.addEventListener("phx:add_confirm_opt_out_id",t=>{let e=Os(tk)||[],i=t.detail.opt_out_id;e.push(i),Ca(tk,e)})}function one(){let t=document.querySelector("meta[name='csrf-token']").getAttribute("content"),e=new pS(window.LIVEBOOK_BASE_URL_PATH+"/live",uh,{params:i=>({_csrf_token:t,user_data:WL(),app_auth_token:bS(),confirm_opt_out_ids:sI()}),hooks:JL,dom:eI});rI(),nI(),aI(),oI(),xt.getAndSubscribe(i=>{document.body.setAttribute("data-editor-theme",i.editor_theme)}),e.connect(),window.liveSocket=e}if(sne())one();else{let t=document.createElement("div");t.innerHTML=`
<div class="fixed top-0 bottom-0 left-0 right-0 z-[1000] px-4 py-8 bg-gray-900/95 flex justify-center items-center">
<div class="max-w-[600px] w-full flex flex-col">
<div class="text-xl text-gray-100 font-medium">
Action required
</div>
<div class="mt-3 text-sm text-gray-300">
It looks like Livebook does not have access to cookies. This usually happens when
it runs in an iframe. To make sure the app is fully functional open it in a new
tab directly. Alternatively you can relax security settings for this page to allow
third-party cookies.
</div>
<div class="mt-6">
<a
id="open-app"
class="px-5 py-2 font-medium text-sm inline-flex rounded-lg border whitespace-nowrap items-center justify-center gap-1 border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:bg-blue-700"
target="_blank"
>
Open app
</a>
</div>
</div>
</div>
`,t.querySelector("#open-app").href=window.location,document.body.appendChild(t)}function sne(){return document.cookie=`lb_probe_cookie=;path=/${DO()}`,document.cookie.split("; ").some(t=>t.startsWith("lb_probe_cookie="))}
/*! Bundled license information:
topbar/topbar.min.js:
(**
* @license MIT
* topbar 3.0.0
* http://buunguyen.github.io/topbar
* Copyright (c) 2024 Buu Nguyen
*)
*/