livebook/static/assets/app.js
2024-03-19 05:35:32 +00:00

596 lines
1.8 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 Ql}from"./chunk-BZUL2CAN.js";import{a as oe,b as Be,c as ws,d as ik,e as Wr,f as ma,g as lu,h as Al,i as Ut}from"./chunk-3V74GZ4F.js";var u6=ma((nue,c6)=>{"use strict";var Wd=Object.prototype.hasOwnProperty,l6=Object.prototype.toString,r6=Object.defineProperty,i6=Object.getOwnPropertyDescriptor,n6=function(e){return typeof Array.isArray=="function"?Array.isArray(e):l6.call(e)==="[object Array]"},o6=function(e){if(!e||l6.call(e)!=="[object Object]")return!1;var r=Wd.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&Wd.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;var n;for(n in e);return typeof n=="undefined"||Wd.call(e,n)},a6=function(e,r){r6&&r.name==="__proto__"?r6(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},s6=function(e,r){if(r==="__proto__")if(Wd.call(e,r)){if(i6)return i6(e,r).value}else return;return e[r]};c6.exports=function t(){var e,r,i,n,o,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<c;++l)if(e=arguments[l],e!=null)for(r in e)i=s6(s,r),n=s6(e,r),s!==n&&(u&&n&&(o6(n)||(o=n6(n)))?(o?(o=!1,a=i&&n6(i)?i:[]):a=i&&o6(i)?i:{},a6(s,{name:r,newValue:t(u,a,n)})):typeof n!="undefined"&&a6(s,{name:r,newValue:n}));return s}});var j$=ma(()=>{});var kO=ma((wO,W$)=>{(function(t,e){typeof wO=="object"?W$.exports=wO=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(wO,function(){var t=t||function(e,r){var i;if(typeof window!="undefined"&&window.crypto&&(i=window.crypto),typeof self!="undefined"&&self.crypto&&(i=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window!="undefined"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global!="undefined"&&global.crypto&&(i=global.crypto),!i&&typeof ws=="function")try{i=j$()}catch(w){}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch(w){}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch(w){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function w(){}return function(C){var Q;return w.prototype=C,Q=new w,w.prototype=null,Q}}(),a={},s=a.lib={},l=s.Base=function(){return{extend:function(w){var C=o(this);return w&&C.mixIn(w),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var C in w)w.hasOwnProperty(C)&&(this[C]=w[C]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=l.extend({init:function(w,C){w=this.words=w||[],C!=r?this.sigBytes=C:this.sigBytes=w.length*4},toString:function(w){return(w||f).stringify(this)},concat:function(w){var C=this.words,Q=w.words,L=this.sigBytes,N=w.sigBytes;if(this.clamp(),L%4)for(var I=0;I<N;I++){var H=Q[I>>>2]>>>24-I%4*8&255;C[L+I>>>2]|=H<<24-(L+I)%4*8}else for(var j=0;j<N;j+=4)C[L+j>>>2]=Q[j>>>2];return this.sigBytes+=N,this},clamp:function(){var w=this.words,C=this.sigBytes;w[C>>>2]&=4294967295<<32-C%4*8,w.length=e.ceil(C/4)},clone:function(){var w=l.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var C=[],Q=0;Q<w;Q+=4)C.push(n());return new c.init(C,w)}}),u=a.enc={},f=u.Hex={stringify:function(w){for(var C=w.words,Q=w.sigBytes,L=[],N=0;N<Q;N++){var I=C[N>>>2]>>>24-N%4*8&255;L.push((I>>>4).toString(16)),L.push((I&15).toString(16))}return L.join("")},parse:function(w){for(var C=w.length,Q=[],L=0;L<C;L+=2)Q[L>>>3]|=parseInt(w.substr(L,2),16)<<24-L%8*4;return new c.init(Q,C/2)}},d=u.Latin1={stringify:function(w){for(var C=w.words,Q=w.sigBytes,L=[],N=0;N<Q;N++){var I=C[N>>>2]>>>24-N%4*8&255;L.push(String.fromCharCode(I))}return L.join("")},parse:function(w){for(var C=w.length,Q=[],L=0;L<C;L++)Q[L>>>2]|=(w.charCodeAt(L)&255)<<24-L%4*8;return new c.init(Q,C)}},p=u.Utf8={stringify:function(w){try{return decodeURIComponent(escape(d.stringify(w)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(w){return d.parse(unescape(encodeURIComponent(w)))}},O=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=p.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var C,Q=this._data,L=Q.words,N=Q.sigBytes,I=this.blockSize,H=I*4,j=N/H;w?j=e.ceil(j):j=e.max((j|0)-this._minBufferSize,0);var Y=j*I,V=e.min(Y*4,N);if(Y){for(var ne=0;ne<Y;ne+=I)this._doProcessBlock(L,ne);C=L.splice(0,Y),Q.sigBytes-=V}return new c.init(C,V)},clone:function(){var w=l.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0}),x=s.Hasher=O.extend({cfg:l.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){O.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this},finalize:function(w){w&&this._append(w);var C=this._doFinalize();return C},blockSize:512/32,_createHelper:function(w){return function(C,Q){return new w.init(Q).finalize(C)}},_createHmacHelper:function(w){return function(C,Q){return new k.HMAC.init(w,Q).finalize(C)}}}),k=a.algo={};return a}(Math);return t})});var F$=ma((SO,V$)=>{(function(t,e){typeof SO=="object"?V$.exports=SO=e(kO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(SO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,a=r.algo,s=[];(function(){for(var p=0;p<64;p++)s[p]=e.abs(e.sin(p+1))*4294967296|0})();var l=a.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,O){for(var x=0;x<16;x++){var k=O+x,w=p[k];p[k]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var C=this._hash.words,Q=p[O+0],L=p[O+1],N=p[O+2],I=p[O+3],H=p[O+4],j=p[O+5],Y=p[O+6],V=p[O+7],ne=p[O+8],ue=p[O+9],he=p[O+10],ge=p[O+11],ve=p[O+12],_e=p[O+13],ae=p[O+14],pe=p[O+15],J=C[0],_=C[1],K=C[2],se=C[3];J=c(J,_,K,se,Q,7,s[0]),se=c(se,J,_,K,L,12,s[1]),K=c(K,se,J,_,N,17,s[2]),_=c(_,K,se,J,I,22,s[3]),J=c(J,_,K,se,H,7,s[4]),se=c(se,J,_,K,j,12,s[5]),K=c(K,se,J,_,Y,17,s[6]),_=c(_,K,se,J,V,22,s[7]),J=c(J,_,K,se,ne,7,s[8]),se=c(se,J,_,K,ue,12,s[9]),K=c(K,se,J,_,he,17,s[10]),_=c(_,K,se,J,ge,22,s[11]),J=c(J,_,K,se,ve,7,s[12]),se=c(se,J,_,K,_e,12,s[13]),K=c(K,se,J,_,ae,17,s[14]),_=c(_,K,se,J,pe,22,s[15]),J=u(J,_,K,se,L,5,s[16]),se=u(se,J,_,K,Y,9,s[17]),K=u(K,se,J,_,ge,14,s[18]),_=u(_,K,se,J,Q,20,s[19]),J=u(J,_,K,se,j,5,s[20]),se=u(se,J,_,K,he,9,s[21]),K=u(K,se,J,_,pe,14,s[22]),_=u(_,K,se,J,H,20,s[23]),J=u(J,_,K,se,ue,5,s[24]),se=u(se,J,_,K,ae,9,s[25]),K=u(K,se,J,_,I,14,s[26]),_=u(_,K,se,J,ne,20,s[27]),J=u(J,_,K,se,_e,5,s[28]),se=u(se,J,_,K,N,9,s[29]),K=u(K,se,J,_,V,14,s[30]),_=u(_,K,se,J,ve,20,s[31]),J=f(J,_,K,se,j,4,s[32]),se=f(se,J,_,K,ne,11,s[33]),K=f(K,se,J,_,ge,16,s[34]),_=f(_,K,se,J,ae,23,s[35]),J=f(J,_,K,se,L,4,s[36]),se=f(se,J,_,K,H,11,s[37]),K=f(K,se,J,_,V,16,s[38]),_=f(_,K,se,J,he,23,s[39]),J=f(J,_,K,se,_e,4,s[40]),se=f(se,J,_,K,Q,11,s[41]),K=f(K,se,J,_,I,16,s[42]),_=f(_,K,se,J,Y,23,s[43]),J=f(J,_,K,se,ue,4,s[44]),se=f(se,J,_,K,ve,11,s[45]),K=f(K,se,J,_,pe,16,s[46]),_=f(_,K,se,J,N,23,s[47]),J=d(J,_,K,se,Q,6,s[48]),se=d(se,J,_,K,V,10,s[49]),K=d(K,se,J,_,ae,15,s[50]),_=d(_,K,se,J,j,21,s[51]),J=d(J,_,K,se,ve,6,s[52]),se=d(se,J,_,K,I,10,s[53]),K=d(K,se,J,_,he,15,s[54]),_=d(_,K,se,J,L,21,s[55]),J=d(J,_,K,se,ne,6,s[56]),se=d(se,J,_,K,pe,10,s[57]),K=d(K,se,J,_,Y,15,s[58]),_=d(_,K,se,J,_e,21,s[59]),J=d(J,_,K,se,H,6,s[60]),se=d(se,J,_,K,ge,10,s[61]),K=d(K,se,J,_,N,15,s[62]),_=d(_,K,se,J,ue,21,s[63]),C[0]=C[0]+J|0,C[1]=C[1]+_|0,C[2]=C[2]+K|0,C[3]=C[3]+se|0},_doFinalize:function(){var p=this._data,O=p.words,x=this._nDataBytes*8,k=p.sigBytes*8;O[k>>>5]|=128<<24-k%32;var w=e.floor(x/4294967296),C=x;O[(k+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,O[(k+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,p.sigBytes=(O.length+1)*4,this._process();for(var Q=this._hash,L=Q.words,N=0;N<4;N++){var I=L[N];L[N]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return Q},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,x,k,w,C,Q){var L=p+(O&x|~O&k)+w+Q;return(L<<C|L>>>32-C)+O}function u(p,O,x,k,w,C,Q){var L=p+(O&k|x&~k)+w+Q;return(L<<C|L>>>32-C)+O}function f(p,O,x,k,w,C,Q){var L=p+(O^x^k)+w+Q;return(L<<C|L>>>32-C)+O}function d(p,O,x,k,w,C,Q){var L=p+(x^(O|~k))+w+Q;return(L<<C|L>>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var Y$=ma((TO,Z$)=>{(function(t,e){typeof TO=="object"?Z$.exports=TO=e(kO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(TO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,a=r.algo,s=[],l=[];(function(){function f(x){for(var k=e.sqrt(x),w=2;w<=k;w++)if(!(x%w))return!1;return!0}function d(x){return(x-(x|0))*4294967296|0}for(var p=2,O=0;O<64;)f(p)&&(O<8&&(s[O]=d(e.pow(p,1/2))),l[O]=d(e.pow(p,1/3)),O++),p++})();var c=[],u=a.SHA256=o.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(f,d){for(var p=this._hash.words,O=p[0],x=p[1],k=p[2],w=p[3],C=p[4],Q=p[5],L=p[6],N=p[7],I=0;I<64;I++){if(I<16)c[I]=f[d+I]|0;else{var H=c[I-15],j=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,Y=c[I-2],V=(Y<<15|Y>>>17)^(Y<<13|Y>>>19)^Y>>>10;c[I]=j+c[I-7]+V+c[I-16]}var ne=C&Q^~C&L,ue=O&x^O&k^x&k,he=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),ge=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ve=N+ge+ne+l[I]+c[I],_e=he+ue;N=L,L=Q,Q=C,C=w+ve|0,w=k,k=x,x=O,O=ve+_e|0}p[0]=p[0]+O|0,p[1]=p[1]+x|0,p[2]=p[2]+k|0,p[3]=p[3]+w|0,p[4]=p[4]+C|0,p[5]=p[5]+Q|0,p[6]=p[6]+L|0,p[7]=p[7]+N|0},_doFinalize:function(){var f=this._data,d=f.words,p=this._nDataBytes*8,O=f.sigBytes*8;return d[O>>>5]|=128<<24-O%32,d[(O+64>>>9<<4)+14]=e.floor(p/4294967296),d[(O+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}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var G$=ma((EO,H$)=>{(function(t,e){typeof EO=="object"?H$.exports=EO=e(kO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(EO,function(t){return function(){var e=t,r=e.lib,i=r.WordArray,n=e.enc,o=n.Base64={stringify:function(s){var l=s.words,c=s.sigBytes,u=this._map;s.clamp();for(var f=[],d=0;d<c;d+=3)for(var p=l[d>>>2]>>>24-d%4*8&255,O=l[d+1>>>2]>>>24-(d+1)%4*8&255,x=l[d+2>>>2]>>>24-(d+2)%4*8&255,k=p<<16|O<<8|x,w=0;w<4&&d+w*.75<c;w++)f.push(u.charAt(k>>>6*(3-w)&63));var C=u.charAt(64);if(C)for(;f.length%4;)f.push(C);return f.join("")},parse:function(s){var l=s.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=s.indexOf(d);p!==-1&&(l=p)}return a(s,l,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function a(s,l,c){for(var u=[],f=0,d=0;d<l;d++)if(d%4){var p=c[s.charCodeAt(d-1)]<<d%4*2,O=c[s.charCodeAt(d)]>>>6-d%4*2,x=p|O;u[f>>>2]|=x<<24-f%4*8,f++}return i.create(u,f)}}(),t.enc.Base64})});var XL=ma(($L,Tw)=>{(function(t){if(typeof $L=="object"&&typeof Tw!="undefined")Tw.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,r;return function(){function i(n,o,a){function s(u,f){if(!o[u]){if(!n[u]){var d=typeof ws=="function"&&ws;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 O=o[u]={exports:{}};n[u][0].call(O.exports,function(x){var k=n[u][1][x];return s(k||x)},O,O.exports,i,n,o,a)}return o[u].exports}for(var l=typeof ws=="function"&&ws,c=0;c<a.length;c++)s(a[c]);return s}return i}()({1:[function(i,n,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var a=function(){function p(O,x){for(var k=0;k<x.length;k++){var w=x[k];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(O,w.key,w)}}return function(O,x,k){return x&&p(O.prototype,x),k&&p(O,k),O}}();function s(p,O,x){return O in p?Object.defineProperty(p,O,{value:x,enumerable:!0,configurable:!0,writable:!0}):p[O]=x,p}function l(p,O){if(!(p instanceof O))throw new TypeError("Cannot call a class as a function")}var c={width:"100%",height:"100%"},u=function(O){return Number(O)===Number(O)},f="classList"in document.documentElement?function(p,O){p.classList.add(O)}:function(p,O){var x=p.getAttribute("class")||"";p.setAttribute("class",x+" "+O)},d=function(){a(p,null,[{key:"create",value:function(x,k){return new p(x,k)}},{key:"mergeStyle",value:function(x,k){for(var w in k)x.style[w]!==k[w]&&(x.style[w]=k[w])}},{key:"getMaxBrowserHeight",value:function(){var x=document.createElement("div"),k=document.createElement("div");p.mergeStyle(x,{position:"absolute",height:"1px",opacity:0}),p.mergeStyle(k,{height:"1e7px"}),x.appendChild(k),document.body.appendChild(x);var w=k.offsetHeight;return document.body.removeChild(x),w}}]);function p(O,x){var k=this;l(this,p),this._config={},this._lastRepaint=null,this._maxElementHeight=p.getMaxBrowserHeight(),this.refresh(O,x);var w=this._config,C=function Q(){var L=k._getScrollPosition(),N=k._lastRepaint;if(k._renderAnimationFrame=window.requestAnimationFrame(Q),L!==N){var I=N?L-N:0;if(!N||I<0||I>k._averageHeight){var H=k._renderChunk();k._lastRepaint=L,H!==!1&&typeof w.afterRender=="function"&&w.afterRender()}}};C()}return a(p,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(x,k){var w;if(Object.assign(this._config,c,k),!x||x.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=x;var C=this._config,Q=this._scroller||C.scroller||document.createElement(C.scrollerTagName||"tr");if(typeof C.useFragment!="boolean"&&(this._config.useFragment=!0),!C.generate)throw new Error("Missing required `generate` function");if(!u(C.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(C.itemHeight)&&!u(C.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());u(C.itemHeight)?this._itemHeights=Array(C.total).fill(C.itemHeight):this._itemHeights=C.itemHeight,Object.keys(c).filter(function(_e){return _e in C}).forEach(function(_e){var ae=C[_e],pe=u(ae);if(ae&&typeof ae!="string"&&typeof ae!="number"){var J="Invalid optional `"+_e+"`, expected string or number";throw new Error(J)}else pe&&(C[_e]=ae+"px")});var L=!!C.horizontal,N=C[L?"width":"height"];if(N){var I=u(N),H=I?!1:N.slice(-1)==="%",j=I?N:parseInt(N.replace(/px|%/,""),10),Y=window[L?"innerWidth":"innerHeight"];H?this._containerSize=Y*j/100:this._containerSize=u(N)?N:j}var V=C.scrollContainer,ne=C.itemHeight*C.total,ue=this._maxElementHeight;ne>ue&&console.warn(["HyperList: The maximum element height",ue+"px has","been exceeded; please reduce your item height."].join(" "));var he={width:""+C.width,height:V?ne+"px":""+C.height,overflow:V?"none":"auto",position:"relative"};p.mergeStyle(x,he),V&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(w={opacity:"0",position:"absolute"},s(w,L?"height":"width","1px"),s(w,L?"width":"height",ne+"px"),w);p.mergeStyle(Q,ge),this._scroller||x.appendChild(Q);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=Q,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(C.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof C.afterRender=="function"&&C.afterRender()}},{key:"_getRow",value:function(x){var k=this._config,w=k.generate(x),C=w.height;if(C!==void 0&&u(C)?(w=w.element,C!==this._itemHeights[x]&&(this._itemHeights[x]=C,this._computePositions(x),this._scrollHeight=this._computeScrollHeight(x))):C=this._itemHeights[x],!w||w.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+x);f(w,k.rowClassName||"vrow");var Q=this._itemPositions[x]+this._scrollPaddingTop;return p.mergeStyle(w,s({position:"absolute"},k.horizontal?"left":"top",Q+"px")),w}},{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 k=this._config,w=this._element,C=this._getScrollPosition(),Q=k.total,L=k.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((L<0||L-this._screenItemsLen<0)&&(L=0),!x&&this._lastFrom===L)return!1;this._lastFrom=L;var N=L+this._cachedItemsLen;(N>Q||N+this._cachedItemsLen>Q)&&(N=Q);var I=k.useFragment?document.createDocumentFragment():[],H=this._scroller;I[k.useFragment?"appendChild":"push"](H);for(var j=L;j<N;j++){var Y=this._getRow(j);I[k.useFragment?"appendChild":"push"](Y)}if(k.applyPatch)return k.applyPatch(w,I);w.innerHTML="",w.appendChild(I)}},{key:"_computePositions",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,k=this._config,w=k.total,C=k.reverse;x<1&&!C&&(x=1);for(var Q=x;Q<w;Q++)C?Q===0?this._itemPositions[0]=this._scrollHeight-this._itemHeights[0]:this._itemPositions[Q]=this._itemPositions[Q-1]-this._itemHeights[Q]:this._itemPositions[Q]=this._itemHeights[Q-1]+this._itemPositions[Q-1]}},{key:"_computeScrollHeight",value:function(){var x,k=this,w=this._config,C=!!w.horizontal,Q=w.total,L=this._itemHeights.reduce(function(ne,ue){return ne+ue},0)+this._scrollPaddingBottom+this._scrollPaddingTop;p.mergeStyle(this._scroller,(x={opacity:0,position:"absolute",top:"0px"},s(x,C?"height":"width","1px"),s(x,C?"width":"height",L+"px"),x));var N=this._itemHeights.slice(0).sort(function(ne,ue){return ne-ue}),I=Math.floor(Q/2),H=Q%2===0?(N[I]+N[I-1])/2:N[I],j=C?"clientWidth":"clientHeight",Y=w.scrollContainer?w.scrollContainer:this._element,V=Y[j]?Y[j]:this._containerSize;return this._screenItemsLen=Math.ceil(V/H),this._containerSize=V,this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3),this._averageHeight=H,w.reverse&&window.requestAnimationFrame(function(){C?k._element.scrollLeft=L:k._element.scrollTop=L}),L}},{key:"_computeScrollPadding",value:function(){var x=this._config,k=!!x.horizontal,w=x.reverse,C=window.getComputedStyle(this._element),Q=function(N){var I=C.getPropertyValue("padding-"+N);return parseInt(I,10)||0};return k&&w?{bottom:Q("left"),top:Q("right")}:k?{bottom:Q("right"),top:Q("left")}:w?{bottom:Q("top"),top:Q("bottom")}:{bottom:Q("bottom"),top:Q("top")}}},{key:"_getFrom",value:function(x){for(var k=0;this._itemPositions[k]<x;)k++;return k}},{key:"_getReverseFrom",value:function(x){for(var k=this._config.total-1;k>0&&this._itemPositions[k]<x+this._containerSize;)k--;return k}}]),p}();o.default=d,n.exports=o.default},{}]},{},[1])(1)})});var NL=ma((DL,qg)=>{(function(t,e){"use strict";function r(){i.width=t.innerWidth,i.height=5*c.barThickness;var f=i.getContext("2d");f.shadowBlur=c.shadowBlur,f.shadowColor=c.shadowColor;var d,p=f.createLinearGradient(0,0,i.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*i.width),c.barThickness/2),f.strokeStyle=p,f.stroke()}var i,n,o,a=null,s=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,s!==null&&t.cancelAnimationFrame(s),i||((p=(i=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&&i.classList.add(c.className),e.body.appendChild(i),d="resize",f=r,(p=t).addEventListener?p.addEventListener(d,f,!1):p.attachEvent?p.attachEvent("on"+d,f):p["on"+d]=f),i.style.opacity=1,i.style.display="block",u.progress(0),c.autoRun&&function O(){a=t.requestAnimationFrame(O),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,r()),n},hide:function(){clearTimeout(l),l=null,o&&(o=!1,a!=null&&(t.cancelAnimationFrame(a),a=null),function f(){return 1<=u.progress("+.1")&&(i.style.opacity-=.05,i.style.opacity<=.05)?(i.style.display="none",void(s=null)):void(s=t.requestAnimationFrame(f))}())}};typeof qg=="object"&&typeof qg.exports=="object"?qg.exports=u:typeof define=="function"&&define.amd?define(function(){return u}):this.topbar=u}).call(DL,window,document)});(function(){var t=e();function e(){if(typeof window.CustomEvent=="function")return window.CustomEvent;function n(o,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var s=document.createEvent("CustomEvent");return s.initCustomEvent(o,a.bubbles,a.cancelable,a.detail),s}return n.prototype=window.Event.prototype,n}function r(n,o){var a=document.createElement("input");return a.type="hidden",a.name=n,a.value=o,a}function i(n,o){var a=n.getAttribute("data-to"),s=r("_method",n.getAttribute("data-method")),l=r("_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=a,c.style.display="none",f?c.target=f:o&&(c.target="_blank"),c.appendChild(l),c.appendChild(s),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 a=new t("phoenix.link.click",{bubbles:!0,cancelable:!0});if(!o.dispatchEvent(a))return n.preventDefault(),n.stopImmediatePropagation(),!1;if(o.getAttribute("data-method"))return i(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 uu=t=>typeof t=="function"?t:function(){return t},PM=typeof self!="undefined"?self:null,cu=typeof window!="undefined"?window:null,fu=PM||cu||fu,_M="2.0.0",Un={connecting:0,open:1,closing:2,closed:3},AM=1e4,QM=1e3,Xi={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},vo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},t1={longpoll:"longpoll",websocket:"websocket"},$M={complete:4},kd=class{constructor(t,e,r,i){this.channel=t,this.event=e,this.payload=r||function(){return{}},this.receivedResp=null,this.timeout=i,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:r}){this.recHooks.filter(i=>i.status===t).forEach(i=>i.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})}},nk=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))}},XM=class{constructor(t,e,r){this.state=Xi.closed,this.topic=t,this.params=uu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new kd(this,vo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new nk(()=>{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=Xi.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Xi.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=Xi.closed,this.socket.remove(this)}),this.onError(i=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,i),this.isJoining()&&this.joinPush.reset(),this.state=Xi.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 kd(this,vo.leave,uu({}),this.timeout).send(),this.state=Xi.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(vo.reply,(i,n)=>{this.trigger(this.replyEventName(n),i)})}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(vo.close,t)}onError(t){return this.on(vo.error,e=>t(e))}on(t,e){let r=this.bindingRef++;return this.bindings.push({event:t,ref:r,callback:e}),r}off(t,e){this.bindings=this.bindings.filter(r=>!(r.event===t&&(typeof e=="undefined"||e===r.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,r=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 i=new kd(this,t,function(){return e},r);return this.canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Xi.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(vo.close,"leave")},r=new kd(this,vo.leave,uu({}),t);return r.receive("ok",()=>e()).receive("timeout",()=>e()),r.send(),this.canPush()||r.trigger("ok",{}),r}onMessage(t,e,r){return e}isMember(t,e,r,i){return this.topic!==t?!1:i&&i!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:r,joinRef:i}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Xi.joining,this.joinPush.resend(t))}trigger(t,e,r,i){let n=this.onMessage(t,e,r,i);if(e&&!n)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(a=>a.event===t);for(let a=0;a<o.length;a++)o[a].callback(n,r,i||this.joinRef())}replyEventName(t){return`chan_reply_${t}`}isClosed(){return this.state===Xi.closed}isErrored(){return this.state===Xi.errored}isJoined(){return this.state===Xi.joined}isJoining(){return this.state===Xi.joining}isLeaving(){return this.state===Xi.leaving}},Td=class{static request(t,e,r,i,n,o,a){if(fu.XDomainRequest){let s=new fu.XDomainRequest;return this.xdomainRequest(s,t,e,i,n,o,a)}else{let s=new fu.XMLHttpRequest;return this.xhrRequest(s,t,e,r,i,n,o,a)}}static xdomainRequest(t,e,r,i,n,o,a){return t.timeout=n,t.open(e,r),t.onload=()=>{let s=this.parseJSON(t.responseText);a&&a(s)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(i),t}static xhrRequest(t,e,r,i,n,o,a,s){return t.open(e,r,!0),t.timeout=o,t.setRequestHeader("Content-Type",i),t.onerror=()=>s&&s(null),t.onreadystatechange=()=>{if(t.readyState===$M.complete&&s){let l=this.parseJSON(t.responseText);s(l)}},a&&(t.ontimeout=a),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 r=[];for(var i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let n=e?`${e}[${i}]`:i,o=t[i];typeof o=="object"?r.push(this.serialize(o,n)):r.push(encodeURIComponent(n)+"="+encodeURIComponent(o))}return r.join("&")}static appendParams(t,e){if(Object.keys(e).length===0)return t;let r=t.match(/\?/)?"&":"?";return`${t}${r}${this.serialize(e)}`}},RM=t=>{let e="",r=new Uint8Array(t),i=r.byteLength;for(let n=0;n<i;n++)e+=String.fromCharCode(r[n]);return btoa(e)},e1=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=Un.connecting,this.poll()}normalizeEndpoint(t){return t.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+t1.websocket),"$1/"+t1.longpoll)}endpointURL(){return Td.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(t,e,r){this.close(t,e,r),this.readyState=Un.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Un.open||this.readyState===Un.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),t=>{if(t){var{status:e,token:r,messages:i}=t;this.token=r}else e=0;switch(e){case 200:i.forEach(n=>{setTimeout(()=>this.onmessage({data:n}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Un.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=RM(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,r){for(let n of this.reqs)n.abort();this.readyState=Un.closed;let i=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:t,reason:e,wasClean:r});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",i)):this.onclose(i)}ajax(t,e,r,i,n){let o,a=()=>{this.reqs.delete(o),i()};o=Td.request(t,this.endpointURL(),e,r,this.timeout,a,s=>{this.reqs.delete(o),this.isActive()&&n(s)}),this.reqs.add(o)}};var Sd={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 r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return e(JSON.stringify(r))}},decode(t,e){if(t.constructor===ArrayBuffer)return e(this.binaryDecode(t));{let[r,i,n,o,a]=JSON.parse(t);return e({join_ref:r,ref:i,topic:n,event:o,payload:a})}},binaryEncode(t){let{join_ref:e,ref:r,event:i,topic:n,payload:o}=t,a=this.META_LENGTH+e.length+r.length+n.length+i.length,s=new ArrayBuffer(this.HEADER_LENGTH+a),l=new DataView(s),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,r.length),l.setUint8(c++,n.length),l.setUint8(c++,i.length),Array.from(e,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(r,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(n,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(i,f=>l.setUint8(c++,f.charCodeAt(0)));var u=new Uint8Array(s.byteLength+o.byteLength);return u.set(new Uint8Array(s),0),u.set(new Uint8Array(o),s.byteLength),u.buffer},binaryDecode(t){let e=new DataView(t),r=e.getUint8(0),i=new TextDecoder;switch(r){case this.KINDS.push:return this.decodePush(t,e,i);case this.KINDS.reply:return this.decodeReply(t,e,i);case this.KINDS.broadcast:return this.decodeBroadcast(t,e,i)}},decodePush(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),a=this.HEADER_LENGTH+this.META_LENGTH-1,s=r.decode(t.slice(a,a+i));a=a+i;let l=r.decode(t.slice(a,a+n));a=a+n;let c=r.decode(t.slice(a,a+o));a=a+o;let u=t.slice(a,t.byteLength);return{join_ref:s,ref:null,topic:l,event:c,payload:u}},decodeReply(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),a=e.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,l=r.decode(t.slice(s,s+i));s=s+i;let c=r.decode(t.slice(s,s+n));s=s+n;let u=r.decode(t.slice(s,s+o));s=s+o;let f=r.decode(t.slice(s,s+a));s=s+a;let d=t.slice(s,t.byteLength),p={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:vo.reply,payload:p}},decodeBroadcast(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,a=r.decode(t.slice(o,o+i));o=o+i;let s=r.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:a,event:s,payload:l}}},Ed=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||AM,this.transport=e.transport||fu.WebSocket||e1,this.establishedConnections=0,this.defaultEncoder=Sd.encode.bind(Sd),this.defaultDecoder=Sd.decode.bind(Sd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==e1?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;cu&&cu.addEventListener&&(cu.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),cu.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>e.rejoinAfterMs?e.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>e.reconnectAfterMs?e.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=uu(e.params||{}),this.endPoint=`${t}/${t1.websocket}`,this.vsn=e.vsn||_M,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new nk(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return e1}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=Td.appendParams(Td.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,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,e,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=uu(t)),!this.conn&&(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=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(t,e,r){this.logger(t,e,r)}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(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let i=this.onMessage(n=>{n.ref===e&&(this.off([i]),t(Date.now()-r))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`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(),QM,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,e,r){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,r||""):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===Un.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(([,r])=>r(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let e=this.transport,r=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,i])=>{i(t,e,r)}),(e===this.transport||r>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(vo.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Un.connecting:return"connecting";case Un.open:return"open";case Un.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(e=>e.joinRef()!==t.joinRef())}off(t){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([r])=>t.indexOf(r)===-1)}channel(t,e={}){let r=new XM(t,e,this);return this.channels.push(r),r}push(t){if(this.hasLogger()){let{topic:e,event:r,payload:i,ref:n,join_ref:o}=t;this.log("push",`${e} ${r} (${o}, ${n})`,i)}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:r,event:i,payload:n,ref:o,join_ref:a}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${n.status||""} ${r} ${i} ${o&&"("+o+")"||""}`,n);for(let s=0;s<this.channels.length;s++){let l=this.channels[s];l.isMember(r,i,n,a)&&l.trigger(i,n,o,a)}for(let s=0;s<this.stateChangeCallbacks.message.length;s++){let[,l]=this.stateChangeCallbacks.message[s];l(e)}})}leaveOpenTopic(t){let e=this.channels.find(r=>r.topic===t&&(r.isJoined()||r.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var Ak="consecutive-reloads",IM=10,LM=5e3,MM=1e4,zM=3e4,Qk=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading","phx-hook-loading"],wo="data-phx-component",r1="data-phx-link",DM="track-static",NM="data-phx-link-state",Ri="data-phx-ref",ga="data-phx-ref-src",$k="track-uploads",ko="data-phx-upload-ref",g1="data-phx-preflighted-refs",UM="data-phx-done-refs",ok="drop-target",h1="data-phx-active-refs",Md="phx:live-file:updated",Xk="data-phx-skip",Rk="data-phx-id",ak="data-phx-prune",sk="page-loading",lk="phx-connected",hu="phx-loading",Cd="phx-no-feedback",Pd="phx-error",ck="phx-client-error",i1="phx-server-error",Rl="data-phx-parent-id",b1="data-phx-main",Ll="data-phx-root-id",d1="viewport-top",p1="viewport-bottom",qM="trigger-action",Dd="feedback-for",Nd="feedback-group",m1="phx-has-focused",BM=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Ik=["checkbox","radio"],Ud="phx-has-submitted",ya="data-phx-session",Ml=`[${ya}]`,uk="data-phx-sticky",yu="data-phx-static",n1="data-phx-readonly",$l="data-phx-disabled",O1="disable-with",_d="data-phx-disable-with-restore",du="hook",jM="debounce",WM="throttle",qd="update",o1="stream",a1="data-phx-stream",VM="key",qn="phxPrivate",fk="auto-recover",Ad="phx:live-socket:debug",s1="phx:live-socket:profiling",l1="phx:live-socket:latency-sim",FM="progress",hk="mounted",ZM=1,YM=200,HM="phx-",GM=3e4,pu="debounce-trigger",mu="throttled",dk="debounce-prev-key",KM={debounce:300,throttle:300},Qd="d",Bn="s",c1="r",oi="c",pk="e",mk="r",Ok="t",JM="p",gk="stream",ez=class{constructor(t,e,r){this.liveSocket=r,this.entry=t,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.errored=!1,this.uploadChannel=r.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=r=>{if(r.target.error===null)this.offset+=r.target.result.byteLength,this.pushChunk(r.target.result);else return Ii("Read error: "+r.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))}},Ii=(t,e)=>console.error&&console.error(t,e),xo=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function tz(){let t=new Set,e=document.querySelectorAll("*[id]");for(let r=0,i=e.length;r<i;r++)t.has(e[r].id)?console.error(`Multiple IDs detected: ${e[r].id}. Ensure unique element ids.`):t.add(e[r].id)}var rz=(t,e,r,i)=>{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${r} - `,i)},u1=t=>typeof t=="function"?t:function(){return t},zd=t=>JSON.parse(JSON.stringify(t)),vu=(t,e,r)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(r&&r.isSameNode(t)||t.matches(Ml)));return null},Ou=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),iz=(t,e)=>JSON.stringify(t)===JSON.stringify(e),bk=t=>{for(let e in t)return!1;return!0},ba=(t,e)=>t&&e(t),nz=function(t,e,r,i){t.forEach(n=>{new ez(n,r.config.chunk_size,i).upload()})},Lk={canPushState(){return typeof history.pushState!="undefined"},dropLocal(t,e,r){return t.removeItem(this.localKey(e,r))},updateLocal(t,e,r,i,n){let o=this.getLocal(t,e,r),a=this.localKey(e,r),s=o===null?i:n(o);return t.setItem(a,JSON.stringify(s)),s},getLocal(t,e,r){return JSON.parse(t.getItem(this.localKey(e,r)))},updateCurrentState(t){this.canPushState()&&history.replaceState(t(history.state||{}),"",window.location.href)},pushState(t,e,r){if(this.canPushState()){if(r!==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,"",r||null);let i=this.getHashTargetEl(window.location.hash);i?i.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(r)},setCookie(t,e){document.cookie=`${t}=${e}`},getCookie(t){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${t}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(t,e){e&&Lk.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}"]`)}},jn=Lk,oz={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(r=>t instanceof r)},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(r){}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}}},Il=oz,$d=null,yk=200,az={exec(t,e,r,i,n){let[o,a]=n||[null,{callback:n&&n.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,a]]).forEach(([l,c])=>{l===o&&a.data&&(c.data=Object.assign(c.data||{},a.data),c.callback=c.callback||a.callback),this.filterToEls(i,c).forEach(u=>{this[`exec_${l}`](t,e,r,i,u,c)})})},isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length>0)},isInViewport(t){let e=t.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth;return e.right>0&&e.bottom>0&&e.left<i&&e.top<r},exec_exec(t,e,r,i,n,{attr:o,to:a}){(a?de.all(document,a):[i]).forEach(l=>{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${a}"`);r.liveSocket.execJS(l,c,t)})},exec_dispatch(t,e,r,i,n,{to:o,event:a,detail:s,bubbles:l}){s=s||{},s.dispatcher=i,de.dispatchEvent(n,a,{detail:s,bubbles:l})},exec_push(t,e,r,i,n,o){let{event:a,data:s,target:l,page_loading:c,loading:u,value:f,dispatcher:d,callback:p}=o,O={loading:u,value:f,target:l,page_loading:!!c},x=t==="change"&&d?d:i,k=l||x.getAttribute(r.binding("target"))||x;r.withinTargets(k,(w,C)=>{if(w.isConnected())if(t==="change"){let{newCid:Q,_target:L}=o;L=L||(de.isFormInput(i)?i.name:void 0),L&&(O._target=L),w.pushInput(i,C,Q,a||e,O,p)}else if(t==="submit"){let{submitter:Q}=o;w.submitForm(i,C,a||e,Q,O,p)}else w.pushEvent(t,i,C,a||e,s,O,p)})},exec_navigate(t,e,r,i,n,{href:o,replace:a}){r.liveSocket.historyRedirect(o,a?"replace":"push")},exec_patch(t,e,r,i,n,{href:o,replace:a}){r.liveSocket.pushHistoryPatch(o,a?"replace":"push",i)},exec_focus(t,e,r,i,n){window.requestAnimationFrame(()=>Il.attemptFocus(n))},exec_focus_first(t,e,r,i,n){window.requestAnimationFrame(()=>Il.focusFirstInteractive(n)||Il.focusFirst(n))},exec_push_focus(t,e,r,i,n){window.requestAnimationFrame(()=>$d=n||i)},exec_pop_focus(t,e,r,i,n){window.requestAnimationFrame(()=>{$d&&$d.focus(),$d=null})},exec_add_class(t,e,r,i,n,{names:o,transition:a,time:s}){this.addOrRemoveClasses(n,o,[],a,s,r)},exec_remove_class(t,e,r,i,n,{names:o,transition:a,time:s}){this.addOrRemoveClasses(n,[],o,a,s,r)},exec_toggle_class(t,e,r,i,n,{to:o,names:a,transition:s,time:l}){this.toggleClasses(n,a,s,r)},exec_toggle_attr(t,e,r,i,n,{attr:[o,a,s]}){n.hasAttribute(o)?s!==void 0?n.getAttribute(o)===a?this.setOrRemoveAttrs(n,[[o,s]],[]):this.setOrRemoveAttrs(n,[[o,a]],[]):this.setOrRemoveAttrs(n,[],[o]):this.setOrRemoveAttrs(n,[[o,a]],[])},exec_transition(t,e,r,i,n,{time:o,transition:a}){this.addOrRemoveClasses(n,[],[],a,o,r)},exec_toggle(t,e,r,i,n,{display:o,ins:a,outs:s,time:l}){this.toggle(t,r,n,o,a,s,l)},exec_show(t,e,r,i,n,{display:o,transition:a,time:s}){this.show(t,r,n,o,a,s)},exec_hide(t,e,r,i,n,{display:o,transition:a,time:s}){this.hide(t,r,n,o,a,s)},exec_set_attr(t,e,r,i,n,{attr:[o,a]}){this.setOrRemoveAttrs(n,[[o,a]],[])},exec_remove_attr(t,e,r,i,n,{attr:o}){this.setOrRemoveAttrs(n,[],[o])},show(t,e,r,i,n,o){this.isVisible(r)||this.toggle(t,e,r,i,n,null,o)},hide(t,e,r,i,n,o){this.isVisible(r)&&this.toggle(t,e,r,i,null,n,o)},toggle(t,e,r,i,n,o,a){a=a||yk;let[s,l,c]=n||[[],[],[]],[u,f,d]=o||[[],[],[]];if(s.length>0||u.length>0)if(this.isVisible(r)){let p=()=>{this.addOrRemoveClasses(r,f,s.concat(l).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,u,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,d,f))})};r.dispatchEvent(new Event("phx:hide-start")),e.transition(a,p,()=>{this.addOrRemoveClasses(r,[],u.concat(d)),de.putSticky(r,"toggle",O=>O.style.display="none"),r.dispatchEvent(new Event("phx:hide-end"))})}else{if(t==="remove")return;let p=()=>{this.addOrRemoveClasses(r,l,u.concat(f).concat(d));let O=i||this.defaultDisplay(r);de.putSticky(r,"toggle",x=>x.style.display=O),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,s,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,c,l))})};r.dispatchEvent(new Event("phx:show-start")),e.transition(a,p,()=>{this.addOrRemoveClasses(r,[],s.concat(c)),r.dispatchEvent(new Event("phx:show-end"))})}else this.isVisible(r)?window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("phx:hide-start")),de.putSticky(r,"toggle",p=>p.style.display="none"),r.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("phx:show-start"));let p=i||this.defaultDisplay(r);de.putSticky(r,"toggle",O=>O.style.display=p),r.dispatchEvent(new Event("phx:show-end"))})},toggleClasses(t,e,r,i,n){window.requestAnimationFrame(()=>{let[o,a]=de.getSticky(t,"classes",[[],[]]),s=e.filter(c=>o.indexOf(c)<0&&!t.classList.contains(c)),l=e.filter(c=>a.indexOf(c)<0&&t.classList.contains(c));this.addOrRemoveClasses(t,s,l,r,i,n)})},addOrRemoveClasses(t,e,r,i,n,o){n=n||yk;let[a,s,l]=i||[[],[],[]];if(a.length>0){let c=()=>{this.addOrRemoveClasses(t,s,[].concat(a).concat(l)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,l,s))})},u=()=>this.addOrRemoveClasses(t,e.concat(l),r.concat(a).concat(s));return o.transition(n,c,u)}window.requestAnimationFrame(()=>{let[c,u]=de.getSticky(t,"classes",[[],[]]),f=e.filter(x=>c.indexOf(x)<0&&!t.classList.contains(x)),d=r.filter(x=>u.indexOf(x)<0&&t.classList.contains(x)),p=c.filter(x=>r.indexOf(x)<0).concat(f),O=u.filter(x=>e.indexOf(x)<0).concat(d);de.putSticky(t,"classes",x=>(x.classList.remove(...O),x.classList.add(...p),[p,O]))})},setOrRemoveAttrs(t,e,r){let[i,n]=de.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(r),a=i.filter(([l,c])=>!o.includes(l)).concat(e),s=n.filter(l=>!o.includes(l)).concat(r);de.putSticky(t,"attrs",l=>(s.forEach(c=>l.removeAttribute(c)),a.forEach(([c,u])=>l.setAttribute(c,u)),[a,s]))},hasAllClasses(t,e){return e.every(r=>t.classList.contains(r))},isToggledOut(t,e){return!this.isVisible(t)||this.hasAllClasses(t,e)},filterToEls(t,{to:e}){return e?de.all(document,e):[t]},defaultDisplay(t){return{tr:"table-row",td:"table-cell"}[t.tagName.toLowerCase()]||"block"}},Vr=az,Gi={byId(t){return document.getElementById(t)||Ii(`no id found for ${t}`)},removeClass(t,e){t.classList.remove(e),t.classList.length===0&&t.removeAttribute("class")},all(t,e,r){if(!t)return[];let i=Array.from(t.querySelectorAll(e));return r?i.forEach(r):i},childNodeLength(t){let e=document.createElement("template");return e.innerHTML=t,e.content.childElementCount},isUploadInput(t){return t.type==="file"&&t.getAttribute(ko)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){let e=t.id,r=this.all(document,`input[type="file"][${ko}][form="${e}"]`);return this.all(t,`input[type="file"][${ko}]`).concat(r)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${wo}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Gi.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,r=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),i=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank";return e||i||r},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 r=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,i;if(t.defaultPrevented||r===null||this.wantsNewTab(t)||r.startsWith("mailto:")||r.startsWith("tel:")||t.target.isContentEditable)return!1;try{i=new URL(r)}catch(n){try{i=new URL(r,e)}catch(o){return!0}}return i.host===e.host&&i.protocol===e.protocol&&i.pathname===e.pathname&&i.search===e.search?i.hash===""&&!i.href.endsWith("#"):i.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(ya,""),this.putPrivate(t,"destroyed",!0)},findPhxChildrenInFragment(t,e){let r=document.createElement("template");return r.innerHTML=t,this.findPhxChildren(r.content,e)},isIgnored(t,e){return(t.getAttribute(e)||t.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(t,e,r){return t.getAttribute&&r.indexOf(t.getAttribute(e))>=0},findPhxSticky(t){return this.all(t,`[${uk}]`)},findPhxChildren(t,e){return this.all(t,`${Ml}[${Rl}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let a=`[${wo}="${o}"] [${wo}]`;return this.filterWithinSameLiveView(this.all(t,a),t).map(s=>parseInt(s.getAttribute(wo))).forEach(s=>n.delete(s)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Ml)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(ya)!==null)return!1}},private(t,e){return t[qn]&&t[qn][e]},deletePrivate(t,e){t[qn]&&delete t[qn][e]},putPrivate(t,e,r){t[qn]||(t[qn]={}),t[qn][e]=r},updatePrivate(t,e,r,i){let n=this.private(t,e);n===void 0?this.putPrivate(t,e,i(r)):this.putPrivate(t,e,i(n))},copyPrivates(t,e){e[qn]&&(t[qn]=e[qn])},putTitle(t){let e=document.querySelector("title");if(e){let{prefix:r,suffix:i}=e.dataset;document.title=`${r||""}${t}${i||""}`}else document.title=t},debounce(t,e,r,i,n,o,a,s){let l=t.getAttribute(r),c=t.getAttribute(n);l===""&&(l=i),c===""&&(c=o);let u=l||c;switch(u){case null:return s();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>s());return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,mu):s(),p=this.incCycle(t,pu,d);if(isNaN(f))return Ii(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let k=this.private(t,dk);this.putPrivate(t,dk,e.key),x=k!==e.key}if(!x&&this.private(t,mu))return!1;{s();let k=setTimeout(()=>{a()&&this.triggerCycle(t,pu)},f);this.putPrivate(t,mu,k)}}else setTimeout(()=>{a()&&this.triggerCycle(t,pu,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([x])=>{let k=O.querySelector(`[name="${x}"]`);this.incCycle(k,pu),this.deletePrivate(k,mu)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>{clearTimeout(this.private(t,mu)),this.triggerCycle(t,pu)})}},triggerCycle(t,e,r){let[i,n]=this.private(t,e);r||(r=i),r===i&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,r=function(){}){let[i]=this.private(t,e)||[0,r];return i++,this.putPrivate(t,e,[i,r]),i},maybeAddPrivateHooks(t,e,r){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(r))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},isFeedbackContainer(t,e){return t.hasAttribute&&t.hasAttribute(e)},maybeHideFeedback(t,e,r,i){let n={};e.forEach(o=>{if(!t.contains(o))return;let a=o.getAttribute(r);if(!a){Vr.addOrRemoveClasses(o,[],[Cd]);return}if(n[a]===!0){this.hideFeedback(o);return}n[a]=this.shouldHideFeedback(t,a,i),n[a]===!0&&this.hideFeedback(o)})},hideFeedback(t){Vr.addOrRemoveClasses(t,[Cd],[])},shouldHideFeedback(t,e,r){let i=`[name="${e}"],
[name="${e}[]"],
[${r}="${e}"]`,n=!1;return Gi.all(t,i,o=>{(this.private(o,m1)||this.private(o,Ud))&&(n=!0)}),!n},feedbackSelector(t,e,r){let i=`[${e}="${t.name}"],
[${e}="${t.name.replace(/\[\]$/,"")}"]`;return t.getAttribute(r)&&(i+=`,[${e}="${t.getAttribute(r)}"]`),i},resetForm(t,e,r){Array.from(t.elements).forEach(i=>{let n=this.feedbackSelector(i,e,r);this.deletePrivate(i,m1),this.deletePrivate(i,Ud),this.all(document,n,o=>{Vr.addOrRemoveClasses(o,[Cd],[])})})},showError(t,e,r){if(t.name){let i=this.feedbackSelector(t,e,r);this.all(document,i,n=>{Vr.addOrRemoveClasses(n,[],[Cd])})}},isPhxChild(t){return t.getAttribute&&t.getAttribute(Rl)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(uk)!==null},isChildOfAny(t,e){return!!e.find(r=>r.contains(t))},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${Rl}]`)[0]},dispatchEvent(t,e,r={}){let i=!0;t.nodeName==="INPUT"&&t.type==="file"&&e==="click"&&(i=!1);let a={bubbles:r.bubbles===void 0?i:!!r.bubbles,cancelable:!0,detail:r.detail||{}},s=e==="click"?new MouseEvent("click",a):new CustomEvent(e,a);t.dispatchEvent(s)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let r=t.cloneNode(!1);return r.innerHTML=e,r}},mergeAttrs(t,e,r={}){let i=new Set(r.exclude||[]),n=r.isIgnored,o=e.attributes;for(let s=o.length-1;s>=0;s--){let l=o[s].name;if(i.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 a=t.attributes;for(let s=a.length-1;s>=0;s--){let l=a[s].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&![Ri,ga].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Gi.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,r){if(t instanceof HTMLSelectElement&&t.focus(),!Gi.isTextualInput(t))return;let i=t.matches(":focus");t.readOnly&&t.blur(),i||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,r)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&Ik.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return BM.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},syncPendingRef(t,e,r){let i=t.getAttribute(Ri);if(i===null)return!0;let n=t.getAttribute(ga);return Gi.isFormInput(t)||t.getAttribute(r)!==null?(Gi.isUploadInput(t)&&Gi.mergeAttrs(t,e,{isIgnored:!0}),Gi.putPrivate(t,Ri,e),!1):(Qk.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(Ri,i),e.setAttribute(ga,n),!0)},cleanChildNodes(t,e){if(Gi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||Ii(`only HTML element tags with an id are allowed inside containers with phx-update.
removing illegal node: "${(i.outerHTML||i.nodeValue).trim()}"
`),r.push(i))}),r.forEach(i=>i.remove())}},replaceRootContainer(t,e,r){let i=new Set(["id",ya,yu,b1,Ll]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(n=>!i.has(n.name.toLowerCase())).forEach(n=>t.removeAttribute(n.name)),Object.keys(r).filter(n=>!i.has(n.toLowerCase())).forEach(n=>t.setAttribute(n,r[n])),t;{let n=document.createElement(e);return Object.keys(r).forEach(o=>n.setAttribute(o,r[o])),i.forEach(o=>n.setAttribute(o,t.getAttribute(o))),n.innerHTML=t.innerHTML,t.replaceWith(n),n}},getSticky(t,e,r){let i=(Gi.private(t,"sticky")||[]).find(([n])=>e===n);if(i){let[n,o,a]=i;return a}else return typeof r=="function"?r():r},deleteSticky(t,e){this.updatePrivate(t,"sticky",[],r=>r.filter(([i,n])=>i!==e))},putSticky(t,e,r){let i=r(t);this.updatePrivate(t,"sticky",[],n=>{let o=n.findIndex(([a])=>e===a);return o>=0?n[o]=[e,r,i]:n.push([e,r,i]),n})},applyStickyOperations(t){let e=Gi.private(t,"sticky");e&&e.forEach(([r,i,n])=>this.putSticky(t,r,i))}},de=Gi,Xl=class{static isActive(t,e){let r=e._phxRef===void 0,i=Xl.isPreflightInProgress(e),o=t.getAttribute(h1).split(",").indexOf(kr.genFileRef(e))>=0;return e.size>0&&(r||o||!i)}static isPreflighted(t,e){return t.getAttribute(g1).split(",").indexOf(kr.genFileRef(e))>=0&&this.isActive(t,e)}static isPreflightInProgress(t){return t._preflightInProgress===!0}static markPreflightInProgress(t){t._preflightInProgress=!0}constructor(t,e,r){this.ref=kr.genFileRef(e),this.fileEl=t,this.file=e,this.view=r,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(Md,this._onElUpdated)}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,()=>{kr.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}cancel(){this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(t="failed"){this.fileEl.removeEventListener(Md,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),de.isAutoUpload(this.fileEl)||kr.clearFiles(this.fileEl)}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(Md,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(h1).split(",").indexOf(this.ref)===-1&&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]||Ii(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:nz}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Ii(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},sz=0,kr=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(sz++).toString(),t._phxRef)}static getEntryDataURL(t,e,r){let i=this.activeFiles(t).find(n=>this.genFileRef(n)===e);r(URL.createObjectURL(i))}static hasUploadsInProgress(t){let e=0;return de.findUploadInputs(t).forEach(r=>{r.getAttribute(g1)!==r.getAttribute(UM)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),r={};return e.forEach(i=>{let n={path:t.name},o=t.getAttribute(ko);r[o]=r[o]||[],n.ref=this.genFileRef(i),n.last_modified=i.lastModified,n.name=i.name||n.ref,n.relative_path=i.webkitRelativePath,n.type=i.type,n.size=i.size,typeof i.meta=="function"&&(n.meta=i.meta()),r[o].push(n)}),r}static clearFiles(t){t.value=null,t.removeAttribute(ko),de.putPrivate(t,"files",[])}static untrackFile(t,e){de.putPrivate(t,"files",de.private(t,"files").filter(r=>!Object.is(r,e)))}static trackFiles(t,e,r){if(t.getAttribute("multiple")!==null){let i=e.filter(n=>!this.activeFiles(t).find(o=>Object.is(o,n)));de.putPrivate(t,"files",this.activeFiles(t).concat(i)),t.value=null}else r&&r.files.length>0&&(t.files=r.files),de.putPrivate(t,"files",e)}static activeFileInputs(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>r.files&&this.activeFiles(r).length>0)}static activeFiles(t){return(de.private(t,"files")||[]).filter(e=>Xl.isActive(t,e))}static inputsAwaitingPreflight(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>this.filesAwaitingPreflight(r).length>0)}static filesAwaitingPreflight(t){return this.activeFiles(t).filter(e=>!Xl.isPreflighted(t,e)&&!Xl.isPreflightInProgress(e))}static markPreflightInProgress(t){t.forEach(e=>Xl.markPreflightInProgress(e.file))}constructor(t,e,r){this.view=e,this.onComplete=r,this._entries=Array.from(kr.filesAwaitingPreflight(t)||[]).map(i=>new Xl(t,i,e)),kr.markPreflightInProgress(this._entries),this.numEntriesInProgress=this._entries.length}entries(){return this._entries}initAdapterUpload(t,e,r){this._entries=this._entries.map(n=>(n.zipPostFlight(t),n.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()}),n));let i=this._entries.reduce((n,o)=>{if(!o.meta)return n;let{name:a,callback:s}=o.uploader(r.uploaders);return n[a]=n[a]||{callback:s,entries:[]},n[a].entries.push(o),n},{});for(let n in i){let{callback:o,entries:a}=i[n];o(a,e,t,r)}}},Mk={LiveFileUpload:{activeRefs(){return this.el.getAttribute(h1)},preflightedRefs(){return this.el.getAttribute(g1)},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(Md))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(ko)),kr.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",()=>Il.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Il.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Il.focusFirst(this.el)}}},zk=t=>["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>=0?t:document.documentElement===t?null:zk(t.parentElement),vk=t=>t?t.scrollTop:document.documentElement.scrollTop||document.body.scrollTop,y1=t=>t?t.getBoundingClientRect().bottom:window.innerHeight||document.documentElement.clientHeight,v1=t=>t?t.getBoundingClientRect().top:0,lz=(t,e)=>{let r=t.getBoundingClientRect();return r.top>=v1(e)&&r.left>=0&&r.top<=y1(e)},cz=(t,e)=>{let r=t.getBoundingClientRect();return r.right>=v1(e)&&r.left>=0&&r.bottom<=y1(e)},xk=(t,e)=>{let r=t.getBoundingClientRect();return r.top>=v1(e)&&r.left>=0&&r.top<=y1(e)};Mk.InfiniteScroll={mounted(){this.scrollContainer=zk(this.el);let t=vk(this.scrollContainer),e=!1,r=500,i=null,n=this.throttle(r,(s,l)=>{i=()=>!0,this.liveSocket.execJSHookPush(this.el,s,{id:l.id,_overran:!0},()=>{i=null})}),o=this.throttle(r,(s,l)=>{i=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,s,{id:l.id},()=>{i=null,window.requestAnimationFrame(()=>{xk(l,this.scrollContainer)||l.scrollIntoView({block:"start"})})})}),a=this.throttle(r,(s,l)=>{i=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,s,{id:l.id},()=>{i=null,window.requestAnimationFrame(()=>{xk(l,this.scrollContainer)||l.scrollIntoView({block:"end"})})})});this.onScroll=s=>{let l=vk(this.scrollContainer);if(i)return t=l,i();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,O=l<t,x=l>t;O&&u&&!e&&c.top>=0?(e=!0,n(u,p)):x&&e&&c.top<=0&&(e=!1),u&&O&&lz(p,this.scrollContainer)?o(u,p):f&&x&&cz(d,this.scrollContainer)&&a(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 r=0,i;return(...n)=>{let o=Date.now(),a=t-(o-r);a<=0||a>t?(i&&(clearTimeout(i),i=null),r=o,e(...n)):i||(i=setTimeout(()=>{r=Date.now(),i=null,e(...n)},a))}}};var uz=Mk,fz=class{constructor(t,e,r){let i=new Set,n=new Set([...e.children].map(a=>a.id)),o=[];Array.from(t.children).forEach(a=>{if(a.id&&(i.add(a.id),n.has(a.id))){let s=a.previousElementSibling&&a.previousElementSibling.id;o.push({elementId:a.id,previousElementId:s})}}),this.containerId=e.id,this.updateType=r,this.elementsToModify=o,this.elementIdsToAdd=[...n].filter(a=>!i.has(a))}perform(){let t=de.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?ba(document.getElementById(e.previousElementId),r=>{ba(document.getElementById(e.elementId),i=>{i.previousElementSibling&&i.previousElementSibling.id==r.id||r.insertAdjacentElement("afterend",i)})}):ba(document.getElementById(e.elementId),r=>{r.previousElementSibling==null||t.insertAdjacentElement("afterbegin",r)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{ba(document.getElementById(e),r=>t.insertAdjacentElement("afterbegin",r))})}},wk=11;function hz(t,e){var r=e.attributes,i,n,o,a,s;if(!(e.nodeType===wk||t.nodeType===wk)){for(var l=r.length-1;l>=0;l--)i=r[l],n=i.name,o=i.namespaceURI,a=i.value,o?(n=i.localName||n,s=t.getAttributeNS(o,n),s!==a&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,a))):(s=t.getAttribute(n),s!==a&&t.setAttribute(n,a));for(var c=t.attributes,u=c.length-1;u>=0;u--)i=c[u],n=i.name,o=i.namespaceURI,o?(n=i.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var Xd,dz="http://www.w3.org/1999/xhtml",yi=typeof document=="undefined"?void 0:document,pz=!!yi&&"content"in yi.createElement("template"),mz=!!yi&&yi.createRange&&"createContextualFragment"in yi.createRange();function Oz(t){var e=yi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function gz(t){Xd||(Xd=yi.createRange(),Xd.selectNode(yi.body));var e=Xd.createContextualFragment(t);return e.childNodes[0]}function bz(t){var e=yi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function yz(t){return t=t.trim(),pz?Oz(t):mz?gz(t):bz(t)}function Rd(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function vz(t,e){return!e||e===dz?yi.createElement(t):yi.createElementNS(e,t)}function xz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function f1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var kk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}f1(t,e,"selected")},INPUT:function(t,e){f1(t,e,"checked"),f1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,a;n;)if(a=n.nodeName&&n.nodeName.toUpperCase(),a==="OPTGROUP")o=n,n=o.firstChild;else{if(a==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},gu=1,Sk=11,Tk=3,Ek=8;function Oa(){}function wz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function kz(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=yi.createElement("html"),i.innerHTML=o}else i=yz(i);else i.nodeType===Sk&&(i=i.firstElementChild);var a=n.getNodeKey||wz,s=n.onBeforeNodeAdded||Oa,l=n.onNodeAdded||Oa,c=n.onBeforeElUpdated||Oa,u=n.onElUpdated||Oa,f=n.onBeforeNodeDiscarded||Oa,d=n.onNodeDiscarded||Oa,p=n.onBeforeElChildrenUpdated||Oa,O=n.skipFromChildren||Oa,x=n.addChild||function(ae,pe){return ae.appendChild(pe)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function Q(ae){C.push(ae)}function L(ae,pe){if(ae.nodeType===gu)for(var J=ae.firstChild;J;){var _=void 0;pe&&(_=a(J))?Q(_):(d(J),J.firstChild&&L(J,pe)),J=J.nextSibling}}function N(ae,pe,J){f(ae)!==!1&&(pe&&pe.removeChild(ae),d(ae),L(ae,J))}function I(ae){if(ae.nodeType===gu||ae.nodeType===Sk)for(var pe=ae.firstChild;pe;){var J=a(pe);J&&(w[J]=pe),I(pe),pe=pe.nextSibling}}I(r);function H(ae){l(ae);for(var pe=ae.firstChild;pe;){var J=pe.nextSibling,_=a(pe);if(_){var K=w[_];K&&Rd(pe,K)?(pe.parentNode.replaceChild(K,pe),Y(K,pe)):H(pe)}else H(pe);pe=J}}function j(ae,pe,J){for(;pe;){var _=pe.nextSibling;(J=a(pe))?Q(J):N(pe,ae,!0),pe=_}}function Y(ae,pe,J){var _=a(pe);_&&delete w[_],!(!J&&(c(ae,pe)===!1||(t(ae,pe),u(ae),p(ae,pe)===!1)))&&(ae.nodeName!=="TEXTAREA"?V(ae,pe):kk.TEXTAREA(ae,pe))}function V(ae,pe){var J=O(ae,pe),_=pe.firstChild,K=ae.firstChild,se,q,Je,st,at;e:for(;_;){for(st=_.nextSibling,se=a(_);!J&&K;){if(Je=K.nextSibling,_.isSameNode&&_.isSameNode(K)){_=st,K=Je;continue e}q=a(K);var Ce=K.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===gu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,K),q?Q(q):N(K,ae,!0),K=at,q=a(K)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&Rd(K,_),Ze&&Y(K,_)):(Ce===Tk||Ce==Ek)&&(Ze=!0,K.nodeValue!==_.nodeValue&&(K.nodeValue=_.nodeValue))),Ze){_=st,K=Je;continue e}q?Q(q):N(K,ae,!0),K=Je}if(se&&(at=w[se])&&Rd(at,_))J||x(ae,at),Y(at,_);else{var Rt=s(_);Rt!==!1&&(Rt&&(_=Rt),_.actualize&&(_=_.actualize(ae.ownerDocument||yi)),x(ae,_),H(_))}_=st,K=Je}j(ae,K,q);var ut=kk[ae.nodeName];ut&&ut(ae,pe)}var ne=r,ue=ne.nodeType,he=i.nodeType;if(!k){if(ue===gu)he===gu?Rd(r,i)||(d(r),ne=xz(r,vz(i.nodeName,i.namespaceURI))):ne=i;else if(ue===Tk||ue===Ek){if(he===ue)return ne.nodeValue!==i.nodeValue&&(ne.nodeValue=i.nodeValue),ne;ne=i}}if(ne===i)d(r);else{if(i.isSameNode&&i.isSameNode(ne))return;if(Y(ne,i,k),C)for(var ge=0,ve=C.length;ge<ve;ge++){var _e=w[C[ge]];_e&&N(_e,_e.parentNode,!1)}}return!k&&ne!==r&&r.parentNode&&(ne.actualize&&(ne=ne.actualize(r.ownerDocument||yi)),r.parentNode.replaceChild(ne,r)),ne}}var Sz=kz(hz),Ck=Sz,Id=class{static patchEl(t,e,r){Ck(t,e,{childrenOnly:!1,onBeforeElUpdated:(i,n)=>{if(r&&r.isSameNode(i)&&de.isFormInput(i))return de.mergeFocusedInput(i,n),!1}})}constructor(t,e,r,i,n,o){this.view=t,this.liveSocket=t.liveSocket,this.container=e,this.id=r,this.rootID=t.root.id,this.html=i,this.streams=n,this.streamInserts={},this.streamComponentRestore={},this.targetCID=o,this.cidPatch=xo(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),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(r=>r(...e))}trackAfter(t,...e){this.callbacks[`after${t}`].forEach(r=>r(...e))}markPrunableContentForRemoval(){let t=this.liveSocket.binding(qd);de.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(ak,"")})}perform(t){let{view:e,liveSocket:r,container:i,html:n}=this,o=this.isCIDPatch()?this.targetCIDContainer(n):i;if(this.isCIDPatch()&&!o)return;let a=r.getActiveElement(),{selectionStart:s,selectionEnd:l}=a&&de.hasSelectionRange(a)?a:{},c=r.binding(qd),u=r.binding(Dd),f=r.binding(Nd),d=r.binding(O1),p=r.binding(d1),O=r.binding(p1),x=r.binding(qM),k=[],w=[],C=[],Q=[],L=null;function N(I,H){Ck(I,H,{childrenOnly:I.getAttribute(wo)===null,getNodeKey:j=>de.isPhxDestroyed(j)?null:t?j.id:j.id||j.getAttribute&&j.getAttribute(Rk),skipFromChildren:j=>j.getAttribute(c)===o1,addChild:(j,Y)=>{let{ref:V,streamAt:ne}=this.getStreamInsert(Y);if(V===void 0)return j.appendChild(Y);if(this.setStreamRef(Y,V),ne===0)j.insertAdjacentElement("afterbegin",Y);else if(ne===-1)j.appendChild(Y);else if(ne>0){let ue=Array.from(j.children)[ne];j.insertBefore(Y,ue)}},onBeforeNodeAdded:j=>{de.maybeAddPrivateHooks(j,p,O),de.isFeedbackContainer(j,u)&&w.push(j),this.trackBefore("added",j);let Y=j;return!t&&this.streamComponentRestore[j.id]&&(Y=this.streamComponentRestore[j.id],delete this.streamComponentRestore[j.id],N.bind(this)(Y,j)),Y},onNodeAdded:j=>{j.getAttribute&&this.maybeReOrderStream(j,!0),j instanceof HTMLImageElement&&j.srcset?j.srcset=j.srcset:j instanceof HTMLVideoElement&&j.autoplay&&j.play(),de.isNowTriggerFormExternal(j,x)&&(L=j),(de.isPhxChild(j)&&e.ownsElement(j)||de.isPhxSticky(j)&&e.ownsElement(j.parentNode))&&this.trackAfter("phxChildAdded",j),k.push(j)},onNodeDiscarded:j=>this.onNodeDiscarded(j),onBeforeNodeDiscarded:j=>j.getAttribute&&j.getAttribute(ak)!==null?!0:!(j.parentElement!==null&&j.id&&de.isPhxUpdate(j.parentElement,c,[o1,"append","prepend"])||this.maybePendingRemove(j)||this.skipCIDSibling(j)),onElUpdated:j=>{de.isNowTriggerFormExternal(j,x)&&(L=j),C.push(j),this.maybeReOrderStream(j,!1)},onBeforeElUpdated:(j,Y)=>{if(de.maybeAddPrivateHooks(Y,p,O),(de.isFeedbackContainer(j,u)||de.isFeedbackContainer(Y,u))&&(w.push(j),w.push(Y)),de.cleanChildNodes(Y,c),this.skipCIDSibling(Y))return this.maybeReOrderStream(j),!1;if(de.isPhxSticky(j))return!1;if(de.isIgnored(j,c)||j.form&&j.form.isSameNode(L))return this.trackBefore("updated",j,Y),de.mergeAttrs(j,Y,{isIgnored:!0}),C.push(j),de.applyStickyOperations(j),!1;if(j.type==="number"&&j.validity&&j.validity.badInput)return!1;if(!de.syncPendingRef(j,Y,d))return de.isUploadInput(j)&&(this.trackBefore("updated",j,Y),C.push(j)),de.applyStickyOperations(j),!1;if(de.isPhxChild(Y)){let ue=j.getAttribute(ya);return de.mergeAttrs(j,Y,{exclude:[yu]}),ue!==""&&j.setAttribute(ya,ue),j.setAttribute(Ll,this.rootID),de.applyStickyOperations(j),!1}de.copyPrivates(Y,j);let V=a&&j.isSameNode(a)&&de.isFormInput(j),ne=V&&this.isChangedSelect(j,Y);return V&&j.type!=="hidden"&&!ne?(this.trackBefore("updated",j,Y),de.mergeFocusedInput(j,Y),de.syncAttrsToProps(j),C.push(j),de.applyStickyOperations(j),!1):(ne&&j.blur(),de.isPhxUpdate(Y,c,["append","prepend"])&&Q.push(new fz(j,Y,Y.getAttribute(c))),de.syncAttrsToProps(Y),de.applyStickyOperations(Y),this.trackBefore("updated",j,Y),!0)}})}return this.trackBefore("added",i),this.trackBefore("updated",i,i),r.time("morphdom",()=>{this.streams.forEach(([I,H,j,Y])=>{H.forEach(([V,ne,ue])=>{this.streamInserts[V]={ref:I,streamAt:ne,limit:ue,reset:Y}}),Y!==void 0&&de.all(i,`[${a1}="${I}"]`,V=>{this.removeStreamChildElement(V)}),j.forEach(V=>{let ne=i.querySelector(`[id="${V}"]`);ne&&this.removeStreamChildElement(ne)})}),t&&de.all(this.container,`[${c}=${o1}]`,I=>{this.liveSocket.owner(I,H=>{H===this.view&&Array.from(I.children).forEach(j=>{this.removeStreamChildElement(j)})})}),N.bind(this)(o,n)}),r.isDebugEnabled()&&tz(),Q.length>0&&r.time("post-morph append/prepend restoration",()=>{Q.forEach(I=>I.perform())}),de.maybeHideFeedback(o,w,u,f),r.silenceEvents(()=>de.restoreFocus(a,s,l)),de.dispatchEvent(document,"phx:update"),k.forEach(I=>this.trackAfter("added",I)),C.forEach(I=>this.trackAfter("updated",I)),this.transitionPendingRemoves(),L&&(r.unload(),Object.getPrototypeOf(L).submit.call(L)),!0}onNodeDiscarded(t){(de.isPhxChild(t)||de.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.maybePendingRemove(t)||(this.streamInserts[t.id]?(this.streamComponentRestore[t.id]=t,t.remove()):(t.remove(),this.onNodeDiscarded(t)))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}setStreamRef(t,e){de.putSticky(t,a1,r=>r.setAttribute(a1,e))}maybeReOrderStream(t,e){let{ref:r,streamAt:i,reset:n}=this.getStreamInsert(t);if(i!==void 0&&(this.setStreamRef(t,r),!(!n&&!e))){if(i===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(i>0){let o=Array.from(t.parentElement.children),a=o.indexOf(t);if(i>=o.length-1)t.parentElement.appendChild(t);else{let s=o[i];a>i?t.parentElement.insertBefore(t,s):t.parentElement.insertBefore(t,s.nextElementSibling)}}this.maybeLimitStream(t)}}maybeLimitStream(t){let{limit:e}=this.getStreamInsert(t),r=e!==null&&Array.from(t.parentElement.children);e&&e<0&&r.length>e*-1?r.slice(0,r.length+e).forEach(i=>this.removeStreamChildElement(i)):e&&e>=0&&r.length>e&&r.slice(e).forEach(i=>this.removeStreamChildElement(i))}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&(e.transitionRemoves(t),e.requestDOMUpdate(()=>{t.forEach(r=>{let i=de.firstPhxChild(r);i&&e.destroyViewByEl(i),r.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 r=t.selectedOptions[0],i=e.selectedOptions[0];return r&&r.hasAttribute("selected")&&i.setAttribute("selected",r.getAttribute("selected")),!t.isEqualNode(e)}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(Xk)}targetCIDContainer(t){if(!this.isCIDPatch())return;let[e,...r]=de.findComponentNodeList(this.container,this.targetCID);return r.length===0&&de.childNodeLength(t)===1?e:e&&e.parentNode}indexOf(t,e){return Array.from(t.children).indexOf(e)}},Tz=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Ez=new Set(["'",'"']),Pk=(t,e,r)=>{let i=0,n=!1,o,a,s,l,c,u,f=t.match(/^(\s*(?:<!--.*?-->\s*)*)<([^\s\/>]+)/);if(f===null)throw new Error(`malformed html ${t}`);for(i=f[0].length,o=f[1],s=f[2],l=i,i;i<t.length&&t.charAt(i)!==">";i++)if(t.charAt(i)==="="){let O=t.slice(i-3,i)===" id";i++;let x=t.charAt(i);if(Ez.has(x)){let k=i;for(i++,i;i<t.length&&t.charAt(i)!==x;i++);if(O){c=t.slice(k+1,i);break}}}let d=t.length-1;for(n=!1;d>=o.length+s.length;){let O=t.charAt(d);if(n)O==="-"&&t.slice(d-3,d)==="<!-"?(n=!1,d-=4):d-=1;else if(O===">"&&t.slice(d-2,d)==="--")n=!0,d-=3;else{if(O===">")break;d-=1}}a=t.slice(d+1,t.length);let p=Object.keys(e).map(O=>e[O]===!0?O:`${O}="${e[O]}"`).join(" ");if(r){let O=c?` id="${c}"`:"";Tz.has(s)?u=`<${s}${O}${p===""?"":" "}${p}/>`:u=`<${s}${O}${p===""?"":" "}${p}></${s}>`}else{let O=t.slice(l,d+1);u=`<${s}${p===""?"":" "}${p}${O}`}return[u,o,a]},_k=class{static extract(t){let{[mk]:e,[pk]:r,[Ok]:i}=t;return delete t[mk],delete t[pk],delete t[Ok],{diff:t,title:i,reply:e||null,events:r||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,r]=this.recursiveToString(this.rendered,this.rendered[oi],t,!0,{});return[e,r]}recursiveToString(t,e=t[oi],r,i,n){r=r?new Set(r):null;let o={buffer:"",components:e,onlyCids:r,streams:new Set};return this.toOutputBuffer(t,null,o,i,n),[o.buffer,o.streams]}componentCIDs(t){return Object.keys(t[oi]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[oi]?Object.keys(t).length===1:!1}getComponent(t,e){return t[oi][e]}resetRender(t){this.rendered[oi][t]&&(this.rendered[oi][t].reset=!0)}mergeDiff(t){let e=t[oi],r={};if(delete t[oi],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[oi]=this.rendered[oi]||{},e){let i=this.rendered[oi];for(let n in e)e[n]=this.cachedFindComponent(n,e[n],i,e,r);for(let n in e)i[n]=e[n];t[oi]=e}}cachedFindComponent(t,e,r,i,n){if(n[t])return n[t];{let o,a,s=e[Bn];if(xo(s)){let l;s>0?l=this.cachedFindComponent(s,i[s],r,i,n):l=r[-s],a=l[Bn],o=this.cloneMerge(l,e,!0),o[Bn]=a}else o=e[Bn]!==void 0||r[t]===void 0?e:this.cloneMerge(r[t],e,!1);return n[t]=o,o}}mutableMerge(t,e){return e[Bn]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let r in e){let i=e[r],n=t[r];Ou(i)&&i[Bn]===void 0&&Ou(n)?this.doMutableMerge(n,i):t[r]=i}t[c1]&&(t.newRender=!0)}cloneMerge(t,e,r){let i=oe(oe({},t),e);for(let n in i){let o=e[n],a=t[n];Ou(o)&&o[Bn]===void 0&&Ou(a)&&(i[n]=this.cloneMerge(a,o,r))}return r?(delete i.magicId,delete i.newRender):t[c1]&&(i.newRender=!0),i}componentToString(t){let[e,r]=this.recursiveCIDToString(this.rendered[oi],t,null),[i,n,o]=Pk(e,{});return[i,r]}pruneCIDs(t){t.forEach(e=>delete this.rendered[oi][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[Bn]}templateStatic(t,e){return typeof t=="number"?e[t]:t}nextMagicID(){return this.magicId++,`${this.parentViewId()}-${this.magicId}`}toOutputBuffer(t,e,r,i,n={}){if(t[Qd])return this.comprehensionToBuffer(t,e,r);let{[Bn]:o}=t;o=this.templateStatic(o,e);let a=t[c1],s=r.buffer;a&&(r.buffer=""),i&&a&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),r.buffer+=o[0];for(let l=1;l<o.length;l++)this.dynamicToBuffer(t[l-1],e,r,i),r.buffer+=o[l];if(a){let l=!1,c;i||t.magicId?(l=i&&!t.newRender,c=oe({[Rk]:t.magicId},n)):c=n,l&&(c[Xk]=!0);let[u,f,d]=Pk(r.buffer,c,l);t.newRender=!1,r.buffer=s+f+u+d}}comprehensionToBuffer(t,e,r){let{[Qd]:i,[Bn]:n,[gk]:o}=t,[a,s,l,c]=o||[null,{},[],null];n=this.templateStatic(n,e);let u=e||t[JM];for(let f=0;f<i.length;f++){let d=i[f];r.buffer+=n[0];for(let p=1;p<n.length;p++)this.dynamicToBuffer(d[p-1],u,r,!1),r.buffer+=n[p]}o!==void 0&&(t[Qd].length>0||l.length>0||c)&&(delete t[gk],t[Qd]=[],r.streams.add(o))}dynamicToBuffer(t,e,r,i){if(typeof t=="number"){let[n,o]=this.recursiveCIDToString(r.components,t,r.onlyCids);r.buffer+=n,r.streams=new Set([...r.streams,...o])}else Ou(t)?this.toOutputBuffer(t,e,r,i,{}):r.buffer+=t}recursiveCIDToString(t,e,r){let i=t[e]||Ii(`no component for CID ${e}`,t),n={[wo]:e},o=r&&!r.has(e);i.newRender=!o,i.magicId=`${this.parentViewId()}-c-${e}`;let a=!i.reset,[s,l]=this.recursiveToString(i,t,r,a,n);return delete i.reset,[s,l]}},Cz=1,bu=class{static makeID(){return Cz++}static elementID(t){return t.phxHookId}constructor(t,e,r){this.__view=t,this.liveSocket=t.liveSocket,this.__callbacks=r,this.__listeners=new Set,this.__isDisconnected=!1,this.el=e,this.el.phxHookId=this.constructor.makeID();for(let i in this.__callbacks)this[i]=this.__callbacks[i]}__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={},r=function(){}){return this.__view.pushHookEvent(this.el,null,t,e,r)}pushEventTo(t,e,r={},i=function(){}){return this.__view.withinTargets(t,(n,o)=>n.pushHookEvent(this.el,o,e,r,i))}handleEvent(t,e){let r=(i,n)=>n?t:e(i.detail);return window.addEventListener(`phx:${t}`,r),this.__listeners.add(r),r}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,r){return this.__view.withinTargets(t,(i,n)=>{i.dispatchUploads(n,e,r)})}__cleanup__(){this.__listeners.forEach(t=>this.removeHandleEvent(t))}},Ld=(t,e,r=[])=>{let c=e,{submitter:i}=c,n=Wr(c,["submitter"]),o;if(i&&i.name){let u=document.createElement("input");u.type="hidden";let f=i.getAttribute("form");f&&u.setAttribute("form",f),u.name=i.name,u.value=i.value,i.parentElement.insertBefore(u,i),o=u}let a=new FormData(t),s=[];a.forEach((u,f,d)=>{u instanceof File&&s.push(f)}),s.forEach(u=>a.delete(u));let l=new URLSearchParams;for(let[u,f]of a.entries())(r.length===0||r.indexOf(u)>=0)&&l.append(u,f);i&&o&&i.parentElement.removeChild(o);for(let u in n)l.append(u,n[u]);return l.toString()},Dk=class{constructor(t,e,r,i,n){this.isDead=!1,this.liveSocket=e,this.flash=i,this.parent=r,this.root=r?r.root:this,this.el=t,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pruningCIDs=[],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.uploaders={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},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(b1)}connectParams(t){let e=this.liveSocket.params(this.el),r=de.all(document,`[${this.binding(DM)}]`).map(i=>i.src||i.href).filter(i=>typeof i=="string");return r.length>0&&(e._track_static=r),e._mounts=this.joinCount,e._live_referer=t,e}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(ya)}getStatic(){let t=this.el.getAttribute(yu);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 r in this.viewHooks)this.destroyHook(this.viewHooks[r])};de.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,hu,Pd,ck,i1),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(hu)}}execAll(t){de.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,r=function(){}){this.liveSocket.transition(t,e,r)}withinTargets(t,e){if(t instanceof HTMLElement||t instanceof SVGElement)return this.liveSocket.owner(t,r=>e(r,t));if(xo(t))de.findComponentNodeList(this.el,t).length===0?Ii(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let r=Array.from(document.querySelectorAll(t));r.length===0&&Ii(`nothing found matching the phx-target selector "${t}"`),r.forEach(i=>this.liveSocket.owner(i,n=>e(n,i)))}}applyDiff(t,e,r){this.log(t,()=>["",zd(e)]);let{diff:i,reply:n,events:o,title:a}=_k.extract(e);r({diff:i,reply:n,events:o}),a&&window.requestAnimationFrame(()=>de.putTitle(a))}onJoin(t){let{rendered:e,container:r}=t;if(r){let[i,n]=r;this.el=de.replaceRootContainer(this.el,i,n)}this.childJoins=0,this.joinPending=!0,this.flash=null,jn.dropLocal(this.liveSocket.localStorage,window.location.pathname,Ak),this.applyDiff("mount",e,({diff:i,events:n})=>{this.rendered=new _k(this.id,i);let[o,a]=this.renderContainer(null,"join");this.dropPendingRefs();let s=this.formsForRecovery(o);this.joinCount++,s.length>0?s.forEach(([l,c,u],f)=>{this.pushFormRecovery(l,u,d=>{f===s.length-1&&this.onJoinComplete(d,o,a,n)})}):this.onJoinComplete(t,o,a,n)})}dropPendingRefs(){de.all(document,`[${ga}="${this.id}"][${Ri}]`,t=>{t.removeAttribute(Ri),t.removeAttribute(ga)})}onJoinComplete({live_patch:t},e,r,i){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(t,e,r,i);de.findPhxChildrenInFragment(e,this.id).filter(o=>{let a=o.id&&this.el.querySelector(`[id="${o.id}"]`),s=a&&a.getAttribute(yu);return s&&o.setAttribute(yu,s),a&&a.setAttribute(Ll,this.root.id),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(t,e,r,i)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)])}attachTrueDocEl(){this.el=de.byId(this.id),this.el.setAttribute(Ll,this.root.id)}execNewMounted(){let t=this.binding(d1),e=this.binding(p1);de.all(this.el,`[${t}], [${e}]`,r=>{de.maybeAddPrivateHooks(r,t,e),this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(du)}], [data-phx-${du}]`,r=>{this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(hk)}]`,r=>this.maybeMounted(r))}applyJoinPatch(t,e,r,i){this.attachTrueDocEl();let n=new Id(this,this.el,this.id,e,r,null);if(n.markPrunableContentForRemoval(),this.performPatch(n,!1,!0),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(i),this.applyPendingUpdates(),t){let{kind:o,to:a}=t;this.liveSocket.historyPatch(a,o)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(t,e){this.liveSocket.triggerDOM("onBeforeElUpdated",[t,e]);let r=this.getHook(t),i=r&&de.isIgnored(t,this.binding(qd));if(r&&!t.isEqualNode(e)&&!(i&&iz(t.dataset,e.dataset)))return r.__beforeUpdate(),r}maybeMounted(t){let e=t.getAttribute(this.binding(hk)),r=e&&de.private(t,"mounted");e&&!r&&(this.liveSocket.execJS(t,e),de.putPrivate(t,"mounted",!0))}maybeAddNewHook(t,e){let r=this.addHook(t);r&&r.__mounted()}performPatch(t,e,r=!1){let i=[],n=!1,o=new Set;return t.after("added",a=>{this.liveSocket.triggerDOM("onNodeAdded",[a]);let s=this.binding(d1),l=this.binding(p1);de.maybeAddPrivateHooks(a,s,l),this.maybeAddNewHook(a),a.getAttribute&&this.maybeMounted(a)}),t.after("phxChildAdded",a=>{de.isPhxSticky(a)?this.liveSocket.joinRootViews():n=!0}),t.before("updated",(a,s)=>{this.triggerBeforeUpdateHook(a,s)&&o.add(a.id)}),t.after("updated",a=>{o.has(a.id)&&this.getHook(a).__updated()}),t.after("discarded",a=>{a.nodeType===Node.ELEMENT_NODE&&i.push(a)}),t.after("transitionsDiscarded",a=>this.afterElementsRemoved(a,e)),t.perform(r),this.afterElementsRemoved(i,e),n}afterElementsRemoved(t,e){let r=[];t.forEach(i=>{let n=de.all(i,`[${wo}]`),o=de.all(i,`[${this.binding(du)}]`);n.concat(i).forEach(a=>{let s=this.componentID(a);xo(s)&&r.indexOf(s)===-1&&r.push(s)}),o.concat(i).forEach(a=>{let s=this.getHook(a);s&&this.destroyHook(s)})}),e&&this.maybePushComponentsDestroyed(r)}joinNewChildren(){de.findPhxChildren(this.el,this.id).forEach(t=>this.joinChild(t))}getChildById(t){return this.root.children[this.id][t]}getDescendentByEl(t){return t.id===this.id?this:this.children[t.getAttribute(Rl)][t.id]}destroyDescendent(t){for(let e in this.root.children)for(let r in this.root.children[e])if(r===t)return this.root.children[e][r].destroy()}joinChild(t){if(!this.getChildById(t.id)){let r=new Dk(t,this.liveSocket,this);return this.root.children[this.id][r.id]=r,r.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.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 r=!1;this.rendered.isComponentOnlyDiff(t)?this.liveSocket.time("component patch complete",()=>{de.findParentCIDs(this.el,this.rendered.componentCIDs(t)).forEach(n=>{this.componentPatch(this.rendered.getComponent(t,n),n)&&(r=!0)})}):bk(t)||this.liveSocket.time("full patch complete",()=>{let[i,n]=this.renderContainer(t,"update"),o=new Id(this,this.el,this.id,i,n,null);r=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),r&&this.joinNewChildren()}renderContainer(t,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let r=this.el.tagName,i=t?this.rendered.componentCIDs(t).concat(this.pruningCIDs):null,[n,o]=this.rendered.toString(i);return[`<${r}>${n}</${r}>`,o]})}componentPatch(t,e){if(bk(t))return!1;let[r,i]=this.rendered.componentToString(e),n=new Id(this,this.el,this.id,r,i,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[bu.elementID(t)]}addHook(t){if(bu.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${du}`)||t.getAttribute(this.binding(du));if(e&&!this.ownsElement(t))return;let r=this.liveSocket.getHookCallbacks(e);if(r){t.id||Ii(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let i=new bu(this,t,r);return this.viewHooks[bu.elementID(i.el)]=i,i}else e!==null&&Ii(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[bu.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 r in e)t(this.getChildById(r))}onChannel(t,e){this.liveSocket.onChannel(this.channel,t,r=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(r)]):this.liveSocket.requestDOMUpdate(()=>e(r))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",t=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",t,({diff:e,events:r})=>this.update(e,r))})}),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:r,flash:i}=t,n=this.expandURL(e);this.liveSocket.historyRedirect(n,r,i)}onLivePatch(t){let{to:e,kind:r}=t;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,r)}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([hu,Pd,i1]),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(YM)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([hu,Pd,i1]):this.displayError([hu,Pd,ck]))}displayError(t){this.isMain()&&de.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,r,i=function(){}){if(!this.isConnected())return;let[n,[o],a]=t?t():[null,[],{}],s=function(){};return(a.page_loading||o&&o.getAttribute(this.binding(sk))!==null)&&(s=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof r.cid!="number"&&delete r.cid,this.liveSocket.wrapPush(this,{timeout:!0},()=>this.channel.push(e,r,GM).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),s(),i(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){this.isConnected()&&de.all(document,`[${ga}="${this.id}"][${Ri}="${t}"]`,e=>{let r=e.getAttribute($l),i=e.getAttribute(n1);e.removeAttribute(Ri),e.removeAttribute(ga),i!==null&&(e.readOnly=i==="true",e.removeAttribute(n1)),r!==null&&(e.disabled=r==="true",e.removeAttribute($l)),Qk.forEach(a=>de.removeClass(e,a));let n=e.getAttribute(_d);n!==null&&(e.innerText=n,e.removeAttribute(_d));let o=de.private(e,Ri);if(o){let a=this.triggerBeforeUpdateHook(e,o);Id.patchEl(e,o,this.liveSocket.getActiveElement()),a&&a.__updated(),de.deletePrivate(e,Ri)}})}putRef(t,e,r={}){let i=this.ref++,n=this.binding(O1);return r.loading&&(t=t.concat(de.all(document,r.loading))),t.forEach(o=>{o.classList.add(`phx-${e}-loading`),o.setAttribute(Ri,i),o.setAttribute(ga,this.el.id);let a=o.getAttribute(n);a!==null&&(o.getAttribute(_d)||o.setAttribute(_d,o.innerText),a!==""&&(o.innerText=a),o.setAttribute($l,o.getAttribute($l)||o.disabled),o.setAttribute("disabled",""))}),[i,t,r]}componentID(t){let e=t.getAttribute&&t.getAttribute(wo);return e?parseInt(e):null}targetComponentID(t,e,r={}){if(xo(e))return e;let i=r.target||t.getAttribute(this.binding("target"));return xo(i)?parseInt(i):e&&(i!==null||r.target)?this.closestComponentID(e):null}closestComponentID(t){return xo(t)?t:t?ba(t.closest(`[${wo}]`),e=>this.ownsElement(e)&&this.componentID(e)):null}pushHookEvent(t,e,r,i,n){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",r,i]),!1;let[o,a,s]=this.putRef([t],"hook");return this.pushWithReply(()=>[o,a,s],"event",{type:"hook",event:r,value:i,cid:this.closestComponentID(e)},(l,c)=>n(c,o)),o}extractMeta(t,e,r){let i=this.binding("value-");for(let n=0;n<t.attributes.length;n++){e||(e={});let o=t.attributes[n].name;o.startsWith(i)&&(e[o.replace(i,"")]=t.getAttribute(o))}if(t.value!==void 0&&!(t instanceof HTMLFormElement)&&(e||(e={}),e.value=t.value,t.tagName==="INPUT"&&Ik.indexOf(t.type)>=0&&!t.checked&&delete e.value),r){e||(e={});for(let n in r)e[n]=r[n]}return e}pushEvent(t,e,r,i,n,o={},a){this.pushWithReply(()=>this.putRef([e],t,o),"event",{type:t,event:i,value:this.extractMeta(e,n,o.value),cid:this.targetComponentID(e,r,o)},(s,l)=>a&&a(l))}pushFileProgress(t,e,r,i=function(){}){this.liveSocket.withinOwners(t.form,(n,o)=>{n.pushWithReply(null,"progress",{event:t.getAttribute(n.binding(FM)),ref:t.getAttribute(ko),entry_ref:e,progress:r,cid:n.targetComponentID(t.form,o)},i)})}pushInput(t,e,r,i,n,o){let a,s=xo(r)?r: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=Ld(t.form,oe({_target:n._target},u),[t.name]):c=Ld(t.form,oe({_target:n._target},u)),de.isUploadInput(t)&&t.files&&t.files.length>0&&kr.trackFiles(t,Array.from(t.files)),a=kr.serializeUploads(t);let f={type:"form",event:i,value:c,uploads:a,cid:s};this.pushWithReply(l,"event",f,d=>{if(de.showError(t,this.liveSocket.binding(Dd),this.liveSocket.binding(Nd)),de.isUploadInput(t)&&de.isAutoUpload(t)){if(kr.filesAwaitingPreflight(t).length>0){let[p,O]=l();this.uploadFiles(t.form,e,p,s,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[r,i,n,o]=e;this.cancelSubmit(t),o()}}getScheduledSubmit(t){return this.formSubmits.find(([e,r,i,n])=>e.isSameNode(t))}scheduleSubmit(t,e,r,i){if(this.getScheduledSubmit(t))return!0;this.formSubmits.push([t,e,r,i])}cancelSubmit(t){this.formSubmits=this.formSubmits.filter(([e,r,i])=>e.isSameNode(t)?(this.undoRefs(r),!1):!0)}disableForm(t,e={}){let r=u=>!(vu(u,`${this.binding(qd)}=ignore`,u.form)||vu(u,"data-phx-update=ignore",u.form)),i=u=>u.hasAttribute(this.binding(O1)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),a=Array.from(t.elements),s=a.filter(i),l=a.filter(n).filter(r),c=a.filter(o).filter(r);return l.forEach(u=>{u.setAttribute($l,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(n1,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute($l,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(sk),""),this.putRef([t].concat(s).concat(l).concat(c),"submit",e)}pushFormSubmit(t,e,r,i,n,o){let a=()=>this.disableForm(t,n),s=this.targetComponentID(t,e);if(kr.hasUploadsInProgress(t)){let[l,c]=a(),u=()=>this.pushFormSubmit(t,e,r,i,n,o);return this.scheduleSubmit(t,l,n,u)}else if(kr.inputsAwaitingPreflight(t).length>0){let[l,c]=a(),u=()=>[l,c,n];this.uploadFiles(t,e,l,s,f=>{let d=this.extractMeta(t),p=Ld(t,oe({submitter:i},d));this.pushWithReply(u,"event",{type:"form",event:r,value:p,cid:s},o)})}else if(!(t.hasAttribute(Ri)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=Ld(t,oe({submitter:i},l));this.pushWithReply(a,"event",{type:"form",event:r,value:c,cid:s},o)}}uploadFiles(t,e,r,i,n){let o=this.joinCount,a=kr.activeFileInputs(t),s=a.length;a.forEach(l=>{let c=new kr(l,this,()=>{s--,s===0&&n()});this.uploaders[l]=c;let u=c.entries().map(d=>d.toPreflightPayload()),f={ref:l.getAttribute(ko),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]),d.error){this.undoRefs(r);let[p,O]=d.error;this.log("upload",()=>[`error for entry ${p}`,O])}else{let p=O=>{this.channel.onError(()=>{this.joinCount===o&&O()})};c.initAdapterUpload(d,p,this.liveSocket)}})})}dispatchUploads(t,e,r){let i=this.targetCtxElement(t)||this.el,n=de.findUploadInputs(i).filter(o=>o.name===e);n.length===0?Ii(`no live file inputs found matching the name "${e}"`):n.length>1?Ii(`duplicate live file inputs found matching the name "${e}"`):de.dispatchEvent(n[0],$k,{detail:{files:r}})}targetCtxElement(t){if(xo(t)){let[e]=de.findComponentNodeList(this.el,t);return e}else return t||null}pushFormRecovery(t,e,r){this.liveSocket.withinOwners(t,(i,n)=>{let o=this.binding("change"),a=Array.from(t.elements).filter(c=>de.isFormInput(c)&&c.name&&!c.hasAttribute(o));if(a.length===0)return;a.forEach(c=>c.hasAttribute(ko)&&kr.clearFiles(c));let s=a.find(c=>c.type!=="hidden")||a[0],l=t.getAttribute(this.binding(fk))||t.getAttribute(this.binding("change"));Vr.exec("change",l,i,s,["push",{_target:s.name,newCid:e,callback:r}])})}pushLinkPatch(t,e,r){let i=this.liveSocket.setPendingLink(t),n=e?()=>this.putRef([e],"click"):null,o=()=>this.liveSocket.redirect(window.location.href),a=t.startsWith("/")?`${location.protocol}//${location.host}${t}`:t,s=this.pushWithReply(n,"live_patch",{url:a},l=>{this.liveSocket.requestDOMUpdate(()=>{l.link_redirect?this.liveSocket.replaceMain(t,null,r,i):(this.liveSocket.commitPendingLink(i)&&(this.href=t),this.applyPendingUpdates(),r&&r(i))})});s?s.receive("timeout",o):o()}formsForRecovery(t){if(this.joinCount===0)return[];let e=this.binding("change"),r=document.createElement("template");return r.innerHTML=t,de.all(this.el,`form[${e}]`).filter(i=>i.id&&this.ownsElement(i)).filter(i=>i.elements.length>0).filter(i=>i.getAttribute(this.binding(fk))!=="ignore").map(i=>{let n=CSS.escape(i.getAttribute(e)),o=r.content.querySelector(`form[id="${i.id}"][${e}="${n}"]`);return o?[i,o,this.targetComponentID(o)]:[i,i,this.targetComponentID(i)]}).filter(([i,n,o])=>n)}maybePushComponentsDestroyed(t){let e=t.concat(this.pruningCIDs).filter(r=>de.findComponentNodeList(this.el,r).length===0);this.pruningCIDs=e.concat([]),e.length>0&&(e.forEach(r=>this.rendered.resetRender(r)),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{let r=e.filter(i=>de.findComponentNodeList(this.el,i).length===0);r.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:r},i=>{this.pruningCIDs=this.pruningCIDs.filter(n=>i.cids.indexOf(n)===-1),this.rendered.pruneCIDs(i.cids)})}))}ownsElement(t){let e=t.closest(Ml);return t.getAttribute(Rl)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(t,e,r,i,n={}){de.putPrivate(t,Ud,!0);let o=this.liveSocket.binding(Dd),a=this.liveSocket.binding(Nd),s=Array.from(t.elements);s.forEach(l=>de.putPrivate(l,Ud,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,r,i,n,()=>{s.forEach(l=>de.showError(l,o,a)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}},Nk=class{constructor(t,e,r={}){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,r),this.bindingPrefix=r.bindingPrefix||HM,this.opts=r,this.params=u1(r.params||{}),this.viewLogger=r.viewLogger,this.metadataCallbacks=r.metadata||{},this.defaults=Object.assign(zd(KM),r.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=zd(window.location),this.hooks=r.hooks||{},this.uploaders=r.uploaders||{},this.loaderTimeout=r.loaderTimeout||ZM,this.reloadWithJitterTimer=null,this.maxReloads=r.maxReloads||IM,this.reloadJitterMin=r.reloadJitterMin||LM,this.reloadJitterMax=r.reloadJitterMax||MM,this.failsafeJitter=r.failsafeJitter||zM,this.localStorage=r.localStorage||window.localStorage,this.sessionStorage=r.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.domCallbacks=Object.assign({onNodeAdded:u1(),onBeforeElUpdated:u1()},r.dom||{}),this.transitions=new Pz,window.addEventListener("pagehide",i=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(s1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Ad)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Ad)==="false"}enableDebug(){this.sessionStorage.setItem(Ad,"true")}enableProfiling(){this.sessionStorage.setItem(s1,"true")}disableDebug(){this.sessionStorage.setItem(Ad,"false")}disableProfiling(){this.sessionStorage.removeItem(s1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(l1,t)}disableLatencySim(){this.sessionStorage.removeItem(l1)}getLatencySim(){let t=this.sessionStorage.getItem(l1);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.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,r=null){this.owner(t,i=>Vr.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Vr.exec("hook",e,n,t,["push",{data:r,callback:i}])})}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 r=e();return console.timeEnd(t),r}log(t,e,r){if(this.viewLogger){let[i,n]=r();this.viewLogger(t,e,i,n)}else if(this.isDebugEnabled()){let[i,n]=r();rz(t,e,i,n)}}requestDOMUpdate(t){this.transitions.after(t)}transition(t,e,r=function(){}){this.transitions.addTransition(t,e,r)}onChannel(t,e,r){t.on(e,i=>{let n=this.getLatencySim();n?setTimeout(()=>r(i),n):r(i)})}wrapPush(t,e,r){let i=this.getLatencySim(),n=t.joinCount;if(!i)return this.isConnected()&&e.timeout?r().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"])})}):r();let o={receives:[],receive(a,s){this.receives.push([a,s])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((a,[s,l])=>a.receive(s,l),r())},i),o}reloadWithJitter(t,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let r=this.reloadJitterMin,i=this.reloadJitterMax,n=Math.floor(Math.random()*(i-r+1))+r,o=jn.updateLocal(this.localStorage,window.location.pathname,Ak,0,a=>a+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.")?uz[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 de.all(document,`${Ml}:not([${Rl}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(b1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),jn.redirect(t,e)}replaceMain(t,e,r=null,i=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=de.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((a,s)=>{a===1&&this.commitPendingLink(i)&&this.requestDOMUpdate(()=>{de.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,r&&r(i),s()})})}transitionRemoves(t,e){let r=this.binding("remove");if(t=t||de.all(document,`[${r}]`),e){let i=de.findPhxSticky(document)||[];t=t.filter(n=>!de.isChildOfAny(n,i))}t.forEach(i=>{this.execJS(i,i.getAttribute(r),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(ya)!==null}newRootView(t,e,r){let i=new Dk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=ba(t.closest(Ml),i=>this.getViewByEl(i))||this.main;r&&e(r)}withinOwners(t,e){this.owner(t,r=>e(r,t))}getViewByEl(t){let e=t.getAttribute(Ll);return ba(this.getRootById(e),r=>r.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(Ll));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.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,r,i,n,o,a)=>{let s=n.getAttribute(this.binding(VM)),l=e.key&&e.key.toLowerCase();if(s&&s.toLowerCase()!==l)return;let c=oe({key:e.key},this.eventMeta(r,e,n));Vr.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,a)=>{if(!a){let s=oe({key:e.key},this.eventMeta(r,e,n));Vr.exec(r,o,i,n,["push",{data:s}])}}),this.bind({blur:"blur",focus:"focus"},(e,r,i,n,o,a)=>{if(a==="window"){let s=this.eventMeta(r,e,n);Vr.exec(r,o,i,n,["push",{data:s}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=ba(vu(e.target,this.binding(ok)),o=>o.getAttribute(this.binding(ok))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||(kr.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on($k,e=>{let r=e.target;if(!de.isUploadInput(r))return;let i=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);kr.trackFiles(r,i),r.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(t,e,r){let i=this.metadataCallbacks[t];return i?i(e,r):{}}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 r in t){let i=t[r];this.on(i,n=>{let o=this.binding(r),a=this.binding(`window-${r}`),s=n.target.getAttribute&&n.target.getAttribute(o);s?this.debounce(n.target,n,i,()=>{this.withinOwners(n.target,l=>{e(n,r,l,n.target,s,null)})}):de.all(document,`[${a}]`,l=>{let c=l.getAttribute(a);this.debounce(l,n,i,()=>{this.withinOwners(l,u=>{e(n,r,u,l,c,"window")})})})})}}bindClicks(){window.addEventListener("mousedown",t=>this.clickStartedAtTarget=t.target),this.bindClick("click","click",!1),this.bindClick("mousedown","capture-click",!0)}bindClick(t,e,r){let i=this.binding(e);window.addEventListener(t,n=>{let o=null;if(r)o=n.target.matches(`[${i}]`)?n.target:n.target.querySelector(`[${i}]`);else{n.detail===0&&(this.clickStartedAtTarget=n.target);let s=this.clickStartedAtTarget||n.target;o=vu(s,i),this.dispatchClickAway(n,s),this.clickStartedAtTarget=null}let a=o&&o.getAttribute(i);if(!a){!r&&de.isNewPageClick(n,window.location)&&this.unload();return}o.getAttribute("href")==="#"&&n.preventDefault(),!o.hasAttribute(Ri)&&this.debounce(o,n,"click",()=>{this.withinOwners(o,s=>{Vr.exec("click",a,s,o,["push",{data:this.eventMeta("click",n,o)}])})})},r)}dispatchClickAway(t,e){let r=this.binding("click-away");de.all(document,`[${r}]`,i=>{i.isSameNode(e)||i.contains(e)||this.withinOwners(i,n=>{let o=i.getAttribute(r);Vr.isVisible(i)&&Vr.isInViewport(i)&&Vr.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!jn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{jn.updateCurrentState(r=>Object.assign(r,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:r,id:i,root:n,scroll:o}=e.state||{},a=window.location.href;de.dispatchEvent(window,"phx:navigate",{detail:{href:a,patch:r==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&r==="patch"&&i===this.main.id?this.main.pushLinkPatch(a,null,()=>{this.maybeScroll(o)}):this.replaceMain(a,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let r=vu(e.target,r1),i=r&&r.getAttribute(r1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(NM);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(i==="patch")this.pushHistoryPatch(n,o,r);else if(i==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${r1} to be "patch" or "redirect", got: ${i}`);let a=r.getAttribute(this.binding("click"));a&&this.requestDOMUpdate(()=>this.execJS(r,a,"click"))})},!1)}maybeScroll(t){typeof t=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,t)})}dispatchEvent(t,e={}){de.dispatchEvent(window,`phx:${t}`,{detail:e})}dispatchEvents(t){t.forEach(([e,r])=>this.dispatchEvent(e,r))}withPageLoading(t,e){de.dispatchEvent(window,"phx:page-loading-start",{detail:t});let r=()=>de.dispatchEvent(window,"phx:page-loading-stop",{detail:t});return e?e(r):r}pushHistoryPatch(t,e,r){if(!this.isConnected()||!this.main.isMain())return jn.redirect(t);this.withPageLoading({to:t,kind:"patch"},i=>{this.main.pushLinkPatch(t,r,n=>{this.historyPatch(t,e,n),i()})})}historyPatch(t,e,r=this.setPendingLink(t)){this.commitPendingLink(r)&&(jn.pushState(e,{type:"patch",id:this.main.id},t),de.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,r){if(!this.isConnected()||!this.main.isMain())return jn.redirect(t,r);if(/^\/$|^\/[^\/]+.*$/.test(t)){let{protocol:n,host:o}=window.location;t=`${n}//${o}${t}`}let i=window.scrollY;this.withPageLoading({to:t,kind:"redirect"},n=>{this.replaceMain(t,r,o=>{o===this.linkRef&&(jn.pushState(e,{type:"redirect",id:this.main.id,scroll:i},t),de.dispatchEvent(window,"phx:navigate",{detail:{href:t,patch:!1,pop:!1}}),this.registerNewLocation(window.location)),n()})})}replaceRootHistory(){jn.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(t){let{pathname:e,search:r}=this.currentLocation;return e+r===t.pathname+t.search?!1:(this.currentLocation=zd(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit")),n=r.target.getAttribute(this.binding("change"));!e&&n&&!i&&(e=!0,r.preventDefault(),this.withinOwners(r.target,o=>{o.disableForm(r.target),window.requestAnimationFrame(()=>{de.isUnloadableFormSubmit(r)&&this.unload(),r.target.submit()})}))},!0),this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit"));if(!i){de.isUnloadableFormSubmit(r)&&this.unload();return}r.preventDefault(),r.target.disabled=!0,this.withinOwners(r.target,n=>{Vr.exec("submit",i,n,r.target,["push",{submitter:r.submitter}])})},!1);for(let r of["change","input"])this.on(r,i=>{let n=this.binding("change"),o=i.target,a=o.getAttribute(n),s=o.form&&o.form.getAttribute(n),l=a||s;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=a?o:o.form,u=t;t++;let{at:f,type:d}=de.private(o,"prev-iteration")||{};f===u-1&&r==="change"&&d==="input"||(de.putPrivate(o,"prev-iteration",{at:u,type:r}),this.debounce(o,i,r,()=>{this.withinOwners(c,p=>{de.putPrivate(o,m1,!0),de.isTextualInput(o)||this.setActiveElement(o),Vr.exec("change",l,p,o,["push",{_target:i.target.name,dispatcher:c}])})}))},!1);this.on("reset",r=>{let i=r.target;de.resetForm(i,this.binding(Dd),this.binding(Nd));let n=Array.from(i.elements).find(o=>o.type==="reset");n&&window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,r,i){if(r==="blur"||r==="focusout")return i();let n=this.binding(jM),o=this.binding(WM),a=this.defaults.debounce.toString(),s=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);de.debounce(t,e,n,a,o,s,c,()=>{i()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){window.addEventListener(t,r=>{this.silenced||e(r)})}},Pz=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,r){e();let i=setTimeout(()=>{this.transitions.delete(i),r(),this.flushPendingOps()},t);this.transitions.add(i)}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 Uk="livebook:";function ks(t){try{let e=localStorage.getItem(Uk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function zl(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Uk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var qk="app_auth_token:";function Bk(t,e){zl(qk+t,e)}function jk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ks(qk+e);if(r)return r}return null}var _z={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{Bk(t,e),this.pushEvent("app_auth_persisted")})}},Wk=_z;function $t(t,e){let r={};for(let i of e){let n=`data-p-${i}`;if(!t.hasAttribute(n))throw new Error(`Missing attribute "${n}" on element <${t.tagName}:${t.id}>`);let o=t.getAttribute(n);r[Az(i)]=JSON.parse(o)}return r}function Az(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Vk(t,e,r){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),a=t.byteLength/4,s=4,l=e*s,c=r*l,u=a*l,f=0;function d(w){o.setUint32(f,w,!1),f+=4}function p(w){o.setUint32(f,w,!0),f+=4}function O(w){o.setUint16(f,w,!0),f+=2}function x(w){o.setFloat32(f,w,!0),f+=4}d(1380533830),p(36+u),d(1463899717),d(1718449184),p(16),O(3),O(e),p(r),p(c),O(l),O(s*8),d(1684108385),p(u);let k=new Float32Array(t);for(let w=0;w<k.length;w++)x(k[w]);return n}var xu=4;function Fk(t,e){let i=new TextEncoder().encode(JSON.stringify(t)),n=new ArrayBuffer(xu+i.byteLength+e.byteLength);return new DataView(n).setUint32(0,i.byteLength),new Uint8Array(n,xu,i.byteLength).set(i),new Uint8Array(n,xu+i.byteLength).set(new Uint8Array(e)),n}function Zk(t){let r=new DataView(t).getUint32(0),i=new Uint8Array(t,xu,r),n=t.slice(xu+r),o=new TextDecoder;return[JSON.parse(o.decode(i)),n]}var x1=["bg-yellow-100","border-yellow-300"],Qz={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(...x1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...x1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...x1)}),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 $t(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(i=>{this.loadEncodedAudio(i)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(t){let e=new FileReader;e.onload=r=>{this.loadEncodedAudio(r.target.result)},e.readAsArrayBuffer(t)},loadEncodedAudio(t){this.pushEventTo(this.props.phxTarget,"decoding",{}),new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(t,r=>{let i=$z(r);this.pushAudio(i)})},pushAudio(t){let e={num_channels:t.numChannels,sampling_rate:t.samplingRate},r=this.encodeAudio(t),i=new Blob([r]);i.meta=()=>e,this.uploadTo(this.props.phxTarget,"file",[i])},encodeAudio(t){if(this.props.format==="pcm_f32")return Xz(t.data,this.props.endianness);if(this.props.format==="wav")return Vk(t.data,t.numChannels,t.samplingRate)}};function $z(t){let e=t.numberOfChannels,r=t.sampleRate,i=t.length,n=4*e*i,o=new ArrayBuffer(n),a=new Float32Array(o);for(let s=0;s<e;s++){let l=t.getChannelData(s);for(let c=0;c<l.length;c++)a[e*c+s]=l[c]}return{data:a.buffer,numChannels:e,samplingRate:r}}function Xz(t,e){if(Rz()===e)return t;for(let r=0;r<t.byteLength/4;r++){let i=t[r],n=t[r+1],o=t[r+2],a=t[r+3];t[r]=a,t[r+1]=o,t[r+2]=n,t[r+3]=i}return t}function Rz(){let t=new ArrayBuffer(2),e=new Uint16Array(t),r=new Uint8Array(t);return e[0]=1,r[0]===1?"little":"big"}var Yk=Qz;var Hk=11;function Iz(t,e){var r=e.attributes,i,n,o,a,s;if(!(e.nodeType===Hk||t.nodeType===Hk)){for(var l=r.length-1;l>=0;l--)i=r[l],n=i.name,o=i.namespaceURI,a=i.value,o?(n=i.localName||n,s=t.getAttributeNS(o,n),s!==a&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,a))):(s=t.getAttribute(n),s!==a&&t.setAttribute(n,a));for(var c=t.attributes,u=c.length-1;u>=0;u--)i=c[u],n=i.name,o=i.namespaceURI,o?(n=i.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var Bd,Lz="http://www.w3.org/1999/xhtml",vi=typeof document=="undefined"?void 0:document,Mz=!!vi&&"content"in vi.createElement("template"),zz=!!vi&&vi.createRange&&"createContextualFragment"in vi.createRange();function Dz(t){var e=vi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function Nz(t){Bd||(Bd=vi.createRange(),Bd.selectNode(vi.body));var e=Bd.createContextualFragment(t);return e.childNodes[0]}function Uz(t){var e=vi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function qz(t){return t=t.trim(),Mz?Dz(t):zz?Nz(t):Uz(t)}function jd(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function Bz(t,e){return!e||e===Lz?vi.createElement(t):vi.createElementNS(e,t)}function jz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function w1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var Gk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}w1(t,e,"selected")},INPUT:function(t,e){w1(t,e,"checked"),w1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,a;n;)if(a=n.nodeName&&n.nodeName.toUpperCase(),a==="OPTGROUP")o=n,n=o.firstChild;else{if(a==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},wu=1,Kk=11,Jk=3,e6=8;function va(){}function Wz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function Vz(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=vi.createElement("html"),i.innerHTML=o}else i=qz(i);else i.nodeType===Kk&&(i=i.firstElementChild);var a=n.getNodeKey||Wz,s=n.onBeforeNodeAdded||va,l=n.onNodeAdded||va,c=n.onBeforeElUpdated||va,u=n.onElUpdated||va,f=n.onBeforeNodeDiscarded||va,d=n.onNodeDiscarded||va,p=n.onBeforeElChildrenUpdated||va,O=n.skipFromChildren||va,x=n.addChild||function(ae,pe){return ae.appendChild(pe)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function Q(ae){C.push(ae)}function L(ae,pe){if(ae.nodeType===wu)for(var J=ae.firstChild;J;){var _=void 0;pe&&(_=a(J))?Q(_):(d(J),J.firstChild&&L(J,pe)),J=J.nextSibling}}function N(ae,pe,J){f(ae)!==!1&&(pe&&pe.removeChild(ae),d(ae),L(ae,J))}function I(ae){if(ae.nodeType===wu||ae.nodeType===Kk)for(var pe=ae.firstChild;pe;){var J=a(pe);J&&(w[J]=pe),I(pe),pe=pe.nextSibling}}I(r);function H(ae){l(ae);for(var pe=ae.firstChild;pe;){var J=pe.nextSibling,_=a(pe);if(_){var K=w[_];K&&jd(pe,K)?(pe.parentNode.replaceChild(K,pe),Y(K,pe)):H(pe)}else H(pe);pe=J}}function j(ae,pe,J){for(;pe;){var _=pe.nextSibling;(J=a(pe))?Q(J):N(pe,ae,!0),pe=_}}function Y(ae,pe,J){var _=a(pe);_&&delete w[_],!(!J&&(c(ae,pe)===!1||(t(ae,pe),u(ae),p(ae,pe)===!1)))&&(ae.nodeName!=="TEXTAREA"?V(ae,pe):Gk.TEXTAREA(ae,pe))}function V(ae,pe){var J=O(ae,pe),_=pe.firstChild,K=ae.firstChild,se,q,Je,st,at;e:for(;_;){for(st=_.nextSibling,se=a(_);!J&&K;){if(Je=K.nextSibling,_.isSameNode&&_.isSameNode(K)){_=st,K=Je;continue e}q=a(K);var Ce=K.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===wu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,K),q?Q(q):N(K,ae,!0),K=at,q=a(K)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&jd(K,_),Ze&&Y(K,_)):(Ce===Jk||Ce==e6)&&(Ze=!0,K.nodeValue!==_.nodeValue&&(K.nodeValue=_.nodeValue))),Ze){_=st,K=Je;continue e}q?Q(q):N(K,ae,!0),K=Je}if(se&&(at=w[se])&&jd(at,_))J||x(ae,at),Y(at,_);else{var Rt=s(_);Rt!==!1&&(Rt&&(_=Rt),_.actualize&&(_=_.actualize(ae.ownerDocument||vi)),x(ae,_),H(_))}_=st,K=Je}j(ae,K,q);var ut=Gk[ae.nodeName];ut&&ut(ae,pe)}var ne=r,ue=ne.nodeType,he=i.nodeType;if(!k){if(ue===wu)he===wu?jd(r,i)||(d(r),ne=jz(r,Bz(i.nodeName,i.namespaceURI))):ne=i;else if(ue===Jk||ue===e6){if(he===ue)return ne.nodeValue!==i.nodeValue&&(ne.nodeValue=i.nodeValue),ne;ne=i}}if(ne===i)d(r);else{if(i.isSameNode&&i.isSameNode(ne))return;if(Y(ne,i,k),C)for(var ge=0,ve=C.length;ge<ve;ge++){var _e=w[C[ge]];_e&&N(_e,_e.parentNode,!1)}}return!k&&ne!==r&&r.parentNode&&(ne.actualize&&(ne=ne.actualize(r.ownerDocument||vi)),r.parentNode.replaceChild(ne,r)),ne}}var Fz=Vz(Iz),t6=Fz;function k1(t){if(t)throw t}var Fd=Al(u6(),1);function ku(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 f6(){let t=[],e={run:r,use:i};return e;function r(...n){let o=-1,a=n.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);s(null,...n);function s(l,...c){let u=t[++o],f=-1;if(l){a(l);return}for(;++f<n.length;)(c[f]===null||c[f]===void 0)&&(c[f]=n[f]);n=c,u?Zz(u,s)(...c):a(null,...c)}}function i(n){if(typeof n!="function")throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}}function Zz(t,e){let r;return i;function i(...a){let s=t.length>a.length,l;s&&a.push(n);try{l=t.apply(this,a)}catch(c){let u=c;if(s&&r)throw u;return n(u)}s||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(a,...s){r||(r=!0,e(a,...s))}function o(a){n(null,a)}}function T1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?h6(t.position):"start"in t||"end"in t?h6(t):"line"in t||"column"in t?S1(t):""}function S1(t){return d6(t&&t.line)+":"+d6(t&&t.column)}function h6(t){return S1(t&&t.start)+"-"+S1(t&&t.end)}function d6(t){return t&&typeof t=="number"?t:1}var ur=class extends Error{constructor(e,r,i){super(),typeof r=="string"&&(i=r,r=void 0);let n="",o={},a=!1;if(r&&("line"in r&&"column"in r?o={place:r}:"start"in r&&"end"in r?o={place:r}:"type"in r?o={ancestors:[r],place:r.position}:o=oe({},r)),typeof e=="string"?n=e:!o.cause&&e&&(a=!0,n=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let s=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=s?s.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=s?s.line:void 0,this.name=T1(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=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};ur.prototype.file="";ur.prototype.name="";ur.prototype.reason="";ur.prototype.message="";ur.prototype.stack="";ur.prototype.column=void 0;ur.prototype.line=void 0;ur.prototype.ancestors=void 0;ur.prototype.cause=void 0;ur.prototype.fatal=void 0;ur.prototype.place=void 0;ur.prototype.ruleId=void 0;ur.prototype.source=void 0;var bn={basename:Yz,dirname:Hz,extname:Gz,join:Kz,sep:"/"};function Yz(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Su(t);let r=0,i=-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){r=n+1;break}}else i<0&&(o=!0,i=n+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let a=-1,s=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else a<0&&(o=!0,a=n+1),s>-1&&(t.codePointAt(n)===e.codePointAt(s--)?s<0&&(i=n):(s=-1,i=a));return r===i?i=a:i<0&&(i=t.length),t.slice(r,i)}function Hz(t){if(Su(t),t.length===0)return".";let e=-1,r=t.length,i;for(;--r;)if(t.codePointAt(r)===47){if(i){e=r;break}}else i||(i=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function Gz(t){Su(t);let e=t.length,r=-1,i=0,n=-1,o=0,a;for(;e--;){let s=t.codePointAt(e);if(s===47){if(a){i=e+1;break}continue}r<0&&(a=!0,r=e+1),s===46?n<0?n=e:o!==1&&(o=1):n>-1&&(o=-1)}return n<0||r<0||o===0||o===1&&n===r-1&&n===i+1?"":t.slice(n,r)}function Kz(...t){let e=-1,r;for(;++e<t.length;)Su(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":Jz(r)}function Jz(t){Su(t);let e=t.codePointAt(0)===47,r=eD(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function eD(t,e){let r="",i=0,n=-1,o=0,a=-1,s,l;for(;++a<=t.length;){if(a<t.length)s=t.codePointAt(a);else{if(s===47)break;s=47}if(s===47){if(!(n===a-1||o===1))if(n!==a-1&&o===2){if(r.length<2||i!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",i=0):(r=r.slice(0,l),i=r.length-1-r.lastIndexOf("/")),n=a,o=0;continue}}else if(r.length>0){r="",i=0,n=a,o=0;continue}}e&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+t.slice(n+1,a):r=t.slice(n+1,a),i=a-n-1;n=a,o=0}else s===46&&o>-1?o++:o=-1}return r}function Su(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var p6={cwd:tD};function tD(){return"/"}function Dl(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function m6(t){if(typeof t=="string")t=new URL(t);else if(!Dl(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 rD(t)}function rD(t){if(t.hostname!==""){let i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let e=t.pathname,r=-1;for(;++r<e.length;)if(e.codePointAt(r)===37&&e.codePointAt(r+1)===50){let i=e.codePointAt(r+2);if(i===70||i===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 E1=["history","path","basename","stem","extname","dirname"],xa=class{constructor(e){let r;e?Dl(e)?r={path:e}:typeof e=="string"||iD(e)?r={value:e}:r=e:r={},this.cwd=p6.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<E1.length;){let o=E1[i];o in r&&r[o]!==void 0&&r[o]!==null&&(this[o]=o==="history"?[...r[o]]:r[o])}let n;for(n in r)E1.includes(n)||(this[n]=r[n])}get basename(){return typeof this.path=="string"?bn.basename(this.path):void 0}set basename(e){P1(e,"basename"),C1(e,"basename"),this.path=bn.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?bn.dirname(this.path):void 0}set dirname(e){O6(this.basename,"dirname"),this.path=bn.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?bn.extname(this.path):void 0}set extname(e){if(C1(e,"extname"),O6(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=bn.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Dl(e)&&(e=m6(e)),P1(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?bn.basename(this.path,this.extname):void 0}set stem(e){P1(e,"stem"),C1(e,"stem"),this.path=bn.join(this.dirname||"",e+(this.extname||""))}fail(e,r,i){let n=this.message(e,r,i);throw n.fatal=!0,n}info(e,r,i){let n=this.message(e,r,i);return n.fatal=void 0,n}message(e,r,i){let n=new ur(e,r,i);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 C1(t,e){if(t&&t.includes(bn.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+bn.sep+"`")}function P1(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function O6(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function iD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var g6=function(t){let i=this.constructor.prototype,n=i[t],o=function(){return n.apply(o,arguments)};Object.setPrototypeOf(o,i);let a=Object.getOwnPropertyNames(n);for(let s of a){let l=Object.getOwnPropertyDescriptor(n,s);l&&Object.defineProperty(o,s,l)}return o};var nD={}.hasOwnProperty,$1=class t extends g6{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=f6()}copy(){let e=new t,r=-1;for(;++r<this.attachers.length;){let i=this.attachers[r];e.use(...i)}return e.data((0,Fd.default)(!0,{},this.namespace)),e}data(e,r){return typeof e=="string"?arguments.length===2?(Q1("data",this.frozen),this.namespace[e]=r,this):nD.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Q1("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[r,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);let n=r.call(e,...i);typeof n=="function"&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let r=Vd(e),i=this.parser||this.Parser;return _1("parse",i),i(String(r),r)}process(e,r){let i=this;return this.freeze(),_1("process",this.parser||this.Parser),A1("process",this.compiler||this.Compiler),r?n(void 0,r):new Promise(n);function n(o,a){let s=Vd(e),l=i.parse(s);i.run(l,s,function(u,f,d){if(u||!f||!d)return c(u);let p=f,O=i.stringify(p,d);aD(O)?d.value=O:d.result=O,c(u,d)});function c(u,f){u||!f?a(u):o?o(f):r(void 0,f)}}}processSync(e){let r=!1,i;return this.freeze(),_1("processSync",this.parser||this.Parser),A1("processSync",this.compiler||this.Compiler),this.process(e,n),y6("processSync","process",r),i;function n(o,a){r=!0,k1(o),i=a}}run(e,r,i){b6(e),this.freeze();let n=this.transformers;return!i&&typeof r=="function"&&(i=r,r=void 0),i?o(void 0,i):new Promise(o);function o(a,s){let l=Vd(r);n.run(e,l,c);function c(u,f,d){let p=f||e;u?s(u):a?a(p):i(void 0,p,d)}}}runSync(e,r){let i=!1,n;return this.run(e,r,o),y6("runSync","run",i),n;function o(a,s){k1(a),n=s,i=!0}}stringify(e,r){this.freeze();let i=Vd(r),n=this.compiler||this.Compiler;return A1("stringify",n),b6(e),n(e,i)}use(e,...r){let i=this.attachers,n=this.namespace;if(Q1("use",this.frozen),e!=null)if(typeof e=="function")l(e,r);else if(typeof e=="object")Array.isArray(e)?s(e):a(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 a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(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");s(c.plugins),c.settings&&(n.settings=(0,Fd.default)(!0,n.settings,c.settings))}function s(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<i.length;)if(i[f][0]===c){d=f;break}if(d===-1)i.push([c,...u]);else if(u.length>0){let[p,...O]=u,x=i[d][1];ku(x)&&ku(p)&&(p=(0,Fd.default)(!0,x,p)),i[d]=[c,p,...O]}}}},Zd=new $1().freeze();function _1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function A1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Q1(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 b6(t){if(!ku(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function y6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Vd(t){return oD(t)?t:new xa(t)}function oD(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function aD(t){return typeof t=="string"||sD(t)}function sD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var lD={};function X1(t,e){let r=e||lD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return x6(t,i,n)}function x6(t,e,r){if(cD(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return v6(t.children,e,r)}return Array.isArray(t)?v6(t,e,r):""}function v6(t,e,r){let i=[],n=-1;for(;++n<t.length;)i[n]=x6(t[n],e,r);return i.join("")}function cD(t){return!!(t&&typeof t=="object")}function Xr(t,e,r,i){let n=t.length,o=0,a;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o<i.length;)a=i.slice(o,o+1e4),a.unshift(e,0),t.splice(...a),o+=1e4,e+=1e4}function ai(t,e){return t.length>0?(Xr(t,t.length,0,e),t):e}var w6={}.hasOwnProperty;function k6(t){let e={},r=-1;for(;++r<t.length;)uD(e,t[r]);return e}function uD(t,e){let r;for(r in e){let n=(w6.call(t,r)?t[r]:void 0)||(t[r]={}),o=e[r],a;if(o)for(a in o){w6.call(n,a)||(n[a]=[]);let s=o[a];fD(n[a],Array.isArray(s)?s:s?[s]:[])}}}function fD(t,e){let r=-1,i=[];for(;++r<e.length;)(e[r].add==="after"?t:i).push(e[r]);Xr(t,0,0,i)}function Yd(t,e){let r=Number.parseInt(t,e);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCharCode(r)}function So(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var hD=wa(new RegExp("\\p{P}","u")),Li=wa(/[A-Za-z]/),si=wa(/[\dA-Za-z]/),S6=wa(/[#-'*+\--9=?A-Z^-~]/);function Tu(t){return t!==null&&(t<32||t===127)}var Eu=wa(/\d/),T6=wa(/[\dA-Fa-f]/),R1=wa(/[!-/:-@[-`{-~]/);function ze(t){return t!==null&&t<-2}function ar(t){return t!==null&&(t<0||t===32)}function tt(t){return t===-2||t===-1||t===32}function E6(t){return R1(t)||hD(t)}var C6=wa(/\s/);function wa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function rt(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return tt(l)?(t.enter(r),s(l)):e(l)}function s(l){return tt(l)&&o++<n?(t.consume(l),s):(t.exit(r),e(l))}}var P6={tokenize:dD};function dD(t){let e=t.attempt(this.parser.constructs.contentInitial,i,n),r;return e;function i(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),rt(t,e,"linePrefix")}function n(s){return t.enter("paragraph"),o(s)}function o(s){let l=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,a(s)}function a(s){if(s===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(s);return}return ze(s)?(t.consume(s),t.exit("chunkText"),o):(t.consume(s),a)}}var A6={tokenize:pD},_6={tokenize:mD};function pD(t){let e=this,r=[],i=0,n,o,a;return s;function s(Q){if(i<r.length){let L=r[i];return e.containerState=L[1],t.attempt(L[0].continuation,l,c)(Q)}return c(Q)}function l(Q){if(i++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,n&&C();let L=e.events.length,N=L,I;for(;N--;)if(e.events[N][0]==="exit"&&e.events[N][1].type==="chunkFlow"){I=e.events[N][1].end;break}w(i);let H=L;for(;H<e.events.length;)e.events[H][1].end=Object.assign({},I),H++;return Xr(e.events,N+1,0,e.events.slice(L)),e.events.length=H,c(Q)}return s(Q)}function c(Q){if(i===r.length){if(!n)return d(Q);if(n.currentConstruct&&n.currentConstruct.concrete)return O(Q);e.interrupt=!!(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(_6,u,f)(Q)}function u(Q){return n&&C(),w(i),d(Q)}function f(Q){return e.parser.lazy[e.now().line]=i!==r.length,a=e.now().offset,O(Q)}function d(Q){return e.containerState={},t.attempt(_6,p,O)(Q)}function p(Q){return i++,r.push([e.currentConstruct,e.containerState]),d(Q)}function O(Q){if(Q===null){n&&C(),w(0),t.consume(Q);return}return n=n||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),x(Q)}function x(Q){if(Q===null){k(t.exit("chunkFlow"),!0),w(0),t.consume(Q);return}return ze(Q)?(t.consume(Q),k(t.exit("chunkFlow")),i=0,e.interrupt=void 0,s):(t.consume(Q),x)}function k(Q,L){let N=e.sliceStream(Q);if(L&&N.push(null),Q.previous=o,o&&(o.next=Q),o=Q,n.defineSkip(Q.start),n.write(N),e.parser.lazy[Q.start.line]){let I=n.events.length;for(;I--;)if(n.events[I][1].start.offset<a&&(!n.events[I][1].end||n.events[I][1].end.offset>a))return;let H=e.events.length,j=H,Y,V;for(;j--;)if(e.events[j][0]==="exit"&&e.events[j][1].type==="chunkFlow"){if(Y){V=e.events[j][1].end;break}Y=!0}for(w(i),I=H;I<e.events.length;)e.events[I][1].end=Object.assign({},V),I++;Xr(e.events,j+1,0,e.events.slice(H)),e.events.length=I}}function w(Q){let L=r.length;for(;L-- >Q;){let N=r[L];e.containerState=N[1],N[0].exit.call(e,t)}r.length=Q}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function mD(t,e,r){return rt(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I1(t){if(t===null||ar(t)||C6(t))return 1;if(E6(t))return 2}function Nl(t,e,r){let i=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!i.includes(o)&&(e=o(e,r),i.push(o))}return e}var Cu={name:"attention",tokenize:gD,resolveAll:OD};function OD(t,e){let r=-1,i,n,o,a,s,l,c,u;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(i=r;i--;)if(t[i][0]==="exit"&&t[i][1].type==="attentionSequence"&&t[i][1]._open&&e.sliceSerialize(t[i][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[i][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[i][1].end.offset-t[i][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;l=t[i][1].end.offset-t[i][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let f=Object.assign({},t[i][1].end),d=Object.assign({},t[r][1].start);Q6(f,-l),Q6(d,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[i][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[r][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[r][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},t[i][1].end=Object.assign({},a.start),t[r][1].start=Object.assign({},s.end),c=[],t[i][1].end.offset-t[i][1].start.offset&&(c=ai(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ai(c,[["enter",n,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=ai(c,Nl(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ai(c,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",n,e]]),t[r][1].end.offset-t[r][1].start.offset?(u=2,c=ai(c,[["enter",t[r][1],e],["exit",t[r][1],e]])):u=0,Xr(t,i-1,r-i+3,c),r=i+c.length-u-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function gD(t,e){let r=this.parser.constructs.attentionMarkers.null,i=this.previous,n=I1(i),o;return a;function a(l){return o=l,t.enter("attentionSequence"),s(l)}function s(l){if(l===o)return t.consume(l),s;let c=t.exit("attentionSequence"),u=I1(l),f=!u||u===2&&n||r.includes(l),d=!n||n===2&&u||r.includes(i);return c._open=!!(o===42?f:f&&(n||!d)),c._close=!!(o===42?d:d&&(u||!f)),e(l)}}function Q6(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var L1={name:"autolink",tokenize:bD};function bD(t,e,r){let i=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 Li(p)?(t.consume(p),a):c(p)}function a(p){return p===43||p===45||p===46||si(p)?(i=1,s(p)):c(p)}function s(p){return p===58?(t.consume(p),i=0,l):(p===43||p===45||p===46||si(p))&&i++<32?(t.consume(p),s):(i=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||Tu(p)?r(p):(t.consume(p),l)}function c(p){return p===64?(t.consume(p),u):S6(p)?(t.consume(p),c):r(p)}function u(p){return si(p)?f(p):r(p)}function f(p){return p===46?(t.consume(p),i=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||si(p))&&i++<63){let O=p===45?d:f;return t.consume(p),O}return r(p)}}var ka={tokenize:yD,partial:!0};function yD(t,e,r){return i;function i(o){return tt(o)?rt(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||ze(o)?e(o):r(o)}}var Hd={name:"blockQuote",tokenize:vD,continuation:{tokenize:xD},exit:wD};function vD(t,e,r){let i=this;return n;function n(a){if(a===62){let s=i.containerState;return s.open||(t.enter("blockQuote",{_container:!0}),s.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(a),t.exit("blockQuoteMarker"),o}return r(a)}function o(a){return tt(a)?(t.enter("blockQuotePrefixWhitespace"),t.consume(a),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(a))}}function xD(t,e,r){let i=this;return n;function n(a){return tt(a)?rt(t,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return t.attempt(Hd,e,r)(a)}}function wD(t){t.exit("blockQuote")}var Gd={name:"characterEscape",tokenize:kD};function kD(t,e,r){return i;function i(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),n}function n(o){return R1(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(o)}}var Kd={name:"characterReference",tokenize:SD};function SD(t,e,r){let i=this,n=0,o,a;return s;function s(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,a=si,u(f))}function c(f){return f===88||f===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(f),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,a=T6,u):(t.enter("characterReferenceValue"),o=7,a=Eu,u(f))}function u(f){if(f===59&&n){let d=t.exit("characterReferenceValue");return a===si&&!Ql(i.sliceSerialize(d))?r(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return a(f)&&n++<o?(t.consume(f),u):r(f)}}var $6={tokenize:ED,partial:!0},Jd={name:"codeFenced",tokenize:TD,concrete:!0};function TD(t,e,r){let i=this,n={tokenize:N,partial:!0},o=0,a=0,s;return l;function l(I){return c(I)}function c(I){let H=i.events[i.events.length-1];return o=H&&H[1].type==="linePrefix"?H[2].sliceSerialize(H[1],!0).length:0,s=I,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(I)}function u(I){return I===s?(a++,t.consume(I),u):a<3?r(I):(t.exit("codeFencedFenceSequence"),tt(I)?rt(t,f,"whitespace")(I):f(I))}function f(I){return I===null||ze(I)?(t.exit("codeFencedFence"),i.interrupt?e(I):t.check($6,x,L)(I)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),d(I))}function d(I){return I===null||ze(I)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f(I)):tt(I)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),rt(t,p,"whitespace")(I)):I===96&&I===s?r(I):(t.consume(I),d)}function p(I){return I===null||ze(I)?f(I):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),O(I))}function O(I){return I===null||ze(I)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f(I)):I===96&&I===s?r(I):(t.consume(I),O)}function x(I){return t.attempt(n,L,k)(I)}function k(I){return t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),w}function w(I){return o>0&&tt(I)?rt(t,C,"linePrefix",o+1)(I):C(I)}function C(I){return I===null||ze(I)?t.check($6,x,L)(I):(t.enter("codeFlowValue"),Q(I))}function Q(I){return I===null||ze(I)?(t.exit("codeFlowValue"),C(I)):(t.consume(I),Q)}function L(I){return t.exit("codeFenced"),e(I)}function N(I,H,j){let Y=0;return V;function V(ve){return I.enter("lineEnding"),I.consume(ve),I.exit("lineEnding"),ne}function ne(ve){return I.enter("codeFencedFence"),tt(ve)?rt(I,ue,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):ue(ve)}function ue(ve){return ve===s?(I.enter("codeFencedFenceSequence"),he(ve)):j(ve)}function he(ve){return ve===s?(Y++,I.consume(ve),he):Y>=a?(I.exit("codeFencedFenceSequence"),tt(ve)?rt(I,ge,"whitespace")(ve):ge(ve)):j(ve)}function ge(ve){return ve===null||ze(ve)?(I.exit("codeFencedFence"),H(ve)):j(ve)}}}function ED(t,e,r){let i=this;return n;function n(a){return a===null?r(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?r(a):e(a)}}var Pu={name:"codeIndented",tokenize:PD},CD={tokenize:_D,partial:!0};function PD(t,e,r){let i=this;return n;function n(c){return t.enter("codeIndented"),rt(t,o,"linePrefix",5)(c)}function o(c){let u=i.events[i.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?a(c):r(c)}function a(c){return c===null?l(c):ze(c)?t.attempt(CD,a,l)(c):(t.enter("codeFlowValue"),s(c))}function s(c){return c===null||ze(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),s)}function l(c){return t.exit("codeIndented"),e(c)}}function _D(t,e,r){let i=this;return n;function n(a){return i.parser.lazy[i.now().line]?r(a):ze(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),n):rt(t,o,"linePrefix",5)(a)}function o(a){let s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):ze(a)?n(a):r(a)}}var M1={name:"codeText",tokenize:$D,resolve:AD,previous:QD};function AD(t){let e=t.length-4,r=3,i,n;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(i=r;++i<e;)if(t[i][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(i=r-1,e++;++i<=e;)n===void 0?i!==e&&t[i][1].type!=="lineEnding"&&(n=i):(i===e||t[i][1].type==="lineEnding")&&(t[n][1].type="codeTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),e-=i-n-2,i=n+2),n=void 0);return t}function QD(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function $D(t,e,r){let i=this,n=0,o,a;return s;function s(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?r(d):d===32?(t.enter("space"),t.consume(d),t.exit("space"),c):d===96?(a=t.enter("codeTextSequence"),o=0,f(d)):ze(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||ze(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)):(a.type="codeTextData",u(d))}}function e0(t){let e={},r=-1,i,n,o,a,s,l,c;for(;++r<t.length;){for(;r in e;)r=e[r];if(i=t[r],r&&i[1].type==="chunkFlow"&&t[r-1][1].type==="listItemPrefix"&&(l=i[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(i[0]==="enter")i[1].contentType&&(Object.assign(e,XD(t,r)),r=e[r],c=!0);else if(i[1]._container){for(o=r,n=void 0;o--&&(a=t[o],a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(n&&(t[n][1].type="lineEndingBlank"),a[1].type="lineEnding",n=o);n&&(i[1].end=Object.assign({},t[n][1].start),s=t.slice(n,r),s.unshift(i),Xr(t,n,r-n+1,s))}}return!c}function XD(t,e){let r=t[e][1],i=t[e][2],n=e-1,o=[],a=r._tokenizer||i.parser[r.contentType](r.start),s=a.events,l=[],c={},u,f,d=-1,p=r,O=0,x=0,k=[x];for(;p;){for(;t[++n][1]!==p;);o.push(n),p._tokenizer||(u=i.sliceStream(p),p.next||u.push(null),f&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=r;++d<s.length;)s[d][0]==="exit"&&s[d-1][0]==="enter"&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(x=d+1,k.push(x),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):k.pop(),d=k.length;d--;){let w=s.slice(k[d],k[d+1]),C=o.pop();l.unshift([C,C+w.length-1]),Xr(t,C,2,w)}for(d=-1;++d<l.length;)c[O+l[d][0]]=O+l[d][1],O+=l[d][1]-l[d][0]-1;return c}var z1={tokenize:LD,resolve:ID},RD={tokenize:MD,partial:!0};function ID(t){return e0(t),t}function LD(t,e){let r;return i;function i(s){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),n(s)}function n(s){return s===null?o(s):ze(s)?t.check(RD,a,o)(s):(t.consume(s),n)}function o(s){return t.exit("chunkContent"),t.exit("content"),e(s)}function a(s){return t.consume(s),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}}function MD(t,e,r){let i=this;return n;function n(a){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),rt(t,o,"linePrefix")}function o(a){if(a===null||ze(a))return r(a);let s=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):t.interrupt(i.parser.constructs.flow,r,e)(a)}}function t0(t,e,r,i,n,o,a,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(w){return w===60?(t.enter(i),t.enter(n),t.enter(o),t.consume(w),t.exit(o),d):w===null||w===32||w===41||Tu(w)?r(w):(t.enter(i),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),x(w))}function d(w){return w===62?(t.enter(o),t.consume(w),t.exit(o),t.exit(n),t.exit(i),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(t.exit("chunkString"),t.exit(s),d(w)):w===null||w===60||ze(w)?r(w):(t.consume(w),w===92?O:p)}function O(w){return w===60||w===62||w===92?(t.consume(w),p):p(w)}function x(w){return!u&&(w===null||w===41||ar(w))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(i),e(w)):u<c&&w===40?(t.consume(w),u++,x):w===41?(t.consume(w),u--,x):w===null||w===32||w===40||Tu(w)?r(w):(t.consume(w),w===92?k:x)}function k(w){return w===40||w===41||w===92?(t.consume(w),x):x(w)}}function r0(t,e,r,i,n,o){let a=this,s=0,l;return c;function c(p){return t.enter(i),t.enter(n),t.consume(p),t.exit(n),t.enter(o),u}function u(p){return s>999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?r(p):p===93?(t.exit(o),t.enter(n),t.consume(p),t.exit(n),t.exit(i),e):ze(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||ze(p)||s++>999?(t.exit("chunkString"),u(p)):(t.consume(p),l||(l=!tt(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(t.consume(p),s++,f):f(p)}}function i0(t,e,r,i,n,o){let a;return s;function s(d){return d===34||d===39||d===40?(t.enter(i),t.enter(n),t.consume(d),t.exit(n),a=d===40?41:d,l):r(d)}function l(d){return d===a?(t.enter(n),t.consume(d),t.exit(n),t.exit(i),e):(t.enter(o),c(d))}function c(d){return d===a?(t.exit(o),l(a)):d===null?r(d):ze(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),rt(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===a||d===null||ze(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===a||d===92?(t.consume(d),u):u(d)}}function Ss(t,e){let r;return i;function i(n){return ze(n)?(t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),r=!0,i):tt(n)?rt(t,i,r?"linePrefix":"lineSuffix")(n):e(n)}}var D1={name:"definition",tokenize:DD},zD={tokenize:ND,partial:!0};function DD(t,e,r){let i=this,n;return o;function o(p){return t.enter("definition"),a(p)}function a(p){return r0.call(i,t,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return n=So(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):r(p)}function l(p){return ar(p)?Ss(t,c)(p):c(p)}function c(p){return t0(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(zD,f,f)(p)}function f(p){return tt(p)?rt(t,d,"whitespace")(p):d(p)}function d(p){return p===null||ze(p)?(t.exit("definition"),i.parser.defined.push(n),e(p)):r(p)}}function ND(t,e,r){return i;function i(s){return ar(s)?Ss(t,n)(s):r(s)}function n(s){return i0(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return tt(s)?rt(t,a,"whitespace")(s):a(s)}function a(s){return s===null||ze(s)?e(s):r(s)}}var N1={name:"hardBreakEscape",tokenize:UD};function UD(t,e,r){return i;function i(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return ze(o)?(t.exit("hardBreakEscape"),e(o)):r(o)}}var U1={name:"headingAtx",tokenize:BD,resolve:qD};function qD(t,e){let r=t.length-2,i=3,n,o;return t[i][1].type==="whitespace"&&(i+=2),r-2>i&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(i===r-1||r-4>i&&t[r-2][1].type==="whitespace")&&(r-=i+1===r?2:4),r>i&&(n={type:"atxHeadingText",start:t[i][1].start,end:t[r][1].end},o={type:"chunkText",start:t[i][1].start,end:t[r][1].end,contentType:"text"},Xr(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function BD(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&i++<6?(t.consume(u),a):u===null||ar(u)?(t.exit("atxHeadingSequence"),s(u)):r(u)}function s(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||ze(u)?(t.exit("atxHeading"),e(u)):tt(u)?rt(t,s,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||ar(u)?(t.exit("atxHeadingText"),s(u)):(t.consume(u),c)}}var X6=["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"],q1=["pre","script","style","textarea"];var B1={name:"htmlFlow",tokenize:FD,resolveTo:VD,concrete:!0},jD={tokenize:YD,partial:!0},WD={tokenize:ZD,partial:!0};function VD(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 FD(t,e,r){let i=this,n,o,a,s,l;return c;function c(q){return u(q)}function u(q){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(q),f}function f(q){return q===33?(t.consume(q),d):q===47?(t.consume(q),o=!0,x):q===63?(t.consume(q),n=3,i.interrupt?e:_):Li(q)?(t.consume(q),a=String.fromCharCode(q),k):r(q)}function d(q){return q===45?(t.consume(q),n=2,p):q===91?(t.consume(q),n=5,s=0,O):Li(q)?(t.consume(q),n=4,i.interrupt?e:_):r(q)}function p(q){return q===45?(t.consume(q),i.interrupt?e:_):r(q)}function O(q){let Je="CDATA[";return q===Je.charCodeAt(s++)?(t.consume(q),s===Je.length?i.interrupt?e:ue:O):r(q)}function x(q){return Li(q)?(t.consume(q),a=String.fromCharCode(q),k):r(q)}function k(q){if(q===null||q===47||q===62||ar(q)){let Je=q===47,st=a.toLowerCase();return!Je&&!o&&q1.includes(st)?(n=1,i.interrupt?e(q):ue(q)):X6.includes(a.toLowerCase())?(n=6,Je?(t.consume(q),w):i.interrupt?e(q):ue(q)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(q):o?C(q):Q(q))}return q===45||si(q)?(t.consume(q),a+=String.fromCharCode(q),k):r(q)}function w(q){return q===62?(t.consume(q),i.interrupt?e:ue):r(q)}function C(q){return tt(q)?(t.consume(q),C):V(q)}function Q(q){return q===47?(t.consume(q),V):q===58||q===95||Li(q)?(t.consume(q),L):tt(q)?(t.consume(q),Q):V(q)}function L(q){return q===45||q===46||q===58||q===95||si(q)?(t.consume(q),L):N(q)}function N(q){return q===61?(t.consume(q),I):tt(q)?(t.consume(q),N):Q(q)}function I(q){return q===null||q===60||q===61||q===62||q===96?r(q):q===34||q===39?(t.consume(q),l=q,H):tt(q)?(t.consume(q),I):j(q)}function H(q){return q===l?(t.consume(q),l=null,Y):q===null||ze(q)?r(q):(t.consume(q),H)}function j(q){return q===null||q===34||q===39||q===47||q===60||q===61||q===62||q===96||ar(q)?N(q):(t.consume(q),j)}function Y(q){return q===47||q===62||tt(q)?Q(q):r(q)}function V(q){return q===62?(t.consume(q),ne):r(q)}function ne(q){return q===null||ze(q)?ue(q):tt(q)?(t.consume(q),ne):r(q)}function ue(q){return q===45&&n===2?(t.consume(q),_e):q===60&&n===1?(t.consume(q),ae):q===62&&n===4?(t.consume(q),K):q===63&&n===3?(t.consume(q),_):q===93&&n===5?(t.consume(q),J):ze(q)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(jD,se,he)(q)):q===null||ze(q)?(t.exit("htmlFlowData"),he(q)):(t.consume(q),ue)}function he(q){return t.check(WD,ge,se)(q)}function ge(q){return t.enter("lineEnding"),t.consume(q),t.exit("lineEnding"),ve}function ve(q){return q===null||ze(q)?he(q):(t.enter("htmlFlowData"),ue(q))}function _e(q){return q===45?(t.consume(q),_):ue(q)}function ae(q){return q===47?(t.consume(q),a="",pe):ue(q)}function pe(q){if(q===62){let Je=a.toLowerCase();return q1.includes(Je)?(t.consume(q),K):ue(q)}return Li(q)&&a.length<8?(t.consume(q),a+=String.fromCharCode(q),pe):ue(q)}function J(q){return q===93?(t.consume(q),_):ue(q)}function _(q){return q===62?(t.consume(q),K):q===45&&n===2?(t.consume(q),_):ue(q)}function K(q){return q===null||ze(q)?(t.exit("htmlFlowData"),se(q)):(t.consume(q),K)}function se(q){return t.exit("htmlFlow"),e(q)}}function ZD(t,e,r){let i=this;return n;function n(a){return ze(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):r(a)}function o(a){return i.parser.lazy[i.now().line]?r(a):e(a)}}function YD(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(ka,e,r)}}var j1={name:"htmlText",tokenize:HD};function HD(t,e,r){let i=this,n,o,a;return s;function s(_){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(_),l}function l(_){return _===33?(t.consume(_),c):_===47?(t.consume(_),N):_===63?(t.consume(_),Q):Li(_)?(t.consume(_),j):r(_)}function c(_){return _===45?(t.consume(_),u):_===91?(t.consume(_),o=0,O):Li(_)?(t.consume(_),C):r(_)}function u(_){return _===45?(t.consume(_),p):r(_)}function f(_){return _===null?r(_):_===45?(t.consume(_),d):ze(_)?(a=f,ae(_)):(t.consume(_),f)}function d(_){return _===45?(t.consume(_),p):f(_)}function p(_){return _===62?_e(_):_===45?d(_):f(_)}function O(_){let K="CDATA[";return _===K.charCodeAt(o++)?(t.consume(_),o===K.length?x:O):r(_)}function x(_){return _===null?r(_):_===93?(t.consume(_),k):ze(_)?(a=x,ae(_)):(t.consume(_),x)}function k(_){return _===93?(t.consume(_),w):x(_)}function w(_){return _===62?_e(_):_===93?(t.consume(_),w):x(_)}function C(_){return _===null||_===62?_e(_):ze(_)?(a=C,ae(_)):(t.consume(_),C)}function Q(_){return _===null?r(_):_===63?(t.consume(_),L):ze(_)?(a=Q,ae(_)):(t.consume(_),Q)}function L(_){return _===62?_e(_):Q(_)}function N(_){return Li(_)?(t.consume(_),I):r(_)}function I(_){return _===45||si(_)?(t.consume(_),I):H(_)}function H(_){return ze(_)?(a=H,ae(_)):tt(_)?(t.consume(_),H):_e(_)}function j(_){return _===45||si(_)?(t.consume(_),j):_===47||_===62||ar(_)?Y(_):r(_)}function Y(_){return _===47?(t.consume(_),_e):_===58||_===95||Li(_)?(t.consume(_),V):ze(_)?(a=Y,ae(_)):tt(_)?(t.consume(_),Y):_e(_)}function V(_){return _===45||_===46||_===58||_===95||si(_)?(t.consume(_),V):ne(_)}function ne(_){return _===61?(t.consume(_),ue):ze(_)?(a=ne,ae(_)):tt(_)?(t.consume(_),ne):Y(_)}function ue(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(t.consume(_),n=_,he):ze(_)?(a=ue,ae(_)):tt(_)?(t.consume(_),ue):(t.consume(_),ge)}function he(_){return _===n?(t.consume(_),n=void 0,ve):_===null?r(_):ze(_)?(a=he,ae(_)):(t.consume(_),he)}function ge(_){return _===null||_===34||_===39||_===60||_===61||_===96?r(_):_===47||_===62||ar(_)?Y(_):(t.consume(_),ge)}function ve(_){return _===47||_===62||ar(_)?Y(_):r(_)}function _e(_){return _===62?(t.consume(_),t.exit("htmlTextData"),t.exit("htmlText"),e):r(_)}function ae(_){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(_),t.exit("lineEnding"),pe}function pe(_){return tt(_)?rt(t,J,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):J(_)}function J(_){return t.enter("htmlTextData"),a(_)}}var Ts={name:"labelEnd",tokenize:rN,resolveTo:tN,resolveAll:eN},GD={tokenize:iN},KD={tokenize:nN},JD={tokenize:oN};function eN(t){let e=-1;for(;++e<t.length;){let r=t[e][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(t.splice(e+1,r.type==="labelImage"?4:2),r.type="data",e++)}return t}function tN(t,e){let r=t.length,i=0,n,o,a,s;for(;r--;)if(n=t[r][1],o){if(n.type==="link"||n.type==="labelLink"&&n._inactive)break;t[r][0]==="enter"&&n.type==="labelLink"&&(n._inactive=!0)}else if(a){if(t[r][0]==="enter"&&(n.type==="labelImage"||n.type==="labelLink")&&!n._balanced&&(o=r,n.type!=="labelLink")){i=2;break}}else n.type==="labelEnd"&&(a=r);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[a][1].end)},u={type:"labelText",start:Object.assign({},t[o+i+2][1].end),end:Object.assign({},t[a-2][1].start)};return s=[["enter",l,e],["enter",c,e]],s=ai(s,t.slice(o+1,o+i+3)),s=ai(s,[["enter",u,e]]),s=ai(s,Nl(e.parser.constructs.insideSpan.null,t.slice(o+i+4,a-3),e)),s=ai(s,[["exit",u,e],t[a-2],t[a-1],["exit",c,e]]),s=ai(s,t.slice(a+1)),s=ai(s,[["exit",l,e]]),Xr(t,o,t.length,s),t}function rN(t,e,r){let i=this,n=i.events.length,o,a;for(;n--;)if((i.events[n][1].type==="labelImage"||i.events[n][1].type==="labelLink")&&!i.events[n][1]._balanced){o=i.events[n][1];break}return s;function s(d){return o?o._inactive?f(d):(a=i.parser.defined.includes(So(i.sliceSerialize({start:o.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),l):r(d)}function l(d){return d===40?t.attempt(GD,u,a?u:f)(d):d===91?t.attempt(KD,u,a?c:f)(d):a?u(d):f(d)}function c(d){return t.attempt(JD,u,f)(d)}function u(d){return e(d)}function f(d){return o._balanced=!0,r(d)}}function iN(t,e,r){return i;function i(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),n}function n(f){return ar(f)?Ss(t,o)(f):o(f)}function o(f){return f===41?u(f):t0(t,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return ar(f)?Ss(t,l)(f):u(f)}function s(f){return r(f)}function l(f){return f===34||f===39||f===40?i0(t,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return ar(f)?Ss(t,u)(f):u(f)}function u(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):r(f)}}function nN(t,e,r){let i=this;return n;function n(s){return r0.call(i,t,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return i.parser.defined.includes(So(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?e(s):r(s)}function a(s){return r(s)}}function oN(t,e,r){return i;function i(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):r(o)}}var W1={name:"labelStartImage",tokenize:aN,resolveAll:Ts.resolveAll};function aN(t,e,r){let i=this;return n;function n(s){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(s),t.exit("labelImageMarker"),o}function o(s){return s===91?(t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelImage"),a):r(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in i.parser.constructs?r(s):e(s)}}var V1={name:"labelStartLink",tokenize:sN,resolveAll:Ts.resolveAll};function sN(t,e,r){let i=this;return n;function n(a){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?r(a):e(a)}}var _u={name:"lineEnding",tokenize:lN};function lN(t,e){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),rt(t,e,"linePrefix")}}var Es={name:"thematicBreak",tokenize:cN};function cN(t,e,r){let i=0,n;return o;function o(c){return t.enter("thematicBreak"),a(c)}function a(c){return n=c,s(c)}function s(c){return c===n?(t.enter("thematicBreakSequence"),l(c)):i>=3&&(c===null||ze(c))?(t.exit("thematicBreak"),e(c)):r(c)}function l(c){return c===n?(t.consume(c),i++,l):(t.exit("thematicBreakSequence"),tt(c)?rt(t,s,"whitespace")(c):s(c))}}var Fr={name:"list",tokenize:hN,continuation:{tokenize:dN},exit:mN},uN={tokenize:ON,partial:!0},fN={tokenize:pN,partial:!0};function hN(t,e,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,a=0;return s;function s(p){let O=i.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(O==="listUnordered"?!i.containerState.marker||p===i.containerState.marker:Eu(p)){if(i.containerState.type||(i.containerState.type=O,t.enter(O,{_container:!0})),O==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(Es,r,c)(p):c(p);if(!i.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(p)}return r(p)}function l(p){return Eu(p)&&++a<10?(t.consume(p),l):(!i.interrupt||a<2)&&(i.containerState.marker?p===i.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),c(p)):r(p)}function c(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||p,t.check(ka,i.interrupt?r:u,t.attempt(uN,d,f))}function u(p){return i.containerState.initialBlankLine=!0,o++,d(p)}function f(p){return tt(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return i.containerState.size=o+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function dN(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(ka,n,o);function n(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,rt(t,e,"listItemIndent",i.containerState.size+1)(s)}function o(s){return i.containerState.furtherBlankLines||!tt(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(fN,e,a)(s))}function a(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,rt(t,t.attempt(Fr,e,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function pN(t,e,r){let i=this;return rt(t,n,"listItemIndent",i.containerState.size+1);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?e(o):r(o)}}function mN(t){t.exit(this.containerState.type)}function ON(t,e,r){let i=this;return rt(t,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(o){let a=i.events[i.events.length-1];return!tt(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):r(o)}}var n0={name:"setextUnderline",tokenize:bN,resolveTo:gN};function gN(t,e){let r=t.length,i,n,o;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){i=r;break}t[r][1].type==="paragraph"&&(n=r)}else t[r][1].type==="content"&&t.splice(r,1),!o&&t[r][1].type==="definition"&&(o=r);let a={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",a,e]),t.splice(o+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[o][1].end)):t[i][1]=a,t.push(["exit",a,e]),t}function bN(t,e,r){let i=this,n;return o;function o(c){let u=i.events.length,f;for(;u--;)if(i.events[u][1].type!=="lineEnding"&&i.events[u][1].type!=="linePrefix"&&i.events[u][1].type!=="content"){f=i.events[u][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||f)?(t.enter("setextHeadingLine"),n=c,a(c)):r(c)}function a(c){return t.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===n?(t.consume(c),s):(t.exit("setextHeadingLineSequence"),tt(c)?rt(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ze(c)?(t.exit("setextHeadingLine"),e(c)):r(c)}}var R6={tokenize:yN};function yN(t){let e=this,r=t.attempt(ka,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(z1,n)),"linePrefix")));return r;function i(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,r}}var I6={resolveAll:D6()},L6=z6("string"),M6=z6("text");function z6(t){return{tokenize:e,resolveAll:D6(t==="text"?vN:void 0)};function e(r){let i=this,n=this.parser.constructs[t],o=r.attempt(n,a,s);return a;function a(u){return c(u)?o(u):s(u)}function s(u){if(u===null){r.consume(u);return}return r.enter("data"),r.consume(u),l}function l(u){return c(u)?(r.exit("data"),o(u)):(r.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(i,i.previous))return!0}return!1}}}function D6(t){return e;function e(r,i){let n=-1,o;for(;++n<=r.length;)o===void 0?r[n]&&r[n][1].type==="data"&&(o=n,n++):(!r[n]||r[n][1].type!=="data")&&(n!==o+2&&(r[o][1].end=r[n-1][1].end,r.splice(o+2,n-o-2),n=o+2),o=void 0);return t?t(r,i):r}}function vN(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){let i=t[r-1][1],n=e.sliceStream(i),o=n.length,a=-1,s=0,l;for(;o--;){let c=n[o];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(c===-2)l=!0,s++;else if(c!==-1){o++;break}}if(s){let c={type:r===t.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-s,offset:i.end.offset-s,_index:i.start._index+o,_bufferIndex:o?a:i.start._bufferIndex+a},end:Object.assign({},i.end)};i.end=Object.assign({},c.start),i.start.offset===i.end.offset?Object.assign(i,c):(t.splice(r,0,["enter",c,e],["exit",c,e]),r+=2)}r++}return t}function N6(t,e,r){let i=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),n={},o=[],a=[],s=[],l=!0,c={consume:L,enter:N,exit:I,attempt:Y(H),check:Y(j),interrupt:Y(j,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:x,sliceSerialize:O,now:k,defineSkip:w,write:p},f=e.tokenize.call(u,c),d;return e.resolveAll&&o.push(e),u;function p(he){return a=ai(a,he),C(),a[a.length-1]!==null?[]:(V(e,0),u.events=Nl(o,u.events,u),u.events)}function O(he,ge){return wN(x(he),ge)}function x(he){return xN(a,he)}function k(){let{line:he,column:ge,offset:ve,_index:_e,_bufferIndex:ae}=i;return{line:he,column:ge,offset:ve,_index:_e,_bufferIndex:ae}}function w(he){n[he.line]=he.column,ue()}function C(){let he;for(;i._index<a.length;){let ge=a[i._index];if(typeof ge=="string")for(he=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===he&&i._bufferIndex<ge.length;)Q(ge.charCodeAt(i._bufferIndex));else Q(ge)}}function Q(he){l=void 0,d=he,f=f(he)}function L(he){ze(he)?(i.line++,i.column=1,i.offset+=he===-3?2:1,ue()):he!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===a[i._index].length&&(i._bufferIndex=-1,i._index++)),u.previous=he,l=!0}function N(he,ge){let ve=ge||{};return ve.type=he,ve.start=k(),u.events.push(["enter",ve,u]),s.push(ve),ve}function I(he){let ge=s.pop();return ge.end=k(),u.events.push(["exit",ge,u]),ge}function H(he,ge){V(he,ge.from)}function j(he,ge){ge.restore()}function Y(he,ge){return ve;function ve(_e,ae,pe){let J,_,K,se;return Array.isArray(_e)?Je(_e):"tokenize"in _e?Je([_e]):q(_e);function q(Ze){return Rt;function Rt(ut){let Ur=ut!==null&&Ze[ut],Ar=ut!==null&&Ze.null,Ln=[...Array.isArray(Ur)?Ur:Ur?[Ur]:[],...Array.isArray(Ar)?Ar:Ar?[Ar]:[]];return Je(Ln)(ut)}}function Je(Ze){return J=Ze,_=0,Ze.length===0?pe:st(Ze[_])}function st(Ze){return Rt;function Rt(ut){return se=ne(),K=Ze,Ze.partial||(u.currentConstruct=Ze),Ze.name&&u.parser.constructs.disable.null.includes(Ze.name)?Ce(ut):Ze.tokenize.call(ge?Object.assign(Object.create(u),ge):u,c,at,Ce)(ut)}}function at(Ze){return l=!0,he(K,se),ae}function Ce(Ze){return l=!0,se.restore(),++_<J.length?st(J[_]):pe}}}function V(he,ge){he.resolveAll&&!o.includes(he)&&o.push(he),he.resolve&&Xr(u.events,ge,u.events.length-ge,he.resolve(u.events.slice(ge),u)),he.resolveTo&&(u.events=he.resolveTo(u.events,u))}function ne(){let he=k(),ge=u.previous,ve=u.currentConstruct,_e=u.events.length,ae=Array.from(s);return{restore:pe,from:_e};function pe(){i=he,u.previous=ge,u.currentConstruct=ve,u.events.length=_e,s=ae,ue()}}function ue(){i.line in n&&i.column<2&&(i.column=n[i.line],i.offset+=n[i.line]-1)}}function xN(t,e){let r=e.start._index,i=e.start._bufferIndex,n=e.end._index,o=e.end._bufferIndex,a;if(r===n)a=[t[r].slice(i,o)];else{if(a=t.slice(r,n),i>-1){let s=a[0];typeof s=="string"?a[0]=s.slice(i):a.shift()}o>0&&a.push(t[n].slice(0,o))}return a}function wN(t,e){let r=-1,i=[],n;for(;++r<t.length;){let o=t[r],a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=`
`;break}case-3:{a=`\r
`;break}case-2:{a=e?" ":" ";break}case-1:{if(!e&&n)continue;a=" ";break}default:a=String.fromCharCode(o)}n=o===-2,i.push(a)}return i.join("")}var F1={};lu(F1,{attentionMarkers:()=>AN,contentInitial:()=>SN,disable:()=>QN,document:()=>kN,flow:()=>EN,flowInitial:()=>TN,insideSpan:()=>_N,string:()=>CN,text:()=>PN});var kN={42:Fr,43:Fr,45:Fr,48:Fr,49:Fr,50:Fr,51:Fr,52:Fr,53:Fr,54:Fr,55:Fr,56:Fr,57:Fr,62:Hd},SN={91:D1},TN={[-2]:Pu,[-1]:Pu,32:Pu},EN={35:U1,42:Es,45:[n0,Es],60:B1,61:n0,95:Es,96:Jd,126:Jd},CN={38:Kd,92:Gd},PN={[-5]:_u,[-4]:_u,[-3]:_u,33:W1,38:Kd,42:Cu,60:[L1,j1],91:V1,92:[N1,Gd],93:Ts,95:Cu,96:M1},_N={null:[Cu,I6]},AN={null:[42,95]},QN={null:[]};function Z1(t){let r=k6([F1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(P6),document:n(A6),flow:n(R6),string:n(L6),text:n(M6)};return i;function n(o){return a;function a(s){return N6(i,o,s)}}}function Y1(t){for(;!e0(t););return t}var U6=/[\0\t\n\r]/g;function H1(){let t=1,e="",r=!0,i;return n;function n(o,a,s){let l=[],c,u,f,d,p;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),f=0,e="",r&&(o.charCodeAt(0)===65279&&f++,r=void 0);f<o.length;){if(U6.lastIndex=f,c=U6.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&&i)l.push(-3),i=void 0;else switch(i&&(l.push(-5),i=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:i=!0,t=1}f=d+1}return s&&(i&&l.push(-5),e&&l.push(e),l.push(null)),l}}var $N=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function q6(t){return t.replace($N,XN)}function XN(t,e,r){if(e)return e;if(r.charCodeAt(0)===35){let n=r.charCodeAt(1),o=n===120||n===88;return Yd(r.slice(o?2:1),o?16:10)}return Ql(r)||t}function Ul(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?B6(t.position):"start"in t||"end"in t?B6(t):"line"in t||"column"in t?G1(t):""}function G1(t){return j6(t&&t.line)+":"+j6(t&&t.column)}function B6(t){return G1(t&&t.start)+"-"+G1(t&&t.end)}function j6(t){return t&&typeof t=="number"?t:1}var V6={}.hasOwnProperty;function K1(t,e,r){return typeof e!="string"&&(r=e,e=void 0),RN(r)(Y1(Z1(r).document().write(H1()(t,e,!0))))}function RN(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(go),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:o(pn),blockQuote:o(Rt),characterEscape:Y,characterReference:Y,codeFenced:o(ut),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(ut,a),codeText:o(Ur,a),codeTextData:Y,data:Y,codeFlowValue:Y,definition:o(Ar),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(Ln),hardBreakEscape:o(Zt),hardBreakTrailing:o(Zt),htmlFlow:o(ys,a),htmlFlowData:Y,htmlText:o(ys,a),htmlTextData:Y,image:o(Qr),label:a,link:o(go),listItem:o(au),listItemValue:d,listOrdered:o(Mn,f),listUnordered:o(Mn),paragraph:o(bo),reference:q,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(pn),strong:o(mn),thematicBreak:o(yd)},exit:{atxHeading:l(),atxHeadingSequence:N,autolink:l(),autolinkEmail:Ze,autolinkProtocol:Ce,blockQuote:l(),characterEscapeValue:V,characterReferenceMarkerHexadecimal:st,characterReferenceMarkerNumeric:st,characterReferenceValue:at,codeFenced:l(k),codeFencedFence:x,codeFencedFenceInfo:p,codeFencedFenceMeta:O,codeFlowValue:V,codeIndented:l(w),codeText:l(ve),codeTextData:V,data:V,definition:l(),definitionDestinationString:L,definitionLabelString:C,definitionTitleString:Q,emphasis:l(),hardBreakEscape:l(ue),hardBreakTrailing:l(ue),htmlFlow:l(he),htmlFlowData:V,htmlText:l(ge),htmlTextData:V,image:l(ae),label:J,labelText:pe,lineEnding:ne,link:l(_e),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Je,resourceDestinationString:_,resourceTitleString:K,resource:se,setextHeading:l(j),setextHeadingLineSequence:H,setextHeadingText:I,strong:l(),thematicBreak:l()}};F6(e,(t||{}).mdastExtensions||[]);let r={};return i;function i(be){let Xe={type:"root",children:[]},Ye={stack:[Xe],tokenStack:[],config:e,enter:s,exit:c,buffer:a,resume:u,data:r},ht=[],et=-1;for(;++et<be.length;)if(be[et][1].type==="listOrdered"||be[et][1].type==="listUnordered")if(be[et][0]==="enter")ht.push(et);else{let qr=ht.pop();et=n(be,qr,et)}for(et=-1;++et<be.length;){let qr=e[be[et][0]];V6.call(qr,be[et][1].type)&&qr[be[et][1].type].call(Object.assign({sliceSerialize:be[et][2].sliceSerialize},Ye),be[et][1])}if(Ye.tokenStack.length>0){let qr=Ye.tokenStack[Ye.tokenStack.length-1];(qr[1]||W6).call(Ye,void 0,qr[0])}for(Xe.position={start:Sa(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:Sa(be.length>0?be[be.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et<e.transforms.length;)Xe=e.transforms[et](Xe)||Xe;return Xe}function n(be,Xe,Ye){let ht=Xe-1,et=-1,qr=!1,It,On,vs,xs;for(;++ht<=Ye;){let Br=be[ht];switch(Br[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Br[0]==="enter"?et++:et--,xs=void 0;break}case"lineEndingBlank":{Br[0]==="enter"&&(It&&!xs&&!et&&!vs&&(vs=ht),xs=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:xs=void 0}if(!et&&Br[0]==="enter"&&Br[1].type==="listItemPrefix"||et===-1&&Br[0]==="exit"&&(Br[1].type==="listUnordered"||Br[1].type==="listOrdered")){if(It){let vt=ht;for(On=void 0;vt--;){let tr=be[vt];if(tr[1].type==="lineEnding"||tr[1].type==="lineEndingBlank"){if(tr[0]==="exit")continue;On&&(be[On][1].type="lineEndingBlank",qr=!0),tr[1].type="lineEnding",On=vt}else if(!(tr[1].type==="linePrefix"||tr[1].type==="blockQuotePrefix"||tr[1].type==="blockQuotePrefixWhitespace"||tr[1].type==="blockQuoteMarker"||tr[1].type==="listItemIndent"))break}vs&&(!On||vs<On)&&(It._spread=!0),It.end=Object.assign({},On?be[On][1].start:Br[1].end),be.splice(On||ht,0,["exit",It,Br[2]]),ht++,Ye++}if(Br[1].type==="listItemPrefix"){let vt={type:"listItem",_spread:!1,start:Object.assign({},Br[1].start),end:void 0};It=vt,be.splice(ht,0,["enter",vt,Br[2]]),ht++,Ye++,vs=void 0,xs=!0}}}return be[Xe][1]._spread=qr,Ye}function o(be,Xe){return Ye;function Ye(ht){s.call(this,be(ht),ht),Xe&&Xe.call(this,ht)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(be,Xe,Ye){this.stack[this.stack.length-1].children.push(be),this.stack.push(be),this.tokenStack.push([Xe,Ye]),be.position={start:Sa(Xe.start),end:void 0}}function l(be){return Xe;function Xe(Ye){be&&be.call(this,Ye),c.call(this,Ye)}}function c(be,Xe){let Ye=this.stack.pop(),ht=this.tokenStack.pop();if(ht)ht[0].type!==be.type&&(Xe?Xe.call(this,be,ht[0]):(ht[1]||W6).call(this,be,ht[0]));else throw new Error("Cannot close `"+be.type+"` ("+Ul({start:be.start,end:be.end})+"): it\u2019s not open");Ye.position.end=Sa(be.end)}function u(){return X1(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(be){if(this.data.expectingFirstListItemValue){let Xe=this.stack[this.stack.length-2];Xe.start=Number.parseInt(this.sliceSerialize(be),10),this.data.expectingFirstListItemValue=void 0}}function p(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.lang=be}function O(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.meta=be}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=be.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=be.replace(/(\r?\n|\r)$/g,"")}function C(be){let Xe=this.resume(),Ye=this.stack[this.stack.length-1];Ye.label=Xe,Ye.identifier=So(this.sliceSerialize(be)).toLowerCase()}function Q(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.title=be}function L(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.url=be}function N(be){let Xe=this.stack[this.stack.length-1];if(!Xe.depth){let Ye=this.sliceSerialize(be).length;Xe.depth=Ye}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function H(be){let Xe=this.stack[this.stack.length-1];Xe.depth=this.sliceSerialize(be).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(be){let Ye=this.stack[this.stack.length-1].children,ht=Ye[Ye.length-1];(!ht||ht.type!=="text")&&(ht=jg(),ht.position={start:Sa(be.start),end:void 0},Ye.push(ht)),this.stack.push(ht)}function V(be){let Xe=this.stack.pop();Xe.value+=this.sliceSerialize(be),Xe.position.end=Sa(be.end)}function ne(be){let Xe=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Ye=Xe.children[Xe.children.length-1];Ye.position.end=Sa(be.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(Xe.type)&&(Y.call(this,be),V.call(this,be))}function ue(){this.data.atHardBreak=!0}function he(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=be}function ge(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=be}function ve(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=be}function _e(){let be=this.stack[this.stack.length-1];if(this.data.inReference){let Xe=this.data.referenceType||"shortcut";be.type+="Reference",be.referenceType=Xe,delete be.url,delete be.title}else delete be.identifier,delete be.label;this.data.referenceType=void 0}function ae(){let be=this.stack[this.stack.length-1];if(this.data.inReference){let Xe=this.data.referenceType||"shortcut";be.type+="Reference",be.referenceType=Xe,delete be.url,delete be.title}else delete be.identifier,delete be.label;this.data.referenceType=void 0}function pe(be){let Xe=this.sliceSerialize(be),Ye=this.stack[this.stack.length-2];Ye.label=q6(Xe),Ye.identifier=So(Xe).toLowerCase()}function J(){let be=this.stack[this.stack.length-1],Xe=this.resume(),Ye=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ye.type==="link"){let ht=be.children;Ye.children=ht}else Ye.alt=Xe}function _(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.url=be}function K(){let be=this.resume(),Xe=this.stack[this.stack.length-1];Xe.title=be}function se(){this.data.inReference=void 0}function q(){this.data.referenceType="collapsed"}function Je(be){let Xe=this.resume(),Ye=this.stack[this.stack.length-1];Ye.label=Xe,Ye.identifier=So(this.sliceSerialize(be)).toLowerCase(),this.data.referenceType="full"}function st(be){this.data.characterReferenceType=be.type}function at(be){let Xe=this.sliceSerialize(be),Ye=this.data.characterReferenceType,ht;Ye?(ht=Yd(Xe,Ye==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ht=Ql(Xe);let et=this.stack.pop();et.value+=ht,et.position.end=Sa(be.end)}function Ce(be){V.call(this,be);let Xe=this.stack[this.stack.length-1];Xe.url=this.sliceSerialize(be)}function Ze(be){V.call(this,be);let Xe=this.stack[this.stack.length-1];Xe.url="mailto:"+this.sliceSerialize(be)}function Rt(){return{type:"blockquote",children:[]}}function ut(){return{type:"code",lang:null,meta:null,value:""}}function Ur(){return{type:"inlineCode",value:""}}function Ar(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ln(){return{type:"emphasis",children:[]}}function pn(){return{type:"heading",depth:0,children:[]}}function Zt(){return{type:"break"}}function ys(){return{type:"html",value:""}}function Qr(){return{type:"image",title:null,url:"",alt:null}}function go(){return{type:"link",title:null,url:"",children:[]}}function Mn(be){return{type:"list",ordered:be.type==="listOrdered",start:null,spread:be._spread,children:[]}}function au(be){return{type:"listItem",spread:be._spread,checked:null,children:[]}}function bo(){return{type:"paragraph",children:[]}}function mn(){return{type:"strong",children:[]}}function jg(){return{type:"text",value:""}}function yd(){return{type:"thematicBreak"}}}function Sa(t){return{line:t.line,column:t.column,offset:t.offset}}function F6(t,e){let r=-1;for(;++r<e.length;){let i=e[r];Array.isArray(i)?F6(t,i):IN(t,i)}}function IN(t,e){let r;for(r in e)if(V6.call(e,r))switch(r){case"canContainEols":{let i=e[r];i&&t[r].push(...i);break}case"transforms":{let i=e[r];i&&t[r].push(...i);break}case"enter":case"exit":{let i=e[r];i&&Object.assign(t[r],i);break}}}function W6(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Ul({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Ul({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Ul({start:e.start,end:e.end})+") is still open")}function o0(t){let e=this;e.parser=r;function r(i){return K1(i,Be(oe(oe({},e.data("settings")),t),{extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]}))}}function ql(t,e){let r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let i=0,n=r.indexOf(e);for(;n!==-1;)i++,n=r.indexOf(e,n+e.length);return i}var LN=Ta(new RegExp("\\p{P}","u")),t0e=Ta(/[A-Za-z]/),r0e=Ta(/[\dA-Za-z]/),i0e=Ta(/[#-'*+\--9=?A-Z^-~]/);var n0e=Ta(/\d/),o0e=Ta(/[\dA-Fa-f]/),MN=Ta(/[!-/:-@[-`{-~]/);function Z6(t){return MN(t)||LN(t)}var Y6=Ta(/\s/);function Ta(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function J1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Wn=function(t){if(t==null)return UN;if(typeof t=="function")return a0(t);if(typeof t=="object")return Array.isArray(t)?zN(t):DN(t);if(typeof t=="string")return NN(t);throw new Error("Expected function, string, or object as test")};function zN(t){let e=[],r=-1;for(;++r<t.length;)e[r]=Wn(t[r]);return a0(i);function i(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function DN(t){let e=t;return a0(r);function r(i){let n=i,o;for(o in t)if(n[o]!==e[o])return!1;return!0}}function NN(t){return a0(e);function e(r){return r&&r.type===t}}function a0(t){return e;function e(r,i,n){return!!(qN(r)&&t.call(this,r,typeof i=="number"?i:void 0,n||void 0))}}function UN(){return!0}function qN(t){return t!==null&&typeof t=="object"&&"type"in t}var H6=[],s0=!0,Cs=!1,Bl="skip";function Ps(t,e,r,i){let n;typeof e=="function"&&typeof r!="function"?(i=r,r=e):n=e;let o=Wn(n),a=i?-1:1;s(t,void 0,[])();function s(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=H6,O,x,k;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=BN(r(l,u)),p[0]===Cs))return p;if("children"in l&&l.children){let w=l;if(w.children&&p[0]!==Bl)for(x=(i?w.children.length:-1)+a,k=u.concat(w);x>-1&&x<w.children.length;){let C=w.children[x];if(O=s(C,x,k)(),O[0]===Cs)return O;x=typeof O[1]=="number"?O[1]:x+a}}return p}}}function BN(t){return Array.isArray(t)?t:typeof t=="number"?[s0,t]:t==null?H6:[t]}function eb(t,e,r){let n=Wn((r||{}).ignore||[]),o=jN(e),a=-1;for(;++a<o.length;)Ps(t,"text",s);function s(c,u){let f=-1,d;for(;++f<u.length;){let p=u[f],O=d?d.children:void 0;if(n(p,O?O.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[a][0],p=o[a][1],O=0,k=f.children.indexOf(c),w=!1,C=[];d.lastIndex=0;let Q=d.exec(c.value);for(;Q;){let L=Q.index,N={index:Q.index,input:Q.input,stack:[...u,c]},I=p(...Q,N);if(typeof I=="string"&&(I=I.length>0?{type:"text",value:I}:void 0),I===!1?d.lastIndex=L+1:(O!==L&&C.push({type:"text",value:c.value.slice(O,L)}),Array.isArray(I)?C.push(...I):I&&C.push(I),O=L+Q[0].length,w=!0),!d.global)break;Q=d.exec(c.value)}return w?(O<c.value.length&&C.push({type:"text",value:c.value.slice(O)}),f.children.splice(k,1,...C)):C=[c],k+C.length}}function jN(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!t[0]||Array.isArray(t[0])?t:[t],i=-1;for(;++i<r.length;){let n=r[i];e.push([WN(n[0]),VN(n[1])])}return e}function WN(t){return typeof t=="string"?new RegExp(J1(t),"g"):t}function VN(t){return typeof t=="function"?t:function(){return t}}var tb="phrasing",rb=["autolink","link","image","label"];function nb(){return{transforms:[KN],enter:{literalAutolink:FN,literalAutolinkEmail:ib,literalAutolinkHttp:ib,literalAutolinkWww:ib},exit:{literalAutolink:GN,literalAutolinkEmail:HN,literalAutolinkHttp:ZN,literalAutolinkWww:YN}}}function ob(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:tb,notInConstruct:rb},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:tb,notInConstruct:rb},{character:":",before:"[ps]",after:"\\/",inConstruct:tb,notInConstruct:rb}]}}function FN(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function ib(t){this.config.enter.autolinkProtocol.call(this,t)}function ZN(t){this.config.exit.autolinkProtocol.call(this,t)}function YN(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 HN(t){this.config.exit.autolinkEmail.call(this,t)}function GN(t){this.exit(t)}function KN(t){eb(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,JN],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,eU]],{ignore:["link","linkReference"]})}function JN(t,e,r,i,n){let o="";if(!G6(n)||(/^w/i.test(e)&&(r=e+r,e="",o="http://"),!tU(r)))return!1;let a=rU(r+i);if(!a[0])return!1;let s={type:"link",title:null,url:o+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function eU(t,e,r,i){return!G6(i,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+r,children:[{type:"text",value:e+"@"+r}]}}function tU(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 rU(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],i=r.indexOf(")"),n=ql(t,"("),o=ql(t,")");for(;i!==-1&&n>o;)t+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(")"),o++;return[t,r]}function G6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||Y6(r)||Z6(r))&&(!e||r!==47)}function ab(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}K6.peek=fU;function sb(){return{enter:{gfmFootnoteDefinition:iU,gfmFootnoteDefinitionLabelString:nU,gfmFootnoteCall:sU,gfmFootnoteCallString:lU},exit:{gfmFootnoteDefinition:aU,gfmFootnoteDefinitionLabelString:oU,gfmFootnoteCall:uU,gfmFootnoteCallString:cU}}}function lb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:hU,footnoteReference:K6}}}function iU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function nU(){this.buffer()}function oU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=ab(this.sliceSerialize(t)).toLowerCase()}function aU(t){this.exit(t)}function sU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function lU(){this.buffer()}function cU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=ab(this.sliceSerialize(t)).toLowerCase()}function uU(t){this.exit(t)}function K6(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),a=r.enter("footnoteReference"),s=r.enter("reference");return o+=n.move(r.safe(r.associationId(t),Be(oe({},n.current()),{before:o,after:"]"}))),s(),a(),o+=n.move("]"),o}function fU(){return"["}function hU(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),a=r.enter("footnoteDefinition"),s=r.enter("label");return o+=n.move(r.safe(r.associationId(t),Be(oe({},n.current()),{before:o,after:"]"}))),s(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(r.indentLines(r.containerFlow(t,n.current()),dU)),a(),o}function dU(t,e,r){return e===0?t:(r?"":" ")+t}var pU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];J6.peek=gU;function cb(){return{canContainEols:["delete"],enter:{strikethrough:mU},exit:{strikethrough:OU}}}function ub(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:pU}],handlers:{delete:J6}}}function mU(t){this.enter({type:"delete",children:[]},t)}function OU(t){this.exit(t)}function J6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),a=n.move("~~");return a+=r.containerPhrasing(t,Be(oe({},n.current()),{before:a,after:"~"})),a+=n.move("~~"),o(),a}function gU(){return"~"}function tS(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||yU,n=[],o=[],a=[],s=[],l=0,c=-1;for(;++c<t.length;){let O=[],x=[],k=-1;for(t[c].length>l&&(l=t[c].length);++k<t[c].length;){let w=bU(t[c][k]);if(e.alignDelimiters!==!1){let C=i(w);x[k]=C,(s[k]===void 0||C>s[k])&&(s[k]=C)}O.push(w)}o[c]=O,a[c]=x}let u=-1;if(typeof r=="object"&&"length"in r)for(;++u<l;)n[u]=eS(r[u]);else{let O=eS(r);for(;++u<l;)n[u]=O}u=-1;let f=[],d=[];for(;++u<l;){let O=n[u],x="",k="";O===99?(x=":",k=":"):O===108?x=":":O===114&&(k=":");let w=e.alignDelimiters===!1?1:Math.max(1,s[u]-x.length-k.length),C=x+"-".repeat(w)+k;e.alignDelimiters!==!1&&(w=x.length+w+k.length,w>s[u]&&(s[u]=w),d[u]=w),f[u]=C}o.splice(1,0,f),a.splice(1,0,d),c=-1;let p=[];for(;++c<o.length;){let O=o[c],x=a[c];u=-1;let k=[];for(;++u<l;){let w=O[u]||"",C="",Q="";if(e.alignDelimiters!==!1){let L=s[u]-(x[u]||0),N=n[u];N===114?C=" ".repeat(L):N===99?L%2?(C=" ".repeat(L/2+.5),Q=" ".repeat(L/2-.5)):(C=" ".repeat(L/2),Q=C):Q=" ".repeat(L)}e.delimiterStart!==!1&&!u&&k.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&w==="")&&(e.delimiterStart!==!1||u)&&k.push(" "),e.alignDelimiters!==!1&&k.push(C),k.push(w),e.alignDelimiters!==!1&&k.push(Q),e.padding!==!1&&k.push(" "),(e.delimiterEnd!==!1||u!==l-1)&&k.push("|")}p.push(e.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return p.join(`
`)}function bU(t){return t==null?"":String(t)}function yU(t){return t.length}function eS(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 rS={}.hasOwnProperty;function jl(t,e){let r=e||{};function i(n,...o){let a=i.invalid,s=i.handlers;if(n&&rS.call(n,t)){let l=String(n[t]);a=rS.call(s,l)?s[l]:i.unknown}if(a)return a.call(this,n,...o)}return i.handlers=r.handlers||{},i.invalid=r.invalid,i.unknown=r.unknown,i}function iS(t,e,r,i){let n=r.enter("blockquote"),o=r.createTracker(i);o.move("> "),o.shift(2);let a=r.indentLines(r.containerFlow(t,o.current()),vU);return n(),a}function vU(t,e,r){return">"+(r?"":" ")+t}function oS(t,e){return nS(t,e.inConstruct,!0)&&!nS(t,e.notInConstruct,!1)}function nS(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let i=-1;for(;++i<e.length;)if(t.includes(e[i]))return!0;return!1}function fb(t,e,r,i){let n=-1;for(;++n<r.unsafe.length;)if(r.unsafe[n].character===`
`&&oS(r.stack,r.unsafe[n]))return/[ \t]/.test(i.before)?"":" ";return`\\
`}function l0(t,e){let r=String(t),i=r.indexOf(e),n=i,o=0,a=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++o>a&&(a=o):o=1,n=i+e.length,i=r.indexOf(e,n);return a}function aS(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 sS(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 lS(t,e,r,i){let n=sS(r),o=t.value||"",a=n==="`"?"GraveAccent":"Tilde";if(aS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,xU);return f(),d}let s=r.createTracker(i),l=n.repeat(Math.max(l0(o,n)+1,3)),c=r.enter("codeFenced"),u=s.move(l);if(t.lang){let f=r.enter(`codeFencedLang${a}`);u+=s.move(r.safe(t.lang,oe({before:u,after:" ",encode:["`"]},s.current()))),f()}if(t.lang&&t.meta){let f=r.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(r.safe(t.meta,oe({before:u,after:`
`,encode:["`"]},s.current()))),f()}return u+=s.move(`
`),o&&(u+=s.move(o+`
`)),u+=s.move(l),c(),u}function xU(t,e,r){return(r?"":" ")+t}function Wl(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 cS(t,e,r,i){let n=Wl(r),o=n==='"'?"Quote":"Apostrophe",a=r.enter("definition"),s=r.enter("label"),l=r.createTracker(i),c=l.move("[");return c+=l.move(r.safe(r.associationId(t),oe({before:c,after:"]"},l.current()))),c+=l.move("]: "),s(),!t.url||/[\0- \u007F]/.test(t.url)?(s=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,oe({before:c,after:">"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,oe({before:c,after:t.title?" ":`
`},l.current())))),s(),t.title&&(s=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,oe({before:c,after:n},l.current()))),c+=l.move(n),s()),a(),c}function uS(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}hb.peek=wU;function hb(t,e,r,i){let n=uS(r),o=r.enter("emphasis"),a=r.createTracker(i),s=a.move(n);return s+=a.move(r.containerPhrasing(t,oe({before:s,after:n},a.current()))),s+=a.move(n),o(),s}function wU(t,e,r){return r.options.emphasis||"*"}function Zr(t,e,r,i){let n,o,a;typeof e=="function"&&typeof r!="function"?(o=void 0,a=e,n=r):(o=e,a=r,n=i),Ps(t,o,s,n);function s(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return a(l,f,u)}}var kU={};function Au(t,e){let r=e||kU,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return hS(t,i,n)}function hS(t,e,r){if(SU(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return fS(t.children,e,r)}return Array.isArray(t)?fS(t,e,r):""}function fS(t,e,r){let i=[],n=-1;for(;++n<t.length;)i[n]=hS(t[n],e,r);return i.join("")}function SU(t){return!!(t&&typeof t=="object")}function dS(t,e){let r=!1;return Zr(t,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return r=!0,Cs}),!!((!t.depth||t.depth<3)&&Au(t)&&(e.options.setext||r))}function pS(t,e,r,i){let n=Math.max(Math.min(6,t.depth||1),1),o=r.createTracker(i);if(dS(t,r)){let u=r.enter("headingSetext"),f=r.enter("phrasing"),d=r.containerPhrasing(t,Be(oe({},o.current()),{before:`
`,after:`
`}));return f(),u(),d+`
`+(n===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
`))+1))}let a="#".repeat(n),s=r.enter("headingAtx"),l=r.enter("phrasing");o.move(a+" ");let c=r.containerPhrasing(t,oe({before:"# ",after:`
`},o.current()));return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,r.options.closeAtx&&(c+=" "+a),l(),s(),c}db.peek=TU;function db(t){return t.value||""}function TU(){return"<"}pb.peek=EU;function pb(t,e,r,i){let n=Wl(r),o=n==='"'?"Quote":"Apostrophe",a=r.enter("image"),s=r.enter("label"),l=r.createTracker(i),c=l.move("![");return c+=l.move(r.safe(t.alt,oe({before:c,after:"]"},l.current()))),c+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,oe({before:c,after:">"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,oe({before:c,after:t.title?" ":")"},l.current())))),s(),t.title&&(s=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,oe({before:c,after:n},l.current()))),c+=l.move(n),s()),c+=l.move(")"),a(),c}function EU(){return"!"}mb.peek=CU;function mb(t,e,r,i){let n=t.referenceType,o=r.enter("imageReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("!["),c=r.safe(t.alt,oe({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let u=r.stack;r.stack=[],a=r.enter("reference");let f=r.safe(r.associationId(t),oe({before:l,after:"]"},s.current()));return a(),r.stack=u,o(),n==="full"||!c||c!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function CU(){return"!"}Ob.peek=PU;function Ob(t,e,r){let i=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(i);)n+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o<r.unsafe.length;){let a=r.unsafe[o],s=r.compilePattern(a),l;if(a.atBreak)for(;l=s.exec(i);){let c=l.index;i.charCodeAt(c)===10&&i.charCodeAt(c-1)===13&&c--,i=i.slice(0,c)+" "+i.slice(l.index+1)}}return n+i+n}function PU(){return"`"}function gb(t,e){let r=Au(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(r===t.url||"mailto:"+r===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}bb.peek=_U;function bb(t,e,r,i){let n=Wl(r),o=n==='"'?"Quote":"Apostrophe",a=r.createTracker(i),s,l;if(gb(t,r)){let u=r.stack;r.stack=[],s=r.enter("autolink");let f=a.move("<");return f+=a.move(r.containerPhrasing(t,oe({before:f,after:">"},a.current()))),f+=a.move(">"),s(),r.stack=u,f}s=r.enter("link"),l=r.enter("label");let c=a.move("[");return c+=a.move(r.containerPhrasing(t,oe({before:c,after:"]("},a.current()))),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=r.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(r.safe(t.url,oe({before:c,after:">"},a.current()))),c+=a.move(">")):(l=r.enter("destinationRaw"),c+=a.move(r.safe(t.url,oe({before:c,after:t.title?" ":")"},a.current())))),l(),t.title&&(l=r.enter(`title${o}`),c+=a.move(" "+n),c+=a.move(r.safe(t.title,oe({before:c,after:n},a.current()))),c+=a.move(n),l()),c+=a.move(")"),s(),c}function _U(t,e,r){return gb(t,r)?"<":"["}yb.peek=AU;function yb(t,e,r,i){let n=t.referenceType,o=r.enter("linkReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("["),c=r.containerPhrasing(t,oe({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let u=r.stack;r.stack=[],a=r.enter("reference");let f=r.safe(r.associationId(t),oe({before:l,after:"]"},s.current()));return a(),r.stack=u,o(),n==="full"||!c||c!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function AU(){return"["}function Vl(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 mS(t){let e=Vl(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function OS(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 c0(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 gS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,a=t.ordered?OS(r):Vl(r),s=t.ordered?a==="."?")":".":mS(r),l=e&&r.bulletLastUsed?a===r.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&u&&(!u.children||!u.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),c0(r)===a&&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&&(a=s),r.bulletCurrent=a;let c=r.containerFlow(t,i);return r.bulletLastUsed=a,r.bulletCurrent=o,n(),c}function bS(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 yS(t,e,r,i){let n=bS(r),o=r.bulletCurrent||Vl(r);e&&e.type==="list"&&e.ordered&&(o=(typeof e.start=="number"&&e.start>-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let a=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(a=Math.ceil(a/4)*4);let s=r.createTracker(i);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,s.current()),u);return l(),c;function u(f,d,p){return d?(p?"":" ".repeat(a))+f:(p?o:o+" ".repeat(a-o.length))+f}}function vS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),a=r.containerPhrasing(t,i);return o(),n(),a}var vb=Wn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function xS(t,e,r,i){return(t.children.some(function(a){return vb(a)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function wS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}xb.peek=QU;function xb(t,e,r,i){let n=wS(r),o=r.enter("strong"),a=r.createTracker(i),s=a.move(n+n);return s+=a.move(r.containerPhrasing(t,oe({before:s,after:n},a.current()))),s+=a.move(n+n),o(),s}function QU(t,e,r){return r.options.strong||"*"}function kS(t,e,r,i){return r.safe(t.value,i)}function SS(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 TS(t,e,r){let i=(c0(r)+(r.options.ruleSpaces?" ":"")).repeat(SS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var Qu={blockquote:iS,break:fb,code:lS,definition:cS,emphasis:hb,hardBreak:fb,heading:pS,html:db,image:pb,imageReference:mb,inlineCode:Ob,link:bb,linkReference:yb,list:gS,listItem:yS,paragraph:vS,root:xS,strong:xb,text:kS,thematicBreak:TS};function kb(){return{enter:{table:$U,tableData:ES,tableHeader:ES,tableRow:RU},exit:{codeText:IU,table:XU,tableData:wb,tableHeader:wb,tableRow:wb}}}function $U(t){let e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function XU(t){this.exit(t),this.data.inTable=void 0}function RU(t){this.enter({type:"tableRow",children:[]},t)}function wb(t){this.exit(t)}function ES(t){this.enter({type:"tableCell",children:[]},t)}function IU(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,LU));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function LU(t,e){return e==="|"?e:t}function Sb(t){let e=t||{},r=e.tableCellPadding,i=e.tablePipeAlign,n=e.stringLength,o=r?" ":"|";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:a,tableCell:l,tableRow:s}};function a(p,O,x,k){return c(u(p,x,k),p.align)}function s(p,O,x,k){let w=f(p,x,k),C=c([w]);return C.slice(0,C.indexOf(`
`))}function l(p,O,x,k){let w=x.enter("tableCell"),C=x.enter("phrasing"),Q=x.containerPhrasing(p,Be(oe({},k),{before:o,after:o}));return C(),w(),Q}function c(p,O){return tS(p,{align:O,alignDelimiters:i,padding:r,stringLength:n})}function u(p,O,x){let k=p.children,w=-1,C=[],Q=O.enter("table");for(;++w<k.length;)C[w]=f(k[w],O,x);return Q(),C}function f(p,O,x){let k=p.children,w=-1,C=[],Q=O.enter("tableRow");for(;++w<k.length;)C[w]=l(k[w],p,O,x);return Q(),C}function d(p,O,x){let k=Qu.inlineCode(p,O,x);return x.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function Tb(){return{exit:{taskListCheckValueChecked:CS,taskListCheckValueUnchecked:CS,paragraph:MU}}}function Eb(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:zU}}}function CS(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function MU(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let i=r.children[0];if(i&&i.type==="text"){let n=e.children,o=-1,a;for(;++o<n.length;){let s=n[o];if(s.type==="paragraph"){a=s;break}}a===r&&(i.value=i.value.slice(1),i.value.length===0?r.children.shift():r.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,r.position.start=Object.assign({},i.position.start)))}}this.exit(t)}function zU(t,e,r,i){let n=t.children[0],o=typeof t.checked=="boolean"&&n&&n.type==="paragraph",a="["+(t.checked?"x":" ")+"] ",s=r.createTracker(i);o&&s.move(a);let l=Qu.listItem(t,e,r,oe(oe({},i),s.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+a}}function Cb(){return[nb(),sb(),cb(),kb(),Tb()]}function Pb(t){return{extensions:[ob(),lb(),ub(),Sb(t),Eb()]}}function PS(t,e,r,i){let n=t.length,o=0,a;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o<i.length;)a=i.slice(o,o+1e4),a.unshift(e,0),t.splice(...a),o+=1e4,e+=1e4}var _S={}.hasOwnProperty;function AS(t){let e={},r=-1;for(;++r<t.length;)DU(e,t[r]);return e}function DU(t,e){let r;for(r in e){let n=(_S.call(t,r)?t[r]:void 0)||(t[r]={}),o=e[r],a;if(o)for(a in o){_S.call(n,a)||(n[a]=[]);let s=o[a];NU(n[a],Array.isArray(s)?s:s?[s]:[])}}}function NU(t,e){let r=-1,i=[];for(;++r<e.length;)(e[r].add==="after"?t:i).push(e[r]);PS(t,0,0,i)}var UU=Ea(new RegExp("\\p{P}","u")),Fl=Ea(/[A-Za-z]/),u0=Ea(/[\dA-Za-z]/),tOe=Ea(/[#-'*+\--9=?A-Z^-~]/);function QS(t){return t!==null&&(t<32||t===127)}var rOe=Ea(/\d/),iOe=Ea(/[\dA-Fa-f]/),qU=Ea(/[!-/:-@[-`{-~]/);function _s(t){return t!==null&&(t<0||t===32)}function _b(t){return qU(t)||UU(t)}var Zl=Ea(/\s/);function Ea(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}var BU={tokenize:ZU,partial:!0},$S={tokenize:YU,partial:!0},XS={tokenize:HU,partial:!0},RS={tokenize:GU,partial:!0},jU={tokenize:KU,partial:!0},IS={tokenize:VU,previous:MS},LS={tokenize:FU,previous:zS},To={tokenize:WU,previous:DS},Vn={};function Qb(){return{text:Vn}}var As=48;for(;As<123;)Vn[As]=To,As++,As===58?As=65:As===91&&(As=97);Vn[43]=To;Vn[45]=To;Vn[46]=To;Vn[95]=To;Vn[72]=[To,LS];Vn[104]=[To,LS];Vn[87]=[To,IS];Vn[119]=[To,IS];function WU(t,e,r){let i=this,n,o;return a;function a(f){return!Ab(f)||!DS.call(i,i.previous)||$b(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(f))}function s(f){return Ab(f)?(t.consume(f),s):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(jU,u,c)(f):f===45||f===95||u0(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&&Fl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function VU(t,e,r){let i=this;return n;function n(a){return a!==87&&a!==119||!MS.call(i,i.previous)||$b(i.events)?r(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(BU,t.attempt($S,t.attempt(XS,o),r),r)(a))}function o(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function FU(t,e,r){let i=this,n="",o=!1;return a;function a(f){return(f===72||f===104)&&zS.call(i,i.previous)&&!$b(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),s):r(f)}function s(f){if(Fl(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),s;if(f===58){let d=n.toLowerCase();if(d==="http"||d==="https")return t.consume(f),l}return r(f)}function l(f){return f===47?(t.consume(f),o?c:(o=!0,l)):r(f)}function c(f){return f===null||QS(f)||_s(f)||Zl(f)||_b(f)?r(f):t.attempt($S,t.attempt(XS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function ZU(t,e,r){let i=0;return n;function n(a){return(a===87||a===119)&&i<3?(i++,t.consume(a),n):a===46&&i===3?(t.consume(a),o):r(a)}function o(a){return a===null?r(a):e(a)}}function YU(t,e,r){let i,n,o;return a;function a(c){return c===46||c===95?t.check(RS,l,s)(c):c===null||_s(c)||Zl(c)||c!==45&&_b(c)?l(c):(o=!0,t.consume(c),a)}function s(c){return c===95?i=!0:(n=i,i=void 0),t.consume(c),a}function l(c){return n||i||!o?r(c):e(c)}}function HU(t,e){let r=0,i=0;return n;function n(a){return a===40?(r++,t.consume(a),n):a===41&&i<r?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?t.check(RS,e,o)(a):a===null||_s(a)||Zl(a)?e(a):(t.consume(a),n)}function o(a){return a===41&&i++,t.consume(a),n}}function GU(t,e,r){return i;function i(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(t.consume(s),i):s===38?(t.consume(s),o):s===93?(t.consume(s),n):s===60||s===null||_s(s)||Zl(s)?e(s):r(s)}function n(s){return s===null||s===40||s===91||_s(s)||Zl(s)?e(s):i(s)}function o(s){return Fl(s)?a(s):r(s)}function a(s){return s===59?(t.consume(s),i):Fl(s)?(t.consume(s),a):r(s)}}function KU(t,e,r){return i;function i(o){return t.consume(o),n}function n(o){return u0(o)?r(o):e(o)}}function MS(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||_s(t)}function zS(t){return!Fl(t)}function DS(t){return!(t===47||Ab(t))}function Ab(t){return t===43||t===45||t===46||t===95||u0(t)}function $b(t){let e=t.length,r=!1;for(;e--;){let i=t[e][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){r=!0;break}if(i._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var cOe=Ca(new RegExp("\\p{P}","u")),uOe=Ca(/[A-Za-z]/),fOe=Ca(/[\dA-Za-z]/),hOe=Ca(/[#-'*+\--9=?A-Z^-~]/);var dOe=Ca(/\d/),pOe=Ca(/[\dA-Fa-f]/),mOe=Ca(/[!-/:-@[-`{-~]/);function NS(t){return t!==null&&t<-2}function $u(t){return t!==null&&(t<0||t===32)}function Xu(t){return t===-2||t===-1||t===32}var OOe=Ca(/\s/);function Ca(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Ru(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Xu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Xu(l)&&o++<n?(t.consume(l),s):(t.exit(r),e(l))}}var Xb={tokenize:JU,partial:!0};function JU(t,e,r){return i;function i(o){return Xu(o)?Ru(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||NS(o)?e(o):r(o)}}function f0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var eq={tokenize:sq,partial:!0};function Rb(){return{document:{91:{tokenize:nq,continuation:{tokenize:oq},exit:aq}},text:{91:{tokenize:iq},93:{add:"after",tokenize:tq,resolveTo:rq}}}}function tq(t,e,r){let i=this,n=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a;for(;n--;){let l=i.events[n][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!a||!a._balanced)return r(l);let c=f0(i.sliceSerialize({start:a.end,end:i.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?r(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function rq(t,e){let r=t.length,i;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){i=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[t[r+1],t[r+2],["enter",n,e],t[r+3],t[r+4],["enter",o,e],["exit",o,e],["enter",a,e],["enter",s,e],["exit",s,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(r,t.length-r+1,...l),t}function iq(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0,a;return s;function s(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?r(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&&!a||f===null||f===91||$u(f))return r(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(f0(i.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(f)}return $u(f)||(a=!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 nq(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,a=0,s;return l;function l(O){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(O){return O===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):r(O)}function u(O){if(a>999||O===93&&!s||O===null||O===91||$u(O))return r(O);if(O===93){t.exit("chunkString");let x=t.exit("gfmFootnoteDefinitionLabelString");return o=f0(i.sliceSerialize(x)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return $u(O)||(s=!0),a++,t.consume(O),O===92?f:u}function f(O){return O===91||O===92||O===93?(t.consume(O),a++,u):u(O)}function d(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),n.includes(o)||n.push(o),Ru(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function oq(t,e,r){return t.check(Xb,e,t.attempt(eq,e,r))}function aq(t){t.exit("gfmFootnoteDefinition")}function sq(t,e,r){let i=this;return Ru(t,n,"gfmFootnoteDefinitionIndent",5);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(o):r(o)}}function h0(t,e,r,i){let n=t.length,o=0,a;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o<i.length;)a=i.slice(o,o+1e4),a.unshift(e,0),t.splice(...a),o+=1e4,e+=1e4}var lq=Pa(new RegExp("\\p{P}","u")),ROe=Pa(/[A-Za-z]/),IOe=Pa(/[\dA-Za-z]/),LOe=Pa(/[#-'*+\--9=?A-Z^-~]/);var MOe=Pa(/\d/),zOe=Pa(/[\dA-Fa-f]/),cq=Pa(/[!-/:-@[-`{-~]/);function US(t){return t!==null&&(t<0||t===32)}function qS(t){return cq(t)||lq(t)}var BS=Pa(/\s/);function Pa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Ib(t){if(t===null||US(t)||BS(t))return 1;if(qS(t))return 2}function jS(t,e,r){let i=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!i.includes(o)&&(e=o(e,r),i.push(o))}return e}function Lb(t){let r=(t||{}).singleTilde,i={tokenize:o,resolveAll:n};return r==null&&(r=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function n(a,s){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},d=[["enter",u,s],["enter",a[c][1],s],["exit",a[c][1],s],["enter",f,s]],p=s.parser.constructs.insideSpan.null;p&&h0(d,d.length,0,jS(p,a.slice(c+1,l),s)),h0(d,d.length,0,[["exit",f,s],["enter",a[l][1],s],["exit",a[l][1],s],["exit",u,s]]),h0(a,c-1,l-c+3,d),l=c+d.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function o(a,s,l){let c=this.previous,u=this.events,f=0;return d;function d(O){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(O):(a.enter("strikethroughSequenceTemporary"),p(O))}function p(O){let x=Ib(c);if(O===126)return f>1?l(O):(a.consume(O),f++,p);if(f<2&&!r)return l(O);let k=a.exit("strikethroughSequenceTemporary"),w=Ib(O);return k._open=!w||w===2&&!!x,k._close=!x||x===2&&!!w,s(O)}}}var YOe=_a(new RegExp("\\p{P}","u")),HOe=_a(/[A-Za-z]/),GOe=_a(/[\dA-Za-z]/),KOe=_a(/[#-'*+\--9=?A-Z^-~]/);var JOe=_a(/\d/),ege=_a(/[\dA-Fa-f]/),tge=_a(/[!-/:-@[-`{-~]/);function Iu(t){return t!==null&&t<-2}function Mb(t){return t!==null&&(t<0||t===32)}function Eo(t){return t===-2||t===-1||t===32}var rge=_a(/\s/);function _a(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Yl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Eo(l)?(t.enter(r),s(l)):e(l)}function s(l){return Eo(l)&&o++<n?(t.consume(l),s):(t.exit(r),e(l))}}var d0=class{constructor(){this.map=[]}add(e,r,i){uq(this,e,r,i)}consume(e){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let r=this.map.length,i=[];for(;r>0;)r-=1,i.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];i.push([...e]),e.length=0;let n=i.pop();for(;n;)e.push(...n),n=i.pop();this.map.length=0}};function uq(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n<t.map.length;){if(t.map[n][0]===e){t.map[n][1]+=r,t.map[n][2].push(...i);return}n+=1}t.map.push([e,r,i])}}function WS(t,e){let r=!1,i=[];for(;e<t.length;){let n=t[e];if(r){if(n[0]==="enter")n[1].type==="tableContent"&&i.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(n[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let o=i.length-1;i[o]=i[o]==="left"?"center":"right"}}else if(n[1].type==="tableDelimiterRow")break}else n[0]==="enter"&&n[1].type==="tableDelimiterRow"&&(r=!0);e+=1}return i}function zb(){return{flow:{null:{tokenize:fq,resolveAll:hq}}}}function fq(t,e,r){let i=this,n=0,o=0,a;return s;function s(V){let ne=i.events.length-1;for(;ne>-1;){let ge=i.events[ne][1].type;if(ge==="lineEnding"||ge==="linePrefix")ne--;else break}let ue=ne>-1?i.events[ne][1].type:null,he=ue==="tableHead"||ue==="tableRow"?I:l;return he===I&&i.parser.lazy[i.now().line]?r(V):he(V)}function l(V){return t.enter("tableHead"),t.enter("tableRow"),c(V)}function c(V){return V===124||(a=!0,o+=1),u(V)}function u(V){return V===null?r(V):Iu(V)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(V),t.exit("lineEnding"),p):r(V):Eo(V)?Yl(t,u,"whitespace")(V):(o+=1,a&&(a=!1,n+=1),V===124?(t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),a=!0,u):(t.enter("data"),f(V)))}function f(V){return V===null||V===124||Mb(V)?(t.exit("data"),u(V)):(t.consume(V),V===92?d:f)}function d(V){return V===92||V===124?(t.consume(V),f):f(V)}function p(V){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(V):(t.enter("tableDelimiterRow"),a=!1,Eo(V)?Yl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):O(V))}function O(V){return V===45||V===58?k(V):V===124?(a=!0,t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),x):N(V)}function x(V){return Eo(V)?Yl(t,k,"whitespace")(V):k(V)}function k(V){return V===58?(o+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(V),t.exit("tableDelimiterMarker"),w):V===45?(o+=1,w(V)):V===null||Iu(V)?L(V):N(V)}function w(V){return V===45?(t.enter("tableDelimiterFiller"),C(V)):N(V)}function C(V){return V===45?(t.consume(V),C):V===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(V),t.exit("tableDelimiterMarker"),Q):(t.exit("tableDelimiterFiller"),Q(V))}function Q(V){return Eo(V)?Yl(t,L,"whitespace")(V):L(V)}function L(V){return V===124?O(V):V===null||Iu(V)?!a||n!==o?N(V):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(V)):N(V)}function N(V){return r(V)}function I(V){return t.enter("tableRow"),H(V)}function H(V){return V===124?(t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),H):V===null||Iu(V)?(t.exit("tableRow"),e(V)):Eo(V)?Yl(t,H,"whitespace")(V):(t.enter("data"),j(V))}function j(V){return V===null||V===124||Mb(V)?(t.exit("data"),H(V)):(t.consume(V),V===92?Y:j)}function Y(V){return V===92||V===124?(t.consume(V),j):j(V)}}function hq(t,e){let r=-1,i=!0,n=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,u,f,d=new d0;for(;++r<t.length;){let p=t[r],O=p[1];p[0]==="enter"?O.type==="tableHead"?(s=!1,l!==0&&(VS(d,e,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},O.start),end:Object.assign({},O.end)},d.add(r,0,[["enter",c,e]])):O.type==="tableRow"||O.type==="tableDelimiterRow"?(i=!0,f=void 0,o=[0,0,0,0],a=[0,r+1,0,0],s&&(s=!1,u={type:"tableBody",start:Object.assign({},O.start),end:Object.assign({},O.end)},d.add(r,0,[["enter",u,e]])),n=O.type==="tableDelimiterRow"?2:u?3:1):n&&(O.type==="data"||O.type==="tableDelimiterMarker"||O.type==="tableDelimiterFiller")?(i=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],f=p0(d,e,o,n,void 0,f),o=[0,0,0,0]),a[2]=r)):O.type==="tableCellDivider"&&(i?i=!1:(o[1]!==0&&(a[0]=a[1],f=p0(d,e,o,n,void 0,f)),o=a,a=[o[1],r,0,0])):O.type==="tableHead"?(s=!0,l=r):O.type==="tableRow"||O.type==="tableDelimiterRow"?(l=r,o[1]!==0?(a[0]=a[1],f=p0(d,e,o,n,r,f)):a[1]!==0&&(f=p0(d,e,a,n,r,f)),n=0):n&&(O.type==="data"||O.type==="tableDelimiterMarker"||O.type==="tableDelimiterFiller")&&(a[3]=r)}for(l!==0&&VS(d,e,l,c,u),d.consume(e.events),r=-1;++r<e.events.length;){let p=e.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=WS(e.events,r))}return t}function p0(t,e,r,i,n,o){let a=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",s="tableContent";r[0]!==0&&(o.end=Object.assign({},Hl(e.events,r[0])),t.add(r[0],0,[["exit",o,e]]));let l=Hl(e.events,r[1]);if(o={type:a,start:Object.assign({},l),end:Object.assign({},l)},t.add(r[1],0,[["enter",o,e]]),r[2]!==0){let c=Hl(e.events,r[2]),u=Hl(e.events,r[3]),f={type:s,start:Object.assign({},c),end:Object.assign({},u)};if(t.add(r[2],0,[["enter",f,e]]),i!==2){let d=e.events[r[2]],p=e.events[r[3]];if(d[1].end=Object.assign({},p[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){let O=r[2]+1,x=r[3]-r[2]-1;t.add(O,x,[])}}t.add(r[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Hl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function VS(t,e,r,i,n){let o=[],a=Hl(e.events,r);n&&(n.end=Object.assign({},a),o.push(["exit",n,e])),i.end=Object.assign({},a),o.push(["exit",i,e]),t.add(r+1,0,o)}function Hl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var mge=Aa(new RegExp("\\p{P}","u")),Oge=Aa(/[A-Za-z]/),gge=Aa(/[\dA-Za-z]/),bge=Aa(/[#-'*+\--9=?A-Z^-~]/);var yge=Aa(/\d/),vge=Aa(/[\dA-Fa-f]/),xge=Aa(/[!-/:-@[-`{-~]/);function FS(t){return t!==null&&t<-2}function ZS(t){return t!==null&&(t<0||t===32)}function Lu(t){return t===-2||t===-1||t===32}var wge=Aa(/\s/);function Aa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function YS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Lu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Lu(l)&&o++<n?(t.consume(l),s):(t.exit(r),e(l))}}var dq={tokenize:pq};function Db(){return{text:{91:dq}}}function pq(t,e,r){let i=this;return n;function n(l){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?r(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),o)}function o(l){return ZS(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),a):r(l)}function a(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),s):r(l)}function s(l){return FS(l)?e(l):Lu(l)?t.check({tokenize:mq},e,r)(l):r(l)}}function mq(t,e,r){return YS(t,i,"whitespace");function i(n){return n===null?r(n):e(n)}}function HS(t){return AS([Qb(),Rb(),Lb(t),zb(),Db()])}var Oq={};function m0(t){let e=this,r=t||Oq,i=e.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),a=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(HS(r)),o.push(Cb()),a.push(Pb(r))}function Nb(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:r,mathFlowValue:s,mathText:a,mathTextData:s}};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 r(){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function i(){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 a(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 s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function Ub(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),i.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:r,inlineMath:i}};function r(o,a,s,l){let c=o.value||"",u=s.createTracker(l),f="$".repeat(Math.max(l0(c,"$")+1,2)),d=s.enter("mathFlow"),p=u.move(f);if(o.meta){let O=s.enter("mathFlowMeta");p+=u.move(s.safe(o.meta,oe({after:`
`,before:p,encode:["$"]},u.current()))),O()}return p+=u.move(`
`),c&&(p+=u.move(c+`
`)),p+=u.move(f),d(),p}function i(o,a,s){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<s.unsafe.length;){let d=s.unsafe[f];if(!d.atBreak)continue;let p=s.compilePattern(d),O;for(;O=p.exec(l);){let x=O.index;l.codePointAt(x)===10&&l.codePointAt(x-1)===13&&x--,l=l.slice(0,x)+" "+l.slice(O.index+1)}}return u+l+u}function n(){return"$"}}var e1e=Qa(new RegExp("\\p{P}","u")),t1e=Qa(/[A-Za-z]/),r1e=Qa(/[\dA-Za-z]/),i1e=Qa(/[#-'*+\--9=?A-Z^-~]/);var n1e=Qa(/\d/),o1e=Qa(/[\dA-Fa-f]/),a1e=Qa(/[!-/:-@[-`{-~]/);function Co(t){return t!==null&&t<-2}function qb(t){return t===-2||t===-1||t===32}var s1e=Qa(/\s/);function Qa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Mu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return qb(l)?(t.enter(r),s(l)):e(l)}function s(l){return qb(l)&&o++<n?(t.consume(l),s):(t.exit(r),e(l))}}var KS={tokenize:gq,concrete:!0},GS={tokenize:bq,partial:!0};function gq(t,e,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,a=0;return s;function s(C){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(C)}function l(C){return C===36?(t.consume(C),a++,l):a<2?r(C):(t.exit("mathFlowFenceSequence"),Mu(t,c,"whitespace")(C))}function c(C){return C===null||Co(C)?f(C):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(C))}function u(C){return C===null||Co(C)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),f(C)):C===36?r(C):(t.consume(C),u)}function f(C){return t.exit("mathFlowFence"),i.interrupt?e(C):t.attempt(GS,d,k)(C)}function d(C){return t.attempt({tokenize:w,partial:!0},k,p)(C)}function p(C){return(o?Mu(t,O,"linePrefix",o+1):O)(C)}function O(C){return C===null?k(C):Co(C)?t.attempt(GS,d,k)(C):(t.enter("mathFlowValue"),x(C))}function x(C){return C===null||Co(C)?(t.exit("mathFlowValue"),O(C)):(t.consume(C),x)}function k(C){return t.exit("mathFlow"),e(C)}function w(C,Q,L){let N=0;return Mu(C,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function I(Y){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),H(Y)}function H(Y){return Y===36?(N++,C.consume(Y),H):N<a?L(Y):(C.exit("mathFlowFenceSequence"),Mu(C,j,"whitespace")(Y))}function j(Y){return Y===null||Co(Y)?(C.exit("mathFlowFence"),Q(Y)):L(Y)}}}function bq(t,e,r){let i=this;return n;function n(a){return a===null?e(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?r(a):e(a)}}function JS(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:i,resolve:yq,previous:vq};function i(n,o,a){let s=this,l=0,c,u;return f;function f(k){return n.enter("mathText"),n.enter("mathTextSequence"),d(k)}function d(k){return k===36?(n.consume(k),l++,d):l<2&&!r?a(k):(n.exit("mathTextSequence"),p(k))}function p(k){return k===null?a(k):k===36?(u=n.enter("mathTextSequence"),c=0,x(k)):k===32?(n.enter("space"),n.consume(k),n.exit("space"),p):Co(k)?(n.enter("lineEnding"),n.consume(k),n.exit("lineEnding"),p):(n.enter("mathTextData"),O(k))}function O(k){return k===null||k===32||k===36||Co(k)?(n.exit("mathTextData"),p(k)):(n.consume(k),O)}function x(k){return k===36?(n.consume(k),c++,x):c===l?(n.exit("mathTextSequence"),n.exit("mathText"),o(k)):(u.type="mathTextData",O(k))}}}function yq(t){let e=t.length-4,r=3,i,n;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(i=r;++i<e;)if(t[i][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[r][1].type="mathTextPadding",r+=2,e-=2;break}}for(i=r-1,e++;++i<=e;)n===void 0?i!==e&&t[i][1].type!=="lineEnding"&&(n=i):(i===e||t[i][1].type==="lineEnding")&&(t[n][1].type="mathTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),e-=i-n-2,i=n+2),n=void 0);return t}function vq(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Bb(t){return{flow:{36:KS},text:{36:JS(t)}}}var Mi=class t{constructor(e,r,i){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=i}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new t(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}},Hn=class t{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new t(r,Mi.range(this,e))}},Pe=class t{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var i="KaTeX parse error: "+e,n,o,a=r&&r.loc;if(a&&a.start<=a.end){var s=a.lexer.input;n=a.start,o=a.end,n===s.length?i+=" at end of input: ":i+=" at position "+(n+1)+": ";var l=s.slice(n,o).replace(/[^]/g,"$&\u0332"),c;n>15?c="\u2026"+s.slice(n-15,n):c=s.slice(0,n);var u;o+15<s.length?u=s.slice(o,o+15)+"\u2026":u=s.slice(o),i+=c+l+u}var f=new Error(i);return f.name="ParseError",f.__proto__=t.prototype,f.position=n,n!=null&&o!=null&&(f.length=o-n),f.rawMessage=e,f}};Pe.prototype.__proto__=Error.prototype;var xq=function(e,r){return e.indexOf(r)!==-1},wq=function(e,r){return e===void 0?r:e},kq=/([A-Z])/g,Sq=function(e){return e.replace(kq,"-$1").toLowerCase()},Tq={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Eq=/[&><"']/g;function Cq(t){return String(t).replace(Eq,e=>Tq[e])}var Q7=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},Pq=function(e){var r=Q7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},_q=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Aq=function(e){var r=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:xq,deflt:wq,escape:Cq,hyphenate:Sq,getBaseElem:Q7,isCharacterBox:Pq,protocolFromUrl:Aq},C0={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Qq(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var qu=class{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in C0)if(C0.hasOwnProperty(r)){var i=C0[r];this[r]=e[r]!==void 0?i.processor?i.processor(e[r]):e[r]:Qq(i)}}reportNonstrict(e,r,i){var n=this.strict;if(typeof n=="function"&&(n=n(e,r,i)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new Pe("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),i);n==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,i){var n=this.strict;if(typeof n=="function")try{n=n(e,r,i)}catch(o){n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=Ke.protocolFromUrl(e.url));var r=typeof this.trust=="function"?this.trust(e):this.trust;return!!r}},Fn=class{constructor(e,r,i){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=i}sup(){return Zn[$q[this.id]]}sub(){return Zn[Xq[this.id]]}fracNum(){return Zn[Rq[this.id]]}fracDen(){return Zn[Iq[this.id]]}cramp(){return Zn[Lq[this.id]]}text(){return Zn[Mq[this.id]]}isTight(){return this.size>=2}},p2=0,_0=1,Kl=2,Ao=3,Bu=4,Ki=5,Jl=6,li=7,Zn=[new Fn(p2,0,!1),new Fn(_0,0,!0),new Fn(Kl,1,!1),new Fn(Ao,1,!0),new Fn(Bu,2,!1),new Fn(Ki,2,!0),new Fn(Jl,3,!1),new Fn(li,3,!0)],$q=[Bu,Ki,Bu,Ki,Jl,li,Jl,li],Xq=[Ki,Ki,Ki,Ki,li,li,li,li],Rq=[Kl,Ao,Bu,Ki,Jl,li,Jl,li],Iq=[Ao,Ao,Ki,Ki,li,li,li,li],Lq=[_0,_0,Ao,Ao,Ki,Ki,li,li],Mq=[p2,_0,Kl,Ao,Kl,Ao,Kl,Ao],Fe={DISPLAY:Zn[p2],TEXT:Zn[Kl],SCRIPT:Zn[Bu],SCRIPTSCRIPT:Zn[Jl]},r2=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function zq(t){for(var e=0;e<r2.length;e++)for(var r=r2[e],i=0;i<r.blocks.length;i++){var n=r.blocks[i];if(t>=n[0]&&t<=n[1])return r.name}return null}var P0=[];r2.forEach(t=>t.blocks.forEach(e=>P0.push(...e)));function $7(t){for(var e=0;e<P0.length;e+=2)if(t>=P0[e]&&t<=P0[e+1])return!0;return!1}var Gl=80,Dq=function(e,r){return"M95,"+(622+e+r)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+e/2.075+" -"+e+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+e)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Nq=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+e/2.084+" -"+e+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+e)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Uq=function(e,r){return"M983 "+(10+e+r)+`
l`+e/3.13+" -"+e+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},qq=function(e,r){return"M424,"+(2398+e+r)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+e)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+`
h400000v`+(40+e)+"h-400000z"},Bq=function(e,r){return"M473,"+(2713+e+r)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},jq=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},Wq=function(e,r,i){var n=i-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+`
H742v`+n+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},Vq=function(e,r,i){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Dq(r,Gl);break;case"sqrtSize1":n=Nq(r,Gl);break;case"sqrtSize2":n=Uq(r,Gl);break;case"sqrtSize3":n=qq(r,Gl);break;case"sqrtSize4":n=Bq(r,Gl);break;case"sqrtTall":n=Wq(r,Gl,i)}return n},Fq=function(e,r){switch(e){case"\u239C":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"\u2223":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"\u2225":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"\u239F":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"\u23A2":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"\u23A5":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"\u23AA":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"\u23D0":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"\u2016":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},e7={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Zq=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Xs=class{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return Ke.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){for(var e="",r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){var e=r=>r.toText();return this.children.map(e).join("")}},Yn={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},O0={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},t7={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Yq(t,e){Yn[t]=e}function m2(t,e,r){if(!Yn[e])throw new Error("Font metrics not found for font: "+e+".");var i=t.charCodeAt(0),n=Yn[e][i];if(!n&&t[0]in t7&&(i=t7[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&$7(i)&&(n=Yn[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var jb={};function Hq(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!jb[e]){var r=jb[e]={cssEmPerMu:O0.quad[e]/18};for(var i in O0)O0.hasOwnProperty(i)&&(r[i]=O0[i][e])}return jb[e]}var Gq=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],r7=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],i7=function(e,r){return r.size<2?e:Gq[e-1][r.size-1]},A0=class t{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=r7[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:i7(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:r7[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=i7(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Hq(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};A0.BASESIZE=6;var i2={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Kq={ex:!0,em:!0,mu:!0},X7=function(e){return typeof e!="string"&&(e=e.unit),e in i2||e in Kq||e==="ex"},Gt=function(e,r){var i;if(e.unit in i2)i=i2[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")i=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")i=n.fontMetrics().xHeight;else if(e.unit==="em")i=n.fontMetrics().quad;else throw new Pe("Invalid unit: '"+e.unit+"'");n!==r&&(i*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*i,r.maxSize)},Qe=function(e){return+e.toFixed(4)+"em"},Ra=function(e){return e.filter(r=>r).join(" ")},R7=function(e,r,i){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},I7=function(e){var r=document.createElement(e);r.className=Ra(this.classes);for(var i in this.style)this.style.hasOwnProperty(i)&&(r.style[i]=this.style[i]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var o=0;o<this.children.length;o++)r.appendChild(this.children[o].toNode());return r},L7=function(e){var r="<"+e;this.classes.length&&(r+=' class="'+Ke.escape(Ra(this.classes))+'"');var i="";for(var n in this.style)this.style.hasOwnProperty(n)&&(i+=Ke.hyphenate(n)+":"+this.style[n]+";");i&&(r+=' style="'+Ke.escape(i)+'"');for(var o in this.attributes)this.attributes.hasOwnProperty(o)&&(r+=" "+o+'="'+Ke.escape(this.attributes[o])+'"');r+=">";for(var a=0;a<this.children.length;a++)r+=this.children[a].toMarkup();return r+="</"+e+">",r},Rs=class{constructor(e,r,i,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,R7.call(this,e,i,n),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return I7.call(this,"span")}toMarkup(){return L7.call(this,"span")}},ju=class{constructor(e,r,i,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,R7.call(this,r,n),this.children=i||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return I7.call(this,"a")}toMarkup(){return L7.call(this,"a")}},n2=class{constructor(e,r,i){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=i}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=Ke.hyphenate(i)+":"+this.style[i]+";");return r&&(e+=' style="'+Ke.escape(r)+'"'),e+="'/>",e}},Jq={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},ki=class{constructor(e,r,i,n,o,a,s,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=r||0,this.depth=i||0,this.italic=n||0,this.skew=o||0,this.width=a||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var c=zq(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Jq[this.text])}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=Qe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Ra(this.classes));for(var i in this.style)this.style.hasOwnProperty(i)&&(r=r||document.createElement("span"),r.style[i]=this.style[i]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=Ke.escape(Ra(this.classes)),r+='"');var i="";this.italic>0&&(i+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(i+=Ke.hyphenate(n)+":"+this.style[n]+";");i&&(e=!0,r+=' style="'+Ke.escape(i)+'"');var o=Ke.escape(this.text);return e?(r+=">",r+=o,r+="</span>",r):o}},vn=class{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var i in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,i)&&r.setAttribute(i,this.attributes[i]);for(var n=0;n<this.children.length;n++)r.appendChild(this.children[n].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+"='"+this.attributes[r]+"'");e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</svg>",e}},Gn=class{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",e7[this.pathName]),r}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+e7[this.pathName]+"'/>"}},Wu=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var i in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,i)&&r.setAttribute(i,this.attributes[i]);return r}toMarkup(){var e="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+"='"+this.attributes[r]+"'");return e+="/>",e}};function n7(t){if(t instanceof ki)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function eB(t){if(t instanceof Rs)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var tB={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rB={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dt={math:{},text:{}};function v(t,e,r,i,n,o){Dt[t][n]={font:e,group:r,replace:i},o&&i&&(Dt[t][i]=Dt[t][n])}var S="math",xe="text",P="main",U="ams",Bt="accent-token",Me="bin",ci="close",ec="inner",Ve="mathord",fr="op-token",zi="open",M0="punct",B="rel",Ro="spacing",G="textord";v(S,P,B,"\u2261","\\equiv",!0);v(S,P,B,"\u227A","\\prec",!0);v(S,P,B,"\u227B","\\succ",!0);v(S,P,B,"\u223C","\\sim",!0);v(S,P,B,"\u22A5","\\perp");v(S,P,B,"\u2AAF","\\preceq",!0);v(S,P,B,"\u2AB0","\\succeq",!0);v(S,P,B,"\u2243","\\simeq",!0);v(S,P,B,"\u2223","\\mid",!0);v(S,P,B,"\u226A","\\ll",!0);v(S,P,B,"\u226B","\\gg",!0);v(S,P,B,"\u224D","\\asymp",!0);v(S,P,B,"\u2225","\\parallel");v(S,P,B,"\u22C8","\\bowtie",!0);v(S,P,B,"\u2323","\\smile",!0);v(S,P,B,"\u2291","\\sqsubseteq",!0);v(S,P,B,"\u2292","\\sqsupseteq",!0);v(S,P,B,"\u2250","\\doteq",!0);v(S,P,B,"\u2322","\\frown",!0);v(S,P,B,"\u220B","\\ni",!0);v(S,P,B,"\u221D","\\propto",!0);v(S,P,B,"\u22A2","\\vdash",!0);v(S,P,B,"\u22A3","\\dashv",!0);v(S,P,B,"\u220B","\\owns");v(S,P,M0,".","\\ldotp");v(S,P,M0,"\u22C5","\\cdotp");v(S,P,G,"#","\\#");v(xe,P,G,"#","\\#");v(S,P,G,"&","\\&");v(xe,P,G,"&","\\&");v(S,P,G,"\u2135","\\aleph",!0);v(S,P,G,"\u2200","\\forall",!0);v(S,P,G,"\u210F","\\hbar",!0);v(S,P,G,"\u2203","\\exists",!0);v(S,P,G,"\u2207","\\nabla",!0);v(S,P,G,"\u266D","\\flat",!0);v(S,P,G,"\u2113","\\ell",!0);v(S,P,G,"\u266E","\\natural",!0);v(S,P,G,"\u2663","\\clubsuit",!0);v(S,P,G,"\u2118","\\wp",!0);v(S,P,G,"\u266F","\\sharp",!0);v(S,P,G,"\u2662","\\diamondsuit",!0);v(S,P,G,"\u211C","\\Re",!0);v(S,P,G,"\u2661","\\heartsuit",!0);v(S,P,G,"\u2111","\\Im",!0);v(S,P,G,"\u2660","\\spadesuit",!0);v(S,P,G,"\xA7","\\S",!0);v(xe,P,G,"\xA7","\\S");v(S,P,G,"\xB6","\\P",!0);v(xe,P,G,"\xB6","\\P");v(S,P,G,"\u2020","\\dag");v(xe,P,G,"\u2020","\\dag");v(xe,P,G,"\u2020","\\textdagger");v(S,P,G,"\u2021","\\ddag");v(xe,P,G,"\u2021","\\ddag");v(xe,P,G,"\u2021","\\textdaggerdbl");v(S,P,ci,"\u23B1","\\rmoustache",!0);v(S,P,zi,"\u23B0","\\lmoustache",!0);v(S,P,ci,"\u27EF","\\rgroup",!0);v(S,P,zi,"\u27EE","\\lgroup",!0);v(S,P,Me,"\u2213","\\mp",!0);v(S,P,Me,"\u2296","\\ominus",!0);v(S,P,Me,"\u228E","\\uplus",!0);v(S,P,Me,"\u2293","\\sqcap",!0);v(S,P,Me,"\u2217","\\ast");v(S,P,Me,"\u2294","\\sqcup",!0);v(S,P,Me,"\u25EF","\\bigcirc",!0);v(S,P,Me,"\u2219","\\bullet",!0);v(S,P,Me,"\u2021","\\ddagger");v(S,P,Me,"\u2240","\\wr",!0);v(S,P,Me,"\u2A3F","\\amalg");v(S,P,Me,"&","\\And");v(S,P,B,"\u27F5","\\longleftarrow",!0);v(S,P,B,"\u21D0","\\Leftarrow",!0);v(S,P,B,"\u27F8","\\Longleftarrow",!0);v(S,P,B,"\u27F6","\\longrightarrow",!0);v(S,P,B,"\u21D2","\\Rightarrow",!0);v(S,P,B,"\u27F9","\\Longrightarrow",!0);v(S,P,B,"\u2194","\\leftrightarrow",!0);v(S,P,B,"\u27F7","\\longleftrightarrow",!0);v(S,P,B,"\u21D4","\\Leftrightarrow",!0);v(S,P,B,"\u27FA","\\Longleftrightarrow",!0);v(S,P,B,"\u21A6","\\mapsto",!0);v(S,P,B,"\u27FC","\\longmapsto",!0);v(S,P,B,"\u2197","\\nearrow",!0);v(S,P,B,"\u21A9","\\hookleftarrow",!0);v(S,P,B,"\u21AA","\\hookrightarrow",!0);v(S,P,B,"\u2198","\\searrow",!0);v(S,P,B,"\u21BC","\\leftharpoonup",!0);v(S,P,B,"\u21C0","\\rightharpoonup",!0);v(S,P,B,"\u2199","\\swarrow",!0);v(S,P,B,"\u21BD","\\leftharpoondown",!0);v(S,P,B,"\u21C1","\\rightharpoondown",!0);v(S,P,B,"\u2196","\\nwarrow",!0);v(S,P,B,"\u21CC","\\rightleftharpoons",!0);v(S,U,B,"\u226E","\\nless",!0);v(S,U,B,"\uE010","\\@nleqslant");v(S,U,B,"\uE011","\\@nleqq");v(S,U,B,"\u2A87","\\lneq",!0);v(S,U,B,"\u2268","\\lneqq",!0);v(S,U,B,"\uE00C","\\@lvertneqq");v(S,U,B,"\u22E6","\\lnsim",!0);v(S,U,B,"\u2A89","\\lnapprox",!0);v(S,U,B,"\u2280","\\nprec",!0);v(S,U,B,"\u22E0","\\npreceq",!0);v(S,U,B,"\u22E8","\\precnsim",!0);v(S,U,B,"\u2AB9","\\precnapprox",!0);v(S,U,B,"\u2241","\\nsim",!0);v(S,U,B,"\uE006","\\@nshortmid");v(S,U,B,"\u2224","\\nmid",!0);v(S,U,B,"\u22AC","\\nvdash",!0);v(S,U,B,"\u22AD","\\nvDash",!0);v(S,U,B,"\u22EA","\\ntriangleleft");v(S,U,B,"\u22EC","\\ntrianglelefteq",!0);v(S,U,B,"\u228A","\\subsetneq",!0);v(S,U,B,"\uE01A","\\@varsubsetneq");v(S,U,B,"\u2ACB","\\subsetneqq",!0);v(S,U,B,"\uE017","\\@varsubsetneqq");v(S,U,B,"\u226F","\\ngtr",!0);v(S,U,B,"\uE00F","\\@ngeqslant");v(S,U,B,"\uE00E","\\@ngeqq");v(S,U,B,"\u2A88","\\gneq",!0);v(S,U,B,"\u2269","\\gneqq",!0);v(S,U,B,"\uE00D","\\@gvertneqq");v(S,U,B,"\u22E7","\\gnsim",!0);v(S,U,B,"\u2A8A","\\gnapprox",!0);v(S,U,B,"\u2281","\\nsucc",!0);v(S,U,B,"\u22E1","\\nsucceq",!0);v(S,U,B,"\u22E9","\\succnsim",!0);v(S,U,B,"\u2ABA","\\succnapprox",!0);v(S,U,B,"\u2246","\\ncong",!0);v(S,U,B,"\uE007","\\@nshortparallel");v(S,U,B,"\u2226","\\nparallel",!0);v(S,U,B,"\u22AF","\\nVDash",!0);v(S,U,B,"\u22EB","\\ntriangleright");v(S,U,B,"\u22ED","\\ntrianglerighteq",!0);v(S,U,B,"\uE018","\\@nsupseteqq");v(S,U,B,"\u228B","\\supsetneq",!0);v(S,U,B,"\uE01B","\\@varsupsetneq");v(S,U,B,"\u2ACC","\\supsetneqq",!0);v(S,U,B,"\uE019","\\@varsupsetneqq");v(S,U,B,"\u22AE","\\nVdash",!0);v(S,U,B,"\u2AB5","\\precneqq",!0);v(S,U,B,"\u2AB6","\\succneqq",!0);v(S,U,B,"\uE016","\\@nsubseteqq");v(S,U,Me,"\u22B4","\\unlhd");v(S,U,Me,"\u22B5","\\unrhd");v(S,U,B,"\u219A","\\nleftarrow",!0);v(S,U,B,"\u219B","\\nrightarrow",!0);v(S,U,B,"\u21CD","\\nLeftarrow",!0);v(S,U,B,"\u21CF","\\nRightarrow",!0);v(S,U,B,"\u21AE","\\nleftrightarrow",!0);v(S,U,B,"\u21CE","\\nLeftrightarrow",!0);v(S,U,B,"\u25B3","\\vartriangle");v(S,U,G,"\u210F","\\hslash");v(S,U,G,"\u25BD","\\triangledown");v(S,U,G,"\u25CA","\\lozenge");v(S,U,G,"\u24C8","\\circledS");v(S,U,G,"\xAE","\\circledR");v(xe,U,G,"\xAE","\\circledR");v(S,U,G,"\u2221","\\measuredangle",!0);v(S,U,G,"\u2204","\\nexists");v(S,U,G,"\u2127","\\mho");v(S,U,G,"\u2132","\\Finv",!0);v(S,U,G,"\u2141","\\Game",!0);v(S,U,G,"\u2035","\\backprime");v(S,U,G,"\u25B2","\\blacktriangle");v(S,U,G,"\u25BC","\\blacktriangledown");v(S,U,G,"\u25A0","\\blacksquare");v(S,U,G,"\u29EB","\\blacklozenge");v(S,U,G,"\u2605","\\bigstar");v(S,U,G,"\u2222","\\sphericalangle",!0);v(S,U,G,"\u2201","\\complement",!0);v(S,U,G,"\xF0","\\eth",!0);v(xe,P,G,"\xF0","\xF0");v(S,U,G,"\u2571","\\diagup");v(S,U,G,"\u2572","\\diagdown");v(S,U,G,"\u25A1","\\square");v(S,U,G,"\u25A1","\\Box");v(S,U,G,"\u25CA","\\Diamond");v(S,U,G,"\xA5","\\yen",!0);v(xe,U,G,"\xA5","\\yen",!0);v(S,U,G,"\u2713","\\checkmark",!0);v(xe,U,G,"\u2713","\\checkmark");v(S,U,G,"\u2136","\\beth",!0);v(S,U,G,"\u2138","\\daleth",!0);v(S,U,G,"\u2137","\\gimel",!0);v(S,U,G,"\u03DD","\\digamma",!0);v(S,U,G,"\u03F0","\\varkappa");v(S,U,zi,"\u250C","\\@ulcorner",!0);v(S,U,ci,"\u2510","\\@urcorner",!0);v(S,U,zi,"\u2514","\\@llcorner",!0);v(S,U,ci,"\u2518","\\@lrcorner",!0);v(S,U,B,"\u2266","\\leqq",!0);v(S,U,B,"\u2A7D","\\leqslant",!0);v(S,U,B,"\u2A95","\\eqslantless",!0);v(S,U,B,"\u2272","\\lesssim",!0);v(S,U,B,"\u2A85","\\lessapprox",!0);v(S,U,B,"\u224A","\\approxeq",!0);v(S,U,Me,"\u22D6","\\lessdot");v(S,U,B,"\u22D8","\\lll",!0);v(S,U,B,"\u2276","\\lessgtr",!0);v(S,U,B,"\u22DA","\\lesseqgtr",!0);v(S,U,B,"\u2A8B","\\lesseqqgtr",!0);v(S,U,B,"\u2251","\\doteqdot");v(S,U,B,"\u2253","\\risingdotseq",!0);v(S,U,B,"\u2252","\\fallingdotseq",!0);v(S,U,B,"\u223D","\\backsim",!0);v(S,U,B,"\u22CD","\\backsimeq",!0);v(S,U,B,"\u2AC5","\\subseteqq",!0);v(S,U,B,"\u22D0","\\Subset",!0);v(S,U,B,"\u228F","\\sqsubset",!0);v(S,U,B,"\u227C","\\preccurlyeq",!0);v(S,U,B,"\u22DE","\\curlyeqprec",!0);v(S,U,B,"\u227E","\\precsim",!0);v(S,U,B,"\u2AB7","\\precapprox",!0);v(S,U,B,"\u22B2","\\vartriangleleft");v(S,U,B,"\u22B4","\\trianglelefteq");v(S,U,B,"\u22A8","\\vDash",!0);v(S,U,B,"\u22AA","\\Vvdash",!0);v(S,U,B,"\u2323","\\smallsmile");v(S,U,B,"\u2322","\\smallfrown");v(S,U,B,"\u224F","\\bumpeq",!0);v(S,U,B,"\u224E","\\Bumpeq",!0);v(S,U,B,"\u2267","\\geqq",!0);v(S,U,B,"\u2A7E","\\geqslant",!0);v(S,U,B,"\u2A96","\\eqslantgtr",!0);v(S,U,B,"\u2273","\\gtrsim",!0);v(S,U,B,"\u2A86","\\gtrapprox",!0);v(S,U,Me,"\u22D7","\\gtrdot");v(S,U,B,"\u22D9","\\ggg",!0);v(S,U,B,"\u2277","\\gtrless",!0);v(S,U,B,"\u22DB","\\gtreqless",!0);v(S,U,B,"\u2A8C","\\gtreqqless",!0);v(S,U,B,"\u2256","\\eqcirc",!0);v(S,U,B,"\u2257","\\circeq",!0);v(S,U,B,"\u225C","\\triangleq",!0);v(S,U,B,"\u223C","\\thicksim");v(S,U,B,"\u2248","\\thickapprox");v(S,U,B,"\u2AC6","\\supseteqq",!0);v(S,U,B,"\u22D1","\\Supset",!0);v(S,U,B,"\u2290","\\sqsupset",!0);v(S,U,B,"\u227D","\\succcurlyeq",!0);v(S,U,B,"\u22DF","\\curlyeqsucc",!0);v(S,U,B,"\u227F","\\succsim",!0);v(S,U,B,"\u2AB8","\\succapprox",!0);v(S,U,B,"\u22B3","\\vartriangleright");v(S,U,B,"\u22B5","\\trianglerighteq");v(S,U,B,"\u22A9","\\Vdash",!0);v(S,U,B,"\u2223","\\shortmid");v(S,U,B,"\u2225","\\shortparallel");v(S,U,B,"\u226C","\\between",!0);v(S,U,B,"\u22D4","\\pitchfork",!0);v(S,U,B,"\u221D","\\varpropto");v(S,U,B,"\u25C0","\\blacktriangleleft");v(S,U,B,"\u2234","\\therefore",!0);v(S,U,B,"\u220D","\\backepsilon");v(S,U,B,"\u25B6","\\blacktriangleright");v(S,U,B,"\u2235","\\because",!0);v(S,U,B,"\u22D8","\\llless");v(S,U,B,"\u22D9","\\gggtr");v(S,U,Me,"\u22B2","\\lhd");v(S,U,Me,"\u22B3","\\rhd");v(S,U,B,"\u2242","\\eqsim",!0);v(S,P,B,"\u22C8","\\Join");v(S,U,B,"\u2251","\\Doteq",!0);v(S,U,Me,"\u2214","\\dotplus",!0);v(S,U,Me,"\u2216","\\smallsetminus");v(S,U,Me,"\u22D2","\\Cap",!0);v(S,U,Me,"\u22D3","\\Cup",!0);v(S,U,Me,"\u2A5E","\\doublebarwedge",!0);v(S,U,Me,"\u229F","\\boxminus",!0);v(S,U,Me,"\u229E","\\boxplus",!0);v(S,U,Me,"\u22C7","\\divideontimes",!0);v(S,U,Me,"\u22C9","\\ltimes",!0);v(S,U,Me,"\u22CA","\\rtimes",!0);v(S,U,Me,"\u22CB","\\leftthreetimes",!0);v(S,U,Me,"\u22CC","\\rightthreetimes",!0);v(S,U,Me,"\u22CF","\\curlywedge",!0);v(S,U,Me,"\u22CE","\\curlyvee",!0);v(S,U,Me,"\u229D","\\circleddash",!0);v(S,U,Me,"\u229B","\\circledast",!0);v(S,U,Me,"\u22C5","\\centerdot");v(S,U,Me,"\u22BA","\\intercal",!0);v(S,U,Me,"\u22D2","\\doublecap");v(S,U,Me,"\u22D3","\\doublecup");v(S,U,Me,"\u22A0","\\boxtimes",!0);v(S,U,B,"\u21E2","\\dashrightarrow",!0);v(S,U,B,"\u21E0","\\dashleftarrow",!0);v(S,U,B,"\u21C7","\\leftleftarrows",!0);v(S,U,B,"\u21C6","\\leftrightarrows",!0);v(S,U,B,"\u21DA","\\Lleftarrow",!0);v(S,U,B,"\u219E","\\twoheadleftarrow",!0);v(S,U,B,"\u21A2","\\leftarrowtail",!0);v(S,U,B,"\u21AB","\\looparrowleft",!0);v(S,U,B,"\u21CB","\\leftrightharpoons",!0);v(S,U,B,"\u21B6","\\curvearrowleft",!0);v(S,U,B,"\u21BA","\\circlearrowleft",!0);v(S,U,B,"\u21B0","\\Lsh",!0);v(S,U,B,"\u21C8","\\upuparrows",!0);v(S,U,B,"\u21BF","\\upharpoonleft",!0);v(S,U,B,"\u21C3","\\downharpoonleft",!0);v(S,P,B,"\u22B6","\\origof",!0);v(S,P,B,"\u22B7","\\imageof",!0);v(S,U,B,"\u22B8","\\multimap",!0);v(S,U,B,"\u21AD","\\leftrightsquigarrow",!0);v(S,U,B,"\u21C9","\\rightrightarrows",!0);v(S,U,B,"\u21C4","\\rightleftarrows",!0);v(S,U,B,"\u21A0","\\twoheadrightarrow",!0);v(S,U,B,"\u21A3","\\rightarrowtail",!0);v(S,U,B,"\u21AC","\\looparrowright",!0);v(S,U,B,"\u21B7","\\curvearrowright",!0);v(S,U,B,"\u21BB","\\circlearrowright",!0);v(S,U,B,"\u21B1","\\Rsh",!0);v(S,U,B,"\u21CA","\\downdownarrows",!0);v(S,U,B,"\u21BE","\\upharpoonright",!0);v(S,U,B,"\u21C2","\\downharpoonright",!0);v(S,U,B,"\u21DD","\\rightsquigarrow",!0);v(S,U,B,"\u21DD","\\leadsto");v(S,U,B,"\u21DB","\\Rrightarrow",!0);v(S,U,B,"\u21BE","\\restriction");v(S,P,G,"\u2018","`");v(S,P,G,"$","\\$");v(xe,P,G,"$","\\$");v(xe,P,G,"$","\\textdollar");v(S,P,G,"%","\\%");v(xe,P,G,"%","\\%");v(S,P,G,"_","\\_");v(xe,P,G,"_","\\_");v(xe,P,G,"_","\\textunderscore");v(S,P,G,"\u2220","\\angle",!0);v(S,P,G,"\u221E","\\infty",!0);v(S,P,G,"\u2032","\\prime");v(S,P,G,"\u25B3","\\triangle");v(S,P,G,"\u0393","\\Gamma",!0);v(S,P,G,"\u0394","\\Delta",!0);v(S,P,G,"\u0398","\\Theta",!0);v(S,P,G,"\u039B","\\Lambda",!0);v(S,P,G,"\u039E","\\Xi",!0);v(S,P,G,"\u03A0","\\Pi",!0);v(S,P,G,"\u03A3","\\Sigma",!0);v(S,P,G,"\u03A5","\\Upsilon",!0);v(S,P,G,"\u03A6","\\Phi",!0);v(S,P,G,"\u03A8","\\Psi",!0);v(S,P,G,"\u03A9","\\Omega",!0);v(S,P,G,"A","\u0391");v(S,P,G,"B","\u0392");v(S,P,G,"E","\u0395");v(S,P,G,"Z","\u0396");v(S,P,G,"H","\u0397");v(S,P,G,"I","\u0399");v(S,P,G,"K","\u039A");v(S,P,G,"M","\u039C");v(S,P,G,"N","\u039D");v(S,P,G,"O","\u039F");v(S,P,G,"P","\u03A1");v(S,P,G,"T","\u03A4");v(S,P,G,"X","\u03A7");v(S,P,G,"\xAC","\\neg",!0);v(S,P,G,"\xAC","\\lnot");v(S,P,G,"\u22A4","\\top");v(S,P,G,"\u22A5","\\bot");v(S,P,G,"\u2205","\\emptyset");v(S,U,G,"\u2205","\\varnothing");v(S,P,Ve,"\u03B1","\\alpha",!0);v(S,P,Ve,"\u03B2","\\beta",!0);v(S,P,Ve,"\u03B3","\\gamma",!0);v(S,P,Ve,"\u03B4","\\delta",!0);v(S,P,Ve,"\u03F5","\\epsilon",!0);v(S,P,Ve,"\u03B6","\\zeta",!0);v(S,P,Ve,"\u03B7","\\eta",!0);v(S,P,Ve,"\u03B8","\\theta",!0);v(S,P,Ve,"\u03B9","\\iota",!0);v(S,P,Ve,"\u03BA","\\kappa",!0);v(S,P,Ve,"\u03BB","\\lambda",!0);v(S,P,Ve,"\u03BC","\\mu",!0);v(S,P,Ve,"\u03BD","\\nu",!0);v(S,P,Ve,"\u03BE","\\xi",!0);v(S,P,Ve,"\u03BF","\\omicron",!0);v(S,P,Ve,"\u03C0","\\pi",!0);v(S,P,Ve,"\u03C1","\\rho",!0);v(S,P,Ve,"\u03C3","\\sigma",!0);v(S,P,Ve,"\u03C4","\\tau",!0);v(S,P,Ve,"\u03C5","\\upsilon",!0);v(S,P,Ve,"\u03D5","\\phi",!0);v(S,P,Ve,"\u03C7","\\chi",!0);v(S,P,Ve,"\u03C8","\\psi",!0);v(S,P,Ve,"\u03C9","\\omega",!0);v(S,P,Ve,"\u03B5","\\varepsilon",!0);v(S,P,Ve,"\u03D1","\\vartheta",!0);v(S,P,Ve,"\u03D6","\\varpi",!0);v(S,P,Ve,"\u03F1","\\varrho",!0);v(S,P,Ve,"\u03C2","\\varsigma",!0);v(S,P,Ve,"\u03C6","\\varphi",!0);v(S,P,Me,"\u2217","*",!0);v(S,P,Me,"+","+");v(S,P,Me,"\u2212","-",!0);v(S,P,Me,"\u22C5","\\cdot",!0);v(S,P,Me,"\u2218","\\circ",!0);v(S,P,Me,"\xF7","\\div",!0);v(S,P,Me,"\xB1","\\pm",!0);v(S,P,Me,"\xD7","\\times",!0);v(S,P,Me,"\u2229","\\cap",!0);v(S,P,Me,"\u222A","\\cup",!0);v(S,P,Me,"\u2216","\\setminus",!0);v(S,P,Me,"\u2227","\\land");v(S,P,Me,"\u2228","\\lor");v(S,P,Me,"\u2227","\\wedge",!0);v(S,P,Me,"\u2228","\\vee",!0);v(S,P,G,"\u221A","\\surd");v(S,P,zi,"\u27E8","\\langle",!0);v(S,P,zi,"\u2223","\\lvert");v(S,P,zi,"\u2225","\\lVert");v(S,P,ci,"?","?");v(S,P,ci,"!","!");v(S,P,ci,"\u27E9","\\rangle",!0);v(S,P,ci,"\u2223","\\rvert");v(S,P,ci,"\u2225","\\rVert");v(S,P,B,"=","=");v(S,P,B,":",":");v(S,P,B,"\u2248","\\approx",!0);v(S,P,B,"\u2245","\\cong",!0);v(S,P,B,"\u2265","\\ge");v(S,P,B,"\u2265","\\geq",!0);v(S,P,B,"\u2190","\\gets");v(S,P,B,">","\\gt",!0);v(S,P,B,"\u2208","\\in",!0);v(S,P,B,"\uE020","\\@not");v(S,P,B,"\u2282","\\subset",!0);v(S,P,B,"\u2283","\\supset",!0);v(S,P,B,"\u2286","\\subseteq",!0);v(S,P,B,"\u2287","\\supseteq",!0);v(S,U,B,"\u2288","\\nsubseteq",!0);v(S,U,B,"\u2289","\\nsupseteq",!0);v(S,P,B,"\u22A8","\\models");v(S,P,B,"\u2190","\\leftarrow",!0);v(S,P,B,"\u2264","\\le");v(S,P,B,"\u2264","\\leq",!0);v(S,P,B,"<","\\lt",!0);v(S,P,B,"\u2192","\\rightarrow",!0);v(S,P,B,"\u2192","\\to");v(S,U,B,"\u2271","\\ngeq",!0);v(S,U,B,"\u2270","\\nleq",!0);v(S,P,Ro,"\xA0","\\ ");v(S,P,Ro,"\xA0","\\space");v(S,P,Ro,"\xA0","\\nobreakspace");v(xe,P,Ro,"\xA0","\\ ");v(xe,P,Ro,"\xA0"," ");v(xe,P,Ro,"\xA0","\\space");v(xe,P,Ro,"\xA0","\\nobreakspace");v(S,P,Ro,null,"\\nobreak");v(S,P,Ro,null,"\\allowbreak");v(S,P,M0,",",",");v(S,P,M0,";",";");v(S,U,Me,"\u22BC","\\barwedge",!0);v(S,U,Me,"\u22BB","\\veebar",!0);v(S,P,Me,"\u2299","\\odot",!0);v(S,P,Me,"\u2295","\\oplus",!0);v(S,P,Me,"\u2297","\\otimes",!0);v(S,P,G,"\u2202","\\partial",!0);v(S,P,Me,"\u2298","\\oslash",!0);v(S,U,Me,"\u229A","\\circledcirc",!0);v(S,U,Me,"\u22A1","\\boxdot",!0);v(S,P,Me,"\u25B3","\\bigtriangleup");v(S,P,Me,"\u25BD","\\bigtriangledown");v(S,P,Me,"\u2020","\\dagger");v(S,P,Me,"\u22C4","\\diamond");v(S,P,Me,"\u22C6","\\star");v(S,P,Me,"\u25C3","\\triangleleft");v(S,P,Me,"\u25B9","\\triangleright");v(S,P,zi,"{","\\{");v(xe,P,G,"{","\\{");v(xe,P,G,"{","\\textbraceleft");v(S,P,ci,"}","\\}");v(xe,P,G,"}","\\}");v(xe,P,G,"}","\\textbraceright");v(S,P,zi,"{","\\lbrace");v(S,P,ci,"}","\\rbrace");v(S,P,zi,"[","\\lbrack",!0);v(xe,P,G,"[","\\lbrack",!0);v(S,P,ci,"]","\\rbrack",!0);v(xe,P,G,"]","\\rbrack",!0);v(S,P,zi,"(","\\lparen",!0);v(S,P,ci,")","\\rparen",!0);v(xe,P,G,"<","\\textless",!0);v(xe,P,G,">","\\textgreater",!0);v(S,P,zi,"\u230A","\\lfloor",!0);v(S,P,ci,"\u230B","\\rfloor",!0);v(S,P,zi,"\u2308","\\lceil",!0);v(S,P,ci,"\u2309","\\rceil",!0);v(S,P,G,"\\","\\backslash");v(S,P,G,"\u2223","|");v(S,P,G,"\u2223","\\vert");v(xe,P,G,"|","\\textbar",!0);v(S,P,G,"\u2225","\\|");v(S,P,G,"\u2225","\\Vert");v(xe,P,G,"\u2225","\\textbardbl");v(xe,P,G,"~","\\textasciitilde");v(xe,P,G,"\\","\\textbackslash");v(xe,P,G,"^","\\textasciicircum");v(S,P,B,"\u2191","\\uparrow",!0);v(S,P,B,"\u21D1","\\Uparrow",!0);v(S,P,B,"\u2193","\\downarrow",!0);v(S,P,B,"\u21D3","\\Downarrow",!0);v(S,P,B,"\u2195","\\updownarrow",!0);v(S,P,B,"\u21D5","\\Updownarrow",!0);v(S,P,fr,"\u2210","\\coprod");v(S,P,fr,"\u22C1","\\bigvee");v(S,P,fr,"\u22C0","\\bigwedge");v(S,P,fr,"\u2A04","\\biguplus");v(S,P,fr,"\u22C2","\\bigcap");v(S,P,fr,"\u22C3","\\bigcup");v(S,P,fr,"\u222B","\\int");v(S,P,fr,"\u222B","\\intop");v(S,P,fr,"\u222C","\\iint");v(S,P,fr,"\u222D","\\iiint");v(S,P,fr,"\u220F","\\prod");v(S,P,fr,"\u2211","\\sum");v(S,P,fr,"\u2A02","\\bigotimes");v(S,P,fr,"\u2A01","\\bigoplus");v(S,P,fr,"\u2A00","\\bigodot");v(S,P,fr,"\u222E","\\oint");v(S,P,fr,"\u222F","\\oiint");v(S,P,fr,"\u2230","\\oiiint");v(S,P,fr,"\u2A06","\\bigsqcup");v(S,P,fr,"\u222B","\\smallint");v(xe,P,ec,"\u2026","\\textellipsis");v(S,P,ec,"\u2026","\\mathellipsis");v(xe,P,ec,"\u2026","\\ldots",!0);v(S,P,ec,"\u2026","\\ldots",!0);v(S,P,ec,"\u22EF","\\@cdots",!0);v(S,P,ec,"\u22F1","\\ddots",!0);v(S,P,G,"\u22EE","\\varvdots");v(S,P,Bt,"\u02CA","\\acute");v(S,P,Bt,"\u02CB","\\grave");v(S,P,Bt,"\xA8","\\ddot");v(S,P,Bt,"~","\\tilde");v(S,P,Bt,"\u02C9","\\bar");v(S,P,Bt,"\u02D8","\\breve");v(S,P,Bt,"\u02C7","\\check");v(S,P,Bt,"^","\\hat");v(S,P,Bt,"\u20D7","\\vec");v(S,P,Bt,"\u02D9","\\dot");v(S,P,Bt,"\u02DA","\\mathring");v(S,P,Ve,"\uE131","\\@imath");v(S,P,Ve,"\uE237","\\@jmath");v(S,P,G,"\u0131","\u0131");v(S,P,G,"\u0237","\u0237");v(xe,P,G,"\u0131","\\i",!0);v(xe,P,G,"\u0237","\\j",!0);v(xe,P,G,"\xDF","\\ss",!0);v(xe,P,G,"\xE6","\\ae",!0);v(xe,P,G,"\u0153","\\oe",!0);v(xe,P,G,"\xF8","\\o",!0);v(xe,P,G,"\xC6","\\AE",!0);v(xe,P,G,"\u0152","\\OE",!0);v(xe,P,G,"\xD8","\\O",!0);v(xe,P,Bt,"\u02CA","\\'");v(xe,P,Bt,"\u02CB","\\`");v(xe,P,Bt,"\u02C6","\\^");v(xe,P,Bt,"\u02DC","\\~");v(xe,P,Bt,"\u02C9","\\=");v(xe,P,Bt,"\u02D8","\\u");v(xe,P,Bt,"\u02D9","\\.");v(xe,P,Bt,"\xB8","\\c");v(xe,P,Bt,"\u02DA","\\r");v(xe,P,Bt,"\u02C7","\\v");v(xe,P,Bt,"\xA8",'\\"');v(xe,P,Bt,"\u02DD","\\H");v(xe,P,Bt,"\u25EF","\\textcircled");var M7={"--":!0,"---":!0,"``":!0,"''":!0};v(xe,P,G,"\u2013","--",!0);v(xe,P,G,"\u2013","\\textendash");v(xe,P,G,"\u2014","---",!0);v(xe,P,G,"\u2014","\\textemdash");v(xe,P,G,"\u2018","`",!0);v(xe,P,G,"\u2018","\\textquoteleft");v(xe,P,G,"\u2019","'",!0);v(xe,P,G,"\u2019","\\textquoteright");v(xe,P,G,"\u201C","``",!0);v(xe,P,G,"\u201C","\\textquotedblleft");v(xe,P,G,"\u201D","''",!0);v(xe,P,G,"\u201D","\\textquotedblright");v(S,P,G,"\xB0","\\degree",!0);v(xe,P,G,"\xB0","\\degree");v(xe,P,G,"\xB0","\\textdegree",!0);v(S,P,G,"\xA3","\\pounds");v(S,P,G,"\xA3","\\mathsterling",!0);v(xe,P,G,"\xA3","\\pounds");v(xe,P,G,"\xA3","\\textsterling",!0);v(S,U,G,"\u2720","\\maltese");v(xe,U,G,"\u2720","\\maltese");var o7='0123456789/@."';for(g0=0;g0<o7.length;g0++)Wb=o7.charAt(g0),v(S,P,G,Wb,Wb);var Wb,g0,a7='0123456789!@*()-=+";:?/.,';for(b0=0;b0<a7.length;b0++)Vb=a7.charAt(b0),v(xe,P,G,Vb,Vb);var Vb,b0,Q0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(y0=0;y0<Q0.length;y0++)zu=Q0.charAt(y0),v(S,P,Ve,zu,zu),v(xe,P,G,zu,zu);var zu,y0;v(S,U,G,"C","\u2102");v(xe,U,G,"C","\u2102");v(S,U,G,"H","\u210D");v(xe,U,G,"H","\u210D");v(S,U,G,"N","\u2115");v(xe,U,G,"N","\u2115");v(S,U,G,"P","\u2119");v(xe,U,G,"P","\u2119");v(S,U,G,"Q","\u211A");v(xe,U,G,"Q","\u211A");v(S,U,G,"R","\u211D");v(xe,U,G,"R","\u211D");v(S,U,G,"Z","\u2124");v(xe,U,G,"Z","\u2124");v(S,P,Ve,"h","\u210E");v(xe,P,Ve,"h","\u210E");var Ge="";for(Yr=0;Yr<Q0.length;Yr++)Yt=Q0.charAt(Yr),Ge=String.fromCharCode(55349,56320+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56372+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56424+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56580+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56684+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56736+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56788+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56840+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56944+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Yr<26&&(Ge=String.fromCharCode(55349,56632+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge),Ge=String.fromCharCode(55349,56476+Yr),v(S,P,Ve,Yt,Ge),v(xe,P,G,Yt,Ge));var Yt,Yr;Ge="\u{1D55C}";v(S,P,Ve,"k",Ge);v(xe,P,G,"k",Ge);for($a=0;$a<10;$a++)Po=$a.toString(),Ge=String.fromCharCode(55349,57294+$a),v(S,P,Ve,Po,Ge),v(xe,P,G,Po,Ge),Ge=String.fromCharCode(55349,57314+$a),v(S,P,Ve,Po,Ge),v(xe,P,G,Po,Ge),Ge=String.fromCharCode(55349,57324+$a),v(S,P,Ve,Po,Ge),v(xe,P,G,Po,Ge),Ge=String.fromCharCode(55349,57334+$a),v(S,P,Ve,Po,Ge),v(xe,P,G,Po,Ge);var Po,$a,o2="\xD0\xDE\xFE";for(v0=0;v0<o2.length;v0++)Du=o2.charAt(v0),v(S,P,Ve,Du,Du),v(xe,P,G,Du,Du);var Du,v0,x0=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],s7=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],iB=function(e,r){var i=e.charCodeAt(0),n=e.charCodeAt(1),o=(i-55296)*1024+(n-56320)+65536,a=r==="math"?0:1;if(119808<=o&&o<120484){var s=Math.floor((o-119808)/26);return[x0[s][2],x0[s][a]]}else if(120782<=o&&o<=120831){var l=Math.floor((o-120782)/10);return[s7[l][2],s7[l][a]]}else{if(o===120485||o===120486)return[x0[0][2],x0[0][a]];if(120486<o&&o<120782)return["",""];throw new Pe("Unsupported character: "+e)}},z0=function(e,r,i){return Dt[i][e]&&Dt[i][e].replace&&(e=Dt[i][e].replace),{value:e,metrics:m2(e,r,i)}},yn=function(e,r,i,n,o){var a=z0(e,r,i),s=a.metrics;e=a.value;var l;if(s){var c=s.italic;(i==="text"||n&&n.font==="mathit")&&(c=0),l=new ki(e,s.height,s.depth,c,s.skew,s.width,o)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+r+"' and mode '"+i+"'")),l=new ki(e,0,0,0,0,0,o);if(n){l.maxFontSize=n.sizeMultiplier,n.style.isTight()&&l.classes.push("mtight");var u=n.getColor();u&&(l.style.color=u)}return l},nB=function(e,r,i,n){return n===void 0&&(n=[]),i.font==="boldsymbol"&&z0(e,"Main-Bold",r).metrics?yn(e,"Main-Bold",r,i,n.concat(["mathbf"])):e==="\\"||Dt[r][e].font==="main"?yn(e,"Main-Regular",r,i,n):yn(e,"AMS-Regular",r,i,n.concat(["amsrm"]))},oB=function(e,r,i,n,o){return o!=="textord"&&z0(e,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},aB=function(e,r,i){var n=e.mode,o=e.text,a=["mord"],s=n==="math"||n==="text"&&r.font,l=s?r.font:r.fontFamily,c="",u="";if(o.charCodeAt(0)===55349&&([c,u]=iB(o,n)),c.length>0)return yn(o,c,n,r,a.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=oB(o,n,r,a,i);f=p.fontName,d=[p.fontClass]}else s?(f=N7[l].fontName,d=[l]):(f=w0(l,r.fontWeight,r.fontShape),d=[l,r.fontWeight,r.fontShape]);if(z0(o,f,n).metrics)return yn(o,f,n,r,a.concat(d));if(M7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],x=0;x<o.length;x++)O.push(yn(o[x],f,n,r,a.concat(d)));return D7(O)}}if(i==="mathord")return yn(o,"Math-Italic",n,r,a.concat(["mathnormal"]));if(i==="textord"){var k=Dt[n][o]&&Dt[n][o].font;if(k==="ams"){var w=w0("amsrm",r.fontWeight,r.fontShape);return yn(o,w,n,r,a.concat("amsrm",r.fontWeight,r.fontShape))}else if(k==="main"||!k){var C=w0("textrm",r.fontWeight,r.fontShape);return yn(o,C,n,r,a.concat(r.fontWeight,r.fontShape))}else{var Q=w0(k,r.fontWeight,r.fontShape);return yn(o,Q,n,r,a.concat(Q,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+i+" in makeOrd")},sB=(t,e)=>{if(Ra(t.classes)!==Ra(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var i in t.style)if(t.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;return!0},lB=t=>{for(var e=0;e<t.length-1;e++){var r=t[e],i=t[e+1];r instanceof ki&&i instanceof ki&&sB(r,i)&&(r.text+=i.text,r.height=Math.max(r.height,i.height),r.depth=Math.max(r.depth,i.depth),r.italic=i.italic,t.splice(e+1,1),e--)}return t},O2=function(e){for(var r=0,i=0,n=0,o=0;o<e.children.length;o++){var a=e.children[o];a.height>r&&(r=a.height),a.depth>i&&(i=a.depth),a.maxFontSize>n&&(n=a.maxFontSize)}e.height=r,e.depth=i,e.maxFontSize=n},xi=function(e,r,i,n){var o=new Rs(e,r,i,n);return O2(o),o},z7=(t,e,r,i)=>new Rs(t,e,r,i),cB=function(e,r,i){var n=xi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Qe(n.height),n.maxFontSize=1,n},uB=function(e,r,i,n){var o=new ju(e,r,i,n);return O2(o),o},D7=function(e){var r=new Xs(e);return O2(r),r},fB=function(e,r){return e instanceof Xs?xi([],[e],r):e},hB=function(e){if(e.positionType==="individualShift"){for(var r=e.children,i=[r[0]],n=-r[0].shift-r[0].elem.depth,o=n,a=1;a<r.length;a++){var s=-r[a].shift-o-r[a].elem.depth,l=s-(r[a-1].elem.height+r[a-1].elem.depth);o=o+s,i.push({type:"kern",size:l}),i.push(r[a])}return{children:i,depth:n}}var c;if(e.positionType==="top"){for(var u=e.positionData,f=0;f<e.children.length;f++){var d=e.children[f];u-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}c=u}else if(e.positionType==="bottom")c=-e.positionData;else{var p=e.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")c=-p.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")c=-p.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:c}},dB=function(e,r){for(var{children:i,depth:n}=hB(e),o=0,a=0;a<i.length;a++){var s=i[a];if(s.type==="elem"){var l=s.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var c=xi(["pstrut"],[]);c.style.height=Qe(o);for(var u=[],f=n,d=n,p=n,O=0;O<i.length;O++){var x=i[O];if(x.type==="kern")p+=x.size;else{var k=x.elem,w=x.wrapperClasses||[],C=x.wrapperStyle||{},Q=xi(w,[c,k],void 0,C);Q.style.top=Qe(-o-p-k.depth),x.marginLeft&&(Q.style.marginLeft=x.marginLeft),x.marginRight&&(Q.style.marginRight=x.marginRight),u.push(Q),p+=k.height+k.depth}f=Math.min(f,p),d=Math.max(d,p)}var L=xi(["vlist"],u);L.style.height=Qe(d);var N;if(f<0){var I=xi([],[]),H=xi(["vlist"],[I]);H.style.height=Qe(-f);var j=xi(["vlist-s"],[new ki("\u200B")]);N=[xi(["vlist-r"],[L,j]),xi(["vlist-r"],[H])]}else N=[xi(["vlist-r"],[L])];var Y=xi(["vlist-t"],N);return N.length===2&&Y.classes.push("vlist-t2"),Y.height=d,Y.depth=-f,Y},pB=(t,e)=>{var r=xi(["mspace"],[],e),i=Gt(t,e);return r.style.marginRight=Qe(i),r},w0=function(e,r,i){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}var o;return r==="textbf"&&i==="textit"?o="BoldItalic":r==="textbf"?o="Bold":r==="textit"?o="Italic":o="Regular",n+"-"+o},N7={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},U7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},mB=function(e,r){var[i,n,o]=U7[e],a=new Gn(i),s=new vn([a],{width:Qe(n),height:Qe(o),style:"width:"+Qe(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=z7(["overlay"],[s],r);return l.height=o,l.style.height=Qe(o),l.style.width=Qe(n),l},re={fontMap:N7,makeSymbol:yn,mathsym:nB,makeSpan:xi,makeSvgSpan:z7,makeLineSpan:cB,makeAnchor:uB,makeFragment:D7,wrapFragment:fB,makeVList:dB,makeOrd:aB,makeGlue:pB,staticSvg:mB,svgData:U7,tryCombineChars:lB},Ht={number:3,unit:"mu"},Qs={number:4,unit:"mu"},_o={number:5,unit:"mu"},OB={mord:{mop:Ht,mbin:Qs,mrel:_o,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:_o,minner:Ht},mbin:{mord:Qs,mop:Qs,mopen:Qs,minner:Qs},mrel:{mord:_o,mop:_o,mopen:_o,minner:_o},mopen:{},mclose:{mop:Ht,mbin:Qs,mrel:_o,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:_o,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Qs,mrel:_o,mopen:Ht,mpunct:Ht,minner:Ht}},gB={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},q7={},$0={},X0={};function Ie(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:a}=t,s={type:e,numArgs:i.numArgs,argTypes:i.argTypes,allowedInArgument:!!i.allowedInArgument,allowedInText:!!i.allowedInText,allowedInMath:i.allowedInMath===void 0?!0:i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,primitive:!!i.primitive,handler:n},l=0;l<r.length;++l)q7[r[l]]=s;e&&(o&&($0[e]=o),a&&(X0[e]=a))}function Is(t){var{type:e,htmlBuilder:r,mathmlBuilder:i}=t;Ie({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:i})}var R0=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},sr=function(e){return e.type==="ordgroup"?e.body:[e]},$o=re.makeSpan,bB=["leftmost","mbin","mopen","mrel","mop","mpunct"],yB=["rightmost","mrel","mclose","mpunct"],vB={display:Fe.DISPLAY,text:Fe.TEXT,script:Fe.SCRIPT,scriptscript:Fe.SCRIPTSCRIPT},xB={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},yr=function(e,r,i,n){n===void 0&&(n=[null,null]);for(var o=[],a=0;a<e.length;a++){var s=wt(e[a],r);if(s instanceof Xs){var l=s.children;o.push(...l)}else o.push(s)}if(re.tryCombineChars(o),!i)return o;var c=r;if(e.length===1){var u=e[0];u.type==="sizing"?c=r.havingSize(u.size):u.type==="styling"&&(c=r.havingStyle(vB[u.style]))}var f=$o([n[0]||"leftmost"],[],r),d=$o([n[1]||"rightmost"],[],r),p=i==="root";return l7(o,(O,x)=>{var k=x.classes[0],w=O.classes[0];k==="mbin"&&Ke.contains(yB,w)?x.classes[0]="mord":w==="mbin"&&Ke.contains(bB,k)&&(O.classes[0]="mord")},{node:f},d,p),l7(o,(O,x)=>{var k=a2(x),w=a2(O),C=k&&w?O.hasClass("mtight")?gB[k][w]:OB[k][w]:null;if(C)return re.makeGlue(C,c)},{node:f},d,p),o},l7=function t(e,r,i,n,o){n&&e.push(n);for(var a=0;a<e.length;a++){var s=e[a],l=B7(s);if(l){t(l.children,r,i,null,o);continue}var c=!s.hasClass("mspace");if(c){var u=r(s,i.node);u&&(i.insertAfter?i.insertAfter(u):(e.unshift(u),a++))}c?i.node=s:o&&s.hasClass("newline")&&(i.node=$o(["leftmost"])),i.insertAfter=(f=>d=>{e.splice(f+1,0,d),a++})(a)}n&&e.pop()},B7=function(e){return e instanceof Xs||e instanceof ju||e instanceof Rs&&e.hasClass("enclosing")?e:null},wB=function t(e,r){var i=B7(e);if(i){var n=i.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},a2=function(e,r){return e?(r&&(e=wB(e,r)),xB[e.classes[0]]||null):null},Vu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return $o(r.concat(i))},wt=function(e,r,i){if(!e)return $o();if($0[e.type]){var n=$0[e.type](e,r);if(i&&r.size!==i.size){n=$o(r.sizingClasses(i),[n],r);var o=r.sizeMultiplier/i.sizeMultiplier;n.height*=o,n.depth*=o}return n}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function k0(t,e){var r=$o(["base"],t,e),i=$o(["strut"]);return i.style.height=Qe(r.height+r.depth),r.depth&&(i.style.verticalAlign=Qe(-r.depth)),r.children.unshift(i),r}function s2(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var i=yr(t,e,"root"),n;i.length===2&&i[1].hasClass("tag")&&(n=i.pop());for(var o=[],a=[],s=0;s<i.length;s++)if(a.push(i[s]),i[s].hasClass("mbin")||i[s].hasClass("mrel")||i[s].hasClass("allowbreak")){for(var l=!1;s<i.length-1&&i[s+1].hasClass("mspace")&&!i[s+1].hasClass("newline");)s++,a.push(i[s]),i[s].hasClass("nobreak")&&(l=!0);l||(o.push(k0(a,e)),a=[])}else i[s].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(k0(a,e)),a=[]),o.push(i[s]));a.length>0&&o.push(k0(a,e));var c;r?(c=k0(yr(r,e,!0)),c.classes=["tag"],o.push(c)):n&&o.push(n);var u=$o(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Qe(u.height+u.depth),u.depth&&(f.style.verticalAlign=Qe(-u.depth))}return u}function j7(t){return new Xs(t)}var wi=class{constructor(e,r,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=i||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Ra(this.classes));for(var i=0;i<this.children.length;i++)e.appendChild(this.children[i].toNode());return e}toMarkup(){var e="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=Ke.escape(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+Ke.escape(Ra(this.classes))+'"'),e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}},$s=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ke.escape(this.toText())}toText(){return this.text}},l2=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Qe(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Qe(this.width)+'"/>'}toText(){return this.character?this.character:" "}},ke={MathNode:wi,TextNode:$s,SpaceNode:l2,newDocumentFragment:j7},Ji=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!(M7.hasOwnProperty(e)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(e=Dt[r][e].replace),new ke.TextNode(e)},g2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},b2=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var i=r.font;if(!i||i==="mathnormal")return null;var n=e.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var o=e.text;if(Ke.contains(["\\imath","\\jmath"],o))return null;Dt[n][o]&&Dt[n][o].replace&&(o=Dt[n][o].replace);var a=re.fontMap[i].fontName;return m2(o,a,n)?re.fontMap[i].variant:null},Si=function(e,r,i){if(e.length===1){var n=Mt(e[0],r);return i&&n instanceof wi&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o=[],a,s=0;s<e.length;s++){var l=Mt(e[s],r);if(l instanceof wi&&a instanceof wi){if(l.type==="mtext"&&a.type==="mtext"&&l.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...l.children);continue}else if(l.type==="mn"&&a.type==="mn"){a.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&a.type==="mn"){var c=l.children[0];if(c instanceof $s&&c.text==="."){a.children.push(...l.children);continue}}else if(a.type==="mi"&&a.children.length===1){var u=a.children[0];if(u instanceof $s&&u.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof $s&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),a=l}return o},Ia=function(e,r,i){return g2(Si(e,r,i))},Mt=function(e,r){if(!e)return new ke.MathNode("mrow");if(X0[e.type]){var i=X0[e.type](e,r);return i}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function c7(t,e,r,i,n){var o=Si(t,r),a;o.length===1&&o[0]instanceof wi&&Ke.contains(["mrow","mtable"],o[0].type)?a=o[0]:a=new ke.MathNode("mrow",o);var s=new ke.MathNode("annotation",[new ke.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var l=new ke.MathNode("semantics",[a,s]),c=new ke.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&c.setAttribute("display","block");var u=n?"katex":"katex-mathml";return re.makeSpan([u],[c])}var W7=function(e){return new A0({style:e.displayMode?Fe.DISPLAY:Fe.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},V7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=re.makeSpan(i,[e])}return e},kB=function(e,r,i){var n=W7(i),o;if(i.output==="mathml")return c7(e,r,n,i.displayMode,!0);if(i.output==="html"){var a=s2(e,n);o=re.makeSpan(["katex"],[a])}else{var s=c7(e,r,n,i.displayMode,!1),l=s2(e,n);o=re.makeSpan(["katex"],[s,l])}return V7(o,i)},SB=function(e,r,i){var n=W7(i),o=s2(e,n),a=re.makeSpan(["katex"],[o]);return V7(a,i)},TB={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},EB=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(TB[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},CB={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},PB=function(e){return e.type==="ordgroup"?e.body.length:1},_B=function(e,r){function i(){var s=4e5,l=e.label.slice(1);if(Ke.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,u=PB(c.base),f,d,p;if(u>5)l==="widehat"||l==="widecheck"?(f=420,s=2364,p=.42,d=l+"4"):(f=312,s=2340,p=.34,d="tilde4");else{var O=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][O],f=[0,239,300,360,420][O],p=[0,.24,.3,.3,.36,.42][O],d=l+O):(s=[0,600,1033,2339,2340][O],f=[0,260,286,306,312][O],p=[0,.26,.286,.3,.306,.34][O],d="tilde"+O)}var x=new Gn(d),k=new vn([x],{width:"100%",height:Qe(p),viewBox:"0 0 "+s+" "+f,preserveAspectRatio:"none"});return{span:re.makeSvgSpan([],[k],r),minWidth:0,height:p}}else{var w=[],C=CB[l],[Q,L,N]=C,I=N/1e3,H=Q.length,j,Y;if(H===1){var V=C[3];j=["hide-tail"],Y=[V]}else if(H===2)j=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(H===3)j=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+H+" children.");for(var ne=0;ne<H;ne++){var ue=new Gn(Q[ne]),he=new vn([ue],{width:"400em",height:Qe(I),viewBox:"0 0 "+s+" "+N,preserveAspectRatio:Y[ne]+" slice"}),ge=re.makeSvgSpan([j[ne]],[he],r);if(H===1)return{span:ge,minWidth:L,height:I};ge.style.height=Qe(I),w.push(ge)}return{span:re.makeSpan(["stretchy"],w,r),minWidth:L,height:I}}}var{span:n,minWidth:o,height:a}=i();return n.height=a,n.style.height=Qe(a),o>0&&(n.style.minWidth=Qe(o)),n},AB=function(e,r,i,n,o){var a,s=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(a=re.makeSpan(["stretchy",r],[],o),r==="fbox"){var l=o.color&&o.getColor();l&&(a.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Wu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Wu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Qe(s)});a=re.makeSvgSpan([],[u],o)}return a.height=s,a.style.height=Qe(s),a},Xo={encloseSpan:AB,mathMLnode:EB,svgSpan:_B};function lt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function y2(t){var e=D0(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function D0(t){return t&&(t.type==="atom"||rB.hasOwnProperty(t.type))?t:null}var v2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=eB(wt(t,e)),t.base=i):(i=lt(t,"accent"),r=i.base);var o=wt(r,e.havingCrampedStyle()),a=i.isShifty&&Ke.isCharacterBox(r),s=0;if(a){var l=Ke.getBaseElem(r),c=wt(l,e.havingCrampedStyle());s=n7(c).skew}var u=i.label==="\\c",f=u?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),d;if(i.isStretchy)d=Xo.svgSpan(i,e),d=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Qe(2*s)+")",marginLeft:Qe(2*s)}:void 0}]},e);else{var p,O;i.label==="\\vec"?(p=re.staticSvg("vec",e),O=re.svgData.vec[1]):(p=re.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=n7(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=re.makeSpan(["accent-body"],[p]);var x=i.label==="\\textcircled";x&&(d.classes.push("accent-full"),f=o.height);var k=s;x||(k-=O/2),d.style.left=Qe(k),i.label==="\\textcircled"&&(d.style.top=".2em"),d=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var w=re.makeSpan(["mord","accent"],[d],e);return n?(n.children[0]=w,n.height=Math.max(w.height,n.height),n.classes[0]="mord",n):w},F7=(t,e)=>{var r=t.isStretchy?Xo.mathMLnode(t.label):new ke.MathNode("mo",[Ji(t.label,t.mode)]),i=new ke.MathNode("mover",[Mt(t.base,e),r]);return i.setAttribute("accent","true"),i},QB=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Ie({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,e)=>{var r=R0(e[0]),i=!QB.test(t.funcName),n=!i||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:i,isShifty:n,base:r}},htmlBuilder:v2,mathmlBuilder:F7});Ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],i=t.parser.mode;return i==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:v2,mathmlBuilder:F7});Ie({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"accentUnder",mode:r.mode,label:i,base:n}},htmlBuilder:(t,e)=>{var r=wt(t.base,e),i=Xo.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=re.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return re.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=Xo.mathMLnode(t.label),i=new ke.MathNode("munder",[Mt(t.base,e),r]);return i.setAttribute("accentunder","true"),i}});var S0=t=>{var e=new ke.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ie({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:i,funcName:n}=t;return{type:"xArrow",mode:i.mode,label:n,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,i=e.havingStyle(r.sup()),n=re.wrapFragment(wt(t.body,i,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(o+"-arrow-pad");var a;t.below&&(i=e.havingStyle(r.sub()),a=re.wrapFragment(wt(t.below,i,e),e),a.classes.push(o+"-arrow-pad"));var s=Xo.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*s.height,c=-e.fontMetrics().axisHeight-.5*s.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(c-=n.depth);var u;if(a){var f=-e.fontMetrics().axisHeight+a.height+.5*s.height+.111;u=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:a,shift:f}]},e)}else u=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:s,shift:l}]},e);return u.children[0].children[0].children[1].classes.push("svg-align"),re.makeSpan(["mrel","x-arrow"],[u],e)},mathmlBuilder(t,e){var r=Xo.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(t.body){var n=S0(Mt(t.body,e));if(t.below){var o=S0(Mt(t.below,e));i=new ke.MathNode("munderover",[r,o,n])}else i=new ke.MathNode("mover",[r,n])}else if(t.below){var a=S0(Mt(t.below,e));i=new ke.MathNode("munder",[r,a])}else i=S0(),i=new ke.MathNode("mover",[r,i]);return i}});var $B=re.makeSpan;function Z7(t,e){var r=yr(t.body,e,!0);return $B([t.mclass],r,e)}function Y7(t,e){var r,i=Si(t.body,e);return t.mclass==="minner"?r=new ke.MathNode("mpadded",i):t.mclass==="mord"?t.isCharacterBox?(r=i[0],r.type="mi"):r=new ke.MathNode("mi",i):(t.isCharacterBox?(r=i[0],r.type="mo"):r=new ke.MathNode("mo",i),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Ie({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+i.slice(5),body:sr(n),isCharacterBox:Ke.isCharacterBox(n)}},htmlBuilder:Z7,mathmlBuilder:Y7});var N0=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:N0(e[0]),body:sr(e[1]),isCharacterBox:Ke.isCharacterBox(e[1])}}});Ie({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:i}=t,n=e[1],o=e[0],a;i!=="\\stackrel"?a=N0(n):a="mrel";var s={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:sr(n)},l={type:"supsub",mode:o.mode,base:s,sup:i==="\\underset"?null:o,sub:i==="\\underset"?o:null};return{type:"mclass",mode:r.mode,mclass:a,body:[l],isCharacterBox:Ke.isCharacterBox(l)}},htmlBuilder:Z7,mathmlBuilder:Y7});Ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:N0(e[0]),body:sr(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!0),i=re.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=Si(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var XB={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},u7=()=>({type:"styling",body:[],mode:"math",style:"display"}),f7=t=>t.type==="textord"&&t.text==="@",RB=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function IB(t,e,r){var i=XB[t];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(i,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:i,mode:"math",family:"rel"},a=r.callFunction("\\Big",[o],[]),s=r.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[n,a,s]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function LB(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new Pe("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var i=[],n=[i],o=0;o<e.length;o++){for(var a=e[o],s=u7(),l=0;l<a.length;l++)if(!f7(a[l]))s.body.push(a[l]);else{i.push(s),l+=1;var c=y2(a[l]).text,u=new Array(2);if(u[0]={type:"ordgroup",mode:"math",body:[]},u[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var d=!0,p=l+1;p<a.length;p++){if(RB(a[p],c)){d=!1,l=p;break}if(f7(a[p]))throw new Pe("Missing a "+c+" character to complete a CD arrow.",a[p]);u[f].body.push(a[p])}if(d)throw new Pe("Missing a "+c+" character to complete a CD arrow.",a[l])}else throw new Pe('Expected one of "<>AV=|." after @',a[l]);var O=IB(c,u,t),x={type:"styling",body:[O],mode:"math",style:"display"};i.push(x),s=u7()}o%2===0?i.push(s):i.shift(),i=[],n.push(i)}t.gullet.endGroup(),t.gullet.endGroup();var k=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:k,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Ie({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"cdlabel",mode:r.mode,side:i.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),i=re.wrapFragment(wt(t.label,r,e),e);return i.classes.push("cd-label-"+t.side),i.style.bottom=Qe(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(t,e){var r=new ke.MathNode("mrow",[Mt(t.label,e)]);return r=new ke.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ke.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Ie({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=re.wrapFragment(wt(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new ke.MathNode("mrow",[Mt(t.fragment,e)])}});Ie({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,i=lt(e[0],"ordgroup"),n=i.body,o="",a=0;a<n.length;a++){var s=lt(n[a],"textord");o+=s.text}var l=parseInt(o),c;if(isNaN(l))throw new Pe("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new Pe("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var H7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return re.makeFragment(r)},G7=(t,e)=>{var r=Si(t.body,e.withColor(t.color)),i=new ke.MathNode("mstyle",r);return i.setAttribute("mathcolor",t.color),i};Ie({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,i=lt(e[0],"color-token").color,n=e[1];return{type:"color",mode:r.mode,color:i,body:sr(n)}},htmlBuilder:H7,mathmlBuilder:G7});Ie({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:i}=t,n=lt(e[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var o=r.parseExpression(!0,i);return{type:"color",mode:r.mode,color:n,body:o}},htmlBuilder:H7,mathmlBuilder:G7});Ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:i}=t,n=i.gullet.future().text==="["?i.parseSizeGroup(!0):null,o=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:o,size:n&&lt(n,"size").value}},htmlBuilder(t,e){var r=re.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Qe(Gt(t.size,e)))),r},mathmlBuilder(t,e){var r=new ke.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Qe(Gt(t.size,e)))),r}});var c2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},K7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},MB=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},J7=(t,e,r,i)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,i)};Ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var i=e.fetch();if(c2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=c2[i.text]),lt(e.parseFunction(),"internal");throw new Pe("Invalid token after macro prefix",i)}});Ie({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=e.gullet.popToken(),n=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new Pe("Expected a control sequence",i);for(var o=0,a,s=[[]];e.gullet.future().text!=="{";)if(i=e.gullet.popToken(),i.text==="#"){if(e.gullet.future().text==="{"){a=e.gullet.future(),s[o].push("{");break}if(i=e.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new Pe('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==o+1)throw new Pe('Argument number "'+i.text+'" out of order');o++,s.push([])}else{if(i.text==="EOF")throw new Pe("Expected a macro definition");s[o].push(i.text)}var{tokens:l}=e.gullet.consumeArg();return a&&l.unshift(a),(r==="\\edef"||r==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(n,{tokens:l,numArgs:o,delimiters:s},r===c2[r]),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=K7(e.gullet.popToken());e.gullet.consumeSpaces();var n=MB(e);return J7(e,i,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=K7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return J7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Nu=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=m2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},x2=function(e,r,i,n){var o=i.havingBaseStyle(r),a=re.makeSpan(n.concat(o.sizingClasses(i)),[e],i),s=o.sizeMultiplier/i.sizeMultiplier;return a.height*=s,a.depth*=s,a.maxFontSize=o.sizeMultiplier,a},eT=function(e,r,i){var n=r.havingBaseStyle(i),o=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Qe(o),e.height-=o,e.depth+=o},zB=function(e,r,i,n,o,a){var s=re.makeSymbol(e,"Main-Regular",o,n),l=x2(s,r,n,a);return i&&eT(l,n,r),l},DB=function(e,r,i,n){return re.makeSymbol(e,"Size"+r+"-Regular",i,n)},tT=function(e,r,i,n,o,a){var s=DB(e,r,o,n),l=x2(re.makeSpan(["delimsizing","size"+r],[s],n),Fe.TEXT,n,a);return i&&eT(l,n,Fe.TEXT),l},Fb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=re.makeSpan(["delimsizinginner",n],[re.makeSpan([],[re.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Zb=function(e,r,i){var n=Yn["Size4-Regular"][e.charCodeAt(0)]?Yn["Size4-Regular"][e.charCodeAt(0)][4]:Yn["Size1-Regular"][e.charCodeAt(0)][4],o=new Gn("inner",Fq(e,Math.round(1e3*r))),a=new vn([o],{width:Qe(n),height:Qe(r),style:"width:"+Qe(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),s=re.makeSvgSpan([],[a],i);return s.height=r,s.style.height=Qe(r),s.style.width=Qe(n),{type:"elem",elem:s}},u2=.008,T0={type:"kern",size:-1*u2},NB=["|","\\lvert","\\rvert","\\vert"],UB=["\\|","\\lVert","\\rVert","\\Vert"],rT=function(e,r,i,n,o,a){var s,l,c,u,f="",d=0;s=c=u=e,l=null;var p="Size1-Regular";e==="\\uparrow"?c=u="\u23D0":e==="\\Uparrow"?c=u="\u2016":e==="\\downarrow"?s=c="\u23D0":e==="\\Downarrow"?s=c="\u2016":e==="\\updownarrow"?(s="\\uparrow",c="\u23D0",u="\\downarrow"):e==="\\Updownarrow"?(s="\\Uparrow",c="\u2016",u="\\Downarrow"):Ke.contains(NB,e)?(c="\u2223",f="vert",d=333):Ke.contains(UB,e)?(c="\u2225",f="doublevert",d=556):e==="["||e==="\\lbrack"?(s="\u23A1",c="\u23A2",u="\u23A3",p="Size4-Regular",f="lbrack",d=667):e==="]"||e==="\\rbrack"?(s="\u23A4",c="\u23A5",u="\u23A6",p="Size4-Regular",f="rbrack",d=667):e==="\\lfloor"||e==="\u230A"?(c=s="\u23A2",u="\u23A3",p="Size4-Regular",f="lfloor",d=667):e==="\\lceil"||e==="\u2308"?(s="\u23A1",c=u="\u23A2",p="Size4-Regular",f="lceil",d=667):e==="\\rfloor"||e==="\u230B"?(c=s="\u23A5",u="\u23A6",p="Size4-Regular",f="rfloor",d=667):e==="\\rceil"||e==="\u2309"?(s="\u23A4",c=u="\u23A5",p="Size4-Regular",f="rceil",d=667):e==="("||e==="\\lparen"?(s="\u239B",c="\u239C",u="\u239D",p="Size4-Regular",f="lparen",d=875):e===")"||e==="\\rparen"?(s="\u239E",c="\u239F",u="\u23A0",p="Size4-Regular",f="rparen",d=875):e==="\\{"||e==="\\lbrace"?(s="\u23A7",l="\u23A8",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(s="\u23AB",l="\u23AC",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(s="\u23A7",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(s="\u23AB",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(s="\u23A7",u="\u23AD",c="\u23AA",p="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(s="\u23AB",u="\u23A9",c="\u23AA",p="Size4-Regular");var O=Nu(s,p,o),x=O.height+O.depth,k=Nu(c,p,o),w=k.height+k.depth,C=Nu(u,p,o),Q=C.height+C.depth,L=0,N=1;if(l!==null){var I=Nu(l,p,o);L=I.height+I.depth,N=2}var H=x+Q+L,j=Math.max(0,Math.ceil((r-H)/(N*w))),Y=H+j*N*w,V=n.fontMetrics().axisHeight;i&&(V*=n.sizeMultiplier);var ne=Y/2-V,ue=[];if(f.length>0){var he=Y-x-Q,ge=Math.round(Y*1e3),ve=Zq(f,Math.round(he*1e3)),_e=new Gn(f,ve),ae=(d/1e3).toFixed(3)+"em",pe=(ge/1e3).toFixed(3)+"em",J=new vn([_e],{width:ae,height:pe,viewBox:"0 0 "+d+" "+ge}),_=re.makeSvgSpan([],[J],n);_.height=ge/1e3,_.style.width=ae,_.style.height=pe,ue.push({type:"elem",elem:_})}else{if(ue.push(Fb(u,p,o)),ue.push(T0),l===null){var K=Y-x-Q+2*u2;ue.push(Zb(c,K,n))}else{var se=(Y-x-Q-L)/2+2*u2;ue.push(Zb(c,se,n)),ue.push(T0),ue.push(Fb(l,p,o)),ue.push(T0),ue.push(Zb(c,se,n))}ue.push(T0),ue.push(Fb(s,p,o))}var q=n.havingBaseStyle(Fe.TEXT),Je=re.makeVList({positionType:"bottom",positionData:ne,children:ue},q);return x2(re.makeSpan(["delimsizing","mult"],[Je],q),Fe.TEXT,n,a)},Yb=80,Hb=.08,Gb=function(e,r,i,n,o){var a=Vq(e,n,i),s=new Gn(e,a),l=new vn([s],{width:"400em",height:Qe(r),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return re.makeSvgSpan(["hide-tail"],[l],o)},qB=function(e,r){var i=r.havingBaseSizing(),n=aT("\\surd",e*i.sizeMultiplier,oT,i),o=i.sizeMultiplier,a=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),s,l=0,c=0,u=0,f;return n.type==="small"?(u=1e3+1e3*a+Yb,e<1?o=1:e<1.4&&(o=.7),l=(1+a+Hb)/o,c=(1+a)/o,s=Gb("sqrtMain",l,u,a,r),s.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+Yb)*Uu[n.size],c=(Uu[n.size]+a)/o,l=(Uu[n.size]+a+Hb)/o,s=Gb("sqrtSize"+n.size,l,u,a,r),s.style.minWidth="1.02em",f=1/o):(l=e+a+Hb,c=e+a,u=Math.floor(1e3*e+a)+Yb,s=Gb("sqrtTall",l,u,a,r),s.style.minWidth="0.742em",f=1.056),s.height=c,s.style.height=Qe(l),{span:s,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+a)*o}},iT=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],BB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],nT=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Uu=[0,1.2,1.8,2.4,3],jB=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(iT,e)||Ke.contains(nT,e))return tT(e,r,!1,i,n,o);if(Ke.contains(BB,e))return rT(e,Uu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},WB=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],VB=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"stack"}],oT=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],FB=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},aT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),a=o;a<i.length&&i[a].type!=="stack";a++){var s=Nu(e,FB(i[a]),"math"),l=s.height+s.depth;if(i[a].type==="small"){var c=n.havingBaseStyle(i[a].style);l*=c.sizeMultiplier}if(l>r)return i[a]}return i[i.length-1]},sT=function(e,r,i,n,o,a){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var s;Ke.contains(nT,e)?s=WB:Ke.contains(iT,e)?s=oT:s=VB;var l=aT(e,r,s,n);return l.type==="small"?zB(e,l.style,i,n,o,a):l.type==="large"?tT(e,l.size,i,n,o,a):rT(e,r,i,n,o,a)},ZB=function(e,r,i,n,o,a){var s=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,c=5/n.fontMetrics().ptPerEm,u=Math.max(r-s,i+s),f=Math.max(u/500*l,2*u-c);return sT(e,f,!0,n,o,a)},Qo={sqrtImage:qB,sizedDelim:jB,sizeToMaxHeight:Uu,customSizedDelim:sT,leftRightDelim:ZB},h7={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},YB=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function U0(t,e){var r=D0(t);if(r&&Ke.contains(YB,r.text))return r;throw r?new Pe("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new Pe("Invalid delimiter type '"+t.type+"'",t)}Ie({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,e)=>{var r=U0(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:h7[t.funcName].size,mclass:h7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?re.makeSpan([t.mclass]):Qo.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ji(t.delim,t.mode));var r=new ke.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=Qe(Qo.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function d7(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new Pe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:U0(e[0],t).text,color:r}}});Ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t),i=t.parser;++i.leftrightDepth;var n=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=lt(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:n,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{d7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,a=0;a<r.length;a++)r[a].isMiddle?o=!0:(i=Math.max(r[a].height,i),n=Math.max(r[a].depth,n));i*=e.sizeMultiplier,n*=e.sizeMultiplier;var s;if(t.left==="."?s=Vu(e,["mopen"]):s=Qo.leftRightDelim(t.left,i,n,e,t.mode,["mopen"]),r.unshift(s),o)for(var l=1;l<r.length;l++){var c=r[l],u=c.isMiddle;u&&(r[l]=Qo.leftRightDelim(u.delim,i,n,u.options,t.mode,[]))}var f;if(t.right===".")f=Vu(e,["mclose"]);else{var d=t.rightColor?e.withColor(t.rightColor):e;f=Qo.leftRightDelim(t.right,i,n,d,t.mode,["mclose"])}return r.push(f),re.makeSpan(["minner"],r,e)},mathmlBuilder:(t,e)=>{d7(t);var r=Si(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ji(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ji(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return g2(r)}});Ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t);if(!t.parser.leftrightDepth)throw new Pe("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=Vu(e,[]);else{r=Qo.sizedDelim(t.delim,1,e,t.mode,[]);var i={delim:t.delim,options:e};r.isMiddle=i}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Ji("|","text"):Ji(t.delim,t.mode),i=new ke.MathNode("mo",[r]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var w2=(t,e)=>{var r=re.wrapFragment(wt(t.body,e),e),i=t.label.slice(1),n=e.sizeMultiplier,o,a=0,s=Ke.isCharacterBox(t.body);if(i==="sout")o=re.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/n,a=-.5*e.fontMetrics().xHeight;else if(i==="phase"){var l=Gt({number:.6,unit:"pt"},e),c=Gt({number:.35,unit:"ex"},e),u=e.havingBaseSizing();n=n/u.sizeMultiplier;var f=r.height+r.depth+l+c;r.style.paddingLeft=Qe(f/2+l);var d=Math.floor(1e3*f*n),p=jq(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Qe(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=re.makeSvgSpan(["hide-tail"],[O],e),o.style.height=Qe(f),a=r.depth+l+c}else{/cancel/.test(i)?s||r.classes.push("cancel-pad"):i==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var x=0,k=0,w=0;/box/.test(i)?(w=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),x=e.fontMetrics().fboxsep+(i==="colorbox"?0:w),k=x):i==="angl"?(w=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),x=4*w,k=Math.max(0,.25-r.depth)):(x=s?.2:0,k=x),o=Xo.encloseSpan(r,i,x,k,e),/fbox|boxed|fcolorbox/.test(i)?(o.style.borderStyle="solid",o.style.borderWidth=Qe(w)):i==="angl"&&w!==.049&&(o.style.borderTopWidth=Qe(w),o.style.borderRightWidth=Qe(w)),a=r.depth+k,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var C;if(t.backgroundColor)C=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:r,shift:0}]},e);else{var Q=/cancel|phase/.test(i)?["svg-align"]:[];C=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:Q}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!s?re.makeSpan(["mord","cancel-lap"],[C],e):re.makeSpan(["mord"],[C],e)},k2=(t,e)=>{var r=0,i=new ke.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Mt(t.body,e)]);switch(t.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*r+"pt"),i.setAttribute("height","+"+2*r+"pt"),i.setAttribute("lspace",r+"pt"),i.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);i.setAttribute("style","border: "+n+"em solid "+String(t.borderColor))}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&i.setAttribute("mathbackground",t.backgroundColor),i};Ie({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,a=e[1];return{type:"enclose",mode:i.mode,label:n,backgroundColor:o,body:a}},htmlBuilder:w2,mathmlBuilder:k2});Ie({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,a=lt(e[1],"color-token").color,s=e[2];return{type:"enclose",mode:i.mode,label:n,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:w2,mathmlBuilder:k2});Ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"enclose",mode:r.mode,label:i,body:n}},htmlBuilder:w2,mathmlBuilder:k2});Ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var lT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:a}=t,s={type:e,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l<r.length;++l)lT[r[l]]=s;o&&($0[e]=o),a&&(X0[e]=a)}var cT={};function X(t,e){cT[t]=e}function p7(t){var e=[];t.consumeSpaces();var r=t.fetch().text;for(r==="\\relax"&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);r==="\\hline"||r==="\\hdashline";)t.consume(),e.push(r==="\\hdashline"),t.consumeSpaces(),r=t.fetch().text;return e}var q0=t=>{var e=t.parser.settings;if(!e.displayMode)throw new Pe("{"+t.envName+"} can be used only in display mode.")};function S2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function La(t,e,r){var{hskipBeforeAndAfter:i,addJot:n,cols:o,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:f,leqno:d}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)a=1;else if(a=parseFloat(p),!a||a<0)throw new Pe("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var O=[],x=[O],k=[],w=[],C=l!=null?[]:void 0;function Q(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function L(){C&&(t.gullet.macros.get("\\df@tag")?(C.push(t.subparse([new Hn("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(Q(),w.push(p7(t));;){var N=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),N={type:"ordgroup",mode:t.mode,body:N},r&&(N={type:"styling",mode:t.mode,style:r,body:[N]}),O.push(N);var I=t.fetch().text;if(I==="&"){if(f&&O.length===f){if(c||s)throw new Pe("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(I==="\\end"){L(),O.length===1&&N.type==="styling"&&N.body[0].body.length===0&&(x.length>1||!u)&&x.pop(),w.length<x.length+1&&w.push([]);break}else if(I==="\\\\"){t.consume();var H=void 0;t.gullet.future().text!==" "&&(H=t.parseSizeGroup(!0)),k.push(H?H.value:null),L(),w.push(p7(t)),O=[],x.push(O),Q()}else throw new Pe("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:n,arraystretch:a,body:x,cols:o,rowGaps:k,hskipBeforeAndAfter:i,hLinesBeforeRow:w,colSeparationType:s,tags:C,leqno:d}}function T2(t){return t.slice(0,1)==="d"?"display":"text"}var Jn=function(e,r){var i,n,o=e.body.length,a=e.hLinesBeforeRow,s=0,l=new Array(o),c=[],u=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,d=5*f;if(e.colSeparationType&&e.colSeparationType==="small"){var p=r.havingStyle(Fe.SCRIPT).sizeMultiplier;d=.2778*(p/r.sizeMultiplier)}var O=e.colSeparationType==="CD"?Gt({number:3,unit:"ex"},r):12*f,x=3*f,k=e.arraystretch*O,w=.7*k,C=.3*k,Q=0;function L(go){for(var Mn=0;Mn<go.length;++Mn)Mn>0&&(Q+=.25),c.push({pos:Q,isDashed:go[Mn]})}for(L(a[0]),i=0;i<e.body.length;++i){var N=e.body[i],I=w,H=C;s<N.length&&(s=N.length);var j=new Array(N.length);for(n=0;n<N.length;++n){var Y=wt(N[n],r);H<Y.depth&&(H=Y.depth),I<Y.height&&(I=Y.height),j[n]=Y}var V=e.rowGaps[i],ne=0;V&&(ne=Gt(V,r),ne>0&&(ne+=C,H<ne&&(H=ne),ne=0)),e.addJot&&(H+=x),j.height=I,j.depth=H,Q+=I,j.pos=Q,Q+=H+ne,l[i]=j,L(a[i+1])}var ue=Q/2+r.fontMetrics().axisHeight,he=e.cols||[],ge=[],ve,_e,ae=[];if(e.tags&&e.tags.some(go=>go))for(i=0;i<o;++i){var pe=l[i],J=pe.pos-ue,_=e.tags[i],K=void 0;_===!0?K=re.makeSpan(["eqn-num"],[],r):_===!1?K=re.makeSpan([],[],r):K=re.makeSpan([],yr(_,r,!0),r),K.depth=pe.depth,K.height=pe.height,ae.push({type:"elem",elem:K,shift:J})}for(n=0,_e=0;n<s||_e<he.length;++n,++_e){for(var se=he[_e]||{},q=!0;se.type==="separator";){if(q||(ve=re.makeSpan(["arraycolsep"],[]),ve.style.width=Qe(r.fontMetrics().doubleRuleSep),ge.push(ve)),se.separator==="|"||se.separator===":"){var Je=se.separator==="|"?"solid":"dashed",st=re.makeSpan(["vertical-separator"],[],r);st.style.height=Qe(Q),st.style.borderRightWidth=Qe(u),st.style.borderRightStyle=Je,st.style.margin="0 "+Qe(-u/2);var at=Q-ue;at&&(st.style.verticalAlign=Qe(-at)),ge.push(st)}else throw new Pe("Invalid separator type: "+se.separator);_e++,se=he[_e]||{},q=!1}if(!(n>=s)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(se.pregap,d),Ce!==0&&(ve=re.makeSpan(["arraycolsep"],[]),ve.style.width=Qe(Ce),ge.push(ve)));var Ze=[];for(i=0;i<o;++i){var Rt=l[i],ut=Rt[n];if(ut){var Ur=Rt.pos-ue;ut.depth=Rt.depth,ut.height=Rt.height,Ze.push({type:"elem",elem:ut,shift:Ur})}}Ze=re.makeVList({positionType:"individualShift",children:Ze},r),Ze=re.makeSpan(["col-align-"+(se.align||"c")],[Ze]),ge.push(Ze),(n<s-1||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(se.postgap,d),Ce!==0&&(ve=re.makeSpan(["arraycolsep"],[]),ve.style.width=Qe(Ce),ge.push(ve)))}}if(l=re.makeSpan(["mtable"],ge),c.length>0){for(var Ar=re.makeLineSpan("hline",r,u),Ln=re.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ys=Zt.pos-ue;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ys}):pn.push({type:"elem",elem:Ar,shift:ys})}l=re.makeVList({positionType:"individualShift",children:pn},r)}if(ae.length===0)return re.makeSpan(["mord"],[l],r);var Qr=re.makeVList({positionType:"individualShift",children:ae},r);return Qr=re.makeSpan(["tag"],[Qr],r),re.makeFragment([l,Qr])},HB={c:"center ",l:"left ",r:"right "},eo=function(e,r){for(var i=[],n=new ke.MathNode("mtd",[],["mtr-glue"]),o=new ke.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var s=e.body[a],l=[],c=0;c<s.length;c++)l.push(new ke.MathNode("mtd",[Mt(s[c],r)]));e.tags&&e.tags[a]&&(l.unshift(n),l.push(n),e.leqno?l.unshift(o):l.push(o)),i.push(new ke.MathNode("mtr",l))}var u=new ke.MathNode("mtable",i),f=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);u.setAttribute("rowspacing",Qe(f));var d="",p="";if(e.cols&&e.cols.length>0){var O=e.cols,x="",k=!1,w=0,C=O.length;O[0].type==="separator"&&(d+="top ",w=1),O[O.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var Q=w;Q<C;Q++)O[Q].type==="align"?(p+=HB[O[Q].align],k&&(x+="none "),k=!0):O[Q].type==="separator"&&k&&(x+=O[Q].separator==="|"?"solid ":"dashed ",k=!1);u.setAttribute("columnalign",p.trim()),/[sd]/.test(x)&&u.setAttribute("columnlines",x.trim())}if(e.colSeparationType==="align"){for(var L=e.cols||[],N="",I=1;I<L.length;I++)N+=I%2?"0em ":"1em ";u.setAttribute("columnspacing",N.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?u.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?u.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var H="",j=e.hLinesBeforeRow;d+=j[0].length>0?"left ":"",d+=j[j.length-1].length>0?"right ":"";for(var Y=1;Y<j.length-1;Y++)H+=j[Y].length===0?"none ":j[Y][0]?"dashed ":"solid ";return/[sd]/.test(H)&&u.setAttribute("rowlines",H.trim()),d!==""&&(u=new ke.MathNode("menclose",[u]),u.setAttribute("notation",d.trim())),e.arraystretch&&e.arraystretch<1&&(u=new ke.MathNode("mstyle",[u]),u.setAttribute("scriptlevel","1")),u},uT=function(e,r){e.envName.indexOf("ed")===-1&&q0(e);var i=[],n=e.envName.indexOf("at")>-1?"alignat":"align",o=e.envName==="split",a=La(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:S2(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),s,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var u="",f=0;f<r[0].body.length;f++){var d=lt(r[0].body[f],"textord");u+=d.text}s=Number(u),l=s*2}var p=!l;a.body.forEach(function(w){for(var C=1;C<w.length;C+=2){var Q=lt(w[C],"styling"),L=lt(Q.body[0],"ordgroup");L.body.unshift(c)}if(p)l<w.length&&(l=w.length);else{var N=w.length/2;if(s<N)throw new Pe("Too many math in a row: "+("expected "+s+", but got "+N),w[0])}});for(var O=0;O<l;++O){var x="r",k=0;O%2===1?x="l":O>0&&p&&(k=1),i[O]={type:"align",align:x,pregap:k,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};Kn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=D0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=y2(a),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Pe("Unknown column alignment: "+l,a)}),o={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return La(t.parser,o,T2(t.envName))},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new Pe("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),i.cols=[{type:"align",align:r}]}}var o=La(t.parser,i,T2(t.envName)),a=Math.max(0,...o.body.map(s=>s.length));return o.cols=new Array(a).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=La(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=D0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=y2(a),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Pe("Unknown column alignment: "+l,a)});if(n.length>1)throw new Pe("{subarray} can contain only one column");var o={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=La(t.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new Pe("{subarray} can contain only one column");return o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=La(t.parser,e,T2(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:uT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&q0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:S2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return La(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){q0(t);var e={autoTag:S2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return La(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return q0(t),LB(t.parser)},htmlBuilder:Jn,mathmlBuilder:eo});X("\\nonumber","\\gdef\\@eqnsw{0}");X("\\notag","\\nonumber");Ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new Pe(t.funcName+" valid only within array environment")}});var m7=lT;Ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];if(n.type!=="ordgroup")throw new Pe("Invalid environment name",n);for(var o="",a=0;a<n.body.length;++a)o+=lt(n.body[a],"textord").text;if(i==="\\begin"){if(!m7.hasOwnProperty(o))throw new Pe("No such environment: "+o,n);var s=m7[o],{args:l,optArgs:c}=r.parseArguments("\\begin{"+o+"}",s),u={mode:r.mode,envName:o,parser:r},f=s.handler(u,l,c);r.expect("\\end",!1);var d=r.nextToken,p=lt(r.parseFunction(),"environment");if(p.name!==o)throw new Pe("Mismatch: \\begin{"+o+"} matched by \\end{"+p.name+"}",d);return f}return{type:"environment",mode:r.mode,name:o,nameGroup:n}}});var fT=(t,e)=>{var r=t.font,i=e.withFont(r);return wt(t.body,i)},hT=(t,e)=>{var r=t.font,i=e.withFont(r);return Mt(t.body,i)},O7={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ie({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=R0(e[0]),o=i;return o in O7&&(o=O7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:fT,mathmlBuilder:hT});Ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,i=e[0],n=Ke.isCharacterBox(i);return{type:"mclass",mode:r.mode,mclass:N0(i),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:i}],isCharacterBox:n}}});Ie({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i,breakOnTokenText:n}=t,{mode:o}=r,a=r.parseExpression(!0,n),s="math"+i.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:fT,mathmlBuilder:hT});var dT=(t,e)=>{var r=e;return t==="display"?r=r.id>=Fe.SCRIPT.id?r.text():Fe.DISPLAY:t==="text"&&r.size===Fe.DISPLAY.size?r=Fe.TEXT:t==="script"?r=Fe.SCRIPT:t==="scriptscript"&&(r=Fe.SCRIPTSCRIPT),r},E2=(t,e)=>{var r=dT(t.size,e.style),i=r.fracNum(),n=r.fracDen(),o;o=e.havingStyle(i);var a=wt(t.numer,o,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}o=e.havingStyle(n);var c=wt(t.denom,o,e),u,f,d;t.hasBarLine?(t.barSize?(f=Gt(t.barSize,e),u=re.makeLineSpan("frac-line",e,f)):u=re.makeLineSpan("frac-line",e),f=u.height,d=u.height):(u=null,f=0,d=e.fontMetrics().defaultRuleThickness);var p,O,x;r.size===Fe.DISPLAY.size||t.size==="display"?(p=e.fontMetrics().num1,f>0?O=3*d:O=7*d,x=e.fontMetrics().denom1):(f>0?(p=e.fontMetrics().num2,O=d):(p=e.fontMetrics().num3,O=3*d),x=e.fontMetrics().denom2);var k;if(u){var C=e.fontMetrics().axisHeight;p-a.depth-(C+.5*f)<O&&(p+=O-(p-a.depth-(C+.5*f))),C-.5*f-(c.height-x)<O&&(x+=O-(C-.5*f-(c.height-x)));var Q=-(C-.5*f);k=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:x},{type:"elem",elem:u,shift:Q},{type:"elem",elem:a,shift:-p}]},e)}else{var w=p-a.depth-(c.height-x);w<O&&(p+=.5*(O-w),x+=.5*(O-w)),k=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:x},{type:"elem",elem:a,shift:-p}]},e)}o=e.havingStyle(r),k.height*=o.sizeMultiplier/e.sizeMultiplier,k.depth*=o.sizeMultiplier/e.sizeMultiplier;var L;r.size===Fe.DISPLAY.size?L=e.fontMetrics().delim1:r.size===Fe.SCRIPTSCRIPT.size?L=e.havingStyle(Fe.SCRIPT).fontMetrics().delim2:L=e.fontMetrics().delim2;var N,I;return t.leftDelim==null?N=Vu(e,["mopen"]):N=Qo.customSizedDelim(t.leftDelim,L,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?I=re.makeSpan([]):t.rightDelim==null?I=Vu(e,["mclose"]):I=Qo.customSizedDelim(t.rightDelim,L,!0,e.havingStyle(r),t.mode,["mclose"]),re.makeSpan(["mord"].concat(o.sizingClasses(e)),[N,re.makeSpan(["mfrac"],[k]),I],e)},C2=(t,e)=>{var r=new ke.MathNode("mfrac",[Mt(t.numer,e),Mt(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var i=Gt(t.barSize,e);r.setAttribute("linethickness",Qe(i))}var n=dT(t.size,e.style);if(n.size!==e.style.size){r=new ke.MathNode("mstyle",[r]);var o=n.size===Fe.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",o),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var s=new ke.MathNode("mo",[new ke.TextNode(t.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),t.rightDelim!=null){var l=new ke.MathNode("mo",[new ke.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return g2(a)}return r};Ie({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1],a,s=null,l=null,c="auto";switch(i){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:o,hasBarLine:a,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:E2,mathmlBuilder:C2});Ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:i}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:i}}});var g7=["display","text","script","scriptscript"],b7=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};Ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,i=e[4],n=e[5],o=R0(e[0]),a=o.type==="atom"&&o.family==="open"?b7(o.text):null,s=R0(e[1]),l=s.type==="atom"&&s.family==="close"?b7(s.text):null,c=lt(e[2],"size"),u,f=null;c.isBlank?u=!0:(f=c.value,u=f.number>0);var d="auto",p=e[3];if(p.type==="ordgroup"){if(p.body.length>0){var O=lt(p.body[0],"textord");d=g7[Number(O.text)]}}else p=lt(p,"textord"),d=g7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:a,rightDelim:l,size:d}},htmlBuilder:E2,mathmlBuilder:C2});Ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:i,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:lt(e[0],"size").value,token:n}}});Ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=_q(lt(e[1],"infix").size),a=e[2],s=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:s,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:E2,mathmlBuilder:C2});var pT=(t,e)=>{var r=e.style,i,n;t.type==="supsub"?(i=t.sup?wt(t.sup,e.havingStyle(r.sup()),e):wt(t.sub,e.havingStyle(r.sub()),e),n=lt(t.base,"horizBrace")):n=lt(t,"horizBrace");var o=wt(n.base,e.havingBaseStyle(Fe.DISPLAY)),a=Xo.svgSpan(n,e),s;if(n.isOver?(s=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},e),s.children[0].children[0].children[1].classes.push("svg-align")):(s=re.makeVList({positionType:"bottom",positionData:o.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},e),s.children[0].children[0].children[0].classes.push("svg-align")),i){var l=re.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e);n.isOver?s=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):s=re.makeVList({positionType:"bottom",positionData:l.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return re.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e)},GB=(t,e)=>{var r=Xo.mathMLnode(t.label);return new ke.MathNode(t.isOver?"mover":"munder",[Mt(t.base,e),r])};Ie({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"horizBrace",mode:r.mode,label:i,isOver:/^\\over/.test(i),base:e[0]}},htmlBuilder:pT,mathmlBuilder:GB});Ie({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[1],n=lt(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:sr(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1);return re.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=Ia(t.body,e);return r instanceof wi||(r=new wi("mrow",[r])),r.setAttribute("href",t.href),r}});Ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=lt(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var n=[],o=0;o<i.length;o++){var a=i[o];a==="~"&&(a="\\textasciitilde"),n.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:r.mode,font:"\\texttt",body:n};return{type:"href",mode:r.mode,href:i,body:sr(s)}}});Ie({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:r}=t;return{type:"hbox",mode:r.mode,body:sr(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!1);return re.makeFragment(r)},mathmlBuilder(t,e){return new ke.MathNode("mrow",Si(t.body,e))}});Ie({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i,token:n}=t,o=lt(e[0],"raw").string,a=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(i){case"\\htmlClass":l.class=o,s={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,s={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,s={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),u=0;u<c.length;u++){var f=c[u].split("=");if(f.length!==2)throw new Pe("Error parsing key-value for \\htmlData");l["data-"+f[0].trim()]=f[1].trim()}s={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(s)?{type:"html",mode:r.mode,attributes:l,body:sr(a)}:r.formatUnsupportedCmd(i)},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1),i=["enclosing"];t.attributes.class&&i.push(...t.attributes.class.trim().split(/\s+/));var n=re.makeSpan(i,r,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&n.setAttribute(o,t.attributes[o]);return n},mathmlBuilder:(t,e)=>Ia(t.body,e)});Ie({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:sr(e[0]),mathml:sr(e[1])}},htmlBuilder:(t,e)=>{var r=yr(t.html,e,!1);return re.makeFragment(r)},mathmlBuilder:(t,e)=>Ia(t.mathml,e)});var Kb=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new Pe("Invalid size: '"+e+"' in \\includegraphics");var i={number:+(r[1]+r[2]),unit:r[3]};if(!X7(i))throw new Pe("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};Ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:i}=t,n={number:0,unit:"em"},o={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(r[0])for(var l=lt(r[0],"raw").string,c=l.split(","),u=0;u<c.length;u++){var f=c[u].split("=");if(f.length===2){var d=f[1].trim();switch(f[0].trim()){case"alt":s=d;break;case"width":n=Kb(d);break;case"height":o=Kb(d);break;case"totalheight":a=Kb(d);break;default:throw new Pe("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var p=lt(e[0],"url").url;return s===""&&(s=p,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:i.mode,alt:s,width:n,height:o,totalheight:a,src:p}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var r=Gt(t.height,e),i=0;t.totalheight.number>0&&(i=Gt(t.totalheight,e)-r);var n=0;t.width.number>0&&(n=Gt(t.width,e));var o={height:Qe(r+i)};n>0&&(o.width=Qe(n)),i>0&&(o.verticalAlign=Qe(-i));var a=new n2(t.src,t.alt,o);return a.height=r,a.depth=i,a},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var i=Gt(t.height,e),n=0;if(t.totalheight.number>0&&(n=Gt(t.totalheight,e)-i,r.setAttribute("valign",Qe(-n))),r.setAttribute("height",Qe(i+n)),t.width.number>0){var o=Gt(t.width,e);r.setAttribute("width",Qe(o))}return r.setAttribute("src",t.src),r}});Ie({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=lt(e[0],"size");if(r.settings.strict){var o=i[1]==="m",a=n.value.unit==="mu";o?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(t,e){return re.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Gt(t.dimension,e);return new ke.SpaceNode(r)}});Ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=re.makeSpan([],[wt(t.body,e)]),r=re.makeSpan(["inner"],[r],e)):r=re.makeSpan(["inner"],[wt(t.body,e)]);var i=re.makeSpan(["fix"],[]),n=re.makeSpan([t.alignment],[r,i],e),o=re.makeSpan(["strut"]);return o.style.height=Qe(n.height+n.depth),n.depth&&(o.style.verticalAlign=Qe(-n.depth)),n.children.unshift(o),n=re.makeSpan(["thinbox"],[n],e),re.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[Mt(t.body,e)]);if(t.alignment!=="rlap"){var i=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",i+"width")}return r.setAttribute("width","0px"),r}});Ie({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:i}=t,n=i.mode;i.switchMode("math");var o=r==="\\("?"\\)":"$",a=i.parseExpression(!1,o);return i.expect(o),i.switchMode(n),{type:"styling",mode:i.mode,style:"text",body:a}}});Ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new Pe("Mismatched "+t.funcName)}});var y7=(t,e)=>{switch(e.style.size){case Fe.DISPLAY.size:return t.display;case Fe.TEXT.size:return t.text;case Fe.SCRIPT.size:return t.script;case Fe.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};Ie({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:sr(e[0]),text:sr(e[1]),script:sr(e[2]),scriptscript:sr(e[3])}},htmlBuilder:(t,e)=>{var r=y7(t,e),i=yr(r,e,!1);return re.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=y7(t,e);return Ia(r,e)}});var mT=(t,e,r,i,n,o,a)=>{t=re.makeSpan([],[t]);var s=r&&Ke.isCharacterBox(r),l,c;if(e){var u=wt(e,i.havingStyle(n.sup()),i);c={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var f=wt(r,i.havingStyle(n.sub()),i);l={elem:f,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-f.height)}}var d;if(c&&l){var p=i.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+a;d=re.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Qe(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Qe(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(l){var O=t.height-a;d=re.makeVList({positionType:"top",positionData:O,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Qe(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},i)}else if(c){var x=t.depth+a;d=re.makeVList({positionType:"bottom",positionData:x,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Qe(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else return t;var k=[d];if(l&&o!==0&&!s){var w=re.makeSpan(["mspace"],[],i);w.style.marginRight=Qe(o),k.unshift(w)}return re.makeSpan(["mop","op-limits"],k,i)},OT=["\\smallint"],tc=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"op"),n=!0):o=lt(t,"op");var a=e.style,s=!1;a.size===Fe.DISPLAY.size&&o.symbol&&!Ke.contains(OT,o.name)&&(s=!0);var l;if(o.symbol){var c=s?"Size2-Regular":"Size1-Regular",u="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(u=o.name.slice(1),o.name=u==="oiint"?"\\iint":"\\iiint"),l=re.makeSymbol(o.name,c,"math",e,["mop","op-symbol",s?"large-op":"small-op"]),u.length>0){var f=l.italic,d=re.staticSvg(u+"Size"+(s?"2":"1"),e);l=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},e),o.name="\\"+u,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var p=yr(o.body,e,!0);p.length===1&&p[0]instanceof ki?(l=p[0],l.classes[0]="mop"):l=re.makeSpan(["mop"],p,e)}else{for(var O=[],x=1;x<o.name.length;x++)O.push(re.mathsym(o.name[x],o.mode,e));l=re.makeSpan(["mop"],O,e)}var k=0,w=0;return(l instanceof ki||o.name==="\\oiint"||o.name==="\\oiiint")&&!o.suppressBaseShift&&(k=(l.height-l.depth)/2-e.fontMetrics().axisHeight,w=l.italic),n?mT(l,r,i,e,a,w,k):(k&&(l.style.position="relative",l.style.top=Qe(k)),l)},Fu=(t,e)=>{var r;if(t.symbol)r=new wi("mo",[Ji(t.name,t.mode)]),Ke.contains(OT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new wi("mo",Si(t.body,e));else{r=new wi("mi",[new $s(t.name.slice(1))]);var i=new wi("mo",[Ji("\u2061","text")]);t.parentIsSupSub?r=new wi("mrow",[r,i]):r=j7([r,i])}return r},KB={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ie({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=i;return n.length===1&&(n=KB[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:tc,mathmlBuilder:Fu});Ie({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:sr(i)}},htmlBuilder:tc,mathmlBuilder:Fu});var JB={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ie({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:tc,mathmlBuilder:Fu});Ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:tc,mathmlBuilder:Fu});Ie({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,i=r;return i.length===1&&(i=JB[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:tc,mathmlBuilder:Fu});var gT=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"operatorname"),n=!0):o=lt(t,"operatorname");var a;if(o.body.length>0){for(var s=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=yr(s,e.withFont("mathrm"),!0),c=0;c<l.length;c++){var u=l[c];u instanceof ki&&(u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=re.makeSpan(["mop"],l,e)}else a=re.makeSpan(["mop"],[],e);return n?mT(a,r,i,e,e.style,0,0):a},ej=(t,e)=>{for(var r=Si(t.body,e.withFont("mathrm")),i=!0,n=0;n<r.length;n++){var o=r[n];if(!(o instanceof ke.SpaceNode))if(o instanceof ke.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var a=o.children[0];o.children.length===1&&a instanceof ke.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):i=!1;break}default:i=!1}else i=!1}if(i){var s=r.map(u=>u.toText()).join("");r=[new ke.TextNode(s)]}var l=new ke.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new ke.MathNode("mo",[Ji("\u2061","text")]);return t.parentIsSupSub?new ke.MathNode("mrow",[l,c]):ke.newDocumentFragment([l,c])};Ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:sr(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:gT,mathmlBuilder:ej});X("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Is({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?re.makeFragment(yr(t.body,e,!1)):re.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return Ia(t.body,e,!0)}});Ie({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,i=e[0];return{type:"overline",mode:r.mode,body:i}},htmlBuilder(t,e){var r=wt(t.body,e.havingCrampedStyle()),i=re.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return re.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("mover",[Mt(t.body,e),r]);return i.setAttribute("accent","true"),i}});Ie({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"phantom",mode:r.mode,body:sr(i)}},htmlBuilder:(t,e)=>{var r=yr(t.body,e.withPhantom(),!1);return re.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=Si(t.body,e);return new ke.MathNode("mphantom",r)}});Ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"hphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=re.makeSpan([],[wt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i<r.children.length;i++)r.children[i].height=0,r.children[i].depth=0;return r=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e),re.makeSpan(["mord"],[r],e)},mathmlBuilder:(t,e)=>{var r=Si(sr(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Ie({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"vphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=re.makeSpan(["inner"],[wt(t.body,e.withPhantom())]),i=re.makeSpan(["fix"],[]);return re.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=Si(sr(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("width","0px"),n}});Ie({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,i=lt(e[0],"size").value,n=e[1];return{type:"raisebox",mode:r.mode,dy:i,body:n}},htmlBuilder(t,e){var r=wt(t.body,e),i=Gt(t.dy,e);return re.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new ke.MathNode("mpadded",[Mt(t.body,e)]),i=t.dy.number+t.dy.unit;return r.setAttribute("voffset",i),r}});Ie({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});Ie({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:i}=t,n=r[0],o=lt(e[0],"size"),a=lt(e[1],"size");return{type:"rule",mode:i.mode,shift:n&&lt(n,"size").value,width:o.value,height:a.value}},htmlBuilder(t,e){var r=re.makeSpan(["mord","rule"],[],e),i=Gt(t.width,e),n=Gt(t.height,e),o=t.shift?Gt(t.shift,e):0;return r.style.borderRightWidth=Qe(i),r.style.borderTopWidth=Qe(n),r.style.bottom=Qe(o),r.width=i,r.height=n+o,r.depth=-o,r.maxFontSize=n*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=Gt(t.width,e),i=Gt(t.height,e),n=t.shift?Gt(t.shift,e):0,o=e.color&&e.getColor()||"black",a=new ke.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",Qe(r)),a.setAttribute("height",Qe(i));var s=new ke.MathNode("mpadded",[a]);return n>=0?s.setAttribute("height",Qe(n)):(s.setAttribute("height",Qe(n)),s.setAttribute("depth",Qe(-n))),s.setAttribute("voffset",Qe(n)),s}});function bT(t,e,r){for(var i=yr(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,o=0;o<i.length;o++){var a=i[o].classes.indexOf("sizing");a<0?Array.prototype.push.apply(i[o].classes,e.sizingClasses(r)):i[o].classes[a+1]==="reset-size"+e.size&&(i[o].classes[a+1]="reset-size"+r.size),i[o].height*=n,i[o].depth*=n}return re.makeFragment(i)}var v7=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],tj=(t,e)=>{var r=e.havingSize(t.size);return bT(t.body,r,e)};Ie({type:"sizing",names:v7,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:v7.indexOf(i)+1,body:o}},htmlBuilder:tj,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=Si(t.body,r),n=new ke.MathNode("mstyle",i);return n.setAttribute("mathsize",Qe(r.sizeMultiplier)),n}});Ie({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:i}=t,n=!1,o=!1,a=r[0]&&lt(r[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){var c=a.body[l];if(s=c.text,s==="t")n=!0;else if(s==="b")o=!0;else{n=!1,o=!1;break}}else n=!0,o=!0;var u=e[0];return{type:"smash",mode:i.mode,body:u,smashHeight:n,smashDepth:o}},htmlBuilder:(t,e)=>{var r=re.makeSpan([],[wt(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].height=0;if(t.smashDepth&&(r.depth=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].depth=0;var o=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e);return re.makeSpan(["mord"],[o],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[Mt(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});Ie({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:i}=t,n=r[0],o=e[0];return{type:"sqrt",mode:i.mode,body:o,index:n}},htmlBuilder(t,e){var r=wt(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=re.wrapFragment(r,e);var i=e.fontMetrics(),n=i.defaultRuleThickness,o=n;e.style.id<Fe.TEXT.id&&(o=e.fontMetrics().xHeight);var a=n+o/4,s=r.height+r.depth+a+n,{span:l,ruleWidth:c,advanceWidth:u}=Qo.sqrtImage(s,e),f=l.height-c;f>r.height+r.depth+a&&(a=(a+f-r.height-r.depth)/2);var d=l.height-r.height-a-c;r.style.paddingLeft=Qe(u);var p=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var O=e.havingStyle(Fe.SCRIPTSCRIPT),x=wt(t.index,O,e),k=.6*(p.height-p.depth),w=re.makeVList({positionType:"shift",positionData:-k,children:[{type:"elem",elem:x}]},e),C=re.makeSpan(["root"],[w]);return re.makeSpan(["mord","sqrt"],[C,p],e)}else return re.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[Mt(r,e),Mt(i,e)]):new ke.MathNode("msqrt",[Mt(r,e)])}});var x7={display:Fe.DISPLAY,text:Fe.TEXT,script:Fe.SCRIPT,scriptscript:Fe.SCRIPTSCRIPT};Ie({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!0,r),a=i.slice(1,i.length-5);return{type:"styling",mode:n.mode,style:a,body:o}},htmlBuilder(t,e){var r=x7[t.style],i=e.havingStyle(r).withFont("");return bT(t.body,i,e)},mathmlBuilder(t,e){var r=x7[t.style],i=e.havingStyle(r),n=Si(t.body,i),o=new ke.MathNode("mstyle",n),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[t.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var rj=function(e,r){var i=e.base;if(i)if(i.type==="op"){var n=i.limits&&(r.style.size===Fe.DISPLAY.size||i.alwaysHandleSupSub);return n?tc:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===Fe.DISPLAY.size||i.limits);return o?gT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?v2:null;if(i.type==="horizBrace"){var a=!e.sub;return a===i.isOver?pT:null}else return null}else return null};Is({type:"supsub",htmlBuilder(t,e){var r=rj(t,e);if(r)return r(t,e);var{base:i,sup:n,sub:o}=t,a=wt(i,e),s,l,c=e.fontMetrics(),u=0,f=0,d=i&&Ke.isCharacterBox(i);if(n){var p=e.havingStyle(e.style.sup());s=wt(n,p,e),d||(u=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(o){var O=e.havingStyle(e.style.sub());l=wt(o,O,e),d||(f=a.depth+O.fontMetrics().subDrop*O.sizeMultiplier/e.sizeMultiplier)}var x;e.style===Fe.DISPLAY?x=c.sup1:e.style.cramped?x=c.sup3:x=c.sup2;var k=e.sizeMultiplier,w=Qe(.5/c.ptPerEm/k),C=null;if(l){var Q=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof ki||Q)&&(C=Qe(-a.italic))}var L;if(s&&l){u=Math.max(u,x,s.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var N=c.defaultRuleThickness,I=4*N;if(u-s.depth-(l.height-f)<I){f=I-(u-s.depth)+l.height;var H=.8*c.xHeight-(u-s.depth);H>0&&(u+=H,f-=H)}var j=[{type:"elem",elem:l,shift:f,marginRight:w,marginLeft:C},{type:"elem",elem:s,shift:-u,marginRight:w}];L=re.makeVList({positionType:"individualShift",children:j},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var Y=[{type:"elem",elem:l,marginLeft:C,marginRight:w}];L=re.makeVList({positionType:"shift",positionData:f,children:Y},e)}else if(s)u=Math.max(u,x,s.depth+.25*c.xHeight),L=re.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:s,marginRight:w}]},e);else throw new Error("supsub must have either sup or sub.");var V=a2(a,"right")||"mord";return re.makeSpan([V],[a,re.makeSpan(["msupsub"],[L])],e)},mathmlBuilder(t,e){var r=!1,i,n;t.base&&t.base.type==="horizBrace"&&(n=!!t.sup,n===t.base.isOver&&(r=!0,i=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var o=[Mt(t.base,e)];t.sub&&o.push(Mt(t.sub,e)),t.sup&&o.push(Mt(t.sup,e));var a;if(r)a=i?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===Fe.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===Fe.DISPLAY||c.limits)?a="munderover":a="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===Fe.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===Fe.DISPLAY)?a="munder":a="msub"}else{var s=t.base;s&&s.type==="op"&&s.limits&&(e.style===Fe.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||e.style===Fe.DISPLAY)?a="mover":a="msup"}return new ke.MathNode(a,o)}});Is({type:"atom",htmlBuilder(t,e){return re.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ji(t.text,t.mode)]);if(t.family==="bin"){var i=b2(t,e);i==="bold-italic"&&r.setAttribute("mathvariant",i)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var yT={mi:"italic",mn:"normal",mtext:"normal"};Is({type:"mathord",htmlBuilder(t,e){return re.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ji(t.text,t.mode,e)]),i=b2(t,e)||"italic";return i!==yT[r.type]&&r.setAttribute("mathvariant",i),r}});Is({type:"textord",htmlBuilder(t,e){return re.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ji(t.text,t.mode,e),i=b2(t,e)||"normal",n;return t.mode==="text"?n=new ke.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new ke.MathNode("mn",[r]):t.text==="\\prime"?n=new ke.MathNode("mo",[r]):n=new ke.MathNode("mi",[r]),i!==yT[n.type]&&n.setAttribute("mathvariant",i),n}});var Jb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},e2={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Is({type:"spacing",htmlBuilder(t,e){if(e2.hasOwnProperty(t.text)){var r=e2[t.text].className||"";if(t.mode==="text"){var i=re.makeOrd(t,e,"textord");return i.classes.push(r),i}else return re.makeSpan(["mspace",r],[re.mathsym(t.text,t.mode,e)],e)}else{if(Jb.hasOwnProperty(t.text))return re.makeSpan(["mspace",Jb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(e2.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Jb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var w7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Is({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[w7(),new ke.MathNode("mtd",[Ia(t.body,e)]),w7(),new ke.MathNode("mtd",[Ia(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var k7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},S7={"\\textbf":"textbf","\\textmd":"textmd"},ij={"\\textit":"textit","\\textup":"textup"},T7=(t,e)=>{var r=t.font;return r?k7[r]?e.withTextFontFamily(k7[r]):S7[r]?e.withTextFontWeight(S7[r]):e.withTextFontShape(ij[r]):e};Ie({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"text",mode:r.mode,body:sr(n),font:i}},htmlBuilder(t,e){var r=T7(t,e),i=yr(t.body,r,!0);return re.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=T7(t,e);return Ia(t.body,r)}});Ie({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=wt(t.body,e),i=re.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=re.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:i},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return re.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("munder",[Mt(t.body,e),r]);return i.setAttribute("accentunder","true"),i}});Ie({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=wt(t.body,e),i=e.fontMetrics().axisHeight,n=.5*(r.height-i-(r.depth+i));return re.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new ke.MathNode("mpadded",[Mt(t.body,e)],["vcenter"])}});Ie({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new Pe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=E7(t),i=[],n=e.havingStyle(e.style.text()),o=0;o<r.length;o++){var a=r[o];a==="~"&&(a="\\textasciitilde"),i.push(re.makeSymbol(a,"Typewriter-Regular",t.mode,n,["mord","texttt"]))}return re.makeSpan(["mord","text"].concat(n.sizingClasses(e)),re.tryCombineChars(i),n)},mathmlBuilder(t,e){var r=new ke.TextNode(E7(t)),i=new ke.MathNode("mtext",[r]);return i.setAttribute("mathvariant","monospace"),i}});var E7=t=>t.body.replace(/ /g,t.star?"\u2423":"\xA0"),Xa=q7,vT=`[ \r
]`,nj="\\\\[a-zA-Z@]+",oj="\\\\[^\uD800-\uDFFF]",aj="("+nj+")"+vT+"*",sj=`\\\\(
|[ \r ]+
?)[ \r ]*`,f2="[\u0300-\u036F]",lj=new RegExp(f2+"+$"),cj="("+vT+"+)|"+(sj+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(f2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(f2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+aj)+("|"+oj+")"),I0=class{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(cj,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new Hn("EOF",new Mi(this,r,r));var i=this.tokenRegex.exec(e);if(i===null||i.index!==r)throw new Pe("Unexpected character: '"+e[r]+"'",new Hn(e[r],new Mi(this,r,r+1)));var n=i[6]||i[3]||(i[2]?"\\ ":" ");if(this.catcodes[n]===14){var o=e.indexOf(`
`,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new Hn(n,new Mi(this,r,this.tokenRegex.lastIndex))}},h2=class{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Pe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,i){if(i===void 0&&(i=!1),i){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}},uj=cT;X("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});X("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});X("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});X("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});X("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});X("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");X("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var C7={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};X("\\char",function(t){var e=t.popToken(),r,i="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")i=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new Pe("\\char` missing argument");i=e.text.charCodeAt(0)}else r=10;if(r){if(i=C7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=C7[t.future().text])!=null&&n<r;)i*=r,i+=n,t.popToken()}return"\\@char{"+i+"}"});var P2=(t,e,r)=>{var i=t.consumeArg().tokens;if(i.length!==1)throw new Pe("\\newcommand's first argument must be a macro name");var n=i[0].text,o=t.isDefined(n);if(o&&!e)throw new Pe("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!o&&!r)throw new Pe("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var a=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var s="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new Pe("Invalid number of arguments: "+s);a=parseInt(s),i=t.consumeArg().tokens}return t.macros.set(n,{tokens:i,numArgs:a}),""};X("\\newcommand",t=>P2(t,!1,!0));X("\\renewcommand",t=>P2(t,!0,!1));X("\\providecommand",t=>P2(t,!0,!0));X("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});X("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});X("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Xa[r],Dt.math[r],Dt.text[r]),""});X("\\bgroup","{");X("\\egroup","}");X("~","\\nobreakspace");X("\\lq","`");X("\\rq","'");X("\\aa","\\r a");X("\\AA","\\r A");X("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");X("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");X("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");X("\u212C","\\mathscr{B}");X("\u2130","\\mathscr{E}");X("\u2131","\\mathscr{F}");X("\u210B","\\mathscr{H}");X("\u2110","\\mathscr{I}");X("\u2112","\\mathscr{L}");X("\u2133","\\mathscr{M}");X("\u211B","\\mathscr{R}");X("\u212D","\\mathfrak{C}");X("\u210C","\\mathfrak{H}");X("\u2128","\\mathfrak{Z}");X("\\Bbbk","\\Bbb{k}");X("\xB7","\\cdotp");X("\\llap","\\mathllap{\\textrm{#1}}");X("\\rlap","\\mathrlap{\\textrm{#1}}");X("\\clap","\\mathclap{\\textrm{#1}}");X("\\mathstrut","\\vphantom{(}");X("\\underbar","\\underline{\\text{#1}}");X("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');X("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");X("\\ne","\\neq");X("\u2260","\\neq");X("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");X("\u2209","\\notin");X("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");X("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");X("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");X("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");X("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");X("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");X("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");X("\u27C2","\\perp");X("\u203C","\\mathclose{!\\mkern-0.8mu!}");X("\u220C","\\notni");X("\u231C","\\ulcorner");X("\u231D","\\urcorner");X("\u231E","\\llcorner");X("\u231F","\\lrcorner");X("\xA9","\\copyright");X("\xAE","\\textregistered");X("\uFE0F","\\textregistered");X("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');X("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');X("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');X("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');X("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");X("\u22EE","\\vdots");X("\\varGamma","\\mathit{\\Gamma}");X("\\varDelta","\\mathit{\\Delta}");X("\\varTheta","\\mathit{\\Theta}");X("\\varLambda","\\mathit{\\Lambda}");X("\\varXi","\\mathit{\\Xi}");X("\\varPi","\\mathit{\\Pi}");X("\\varSigma","\\mathit{\\Sigma}");X("\\varUpsilon","\\mathit{\\Upsilon}");X("\\varPhi","\\mathit{\\Phi}");X("\\varPsi","\\mathit{\\Psi}");X("\\varOmega","\\mathit{\\Omega}");X("\\substack","\\begin{subarray}{c}#1\\end{subarray}");X("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");X("\\boxed","\\fbox{$\\displaystyle{#1}$}");X("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");X("\\implies","\\DOTSB\\;\\Longrightarrow\\;");X("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var P7={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};X("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in P7?e=P7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var _2={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};X("\\dotso",function(t){var e=t.future().text;return e in _2?"\\ldots\\,":"\\ldots"});X("\\dotsc",function(t){var e=t.future().text;return e in _2&&e!==","?"\\ldots\\,":"\\ldots"});X("\\cdots",function(t){var e=t.future().text;return e in _2?"\\@cdots\\,":"\\@cdots"});X("\\dotsb","\\cdots");X("\\dotsm","\\cdots");X("\\dotsi","\\!\\cdots");X("\\dotsx","\\ldots\\,");X("\\DOTSI","\\relax");X("\\DOTSB","\\relax");X("\\DOTSX","\\relax");X("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");X("\\,","\\tmspace+{3mu}{.1667em}");X("\\thinspace","\\,");X("\\>","\\mskip{4mu}");X("\\:","\\tmspace+{4mu}{.2222em}");X("\\medspace","\\:");X("\\;","\\tmspace+{5mu}{.2777em}");X("\\thickspace","\\;");X("\\!","\\tmspace-{3mu}{.1667em}");X("\\negthinspace","\\!");X("\\negmedspace","\\tmspace-{4mu}{.2222em}");X("\\negthickspace","\\tmspace-{5mu}{.277em}");X("\\enspace","\\kern.5em ");X("\\enskip","\\hskip.5em\\relax");X("\\quad","\\hskip1em\\relax");X("\\qquad","\\hskip2em\\relax");X("\\tag","\\@ifstar\\tag@literal\\tag@paren");X("\\tag@paren","\\tag@literal{({#1})}");X("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Pe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});X("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");X("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");X("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");X("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");X("\\newline","\\\\\\relax");X("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var xT=Qe(Yn["Main-Regular"][84][1]-.7*Yn["Main-Regular"][65][1]);X("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+xT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");X("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+xT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");X("\\hspace","\\@ifstar\\@hspacer\\@hspace");X("\\@hspace","\\hskip #1\\relax");X("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");X("\\ordinarycolon",":");X("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");X("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');X("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');X("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');X("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');X("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');X("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');X("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');X("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');X("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');X("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');X("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');X("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');X("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');X("\u2237","\\dblcolon");X("\u2239","\\eqcolon");X("\u2254","\\coloneqq");X("\u2255","\\eqqcolon");X("\u2A74","\\Coloneqq");X("\\ratio","\\vcentcolon");X("\\coloncolon","\\dblcolon");X("\\colonequals","\\coloneqq");X("\\coloncolonequals","\\Coloneqq");X("\\equalscolon","\\eqqcolon");X("\\equalscoloncolon","\\Eqqcolon");X("\\colonminus","\\coloneq");X("\\coloncolonminus","\\Coloneq");X("\\minuscolon","\\eqcolon");X("\\minuscoloncolon","\\Eqcolon");X("\\coloncolonapprox","\\Colonapprox");X("\\coloncolonsim","\\Colonsim");X("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");X("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");X("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");X("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");X("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");X("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");X("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");X("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");X("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");X("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");X("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");X("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");X("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");X("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");X("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");X("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");X("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");X("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");X("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");X("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");X("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");X("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");X("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");X("\\imath","\\html@mathml{\\@imath}{\u0131}");X("\\jmath","\\html@mathml{\\@jmath}{\u0237}");X("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");X("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");X("\u27E6","\\llbracket");X("\u27E7","\\rrbracket");X("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");X("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");X("\u2983","\\lBrace");X("\u2984","\\rBrace");X("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");X("\u29B5","\\minuso");X("\\darr","\\downarrow");X("\\dArr","\\Downarrow");X("\\Darr","\\Downarrow");X("\\lang","\\langle");X("\\rang","\\rangle");X("\\uarr","\\uparrow");X("\\uArr","\\Uparrow");X("\\Uarr","\\Uparrow");X("\\N","\\mathbb{N}");X("\\R","\\mathbb{R}");X("\\Z","\\mathbb{Z}");X("\\alef","\\aleph");X("\\alefsym","\\aleph");X("\\Alpha","\\mathrm{A}");X("\\Beta","\\mathrm{B}");X("\\bull","\\bullet");X("\\Chi","\\mathrm{X}");X("\\clubs","\\clubsuit");X("\\cnums","\\mathbb{C}");X("\\Complex","\\mathbb{C}");X("\\Dagger","\\ddagger");X("\\diamonds","\\diamondsuit");X("\\empty","\\emptyset");X("\\Epsilon","\\mathrm{E}");X("\\Eta","\\mathrm{H}");X("\\exist","\\exists");X("\\harr","\\leftrightarrow");X("\\hArr","\\Leftrightarrow");X("\\Harr","\\Leftrightarrow");X("\\hearts","\\heartsuit");X("\\image","\\Im");X("\\infin","\\infty");X("\\Iota","\\mathrm{I}");X("\\isin","\\in");X("\\Kappa","\\mathrm{K}");X("\\larr","\\leftarrow");X("\\lArr","\\Leftarrow");X("\\Larr","\\Leftarrow");X("\\lrarr","\\leftrightarrow");X("\\lrArr","\\Leftrightarrow");X("\\Lrarr","\\Leftrightarrow");X("\\Mu","\\mathrm{M}");X("\\natnums","\\mathbb{N}");X("\\Nu","\\mathrm{N}");X("\\Omicron","\\mathrm{O}");X("\\plusmn","\\pm");X("\\rarr","\\rightarrow");X("\\rArr","\\Rightarrow");X("\\Rarr","\\Rightarrow");X("\\real","\\Re");X("\\reals","\\mathbb{R}");X("\\Reals","\\mathbb{R}");X("\\Rho","\\mathrm{P}");X("\\sdot","\\cdot");X("\\sect","\\S");X("\\spades","\\spadesuit");X("\\sub","\\subset");X("\\sube","\\subseteq");X("\\supe","\\supseteq");X("\\Tau","\\mathrm{T}");X("\\thetasym","\\vartheta");X("\\weierp","\\wp");X("\\Zeta","\\mathrm{Z}");X("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");X("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");X("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");X("\\bra","\\mathinner{\\langle{#1}|}");X("\\ket","\\mathinner{|{#1}\\rangle}");X("\\braket","\\mathinner{\\langle{#1}\\rangle}");X("\\Bra","\\left\\langle#1\\right|");X("\\Ket","\\left|#1\\right\\rangle");var wT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,a=e.macros.get("|"),s=e.macros.get("\\|");e.macros.beginGroup();var l=f=>d=>{t&&(d.macros.set("|",a),n.length&&d.macros.set("\\|",s));var p=f;if(!f&&n.length){var O=d.future();O.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?n:i,numArgs:0}};e.macros.set("|",l(!1)),n.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,u=e.expandTokens([...o,...c,...r]);return e.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};X("\\bra@ket",wT(!1));X("\\bra@set",wT(!0));X("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");X("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");X("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");X("\\angln","{\\angl n}");X("\\blue","\\textcolor{##6495ed}{#1}");X("\\orange","\\textcolor{##ffa500}{#1}");X("\\pink","\\textcolor{##ff00af}{#1}");X("\\red","\\textcolor{##df0030}{#1}");X("\\green","\\textcolor{##28ae7b}{#1}");X("\\gray","\\textcolor{gray}{#1}");X("\\purple","\\textcolor{##9d38bd}{#1}");X("\\blueA","\\textcolor{##ccfaff}{#1}");X("\\blueB","\\textcolor{##80f6ff}{#1}");X("\\blueC","\\textcolor{##63d9ea}{#1}");X("\\blueD","\\textcolor{##11accd}{#1}");X("\\blueE","\\textcolor{##0c7f99}{#1}");X("\\tealA","\\textcolor{##94fff5}{#1}");X("\\tealB","\\textcolor{##26edd5}{#1}");X("\\tealC","\\textcolor{##01d1c1}{#1}");X("\\tealD","\\textcolor{##01a995}{#1}");X("\\tealE","\\textcolor{##208170}{#1}");X("\\greenA","\\textcolor{##b6ffb0}{#1}");X("\\greenB","\\textcolor{##8af281}{#1}");X("\\greenC","\\textcolor{##74cf70}{#1}");X("\\greenD","\\textcolor{##1fab54}{#1}");X("\\greenE","\\textcolor{##0d923f}{#1}");X("\\goldA","\\textcolor{##ffd0a9}{#1}");X("\\goldB","\\textcolor{##ffbb71}{#1}");X("\\goldC","\\textcolor{##ff9c39}{#1}");X("\\goldD","\\textcolor{##e07d10}{#1}");X("\\goldE","\\textcolor{##a75a05}{#1}");X("\\redA","\\textcolor{##fca9a9}{#1}");X("\\redB","\\textcolor{##ff8482}{#1}");X("\\redC","\\textcolor{##f9685d}{#1}");X("\\redD","\\textcolor{##e84d39}{#1}");X("\\redE","\\textcolor{##bc2612}{#1}");X("\\maroonA","\\textcolor{##ffbde0}{#1}");X("\\maroonB","\\textcolor{##ff92c6}{#1}");X("\\maroonC","\\textcolor{##ed5fa6}{#1}");X("\\maroonD","\\textcolor{##ca337c}{#1}");X("\\maroonE","\\textcolor{##9e034e}{#1}");X("\\purpleA","\\textcolor{##ddd7ff}{#1}");X("\\purpleB","\\textcolor{##c6b9fc}{#1}");X("\\purpleC","\\textcolor{##aa87ff}{#1}");X("\\purpleD","\\textcolor{##7854ab}{#1}");X("\\purpleE","\\textcolor{##543b78}{#1}");X("\\mintA","\\textcolor{##f5f9e8}{#1}");X("\\mintB","\\textcolor{##edf2df}{#1}");X("\\mintC","\\textcolor{##e0e5cc}{#1}");X("\\grayA","\\textcolor{##f6f7f7}{#1}");X("\\grayB","\\textcolor{##f0f1f2}{#1}");X("\\grayC","\\textcolor{##e3e5e6}{#1}");X("\\grayD","\\textcolor{##d6d8da}{#1}");X("\\grayE","\\textcolor{##babec2}{#1}");X("\\grayF","\\textcolor{##888d93}{#1}");X("\\grayG","\\textcolor{##626569}{#1}");X("\\grayH","\\textcolor{##3b3e40}{#1}");X("\\grayI","\\textcolor{##21242c}{#1}");X("\\kaBlue","\\textcolor{##314453}{#1}");X("\\kaGreen","\\textcolor{##71B307}{#1}");var kT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},d2=class{constructor(e,r,i){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new h2(uj,r.macros),this.mode=i,this.stack=[]}feed(e){this.lexer=new I0(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,i,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:i}=this.consumeArg(["]"])}else({tokens:n,start:r,end:i}=this.consumeArg());return this.pushToken(new Hn("EOF",i.loc)),this.pushTokens(n),r.range(i,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],i=e&&e.length>0;i||this.consumeSpaces();var n=this.future(),o,a=0,s=0;do{if(o=this.popToken(),r.push(o),o.text==="{")++a;else if(o.text==="}"){if(--a,a===-1)throw new Pe("Extra }",o)}else if(o.text==="EOF")throw new Pe("Unexpected end of input in a macro argument, expected '"+(e&&i?e[s]:"}")+"'",o);if(e&&i)if((a===0||a===1&&e[s]==="{")&&o.text===e[s]){if(++s,s===e.length){r.splice(-s,s);break}}else s=0}while(a!==0||i);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:o}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new Pe("The length of delimiters doesn't match the number of args!");for(var i=r[0],n=0;n<i.length;n++){var o=this.popToken();if(i[n]!==o.text)throw new Pe("Use of the macro doesn't match its definition",o)}}for(var a=[],s=0;s<e;s++)a.push(this.consumeArg(r&&r[s+1]).tokens);return a}expandOnce(e){var r=this.popToken(),i=r.text,n=r.noexpand?null:this._getExpansion(i);if(n==null||e&&n.unexpandable){if(e&&n==null&&i[0]==="\\"&&!this.isDefined(i))throw new Pe("Undefined control sequence: "+i);return this.pushToken(r),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new Pe("Too many expansions: infinite loop or need to increase maxExpand setting");var o=n.tokens,a=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if(l.text==="#"){if(s===0)throw new Pe("Incomplete placeholder at end of macro body",l);if(l=o[--s],l.text==="#")o.splice(s+1,1);else if(/^[1-9]$/.test(l.text))o.splice(s,2,...a[+l.text-1]);else throw new Pe("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Hn(e)]):void 0}expandTokens(e){var r=[],i=this.stack.length;for(this.pushTokens(e);this.stack.length>i;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(i=>i.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var i=this.lexer.catcodes[e];if(i!=null&&i!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var o=0;if(n.indexOf("#")!==-1)for(var a=n.replace(/##/g,"");a.indexOf("#"+(o+1))!==-1;)++o;for(var s=new I0(n,this.settings),l=[],c=s.lex();c.text!=="EOF";)l.push(c),c=s.lex();l.reverse();var u={tokens:l,numArgs:o};return u}return n}isDefined(e){return this.macros.has(e)||Xa.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||kT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Xa.hasOwnProperty(e)&&!Xa[e].primitive}},_7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,E0=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),t2={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},A7={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},L0=class t{constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new d2(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new Pe("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Hn("}")),this.gullet.pushTokens(e);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(e,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(t.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&Xa[n.text]&&Xa[n.text].infix)break;var o=this.parseAtom(r);if(o){if(o.type==="internal")continue}else break;i.push(o)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(e){for(var r=-1,i,n=0;n<e.length;n++)if(e[n].type==="infix"){if(r!==-1)throw new Pe("only one infix operator per group",e[n].token);r=n,i=e[n].replaceWith}if(r!==-1&&i){var o,a,s=e.slice(0,r),l=e.slice(r+1);s.length===1&&s[0].type==="ordgroup"?o=s[0]:o={type:"ordgroup",mode:this.mode,body:s},l.length===1&&l[0].type==="ordgroup"?a=l[0]:a={type:"ordgroup",mode:this.mode,body:l};var c;return i==="\\\\abovefrac"?c=this.callFunction(i,[o,e[r],a],[]):c=this.callFunction(i,[o,a],[]),[c]}else return e}handleSupSubscript(e){var r=this.fetch(),i=r.text;this.consume(),this.consumeSpaces();var n=this.parseGroup(e);if(!n)throw new Pe("Expected group after '"+i+"'",r);return n}formatUnsupportedCmd(e){for(var r=[],i=0;i<e.length;i++)r.push({type:"textord",mode:"text",text:e[i]});var n={type:"text",mode:this.mode,body:r},o={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return o}parseAtom(e){var r=this.parseGroup("atom",e);if(this.mode==="text")return r;for(var i,n;;){this.consumeSpaces();var o=this.fetch();if(o.text==="\\limits"||o.text==="\\nolimits"){if(r&&r.type==="op"){var a=o.text==="\\limits";r.limits=a,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=o.text==="\\limits");else throw new Pe("Limit controls must follow a math operator",o);this.consume()}else if(o.text==="^"){if(i)throw new Pe("Double superscript",o);i=this.handleSupSubscript("superscript")}else if(o.text==="_"){if(n)throw new Pe("Double subscript",o);n=this.handleSupSubscript("subscript")}else if(o.text==="'"){if(i)throw new Pe("Double superscript",o);var s={type:"textord",mode:this.mode,text:"\\prime"},l=[s];for(this.consume();this.fetch().text==="'";)l.push(s),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),i={type:"ordgroup",mode:this.mode,body:l}}else if(E0[o.text]){var c=E0[o.text],u=_7.test(o.text);for(this.consume();;){var f=this.fetch().text;if(!E0[f]||_7.test(f)!==u)break;this.consume(),c+=E0[f]}var d=new t(c,this.settings).parse();u?n={type:"ordgroup",mode:"math",body:d}:i={type:"ordgroup",mode:"math",body:d}}else break}return i||n?{type:"supsub",mode:this.mode,base:r,sup:i,sub:n}:r}parseFunction(e,r){var i=this.fetch(),n=i.text,o=Xa[n];if(!o)return null;if(this.consume(),r&&r!=="atom"&&!o.allowedInArgument)throw new Pe("Got function '"+n+"' with no arguments"+(r?" as "+r:""),i);if(this.mode==="text"&&!o.allowedInText)throw new Pe("Can't use function '"+n+"' in text mode",i);if(this.mode==="math"&&o.allowedInMath===!1)throw new Pe("Can't use function '"+n+"' in math mode",i);var{args:a,optArgs:s}=this.parseArguments(n,o);return this.callFunction(n,a,s,i,e)}callFunction(e,r,i,n,o){var a={funcName:e,parser:this,token:n,breakOnTokenText:o},s=Xa[e];if(s&&s.handler)return s.handler(a,r,i);throw new Pe("No function handler for "+e)}parseArguments(e,r){var i=r.numArgs+r.numOptionalArgs;if(i===0)return{args:[],optArgs:[]};for(var n=[],o=[],a=0;a<i;a++){var s=r.argTypes&&r.argTypes[a],l=a<r.numOptionalArgs;(r.primitive&&s==null||r.type==="sqrt"&&a===1&&o[0]==null)&&(s="primitive");var c=this.parseGroupOfType("argument to '"+e+"'",s,l);if(l)o.push(c);else if(c!=null)n.push(c);else throw new Pe("Null argument, please report this as a bug")}return{args:n,optArgs:o}}parseGroupOfType(e,r,i){switch(r){case"color":return this.parseColorGroup(i);case"size":return this.parseSizeGroup(i);case"url":return this.parseUrlGroup(i);case"math":case"text":return this.parseArgumentGroup(i,r);case"hbox":{var n=this.parseArgumentGroup(i,"text");return n!=null?{type:"styling",mode:n.mode,body:[n],style:"text"}:null}case"raw":{var o=this.parseStringGroup("raw",i);return o!=null?{type:"raw",mode:"text",string:o.text}:null}case"primitive":{if(i)throw new Pe("A primitive argument cannot be optional");var a=this.parseGroup(e);if(a==null)throw new Pe("Expected group as "+e,this.fetch());return a}case"original":case null:case void 0:return this.parseArgumentGroup(i);default:throw new Pe("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var i=this.gullet.scanArgument(r);if(i==null)return null;for(var n="",o;(o=this.fetch()).text!=="EOF";)n+=o.text,this.consume();return this.consume(),i.text=n,i}parseRegexGroup(e,r){for(var i=this.fetch(),n=i,o="",a;(a=this.fetch()).text!=="EOF"&&e.test(o+a.text);)n=a,o+=n.text,this.consume();if(o==="")throw new Pe("Invalid "+r+": '"+i.text+"'",i);return i.range(n,o)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var i=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!i)throw new Pe("Invalid color: '"+r.text+"'",r);var n=i[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var r,i=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",i=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!n)throw new Pe("Invalid size: '"+r.text+"'",r);var o={number:+(n[1]+n[2]),unit:n[3]};if(!X7(o))throw new Pe("Invalid unit: '"+o.unit+"'",r);return{type:"size",mode:this.mode,value:o,isBlank:i}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var i=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:i}}parseArgumentGroup(e,r){var i=this.gullet.scanArgument(e);if(i==null)return null;var n=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:i.loc,body:o};return r&&this.switchMode(n),a}parseGroup(e,r){var i=this.fetch(),n=i.text,o;if(n==="{"||n==="\\begingroup"){this.consume();var a=n==="{"?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,a),l=this.fetch();this.expect(a),this.gullet.endGroup(),o={type:"ordgroup",mode:this.mode,loc:Mi.range(i,l),body:s,semisimple:n==="\\begingroup"||void 0}}else if(o=this.parseFunction(r,e)||this.parseSymbol(),o==null&&n[0]==="\\"&&!kT.hasOwnProperty(n)){if(this.settings.throwOnError)throw new Pe("Undefined control sequence: "+n,i);o=this.formatUnsupportedCmd(n),this.consume()}return o}formLigatures(e){for(var r=e.length-1,i=0;i<r;++i){var n=e[i],o=n.text;o==="-"&&e[i+1].text==="-"&&(i+1<r&&e[i+2].text==="-"?(e.splice(i,3,{type:"textord",mode:"text",loc:Mi.range(n,e[i+2]),text:"---"}),r-=2):(e.splice(i,2,{type:"textord",mode:"text",loc:Mi.range(n,e[i+1]),text:"--"}),r-=1)),(o==="'"||o==="`")&&e[i+1].text===o&&(e.splice(i,2,{type:"textord",mode:"text",loc:Mi.range(n,e[i+1]),text:o+o}),r-=1)}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var i=r.slice(5),n=i.charAt(0)==="*";if(n&&(i=i.slice(1)),i.length<2||i.charAt(0)!==i.slice(-1))throw new Pe(`\\verb assertion failed --
please report what input caused this bug`);return i=i.slice(1,-1),{type:"verb",mode:"text",body:i,star:n}}A7.hasOwnProperty(r[0])&&!Dt[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=A7[r[0]]+r.slice(1));var o=lj.exec(r);o&&(r=r.substring(0,o.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var a;if(Dt[this.mode][r]){this.settings.strict&&this.mode==="math"&&o2.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var s=Dt[this.mode][r].group,l=Mi.range(e),c;if(tB.hasOwnProperty(s)){var u=s;c={type:"atom",mode:this.mode,family:u,loc:l,text:r}}else c={type:s,mode:this.mode,loc:l,text:r};a=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&($7(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),a={type:"textord",mode:"text",loc:Mi.range(e),text:r};else return null;if(this.consume(),o)for(var f=0;f<o[0].length;f++){var d=o[0][f];if(!t2[d])throw new Pe("Unknown accent ' "+d+"'",e);var p=t2[d][this.mode]||t2[d].text;if(!p)throw new Pe("Accent "+d+" unsupported in "+this.mode+" mode",e);a={type:"accent",mode:this.mode,loc:Mi.range(e),label:p,isStretchy:!1,isShifty:!0,base:a}}return a}};L0.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var A2=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var i=new L0(e,r);delete i.gullet.macros.current["\\df@tag"];var n=i.parse();if(delete i.gullet.macros.current["\\current@color"],delete i.gullet.macros.current["\\color"],i.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new Pe("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:i.subparse([new Hn("\\df@tag")])}]}return n},ST=function(e,r,i){r.textContent="";var n=Q2(e,i).toNode();r.appendChild(n)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),ST=function(){throw new Pe("KaTeX doesn't work in quirks mode.")});var fj=function(e,r){var i=Q2(e,r).toMarkup();return i},hj=function(e,r){var i=new qu(r);return A2(e,i)},TT=function(e,r,i){if(i.throwOnError||!(e instanceof Pe))throw e;var n=re.makeSpan(["katex-error"],[new ki(r)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+i.errorColor),n},Q2=function(e,r){var i=new qu(r);try{var n=A2(e,i);return kB(n,e,i)}catch(o){return TT(o,e,i)}},dj=function(e,r){var i=new qu(r);try{var n=A2(e,i);return SB(n,e,i)}catch(o){return TT(o,e,i)}},$2={version:"0.16.9",render:ST,renderToString:fj,ParseError:Pe,SETTINGS_SCHEMA:C0,__parse:hj,__renderToDomTree:Q2,__renderToHTMLTree:dj,__setFontMetrics:Yq,__defineSymbol:v,__defineFunction:Ie,__defineMacro:X,__domTree:{Span:Rs,Anchor:ju,SymbolNode:ki,SvgNode:vn,PathNode:Gn,LineNode:Wu}};var pj={};function B0(t){let e=this,r=t||pj,i=e.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),a=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(Bb(r)),o.push(Nb()),a.push(Ub(r))}function ET(t,e){let r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,r),t.applyData(e,r)}function CT(t,e){let r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,r),[t.applyData(e,r),{type:"text",value:`
`}]}function PT(t,e){let r=e.value?e.value+`
`:"",i={};e.lang&&(i.className=["language-"+e.lang]);let n={type:"element",tagName:"code",properties:i,children:[{type:"text",value:r}]};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 _T(t,e){let r={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function AT(t,e){let r={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}var $1e=Ma(new RegExp("\\p{P}","u")),X1e=Ma(/[A-Za-z]/),X2=Ma(/[\dA-Za-z]/),R1e=Ma(/[#-'*+\--9=?A-Z^-~]/);var I1e=Ma(/\d/),L1e=Ma(/[\dA-Fa-f]/),M1e=Ma(/[!-/:-@[-`{-~]/);var z1e=Ma(/\s/);function Ma(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function en(t){let e=[],r=-1,i=0,n=0;for(;++r<t.length;){let o=t.charCodeAt(r),a="";if(o===37&&X2(t.charCodeAt(r+1))&&X2(t.charCodeAt(r+2)))n=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let s=t.charCodeAt(r+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),n=1):a="\uFFFD"}else a=String.fromCharCode(o);a&&(e.push(t.slice(i,r),encodeURIComponent(a)),i=r+n+1,a=""),n&&(r+=n,n=0)}return e.join("")+t.slice(i)}function QT(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=en(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),a,s=t.footnoteCounts.get(i);s===void 0?(s=0,t.footnoteOrder.push(i),a=t.footnoteOrder.length):a=o+1,s+=1,t.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function $T(t,e){let r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function XT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function j0(t,e){let r=e.referenceType,i="]";if(r==="collapsed"?i+="[]":r==="full"&&(i+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+i}];let n=t.all(e),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let a=n[n.length-1];return a&&a.type==="text"?a.value+=i:n.push({type:"text",value:i}),n}function RT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={src:en(i.url||""),alt:e.alt};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function IT(t,e){let r={src:en(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function LT(t,e){let r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);let i={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,i),t.applyData(e,i)}function MT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={href:en(i.url||"")};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function zT(t,e){let r={href:en(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function DT(t,e,r){let i=t.all(e),n=r?mj(r):NT(e),o={},a=[];if(typeof e.checked=="boolean"){let u=i[0],f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},i.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 s=-1;for(;++s<i.length;){let u=i[s];(n||s!==0||u.type!=="element"||u.tagName!=="p")&&a.push({type:"text",value:`
`}),u.type==="element"&&u.tagName==="p"&&!n?a.push(...u.children):a.push(u)}let l=i[i.length-1];l&&(n||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
`});let c={type:"element",tagName:"li",properties:o,children:a};return t.patch(e,c),t.applyData(e,c)}function mj(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let r=t.children,i=-1;for(;!e&&++i<r.length;)e=NT(r[i])}return e}function NT(t){let e=t.spread;return e==null?t.children.length>1:e}function UT(t,e){let r={},i=t.all(e),n=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++n<i.length;){let a=i[n];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let o={type:"element",tagName:e.ordered?"ol":"ul",properties:r,children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)}function qT(t,e){let r={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function BT(t,e){let r={type:"root",children:t.wrap(t.all(e))};return t.patch(e,r),t.applyData(e,r)}function jT(t,e){let r={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}var Ls=WT("end"),tn=WT("start");function WT(t){return e;function e(r){let i=r&&r.position&&r.position[t]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function Zu(t){let e=tn(t),r=Ls(t);if(e&&r)return{start:e,end:r}}function VT(t,e){let r=t.all(e),i=r.shift(),n=[];if(i){let a={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],a),n.push(a)}if(r.length>0){let a={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},s=tn(e.children[1]),l=Ls(e.children[e.children.length-1]);s&&l&&(a.position={start:s,end:l}),n.push(a)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function FT(t,e,r){let i=r?r.children:void 0,o=(i?i.indexOf(e):1)===0?"th":"td",a=r&&r.type==="table"?r.align:void 0,s=a?a.length:e.children.length,l=-1,c=[];for(;++l<s;){let f=e.children[l],d={},p=a?a[l]:void 0;p&&(d.align=p);let O={type:"element",tagName:o,properties:d,children:[]};f&&(O.children=t.all(f),t.patch(f,O),O=t.applyData(f,O)),c.push(O)}let u={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,u),t.applyData(e,u)}function ZT(t,e){let r={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function HT(t){let e=String(t),r=/\r?\n|\r/g,i=r.exec(e),n=0,o=[];for(;i;)o.push(YT(e.slice(n,i.index),n>0,!0),i[0]),n=i.index+i[0].length,i=r.exec(e);return o.push(YT(e.slice(n),n>0,!1)),o.join("")}function YT(t,e,r){let i=0,n=t.length;if(e){let o=t.codePointAt(i);for(;o===9||o===32;)i++,o=t.codePointAt(i)}if(r){let o=t.codePointAt(n-1);for(;o===9||o===32;)n--,o=t.codePointAt(n-1)}return n>i?t.slice(i,n):""}function GT(t,e){let r={type:"text",value:HT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function KT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var JT={blockquote:ET,break:CT,code:PT,delete:_T,emphasis:AT,footnoteReference:QT,heading:$T,html:XT,imageReference:RT,image:IT,inlineCode:LT,linkReference:MT,link:zT,listItem:DT,list:UT,paragraph:qT,root:BT,strong:jT,table:VT,tableCell:ZT,tableRow:FT,text:GT,thematicBreak:KT,toml:W0,yaml:W0,definition:W0,footnoteDefinition:W0};function W0(){}var e8=typeof self=="object"?self:globalThis,Oj=(t,e)=>{let r=(n,o)=>(t.set(o,n),n),i=n=>{if(t.has(n))return t.get(n);let[o,a]=e[n];switch(o){case 0:case-1:return r(a,n);case 1:{let s=r([],n);for(let l of a)s.push(i(l));return s}case 2:{let s=r({},n);for(let[l,c]of a)s[i(l)]=i(c);return s}case 3:return r(new Date(a),n);case 4:{let{source:s,flags:l}=a;return r(new RegExp(s,l),n)}case 5:{let s=r(new Map,n);for(let[l,c]of a)s.set(i(l),i(c));return s}case 6:{let s=r(new Set,n);for(let l of a)s.add(i(l));return s}case 7:{let{name:s,message:l}=a;return r(new e8[s](l),n)}case 8:return r(BigInt(a),n);case"BigInt":return r(Object(BigInt(a)),n)}return r(new e8[o](a),n)};return i},M2=t=>Oj(new Map,t)(0);var rc="",{toString:gj}={},{keys:bj}=Object,Ku=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=gj.call(t).slice(8,-1);switch(r){case"Array":return[1,rc];case"Object":return[2,rc];case"Date":return[3,rc];case"RegExp":return[4,rc];case"Map":return[5,rc];case"Set":return[6,rc]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},H0=([t,e])=>t===0&&(e==="function"||e==="symbol"),yj=(t,e,r,i)=>{let n=(a,s)=>{let l=i.push(a)-1;return r.set(s,l),l},o=a=>{if(r.has(a))return r.get(a);let[s,l]=Ku(a);switch(s){case 0:{let u=a;switch(l){case"bigint":s=8,u=a.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],a)}return n([s,u],a)}case 1:{if(l)return n([l,[...a]],a);let u=[],f=n([s,u],a);for(let d of a)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,a.toString()],a);case"Boolean":case"Number":case"String":return n([l,a.valueOf()],a)}if(e&&"toJSON"in a)return o(a.toJSON());let u=[],f=n([s,u],a);for(let d of bj(a))(t||!H0(Ku(a[d])))&&u.push([o(d),o(a[d])]);return f}case 3:return n([s,a.toISOString()],a);case 4:{let{source:u,flags:f}=a;return n([s,{source:u,flags:f}],a)}case 5:{let u=[],f=n([s,u],a);for(let[d,p]of a)(t||!(H0(Ku(d))||H0(Ku(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([s,u],a);for(let d of a)(t||!H0(Ku(d)))&&u.push(o(d));return f}}let{message:c}=a;return n([s,{name:l,message:c}],a)};return o},z2=(t,{json:e,lossy:r}={})=>{let i=[];return yj(!(e||r),!!e,new Map,i)(t),i};var xn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?M2(z2(t,e)):structuredClone(t):(t,e)=>M2(z2(t,e));function vj(t,e){let r=[{type:"text",value:"\u21A9"}];return e>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),r}function xj(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function t8(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||vj,i=t.options.footnoteBackLabel||xj,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},s=[],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=en(f.toLowerCase()),p=0,O=[],x=t.footnoteCounts.get(f);for(;x!==void 0&&++p<=x;){O.length>0&&O.push({type:"text",value:" "});let C=typeof r=="string"?r:r(l,p);typeof C=="string"&&(C={type:"text",value:C}),O.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(l,p),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}let k=u[u.length-1];if(k&&k.type==="element"&&k.tagName==="p"){let C=k.children[k.children.length-1];C&&C.type==="text"?C.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...O)}else u.push(...O);let w={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,w),s.push(w)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Be(oe({},xn(a)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(s,!0)},{type:"text",value:`
`}]}}var D2={}.hasOwnProperty,wj={};function i8(t,e){let r=e||wj,i=new Map,n=new Map,o=new Map,a=oe(oe({},JT),r.handlers),s={all:c,applyData:Sj,definitionById:i,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:a,one:l,options:r,patch:kj,wrap:Ej};return Zr(t,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){let f=u.type==="definition"?i:n,d=String(u.identifier).toUpperCase();f.has(d)||f.set(d,u)}}),s;function l(u,f){let d=u.type,p=s.handlers[d];if(D2.call(s.handlers,d)&&p)return p(s,u,f);if(s.options.passThrough&&s.options.passThrough.includes(d)){if("children"in u){let x=u,{children:k}=x,w=Wr(x,["children"]),C=xn(w);return C.children=s.all(u),C}return xn(u)}return(s.options.unknownHandler||Tj)(s,u,f)}function c(u){let f=[];if("children"in u){let d=u.children,p=-1;for(;++p<d.length;){let O=s.one(d[p],u);if(O){if(p&&d[p-1].type==="break"&&(!Array.isArray(O)&&O.type==="text"&&(O.value=r8(O.value)),!Array.isArray(O)&&O.type==="element")){let x=O.children[0];x&&x.type==="text"&&(x.value=r8(x.value))}Array.isArray(O)?f.push(...O):f.push(O)}}}return f}}function kj(t,e){t.position&&(e.position=Zu(t))}function Sj(t,e){let r=e;if(t&&t.data){let i=t.data.hName,n=t.data.hChildren,o=t.data.hProperties;if(typeof i=="string")if(r.type==="element")r.tagName=i;else{let a="children"in r?r.children:[r];r={type:"element",tagName:i,properties:{},children:a}}r.type==="element"&&o&&Object.assign(r.properties,xn(o)),"children"in r&&r.children&&n!==null&&n!==void 0&&(r.children=n)}return r}function Tj(t,e){let r=e.data||{},i="value"in e&&!(D2.call(r,"hProperties")||D2.call(r,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function Ej(t,e){let r=[],i=-1;for(e&&r.push({type:"text",value:`
`});++i<t.length;)i&&r.push({type:"text",value:`
`}),r.push(t[i]);return e&&t.length>0&&r.push({type:"text",value:`
`}),r}function r8(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function G0(t,e){let r=i8(t,e),i=r.one(t,void 0),n=t8(r),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return n&&("children"in o,o.children.push({type:"text",value:`
`},n)),o}function K0(t,e){return t&&"run"in t?async function(r,i){let n=G0(r,oe({file:i},e));await t.run(n,i)}:function(r,i){return G0(r,oe({file:i},e||t))}}var Io=class{constructor(e,r,i){this.property=e,this.normal=r,i&&(this.space=i)}};Io.prototype.property={};Io.prototype.normal={};Io.prototype.space=null;function N2(t,e){let r={},i={},n=-1;for(;++n<t.length;)Object.assign(r,t[n].property),Object.assign(i,t[n].normal);return new Io(r,i,e)}function Lo(t){return t.toLowerCase()}var Hr=class{constructor(e,r){this.property=e,this.attribute=r}};Hr.prototype.space=null;Hr.prototype.boolean=!1;Hr.prototype.booleanish=!1;Hr.prototype.overloadedBoolean=!1;Hr.prototype.number=!1;Hr.prototype.commaSeparated=!1;Hr.prototype.spaceSeparated=!1;Hr.prototype.commaOrSpaceSeparated=!1;Hr.prototype.mustUseProperty=!1;Hr.prototype.defined=!1;var Ju={};lu(Ju,{boolean:()=>it,booleanish:()=>nr,commaOrSpaceSeparated:()=>Ti,commaSeparated:()=>za,number:()=>Ee,overloadedBoolean:()=>U2,spaceSeparated:()=>_t});var Cj=0,it=Ms(),nr=Ms(),U2=Ms(),Ee=Ms(),_t=Ms(),za=Ms(),Ti=Ms();function Ms(){return 2**++Cj}var q2=Object.keys(Ju),zs=class extends Hr{constructor(e,r,i,n){let o=-1;if(super(e,r),n8(this,"space",n),typeof i=="number")for(;++o<q2.length;){let a=q2[o];n8(this,q2[o],(i&Ju[a])===Ju[a])}}};zs.prototype.defined=!0;function n8(t,e,r){r&&(t[e]=r)}var Pj={}.hasOwnProperty;function rn(t){let e={},r={},i;for(i in t.properties)if(Pj.call(t.properties,i)){let n=t.properties[i],o=new zs(i,t.transform(t.attributes||{},i),n,t.space);t.mustUseProperty&&t.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),e[i]=o,r[Lo(i)]=i,r[Lo(o.attribute)]=i}return new Io(e,r,t.space)}var B2=rn({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 j2=rn({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function J0(t,e){return e in t?t[e]:e}function ep(t,e){return J0(t,e.toLowerCase())}var W2=rn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ep,properties:{xmlns:null,xmlnsXLink:null}});var V2=rn({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:nr,ariaAutoComplete:null,ariaBusy:nr,ariaChecked:nr,ariaColCount:Ee,ariaColIndex:Ee,ariaColSpan:Ee,ariaControls:_t,ariaCurrent:null,ariaDescribedBy:_t,ariaDetails:null,ariaDisabled:nr,ariaDropEffect:_t,ariaErrorMessage:null,ariaExpanded:nr,ariaFlowTo:_t,ariaGrabbed:nr,ariaHasPopup:null,ariaHidden:nr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_t,ariaLevel:Ee,ariaLive:null,ariaModal:nr,ariaMultiLine:nr,ariaMultiSelectable:nr,ariaOrientation:null,ariaOwns:_t,ariaPlaceholder:null,ariaPosInSet:Ee,ariaPressed:nr,ariaReadOnly:nr,ariaRelevant:null,ariaRequired:nr,ariaRoleDescription:_t,ariaRowCount:Ee,ariaRowIndex:Ee,ariaRowSpan:Ee,ariaSelected:nr,ariaSetSize:Ee,ariaSort:null,ariaValueMax:Ee,ariaValueMin:Ee,ariaValueNow:Ee,ariaValueText:null,role:null}});var o8=rn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ep,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:za,acceptCharset:_t,accessKey:_t,action:null,allow:null,allowFullScreen:it,allowPaymentRequest:it,allowUserMedia:it,alt:null,as:null,async:it,autoCapitalize:null,autoComplete:_t,autoFocus:it,autoPlay:it,blocking:_t,capture:it,charSet:null,checked:it,cite:null,className:_t,cols:Ee,colSpan:null,content:null,contentEditable:nr,controls:it,controlsList:_t,coords:Ee|za,crossOrigin:null,data:null,dateTime:null,decoding:null,default:it,defer:it,dir:null,dirName:null,disabled:it,download:U2,draggable:nr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:it,formTarget:null,headers:_t,height:Ee,hidden:it,high:Ee,href:null,hrefLang:null,htmlFor:_t,httpEquiv:_t,id:null,imageSizes:null,imageSrcSet:null,inert:it,inputMode:null,integrity:null,is:null,isMap:it,itemId:null,itemProp:_t,itemRef:_t,itemScope:it,itemType:_t,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:it,low:Ee,manifest:null,max:null,maxLength:Ee,media:null,method:null,min:null,minLength:Ee,multiple:it,muted:it,name:null,nonce:null,noModule:it,noValidate:it,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:it,optimum:Ee,pattern:null,ping:_t,placeholder:null,playsInline:it,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:it,referrerPolicy:null,rel:_t,required:it,reversed:it,rows:Ee,rowSpan:Ee,sandbox:_t,scope:null,scoped:it,seamless:it,selected:it,shape:null,size:Ee,sizes:null,slot:null,span:Ee,spellCheck:nr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ee,step:null,style:null,tabIndex:Ee,target:null,title:null,translate:null,type:null,typeMustMatch:it,useMap:null,value:nr,width:Ee,wrap:null,align:null,aLink:null,archive:_t,axis:null,background:null,bgColor:null,border:Ee,borderColor:null,bottomMargin:Ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:it,declare:it,event:null,face:null,frame:null,frameBorder:null,hSpace:Ee,leftMargin:Ee,link:null,longDesc:null,lowSrc:null,marginHeight:Ee,marginWidth:Ee,noResize:it,noHref:it,noShade:it,noWrap:it,object:null,profile:null,prompt:null,rev:null,rightMargin:Ee,rules:null,scheme:null,scrolling:nr,standby:null,summary:null,text:null,topMargin:Ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:it,disableRemotePlayback:it,prefix:null,property:null,results:Ee,security:null,unselectable:null}});var a8=rn({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:J0,properties:{about:Ti,accentHeight:Ee,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ee,amplitude:Ee,arabicForm:null,ascent:Ee,attributeName:null,attributeType:null,azimuth:Ee,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ee,by:null,calcMode:null,capHeight:Ee,className:_t,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:Ee,diffuseConstant:Ee,direction:null,display:null,dur:null,divisor:Ee,dominantBaseline:null,download:it,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ee,enableBackground:null,end:null,event:null,exponent:Ee,externalResourcesRequired:null,fill:null,fillOpacity:Ee,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:za,g2:za,glyphName:za,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ee,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ee,horizOriginX:Ee,horizOriginY:Ee,id:null,ideographic:Ee,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ee,k:Ee,k1:Ee,k2:Ee,k3:Ee,k4:Ee,kernelMatrix:Ti,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ee,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:Ee,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:Ee,overlineThickness:Ee,paintOrder:null,panose1:null,path:null,pathLength:Ee,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:_t,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ee,pointsAtY:Ee,pointsAtZ:Ee,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ti,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ti,rev:Ti,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ti,requiredFeatures:Ti,requiredFonts:Ti,requiredFormats:Ti,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:Ee,specularExponent:Ee,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ee,strikethroughThickness:Ee,string:null,stroke:null,strokeDashArray:Ti,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ee,strokeOpacity:Ee,strokeWidth:null,style:null,surfaceScale:Ee,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ti,tabIndex:Ee,tableValues:null,target:null,targetX:Ee,targetY:Ee,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ti,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ee,underlineThickness:Ee,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ee,values:null,vAlphabetic:Ee,vMathematical:Ee,vectorEffect:null,vHanging:Ee,vIdeographic:Ee,version:null,vertAdvY:Ee,vertOriginX:Ee,vertOriginY:Ee,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ee,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var _j=/^data[-\w.:]+$/i,s8=/-[a-z]/g,Aj=/[A-Z]/g;function Mo(t,e){let r=Lo(e),i=e,n=Hr;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&_j.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(s8,$j);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!s8.test(o)){let a=o.replace(Aj,Qj);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}n=zs}return new n(i,e)}function Qj(t){return"-"+t.toLowerCase()}function $j(t){return t.charAt(1).toUpperCase()}var zo=N2([j2,B2,W2,V2,o8],"html"),nn=N2([j2,B2,W2,V2,a8],"svg");function F2(t){let e=[],r=String(t||""),i=r.indexOf(","),n=0,o=!1;for(;!o;){i===-1&&(i=r.length,o=!0);let a=r.slice(n,i).trim();(a||!o)&&e.push(a),n=i+1,i=r.indexOf(",",n)}return e}function tp(t,e){let r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var l8=/[#.]/g;function Z2(t,e){let r=t||"",i={},n=0,o,a;for(;n<r.length;){l8.lastIndex=n;let s=l8.exec(r),l=r.slice(n,s?s.index:r.length);l&&(o?o==="#"?i.id=l:Array.isArray(i.className)?i.className.push(l):i.className=[l]:a=l,n+=l.length),s&&(o=s[0],n++)}return{type:"element",tagName:a||e||"div",properties:i,children:[]}}function Y2(t){let e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function rp(t){return t.join(" ").trim()}var Xj=new Set(["button","menu","reset","submit"]),H2={}.hasOwnProperty;function K2(t,e,r){let i=r&&Mj(r);function n(o,a,...s){let l=-1,c;if(o==null){c={type:"root",children:[]};let u=a;s.unshift(u)}else if(c=Z2(o,e),c.tagName=c.tagName.toLowerCase(),i&&H2.call(i,c.tagName)&&(c.tagName=i[c.tagName]),Rj(a,c.tagName)){let u;for(u in a)H2.call(a,u)&&Ij(t,c.properties,u,a[u])}else s.unshift(a);for(;++l<s.length;)G2(c.children,s[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return n}function Rj(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"?Xj.has(t.type.toLowerCase()):!("value"in t)}function Ij(t,e,r,i){let n=Mo(t,r),o=-1,a;if(i!=null){if(typeof i=="number"){if(Number.isNaN(i))return;a=i}else typeof i=="boolean"?a=i:typeof i=="string"?n.spaceSeparated?a=Y2(i):n.commaSeparated?a=F2(i):n.commaOrSpaceSeparated?a=Y2(F2(i).join(" ")):a=c8(n,n.property,i):Array.isArray(i)?a=i.concat():a=n.property==="style"?Lj(i):String(i);if(Array.isArray(a)){let s=[];for(;++o<a.length;){let l=c8(n,n.property,a[o]);s[o]=l}a=s}if(n.property==="className"&&Array.isArray(e.className)){let s=a;a=e.className.concat(s)}e[n.property]=a}}function G2(t,e){let r=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++r<e.length;)G2(t,e[r]);else if(typeof e=="object"&&"type"in e)e.type==="root"?G2(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function c8(t,e,r){if(typeof r=="string"){if(t.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((t.boolean||t.overloadedBoolean)&&(r===""||Lo(r)===Lo(e)))return!0}return r}function Lj(t){let e=[],r;for(r in t)H2.call(t,r)&&e.push([r,t[r]].join(": "));return e.join("; ")}function Mj(t){let e={},r=-1;for(;++r<t.length;)e[t[r].toLowerCase()]=t[r];return e}var u8=["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 ef=K2(zo,"div"),tf=K2(nn,"g",u8);var J2=/\r?\n|\r/g;function e4(t){let e=String(t),r=[];for(J2.lastIndex=0;J2.test(e);)r.push(J2.lastIndex);return r.push(e.length+1),{toPoint:i,toOffset:n};function i(o){let a=-1;if(typeof o=="number"&&o>-1&&o<r[r.length-1]){for(;++a<r.length;)if(r[a]>o)return{line:a+1,column:o-(a>0?r[a-1]:0)+1,offset:o}}}function n(o){let a=o&&o.line,s=o&&o.column;if(typeof a=="number"&&typeof s=="number"&&!Number.isNaN(a)&&!Number.isNaN(s)&&a-1 in r){let l=(r[a-2]||0)+s-1||0;if(l>-1&&l<r[r.length-1])return l}}}var Ei={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 h8={}.hasOwnProperty,zj=Object.prototype;function rf(t,e){let r=e||{};return t4({file:r.file||void 0,location:!1,schema:r.space==="svg"?nn:zo,verbose:r.verbose||!1},t)}function t4(t,e){let r;switch(e.nodeName){case"#comment":{let i=e;return r={type:"comment",value:i.data},ip(t,i,r),r}case"#document":case"#document-fragment":{let i=e,n="mode"in i?i.mode==="quirks"||i.mode==="limited-quirks":!1;if(r={type:"root",children:d8(t,e.childNodes),data:{quirksMode:n}},t.file&&t.location){let o=String(t.file),a=e4(o),s=a.toPoint(0),l=a.toPoint(o.length);r.position={start:s,end:l}}return r}case"#documentType":{let i=e;return r={type:"doctype"},ip(t,i,r),r}case"#text":{let i=e;return r={type:"text",value:i.value},ip(t,i,r),r}default:return r=Dj(t,e),r}}function d8(t,e){let r=-1,i=[];for(;++r<e.length;){let n=t4(t,e[r]);i.push(n)}return i}function Dj(t,e){let r=t.schema;t.schema=e.namespaceURI===Ei.svg?nn:zo;let i=-1,n={};for(;++i<e.attrs.length;){let s=e.attrs[i],l=(s.prefix?s.prefix+":":"")+s.name;h8.call(zj,l)||(n[l]=s.value)}let a=(t.schema.space==="svg"?tf:ef)(e.tagName,n,d8(t,e.childNodes));if(ip(t,e,a),a.tagName==="template"){let s=e,l=s.sourceCodeLocation,c=l&&l.startTag&&ic(l.startTag),u=l&&l.endTag&&ic(l.endTag),f=t4(t,s.content);c&&u&&t.file&&(f.position={start:c.end,end:u.start}),a.content=f}return t.schema=r,a}function ip(t,e,r){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){let i=Nj(t,r,e.sourceCodeLocation);i&&(t.location=!0,r.position=i)}}function Nj(t,e,r){let i=ic(r);if(e.type==="element"){let n=e.children[e.children.length-1];if(i&&!r.endTag&&n&&n.position&&n.position.end&&(i.end=Object.assign({},n.position.end)),t.verbose){let o={},a;if(r.attrs)for(a in r.attrs)h8.call(r.attrs,a)&&(o[Mo(t.schema,a).property]=ic(r.attrs[a]));r.startTag;let s=ic(r.startTag),l=r.endTag?ic(r.endTag):void 0,c={opening:s};l&&(c.closing=l),c.properties=o,e.data={position:c}}}return i}function ic(t){let e=f8({line:t.startLine,column:t.startCol,offset:t.startOffset}),r=f8({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||r?{start:e,end:r}:void 0}function f8(t){return t.line&&t.column?t:void 0}var Uj={},qj={}.hasOwnProperty,p8=jl("type",{handlers:{root:Bj,element:Zj,text:Vj,comment:Fj,doctype:Wj}});function r4(t,e){let i=(e||Uj).space;return p8(t,i==="svg"?nn:zo)}function Bj(t,e){let r={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=i4(t.children,r,e),nc(t,r),r}function jj(t,e){let r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=i4(t.children,r,e),nc(t,r),r}function Wj(t){let e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return nc(t,e),e}function Vj(t){let e={nodeName:"#text",value:t.value,parentNode:null};return nc(t,e),e}function Fj(t){let e={nodeName:"#comment",data:t.value,parentNode:null};return nc(t,e),e}function Zj(t,e){let r=e,i=r;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=nn);let n=[],o;if(t.properties){for(o in t.properties)if(o!=="children"&&qj.call(t.properties,o)){let l=Yj(i,o,t.properties[o]);l&&n.push(l)}}let a=i.space;let s={nodeName:t.tagName,tagName:t.tagName,attrs:n,namespaceURI:Ei[a],childNodes:[],parentNode:null};return s.childNodes=i4(t.children,s,i),nc(t,s),t.tagName==="template"&&t.content&&(s.content=jj(t.content,i)),s}function Yj(t,e,r){let i=Mo(t,e);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&i.boolean)return;Array.isArray(r)&&(r=i.commaSeparated?tp(r):rp(r));let n={name:i.attribute,value:r===!0?"":String(r)};if(i.space&&i.space!=="html"&&i.space!=="svg"){let o=n.name.indexOf(":");o<0?n.prefix="":(n.name=n.name.slice(o+1),n.prefix=i.attribute.slice(0,o)),n.namespace=Ei[i.space]}return n}function i4(t,e,r){let i=-1,n=[];if(t)for(;++i<t.length;){let o=p8(t[i],r);o.parentNode=e,n.push(o)}return n}function nc(t,e){let r=t.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,e.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}var np=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var Hj=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]),Nt="\uFFFD",R;(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"})(R=R||(R={}));var ui={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function op(t){return t>=55296&&t<=57343}function m8(t){return t>=56320&&t<=57343}function O8(t,e){return(t-55296)*1024+9216+e}function ap(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function sp(t){return t>=64976&&t<=65007||Hj.has(t)}var le;(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"})(le=le||(le={}));var Kj=65536,lp=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=Kj,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:r,col:i,offset:n}=this;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,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 r=this.html.charCodeAt(this.pos+1);if(m8(r))return this.pos++,this._addGap(),O8(e,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,R.EOF;return this._err(le.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,r){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,r){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(e,this.pos);for(let i=0;i<e.length;i++)if((this.html.charCodeAt(this.pos+i)|32)!==e.charCodeAt(i))return!1;return!0}peek(e){let r=this.pos+e;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,R.EOF;let i=this.html.charCodeAt(r);return i===R.CARRIAGE_RETURN?R.LINE_FEED:i}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,R.EOF;let e=this.html.charCodeAt(this.pos);return e===R.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,R.LINE_FEED):e===R.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,op(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===R.LINE_FEED||e===R.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ap(e)?this._err(le.controlCharacterInInputStream):sp(e)&&this._err(le.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}};var Do={};lu(Do,{TokenType:()=>dt,getTokenAttr:()=>nf});var dt;(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"})(dt=dt||(dt={}));function nf(t,e){for(let r=t.attrs.length-1;r>=0;r--)if(t.attrs[r].name===e)return t.attrs[r].value;return null}var to=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 g8=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var n4,Jj=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]]),o4=(n4=String.fromCodePoint)!==null&&n4!==void 0?n4: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 a4(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=Jj.get(t))!==null&&e!==void 0?e:t}var Tr;(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"})(Tr||(Tr={}));var eW=32,wn;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(wn||(wn={}));function s4(t){return t>=Tr.ZERO&&t<=Tr.NINE}function tW(t){return t>=Tr.UPPER_A&&t<=Tr.UPPER_F||t>=Tr.LOWER_A&&t<=Tr.LOWER_F}function rW(t){return t>=Tr.UPPER_A&&t<=Tr.UPPER_Z||t>=Tr.LOWER_A&&t<=Tr.LOWER_Z||s4(t)}function iW(t){return t===Tr.EQUALS||rW(t)}var Sr;(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"})(Sr||(Sr={}));var Ds;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Ds||(Ds={}));var l4=class{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=Sr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ds.Strict}startEntity(e){this.decodeMode=e,this.state=Sr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case Sr.EntityStart:return e.charCodeAt(r)===Tr.NUM?(this.state=Sr.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=Sr.NamedEntity,this.stateNamedEntity(e,r));case Sr.NumericStart:return this.stateNumericStart(e,r);case Sr.NumericDecimal:return this.stateNumericDecimal(e,r);case Sr.NumericHex:return this.stateNumericHex(e,r);case Sr.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|eW)===Tr.LOWER_X?(this.state=Sr.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=Sr.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,i,n){if(r!==i){let o=i-r;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(r,o),n),this.consumed+=o}}stateNumericHex(e,r){let i=r;for(;r<e.length;){let n=e.charCodeAt(r);if(s4(n)||tW(n))r+=1;else return this.addToNumericResult(e,i,r,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,i,r,16),-1}stateNumericDecimal(e,r){let i=r;for(;r<e.length;){let n=e.charCodeAt(r);if(s4(n))r+=1;else return this.addToNumericResult(e,i,r,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,i,r,10),-1}emitNumericEntity(e,r){var i;if(this.consumed<=r)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Tr.SEMI)this.consumed+=1;else if(this.decodeMode===Ds.Strict)return 0;return this.emitCodePoint(a4(this.result),this.consumed),this.errors&&(e!==Tr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){let{decodeTree:i}=this,n=i[this.treeIndex],o=(n&wn.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){let a=e.charCodeAt(r);if(this.treeIndex=c4(i,n,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return this.result===0||this.decodeMode===Ds.Attribute&&(o===0||iW(a))?0:this.emitNotTerminatedNamedEntity();if(n=i[this.treeIndex],o=(n&wn.VALUE_LENGTH)>>14,o!==0){if(a===Tr.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Ds.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:r,decodeTree:i}=this,n=(i[r]&wn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,i){let{decodeTree:n}=this;return this.emitCodePoint(r===1?n[e]&~wn.VALUE_LENGTH:n[e+1],i),r===3&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case Sr.NamedEntity:return this.result!==0&&(this.decodeMode!==Ds.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Sr.NumericDecimal:return this.emitNumericEntity(0,2);case Sr.NumericHex:return this.emitNumericEntity(0,3);case Sr.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Sr.EntityStart:return 0}}};function b8(t){let e="",r=new l4(t,i=>e+=o4(i));return function(n,o){let a=0,s=0;for(;(s=n.indexOf("&",s))>=0;){e+=n.slice(a,s),r.startEntity(o);let c=r.write(n,s+1);if(c<0){a=s+r.end();break}a=s+c,s=c===0?a+1:a}let l=e+n.slice(a);return e="",l}}function c4(t,e,r,i){let n=(e&wn.BRANCH_LENGTH)>>7,o=e&wn.JUMP_TABLE;if(n===0)return o!==0&&i===o?r:-1;if(o){let l=i-o;return l<0||l>=n?-1:t[r+l]-1}let a=r,s=a+n-1;for(;a<=s;){let l=a+s>>>1,c=t[l];if(c<i)a=l+1;else if(c>i)s=l-1;else return t[l+n]}return-1}var nye=b8(to),oye=b8(g8);var oc={};lu(oc,{ATTRS:()=>kn,DOCUMENT_MODE:()=>Rr,NS:()=>Oe,SPECIAL_ELEMENTS:()=>u4,TAG_ID:()=>g,TAG_NAMES:()=>ee,getTagID:()=>Da,hasUnescapedText:()=>y8,isNumberedHeader:()=>of});var Oe;(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/"})(Oe=Oe||(Oe={}));var kn;(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"})(kn=kn||(kn={}));var Rr;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(Rr=Rr||(Rr={}));var ee;(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"})(ee=ee||(ee={}));var g;(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"})(g=g||(g={}));var nW=new Map([[ee.A,g.A],[ee.ADDRESS,g.ADDRESS],[ee.ANNOTATION_XML,g.ANNOTATION_XML],[ee.APPLET,g.APPLET],[ee.AREA,g.AREA],[ee.ARTICLE,g.ARTICLE],[ee.ASIDE,g.ASIDE],[ee.B,g.B],[ee.BASE,g.BASE],[ee.BASEFONT,g.BASEFONT],[ee.BGSOUND,g.BGSOUND],[ee.BIG,g.BIG],[ee.BLOCKQUOTE,g.BLOCKQUOTE],[ee.BODY,g.BODY],[ee.BR,g.BR],[ee.BUTTON,g.BUTTON],[ee.CAPTION,g.CAPTION],[ee.CENTER,g.CENTER],[ee.CODE,g.CODE],[ee.COL,g.COL],[ee.COLGROUP,g.COLGROUP],[ee.DD,g.DD],[ee.DESC,g.DESC],[ee.DETAILS,g.DETAILS],[ee.DIALOG,g.DIALOG],[ee.DIR,g.DIR],[ee.DIV,g.DIV],[ee.DL,g.DL],[ee.DT,g.DT],[ee.EM,g.EM],[ee.EMBED,g.EMBED],[ee.FIELDSET,g.FIELDSET],[ee.FIGCAPTION,g.FIGCAPTION],[ee.FIGURE,g.FIGURE],[ee.FONT,g.FONT],[ee.FOOTER,g.FOOTER],[ee.FOREIGN_OBJECT,g.FOREIGN_OBJECT],[ee.FORM,g.FORM],[ee.FRAME,g.FRAME],[ee.FRAMESET,g.FRAMESET],[ee.H1,g.H1],[ee.H2,g.H2],[ee.H3,g.H3],[ee.H4,g.H4],[ee.H5,g.H5],[ee.H6,g.H6],[ee.HEAD,g.HEAD],[ee.HEADER,g.HEADER],[ee.HGROUP,g.HGROUP],[ee.HR,g.HR],[ee.HTML,g.HTML],[ee.I,g.I],[ee.IMG,g.IMG],[ee.IMAGE,g.IMAGE],[ee.INPUT,g.INPUT],[ee.IFRAME,g.IFRAME],[ee.KEYGEN,g.KEYGEN],[ee.LABEL,g.LABEL],[ee.LI,g.LI],[ee.LINK,g.LINK],[ee.LISTING,g.LISTING],[ee.MAIN,g.MAIN],[ee.MALIGNMARK,g.MALIGNMARK],[ee.MARQUEE,g.MARQUEE],[ee.MATH,g.MATH],[ee.MENU,g.MENU],[ee.META,g.META],[ee.MGLYPH,g.MGLYPH],[ee.MI,g.MI],[ee.MO,g.MO],[ee.MN,g.MN],[ee.MS,g.MS],[ee.MTEXT,g.MTEXT],[ee.NAV,g.NAV],[ee.NOBR,g.NOBR],[ee.NOFRAMES,g.NOFRAMES],[ee.NOEMBED,g.NOEMBED],[ee.NOSCRIPT,g.NOSCRIPT],[ee.OBJECT,g.OBJECT],[ee.OL,g.OL],[ee.OPTGROUP,g.OPTGROUP],[ee.OPTION,g.OPTION],[ee.P,g.P],[ee.PARAM,g.PARAM],[ee.PLAINTEXT,g.PLAINTEXT],[ee.PRE,g.PRE],[ee.RB,g.RB],[ee.RP,g.RP],[ee.RT,g.RT],[ee.RTC,g.RTC],[ee.RUBY,g.RUBY],[ee.S,g.S],[ee.SCRIPT,g.SCRIPT],[ee.SECTION,g.SECTION],[ee.SELECT,g.SELECT],[ee.SOURCE,g.SOURCE],[ee.SMALL,g.SMALL],[ee.SPAN,g.SPAN],[ee.STRIKE,g.STRIKE],[ee.STRONG,g.STRONG],[ee.STYLE,g.STYLE],[ee.SUB,g.SUB],[ee.SUMMARY,g.SUMMARY],[ee.SUP,g.SUP],[ee.TABLE,g.TABLE],[ee.TBODY,g.TBODY],[ee.TEMPLATE,g.TEMPLATE],[ee.TEXTAREA,g.TEXTAREA],[ee.TFOOT,g.TFOOT],[ee.TD,g.TD],[ee.TH,g.TH],[ee.THEAD,g.THEAD],[ee.TITLE,g.TITLE],[ee.TR,g.TR],[ee.TRACK,g.TRACK],[ee.TT,g.TT],[ee.U,g.U],[ee.UL,g.UL],[ee.SVG,g.SVG],[ee.VAR,g.VAR],[ee.WBR,g.WBR],[ee.XMP,g.XMP]]);function Da(t){var e;return(e=nW.get(t))!==null&&e!==void 0?e:g.UNKNOWN}var Se=g,u4={[Oe.HTML]:new Set([Se.ADDRESS,Se.APPLET,Se.AREA,Se.ARTICLE,Se.ASIDE,Se.BASE,Se.BASEFONT,Se.BGSOUND,Se.BLOCKQUOTE,Se.BODY,Se.BR,Se.BUTTON,Se.CAPTION,Se.CENTER,Se.COL,Se.COLGROUP,Se.DD,Se.DETAILS,Se.DIR,Se.DIV,Se.DL,Se.DT,Se.EMBED,Se.FIELDSET,Se.FIGCAPTION,Se.FIGURE,Se.FOOTER,Se.FORM,Se.FRAME,Se.FRAMESET,Se.H1,Se.H2,Se.H3,Se.H4,Se.H5,Se.H6,Se.HEAD,Se.HEADER,Se.HGROUP,Se.HR,Se.HTML,Se.IFRAME,Se.IMG,Se.INPUT,Se.LI,Se.LINK,Se.LISTING,Se.MAIN,Se.MARQUEE,Se.MENU,Se.META,Se.NAV,Se.NOEMBED,Se.NOFRAMES,Se.NOSCRIPT,Se.OBJECT,Se.OL,Se.P,Se.PARAM,Se.PLAINTEXT,Se.PRE,Se.SCRIPT,Se.SECTION,Se.SELECT,Se.SOURCE,Se.STYLE,Se.SUMMARY,Se.TABLE,Se.TBODY,Se.TD,Se.TEMPLATE,Se.TEXTAREA,Se.TFOOT,Se.TH,Se.THEAD,Se.TITLE,Se.TR,Se.TRACK,Se.UL,Se.WBR,Se.XMP]),[Oe.MATHML]:new Set([Se.MI,Se.MO,Se.MN,Se.MS,Se.MTEXT,Se.ANNOTATION_XML]),[Oe.SVG]:new Set([Se.TITLE,Se.FOREIGN_OBJECT,Se.DESC]),[Oe.XLINK]:new Set,[Oe.XML]:new Set,[Oe.XMLNS]:new Set};function of(t){return t===Se.H1||t===Se.H2||t===Se.H3||t===Se.H4||t===Se.H5||t===Se.H6}var oW=new Set([ee.STYLE,ee.SCRIPT,ee.XMP,ee.IFRAME,ee.NOEMBED,ee.NOFRAMES,ee.PLAINTEXT]);function y8(t,e){return oW.has(t)||e&&t===ee.NOSCRIPT}var aW=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]]),D;(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"})(D||(D={}));var jt={DATA:D.DATA,RCDATA:D.RCDATA,RAWTEXT:D.RAWTEXT,SCRIPT_DATA:D.SCRIPT_DATA,PLAINTEXT:D.PLAINTEXT,CDATA_SECTION:D.CDATA_SECTION};function sf(t){return t>=R.DIGIT_0&&t<=R.DIGIT_9}function af(t){return t>=R.LATIN_CAPITAL_A&&t<=R.LATIN_CAPITAL_Z}function sW(t){return t>=R.LATIN_SMALL_A&&t<=R.LATIN_SMALL_Z}function Na(t){return sW(t)||af(t)}function f4(t){return Na(t)||sf(t)}function x8(t){return t>=R.LATIN_CAPITAL_A&&t<=R.LATIN_CAPITAL_F}function w8(t){return t>=R.LATIN_SMALL_A&&t<=R.LATIN_SMALL_F}function lW(t){return sf(t)||x8(t)||w8(t)}function cp(t){return t+32}function k8(t){return t===R.SPACE||t===R.LINE_FEED||t===R.TABULATION||t===R.FORM_FEED}function cW(t){return t===R.EQUALS_SIGN||f4(t)}function v8(t){return k8(t)||t===R.SOLIDUS||t===R.GREATER_THAN_SIGN}var lf=class{constructor(e,r){this.options=e,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=D.DATA,this.returnState=D.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new lp(r),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,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,r,i){this.active=!0,this.preprocessor.write(e,r),this._runParsingLoop(),this.paused||i==null||i()}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,r){this.state=e,this._callState(r)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let r=0;r<e;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,r){return this.preprocessor.startsWith(e,r)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:dt.START_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:dt.END_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:dt.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:dt.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,r){this.currentCharacterToken={type:e,chars:r,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,r;let i=this.currentToken;if(nf(i,this.currentAttr.name)===null){if(i.attrs.push(this.currentAttr),i.location&&this.currentLocation){let n=(e=(r=i.location).attrs)!==null&&e!==void 0?e:r.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(le.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=Da(e.tagName),e.type===dt.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(le.endTagWithAttributes),e.selfClosing&&this._err(le.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 dt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case dt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case dt.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:dt.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=r;return}this._createCharacterToken(e,r)}_emitCodePoint(e){let r=k8(e)?dt.WHITESPACE_CHARACTER:e===R.NULL?dt.NULL_CHARACTER:dt.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(dt.CHARACTER,e)}_matchNamedCharacterReference(e){let r=null,i=0,n=!1;for(let o=0,a=to[0];o>=0&&(o=c4(to,a,o+1,e),!(o<0));e=this._consume()){i+=1,a=to[o];let s=a&wn.VALUE_LENGTH;if(s){let l=(s>>14)-1;if(e!==R.SEMICOLON&&this._isCharacterReferenceInAttribute()&&cW(this.preprocessor.peek(1))?(r=[R.AMPERSAND],o+=l):(r=l===0?[to[o]&~wn.VALUE_LENGTH]:l===1?[to[++o]]:[to[++o],to[++o]],i=0,n=e!==R.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(i),n&&!this.preprocessor.endOfChunkHit&&this._err(le.missingSemicolonAfterCharacterReference),this._unconsume(1),r}_isCharacterReferenceInAttribute(){return this.returnState===D.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case D.DATA:{this._stateData(e);break}case D.RCDATA:{this._stateRcdata(e);break}case D.RAWTEXT:{this._stateRawtext(e);break}case D.SCRIPT_DATA:{this._stateScriptData(e);break}case D.PLAINTEXT:{this._statePlaintext(e);break}case D.TAG_OPEN:{this._stateTagOpen(e);break}case D.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case D.TAG_NAME:{this._stateTagName(e);break}case D.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case D.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case D.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case D.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case D.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case D.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case D.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case D.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case D.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case D.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case D.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case D.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case D.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case D.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case D.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case D.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case D.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case D.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case D.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case D.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case D.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case D.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case D.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case D.BOGUS_COMMENT:{this._stateBogusComment(e);break}case D.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case D.COMMENT_START:{this._stateCommentStart(e);break}case D.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case D.COMMENT:{this._stateComment(e);break}case D.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case D.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case D.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case D.COMMENT_END:{this._stateCommentEnd(e);break}case D.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case D.DOCTYPE:{this._stateDoctype(e);break}case D.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case D.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case D.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case D.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case D.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case D.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case D.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case D.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case D.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case D.CDATA_SECTION:{this._stateCdataSection(e);break}case D.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case D.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case D.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case D.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case D.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case D.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case D.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case D.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case D.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case D.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case R.LESS_THAN_SIGN:{this.state=D.TAG_OPEN;break}case R.AMPERSAND:{this.returnState=D.DATA,this.state=D.CHARACTER_REFERENCE;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitCodePoint(e);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case R.AMPERSAND:{this.returnState=D.RCDATA,this.state=D.CHARACTER_REFERENCE;break}case R.LESS_THAN_SIGN:{this.state=D.RCDATA_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case R.LESS_THAN_SIGN:{this.state=D.RAWTEXT_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Na(e))this._createStartTagToken(),this.state=D.TAG_NAME,this._stateTagName(e);else switch(e){case R.EXCLAMATION_MARK:{this.state=D.MARKUP_DECLARATION_OPEN;break}case R.SOLIDUS:{this.state=D.END_TAG_OPEN;break}case R.QUESTION_MARK:{this._err(le.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=D.BOGUS_COMMENT,this._stateBogusComment(e);break}case R.EOF:{this._err(le.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=D.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Na(e))this._createEndTagToken(),this.state=D.TAG_NAME,this._stateTagName(e);else switch(e){case R.GREATER_THAN_SIGN:{this._err(le.missingEndTagName),this.state=D.DATA;break}case R.EOF:{this._err(le.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=D.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this.state=D.BEFORE_ATTRIBUTE_NAME;break}case R.SOLIDUS:{this.state=D.SELF_CLOSING_START_TAG;break}case R.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentTagToken();break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.tagName+=Nt;break}case R.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(af(e)?cp(e):e)}}_stateRcdataLessThanSign(e){e===R.SOLIDUS?this.state=D.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=D.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Na(e)?(this.state=D.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=D.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=D.BEFORE_ATTRIBUTE_NAME,!1;case R.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=D.SELF_CLOSING_START_TAG,!1;case R.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=D.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=D.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===R.SOLIDUS?this.state=D.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=D.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Na(e)?(this.state=D.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=D.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=D.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case R.SOLIDUS:{this.state=D.SCRIPT_DATA_END_TAG_OPEN;break}case R.EXCLAMATION_MARK:{this.state=D.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=D.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Na(e)?(this.state=D.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=D.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=D.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===R.HYPHEN_MINUS?(this.state=D.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=D.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===R.HYPHEN_MINUS?(this.state=D.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=D.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case R.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case R.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_ESCAPED,this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case R.HYPHEN_MINUS:{this._emitChars("-");break}case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case R.GREATER_THAN_SIGN:{this.state=D.SCRIPT_DATA,this._emitChars(">");break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_ESCAPED,this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===R.SOLIDUS?this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Na(e)?(this._emitChars("<"),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Na(e)?(this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(ui.SCRIPT,!1)&&v8(this.preprocessor.peek(ui.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<ui.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case R.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case R.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case R.HYPHEN_MINUS:{this._emitChars("-");break}case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case R.GREATER_THAN_SIGN:{this.state=D.SCRIPT_DATA,this._emitChars(">");break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===R.SOLIDUS?(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ui.SCRIPT,!1)&&v8(this.preprocessor.peek(ui.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<ui.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=D.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.SOLIDUS:case R.GREATER_THAN_SIGN:case R.EOF:{this.state=D.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case R.EQUALS_SIGN:{this._err(le.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=D.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=D.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:case R.SOLIDUS:case R.GREATER_THAN_SIGN:case R.EOF:{this._leaveAttrName(),this.state=D.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case R.EQUALS_SIGN:{this._leaveAttrName(),this.state=D.BEFORE_ATTRIBUTE_VALUE;break}case R.QUOTATION_MARK:case R.APOSTROPHE:case R.LESS_THAN_SIGN:{this._err(le.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.name+=Nt;break}default:this.currentAttr.name+=String.fromCodePoint(af(e)?cp(e):e)}}_stateAfterAttributeName(e){switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.SOLIDUS:{this.state=D.SELF_CLOSING_START_TAG;break}case R.EQUALS_SIGN:{this.state=D.BEFORE_ATTRIBUTE_VALUE;break}case R.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentTagToken();break}case R.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=D.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.QUOTATION_MARK:{this.state=D.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case R.APOSTROPHE:{this.state=D.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case R.GREATER_THAN_SIGN:{this._err(le.missingAttributeValue),this.state=D.DATA,this.emitCurrentTagToken();break}default:this.state=D.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case R.QUOTATION_MARK:{this.state=D.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case R.AMPERSAND:{this.returnState=D.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=D.CHARACTER_REFERENCE;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Nt;break}case R.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case R.APOSTROPHE:{this.state=D.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case R.AMPERSAND:{this.returnState=D.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=D.CHARACTER_REFERENCE;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Nt;break}case R.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this._leaveAttrValue(),this.state=D.BEFORE_ATTRIBUTE_NAME;break}case R.AMPERSAND:{this.returnState=D.ATTRIBUTE_VALUE_UNQUOTED,this.state=D.CHARACTER_REFERENCE;break}case R.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=D.DATA,this.emitCurrentTagToken();break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Nt;break}case R.QUOTATION_MARK:case R.APOSTROPHE:case R.LESS_THAN_SIGN:case R.EQUALS_SIGN:case R.GRAVE_ACCENT:{this._err(le.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case R.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this._leaveAttrValue(),this.state=D.BEFORE_ATTRIBUTE_NAME;break}case R.SOLIDUS:{this._leaveAttrValue(),this.state=D.SELF_CLOSING_START_TAG;break}case R.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=D.DATA,this.emitCurrentTagToken();break}case R.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBetweenAttributes),this.state=D.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case R.GREATER_THAN_SIGN:{let r=this.currentToken;r.selfClosing=!0,this.state=D.DATA,this.emitCurrentTagToken();break}case R.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.unexpectedSolidusInTag),this.state=D.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let r=this.currentToken;switch(e){case R.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentComment(r);break}case R.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.data+=Nt;break}default:r.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(ui.DASH_DASH,!0)?(this._createCommentToken(ui.DASH_DASH.length+1),this.state=D.COMMENT_START):this._consumeSequenceIfMatch(ui.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ui.DOCTYPE.length+1),this.state=D.DOCTYPE):this._consumeSequenceIfMatch(ui.CDATA_START,!0)?this.inForeignNode?this.state=D.CDATA_SECTION:(this._err(le.cdataInHtmlContent),this._createCommentToken(ui.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=D.BOGUS_COMMENT):this._ensureHibernation()||(this._err(le.incorrectlyOpenedComment),this._createCommentToken(2),this.state=D.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case R.HYPHEN_MINUS:{this.state=D.COMMENT_START_DASH;break}case R.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=D.DATA;let r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=D.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let r=this.currentToken;switch(e){case R.HYPHEN_MINUS:{this.state=D.COMMENT_END;break}case R.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=D.DATA,this.emitCurrentComment(r);break}case R.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=D.COMMENT,this._stateComment(e)}}_stateComment(e){let r=this.currentToken;switch(e){case R.HYPHEN_MINUS:{this.state=D.COMMENT_END_DASH;break}case R.LESS_THAN_SIGN:{r.data+="<",this.state=D.COMMENT_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.data+=Nt;break}case R.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let r=this.currentToken;switch(e){case R.EXCLAMATION_MARK:{r.data+="!",this.state=D.COMMENT_LESS_THAN_SIGN_BANG;break}case R.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=D.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===R.HYPHEN_MINUS?this.state=D.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=D.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===R.HYPHEN_MINUS?this.state=D.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=D.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==R.GREATER_THAN_SIGN&&e!==R.EOF&&this._err(le.nestedComment),this.state=D.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let r=this.currentToken;switch(e){case R.HYPHEN_MINUS:{this.state=D.COMMENT_END;break}case R.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=D.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let r=this.currentToken;switch(e){case R.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentComment(r);break}case R.EXCLAMATION_MARK:{this.state=D.COMMENT_END_BANG;break}case R.HYPHEN_MINUS:{r.data+="-";break}case R.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=D.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let r=this.currentToken;switch(e){case R.HYPHEN_MINUS:{r.data+="--!",this.state=D.COMMENT_END_DASH;break}case R.GREATER_THAN_SIGN:{this._err(le.incorrectlyClosedComment),this.state=D.DATA,this.emitCurrentComment(r);break}case R.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=D.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_NAME;break}case R.GREATER_THAN_SIGN:{this.state=D.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case R.EOF:{this._err(le.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBeforeDoctypeName),this.state=D.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(af(e))this._createDoctypeToken(String.fromCharCode(cp(e))),this.state=D.DOCTYPE_NAME;else switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.NULL:{this._err(le.unexpectedNullCharacter),this._createDoctypeToken(Nt),this.state=D.DOCTYPE_NAME;break}case R.GREATER_THAN_SIGN:{this._err(le.missingDoctypeName),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.EOF:{this._err(le.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=D.DOCTYPE_NAME}}_stateDoctypeName(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this.state=D.AFTER_DOCTYPE_NAME;break}case R.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(r);break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.name+=Nt;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(af(e)?cp(e):e)}}_stateAfterDoctypeName(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(r);break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(ui.PUBLIC,!1)?this.state=D.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ui.SYSTEM,!1)?this.state=D.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(le.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case R.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case R.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case R.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(r);break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.QUOTATION_MARK:{r.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case R.APOSTROPHE:{r.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case R.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(r);break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let r=this.currentToken;switch(e){case R.QUOTATION_MARK:{this.state=D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.publicId+=Nt;break}case R.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let r=this.currentToken;switch(e){case R.APOSTROPHE:{this.state=D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.publicId+=Nt;break}case R.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this.state=D.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case R.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(r);break}case R.QUOTATION_MARK:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case R.APOSTROPHE:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.QUOTATION_MARK:{r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case R.APOSTROPHE:{r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case R.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case R.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case R.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(r);break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.QUOTATION_MARK:{r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case R.APOSTROPHE:{r.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case R.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(r);break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let r=this.currentToken;switch(e){case R.QUOTATION_MARK:{this.state=D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.systemId+=Nt;break}case R.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let r=this.currentToken;switch(e){case R.APOSTROPHE:{this.state=D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case R.NULL:{this._err(le.unexpectedNullCharacter),r.systemId+=Nt;break}case R.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let r=this.currentToken;switch(e){case R.SPACE:case R.LINE_FEED:case R.TABULATION:case R.FORM_FEED:break;case R.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let r=this.currentToken;switch(e){case R.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=D.DATA;break}case R.NULL:{this._err(le.unexpectedNullCharacter);break}case R.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}default:}}_stateCdataSection(e){switch(e){case R.RIGHT_SQUARE_BRACKET:{this.state=D.CDATA_SECTION_BRACKET;break}case R.EOF:{this._err(le.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===R.RIGHT_SQUARE_BRACKET?this.state=D.CDATA_SECTION_END:(this._emitChars("]"),this.state=D.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case R.GREATER_THAN_SIGN:{this.state=D.DATA;break}case R.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=D.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===R.NUMBER_SIGN?this.state=D.NUMERIC_CHARACTER_REFERENCE:f4(e)?(this.state=D.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(R.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let r=this._matchNamedCharacterReference(e);if(!this._ensureHibernation())if(r){for(let i=0;i<r.length;i++)this._flushCodePointConsumedAsCharacterReference(r[i]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(R.AMPERSAND),this.state=D.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){f4(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===R.SEMICOLON&&this._err(le.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===R.LATIN_SMALL_X||e===R.LATIN_CAPITAL_X?this.state=D.HEXADEMICAL_CHARACTER_REFERENCE_START:sf(e)?(this.state=D.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(le.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(R.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(R.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){lW(e)?(this.state=D.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(le.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(R.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(R.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){x8(e)?this.charRefCode=this.charRefCode*16+e-55:w8(e)?this.charRefCode=this.charRefCode*16+e-87:sf(e)?this.charRefCode=this.charRefCode*16+e-48:e===R.SEMICOLON?this.state=D.NUMERIC_CHARACTER_REFERENCE_END:(this._err(le.missingSemicolonAfterCharacterReference),this.state=D.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){sf(e)?this.charRefCode=this.charRefCode*10+e-48:e===R.SEMICOLON?this.state=D.NUMERIC_CHARACTER_REFERENCE_END:(this._err(le.missingSemicolonAfterCharacterReference),this.state=D.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===R.NULL)this._err(le.nullCharacterReference),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(le.characterReferenceOutsideUnicodeRange),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(op(this.charRefCode))this._err(le.surrogateCharacterReference),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(sp(this.charRefCode))this._err(le.noncharacterCharacterReference);else if(ap(this.charRefCode)||this.charRefCode===R.CARRIAGE_RETURN){this._err(le.controlCharacterReference);let r=aW.get(this.charRefCode);r!==void 0&&(this.charRefCode=r)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var T8=new Set([g.DD,g.DT,g.LI,g.OPTGROUP,g.OPTION,g.P,g.RB,g.RP,g.RT,g.RTC]),S8=new Set([...T8,g.CAPTION,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]),up=new Map([[g.APPLET,Oe.HTML],[g.CAPTION,Oe.HTML],[g.HTML,Oe.HTML],[g.MARQUEE,Oe.HTML],[g.OBJECT,Oe.HTML],[g.TABLE,Oe.HTML],[g.TD,Oe.HTML],[g.TEMPLATE,Oe.HTML],[g.TH,Oe.HTML],[g.ANNOTATION_XML,Oe.MATHML],[g.MI,Oe.MATHML],[g.MN,Oe.MATHML],[g.MO,Oe.MATHML],[g.MS,Oe.MATHML],[g.MTEXT,Oe.MATHML],[g.DESC,Oe.SVG],[g.FOREIGN_OBJECT,Oe.SVG],[g.TITLE,Oe.SVG]]),uW=[g.H1,g.H2,g.H3,g.H4,g.H5,g.H6],fW=[g.TR,g.TEMPLATE,g.HTML],hW=[g.TBODY,g.TFOOT,g.THEAD,g.TEMPLATE,g.HTML],dW=[g.TABLE,g.TEMPLATE,g.HTML],pW=[g.TD,g.TH],fp=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,r,i){this.treeAdapter=r,this.handler=i,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=g.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===g.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Oe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,r){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,r,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,r){let i=this._indexOf(e);this.items[i]=r,i===this.stackTop&&(this.current=r)}insertAfter(e,r,i){let n=this._indexOf(e)+1;this.items.splice(n,0,r),this.tagIDs.splice(n,0,i),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(e,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==Oe.HTML);this.shortenToLength(r<0?0:r)}shortenToLength(e){for(;this.stackTop>=e;){let r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<e)}}popUntilElementPopped(e){let r=this._indexOf(e);this.shortenToLength(r<0?0:r)}popUntilPopped(e,r){let i=this._indexOfTagNames(e,r);this.shortenToLength(i<0?0:i)}popUntilNumberedHeaderPopped(){this.popUntilPopped(uW,Oe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(pW,Oe.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,r){for(let i=this.stackTop;i>=0;i--)if(e.includes(this.tagIDs[i])&&this.treeAdapter.getNamespaceURI(this.items[i])===r)return i;return-1}clearBackTo(e,r){let i=this._indexOfTagNames(e,r);this.shortenToLength(i+1)}clearBackToTableContext(){this.clearBackTo(dW,Oe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(hW,Oe.HTML)}clearBackToTableRowContext(){this.clearBackTo(fW,Oe.HTML)}remove(e){let r=this._indexOf(e);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===g.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let r=this._indexOf(e)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===g.HTML}hasInScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(up.get(i)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e],i=this.treeAdapter.getNamespaceURI(this.items[e]);if(of(r)&&i===Oe.HTML)return!0;if(up.get(r)===i)return!1}return!0}hasInListItemScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if((i===g.UL||i===g.OL)&&n===Oe.HTML||up.get(i)===n)return!1}return!0}hasInButtonScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(i===g.BUTTON&&n===Oe.HTML||up.get(i)===n)return!1}return!0}hasInTableScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i===g.TABLE||i===g.TEMPLATE||i===g.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===Oe.HTML){if(r===g.TBODY||r===g.THEAD||r===g.TFOOT)return!0;if(r===g.TABLE||r===g.HTML)return!1}}return!0}hasInSelectScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i!==g.OPTION&&i!==g.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;T8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;S8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&S8.has(this.currentTagId);)this.pop()}};var on;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(on=on||(on={}));var E8={type:on.Marker},hp=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,r){let i=[],n=r.length,o=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let s=0;s<this.entries.length;s++){let l=this.entries[s];if(l.type===on.Marker)break;let{element:c}=l;if(this.treeAdapter.getTagName(c)===o&&this.treeAdapter.getNamespaceURI(c)===a){let u=this.treeAdapter.getAttrList(c);u.length===n&&i.push({idx:s,attrs:u})}}return i}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let r=this.treeAdapter.getAttrList(e),i=this._getNoahArkConditionCandidates(e,r);if(i.length<3)return;let n=new Map(r.map(a=>[a.name,a.value])),o=0;for(let a=0;a<i.length;a++){let s=i[a];s.attrs.every(l=>n.get(l.name)===l.value)&&(o+=1,o>=3&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(E8)}pushElement(e,r){this._ensureNoahArkCondition(e),this.entries.unshift({type:on.Element,element:e,token:r})}insertElementAfterBookmark(e,r){let i=this.entries.indexOf(this.bookmark);this.entries.splice(i,0,{type:on.Element,element:e,token:r})}removeEntry(e){let r=this.entries.indexOf(e);r>=0&&this.entries.splice(r,1)}clearToLastMarker(){let e=this.entries.indexOf(E8);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let r=this.entries.find(i=>i.type===on.Marker||this.treeAdapter.getTagName(i.element)===e);return r&&r.type===on.Element?r:null}getElementEntry(e){return this.entries.find(r=>r.type===on.Element&&r.element===e)}};function C8(t){return{nodeName:"#text",value:t,parentNode:null}}var No={createDocument(){return{nodeName:"#document",mode:Rr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,r){return{nodeName:t,tagName:t,attrs:r,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,r){let i=t.childNodes.indexOf(r);t.childNodes.splice(i,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,r,i){let n=t.childNodes.find(o=>o.nodeName==="#documentType");if(n)n.name=e,n.publicId=r,n.systemId=i;else{let o={nodeName:"#documentType",name:e,publicId:r,systemId:i,parentNode:null};No.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 r=t.childNodes[t.childNodes.length-1];if(No.isTextNode(r)){r.value+=e;return}}No.appendChild(t,C8(e))},insertTextBefore(t,e,r){let i=t.childNodes[t.childNodes.indexOf(r)-1];i&&No.isTextNode(i)?i.value+=e:No.insertBefore(t,C8(e),r)},adoptAttributes(t,e){let r=new Set(t.attrs.map(i=>i.name));for(let i=0;i<e.length;i++)r.has(e[i].name)||t.attrs.push(e[i])},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=oe(oe({},t.sourceCodeLocation),e)}};var _8="html",mW="about:legacy-compat",OW="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",A8=["+//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//"],gW=[...A8,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],bW=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Q8=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],yW=[...Q8,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function P8(t,e){return e.some(r=>t.startsWith(r))}function $8(t){return t.name===_8&&t.publicId===null&&(t.systemId===null||t.systemId===mW)}function X8(t){if(t.name!==_8)return Rr.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===OW)return Rr.QUIRKS;let{publicId:r}=t;if(r!==null){if(r=r.toLowerCase(),bW.has(r))return Rr.QUIRKS;let i=e===null?gW:A8;if(P8(r,i))return Rr.QUIRKS;if(i=e===null?Q8:yW,P8(r,i))return Rr.LIMITED_QUIRKS}return Rr.NO_QUIRKS}var mp={};lu(mp,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>I8,adjustTokenMathMLAttrs:()=>dp,adjustTokenSVGAttrs:()=>pp,adjustTokenSVGTagName:()=>d4,adjustTokenXMLAttrs:()=>cf,causesExit:()=>h4,isIntegrationPoint:()=>p4});var R8={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},xW="definitionurl",wW="definitionURL",kW=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])),SW=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Oe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Oe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Oe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Oe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Oe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Oe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Oe.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Oe.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Oe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Oe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Oe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Oe.XMLNS}]]),I8=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])),TW=new Set([g.B,g.BIG,g.BLOCKQUOTE,g.BODY,g.BR,g.CENTER,g.CODE,g.DD,g.DIV,g.DL,g.DT,g.EM,g.EMBED,g.H1,g.H2,g.H3,g.H4,g.H5,g.H6,g.HEAD,g.HR,g.I,g.IMG,g.LI,g.LISTING,g.MENU,g.META,g.NOBR,g.OL,g.P,g.PRE,g.RUBY,g.S,g.SMALL,g.SPAN,g.STRONG,g.STRIKE,g.SUB,g.SUP,g.TABLE,g.TT,g.U,g.UL,g.VAR]);function h4(t){let e=t.tagID;return e===g.FONT&&t.attrs.some(({name:i})=>i===kn.COLOR||i===kn.SIZE||i===kn.FACE)||TW.has(e)}function dp(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===xW){t.attrs[e].name=wW;break}}function pp(t){for(let e=0;e<t.attrs.length;e++){let r=kW.get(t.attrs[e].name);r!=null&&(t.attrs[e].name=r)}}function cf(t){for(let e=0;e<t.attrs.length;e++){let r=SW.get(t.attrs[e].name);r&&(t.attrs[e].prefix=r.prefix,t.attrs[e].name=r.name,t.attrs[e].namespace=r.namespace)}}function d4(t){let e=I8.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=Da(t.tagName))}function EW(t,e){return e===Oe.MATHML&&(t===g.MI||t===g.MO||t===g.MN||t===g.MS||t===g.MTEXT)}function CW(t,e,r){if(e===Oe.MATHML&&t===g.ANNOTATION_XML){for(let i=0;i<r.length;i++)if(r[i].name===kn.ENCODING){let n=r[i].value.toLowerCase();return n===R8.TEXT_HTML||n===R8.APPLICATION_XML}}return e===Oe.SVG&&(t===g.FOREIGN_OBJECT||t===g.DESC||t===g.TITLE)}function p4(t,e,r,i){return(!i||i===Oe.HTML)&&CW(t,e,r)||(!i||i===Oe.MATHML)&&EW(t,e)}var PW="hidden",_W=8,AW=3,W;(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"})(W||(W={}));var QW={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},D8=new Set([g.TABLE,g.TBODY,g.TFOOT,g.THEAD,g.TR]),L8={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:No,onParseError:null},Uo=class{constructor(e,r,i=null,n=null){this.fragmentContext=i,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=W.INITIAL,this.originalInsertionMode=W.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=oe(oe({},L8),e),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r!=null?r:this.treeAdapter.createDocument(),this.tokenizer=new lf(this.options,this),this.activeFormattingElements=new hp(this.treeAdapter),this.fragmentContextID=i?Da(this.treeAdapter.getTagName(i)):g.UNKNOWN,this._setContextModes(i!=null?i:this.document,this.fragmentContextID),this.openElements=new fp(this.document,this.treeAdapter,this)}static parse(e,r){let i=new this(r);return i.tokenizer.write(e,!0),i.document}static getFragmentParser(e,r){let i=oe(oe({},L8),r);e!=null||(e=i.treeAdapter.createElement(ee.TEMPLATE,Oe.HTML,[]));let n=i.treeAdapter.createElement("documentmock",Oe.HTML,[]),o=new this(i,n,e);return o.fragmentContextID===g.TEMPLATE&&o.tmplInsertionModeStack.unshift(W.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,r),r}_err(e,r,i){var n;if(!this.onParseError)return;let o=(n=e.location)!==null&&n!==void 0?n:QW,a={code:r,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:i?o.startLine:o.endLine,endCol:i?o.startCol:o.endCol,endOffset:i?o.startOffset:o.endOffset};this.onParseError(a)}onItemPush(e,r,i){var n,o;(o=(n=this.treeAdapter).onItemPush)===null||o===void 0||o.call(n,e),i&&this.openElements.stackTop>0&&this._setContextModes(e,r)}onItemPop(e,r){var i,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(i=this.treeAdapter).onItemPop)===null||n===void 0||n.call(i,e,this.openElements.current),r){let o,a;this.openElements.stackTop===0&&this.fragmentContext?(o=this.fragmentContext,a=this.fragmentContextID):{current:o,currentTagId:a}=this.openElements,this._setContextModes(o,a)}}_setContextModes(e,r){let i=e===this.document||this.treeAdapter.getNamespaceURI(e)===Oe.HTML;this.currentNotInHTML=!i,this.tokenizer.inForeignNode=!i&&!this._isIntegrationPoint(r,e)}_switchToTextParsing(e,r){this._insertElement(e,Oe.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=W.TEXT}switchToPlaintextParsing(){this.insertionMode=W.TEXT,this.originalInsertionMode=W.IN_BODY,this.tokenizer.state=jt.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)===ee.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Oe.HTML))switch(this.fragmentContextID){case g.TITLE:case g.TEXTAREA:{this.tokenizer.state=jt.RCDATA;break}case g.STYLE:case g.XMP:case g.IFRAME:case g.NOEMBED:case g.NOFRAMES:case g.NOSCRIPT:{this.tokenizer.state=jt.RAWTEXT;break}case g.SCRIPT:{this.tokenizer.state=jt.SCRIPT_DATA;break}case g.PLAINTEXT:{this.tokenizer.state=jt.PLAINTEXT;break}default:}}_setDocumentType(e){let r=e.name||"",i=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,i,n),e.location){let a=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));a&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}}_attachElementToTree(e,r){if(this.options.sourceCodeLocationInfo){let i=r&&Be(oe({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(e,i)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let i=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(i,e)}}_appendElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location)}_insertElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location),this.openElements.push(i,e.tagID)}_insertFakeElement(e,r){let i=this.treeAdapter.createElement(e,Oe.HTML,[]);this._attachElementToTree(i,null),this.openElements.push(i,r)}_insertTemplate(e){let r=this.treeAdapter.createElement(e.tagName,Oe.HTML,e.attrs),i=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,i),this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(ee.HTML,Oe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,g.HTML)}_appendCommentNode(e,r){let i=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(r,i),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_insertCharacters(e){let r,i;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:i}=this._findFosterParentingLocation(),i?this.treeAdapter.insertTextBefore(r,e.chars,i):this.treeAdapter.insertText(r,e.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(r),o=i?n.lastIndexOf(i):n.length,a=n[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:l,endCol:c,endOffset:u}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,r){for(let i=this.treeAdapter.getFirstChild(e);i;i=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(i),this.treeAdapter.appendChild(r,i)}_setEndLocation(e,r){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&r.location){let i=r.location,n=this.treeAdapter.getTagName(e),o=r.type===dt.END_TAG&&n===r.tagName?{endTag:oe({},i),endLine:i.endLine,endCol:i.endCol,endOffset:i.endOffset}:{endLine:i.startLine,endCol:i.startCol,endOffset:i.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let r,i;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,i=this.fragmentContextID):{current:r,currentTagId:i}=this.openElements,e.tagID===g.SVG&&this.treeAdapter.getTagName(r)===ee.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Oe.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===g.MGLYPH||e.tagID===g.MALIGNMARK)&&!this._isIntegrationPoint(i,r,Oe.HTML)}_processToken(e){switch(e.type){case dt.CHARACTER:{this.onCharacter(e);break}case dt.NULL_CHARACTER:{this.onNullCharacter(e);break}case dt.COMMENT:{this.onComment(e);break}case dt.DOCTYPE:{this.onDoctype(e);break}case dt.START_TAG:{this._processStartTag(e);break}case dt.END_TAG:{this.onEndTag(e);break}case dt.EOF:{this.onEof(e);break}case dt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,r,i){let n=this.treeAdapter.getNamespaceURI(r),o=this.treeAdapter.getAttrList(r);return p4(e,n,o,i)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let r=this.activeFormattingElements.entries.findIndex(n=>n.type===on.Marker||this.openElements.contains(n.element)),i=r<0?e-1:r-1;for(let n=i;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=W.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(g.P),this.openElements.popUntilTagNamePopped(g.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case g.TR:{this.insertionMode=W.IN_ROW;return}case g.TBODY:case g.THEAD:case g.TFOOT:{this.insertionMode=W.IN_TABLE_BODY;return}case g.CAPTION:{this.insertionMode=W.IN_CAPTION;return}case g.COLGROUP:{this.insertionMode=W.IN_COLUMN_GROUP;return}case g.TABLE:{this.insertionMode=W.IN_TABLE;return}case g.BODY:{this.insertionMode=W.IN_BODY;return}case g.FRAMESET:{this.insertionMode=W.IN_FRAMESET;return}case g.SELECT:{this._resetInsertionModeForSelect(e);return}case g.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case g.HTML:{this.insertionMode=this.headElement?W.AFTER_HEAD:W.BEFORE_HEAD;return}case g.TD:case g.TH:{if(e>0){this.insertionMode=W.IN_CELL;return}break}case g.HEAD:{if(e>0){this.insertionMode=W.IN_HEAD;return}break}}this.insertionMode=W.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let r=e-1;r>0;r--){let i=this.openElements.tagIDs[r];if(i===g.TEMPLATE)break;if(i===g.TABLE){this.insertionMode=W.IN_SELECT_IN_TABLE;return}}this.insertionMode=W.IN_SELECT}_isElementCausesFosterParenting(e){return D8.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let r=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case g.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===Oe.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case g.TABLE:{let i=this.treeAdapter.getParentNode(r);return i?{parent:i,beforeElement:r}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,e,r.beforeElement):this.treeAdapter.appendChild(r.parent,e)}_isSpecialElement(e,r){let i=this.treeAdapter.getNamespaceURI(e);return u4[i].has(r)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){sF(this,e);return}switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{hf(this,e);break}case W.BEFORE_HEAD:{df(this,e);break}case W.IN_HEAD:{pf(this,e);break}case W.IN_HEAD_NO_SCRIPT:{mf(this,e);break}case W.AFTER_HEAD:{Of(this,e);break}case W.IN_BODY:case W.IN_CAPTION:case W.IN_CELL:case W.IN_TEMPLATE:{U8(this,e);break}case W.TEXT:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{m4(this,e);break}case W.IN_TABLE_TEXT:{F8(this,e);break}case W.IN_COLUMN_GROUP:{gp(this,e);break}case W.AFTER_BODY:{bp(this,e);break}case W.AFTER_AFTER_BODY:{Op(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){aF(this,e);return}switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{hf(this,e);break}case W.BEFORE_HEAD:{df(this,e);break}case W.IN_HEAD:{pf(this,e);break}case W.IN_HEAD_NO_SCRIPT:{mf(this,e);break}case W.AFTER_HEAD:{Of(this,e);break}case W.TEXT:{this._insertCharacters(e);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{m4(this,e);break}case W.IN_COLUMN_GROUP:{gp(this,e);break}case W.AFTER_BODY:{bp(this,e);break}case W.AFTER_AFTER_BODY:{Op(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){O4(this,e);return}switch(this.insertionMode){case W.INITIAL:case W.BEFORE_HTML:case W.BEFORE_HEAD:case W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:case W.IN_BODY:case W.IN_TABLE:case W.IN_CAPTION:case W.IN_COLUMN_GROUP:case W.IN_TABLE_BODY:case W.IN_ROW:case W.IN_CELL:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:case W.IN_TEMPLATE:case W.IN_FRAMESET:case W.AFTER_FRAMESET:{O4(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.AFTER_BODY:{zW(this,e);break}case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{DW(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case W.INITIAL:{NW(this,e);break}case W.BEFORE_HEAD:case W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:{this._err(e,le.misplacedDoctype);break}case W.IN_TABLE_TEXT:{ff(this,e);break}default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,le.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?lF(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{UW(this,e);break}case W.BEFORE_HEAD:{BW(this,e);break}case W.IN_HEAD:{Sn(this,e);break}case W.IN_HEAD_NO_SCRIPT:{VW(this,e);break}case W.AFTER_HEAD:{ZW(this,e);break}case W.IN_BODY:{Gr(this,e);break}case W.IN_TABLE:{ac(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.IN_CAPTION:{jV(this,e);break}case W.IN_COLUMN_GROUP:{v4(this,e);break}case W.IN_TABLE_BODY:{xp(this,e);break}case W.IN_ROW:{wp(this,e);break}case W.IN_CELL:{FV(this,e);break}case W.IN_SELECT:{H8(this,e);break}case W.IN_SELECT_IN_TABLE:{YV(this,e);break}case W.IN_TEMPLATE:{GV(this,e);break}case W.AFTER_BODY:{JV(this,e);break}case W.IN_FRAMESET:{eF(this,e);break}case W.AFTER_FRAMESET:{rF(this,e);break}case W.AFTER_AFTER_BODY:{nF(this,e);break}case W.AFTER_AFTER_FRAMESET:{oF(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?cF(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{qW(this,e);break}case W.BEFORE_HEAD:{jW(this,e);break}case W.IN_HEAD:{WW(this,e);break}case W.IN_HEAD_NO_SCRIPT:{FW(this,e);break}case W.AFTER_HEAD:{YW(this,e);break}case W.IN_BODY:{vp(this,e);break}case W.TEXT:{RV(this,e);break}case W.IN_TABLE:{gf(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.IN_CAPTION:{WV(this,e);break}case W.IN_COLUMN_GROUP:{VV(this,e);break}case W.IN_TABLE_BODY:{g4(this,e);break}case W.IN_ROW:{Y8(this,e);break}case W.IN_CELL:{ZV(this,e);break}case W.IN_SELECT:{G8(this,e);break}case W.IN_SELECT_IN_TABLE:{HV(this,e);break}case W.IN_TEMPLATE:{KV(this,e);break}case W.AFTER_BODY:{J8(this,e);break}case W.IN_FRAMESET:{tF(this,e);break}case W.AFTER_FRAMESET:{iF(this,e);break}case W.AFTER_AFTER_BODY:{Op(this,e);break}default:}}onEof(e){switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{hf(this,e);break}case W.BEFORE_HEAD:{df(this,e);break}case W.IN_HEAD:{pf(this,e);break}case W.IN_HEAD_NO_SCRIPT:{mf(this,e);break}case W.AFTER_HEAD:{Of(this,e);break}case W.IN_BODY:case W.IN_TABLE:case W.IN_CAPTION:case W.IN_COLUMN_GROUP:case W.IN_TABLE_BODY:case W.IN_ROW:case W.IN_CELL:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:{W8(this,e);break}case W.TEXT:{IV(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.IN_TEMPLATE:{K8(this,e);break}case W.AFTER_BODY:case W.IN_FRAMESET:case W.AFTER_FRAMESET:case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{y4(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===R.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 W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:case W.TEXT:case W.IN_COLUMN_GROUP:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:case W.IN_FRAMESET:case W.AFTER_FRAMESET:{this._insertCharacters(e);break}case W.IN_BODY:case W.IN_CAPTION:case W.IN_CELL:case W.IN_TEMPLATE:case W.AFTER_BODY:case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{N8(this,e);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{m4(this,e);break}case W.IN_TABLE_TEXT:{V8(this,e);break}default:}}};function $W(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return r?t.openElements.contains(r.element)?t.openElements.hasInScope(e.tagID)||(r=null):(t.activeFormattingElements.removeEntry(r),r=null):j8(t,e),r}function XW(t,e){let r=null,i=t.openElements.stackTop;for(;i>=0;i--){let n=t.openElements.items[i];if(n===e.element)break;t._isSpecialElement(n,t.openElements.tagIDs[i])&&(r=n)}return r||(t.openElements.shortenToLength(i<0?0:i),t.activeFormattingElements.removeEntry(e)),r}function RW(t,e,r){let i=e,n=t.openElements.getCommonAncestor(e);for(let o=0,a=n;a!==r;o++,a=n){n=t.openElements.getCommonAncestor(a);let s=t.activeFormattingElements.getElementEntry(a),l=s&&o>=AW;!s||l?(l&&t.activeFormattingElements.removeEntry(s),t.openElements.remove(a)):(a=IW(t,s),i===e&&(t.activeFormattingElements.bookmark=s),t.treeAdapter.detachNode(i),t.treeAdapter.appendChild(a,i),i=a)}return i}function IW(t,e){let r=t.treeAdapter.getNamespaceURI(e.element),i=t.treeAdapter.createElement(e.token.tagName,r,e.token.attrs);return t.openElements.replace(e.element,i),e.element=i,i}function LW(t,e,r){let i=t.treeAdapter.getTagName(e),n=Da(i);if(t._isElementCausesFosterParenting(n))t._fosterParentElement(r);else{let o=t.treeAdapter.getNamespaceURI(e);n===g.TEMPLATE&&o===Oe.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,r)}}function MW(t,e,r){let i=t.treeAdapter.getNamespaceURI(r.element),{token:n}=r,o=t.treeAdapter.createElement(n.tagName,i,n.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,n),t.activeFormattingElements.removeEntry(r),t.openElements.remove(r.element),t.openElements.insertAfter(e,o,n.tagID)}function b4(t,e){for(let r=0;r<_W;r++){let i=$W(t,e);if(!i)break;let n=XW(t,i);if(!n)break;t.activeFormattingElements.bookmark=i;let o=RW(t,n,i.element),a=t.openElements.getCommonAncestor(i.element);t.treeAdapter.detachNode(o),a&&LW(t,a,o),MW(t,n,i)}}function O4(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function zW(t,e){t._appendCommentNode(e,t.openElements.items[0])}function DW(t,e){t._appendCommentNode(e,t.document)}function y4(t,e){if(t.stopped=!0,e.location){let r=t.fragmentContext?0:2;for(let i=t.openElements.stackTop;i>=r;i--)t._setEndLocation(t.openElements.items[i],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){let i=t.openElements.items[0],n=t.treeAdapter.getNodeSourceCodeLocation(i);if(n&&!n.endTag&&(t._setEndLocation(i,e),t.openElements.stackTop>=1)){let o=t.openElements.items[1],a=t.treeAdapter.getNodeSourceCodeLocation(o);a&&!a.endTag&&t._setEndLocation(o,e)}}}}function NW(t,e){t._setDocumentType(e);let r=e.forceQuirks?Rr.QUIRKS:X8(e);$8(e)||t._err(e,le.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,r),t.insertionMode=W.BEFORE_HTML}function uf(t,e){t._err(e,le.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,Rr.QUIRKS),t.insertionMode=W.BEFORE_HTML,t._processToken(e)}function UW(t,e){e.tagID===g.HTML?(t._insertElement(e,Oe.HTML),t.insertionMode=W.BEFORE_HEAD):hf(t,e)}function qW(t,e){let r=e.tagID;(r===g.HTML||r===g.HEAD||r===g.BODY||r===g.BR)&&hf(t,e)}function hf(t,e){t._insertFakeRootElement(),t.insertionMode=W.BEFORE_HEAD,t._processToken(e)}function BW(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.HEAD:{t._insertElement(e,Oe.HTML),t.headElement=t.openElements.current,t.insertionMode=W.IN_HEAD;break}default:df(t,e)}}function jW(t,e){let r=e.tagID;r===g.HEAD||r===g.BODY||r===g.HTML||r===g.BR?df(t,e):t._err(e,le.endTagWithoutMatchingOpenElement)}function df(t,e){t._insertFakeElement(ee.HEAD,g.HEAD),t.headElement=t.openElements.current,t.insertionMode=W.IN_HEAD,t._processToken(e)}function Sn(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.TITLE:{t._switchToTextParsing(e,jt.RCDATA);break}case g.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,jt.RAWTEXT):(t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_HEAD_NO_SCRIPT);break}case g.NOFRAMES:case g.STYLE:{t._switchToTextParsing(e,jt.RAWTEXT);break}case g.SCRIPT:{t._switchToTextParsing(e,jt.SCRIPT_DATA);break}case g.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=W.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(W.IN_TEMPLATE);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:pf(t,e)}}function WW(t,e){switch(e.tagID){case g.HEAD:{t.openElements.pop(),t.insertionMode=W.AFTER_HEAD;break}case g.BODY:case g.BR:case g.HTML:{pf(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function Ns(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==g.TEMPLATE&&t._err(e,le.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,le.endTagWithoutMatchingOpenElement)}function pf(t,e){t.openElements.pop(),t.insertionMode=W.AFTER_HEAD,t._processToken(e)}function VW(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.BASEFONT:case g.BGSOUND:case g.HEAD:case g.LINK:case g.META:case g.NOFRAMES:case g.STYLE:{Sn(t,e);break}case g.NOSCRIPT:{t._err(e,le.nestedNoscriptInHead);break}default:mf(t,e)}}function FW(t,e){switch(e.tagID){case g.NOSCRIPT:{t.openElements.pop(),t.insertionMode=W.IN_HEAD;break}case g.BR:{mf(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function mf(t,e){let r=e.type===dt.EOF?le.openElementsLeftAfterEof:le.disallowedContentInNoscriptInHead;t._err(e,r),t.openElements.pop(),t.insertionMode=W.IN_HEAD,t._processToken(e)}function ZW(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.BODY:{t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=W.IN_BODY;break}case g.FRAMESET:{t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_FRAMESET;break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{t._err(e,le.abandonedHeadElementChild),t.openElements.push(t.headElement,g.HEAD),Sn(t,e),t.openElements.remove(t.headElement);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:Of(t,e)}}function YW(t,e){switch(e.tagID){case g.BODY:case g.HTML:case g.BR:{Of(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function Of(t,e){t._insertFakeElement(ee.BODY,g.BODY),t.insertionMode=W.IN_BODY,yp(t,e)}function yp(t,e){switch(e.type){case dt.CHARACTER:{U8(t,e);break}case dt.WHITESPACE_CHARACTER:{N8(t,e);break}case dt.COMMENT:{O4(t,e);break}case dt.START_TAG:{Gr(t,e);break}case dt.END_TAG:{vp(t,e);break}case dt.EOF:{W8(t,e);break}default:}}function N8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function U8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function HW(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function GW(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(r,e.attrs))}function KW(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&r&&(t.treeAdapter.detachNode(r),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_FRAMESET)}function JW(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function eV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),of(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,Oe.HTML)}function tV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function rV(t,e){let r=t.openElements.tmplCount>0;(!t.formElement||r)&&(t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),r||(t.formElement=t.openElements.current))}function iV(t,e){t.framesetOk=!1;let r=e.tagID;for(let i=t.openElements.stackTop;i>=0;i--){let n=t.openElements.tagIDs[i];if(r===g.LI&&n===g.LI||(r===g.DD||r===g.DT)&&(n===g.DD||n===g.DT)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n);break}if(n!==g.ADDRESS&&n!==g.DIV&&n!==g.P&&t._isSpecialElement(t.openElements.items[i],n))break}t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function nV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.tokenizer.state=jt.PLAINTEXT}function oV(t,e){t.openElements.hasInScope(g.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1}function aV(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(ee.A);r&&(b4(t,e),t.openElements.remove(r.element),t.activeFormattingElements.removeEntry(r)),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function sV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function lV(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(g.NOBR)&&(b4(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function cV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function uV(t,e){t.treeAdapter.getDocumentMode(t.document)!==Rr.QUIRKS&&t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=W.IN_TABLE}function q8(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function B8(t){let e=nf(t,kn.TYPE);return e!=null&&e.toLowerCase()===PW}function fV(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),B8(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function hV(t,e){t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0}function dV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function pV(t,e){e.tagName=ee.IMG,e.tagID=g.IMG,q8(t,e)}function mV(t,e){t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.tokenizer.state=jt.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=W.TEXT}function OV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,jt.RAWTEXT)}function gV(t,e){t.framesetOk=!1,t._switchToTextParsing(e,jt.RAWTEXT)}function M8(t,e){t._switchToTextParsing(e,jt.RAWTEXT)}function bV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===W.IN_TABLE||t.insertionMode===W.IN_CAPTION||t.insertionMode===W.IN_TABLE_BODY||t.insertionMode===W.IN_ROW||t.insertionMode===W.IN_CELL?W.IN_SELECT_IN_TABLE:W.IN_SELECT}function yV(t,e){t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function vV(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,Oe.HTML)}function xV(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(g.RTC),t._insertElement(e,Oe.HTML)}function wV(t,e){t._reconstructActiveFormattingElements(),dp(e),cf(e),e.selfClosing?t._appendElement(e,Oe.MATHML):t._insertElement(e,Oe.MATHML),e.ackSelfClosing=!0}function kV(t,e){t._reconstructActiveFormattingElements(),pp(e),cf(e),e.selfClosing?t._appendElement(e,Oe.SVG):t._insertElement(e,Oe.SVG),e.ackSelfClosing=!0}function z8(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function Gr(t,e){switch(e.tagID){case g.I:case g.S:case g.B:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.SMALL:case g.STRIKE:case g.STRONG:{sV(t,e);break}case g.A:{aV(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{eV(t,e);break}case g.P:case g.DL:case g.OL:case g.UL:case g.DIV:case g.DIR:case g.NAV:case g.MAIN:case g.MENU:case g.ASIDE:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.DETAILS:case g.ADDRESS:case g.ARTICLE:case g.SECTION:case g.SUMMARY:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{JW(t,e);break}case g.LI:case g.DD:case g.DT:{iV(t,e);break}case g.BR:case g.IMG:case g.WBR:case g.AREA:case g.EMBED:case g.KEYGEN:{q8(t,e);break}case g.HR:{dV(t,e);break}case g.RB:case g.RTC:{vV(t,e);break}case g.RT:case g.RP:{xV(t,e);break}case g.PRE:case g.LISTING:{tV(t,e);break}case g.XMP:{OV(t,e);break}case g.SVG:{kV(t,e);break}case g.HTML:{HW(t,e);break}case g.BASE:case g.LINK:case g.META:case g.STYLE:case g.TITLE:case g.SCRIPT:case g.BGSOUND:case g.BASEFONT:case g.TEMPLATE:{Sn(t,e);break}case g.BODY:{GW(t,e);break}case g.FORM:{rV(t,e);break}case g.NOBR:{lV(t,e);break}case g.MATH:{wV(t,e);break}case g.TABLE:{uV(t,e);break}case g.INPUT:{fV(t,e);break}case g.PARAM:case g.TRACK:case g.SOURCE:{hV(t,e);break}case g.IMAGE:{pV(t,e);break}case g.BUTTON:{oV(t,e);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{cV(t,e);break}case g.IFRAME:{gV(t,e);break}case g.SELECT:{bV(t,e);break}case g.OPTION:case g.OPTGROUP:{yV(t,e);break}case g.NOEMBED:{M8(t,e);break}case g.FRAMESET:{KW(t,e);break}case g.TEXTAREA:{mV(t,e);break}case g.NOSCRIPT:{t.options.scriptingEnabled?M8(t,e):z8(t,e);break}case g.PLAINTEXT:{nV(t,e);break}case g.COL:case g.TH:case g.TD:case g.TR:case g.HEAD:case g.FRAME:case g.TBODY:case g.TFOOT:case g.THEAD:case g.CAPTION:case g.COLGROUP:break;default:z8(t,e)}}function SV(t,e){if(t.openElements.hasInScope(g.BODY)&&(t.insertionMode=W.AFTER_BODY,t.options.sourceCodeLocationInfo)){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t._setEndLocation(r,e)}}function TV(t,e){t.openElements.hasInScope(g.BODY)&&(t.insertionMode=W.AFTER_BODY,J8(t,e))}function EV(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r))}function CV(t){let e=t.openElements.tmplCount>0,{formElement:r}=t;e||(t.formElement=null),(r||e)&&t.openElements.hasInScope(g.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(g.FORM):r&&t.openElements.remove(r))}function PV(t){t.openElements.hasInButtonScope(g.P)||t._insertFakeElement(ee.P,g.P),t._closePElement()}function _V(t){t.openElements.hasInListItemScope(g.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(g.LI),t.openElements.popUntilTagNamePopped(g.LI))}function AV(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r))}function QV(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function $V(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker())}function XV(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(ee.BR,g.BR),t.openElements.pop(),t.framesetOk=!1}function j8(t,e){let r=e.tagName,i=e.tagID;for(let n=t.openElements.stackTop;n>0;n--){let o=t.openElements.items[n],a=t.openElements.tagIDs[n];if(i===a&&(i!==g.UNKNOWN||t.treeAdapter.getTagName(o)===r)){t.openElements.generateImpliedEndTagsWithExclusion(i),t.openElements.stackTop>=n&&t.openElements.shortenToLength(n);break}if(t._isSpecialElement(o,a))break}}function vp(t,e){switch(e.tagID){case g.A:case g.B:case g.I:case g.S:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.NOBR:case g.SMALL:case g.STRIKE:case g.STRONG:{b4(t,e);break}case g.P:{PV(t);break}case g.DL:case g.UL:case g.OL:case g.DIR:case g.DIV:case g.NAV:case g.PRE:case g.MAIN:case g.MENU:case g.ASIDE:case g.BUTTON:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.ADDRESS:case g.ARTICLE:case g.DETAILS:case g.SECTION:case g.SUMMARY:case g.LISTING:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{EV(t,e);break}case g.LI:{_V(t);break}case g.DD:case g.DT:{AV(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{QV(t);break}case g.BR:{XV(t);break}case g.BODY:{SV(t,e);break}case g.HTML:{TV(t,e);break}case g.FORM:{CV(t);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{$V(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:j8(t,e)}}function W8(t,e){t.tmplInsertionModeStack.length>0?K8(t,e):y4(t,e)}function RV(t,e){var r;e.tagID===g.SCRIPT&&((r=t.scriptHandler)===null||r===void 0||r.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function IV(t,e){t._err(e,le.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function m4(t,e){if(D8.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=W.IN_TABLE_TEXT,e.type){case dt.CHARACTER:{F8(t,e);break}case dt.WHITESPACE_CHARACTER:{V8(t,e);break}}else bf(t,e)}function LV(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_CAPTION}function MV(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_COLUMN_GROUP}function zV(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ee.COLGROUP,g.COLGROUP),t.insertionMode=W.IN_COLUMN_GROUP,v4(t,e)}function DV(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_TABLE_BODY}function NV(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ee.TBODY,g.TBODY),t.insertionMode=W.IN_TABLE_BODY,xp(t,e)}function UV(t,e){t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function qV(t,e){B8(e)?t._appendElement(e,Oe.HTML):bf(t,e),e.ackSelfClosing=!0}function BV(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,Oe.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function ac(t,e){switch(e.tagID){case g.TD:case g.TH:case g.TR:{NV(t,e);break}case g.STYLE:case g.SCRIPT:case g.TEMPLATE:{Sn(t,e);break}case g.COL:{zV(t,e);break}case g.FORM:{BV(t,e);break}case g.TABLE:{UV(t,e);break}case g.TBODY:case g.TFOOT:case g.THEAD:{DV(t,e);break}case g.INPUT:{qV(t,e);break}case g.CAPTION:{LV(t,e);break}case g.COLGROUP:{MV(t,e);break}default:bf(t,e)}}function gf(t,e){switch(e.tagID){case g.TABLE:{t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode());break}case g.TEMPLATE:{Ns(t,e);break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TBODY:case g.TD:case g.TFOOT:case g.TH:case g.THEAD:case g.TR:break;default:bf(t,e)}}function bf(t,e){let r=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,yp(t,e),t.fosterParentingEnabled=r}function V8(t,e){t.pendingCharacterTokens.push(e)}function F8(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function ff(t,e){let r=0;if(t.hasNonWhitespacePendingCharacterToken)for(;r<t.pendingCharacterTokens.length;r++)bf(t,t.pendingCharacterTokens[r]);else for(;r<t.pendingCharacterTokens.length;r++)t._insertCharacters(t.pendingCharacterTokens[r]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}var Z8=new Set([g.CAPTION,g.COL,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]);function jV(t,e){let r=e.tagID;Z8.has(r)?t.openElements.hasInTableScope(g.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=W.IN_TABLE,ac(t,e)):Gr(t,e)}function WV(t,e){let r=e.tagID;switch(r){case g.CAPTION:case g.TABLE:{t.openElements.hasInTableScope(g.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=W.IN_TABLE,r===g.TABLE&&gf(t,e));break}case g.BODY:case g.COL:case g.COLGROUP:case g.HTML:case g.TBODY:case g.TD:case g.TFOOT:case g.TH:case g.THEAD:case g.TR:break;default:vp(t,e)}}function v4(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.COL:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.TEMPLATE:{Sn(t,e);break}default:gp(t,e)}}function VV(t,e){switch(e.tagID){case g.COLGROUP:{t.openElements.currentTagId===g.COLGROUP&&(t.openElements.pop(),t.insertionMode=W.IN_TABLE);break}case g.TEMPLATE:{Ns(t,e);break}case g.COL:break;default:gp(t,e)}}function gp(t,e){t.openElements.currentTagId===g.COLGROUP&&(t.openElements.pop(),t.insertionMode=W.IN_TABLE,t._processToken(e))}function xp(t,e){switch(e.tagID){case g.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_ROW;break}case g.TH:case g.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(ee.TR,g.TR),t.insertionMode=W.IN_ROW,wp(t,e);break}case g.CAPTION:case g.COL:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=W.IN_TABLE,ac(t,e));break}default:ac(t,e)}}function g4(t,e){let r=e.tagID;switch(e.tagID){case g.TBODY:case g.TFOOT:case g.THEAD:{t.openElements.hasInTableScope(r)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=W.IN_TABLE);break}case g.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=W.IN_TABLE,gf(t,e));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TD:case g.TH:case g.TR:break;default:gf(t,e)}}function wp(t,e){switch(e.tagID){case g.TH:case g.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_CELL,t.activeFormattingElements.insertMarker();break}case g.CAPTION:case g.COL:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:case g.TR:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=W.IN_TABLE_BODY,xp(t,e));break}default:ac(t,e)}}function Y8(t,e){switch(e.tagID){case g.TR:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=W.IN_TABLE_BODY);break}case g.TABLE:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=W.IN_TABLE_BODY,g4(t,e));break}case g.TBODY:case g.TFOOT:case g.THEAD:{(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(g.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=W.IN_TABLE_BODY,g4(t,e));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TD:case g.TH:break;default:gf(t,e)}}function FV(t,e){let r=e.tagID;Z8.has(r)?(t.openElements.hasInTableScope(g.TD)||t.openElements.hasInTableScope(g.TH))&&(t._closeTableCell(),wp(t,e)):Gr(t,e)}function ZV(t,e){let r=e.tagID;switch(r){case g.TD:case g.TH:{t.openElements.hasInTableScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=W.IN_ROW);break}case g.TABLE:case g.TBODY:case g.TFOOT:case g.THEAD:case g.TR:{t.openElements.hasInTableScope(r)&&(t._closeTableCell(),Y8(t,e));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:break;default:vp(t,e)}}function H8(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.OPTION:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._insertElement(e,Oe.HTML);break}case g.OPTGROUP:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t.openElements.currentTagId===g.OPTGROUP&&t.openElements.pop(),t._insertElement(e,Oe.HTML);break}case g.INPUT:case g.KEYGEN:case g.TEXTAREA:case g.SELECT:{t.openElements.hasInSelectScope(g.SELECT)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),e.tagID!==g.SELECT&&t._processStartTag(e));break}case g.SCRIPT:case g.TEMPLATE:{Sn(t,e);break}default:}}function G8(t,e){switch(e.tagID){case g.OPTGROUP:{t.openElements.stackTop>0&&t.openElements.currentTagId===g.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===g.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===g.OPTGROUP&&t.openElements.pop();break}case g.OPTION:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop();break}case g.SELECT:{t.openElements.hasInSelectScope(g.SELECT)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode());break}case g.TEMPLATE:{Ns(t,e);break}default:}}function YV(t,e){let r=e.tagID;r===g.CAPTION||r===g.TABLE||r===g.TBODY||r===g.TFOOT||r===g.THEAD||r===g.TR||r===g.TD||r===g.TH?(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t._processStartTag(e)):H8(t,e)}function HV(t,e){let r=e.tagID;r===g.CAPTION||r===g.TABLE||r===g.TBODY||r===g.TFOOT||r===g.THEAD||r===g.TR||r===g.TD||r===g.TH?t.openElements.hasInTableScope(r)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t.onEndTag(e)):G8(t,e)}function GV(t,e){switch(e.tagID){case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{Sn(t,e);break}case g.CAPTION:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{t.tmplInsertionModeStack[0]=W.IN_TABLE,t.insertionMode=W.IN_TABLE,ac(t,e);break}case g.COL:{t.tmplInsertionModeStack[0]=W.IN_COLUMN_GROUP,t.insertionMode=W.IN_COLUMN_GROUP,v4(t,e);break}case g.TR:{t.tmplInsertionModeStack[0]=W.IN_TABLE_BODY,t.insertionMode=W.IN_TABLE_BODY,xp(t,e);break}case g.TD:case g.TH:{t.tmplInsertionModeStack[0]=W.IN_ROW,t.insertionMode=W.IN_ROW,wp(t,e);break}default:t.tmplInsertionModeStack[0]=W.IN_BODY,t.insertionMode=W.IN_BODY,Gr(t,e)}}function KV(t,e){e.tagID===g.TEMPLATE&&Ns(t,e)}function K8(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):y4(t,e)}function JV(t,e){e.tagID===g.HTML?Gr(t,e):bp(t,e)}function J8(t,e){var r;if(e.tagID===g.HTML){if(t.fragmentContext||(t.insertionMode=W.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===g.HTML){t._setEndLocation(t.openElements.items[0],e);let i=t.openElements.items[1];i&&!(!((r=t.treeAdapter.getNodeSourceCodeLocation(i))===null||r===void 0)&&r.endTag)&&t._setEndLocation(i,e)}}else bp(t,e)}function bp(t,e){t.insertionMode=W.IN_BODY,yp(t,e)}function eF(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.FRAMESET:{t._insertElement(e,Oe.HTML);break}case g.FRAME:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.NOFRAMES:{Sn(t,e);break}default:}}function tF(t,e){e.tagID===g.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==g.FRAMESET&&(t.insertionMode=W.AFTER_FRAMESET))}function rF(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function iF(t,e){e.tagID===g.HTML&&(t.insertionMode=W.AFTER_AFTER_FRAMESET)}function nF(t,e){e.tagID===g.HTML?Gr(t,e):Op(t,e)}function Op(t,e){t.insertionMode=W.IN_BODY,yp(t,e)}function oF(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function aF(t,e){e.chars=Nt,t._insertCharacters(e)}function sF(t,e){t._insertCharacters(e),t.framesetOk=!1}function eE(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==Oe.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function lF(t,e){if(h4(e))eE(t),t._startTagOutsideForeignContent(e);else{let r=t._getAdjustedCurrentElement(),i=t.treeAdapter.getNamespaceURI(r);i===Oe.MATHML?dp(e):i===Oe.SVG&&(d4(e),pp(e)),cf(e),e.selfClosing?t._appendElement(e,i):t._insertElement(e,i),e.ackSelfClosing=!0}}function cF(t,e){if(e.tagID===g.P||e.tagID===g.BR){eE(t),t._endTagOutsideForeignContent(e);return}for(let r=t.openElements.stackTop;r>0;r--){let i=t.openElements.items[r];if(t.treeAdapter.getNamespaceURI(i)===Oe.HTML){t._endTagOutsideForeignContent(e);break}let n=t.treeAdapter.getTagName(i);if(n.toLowerCase()===e.tagName){e.tagName=n,t.openElements.shortenToLength(r);break}}}var uF=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),$ye=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 x4(t,e){return function(i){let n,o=0,a="";for(;n=t.exec(i);)o!==n.index&&(a+=i.substring(o,n.index)),a+=e.get(n[0].charCodeAt(0)),o=n.index+1;return a+i.substring(o)}}var Xye=x4(/[&<>'"]/g,uF),fF=x4(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),hF=x4(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var zye=new Set([ee.AREA,ee.BASE,ee.BASEFONT,ee.BGSOUND,ee.BR,ee.COL,ee.EMBED,ee.FRAME,ee.HR,ee.IMG,ee.INPUT,ee.KEYGEN,ee.LINK,ee.META,ee.PARAM,ee.SOURCE,ee.TRACK,ee.WBR]);function tE(t,e){return Uo.parse(t,e)}function rE(t,e,r){typeof t=="string"&&(r=e,e=t,t=null);let i=Uo.getFragmentParser(t,r);return i.tokenizer.write(e,!0),i.getFragment()}var dF=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),iE={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function kp(t,e){let r=kF(t),i=jl("type",{handlers:{root:pF,element:mF,text:OF,comment:oE,doctype:gF,raw:yF},unknown:vF}),n={parser:r?new Uo(iE):Uo.getFragmentParser(void 0,iE),handle(s){i(s,n)},stitches:!1,options:e||{}};i(t,n),sc(n,tn());let o=r?n.parser.document:n.parser.getFragment(),a=rf(o,{file:n.options.file});return n.stitches&&Zr(a,"comment",function(s,l,c){let u=s;if(u.value.stitch&&c&&l!==void 0){let f=c.children;return f[l]=u.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===t.type?a.children[0]:a}function nE(t,e){let r=-1;if(t)for(;++r<t.length;)e.handle(t[r])}function pF(t,e){nE(t.children,e)}function mF(t,e){xF(t,e),nE(t.children,e),wF(t,e)}function OF(t,e){let r={type:Do.TokenType.CHARACTER,chars:t.value,location:yf(t)};sc(e,tn(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function gF(t,e){let r={type:Do.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:yf(t)};sc(e,tn(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function bF(t,e){e.stitches=!0;let r=SF(t);if("children"in t&&"children"in r){let i=kp({type:"root",children:t.children},e.options);r.children=i.children}oE({type:"comment",value:{stitch:r}},e)}function oE(t,e){let r=t.value,i={type:Do.TokenType.COMMENT,data:r,location:yf(t)};sc(e,tn(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function yF(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,aE(e,tn(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 r=e.parser.tokenizer._consume();e.parser.tokenizer._callState(r)}}function vF(t,e){let r=t;if(e.options.passThrough&&e.options.passThrough.includes(r.type))bF(r,e);else{let i="";throw dF.has(r.type)&&(i=". 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 `"+r.type+"` node"+i)}}function sc(t,e){aE(t,e);let r=t.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=t.parser.tokenizer.preprocessor.line,r.location.endCol=t.parser.tokenizer.preprocessor.col+1,r.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=r,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=jt.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 aE(t,e){if(e&&e.offset!==void 0){let r={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=r}}function xF(t,e){if(e.parser.tokenizer.state===jt.PLAINTEXT)return;sc(e,tn(t));let r=e.parser.openElements.current,i="namespaceURI"in r?r.namespaceURI:Ei.html;i===Ei.html&&t.tagName==="svg"&&(i=Ei.svg);let n=r4(Be(oe({},t),{children:[]}),{space:i===Ei.svg?"svg":"html"}),o="attrs"in n?n.attrs:[],a={type:Do.TokenType.START_TAG,tagName:t.tagName,tagID:oc.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:o,location:yf(t)};e.parser.currentToken=a,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=t.tagName}function wF(t,e){if(!e.parser.tokenizer.inForeignNode&&np.includes(t.tagName)||e.parser.tokenizer.state===jt.PLAINTEXT)return;sc(e,Ls(t));let r={type:Do.TokenType.END_TAG,tagName:t.tagName,tagID:oc.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:yf(t)};e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken),r.tagName===e.parser.tokenizer.lastStartTagName&&(e.parser.tokenizer.state===jt.RCDATA||e.parser.tokenizer.state===jt.RAWTEXT||e.parser.tokenizer.state===jt.SCRIPT_DATA)&&(e.parser.tokenizer.state=jt.DATA)}function kF(t){let e=t.type==="root"?t.children[0]:t;return!!(e&&(e.type==="doctype"||e.type==="element"&&e.tagName==="html"))}function yf(t){let e=tn(t)||{line:void 0,column:void 0,offset:void 0},r=Ls(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function SF(t){return"children"in t?xn(Be(oe({},t),{children:[]})):xn(t)}function Sp(t){return function(e,r){return kp(e,Be(oe({},t),{file:r}))}}function w4(t,e){return lE(t,e||{})||{type:"root",children:[]}}function lE(t,e){let r=TF(t,e);return r&&e.afterTransform&&e.afterTransform(t,r),r}function TF(t,e){switch(t.nodeType){case 1:return _F(t,e);case 3:return CF(t);case 8:return PF(t);case 9:return sE(t,e);case 10:return EF();case 11:return sE(t,e);default:return}}function sE(t,e){return{type:"root",children:cE(t,e)}}function EF(){return{type:"doctype"}}function CF(t){return{type:"text",value:t.nodeValue||""}}function PF(t){return{type:"comment",value:t.nodeValue||""}}function _F(t,e){let r=t.namespaceURI,i=r===Ei.svg?tf:ef,n=r===Ei.html?t.tagName.toLowerCase():t.tagName,o=r===Ei.html&&n==="template"?t.content:t,a=t.getAttributeNames(),s={},l=-1;for(;++l<a.length;)s[a[l]]=t.getAttribute(a[l])||"";return i(n,s,cE(o,e))}function cE(t,e){let r=t.childNodes,i=[],n=-1;for(;++n<r.length;){let o=lE(r[n],e);o!==void 0&&i.push(o)}return i}var AF=new DOMParser;function uE(t,e){let r=e!=null&&e.fragment?QF(t):AF.parseFromString(t,"text/html");return w4(r)}function QF(t){let e=document.createElement("template");return e.innerHTML=t,e.content}var Tp=function(t,e,r){let i=Wn(r);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(i(t.children[e],e,t))return t.children[e]};var qo=function(t){if(t==null)return RF;if(typeof t=="string")return XF(t);if(typeof t=="object")return $F(t);if(typeof t=="function")return k4(t);throw new Error("Expected function, string, or array as `test`")};function $F(t){let e=[],r=-1;for(;++r<t.length;)e[r]=qo(t[r]);return k4(i);function i(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function XF(t){return k4(e);function e(r){return r.tagName===t}}function k4(t){return e;function e(r,i,n){return!!(IF(r)&&t.call(this,r,typeof i=="number"?i:void 0,n||void 0))}}function RF(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function IF(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}var fE=/\n/g,hE=/[\t ]+/g,S4=qo("br"),dE=qo(qF),LF=qo("p"),pE=qo("tr"),MF=qo(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",UF,BF]),mE=qo(["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","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function vf(t,e={}){let r="children"in t?t.children:[],i=mE(t),n=bE(t,{whitespace:e.whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];(t.type==="text"||t.type==="comment")&&o.push(...gE(t,{whitespace:n,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<r.length;)o.push(...OE(r[a],t,{whitespace:n,breakBefore:a?void 0:i,breakAfter:a<r.length-1?S4(r[a+1]):i}));let s=[],l;for(a=-1;++a<o.length;){let c=o[a];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&s.push(`
`.repeat(l)||" "),l=-1,s.push(c))}return s.join("")}function OE(t,e,r){return t.type==="element"?zF(t,e,r):t.type==="text"?r.whitespace==="normal"?gE(t,r):DF(t):[]}function zF(t,e,r){let i=bE(t,r),n=t.children||[],o=-1,a=[];if(MF(t))return a;let s,l;for(S4(t)||pE(t)&&Tp(e,t,pE)?l=`
`:LF(t)?(s=2,l=2):mE(t)&&(s=1,l=1);++o<n.length;)a=a.concat(OE(n[o],t,{whitespace:i,breakBefore:o?void 0:s,breakAfter:o<n.length-1?S4(n[o+1]):l}));return dE(t)&&Tp(e,t,dE)&&a.push(" "),s&&a.unshift(s),l&&a.push(l),a}function gE(t,e){let r=String(t.value),i=[],n=[],o=0;for(;o<=r.length;){fE.lastIndex=o;let l=fE.exec(r),c=l&&"index"in l?l.index:r.length;i.push(NF(r.slice(o,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),o===0?e.breakBefore:!0,c===r.length?e.breakAfter:!0)),o=c+1}let a=-1,s;for(;++a<i.length;)i[a].charCodeAt(i[a].length-1)===8203||a<i.length-1&&i[a+1].charCodeAt(0)===8203?(n.push(i[a]),s=void 0):i[a]?(typeof s=="number"&&n.push(s),n.push(i[a]),s=0):(a===0||a===i.length-1)&&n.push(0);return n}function DF(t){return[String(t.value)]}function NF(t,e,r){let i=[],n=0,o;for(;n<t.length;){hE.lastIndex=n;let a=hE.exec(t);o=a?a.index:t.length,!n&&!o&&a&&!e&&i.push(""),n!==o&&i.push(t.slice(n,o)),n=a?o+a[0].length:o}return n!==o&&!r&&i.push(""),i.join(" ")}function bE(t,e){if(t.type==="element"){let r=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap";default:}}return e.whitespace}function UF(t){return!!(t.properties||{}).hidden}function qF(t){return t.tagName==="td"||t.tagName==="th"}function BF(t){return t.tagName==="dialog"&&!(t.properties||{}).open}var jF={},WF=[];function Ep(t){let e=t||jF;return function(r,i){Ps(r,"element",function(n,o){let a=Array.isArray(n.properties.className)?n.properties.className:WF,s=a.includes("language-math"),l=a.includes("math-display"),c=a.includes("math-inline"),u=l;if(!s&&!l&&!c)return;let f=o[o.length-1],d=n;if(n.tagName==="code"&&s&&f&&f.type==="element"&&f.tagName==="pre"&&(d=f,f=o[o.length-2],u=!0),!f)return;let p=vf(d,{whitespace:"pre"}),O;try{O=$2.renderToString(p,Be(oe({},e),{displayMode:u,throwOnError:!0}))}catch(k){let w=k,C=w.name.toLowerCase();i.message("Could not render math with KaTeX",{ancestors:[...o,n],cause:w,place:n.position,ruleId:C,source:"rehype-katex"}),C==="parseerror"?O=$2.renderToString(p,Be(oe({},e),{displayMode:u,strict:"ignore",throwOnError:!1})):O=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(k)},children:[{type:"text",value:p}]}]}typeof O=="string"&&(O=uE(O,{fragment:!0}).children);let x=f.children.indexOf(d);return f.children.splice(x,1,...O),Bl})}}var yE={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 VF="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",FF=/-[a-z]/g,ZF=/%c(?:([-+])(\d+))?/g,YF=/%x/g,HF={2:!0,1:!1,0:null},GF={};function T4(t,e){let r=e||GF,i=r.onerror,n=t instanceof xa?t:new xa(t),o=r.fragment?rE:tE,a=String(n),s=o(a,{sourceCodeLocationInfo:!0,onParseError:r.onerror?l:null,scriptingEnabled:!1});return rf(s,{file:n,space:r.space,verbose:r.verbose});function l(c){let u=c.code,f=KF(u),d=r[f],p=d==null?!0:d,O=typeof p=="number"?p:p?1:0;if(O){let k=yE[f];let w=new ur(x(k.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&&(w.file=n.path,w.name=n.path+":"+w.name),w.fatal=HF[O],w.note=x(k.description),w.url=k.url===!1?void 0:VF+u,i(w)}function x(k){return k.replace(ZF,w).replace(YF,C);function w(Q,L,N){let I=(N?Number.parseInt(N,10):0)*(L==="-"?-1:1),H=a.charAt(c.startOffset+I);return eZ(H)}function C(){return tZ(a.charCodeAt(c.startOffset))}}}}function KF(t){return t.replace(FF,JF)}function JF(t){return t.charAt(1).toUpperCase()}function eZ(t){return t==="`"?"` ` `":t}function tZ(t){return"0x"+t.toString(16).toUpperCase()}function Cp(t){let e=this,o=oe(oe({},e.data("settings")),t),{emitParseErrors:r}=o,i=Wr(o,["emitParseErrors"]);e.parser=n;function n(a,s){return T4(a,Be(oe({},i),{onerror:r?function(l){s.path&&(l.name=s.path+":"+l.name,l.file=s.path),s.messages.push(l)}:void 0}))}}var Us=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Tn={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Us,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Us],h2:[["id","footnote-label"],["className","sr-only"]],img:[...Us,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Us,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Us],table:[...Us],ul:[...Us,["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 Ua={}.hasOwnProperty;function E4(t,e){let r={type:"root",children:[]},i={schema:e?oe(oe({},Tn),e):Tn,stack:[]},n=xE(i,t);return n&&(Array.isArray(n)?n.length===1?r=n[0]:r.children=n:r=n),r}function xE(t,e){if(e&&typeof e=="object"){let r=e;switch(typeof r.type=="string"?r.type:""){case"comment":return rZ(t,r);case"doctype":return iZ(t,r);case"element":return nZ(t,r);case"root":return oZ(t,r);case"text":return aZ(t,r);default:}}}function rZ(t,e){if(t.schema.allowComments){let r=typeof e.value=="string"?e.value:"",i=r.indexOf("-->"),o={type:"comment",value:i<0?r:r.slice(0,i)};return xf(o,e),o}}function iZ(t,e){if(t.schema.allowDoctypes){let r={type:"doctype"};return xf(r,e),r}}function nZ(t,e){let r=typeof e.tagName=="string"?e.tagName:"";t.stack.push(r);let i=wE(t,e.children),n=sZ(t,e.properties);t.stack.pop();let o=!1;if(r.length>0&&r!=="*"&&(!t.schema.tagNames||t.schema.tagNames.includes(r))&&(o=!0,t.schema.ancestors&&Ua.call(t.schema.ancestors,r))){let s=t.schema.ancestors[r],l=-1;for(o=!1;++l<s.length;)t.stack.includes(s[l])&&(o=!0)}if(!o)return t.schema.strip&&!t.schema.strip.includes(r)?i:void 0;let a={type:"element",tagName:r,properties:n,children:i};return xf(a,e),a}function oZ(t,e){let i={type:"root",children:wE(t,e.children)};return xf(i,e),i}function aZ(t,e){let i={type:"text",value:typeof e.value=="string"?e.value:""};return xf(i,e),i}function wE(t,e){let r=[];if(Array.isArray(e)){let i=e,n=-1;for(;++n<i.length;){let o=xE(t,i[n]);o&&(Array.isArray(o)?r.push(...o):r.push(o))}}return r}function sZ(t,e){let r=t.stack[t.stack.length-1],i=t.schema.attributes,n=t.schema.required,o=i&&Ua.call(i,r)?i[r]:void 0,a=i&&Ua.call(i,"*")?i["*"]:void 0,s=e&&typeof e=="object"?e:{},l={},c;for(c in s)if(Ua.call(s,c)){let u;if(o&&(u=vE(o,c)),!u&&a&&(u=vE(a,c)),u){let f=s[c],d=Array.isArray(f)?lZ(t,u,c,f):kE(t,u,c,f);d!=null&&(l[c]=d)}}if(n&&Ua.call(n,r)){let u=n[r];for(c in u)Ua.call(u,c)&&!Ua.call(l,c)&&(l[c]=u[c])}return l}function lZ(t,e,r,i){let n=-1,o=[];for(;++n<i.length;){let a=kE(t,e,r,i[n]);(typeof a=="number"||typeof a=="string")&&o.push(a)}return o}function kE(t,e,r,i){if(!(typeof i!="boolean"&&typeof i!="number"&&typeof i!="string")&&cZ(t,r,i)){if(typeof e=="object"&&e.length>1){let n=!1,o=0;for(;++o<e.length;){let a=e[o];if(a&&typeof a=="object"&&"flags"in a){if(a.test(String(i))){n=!0;break}}else if(a===i){n=!0;break}}if(!n)return}return t.schema.clobber&&t.schema.clobberPrefix&&t.schema.clobber.includes(r)?t.schema.clobberPrefix+i:i}}function cZ(t,e,r){let i=t.schema.protocols&&Ua.call(t.schema.protocols,e)?t.schema.protocols[e]:void 0;if(!i||i.length===0)return!0;let n=String(r),o=n.indexOf(":"),a=n.indexOf("?"),s=n.indexOf("#"),l=n.indexOf("/");if(o<0||l>-1&&o>l||a>-1&&o>a||s>-1&&o>s)return!0;let c=-1;for(;++c<i.length;){let u=i[c];if(o===u.length&&n.slice(0,u.length)===u)return!0}return!1}function xf(t,e){let r=Zu(e);e.data&&(t.data=xn(e.data)),r&&(t.position=r)}function vE(t,e){let r,i=-1;for(;++i<t.length;){let n=t[i],o=typeof n=="string"?n:n[0];if(o===e)return n;o==="data*"&&(r=n)}if(e.length>4&&e.slice(0,4).toLowerCase()==="data")return r}function Pp(t){return function(e){return E4(e,t)}}function SE(t,e){if(t=t.replace(e.subset?uZ(e.subset):/["&'<>`]/g,i),e.subset||e.escapeOnly)return t;return t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,i);function r(n,o,a){return e.format((n.charCodeAt(0)-55296)*1024+n.charCodeAt(1)-56320+65536,a.charCodeAt(o+2),e)}function i(n,o,a){return e.format(n.charCodeAt(0),a.charCodeAt(o+1),e)}}function uZ(t){let e=[],r=-1;for(;++r<t.length;)e.push(t[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}function TE(t,e,r){let i="&#x"+t.toString(16).toUpperCase();return r&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?i:i+";"}function EE(t,e,r){let i="&#"+String(t);return r&&e&&!/\d/.test(String.fromCharCode(e))?i:i+";"}var CE=["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 _p={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 PE=["cent","copy","divide","gt","lt","not","para","times"];var _E={}.hasOwnProperty,C4={},Ap;for(Ap in _p)_E.call(_p,Ap)&&(C4[_p[Ap]]=Ap);function AE(t,e,r,i){let n=String.fromCharCode(t);if(_E.call(C4,n)){let o=C4[n],a="&"+o;return r&&CE.includes(o)&&!PE.includes(o)&&(!i||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?a:a+";"}return""}function QE(t,e,r){let i=TE(t,e,r.omitOptionalSemicolons),n;if((r.useNamedReferences||r.useShortestReferences)&&(n=AE(t,e,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!n)&&r.useShortestReferences){let o=EE(t,e,r.omitOptionalSemicolons);o.length<i.length&&(i=o)}return n&&(!r.useShortestReferences||n.length<i.length)?n:i}function Bo(t,e){return SE(t,Object.assign({format:QE},e))}function $E(t,e,r,i){return i.settings.bogusComments?"<?"+Bo(t.value,Object.assign({},i.settings.characterReferences,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,n)+"-->";function n(o){return Bo(o,Object.assign({},i.settings.characterReferences,{subset:["<",">"]}))}}function XE(t,e,r,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}var fZ=/[ \t\n\f\r]/g;function qs(t){return typeof t=="object"?t.type==="text"?RE(t.value):!1:RE(t)}function RE(t){return t.replace(fZ,"")===""}var lr=IE(1),P4=IE(-1),hZ=[];function IE(t){return e;function e(r,i,n){let o=r?r.children:hZ,a=(i||0)+t,s=o[a];if(!n)for(;s&&qs(s);)a+=t,s=o[a];return s}}var dZ={}.hasOwnProperty;function Qp(t){return e;function e(r,i,n){return dZ.call(t,r.tagName)&&t[r.tagName](r,i,n)}}var wf=Qp({body:mZ,caption:_4,colgroup:_4,dd:yZ,dt:bZ,head:_4,html:pZ,li:gZ,optgroup:vZ,option:xZ,p:OZ,rp:LE,rt:LE,tbody:kZ,td:ME,tfoot:SZ,th:ME,thead:wZ,tr:TZ});function _4(t,e,r){let i=lr(r,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&qs(i.value.charAt(0)))}function pZ(t,e,r){let i=lr(r,e);return!i||i.type!=="comment"}function mZ(t,e,r){let i=lr(r,e);return!i||i.type!=="comment"}function OZ(t,e,r){let i=lr(r,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function gZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&i.tagName==="li"}function bZ(t,e,r){let i=lr(r,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function yZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function LE(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function vZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function xZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function wZ(t,e,r){let i=lr(r,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function kZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function SZ(t,e,r){return!lr(r,e)}function TZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&i.tagName==="tr"}function ME(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}var zE=Qp({body:PZ,colgroup:_Z,head:CZ,html:EZ,tbody:AZ});function EZ(t){let e=lr(t,-1);return!e||e.type!=="comment"}function CZ(t){let e=t.children,r=[],i=-1;for(;++i<e.length;){let n=e[i];if(n.type==="element"&&(n.tagName==="title"||n.tagName==="base")){if(r.includes(n.tagName))return!1;r.push(n.tagName)}}return e.length>0}function PZ(t){let e=lr(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&qs(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function _Z(t,e,r){let i=P4(r,e),n=lr(t,-1,!0);return r&&i&&i.type==="element"&&i.tagName==="colgroup"&&wf(i,r.children.indexOf(i),r)?!1:!!(n&&n.type==="element"&&n.tagName==="col")}function AZ(t,e,r){let i=P4(r,e),n=lr(t,-1);return r&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&wf(i,r.children.indexOf(i),r)?!1:!!(n&&n.type==="element"&&n.tagName==="tr")}var $p={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 DE(t,e,r,i){let n=i.schema,o=n.space==="svg"?!1:i.settings.omitOptionalTags,a=n.space==="svg"?i.settings.closeEmptyElements:i.settings.voids.includes(t.tagName.toLowerCase()),s=[],l;n.space==="html"&&t.tagName==="svg"&&(i.schema=nn);let c=QZ(i,t.properties),u=i.all(n.space==="html"&&t.tagName==="template"?t.content:t);return i.schema=n,u&&(a=!1),(c||!o||!zE(t,e,r))&&(s.push("<",t.tagName,c?" "+c:""),a&&(n.space==="svg"||i.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!i.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(u),!a&&(!o||!wf(t,e,r))&&s.push("</"+t.tagName+">"),s.join("")}function QZ(t,e){let r=[],i=-1,n;if(e){for(n in e)if(e[n]!==null&&e[n]!==void 0){let o=$Z(t,n,e[n]);o&&r.push(o)}}for(;++i<r.length;){let o=t.settings.tightAttributes?r[i].charAt(r[i].length-1):void 0;i!==r.length-1&&o!=='"'&&o!=="'"&&(r[i]+=" ")}return r.join("")}function $Z(t,e,r){let i=Mo(t.schema,e),n=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,o=t.settings.allowDangerousCharacters?0:1,a=t.quote,s;if(i.overloadedBoolean&&(r===i.attribute||r==="")?r=!0:(i.boolean||i.overloadedBoolean&&typeof r!="string")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";let l=Bo(i.attribute,Object.assign({},t.settings.characterReferences,{subset:$p.name[n][o]}));return r===!0||(r=Array.isArray(r)?(i.commaSeparated?tp:rp)(r,{padLeft:!t.settings.tightCommaSeparatedLists}):String(r),t.settings.collapseEmptyAttributes&&!r)?l:(t.settings.preferUnquoted&&(s=Bo(r,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:$p.unquoted[n][o]}))),s!==r&&(t.settings.quoteSmart&&ql(r,a)>ql(r,t.alternative)&&(a=t.alternative),s=a+Bo(r,Object.assign({},t.settings.characterReferences,{subset:(a==="'"?$p.single:$p.double)[n][o],attribute:!0}))+a),l+(s&&"="+s))}function Xp(t,e,r,i){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?t.value:Bo(t.value,Object.assign({},i.settings.characterReferences,{subset:["<","&"]}))}function NE(t,e,r,i){return i.settings.allowDangerousHtml?t.value:Xp(t,e,r,i)}function UE(t,e,r,i){return i.all(t)}var qE=jl("type",{invalid:XZ,unknown:RZ,handlers:{comment:$E,doctype:XE,element:DE,raw:NE,root:UE,text:Xp}});function XZ(t){throw new Error("Expected node, not `"+t+"`")}function RZ(t){let e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}var IZ={},LZ={},MZ=[];function A4(t,e){let r=e||IZ,i=r.quote||'"',n=i==='"'?"'":'"';if(i!=='"'&&i!=="'")throw new Error("Invalid quote `"+i+"`, expected `'` or `\"`");return{one:zZ,all:DZ,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||np,characterReferences:r.characterReferences||LZ,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?nn:zo,quote:i,alternative:n}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function zZ(t,e,r){return qE(t,e,r,this)}function DZ(t){let e=[],r=t&&t.children||MZ,i=-1;for(;++i<r.length;)e[i]=this.one(r[i],i,t);return e.join("")}function Rp(t){let e=this,r=oe(oe({},e.data("settings")),t);e.compiler=i;function i(n){return A4(n,r)}}var NZ={inline:["$","$"],display:["$$","$$"]};function UZ(t,e){e===void 0&&(e=NZ);for(var r=t.querySelectorAll(".katex-mathml + .katex-html"),i=0;i<r.length;i++){var n=r[i];n.remove?n.remove():n.parentNode&&n.parentNode.removeChild(n)}for(var o=t.querySelectorAll(".katex-mathml"),a=0;a<o.length;a++){var s=o[a],l=s.querySelector("annotation");l&&(s.replaceWith?s.replaceWith(l):s.parentNode&&s.parentNode.replaceChild(l,s),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 r=t.clipboardData,i=e.getRangeAt(0),n=BE(i.startContainer);n&&i.setStartBefore(n);var o=BE(i.endContainer);o&&i.setEndAfter(o);var a=i.cloneContents();if(a.querySelector(".katex-mathml")){var s=Array.prototype.map.call(a.childNodes,l=>l instanceof Text?l.textContent:l.outerHTML).join("");r.setData("text/html",s),r.setData("text/plain",UZ(a).textContent),t.preventDefault()}}});function Q4(t,e){let i=(e||{}).force||!1;Zr(t,n);function n(o){i?delete o.position:o.position=void 0}}var qZ=0,Ci=class{constructor(e,r){this.from=e,this.to=r}},We=class{constructor(e={}){this.id=qZ++,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=Kt.match(e)),r=>{let i=e(r);return i===void 0?null:[this,i]}}};We.closedBy=new We({deserialize:t=>t.split(" ")});We.openedBy=new We({deserialize:t=>t.split(" ")});We.group=new We({deserialize:t=>t.split(" ")});We.isolate=new We({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});We.contextHash=new We({perNode:!0});We.lookAhead=new We({perNode:!0});We.mounted=new We({perNode:!0});var Bs=class{constructor(e,r,i){this.tree=e,this.overlay=r,this.parser=i}static get(e){return e&&e.props&&e.props[We.mounted.id]}},BZ=Object.create(null),Kt=class t{constructor(e,r,i,n=0){this.name=e,this.props=r,this.id=i,this.flags=n}static define(e){let r=e.props&&e.props.length?Object.create(null):BZ,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),n=new t(e.name||"",r,e.id,i);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");r[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 r=this.prop(We.group);return r?r.indexOf(e)>-1:!1}return this.id==e}static match(e){let r=Object.create(null);for(let i in e)for(let n of i.split(" "))r[n]=e[i];return i=>{for(let n=i.prop(We.group),o=-1;o<(n?n.length:0);o++){let a=r[o<0?i.name:n[o]];if(a)return a}}}};Kt.none=new Kt("",Object.create(null),0,8);var jo=class t{constructor(e){this.types=e;for(let r=0;r<e.length;r++)if(e[r].id!=r)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let r=[];for(let i of this.types){let n=null;for(let o of e){let a=o(i);a&&(n||(n=Object.assign({},i.props)),n[a[0].id]=a[1])}r.push(n?new Kt(i.name,n,i.id,i.flags):i)}return new t(r)}},Ip=new WeakMap,jE=new WeakMap,Pt;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(Pt||(Pt={}));var ft=class t{constructor(e,r,i,n,o){if(this.type=e,this.children=r,this.positions=i,this.length=n,this.props=null,o&&o.length){this.props=Object.create(null);for(let[a,s]of o)this.props[typeof a=="number"?a:a.id]=s}}toString(){let e=Bs.get(this);if(e&&!e.overlay)return e.tree.toString();let r="";for(let i of this.children){let n=i.toString();n&&(r&&(r+=","),r+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(r.length?"("+r+")":""):r}cursor(e=0){return new lc(this.topNode,e)}cursorAt(e,r=0,i=0){let n=Ip.get(this)||this.topNode,o=new lc(n);return o.moveTo(e,r),Ip.set(this,o._tree),o}get topNode(){return new Pi(this,0,0,null)}resolve(e,r=0){let i=kf(Ip.get(this)||this.topNode,e,r,!1);return Ip.set(this,i),i}resolveInner(e,r=0){let i=kf(jE.get(this)||this.topNode,e,r,!0);return jE.set(this,i),i}resolveStack(e,r=0){return jZ(this,e,r)}iterate(e){let{enter:r,leave:i,from:n=0,to:o=this.length}=e,a=e.mode||0,s=(a&Pt.IncludeAnonymous)>0;for(let l=this.cursor(a|Pt.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=n&&(!s&&l.type.isAnonymous||r(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&i&&(s||!l.type.isAnonymous)&&i(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 r in this.props)e.push([+r,this.props[r]]);return e}balance(e={}){return this.children.length<=8?this:q4(Kt.none,this.children,this.positions,0,this.children.length,0,this.length,(r,i,n)=>new t(this.type,r,i,n,this.propValues),e.makeTree||((r,i,n)=>new t(Kt.none,r,i,n)))}static build(e){return WZ(e)}};ft.empty=new ft(Kt.none,[],[],0);var $4=class t{constructor(e,r){this.buffer=e,this.index=r}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)}},qa=class t{constructor(e,r,i){this.buffer=e,this.length=r,this.set=i}get type(){return Kt.none}toString(){let e=[];for(let r=0;r<this.buffer.length;)e.push(this.childString(r)),r=this.buffer[r+3];return e.join(",")}childString(e){let r=this.buffer[e],i=this.buffer[e+3],n=this.set.types[r],o=n.name;if(/\W/.test(o)&&!n.isError&&(o=JSON.stringify(o)),e+=4,i==e)return o;let a=[];for(;e<i;)a.push(this.childString(e)),e=this.buffer[e+3];return o+"("+a.join(",")+")"}findChild(e,r,i,n,o){let{buffer:a}=this,s=-1;for(let l=e;l!=r&&!(GE(o,n,a[l+1],a[l+2])&&(s=l,i>0));l=a[l+3]);return s}slice(e,r,i){let n=this.buffer,o=new Uint16Array(r-e),a=0;for(let s=e,l=0;s<r;){o[l++]=n[s++],o[l++]=n[s++]-i;let c=o[l++]=n[s++]-i;o[l++]=n[s++]-e,a=Math.max(a,c)}return new t(o,a,this.set)}};function GE(t,e,r,i){switch(t){case-2:return r<e;case-1:return i>=e&&r<e;case 0:return r<e&&i>e;case 1:return r<=e&&i>e;case 2:return i>e;case 4:return!0}}function kf(t,e,r,i){for(var n;t.from==t.to||(r<1?t.from>=e:t.from>e)||(r>-1?t.to<=e:t.to<e);){let a=!i&&t instanceof Pi&&t.index<0?null:t.parent;if(!a)return t;t=a}let o=i?0:Pt.IgnoreOverlays;if(i)for(let a=t,s=a.parent;s;a=s,s=a.parent)a instanceof Pi&&a.index<0&&((n=s.enter(e,r,o))===null||n===void 0?void 0:n.from)!=a.from&&(t=s);for(;;){let a=t.enter(e,r,o);if(!a)return t;t=a}}var Mp=class{cursor(e=0){return new lc(this,e)}getChild(e,r=null,i=null){let n=WE(this,e,r,i);return n.length?n[0]:null}getChildren(e,r=null,i=null){return WE(this,e,r,i)}resolve(e,r=0){return kf(this,e,r,!1)}resolveInner(e,r=0){return kf(this,e,r,!0)}matchContext(e){return X4(this,e)}enterUnfinishedNodesBefore(e){let r=this.childBefore(e),i=this;for(;r;){let n=r.lastChild;if(!n||n.to!=r.to)break;n.type.isError&&n.from==n.to?(i=r,r=n.prevSibling):r=n}return i}get node(){return this}get next(){return this.parent}},Pi=class t extends Mp{constructor(e,r,i,n){super(),this._tree=e,this.from=r,this.index=i,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,r,i,n,o=0){for(let a=this;;){for(let{children:s,positions:l}=a._tree,c=r>0?s.length:-1;e!=c;e+=r){let u=s[e],f=l[e]+a.from;if(GE(n,i,f,f+u.length)){if(u instanceof qa){if(o&Pt.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,r,i-f,n);if(d>-1)return new js(new R4(a,u,e,f),null,d)}else if(o&Pt.IncludeAnonymous||!u.type.isAnonymous||U4(u)){let d;if(!(o&Pt.IgnoreMounts)&&(d=Bs.get(u))&&!d.overlay)return new t(d.tree,f,e,a);let p=new t(u,f,e,a);return o&Pt.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(r<0?u.children.length-1:0,r,i,n)}}}if(o&Pt.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+r:e=r<0?-1:a._parent._tree.children.length,a=a._parent,!a))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,r,i=0){let n;if(!(i&Pt.IgnoreOverlays)&&(n=Bs.get(this._tree))&&n.overlay){let o=e-this.from;for(let{from:a,to:s}of n.overlay)if((r>0?a<=o:a<o)&&(r<0?s>=o:s>o))return new t(n.tree,n.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,r,i)}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 WE(t,e,r,i){let n=t.cursor(),o=[];if(!n.firstChild())return o;if(r!=null){for(let a=!1;!a;)if(a=n.type.is(r),!n.nextSibling())return o}for(;;){if(i!=null&&n.type.is(i))return o;if(n.type.is(e)&&o.push(n.node),!n.nextSibling())return i==null?o:[]}}function X4(t,e,r=e.length-1){for(let i=t.parent;r>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}var R4=class{constructor(e,r,i,n){this.parent=e,this.buffer=r,this.index=i,this.start=n}},js=class t extends Mp{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,r,i){super(),this.context=e,this._parent=r,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,r,i){let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],e,r-this.context.start,i);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,r,i=0){if(i&Pt.ExcludeBuffers)return null;let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],r>0?1:-1,e-this.context.start,r);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,r=e.buffer[this.index+3];return r<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new t(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new t(this.context,this._parent,e.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],r=[],{buffer:i}=this.context,n=this.index+4,o=i.buffer[this.index+3];if(o>n){let a=i.buffer[this.index+1];e.push(i.slice(n,o,a)),r.push(0)}return new ft(this.type,e,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};function KE(t){if(!t.length)return null;let e=0,r=t[0];for(let o=1;o<t.length;o++){let a=t[o];(a.from>r.from||a.to<r.to)&&(r=a,e=o)}let i=r instanceof Pi&&r.index<0?null:r.parent,n=t.slice();return i?n[e]=i:n.splice(e,1),new I4(n,r)}var I4=class{constructor(e,r){this.heads=e,this.node=r}get next(){return KE(this.heads)}};function jZ(t,e,r){let i=t.resolveInner(e,r),n=null;for(let o=i instanceof Pi?i:i.context.parent;o;o=o.parent)if(o.index<0){let a=o.parent;(n||(n=[i])).push(a.resolve(e,r)),o=a}else{let a=Bs.get(o.tree);if(a&&a.overlay&&a.overlay[0].from<=e&&a.overlay[a.overlay.length-1].to>=e){let s=new Pi(a.tree,a.overlay[0].from+o.from,-1,o);(n||(n=[i])).push(kf(s,e,r,!1))}}return n?KE(n):i}var lc=class{get name(){return this.type.name}constructor(e,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Pi)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.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,r){this.index=e;let{start:i,buffer:n}=this.buffer;return this.type=r||n.set.types[n.buffer[e]],this.from=i+n.buffer[e+1],this.to=i+n.buffer[e+2],!0}yield(e){return e?e instanceof Pi?(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,r,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,r,i,this.mode));let{buffer:n}=this.buffer,o=n.findChild(this.index+4,n.buffer[this.index+3],e,r-this.buffer.start,i);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,r,i=this.mode){return this.buffer?i&Pt.ExcludeBuffers?!1:this.enterChild(1,e,r):this.yield(this._tree.enter(e,r,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Pt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Pt.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:r}=this.buffer,i=this.stack.length-1;if(e<0){let n=i<0?0:this.stack[i]+4;if(this.index!=n)return this.yieldBuf(r.findChild(n,this.index,-1,0,4))}else{let n=r.buffer[this.index+3];if(n<(i<0?r.buffer.length:r.buffer[this.stack[i]+3]))return this.yieldBuf(n)}return i<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 r,i,{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:r,parent:i}=n)}else({index:r,_parent:i}=this._tree);for(;i;{index:r,_parent:i}=i)if(r>-1)for(let o=r+e,a=e<0?-1:i._tree.children.length;o!=a;o+=e){let s=i._tree.children[o];if(this.mode&Pt.IncludeAnonymous||s instanceof qa||!s.type.isAnonymous||U4(s))return!1}return!0}move(e,r){if(r&&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,r=0){for(;(this.from==this.to||(r<1?this.from>=e:this.from>e)||(r>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,r););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,r=null,i=0;if(e&&e.context==this.buffer)e:for(let n=this.index,o=this.stack.length;o>=0;){for(let a=e;a;a=a._parent)if(a.index==n){if(n==this.index)return a;r=a,i=o+1;break e}n=this.stack[--o]}for(let n=i;n<this.stack.length;n++)r=new js(this.buffer,r,this.stack[n]);return this.bufferNode=new js(this.buffer,r,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,r){for(let i=0;;){let n=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){i++;continue}this.type.isAnonymous||(n=!0)}for(;n&&r&&r(this),n=this.type.isAnonymous,!this.nextSibling();){if(!i)return;this.parent(),i--,n=!0}}}matchContext(e){if(!this.buffer)return X4(this.node,e);let{buffer:r}=this.buffer,{types:i}=r.set;for(let n=e.length-1,o=this.stack.length-1;n>=0;o--){if(o<0)return X4(this.node,e,n);let a=i[r.buffer[this.stack[o]]];if(!a.isAnonymous){if(e[n]&&e[n]!=a.name)return!1;n--}}return!0}};function U4(t){return t.children.some(e=>e instanceof qa||!e.type.isAnonymous||U4(e))}function WZ(t){var e;let{buffer:r,nodeSet:i,maxBufferLength:n=1024,reused:o=[],minRepeatType:a=i.types.length}=t,s=Array.isArray(r)?new $4(r,r.length):r,l=i.types,c=0,u=0;function f(N,I,H,j,Y,V){let{id:ne,start:ue,end:he,size:ge}=s,ve=u;for(;ge<0;)if(s.next(),ge==-1){let _=o[ne];H.push(_),j.push(ue-N);return}else if(ge==-3){c=ne;return}else if(ge==-4){u=ne;return}else throw new RangeError(`Unrecognized record size: ${ge}`);let _e=l[ne],ae,pe,J=ue-N;if(he-ue<=n&&(pe=k(s.pos-I,Y))){let _=new Uint16Array(pe.size-pe.skip),K=s.pos-pe.size,se=_.length;for(;s.pos>K;)se=w(pe.start,_,se);ae=new qa(_,he-pe.start,i),J=pe.start-N}else{let _=s.pos-ge;s.next();let K=[],se=[],q=ne>=a?ne:-1,Je=0,st=he;for(;s.pos>_;)q>=0&&s.id==q&&s.size>=0?(s.end<=st-n&&(O(K,se,ue,Je,s.end,st,q,ve),Je=K.length,st=s.end),s.next()):V>2500?d(ue,_,K,se):f(ue,_,K,se,q,V+1);if(q>=0&&Je>0&&Je<K.length&&O(K,se,ue,Je,ue,st,q,ve),K.reverse(),se.reverse(),q>-1&&Je>0){let at=p(_e);ae=q4(_e,K,se,0,K.length,0,he-ue,at,at)}else ae=x(_e,K,se,he-ue,ve-he)}H.push(ae),j.push(J)}function d(N,I,H,j){let Y=[],V=0,ne=-1;for(;s.pos>I;){let{id:ue,start:he,end:ge,size:ve}=s;if(ve>4)s.next();else{if(ne>-1&&he<ne)break;ne<0&&(ne=ge-n),Y.push(ue,he,ge),V++,s.next()}}if(V){let ue=new Uint16Array(V*4),he=Y[Y.length-2];for(let ge=Y.length-3,ve=0;ge>=0;ge-=3)ue[ve++]=Y[ge],ue[ve++]=Y[ge+1]-he,ue[ve++]=Y[ge+2]-he,ue[ve++]=ve;H.push(new qa(ue,Y[2]-he,i)),j.push(he-N)}}function p(N){return(I,H,j)=>{let Y=0,V=I.length-1,ne,ue;if(V>=0&&(ne=I[V])instanceof ft){if(!V&&ne.type==N&&ne.length==j)return ne;(ue=ne.prop(We.lookAhead))&&(Y=H[V]+ne.length+ue)}return x(N,I,H,j,Y)}}function O(N,I,H,j,Y,V,ne,ue){let he=[],ge=[];for(;N.length>j;)he.push(N.pop()),ge.push(I.pop()+H-Y);N.push(x(i.types[ne],he,ge,V-Y,ue-V)),I.push(Y-H)}function x(N,I,H,j,Y=0,V){if(c){let ne=[We.contextHash,c];V=V?[ne].concat(V):[ne]}if(Y>25){let ne=[We.lookAhead,Y];V=V?[ne].concat(V):[ne]}return new ft(N,I,H,j,V)}function k(N,I){let H=s.fork(),j=0,Y=0,V=0,ne=H.end-n,ue={size:0,start:0,skip:0};e:for(let he=H.pos-N;H.pos>he;){let ge=H.size;if(H.id==I&&ge>=0){ue.size=j,ue.start=Y,ue.skip=V,V+=4,j+=4,H.next();continue}let ve=H.pos-ge;if(ge<0||ve<he||H.start<ne)break;let _e=H.id>=a?4:0,ae=H.start;for(H.next();H.pos>ve;){if(H.size<0)if(H.size==-3)_e+=4;else break e;else H.id>=a&&(_e+=4);H.next()}Y=ae,j+=ge,V+=_e}return(I<0||j==N)&&(ue.size=j,ue.start=Y,ue.skip=V),ue.size>4?ue:void 0}function w(N,I,H){let{id:j,start:Y,end:V,size:ne}=s;if(s.next(),ne>=0&&j<a){let ue=H;if(ne>4){let he=s.pos-(ne-4);for(;s.pos>he;)H=w(N,I,H)}I[--H]=ue,I[--H]=V-N,I[--H]=Y-N,I[--H]=j}else ne==-3?c=j:ne==-4&&(u=j);return H}let C=[],Q=[];for(;s.pos>0;)f(t.start||0,t.bufferStart||0,C,Q,-1,0);let L=(e=t.length)!==null&&e!==void 0?e:C.length?Q[0]+C[0].length:0;return new ft(l[t.topID],C.reverse(),Q.reverse(),L)}var VE=new WeakMap;function Lp(t,e){if(!t.isAnonymous||e instanceof qa||e.type!=t)return 1;let r=VE.get(e);if(r==null){r=1;for(let i of e.children){if(i.type!=t||!(i instanceof ft)){r=1;break}r+=Lp(t,i)}VE.set(e,r)}return r}function q4(t,e,r,i,n,o,a,s,l){let c=0;for(let O=i;O<n;O++)c+=Lp(t,e[O]);let u=Math.ceil(c*1.5/8),f=[],d=[];function p(O,x,k,w,C){for(let Q=k;Q<w;){let L=Q,N=x[Q],I=Lp(t,O[Q]);for(Q++;Q<w;Q++){let H=Lp(t,O[Q]);if(I+H>=u)break;I+=H}if(Q==L+1){if(I>u){let H=O[L];p(H.children,H.positions,0,H.children.length,x[L]+C);continue}f.push(O[L])}else{let H=x[Q-1]+O[Q-1].length-N;f.push(q4(t,O,x,L,Q,N,H,null,l))}d.push(N+C-o)}}return p(e,r,i,n,0),(s||l)(f,d,a)}var cc=class{constructor(){this.map=new WeakMap}setBuffer(e,r,i){let n=this.map.get(e);n||this.map.set(e,n=new Map),n.set(r,i)}getBuffer(e,r){let i=this.map.get(e);return i&&i.get(r)}set(e,r){e instanceof js?this.setBuffer(e.context.buffer,e.index,r):e instanceof Pi&&this.map.set(e.tree,r)}get(e){return e instanceof js?this.getBuffer(e.context.buffer,e.index):e instanceof Pi?this.map.get(e.tree):void 0}cursorSet(e,r){e.buffer?this.setBuffer(e.buffer.buffer,e.index,r):this.map.set(e.tree,r)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},Wo=class t{constructor(e,r,i,n,o=!1,a=!1){this.from=e,this.to=r,this.tree=i,this.offset=n,this.open=(o?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,r=[],i=!1){let n=[new t(0,e.length,e,0,!1,i)];for(let o of r)o.to>e.length&&n.push(o);return n}static applyChanges(e,r,i=128){if(!r.length)return e;let n=[],o=1,a=e.length?e[0]:null;for(let s=0,l=0,c=0;;s++){let u=s<r.length?r[s]:null,f=u?u.fromA:1e9;if(f-l>=i)for(;a&&a.from<f;){let d=a;if(l>=d.from||f<=d.to||c){let p=Math.max(d.from,l)-c,O=Math.min(d.to,f)-c;d=p>=O?null:new t(p,O,d.tree,d.offset+c,s>0,!!u)}if(d&&n.push(d),a.to>f)break;a=o<e.length?e[o++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return n}},Vo=class{startParse(e,r,i){return typeof e=="string"&&(e=new L4(e)),i=i?i.length?i.map(n=>new Ci(n.from,n.to)):[new Ci(0,0)]:[new Ci(0,e.length)],this.createParse(e,r||[],i)}parse(e,r,i){let n=this.startParse(e,r,i);for(;;){let o=n.advance();if(o)return o}}},L4=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,r){return this.string.slice(e,r)}};function Np(t){return(e,r,i,n)=>new D4(e,t,r,i,n)}var zp=class{constructor(e,r,i,n,o){this.parser=e,this.parse=r,this.overlay=i,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 M4=class{constructor(e,r,i,n,o,a,s){this.parser=e,this.predicate=r,this.mounts=i,this.index=n,this.start=o,this.target=a,this.prev=s,this.depth=0,this.ranges=[]}},z4=new We({perNode:!0}),D4=class{constructor(e,r,i,n,o){this.nest=r,this.input=i,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 i=this.baseParse.advance();if(!i)return null;if(this.baseParse=null,this.baseTree=i,this.startInner(),this.stoppedAt!=null)for(let n of this.inner)n.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let i=this.baseTree;return this.stoppedAt!=null&&(i=new ft(i.type,i.children,i.positions,i.length,i.propValues.concat([[z4,this.stoppedAt]]))),i}let e=this.inner[this.innerDone],r=e.parse.advance();if(r){this.innerDone++;let i=Object.assign(Object.create(null),e.target.props);i[We.mounted.id]=new Bs(r,e.overlay,e.parser),e.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let r=this.innerDone;r<this.inner.length;r++)this.inner[r].from<e&&(e=Math.min(e,this.inner[r].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let r=this.innerDone;r<this.inner.length;r++)this.inner[r].parse.stopAt(e)}startInner(){let e=new N4(this.fragments),r=null,i=null,n=new lc(new Pi(this.baseTree,this.ranges[0].from,0,null),Pt.IncludeAnonymous|Pt.IgnoreMounts);e:for(let o,a;;){let s=!0,l;if(this.stoppedAt!=null&&n.from>=this.stoppedAt)s=!1;else if(e.hasNode(n)){if(r){let c=r.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&&!r.ranges.some(p=>p.from<d&&p.to>f)&&r.ranges.push({from:f,to:d})}}s=!1}else if(i&&(a=VZ(i.ranges,n.from,n.to)))s=a!=2;else if(!n.type.isAnonymous&&(o=this.nest(n,this.input))&&(n.from<n.to||!o.overlay)){n.tree||FZ(n);let c=e.findMounts(n.from,o.parser);if(typeof o.overlay=="function")r=new M4(o.parser,o.overlay,c,this.inner.length,n.from,n.tree,r);else{let u=YE(this.ranges,o.overlay||(n.from<n.to?[new Ci(n.from,n.to)]:[]));u.length&&FE(u),(u.length||!o.overlay)&&this.inner.push(new zp(o.parser,u.length?o.parser.startParse(this.input,HE(c,u),u):o.parser.startParse(""),o.overlay?o.overlay.map(f=>new Ci(f.from-n.from,f.to-n.from)):null,n.tree,u.length?u[0].from:n.from)),o.overlay?u.length&&(i={ranges:u,depth:0,prev:i}):s=!1}}else r&&(l=r.predicate(n))&&(l===!0&&(l=new Ci(n.from,n.to)),l.from<l.to&&r.ranges.push(l));if(s&&n.firstChild())r&&r.depth++,i&&i.depth++;else for(;!n.nextSibling();){if(!n.parent())break e;if(r&&!--r.depth){let c=YE(this.ranges,r.ranges);c.length&&(FE(c),this.inner.splice(r.index,0,new zp(r.parser,r.parser.startParse(this.input,HE(r.mounts,c),c),r.ranges.map(u=>new Ci(u.from-r.start,u.to-r.start)),r.target,c[0].from))),r=r.prev}i&&!--i.depth&&(i=i.prev)}}}};function VZ(t,e,r){for(let i of t){if(i.from>=r)break;if(i.to>e)return i.from<=e&&i.to>=r?2:1}return 0}function ZE(t,e,r,i,n,o){if(e<r){let a=t.buffer[e+1];i.push(t.slice(e,r,a)),n.push(a-o)}}function FZ(t){let{node:e}=t,r=[],i=e.context.buffer;do r.push(t.index),t.parent();while(!t.tree);let n=t.tree,o=n.children.indexOf(i),a=n.children[o],s=a.buffer,l=[o];function c(u,f,d,p,O,x){let k=r[x],w=[],C=[];ZE(a,u,k,w,C,p);let Q=s[k+1],L=s[k+2];l.push(w.length);let N=x?c(k+4,s[k+3],a.set.types[s[k]],Q,L-Q,x-1):e.toTree();return w.push(N),C.push(Q-p),ZE(a,s[k+3],f,w,C,p),new ft(d,w,C,O)}n.children[o]=c(0,s.length,Kt.none,0,a.length,r.length-1);for(let u of l){let f=t.tree.children[u],d=t.tree.positions[u];t.yield(new Pi(f,d+t.from,u,t._tree))}}var Dp=class{constructor(e,r){this.offset=r,this.done=!1,this.cursor=e.cursor(Pt.IncludeAnonymous|Pt.IgnoreMounts)}moveTo(e){let{cursor:r}=this,i=e-this.offset;for(;!this.done&&r.from<i;)r.to>=e&&r.enter(i,1,Pt.IgnoreOverlays|Pt.ExcludeBuffers)||r.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 r=this.cursor.tree;;){if(r==e.tree)return!0;if(r.children.length&&r.positions[0]==0&&r.children[0]instanceof ft)r=r.children[0];else break}return!1}},N4=class{constructor(e){var r;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let i=this.curFrag=e[0];this.curTo=(r=i.tree.prop(z4))!==null&&r!==void 0?r:i.to,this.inner=new Dp(i.tree,-i.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 r=this.curFrag=this.fragments[this.fragI];this.curTo=(e=r.tree.prop(z4))!==null&&e!==void 0?e:r.to,this.inner=new Dp(r.tree,-r.offset)}}findMounts(e,r){var i;let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let o=this.inner.cursor.node;o;o=o.parent){let a=(i=o.tree)===null||i===void 0?void 0:i.prop(We.mounted);if(a&&a.parser==r)for(let s=this.fragI;s<this.fragments.length;s++){let l=this.fragments[s];if(l.from>=o.to)break;l.tree==this.curFrag.tree&&n.push({frag:l,pos:o.from-l.offset,mount:a})}}}return n}};function YE(t,e){let r=null,i=e;for(let n=1,o=0;n<t.length;n++){let a=t[n-1].to,s=t[n].from;for(;o<i.length;o++){let l=i[o];if(l.from>=s)break;l.to<=a||(r||(i=r=e.slice()),l.from<a?(r[o]=new Ci(l.from,a),l.to>s&&r.splice(o+1,0,new Ci(s,l.to))):l.to>s?r[o--]=new Ci(s,l.to):r.splice(o--,1))}}return i}function ZZ(t,e,r,i){let n=0,o=0,a=!1,s=!1,l=-1e9,c=[];for(;;){let u=n==t.length?1e9:a?t[n].to:t[n].from,f=o==e.length?1e9:s?e[o].to:e[o].from;if(a!=s){let d=Math.max(l,r),p=Math.min(u,f,i);d<p&&c.push(new Ci(d,p))}if(l=Math.min(u,f),l==1e9)break;u==l&&(a?(a=!1,n++):a=!0),f==l&&(s?(s=!1,o++):s=!0)}return c}function HE(t,e){let r=[];for(let{pos:i,mount:n,frag:o}of t){let a=i+(n.overlay?n.overlay[0].from:0),s=a+n.tree.length,l=Math.max(o.from,a),c=Math.min(o.to,s);if(n.overlay){let u=n.overlay.map(d=>new Ci(d.from+i,d.to+i)),f=ZZ(e,u,l,c);for(let d=0,p=l;;d++){let O=d==f.length,x=O?c:f[d].from;if(x>p&&r.push(new Wo(p,x,n.tree,-a,o.from>=p||o.openStart,o.to<=x||o.openEnd)),O)break;p=f[d].to}}else r.push(new Wo(l,c,n.tree,-a,o.from>=a||o.openStart,o.to<=s||o.openEnd))}return r}var gt=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,r,i){[e,r]=mc(this,e,r);let n=[];return this.decompose(0,e,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(r,this.length,n,1),fc.from(n,this.length-(r-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,r=this.length){[e,r]=mc(this,e,r);let i=[];return this.decompose(e,r,i,0),fc.from(i,r-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let r=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),n=new Fs(this),o=new Fs(e);for(let a=r,s=r;;){if(n.next(a),o.next(a),a=0,n.lineBreak!=o.lineBreak||n.done!=o.done||n.value!=o.value)return!1;if(s+=n.value.length,n.done||s>=i)return!0}}iter(e=1){return new Fs(this,e)}iterRange(e,r=this.length){return new jp(this,e,r)}iterLines(e,r){let i;if(e==null)i=this.iter();else{r==null&&(r=this.lines+1);let n=this.line(e).from;i=this.iterRange(n,Math.max(n,r==this.lines+1?this.length:r<=1?0:this.line(r-1).to))}return new Wp(i)}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 Di(e):fc.from(Di.split(e,[]))}},Di=class t extends gt{constructor(e,r=YZ(e)){super(),this.text=e,this.length=r}get lines(){return this.text.length}get children(){return null}lineInner(e,r,i,n){for(let o=0;;o++){let a=this.text[o],s=n+a.length;if((r?i:s)>=e)return new j4(n,s,i,a);n=s+1,i++}}decompose(e,r,i,n){let o=e<=0&&r>=this.length?this:new t(JE(this.text,e,r),Math.min(r,this.length)-Math.max(0,e));if(n&1){let a=i.pop(),s=Bp(o.text,a.text.slice(),0,o.length);if(s.length<=32)i.push(new t(s,a.length+o.length));else{let l=s.length>>1;i.push(new t(s.slice(0,l)),new t(s.slice(l)))}}else i.push(o)}replace(e,r,i){if(!(i instanceof t))return super.replace(e,r,i);[e,r]=mc(this,e,r);let n=Bp(this.text,Bp(i.text,JE(this.text,0,e)),r),o=this.length+i.length-(r-e);return n.length<=32?new t(n,o):fc.from(t.split(n,[]),o)}sliceString(e,r=this.length,i=`
`){[e,r]=mc(this,e,r);let n="";for(let o=0,a=0;o<=r&&a<this.text.length;a++){let s=this.text[a],l=o+s.length;o>e&&a&&(n+=i),e<l&&r>o&&(n+=s.slice(Math.max(0,e-o),r-o)),o=l+1}return n}flatten(e){for(let r of this.text)e.push(r)}scanIdentical(){return 0}static split(e,r){let i=[],n=-1;for(let o of e)i.push(o),n+=o.length+1,i.length==32&&(r.push(new t(i,n)),i=[],n=-1);return n>-1&&r.push(new t(i,n)),r}},fc=class t extends gt{constructor(e,r){super(),this.children=e,this.length=r,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,r,i,n){for(let o=0;;o++){let a=this.children[o],s=n+a.length,l=i+a.lines-1;if((r?l:s)>=e)return a.lineInner(e,r,i,n);n=s+1,i=l+1}}decompose(e,r,i,n){for(let o=0,a=0;a<=r&&o<this.children.length;o++){let s=this.children[o],l=a+s.length;if(e<=l&&r>=a){let c=n&((a<=e?1:0)|(l>=r?2:0));a>=e&&l<=r&&!c?i.push(s):s.decompose(e-a,r-a,i,c)}a=l+1}}replace(e,r,i){if([e,r]=mc(this,e,r),i.lines<this.lines)for(let n=0,o=0;n<this.children.length;n++){let a=this.children[n],s=o+a.length;if(e>=o&&r<=s){let l=a.replace(e-o,r-o,i),c=this.lines-a.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-(r-e)+i.length)}return super.replace(o,s,l)}o=s+1}return super.replace(e,r,i)}sliceString(e,r=this.length,i=`
`){[e,r]=mc(this,e,r);let n="";for(let o=0,a=0;o<this.children.length&&a<=r;o++){let s=this.children[o],l=a+s.length;a>e&&o&&(n+=i),e<l&&r>a&&(n+=s.sliceString(e-a,r-a,i)),a=l+1}return n}flatten(e){for(let r of this.children)r.flatten(e)}scanIdentical(e,r){if(!(e instanceof t))return 0;let i=0,[n,o,a,s]=r>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=r,o+=r){if(n==a||o==s)return i;let l=this.children[n],c=e.children[o];if(l!=c)return i+l.scanIdentical(c,r);i+=l.length+1}}static from(e,r=e.reduce((i,n)=>i+n.length+1,-1)){let i=0;for(let p of e)i+=p.lines;if(i<32){let p=[];for(let O of e)O.flatten(p);return new Di(p,r)}let n=Math.max(32,i>>5),o=n<<1,a=n>>1,s=[],l=0,c=-1,u=[];function f(p){let O;if(p.lines>o&&p instanceof t)for(let x of p.children)f(x);else p.lines>a&&(l>a||!l)?(d(),s.push(p)):p instanceof Di&&l&&(O=u[u.length-1])instanceof Di&&p.lines+O.lines<=32?(l+=p.lines,c+=p.length+1,u[u.length-1]=new Di(O.text.concat(p.text),O.length+1+p.length)):(l+p.lines>n&&d(),l+=p.lines,c+=p.length+1,u.push(p))}function d(){l!=0&&(s.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(),s.length==1?s[0]:new t(s,r)}};gt.empty=new Di([""],0);function YZ(t){let e=-1;for(let r of t)e+=r.length+1;return e}function Bp(t,e,r=0,i=1e9){for(let n=0,o=0,a=!0;o<t.length&&n<=i;o++){let s=t[o],l=n+s.length;l>=r&&(l>i&&(s=s.slice(0,i-n)),n<r&&(s=s.slice(r-n)),a?(e[e.length-1]+=s,a=!1):e.push(s)),n=l+1}return e}function JE(t,e,r){return Bp(t,[""],e,r)}var Fs=class{constructor(e,r=1){this.dir=r,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[r>0?1:(e instanceof Di?e.text.length:e.children.length)<<1]}nextInner(e,r){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,n=this.nodes[i],o=this.offsets[i],a=o>>1,s=n instanceof Di?n.text.length:n.children.length;if(a==(r>0?s:0)){if(i==0)return this.done=!0,this.value="",this;r>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(r>0?0:1)){if(this.offsets[i]+=r,e==0)return this.lineBreak=!0,this.value=`
`,this;e--}else if(n instanceof Di){let l=n.text[a+(r<0?-1:0)];if(this.offsets[i]+=r,l.length>Math.max(0,e))return this.value=e==0?l:r>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=n.children[a+(r<0?-1:0)];e>l.length?(e-=l.length,this.offsets[i]+=r):(r<0&&this.offsets[i]--,this.nodes.push(l),this.offsets.push(r>0?1:(l instanceof Di?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)}},jp=class{constructor(e,r,i){this.value="",this.done=!1,this.cursor=new Fs(e,r>i?-1:1),this.pos=r>i?e.length:0,this.from=Math.min(r,i),this.to=Math.max(r,i)}nextInner(e,r){if(r<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,r<0?this.pos-this.to:this.from-this.pos);let i=r<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*r,this.value=n.length<=i?n:r<0?n.slice(n.length-i):n.slice(0,i),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!=""}},Wp=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:r,lineBreak:i,value:n}=this.inner.next(e);return r&&this.afterBreak?(this.value="",this.afterBreak=!1):r?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}};typeof Symbol!="undefined"&&(gt.prototype[Symbol.iterator]=function(){return this.iter()},Fs.prototype[Symbol.iterator]=jp.prototype[Symbol.iterator]=Wp.prototype[Symbol.iterator]=function(){return this});var j4=class{constructor(e,r,i,n){this.from=e,this.to=r,this.number=i,this.text=n}get length(){return this.to-this.from}};function mc(t,e,r){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,r))]}var hc="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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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<hc.length;t++)hc[t]+=hc[t-1];function HZ(t){for(let e=1;e<hc.length;e+=2)if(hc[e]>t)return hc[e-1]<=t;return!1}function eC(t){return t>=127462&&t<=127487}var tC=8205;function dr(t,e,r=!0,i=!0){return(r?sC:GZ)(t,e,i)}function sC(t,e,r){if(e==t.length)return e;e&&lC(t.charCodeAt(e))&&cC(t.charCodeAt(e-1))&&e--;let i=hr(t,e);for(e+=fi(i);e<t.length;){let n=hr(t,e);if(i==tC||n==tC||r&&HZ(n))e+=fi(n),i=n;else if(eC(n)){let o=0,a=e-2;for(;a>=0&&eC(hr(t,a));)o++,a-=2;if(o%2==0)break;e+=2}else break}return e}function GZ(t,e,r){for(;e>0;){let i=sC(t,e-2,r);if(i<e)return i;e--}return 0}function lC(t){return t>=56320&&t<57344}function cC(t){return t>=55296&&t<56320}function hr(t,e){let r=t.charCodeAt(e);if(!cC(r)||e+1==t.length)return r;let i=t.charCodeAt(e+1);return lC(i)?(r-55296<<10)+(i-56320)+65536:r}function _f(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function fi(t){return t<65536?1:2}var W4=/\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={})),Fo=class t{constructor(e){this.sections=e}get length(){let e=0;for(let r=0;r<this.sections.length;r+=2)e+=this.sections[r];return e}get newLength(){let e=0;for(let r=0;r<this.sections.length;r+=2){let i=this.sections[r+1];e+=i<0?this.sections[r]:i}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let r=0,i=0,n=0;r<this.sections.length;){let o=this.sections[r++],a=this.sections[r++];a<0?(e(i,n,o),n+=o):n+=a,i+=o}}iterChangedRanges(e,r=!1){V4(this,e,r)}get invertedDesc(){let e=[];for(let r=0;r<this.sections.length;){let i=this.sections[r++],n=this.sections[r++];n<0?e.push(i,n):e.push(n,i)}return new t(e)}composeDesc(e){return this.empty?e:e.empty?this:uC(this,e)}mapDesc(e,r=!1){return e.empty?this:F4(this,e,r)}mapPos(e,r=-1,i=Wt.Simple){let n=0,o=0;for(let a=0;a<this.sections.length;){let s=this.sections[a++],l=this.sections[a++],c=n+s;if(l<0){if(c>e)return o+(e-n);o+=s}else{if(i!=Wt.Simple&&c>=e&&(i==Wt.TrackDel&&n<e&&c>e||i==Wt.TrackBefore&&n<e||i==Wt.TrackAfter&&c>e))return null;if(c>e||c==e&&r<0&&!s)return e==n||r<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,r=e){for(let i=0,n=0;i<this.sections.length&&n<=r;){let o=this.sections[i++],a=this.sections[i++],s=n+o;if(a>=0&&n<=r&&s>=e)return n<e&&s>r?"cover":!0;n=s}return!1}toString(){let e="";for(let r=0;r<this.sections.length;){let i=this.sections[r++],n=this.sections[r++];e+=(e?" ":"")+i+(n>=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(r=>typeof r!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new t(e)}static create(e){return new t(e)}},hi=class t extends Fo{constructor(e,r){super(e),this.inserted=r}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return V4(this,(r,i,n,o,a)=>e=e.replace(n,n+(i-r),a),!1),e}mapDesc(e,r=!1){return F4(this,e,r,!0)}invert(e){let r=this.sections.slice(),i=[];for(let n=0,o=0;n<r.length;n+=2){let a=r[n],s=r[n+1];if(s>=0){r[n]=s,r[n+1]=a;let l=n>>1;for(;i.length<l;)i.push(gt.empty);i.push(a?e.slice(o,o+a):gt.empty)}o+=a}return new t(r,i)}compose(e){return this.empty?e:e.empty?this:uC(this,e,!0)}map(e,r=!1){return e.empty?this:F4(this,e,r,!0)}iterChanges(e,r=!1){V4(this,e,r)}get desc(){return Fo.create(this.sections)}filter(e){let r=[],i=[],n=[],o=new Zs(this);e:for(let a=0,s=0;;){let l=a==e.length?1e9:e[a++];for(;s<l||s==l&&o.len==0;){if(o.done)break e;let u=Math.min(o.len,l-s);Kr(n,u,-1);let f=o.ins==-1?-1:o.off==0?o.ins:0;Kr(r,u,f),f>0&&Ba(i,r,o.text),o.forward(u),s+=u}let c=e[a++];for(;s<c;){if(o.done)break e;let u=Math.min(o.len,c-s);Kr(r,u,-1),Kr(n,u,o.ins==-1?-1:o.off==0?o.ins:0),o.forward(u),s+=u}}return{changes:new t(r,i),filtered:Fo.create(n)}}toJSON(){let e=[];for(let r=0;r<this.sections.length;r+=2){let i=this.sections[r],n=this.sections[r+1];n<0?e.push(i):n==0?e.push([i]):e.push([i].concat(this.inserted[r>>1].toJSON()))}return e}static of(e,r,i){let n=[],o=[],a=0,s=null;function l(u=!1){if(!u&&!n.length)return;a<r&&Kr(n,r-a,-1);let f=new t(n,o);s=s?s.compose(f.map(s)):f,n=[],o=[],a=0}function c(u){if(Array.isArray(u))for(let f of u)c(f);else if(u instanceof t){if(u.length!=r)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${r})`);l(),s=s?s.compose(u.map(s)):u}else{let{from:f,to:d=f,insert:p}=u;if(f>d||f<0||d>r)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${r})`);let O=p?typeof p=="string"?gt.of(p.split(i||W4)):p:gt.empty,x=O.length;if(f==d&&x==0)return;f<a&&l(),f>a&&Kr(n,f-a,-1),Kr(n,d-f,x),Ba(o,n,O),a=d}}return c(e),l(!s),s}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 r=[],i=[];for(let n=0;n<e.length;n++){let o=e[n];if(typeof o=="number")r.push(o,-1);else{if(!Array.isArray(o)||typeof o[0]!="number"||o.some((a,s)=>s&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)r.push(o[0],0);else{for(;i.length<n;)i.push(gt.empty);i[n]=gt.of(o.slice(1)),r.push(o[0],i[n].length)}}}return new t(r,i)}static createSet(e,r){return new t(e,r)}};function Kr(t,e,r,i=!1){if(e==0&&r<=0)return;let n=t.length-2;n>=0&&r<=0&&r==t[n+1]?t[n]+=e:e==0&&t[n]==0?t[n+1]+=r:i?(t[n]+=e,t[n+1]+=r):t.push(e,r)}function Ba(t,e,r){if(r.length==0)return;let i=e.length-2>>1;if(i<t.length)t[t.length-1]=t[t.length-1].append(r);else{for(;t.length<i;)t.push(gt.empty);t.push(r)}}function V4(t,e,r){let i=t.inserted;for(let n=0,o=0,a=0;a<t.sections.length;){let s=t.sections[a++],l=t.sections[a++];if(l<0)n+=s,o+=s;else{let c=n,u=o,f=gt.empty;for(;c+=s,u+=l,l&&i&&(f=f.append(i[a-2>>1])),!(r||a==t.sections.length||t.sections[a+1]<0);)s=t.sections[a++],l=t.sections[a++];e(n,c,o,u,f),n=c,o=u}}}function F4(t,e,r,i=!1){let n=[],o=i?[]:null,a=new Zs(t),s=new Zs(e);for(let l=-1;;)if(a.ins==-1&&s.ins==-1){let c=Math.min(a.len,s.len);Kr(n,c,-1),a.forward(c),s.forward(c)}else if(s.ins>=0&&(a.ins<0||l==a.i||a.off==0&&(s.len<a.len||s.len==a.len&&!r))){let c=s.len;for(Kr(n,s.ins,-1);c;){let u=Math.min(a.len,c);a.ins>=0&&l<a.i&&a.len<=u&&(Kr(n,0,a.ins),o&&Ba(o,n,a.text),l=a.i),a.forward(u),c-=u}s.next()}else if(a.ins>=0){let c=0,u=a.len;for(;u;)if(s.ins==-1){let f=Math.min(u,s.len);c+=f,u-=f,s.forward(f)}else if(s.ins==0&&s.len<u)u-=s.len,s.next();else break;Kr(n,c,l<a.i?a.ins:0),o&&l<a.i&&Ba(o,n,a.text),l=a.i,a.forward(a.len-u)}else{if(a.done&&s.done)return o?hi.createSet(n,o):Fo.create(n);throw new Error("Mismatched change set lengths")}}function uC(t,e,r=!1){let i=[],n=r?[]:null,o=new Zs(t),a=new Zs(e);for(let s=!1;;){if(o.done&&a.done)return n?hi.createSet(i,n):Fo.create(i);if(o.ins==0)Kr(i,o.len,0,s),o.next();else if(a.len==0&&!a.done)Kr(i,0,a.ins,s),n&&Ba(n,i,a.text),a.next();else{if(o.done||a.done)throw new Error("Mismatched change set lengths");{let l=Math.min(o.len2,a.len),c=i.length;if(o.ins==-1){let u=a.ins==-1?-1:a.off?0:a.ins;Kr(i,l,u,s),n&&u&&Ba(n,i,a.text)}else a.ins==-1?(Kr(i,o.off?0:o.len,l,s),n&&Ba(n,i,o.textBit(l))):(Kr(i,o.off?0:o.len,a.off?0:a.ins,s),n&&!a.off&&Ba(n,i,a.text));s=(o.ins>l||a.ins>=0&&a.len>l)&&(s||i.length>c),o.forward2(l),a.forward(l)}}}}var Zs=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,r=this.i-2>>1;return r>=e.length?gt.empty:e[r]}textBit(e){let{inserted:r}=this.set,i=this.i-2>>1;return i>=r.length&&!e?gt.empty:r[i].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)}},uc=class t{constructor(e,r,i){this.from=e,this.to=r,this.flags=i}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,r=-1){let i,n;return this.empty?i=n=e.mapPos(this.from,r):(i=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),i==this.from&&n==this.to?this:new t(i,n,this.flags)}extend(e,r=e){if(e<=this.anchor&&r>=this.anchor)return ce.range(e,r);let i=Math.abs(e-this.anchor)>Math.abs(r-this.anchor)?e:r;return ce.range(this.anchor,i)}eq(e,r=!1){return this.anchor==e.anchor&&this.head==e.head&&(!r||!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 ce.range(e.anchor,e.head)}static create(e,r,i){return new t(e,r,i)}},ce=class t{constructor(e,r){this.ranges=e,this.mainIndex=r}map(e,r=-1){return e.empty?this:t.create(this.ranges.map(i=>i.map(e,r)),this.mainIndex)}eq(e,r=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let i=0;i<this.ranges.length;i++)if(!this.ranges[i].eq(e.ranges[i],r))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,r=!0){return t.create([e].concat(this.ranges),r?0:this.mainIndex+1)}replaceRange(e,r=this.mainIndex){let i=this.ranges.slice();return i[r]=e,t.create(i,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(r=>uc.fromJSON(r)),e.main)}static single(e,r=e){return new t([t.range(e,r)],0)}static create(e,r=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,n=0;n<e.length;n++){let o=e[n];if(o.empty?o.from<=i:o.from<i)return t.normalized(e.slice(),r);i=o.to}return new t(e,r)}static cursor(e,r=0,i,n){return uc.create(e,e,(r==0?0:r<0?8:16)|(i==null?7:Math.min(6,i))|(n!=null?n:16777215)<<6)}static range(e,r,i,n){let o=(i!=null?i:16777215)<<6|(n==null?7:Math.min(6,n));return r<e?uc.create(r,e,48|o):uc.create(e,r,(r>e?8:0)|o)}static normalized(e,r=0){let i=e[r];e.sort((n,o)=>n.from-o.from),r=e.indexOf(i);for(let n=1;n<e.length;n++){let o=e[n],a=e[n-1];if(o.empty?o.from<=a.to:o.from<a.to){let s=a.from,l=Math.max(o.to,a.to);n<=r&&r--,e.splice(--n,2,o.anchor>o.head?t.range(l,s):t.range(s,l))}}return new t(e,r)}};function fC(t,e){for(let r of t.ranges)if(r.to>e)throw new RangeError("Selection points outside of document")}var iy=0,$e=class t{constructor(e,r,i,n,o){this.combine=e,this.compareInput=r,this.compare=i,this.isStatic=n,this.id=iy++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new t(e.combine||(r=>r),e.compareInput||((r,i)=>r===i),e.compare||(e.combine?(r,i)=>r===i:ny),!!e.static,e.enables)}of(e){return new dc([],this,0,e)}compute(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new dc(e,this,1,r)}computeN(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new dc(e,this,2,r)}from(e,r){return r||(r=i=>i),this.compute([e],i=>r(i.field(e)))}};function ny(t,e){return t==e||t.length==e.length&&t.every((r,i)=>r===e[i])}var dc=class{constructor(e,r,i,n){this.dependencies=e,this.facet=r,this.type=i,this.value=n,this.id=iy++}dynamicSlot(e){var r;let i=this.value,n=this.facet.compareInput,o=this.id,a=e[o]>>1,s=this.type==2,l=!1,c=!1,u=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((r=e[f.id])!==null&&r!==void 0?r:1)&1||u.push(e[f.id]);return{create(f){return f.values[a]=i(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||Z4(f,u)){let p=i(f);if(s?!rC(p,f.values[a],n):!n(p,f.values[a]))return f.values[a]=p,1}return 0},reconfigure:(f,d)=>{let p,O=d.config.address[o];if(O!=null){let x=Yp(d,O);if(this.dependencies.every(k=>k instanceof $e?d.facet(k)===f.facet(k):k instanceof Ot?d.field(k,!1)==f.field(k,!1):!0)||(s?rC(p=i(f),x,n):n(p=i(f),x)))return f.values[a]=x,0}else p=i(f);return f.values[a]=p,1}}}};function rC(t,e,r){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!r(t[i],e[i]))return!1;return!0}function Z4(t,e){let r=!1;for(let i of e)Tf(t,i)&1&&(r=!0);return r}function KZ(t,e,r){let i=r.map(l=>t[l.id]),n=r.map(l=>l.type),o=i.filter(l=>!(l&1)),a=t[e.id]>>1;function s(l){let c=[];for(let u=0;u<i.length;u++){let f=Yp(l,i[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 i)Tf(l,c);return l.values[a]=s(l),1},update(l,c){if(!Z4(l,o))return 0;let u=s(l);return e.compare(u,l.values[a])?0:(l.values[a]=u,1)},reconfigure(l,c){let u=Z4(l,i),f=c.config.facets[e.id],d=c.facet(e);if(f&&!u&&ny(r,f))return l.values[a]=d,0;let p=s(l);return e.compare(p,d)?(l.values[a]=d,0):(l.values[a]=p,1)}}}var iC=$e.define({static:!0}),Ot=class t{constructor(e,r,i,n,o){this.id=e,this.createF=r,this.updateF=i,this.compareF=n,this.spec=o,this.provides=void 0}static define(e){let r=new t(iy++,e.create,e.update,e.compare||((i,n)=>i===n),e);return e.provide&&(r.provides=e.provide(r)),r}create(e){let r=e.facet(iC).find(i=>i.field==this);return((r==null?void 0:r.create)||this.createF)(e)}slot(e){let r=e[this.id]>>1;return{create:i=>(i.values[r]=this.create(i),1),update:(i,n)=>{let o=i.values[r],a=this.updateF(o,n);return this.compareF(o,a)?0:(i.values[r]=a,1)},reconfigure:(i,n)=>n.config.address[this.id]!=null?(i.values[r]=n.field(this),0):(i.values[r]=this.create(i),1)}}init(e){return[this,iC.of({field:this,create:e})]}get extension(){return this}},Ws={lowest:4,low:3,default:2,high:1,highest:0};function Sf(t){return e=>new Vp(e,t)}var cr={highest:Sf(Ws.highest),high:Sf(Ws.high),default:Sf(Ws.default),low:Sf(Ws.low),lowest:Sf(Ws.lowest)},Vp=class{constructor(e,r){this.inner=e,this.prec=r}},Fp=class t{of(e){return new Ef(this,e)}reconfigure(e){return t.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}},Ef=class{constructor(e,r){this.compartment=e,this.inner=r}},Zp=class t{constructor(e,r,i,n,o,a){for(this.base=e,this.compartments=r,this.dynamicSlots=i,this.address=n,this.staticValues=o,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<i.length;)this.statusTemplate.push(0)}staticFacet(e){let r=this.address[e.id];return r==null?e.default:this.staticValues[r>>1]}static resolve(e,r,i){let n=[],o=Object.create(null),a=new Map;for(let d of JZ(e,r,a))d instanceof Ot?n.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let s=Object.create(null),l=[],c=[];for(let d of n)s[d.id]=c.length<<1,c.push(p=>d.slot(p));let u=i==null?void 0:i.config.facets;for(let d in o){let p=o[d],O=p[0].facet,x=u&&u[d]||[];if(p.every(k=>k.type==0))if(s[O.id]=l.length<<1|1,ny(x,p))l.push(i.facet(O));else{let k=O.combine(p.map(w=>w.value));l.push(i&&O.compare(k,i.facet(O))?i.facet(O):k)}else{for(let k of p)k.type==0?(s[k.id]=l.length<<1|1,l.push(k.value)):(s[k.id]=c.length<<1,c.push(w=>k.dynamicSlot(w)));s[O.id]=c.length<<1,c.push(k=>KZ(k,O,p))}}let f=c.map(d=>d(s));return new t(e,a,f,s,l,o)}};function JZ(t,e,r){let i=[[],[],[],[],[]],n=new Map;function o(a,s){let l=n.get(a);if(l!=null){if(l<=s)return;let c=i[l].indexOf(a);c>-1&&i[l].splice(c,1),a instanceof Ef&&r.delete(a.compartment)}if(n.set(a,s),Array.isArray(a))for(let c of a)o(c,s);else if(a instanceof Ef){if(r.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(a.compartment)||a.inner;r.set(a.compartment,c),o(c,s)}else if(a instanceof Vp)o(a.inner,a.prec);else if(a instanceof Ot)i[s].push(a),a.provides&&o(a.provides,s);else if(a instanceof dc)i[s].push(a),a.facet.extensions&&o(a.facet.extensions,Ws.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(c,s)}}return o(t,Ws.default),i.reduce((a,s)=>a.concat(s))}function Tf(t,e){if(e&1)return 2;let r=e>>1,i=t.status[r];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;t.status[r]=4;let n=t.computeSlot(t,t.config.dynamicSlots[r]);return t.status[r]=2|n}function Yp(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}var hC=$e.define(),Y4=$e.define({combine:t=>t.some(e=>e),static:!0}),dC=$e.define({combine:t=>t.length?t[0]:void 0,static:!0}),pC=$e.define(),mC=$e.define(),OC=$e.define(),gC=$e.define({combine:t=>t.length?t[0]:!1}),Jr=class{constructor(e,r){this.type=e,this.value=r}static define(){return new H4}},H4=class{of(e){return new Jr(this,e)}},G4=class{constructor(e){this.map=e}of(e){return new De(this,e)}},De=class t{constructor(e,r){this.type=e,this.value=r}map(e){let r=this.type.map(this.value,e);return r===void 0?void 0:r==this.value?this:new t(this.type,r)}is(e){return this.type==e}static define(e={}){return new G4(e.map||(r=>r))}static mapEffects(e,r){if(!e.length)return e;let i=[];for(let n of e){let o=n.map(r);o&&i.push(o)}return i}};De.reconfigure=De.define();De.appendConfig=De.define();var Jt=class t{constructor(e,r,i,n,o,a){this.startState=e,this.changes=r,this.selection=i,this.effects=n,this.annotations=o,this.scrollIntoView=a,this._doc=null,this._state=null,i&&fC(i,r.newLength),o.some(s=>s.type==t.time)||(this.annotations=o.concat(t.time.of(Date.now())))}static create(e,r,i,n,o,a){return new t(e,r,i,n,o,a)}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 r of this.annotations)if(r.type==e)return r.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let r=this.annotation(t.userEvent);return!!(r&&(r==e||r.length>e.length&&r.slice(0,e.length)==e&&r[e.length]=="."))}};Jt.time=Jr.define();Jt.userEvent=Jr.define();Jt.addToHistory=Jr.define();Jt.remote=Jr.define();function eY(t,e){let r=[];for(let i=0,n=0;;){let o,a;if(i<t.length&&(n==e.length||e[n]>=t[i]))o=t[i++],a=t[i++];else if(n<e.length)o=e[n++],a=e[n++];else return r;!r.length||r[r.length-1]<o?r.push(o,a):r[r.length-1]<a&&(r[r.length-1]=a)}}function bC(t,e,r){var i;let n,o,a;return r?(n=e.changes,o=hi.empty(e.changes.length),a=t.changes.compose(e.changes)):(n=e.changes.map(t.changes),o=t.changes.mapDesc(e.changes,!0),a=t.changes.compose(n)),{changes:a,selection:e.selection?e.selection.map(o):(i=t.selection)===null||i===void 0?void 0:i.map(n),effects:De.mapEffects(t.effects,n).concat(De.mapEffects(e.effects,o)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function K4(t,e,r){let i=e.selection,n=pc(e.annotations);return e.userEvent&&(n=n.concat(Jt.userEvent.of(e.userEvent))),{changes:e.changes instanceof hi?e.changes:hi.of(e.changes||[],r,t.facet(dC)),selection:i&&(i instanceof ce?i:ce.single(i.anchor,i.head)),effects:pc(e.effects),annotations:n,scrollIntoView:!!e.scrollIntoView}}function yC(t,e,r){let i=K4(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(r=!1);for(let o=1;o<e.length;o++){e[o].filter===!1&&(r=!1);let a=!!e[o].sequential;i=bC(i,K4(t,e[o],a?i.changes.newLength:t.doc.length),a)}let n=Jt.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return rY(r?tY(n):n)}function tY(t){let e=t.startState,r=!0;for(let n of e.facet(pC)){let o=n(t);if(o===!1){r=!1;break}Array.isArray(o)&&(r=r===!0?o:eY(r,o))}if(r!==!0){let n,o;if(r===!1)o=t.changes.invertedDesc,n=hi.empty(e.doc.length);else{let a=t.changes.filter(r);n=a.changes,o=a.filtered.mapDesc(a.changes).invertedDesc}t=Jt.create(e,n,t.selection&&t.selection.map(o),De.mapEffects(t.effects,o),t.annotations,t.scrollIntoView)}let i=e.facet(mC);for(let n=i.length-1;n>=0;n--){let o=i[n](t);o instanceof Jt?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Jt?t=o[0]:t=yC(e,pc(o),!1)}return t}function rY(t){let e=t.startState,r=e.facet(OC),i=t;for(let n=r.length-1;n>=0;n--){let o=r[n](t);o&&Object.keys(o).length&&(i=bC(i,K4(e,o,t.changes.newLength),!0))}return i==t?t:Jt.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}var iY=[];function pc(t){return t==null?iY:Array.isArray(t)?t:[t]}var Xt=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(Xt||(Xt={})),nY=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,J4;try{J4=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(t){}function oY(t){if(J4)return J4.test(t);for(let e=0;e<t.length;e++){let r=t[e];if(/\w/.test(r)||r>"\x80"&&(r.toUpperCase()!=r.toLowerCase()||nY.test(r)))return!0}return!1}function aY(t){return e=>{if(!/\S/.test(e))return Xt.Space;if(oY(e))return Xt.Word;for(let r=0;r<t.length;r++)if(e.indexOf(t[r])>-1)return Xt.Word;return Xt.Other}}var Tt=class t{constructor(e,r,i,n,o,a){this.config=e,this.doc=r,this.selection=i,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=o,a&&(a._state=this);for(let s=0;s<this.config.dynamicSlots.length;s++)Tf(this,s<<1);this.computeSlot=null}field(e,r=!0){let i=this.config.address[e.id];if(i==null){if(r)throw new RangeError("Field is not present in this state");return}return Tf(this,i),Yp(this,i)}update(...e){return yC(this,e,!0)}applyTransaction(e){let r=this.config,{base:i,compartments:n}=r;for(let s of e.effects)s.is(Fp.reconfigure)?(r&&(n=new Map,r.compartments.forEach((l,c)=>n.set(c,l)),r=null),n.set(s.value.compartment,s.value.extension)):s.is(De.reconfigure)?(r=null,i=s.value):s.is(De.appendConfig)&&(r=null,i=pc(i).concat(s.value));let o;r?o=e.startState.values.slice():(r=Zp.resolve(i,n,this),o=new t(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let a=e.startState.facet(Y4)?e.newSelection:e.newSelection.asSingle();new t(r,e.newDoc,a,o,(s,l)=>l.update(s,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:e},range:ce.cursor(r.from+e.length)}))}changeByRange(e){let r=this.selection,i=e(r.ranges[0]),n=this.changes(i.changes),o=[i.range],a=pc(i.effects);for(let s=1;s<r.ranges.length;s++){let l=e(r.ranges[s]),c=this.changes(l.changes),u=c.map(n);for(let d=0;d<s;d++)o[d]=o[d].map(u);let f=n.mapDesc(c,!0);o.push(l.range.map(f)),n=n.compose(u),a=De.mapEffects(a,u).concat(De.mapEffects(pc(l.effects),f))}return{changes:n,selection:ce.create(o,r.mainIndex),effects:a}}changes(e=[]){return e instanceof hi?e:hi.of(e,this.doc.length,this.facet(t.lineSeparator))}toText(e){return gt.of(e.split(this.facet(t.lineSeparator)||W4))}sliceDoc(e=0,r=this.doc.length){return this.doc.sliceString(e,r,this.lineBreak)}facet(e){let r=this.config.address[e.id];return r==null?e.default:(Tf(this,r),Yp(this,r))}toJSON(e){let r={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let i in e){let n=e[i];n instanceof Ot&&this.config.address[n.id]!=null&&(r[i]=n.spec.toJSON(this.field(e[i]),this))}return r}static fromJSON(e,r={},i){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let n=[];if(i){for(let o in i)if(Object.prototype.hasOwnProperty.call(e,o)){let a=i[o],s=e[o];n.push(a.init(l=>a.spec.fromJSON(s,l)))}}return t.create({doc:e.doc,selection:ce.fromJSON(e.selection),extensions:r.extensions?n.concat([r.extensions]):n})}static create(e={}){let r=Zp.resolve(e.extensions||[],new Map),i=e.doc instanceof gt?e.doc:gt.of((e.doc||"").split(r.staticFacet(t.lineSeparator)||W4)),n=e.selection?e.selection instanceof ce?e.selection:ce.single(e.selection.anchor,e.selection.head):ce.single(0);return fC(n,i.length),r.staticFacet(Y4)||(n=n.asSingle()),new t(r,i,n,r.dynamicSlots.map(()=>null),(o,a)=>a.create(o),null)}get tabSize(){return this.facet(t.tabSize)}get lineBreak(){return this.facet(t.lineSeparator)||`
`}get readOnly(){return this.facet(gC)}phrase(e,...r){for(let i of this.facet(t.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return r.length&&(e=e.replace(/\$(\$|\d*)/g,(i,n)=>{if(n=="$")return"$";let o=+(n||1);return!o||o>r.length?i:r[o-1]})),e}languageDataAt(e,r,i=-1){let n=[];for(let o of this.facet(hC))for(let a of o(this,r,i))Object.prototype.hasOwnProperty.call(a,e)&&n.push(a[e]);return n}charCategorizer(e){return aY(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:r,from:i,length:n}=this.doc.lineAt(e),o=this.charCategorizer(e),a=e-i,s=e-i;for(;a>0;){let l=dr(r,a,!1);if(o(r.slice(l,a))!=Xt.Word)break;a=l}for(;s<n;){let l=dr(r,s);if(o(r.slice(s,l))!=Xt.Word)break;s=l}return a==s?null:ce.range(a+i,s+i)}};Tt.allowMultipleSelections=Y4;Tt.tabSize=$e.define({combine:t=>t.length?t[0]:4});Tt.lineSeparator=dC;Tt.readOnly=gC;Tt.phrases=$e.define({compare(t,e){let r=Object.keys(t),i=Object.keys(e);return r.length==i.length&&r.every(n=>t[n]==e[n])}});Tt.languageData=hC;Tt.changeFilter=pC;Tt.transactionFilter=mC;Tt.transactionExtender=OC;Fp.reconfigure=De.define();function Vt(t,e,r={}){let i={};for(let n of t)for(let o of Object.keys(n)){let a=n[o],s=i[o];if(s===void 0)i[o]=a;else if(!(s===a||a===void 0))if(Object.hasOwnProperty.call(r,o))i[o]=r[o](s,a);else throw new Error("Config merge conflict for field "+o)}for(let n in e)i[n]===void 0&&(i[n]=e[n]);return i}var En=class{eq(e){return this==e}range(e,r=e){return Cf.create(e,r,this)}};En.prototype.startSide=En.prototype.endSide=0;En.prototype.point=!1;En.prototype.mapMode=Wt.TrackDel;var Cf=class t{constructor(e,r,i){this.from=e,this.to=r,this.value=i}static create(e,r,i){return new t(e,r,i)}};function ey(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}var ty=class t{constructor(e,r,i,n){this.from=e,this.to=r,this.value=i,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,r,i,n=0){let o=i?this.to:this.from;for(let a=n,s=o.length;;){if(a==s)return a;let l=a+s>>1,c=o[l]-e||(i?this.value[l].endSide:this.value[l].startSide)-r;if(l==a)return c>=0?a:s;c>=0?s=l:a=l+1}}between(e,r,i,n){for(let o=this.findIndex(r,-1e9,!0),a=this.findIndex(i,1e9,!1,o);o<a;o++)if(n(this.from[o]+e,this.to[o]+e,this.value[o])===!1)return!1}map(e,r){let i=[],n=[],o=[],a=-1,s=-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 O=r.mapPos(u,c.startSide,c.mapMode);if(O==null||(d=p=O,c.startSide!=c.endSide&&(p=r.mapPos(u,c.endSide),p<d)))continue}else if(d=r.mapPos(u,c.startSide),p=r.mapPos(f,c.endSide),d>p||d==p&&c.startSide>0&&c.endSide<=0)continue;(p-d||c.endSide-c.startSide)<0||(a<0&&(a=d),c.point&&(s=Math.max(s,p-d)),i.push(c),n.push(d-a),o.push(p-a))}return{mapped:i.length?new t(n,o,i,s):null,pos:a}}},Et=class t{constructor(e,r,i,n){this.chunkPos=e,this.chunk=r,this.nextLayer=i,this.maxPoint=n}static create(e,r,i,n){return new t(e,r,i,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 r of this.chunk)e+=r.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:r=[],sort:i=!1,filterFrom:n=0,filterTo:o=this.length}=e,a=e.filter;if(r.length==0&&!a)return this;if(i&&(r=r.slice().sort(ey)),this.isEmpty)return r.length?t.of(r):this;let s=new Hp(this,null,-1).goto(0),l=0,c=[],u=new Ni;for(;s.value||l<r.length;)if(l<r.length&&(s.from-r[l].from||s.startSide-r[l].value.startSide)>=0){let f=r[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else s.rangeIndex==1&&s.chunkIndex<this.chunk.length&&(l==r.length||this.chunkEnd(s.chunkIndex)<r[l].from)&&(!a||n>this.chunkEnd(s.chunkIndex)||o<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!a||n>s.to||o<s.from||a(s.from,s.to,s.value))&&(u.addInner(s.from,s.to,s.value)||c.push(Cf.create(s.from,s.to,s.value))),s.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?t.empty:this.nextLayer.update({add:c,filter:a,filterFrom:n,filterTo:o}))}map(e){if(e.empty||this.isEmpty)return this;let r=[],i=[],n=-1;for(let a=0;a<this.chunk.length;a++){let s=this.chunkPos[a],l=this.chunk[a],c=e.touchesRange(s,s+l.length);if(c===!1)n=Math.max(n,l.maxPoint),r.push(l),i.push(e.mapPos(s));else if(c===!0){let{mapped:u,pos:f}=l.map(s,e);u&&(n=Math.max(n,u.maxPoint),r.push(u),i.push(f))}}let o=this.nextLayer.map(e);return r.length==0?o:new t(i,r,o||t.empty,n)}between(e,r,i){if(!this.isEmpty){for(let n=0;n<this.chunk.length;n++){let o=this.chunkPos[n],a=this.chunk[n];if(r>=o&&e<=o+a.length&&a.between(o,e-o,r-o,i)===!1)return}this.nextLayer.between(e,r,i)}}iter(e=0){return Pf.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,r=0){return Pf.from(e).goto(r)}static compare(e,r,i,n,o=-1){let a=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),s=r.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=nC(a,s,i),c=new Vs(a,l,o),u=new Vs(s,l,o);i.iterGaps((f,d,p)=>oC(c,f,u,d,p,n)),i.empty&&i.length==0&&oC(c,0,u,0,0,n)}static eq(e,r,i=0,n){n==null&&(n=999999999);let o=e.filter(u=>!u.isEmpty&&r.indexOf(u)<0),a=r.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=a.length)return!1;if(!o.length)return!0;let s=nC(o,a),l=new Vs(o,s,0).goto(i),c=new Vs(a,s,0).goto(i);for(;;){if(l.to!=c.to||!ry(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,r,i,n,o=-1){let a=new Vs(e,null,o).goto(r),s=r,l=a.openStart;for(;;){let c=Math.min(a.to,i);if(a.point){let u=a.activeForPoint(a.to),f=a.pointFrom<r?u.length+1:Math.min(u.length,l);n.point(s,c,a.point,u,f,a.pointRank),l=Math.min(a.openEnd(c),u.length)}else c>s&&(n.span(s,c,a.active,l),l=a.openEnd(c));if(a.to>i)return l+(a.point&&a.to>i?1:0);s=a.to,a.next()}}static of(e,r=!1){let i=new Ni;for(let n of e instanceof Cf?[e]:r?sY(e):e)i.add(n.from,n.to,n.value);return i.finish()}static join(e){if(!e.length)return t.empty;let r=e[e.length-1];for(let i=e.length-2;i>=0;i--)for(let n=e[i];n!=t.empty;n=n.nextLayer)r=new t(n.chunkPos,n.chunk,r,Math.max(n.maxPoint,r.maxPoint));return r}};Et.empty=new Et([],[],null,-1);function sY(t){if(t.length>1)for(let e=t[0],r=1;r<t.length;r++){let i=t[r];if(ey(e,i)>0)return t.slice().sort(ey);e=i}return t}Et.empty.nextLayer=Et.empty;var Ni=class t{finishChunk(e){this.chunks.push(new ty(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,r,i){this.addInner(e,r,i)||(this.nextLayer||(this.nextLayer=new t)).add(e,r,i)}addInner(e,r,i){let n=e-this.lastTo||i.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||i.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(r-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=r,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,r-e)),!0)}addChunk(e,r){if((e-this.lastTo||r.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,r.maxPoint),this.chunks.push(r),this.chunkPos.push(e);let i=r.value.length-1;return this.last=r.value[i],this.lastFrom=r.from[i]+e,this.lastTo=r.to[i]+e,!0}finish(){return this.finishInner(Et.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let r=Et.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,r}};function nC(t,e,r){let i=new Map;for(let o of t)for(let a=0;a<o.chunk.length;a++)o.chunk[a].maxPoint<=0&&i.set(o.chunk[a],o.chunkPos[a]);let n=new Set;for(let o of e)for(let a=0;a<o.chunk.length;a++){let s=i.get(o.chunk[a]);s!=null&&(r?r.mapPos(s):s)==o.chunkPos[a]&&!(r!=null&&r.touchesRange(s,s+o.chunk[a].length))&&n.add(o.chunk[a])}return n}var Hp=class{constructor(e,r,i,n=0){this.layer=e,this.skip=r,this.minPoint=i,this.rank=n}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,r=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,r,!1),this}gotoInner(e,r,i){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++,i=!1}if(this.chunkIndex<this.layer.chunk.length){let n=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],r,!0);(!i||this.rangeIndex<n)&&this.setRangeIndex(n)}this.next()}forward(e,r){(this.to-e||this.endSide-r)<0&&this.gotoInner(e,r,!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],r=this.layer.chunk[this.chunkIndex],i=e+r.from[this.rangeIndex];if(this.from=i,this.to=e+r.to[this.rangeIndex],this.value=r.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}},Pf=class t{constructor(e){this.heap=e}static from(e,r=null,i=-1){let n=[];for(let o=0;o<e.length;o++)for(let a=e[o];!a.isEmpty;a=a.nextLayer)a.maxPoint>=i&&n.push(new Hp(a,r,i,o));return n.length==1?n[0]:new t(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,r=-1e9){for(let i of this.heap)i.goto(e,r);for(let i=this.heap.length>>1;i>=0;i--)B4(this.heap,i);return this.next(),this}forward(e,r){for(let i of this.heap)i.forward(e,r);for(let i=this.heap.length>>1;i>=0;i--)B4(this.heap,i);(this.to-e||this.value.endSide-r)<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(),B4(this.heap,0)}}};function B4(t,e){for(let r=t[e];;){let i=(e<<1)+1;if(i>=t.length)break;let n=t[i];if(i+1<t.length&&n.compare(t[i+1])>=0&&(n=t[i+1],i++),r.compare(n)<0)break;t[i]=r,t[e]=n,e=i}}var Vs=class{constructor(e,r,i){this.minPoint=i,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=Pf.from(e,r,i)}goto(e,r=-1e9){return this.cursor.goto(e,r),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=r,this.openStart=-1,this.next(),this}forward(e,r){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-r)<0;)this.removeActive(this.minActive);this.cursor.forward(e,r)}removeActive(e){Up(this.active,e),Up(this.activeTo,e),Up(this.activeRank,e),this.minActive=aC(this.active,this.activeTo)}addActive(e){let r=0,{value:i,to:n,rank:o}=this.cursor;for(;r<this.activeRank.length&&(o-this.activeRank[r]||n-this.activeTo[r])>0;)r++;qp(this.active,r,i),qp(this.activeTo,r,n),qp(this.activeRank,r,o),e&&qp(e,r,this.cursor.from),this.minActive=aC(this.active,this.activeTo)}next(){let e=this.to,r=this.point;this.point=null;let i=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),i&&Up(i,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(i),this.cursor.next();else if(r&&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(i){this.openStart=0;for(let n=i.length-1;n>=0&&i[n]<e;n--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let r=[];for(let i=this.active.length-1;i>=0&&!(this.activeRank[i]<this.pointRank);i--)(this.activeTo[i]>e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&r.push(this.active[i]);return r.reverse()}openEnd(e){let r=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)r++;return r}};function oC(t,e,r,i,n,o){t.goto(e),r.goto(i);let a=i+n,s=i,l=i-e;for(;;){let c=t.to+l-r.to||t.endSide-r.endSide,u=c<0?t.to+l:r.to,f=Math.min(u,a);if(t.point||r.point?t.point&&r.point&&(t.point==r.point||t.point.eq(r.point))&&ry(t.activeForPoint(t.to),r.activeForPoint(r.to))||o.comparePoint(s,f,t.point,r.point):f>s&&!ry(t.active,r.active)&&o.compareRange(s,f,t.active,r.active),u>a)break;s=u,c<=0&&t.next(),c>=0&&r.next()}}function ry(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!=e[r]&&!t[r].eq(e[r]))return!1;return!0}function Up(t,e){for(let r=e,i=t.length-1;r<i;r++)t[r]=t[r+1];t.pop()}function qp(t,e,r){for(let i=t.length-1;i>=e;i--)t[i+1]=t[i];t[e]=r}function aC(t,e){let r=-1,i=1e9;for(let n=0;n<e.length;n++)(e[n]-i||t[n].endSide-t[r].endSide)<0&&(r=n,i=e[n]);return r}function di(t,e,r=t.length){let i=0;for(let n=0;n<r;)t.charCodeAt(n)==9?(i+=e-i%e,n++):(i++,n=dr(t,n));return i}function Gp(t,e,r,i){for(let n=0,o=0;;){if(o>=e)return n;if(n==t.length)break;o+=t.charCodeAt(n)==9?r-o%r:1,n=dr(t,n)}return i===!0?-1:t.length}var oy="\u037C",vC=typeof Symbol=="undefined"?"__"+oy:Symbol.for(oy),ay=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),xC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{},_i=class{constructor(e,r){this.rules=[];let{finish:i}=r||{};function n(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function o(a,s,l,c){let u=[],f=/^@(\w+)\b/.exec(a[0]),d=f&&f[1]=="keyframes";if(f&&s==null)return l.push(a[0]+";");for(let p in s){let O=s[p];if(/&/.test(p))o(p.split(/,\s*/).map(x=>a.map(k=>x.replace(/&/,k))).reduce((x,k)=>x.concat(k)),O,l);else if(O&&typeof O=="object"){if(!f)throw new RangeError("The value of a property ("+p+") should be a primitive value.");o(n(p),O,u,d)}else O!=null&&u.push(p.replace(/_.*/,"").replace(/[A-Z]/g,x=>"-"+x.toLowerCase())+": "+O+";")}(u.length||d)&&l.push((i&&!f&&!c?a.map(i):a).join(", ")+" {"+u.join(" ")+"}")}for(let a in e)o(n(a),e[a],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let e=xC[vC]||1;return xC[vC]=e+1,oy+e.toString(36)}static mount(e,r,i){let n=e[ay],o=i&&i.nonce;n?o&&n.setNonce(o):n=new sy(e,o),n.mount(Array.isArray(r)?r:[r])}},wC=new Map,sy=class{constructor(e,r){let i=e.ownerDocument||e,n=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let o=wC.get(i);if(o)return e.adoptedStyleSheets=[o.sheet,...e.adoptedStyleSheets],e[ay]=o;this.sheet=new n.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],wC.set(i,this)}else{this.styleTag=i.createElement("style"),r&&this.styleTag.setAttribute("nonce",r);let o=e.head||e;o.insertBefore(this.styleTag,o.firstChild)}this.modules=[],e[ay]=this}mount(e){let r=this.sheet,i=0,n=0;for(let o=0;o<e.length;o++){let a=e[o],s=this.modules.indexOf(a);if(s<n&&s>-1&&(this.modules.splice(s,1),n--,s=-1),s==-1){if(this.modules.splice(n++,0,a),r)for(let l=0;l<a.rules.length;l++)r.insertRule(a.rules[l],i++)}else{for(;n<s;)i+=this.modules[n++].rules.length;i+=a.rules.length,n++}}if(!r){let o="";for(let a=0;a<this.modules.length;a++)o+=this.modules[a].getRules()+`
`;this.styleTag.textContent=o}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}};var Zo={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:"'"},Oc={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},lY=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),cY=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(pr=0;pr<10;pr++)Zo[48+pr]=Zo[96+pr]=String(pr);var pr;for(pr=1;pr<=24;pr++)Zo[pr+111]="F"+pr;var pr;for(pr=65;pr<=90;pr++)Zo[pr]=String.fromCharCode(pr+32),Oc[pr]=String.fromCharCode(pr);var pr;for(Kp in Zo)Oc.hasOwnProperty(Kp)||(Oc[Kp]=Zo[Kp]);var Kp;function kC(t){var e=lY&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||cY&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",r=!e&&t.key||(t.shiftKey?Oc:Zo)[t.keyCode]||t.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}function pm(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function my(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function uY(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function lm(t,e){if(!e.anchorNode)return!1;try{return my(t,e.anchorNode)}catch(r){return!1}}function Bf(t){return t.nodeType==3?Ys(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Lf(t,e,r,i){return r?SC(t,e,r,i,-1)||SC(t,e,r,i,1):!1}function jf(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function SC(t,e,r,i,n){for(;;){if(t==r&&e==i)return!0;if(e==(n<0?0:Yo(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=jf(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?Yo(t):0}else return!1}}function Yo(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function rv(t,e){let r=e?t.left:t.right;return{left:r,right:r,top:t.top,bottom:t.bottom}}function fY(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function u9(t,e){let r=e.width/t.offsetWidth,i=e.height/t.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.width-t.offsetWidth)<1)&&(r=1),(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.height-t.offsetHeight)<1)&&(i=1),{scaleX:r,scaleY:i}}function hY(t,e,r,i,n,o,a,s){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,O=1,x=1;if(p)d=fY(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 C=u.getBoundingClientRect();({scaleX:O,scaleY:x}=u9(u,C)),d={left:C.left,right:C.left+u.clientWidth*O,top:C.top,bottom:C.top+u.clientHeight*x}}let k=0,w=0;if(n=="nearest")e.top<d.top?(w=-(d.top-e.top+a),r>0&&e.bottom>d.bottom+w&&(w=e.bottom-d.bottom+w+a)):e.bottom>d.bottom&&(w=e.bottom-d.bottom+a,r<0&&e.top-w<d.top&&(w=-(d.top+w-e.top+a)));else{let C=e.bottom-e.top,Q=d.bottom-d.top;w=(n=="center"&&C<=Q?e.top+C/2-Q/2:n=="start"||n=="center"&&r<0?e.top-a:e.bottom-Q+a)-d.top}if(i=="nearest"?e.left<d.left?(k=-(d.left-e.left+o),r>0&&e.right>d.right+k&&(k=e.right-d.right+k+o)):e.right>d.right&&(k=e.right-d.right+o,r<0&&e.left<d.left+k&&(k=-(d.left+k-e.left+o))):k=(i=="center"?e.left+(e.right-e.left)/2-(d.right-d.left)/2:i=="start"==s?e.left-o:e.right-(d.right-d.left)+o)-d.left,k||w)if(p)c.scrollBy(k,w);else{let C=0,Q=0;if(w){let L=u.scrollTop;u.scrollTop+=w/x,Q=(u.scrollTop-L)*x}if(k){let L=u.scrollLeft;u.scrollLeft+=k/O,C=(u.scrollLeft-L)*O}e={left:e.left-C,top:e.top-Q,right:e.right-C,bottom:e.bottom-Q},C&&Math.abs(C-k)<1&&(i="nearest"),Q&&Math.abs(Q-w)<1&&(n="nearest")}if(p)break;u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function dY(t){let e=t.ownerDocument;for(let r=t.parentNode;r&&r!=e.body;)if(r.nodeType==1){if(r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth)return r;r=r.assignedSlot||r.parentNode}else if(r.nodeType==11)r=r.host;else break;return null}var Oy=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:r,focusNode:i}=e;this.set(r,Math.min(e.anchorOffset,r?Yo(r):0),i,Math.min(e.focusOffset,i?Yo(i):0))}set(e,r,i,n){this.anchorNode=e,this.anchorOffset=r,this.focusNode=i,this.focusOffset=n}},gc=null;function f9(t){if(t.setActive)return t.setActive();if(gc)return t.focus(gc);let e=[];for(let r=t;r&&(e.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(t.focus(gc==null?{get preventScroll(){return gc={preventScroll:!0},!0}}:void 0),!gc){gc=!1;for(let r=0;r<e.length;){let i=e[r++],n=e[r++],o=e[r++];i.scrollTop!=n&&(i.scrollTop=n),i.scrollLeft!=o&&(i.scrollLeft=o)}}}var TC;function Ys(t,e,r=e){let i=TC||(TC=document.createRange());return i.setEnd(t,r),i.setStart(t,e),i}function xc(t,e,r){let i={key:e,code:e,keyCode:r,which:r,cancelable:!0},n=new KeyboardEvent("keydown",i);n.synthetic=!0,t.dispatchEvent(n);let o=new KeyboardEvent("keyup",i);return o.synthetic=!0,t.dispatchEvent(o),n.defaultPrevented||o.defaultPrevented}function pY(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function h9(t){for(;t.attributes.length;)t.removeAttributeNode(t.attributes[0])}function mY(t,e){let r=e.focusNode,i=e.focusOffset;if(!r||e.anchorNode!=r||e.anchorOffset!=i)return!1;for(i=Math.min(i,Yo(r));;)if(i){if(r.nodeType!=1)return!1;let n=r.childNodes[i-1];n.contentEditable=="false"?i--:(r=n,i=Yo(r))}else{if(r==t)return!0;i=jf(r),r=r.parentNode}}function d9(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}var pi=class t{constructor(e,r,i=!0){this.node=e,this.offset=r,this.precise=i}static before(e,r){return new t(e.parentNode,jf(e),r)}static after(e,r){return new t(e.parentNode,jf(e)+1,r)}},iv=[],Ft=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 r=this.posAtStart;for(let i of this.children){if(i==e)return r;r+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,r){if(this.flags&2){let i=this.dom,n=null,o;for(let a of this.children){if(a.flags&7){if(!a.dom&&(o=n?n.nextSibling:i.firstChild)){let s=t.get(o);(!s||!s.parent&&s.canReuseDOM(a))&&a.reuseDOM(o)}a.sync(e,r),a.flags&=-8}if(o=n?n.nextSibling:i.firstChild,r&&!r.written&&r.node==i&&o!=a.dom&&(r.written=!0),a.dom.parentNode==i)for(;o&&o!=a.dom;)o=EC(o);else i.insertBefore(a.dom,o);n=a.dom}for(o=n?n.nextSibling:i.firstChild,o&&r&&r.node==i&&(r.written=!0);o;)o=EC(o)}else if(this.flags&1)for(let i of this.children)i.flags&7&&(i.sync(e,r),i.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,r){let i;if(e==this.dom)i=this.dom.childNodes[r];else{let n=Yo(e)==0?0:r==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?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!t.get(i);)i=i.nextSibling;if(!i)return this.length;for(let n=0,o=0;;n++){let a=this.children[n];if(a.dom==i)return o;o+=a.length+a.breakAfter}}domBoundsAround(e,r,i=0){let n=-1,o=-1,a=-1,s=-1;for(let l=0,c=i,u=i;l<this.children.length;l++){let f=this.children[l],d=c+f.length;if(c<e&&d>r)return f.domBoundsAround(e,r,c);if(d>=e&&n==-1&&(n=l,o=c),c>r&&f.dom.parentNode==this.dom){a=l,s=u;break}u=d,c=d+f.breakAfter}return{from:o,to:s<0?i+this.length:s,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a<this.children.length&&a>=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let r=this.parent;r;r=r.parent){if(e&&(r.flags|=2),r.flags&1)return;r.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 r=e.parent;if(!r)return e;e=r}}replaceChildren(e,r,i=iv){this.markDirty();for(let n=e;n<r;n++){let o=this.children[n];o.parent==this&&i.indexOf(o)<0&&o.destroy()}this.children.splice(e,r-e,...i);for(let n=0;n<i.length;n++)i[n].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new mm(this.children,e,this.children.length)}childPos(e,r=1){return this.childCursor().findPos(e,r)}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,r,i,n,o,a){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}};Ft.prototype.breakAfter=0;function EC(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}var mm=class{constructor(e,r,i){this.children=e,this.pos=r,this.i=i,this.off=0}findPos(e,r=1){for(;;){if(e>this.pos||e==this.pos&&(r>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}};function p9(t,e,r,i,n,o,a,s,l){let{children:c}=t,u=c.length?c[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:a;if(!(e==i&&u&&!a&&!d&&o.length<2&&u.merge(r,n,o.length?f:null,r==0,s,l))){if(i<c.length){let p=c[i];p&&(n<p.length||p.breakAfter&&(f!=null&&f.breakAfter))?(e==i&&(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:a=1),i++}for(u&&(u.breakAfter=a,r>0&&(!a&&o.length&&u.merge(r,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(r<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(r,u.length,null,!1,s,0),e++));e<i&&o.length;)if(c[i-1].become(o[o.length-1]))i--,o.pop(),l=o.length?0:s;else if(c[e].become(o[0]))e++,o.shift(),s=o.length?0:l;else break;!o.length&&e&&i<c.length&&!c[e-1].breakAfter&&c[i].merge(0,0,c[e-1],!1,s,l)&&e--,(e<i||o.length)&&t.replaceChildren(e,i,o)}}function m9(t,e,r,i,n,o){let a=t.childCursor(),{i:s,off:l}=a.findPos(r,1),{i:c,off:u}=a.findPos(e,-1),f=e-r;for(let d of i)f+=d.length;t.length+=f,p9(t,c,u,s,l,i,0,n,o)}var Ui=typeof navigator!="undefined"?navigator:{userAgent:"",vendor:"",platform:""},gy=typeof document!="undefined"?document:{documentElement:{style:{}}},by=/Edge\/(\d+)/.exec(Ui.userAgent),O9=/MSIE \d/.test(Ui.userAgent),yy=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ui.userAgent),_m=!!(O9||yy||by),CC=!_m&&/gecko\/(\d+)/i.test(Ui.userAgent),ly=!_m&&/Chrome\/(\d+)/.exec(Ui.userAgent),PC="webkitFontSmoothing"in gy.documentElement.style,g9=!_m&&/Apple Computer/.test(Ui.vendor),_C=g9&&(/Mobile\/\w+/.test(Ui.userAgent)||Ui.maxTouchPoints>2),Ne={mac:_C||/Mac/.test(Ui.platform),windows:/Win/.test(Ui.platform),linux:/Linux|X11/.test(Ui.platform),ie:_m,ie_version:O9?gy.documentMode||6:yy?+yy[1]:by?+by[1]:0,gecko:CC,gecko_version:CC?+(/Firefox\/(\d+)/.exec(Ui.userAgent)||[0,0])[1]:0,chrome:!!ly,chrome_version:ly?+ly[1]:0,ios:_C,android:/Android\b/.test(Ui.userAgent),webkit:PC,safari:g9,webkit_version:PC?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:gy.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"},OY=256,Va=class t extends Ft{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,r){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(r&&r.node==this.dom&&(r.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,r,i){return this.flags&8||i&&(!(i instanceof t)||this.length-(r-e)+i.length>OY||i.flags&8)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(r),this.markDirty(),!0)}split(e){let r=new t(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),r.flags|=this.flags&8,r}localPosFromDOM(e,r){return e==this.dom?r:r?this.text.length:0}domAtPos(e){return new pi(this.dom,e)}domBoundsAround(e,r,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,r){return gY(this.dom,e,r)}},Fa=class t extends Ft{constructor(e,r=[],i=0){super(),this.mark=e,this.children=r,this.length=i;for(let n of r)n.setParent(this)}setAttrs(e){if(h9(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let r in this.mark.attrs)e.setAttribute(r,this.mark.attrs[r]);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,r){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,r)}merge(e,r,i,n,o,a){return i&&(!(i instanceof t&&i.mark.eq(this.mark))||e&&o<=0||r<this.length&&a<=0)?!1:(m9(this,e,r,i?i.children.slice():[],o-1,a-1),this.markDirty(),!0)}split(e){let r=[],i=0,n=-1,o=0;for(let s of this.children){let l=i+s.length;l>e&&r.push(i<e?s.split(e-i):s),n<0&&i>=e&&(n=o),i=l,o++}let a=this.length-e;return this.length=e,n>-1&&(this.children.length=n,this.markDirty()),new t(this.mark,r,a)}domAtPos(e){return b9(this,e)}coordsAt(e,r){return v9(this,e,r)}};function gY(t,e,r){let i=t.nodeValue.length;e>i&&(e=i);let n=e,o=e,a=0;e==0&&r<0||e==i&&r>=0?Ne.chrome||Ne.gecko||(e?(n--,a=1):o<i&&(o++,a=-1)):r<0?n--:o<i&&o++;let s=Ys(t,n,o).getClientRects();if(!s.length)return null;let l=s[(a?a<0:r>=0)?0:s.length-1];return Ne.safari&&!a&&l.width==0&&(l=Array.prototype.find.call(s,c=>c.width)||l),a?rv(l,a<0):l||null}var Wf=class t extends Ft{static create(e,r,i){return new t(e,r,i)}constructor(e,r,i){super(),this.widget=e,this.length=r,this.side=i,this.prevWidget=null}split(e){let r=t.create(this.widget,this.length-e,this.side);return this.length-=e,r}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,r,i,n,o,a){return i&&(!(i instanceof t)||!this.widget.compare(i.widget)||e>0&&o<=0||r<this.length&&a<=0)?!1:(this.length=e+(i?i.length:0)+(this.length-r),!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 gt.empty;let e=this;for(;e.parent;)e=e.parent;let{view:r}=e,i=r&&r.state.doc,n=this.posAtStart;return i?i.slice(n,n+this.length):gt.empty}domAtPos(e){return(this.length?e==0:this.side>0)?pi.before(this.dom):pi.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,r){let i=this.widget.coordsAt(this.dom,e,r);if(i)return i;let n=this.dom.getClientRects(),o=null;if(!n.length)return null;let a=this.side?this.side<0:e>0;for(let s=a?n.length-1:0;o=n[s],!(e>0?s==0:s==n.length-1||o.top<o.bottom);s+=a?-1:1);return rv(o,!a)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},Vf=class t extends Ft{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?pi.before(this.dom):pi.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return gt.empty}get isHidden(){return!0}};Va.prototype.children=Wf.prototype.children=Vf.prototype.children=iv;function b9(t,e){let r=t.dom,{children:i}=t,n=0;for(let o=0;n<i.length;n++){let a=i[n],s=o+a.length;if(!(s==o&&a.getSide()<=0)){if(e>o&&e<s&&a.dom.parentNode==r)return a.domAtPos(e-o);if(e<=o)break;o=s}}for(let o=n;o>0;o--){let a=i[o-1];if(a.dom.parentNode==r)return a.domAtPos(a.length)}for(let o=n;o<i.length;o++){let a=i[o];if(a.dom.parentNode==r)return a.domAtPos(0)}return new pi(r,0)}function y9(t,e,r){let i,{children:n}=t;r>0&&e instanceof Fa&&n.length&&(i=n[n.length-1])instanceof Fa&&i.mark.eq(e.mark)?y9(i,e.children[0],r-1):(n.push(e),e.setParent(t)),t.length+=e.length}function v9(t,e,r){let i=null,n=-1,o=null,a=-1;function s(c,u){for(let f=0,d=0;f<c.children.length&&d<=u;f++){let p=c.children[f],O=d+p.length;O>=u&&(p.children.length?s(p,u-d):(!o||o.isHidden&&r>0)&&(O>u||d==O&&p.getSide()>0)?(o=p,a=u-d):(d<u||d==O&&p.getSide()<0&&!p.isHidden)&&(i=p,n=u-d)),d=O}}s(t,e);let l=(r<0?i:o)||i||o;return l?l.coordsAt(Math.max(0,l==i?n:a),r):bY(t)}function bY(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let r=Bf(e);return r[r.length-1]||null}function vy(t,e){for(let r in t)r=="class"&&e.class?e.class+=" "+t.class:r=="style"&&e.style?e.style+=";"+t.style:e[r]=t[r];return e}var AC=Object.create(null);function nv(t,e,r){if(t==e)return!0;t||(t=AC),e||(e=AC);let i=Object.keys(t),n=Object.keys(e);if(i.length-(r&&i.indexOf(r)>-1?1:0)!=n.length-(r&&n.indexOf(r)>-1?1:0))return!1;for(let o of i)if(o!=r&&(n.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function xy(t,e,r){let i=!1;if(e)for(let n in e)r&&n in r||(i=!0,n=="style"?t.style.cssText="":t.removeAttribute(n));if(r)for(let n in r)e&&e[n]==r[n]||(i=!0,n=="style"?t.style.cssText=r[n]:t.setAttribute(n,r[n]));return i}function yY(t){let e=Object.create(null);for(let r=0;r<t.attributes.length;r++){let i=t.attributes[r];e[i.name]=i.value}return e}var Ir=class t extends Ft{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,r,i,n,o,a){if(i){if(!(i instanceof t))return!1;this.dom||i.transferDOM(this)}return n&&this.setDeco(i?i.attrs:null),m9(this,e,r,i?i.children.slice():[],o,a),!0}split(e){let r=new t;if(r.breakAfter=this.breakAfter,this.length==0)return r;let{i,off:n}=this.childPos(e);n&&(r.append(this.children[i].split(n),0),this.children[i].merge(n,this.children[i].length,null,!1,0,0),i++);for(let o=i;o<this.children.length;o++)r.append(this.children[o],0);for(;i>0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,r}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){nv(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,r){y9(this,e,r)}addLineDeco(e){let r=e.spec.attributes,i=e.spec.class;r&&(this.attrs=vy(r,this.attrs||{})),i&&(this.attrs=vy({class:i},this.attrs||{}))}domAtPos(e){return b9(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,r){var i;this.dom?this.flags&4&&(h9(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&&(xy(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,r);let n=this.dom.lastChild;for(;n&&Ft.get(n)instanceof Fa;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((i=Ft.get(n))===null||i===void 0?void 0:i.isEditable)==!1&&(!Ne.ios||!this.children.some(o=>o instanceof Va))){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,r;for(let i of this.children){if(!(i instanceof Va)||/[^ -~]/.test(i.text))return null;let n=Bf(i.dom);if(n.length!=1)return null;e+=n[0].width,r=n[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:r}:null}coordsAt(e,r){let i=v9(this,e,r);if(!this.children.length&&i&&this.parent){let{heightOracle:n}=this.parent.view.viewState,o=i.bottom-i.top;if(Math.abs(o-n.lineHeight)<2&&n.textHeight<o){let a=(o-n.textHeight)/2;return{top:i.top+a,bottom:i.bottom-a,left:i.left,right:i.left}}}return i}become(e){return!1}covers(){return!0}static find(e,r){for(let i=0,n=0;i<e.children.length;i++){let o=e.children[i],a=n+o.length;if(a>=r){if(o instanceof t)return o;if(a>r)break}n=a+o.breakAfter}return null}},wc=class t extends Ft{constructor(e,r,i){super(),this.widget=e,this.length=r,this.deco=i,this.breakAfter=0,this.prevWidget=null}merge(e,r,i,n,o,a){return i&&(!(i instanceof t)||!this.widget.compare(i.widget)||e>0&&o<=0||r<this.length&&a<=0)?!1:(this.length=e+(i?i.length:0)+(this.length-r),!0)}domAtPos(e){return e==0?pi.before(this.dom):pi.after(this.dom,e==this.length)}split(e){let r=this.length-e;this.length=e;let i=new t(this.widget,r,this.deco);return i.breakAfter=this.breakAfter,i}get children(){return iv}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):gt.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,r){return this.widget.coordsAt(this.dom,e,r)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:r,endSide:i}=this.deco;return r==i?!1:e<0?r<0:i>0}},Er=class{eq(e){return!1}updateDOM(e,r){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,r,i){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},mi=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(mi||(mi={})),Le=class extends En{constructor(e,r,i,n){super(),this.startSide=e,this.endSide=r,this.widget=i,this.spec=n}get heightRelevant(){return!1}static mark(e){return new Ff(e)}static widget(e){let r=Math.max(-1e4,Math.min(1e4,e.side||0)),i=!!e.block;return r+=i&&!e.inlineOrder?r>0?3e8:-4e8:r>0?1e8:-1e8,new Za(e,r,r,i,e.widget||null,!1)}static replace(e){let r=!!e.block,i,n;if(e.isBlockGap)i=-5e8,n=4e8;else{let{start:o,end:a}=x9(e,r);i=(o?r?-3e8:-1:5e8)-1,n=(a?r?2e8:1:-6e8)+1}return new Za(e,i,n,r,e.widget||null,!0)}static line(e){return new Zf(e)}static set(e,r=!1){return Et.of(e,r)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}};Le.none=Et.empty;var Ff=class t extends Le{constructor(e){let{start:r,end:i}=x9(e);super(r?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var r,i;return this==e||e instanceof t&&this.tagName==e.tagName&&(this.class||((r=this.attrs)===null||r===void 0?void 0:r.class))==(e.class||((i=e.attrs)===null||i===void 0?void 0:i.class))&&nv(this.attrs,e.attrs,"class")}range(e,r=e){if(e>=r)throw new RangeError("Mark decorations may not be empty");return super.range(e,r)}};Ff.prototype.point=!1;var Zf=class t extends Le{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof t&&this.spec.class==e.spec.class&&nv(this.spec.attributes,e.spec.attributes)}range(e,r=e){if(r!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,r)}};Zf.prototype.mapMode=Wt.TrackBefore;Zf.prototype.point=!0;var Za=class t extends Le{constructor(e,r,i,n,o,a){super(r,i,o,e),this.block=n,this.isReplace=a,this.mapMode=n?r<=0?Wt.TrackBefore:Wt.TrackAfter:Wt.TrackDel}get type(){return this.startSide!=this.endSide?mi.WidgetRange:this.startSide<=0?mi.WidgetBefore:mi.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof t&&vY(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,r=e){if(this.isReplace&&(e>r||e==r&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&r!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,r)}};Za.prototype.point=!0;function x9(t,e=!1){let{inclusiveStart:r,inclusiveEnd:i}=t;return r==null&&(r=t.inclusive),i==null&&(i=t.inclusive),{start:r!=null?r:e,end:i!=null?i:e}}function vY(t,e){return t==e||!!(t&&e&&t.compare(e))}function wy(t,e,r,i=0){let n=r.length-1;n>=0&&r[n]+i>=t?r[n]=Math.max(r[n],e):r.push(t,e)}var Mf=class t{constructor(e,r,i,n){this.doc=e,this.pos=r,this.end=i,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=r}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 wc&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Ir),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Jp(new Vf(-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 wc)&&this.getLine()}buildText(e,r,i){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:a,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(a){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(r.slice(r.length-i)),this.getLine().append(Jp(new Va(this.text.slice(this.textOff,this.textOff+n)),r),i),this.atCursorPos=!0,this.textOff+=n,e-=n,i=0}}span(e,r,i,n){this.buildText(r-e,i,n),this.pos=r,this.openStart<0&&(this.openStart=n)}point(e,r,i,n,o,a){if(this.disallowBlockEffectsFor[a]&&i instanceof Za){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(r>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let s=r-e;if(i instanceof Za)if(i.block)i.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new wc(i.widget||new Om("div"),s,i));else{let l=Wf.create(i.widget||new Om("span"),s,s?0:i.startSide),c=this.atCursorPos&&!l.isEditable&&o<=n.length&&(e<r||i.startSide>0),u=!l.isEditable&&(e<r||o>n.length||i.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(n),c&&(f.append(Jp(new Vf(1),n),o),o=n.length+Math.max(0,o-n.length)),f.append(Jp(l,n),o),this.atCursorPos=u,this.pendingBuffer=u?e<r||o>n.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=n.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);s&&(this.textOff+s<=this.text.length?this.textOff+=s:(this.skip+=s-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=r),this.openStart<0&&(this.openStart=o)}static build(e,r,i,n,o){let a=new t(e,r,i,o);return a.openEnd=Et.spans(n,r,i,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}};function Jp(t,e){for(let r of e)t=new Fa(r,[t],t.length);return t}var Om=class extends Er{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}},Ct=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Ct||(Ct={})),Hs=Ct.LTR,ov=Ct.RTL;function w9(t){let e=[];for(let r=0;r<t.length;r++)e.push(1<<+t[r]);return e}var xY=w9("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),wY=w9("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),ky=Object.create(null),ro=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),r=t.charCodeAt(1);ky[e]=r,ky[r]=-e}function k9(t){return t<=247?xY[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?wY[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}var kY=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,no=class{get dir(){return this.level%2?ov:Hs}constructor(e,r,i){this.from=e,this.to=r,this.level=i}side(e,r){return this.dir==r==e?this.to:this.from}forward(e,r){return e==(this.dir==r)}static find(e,r,i,n){let o=-1;for(let a=0;a<e.length;a++){let s=e[a];if(s.from<=r&&s.to>=r){if(s.level==i)return a;(o<0||(n!=0?n<0?s.from<r:s.to>r:e[o].level>s.level))&&(o=a)}}if(o<0)throw new RangeError("Index out of range");return o}};function S9(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],n=e[r];if(i.from!=n.from||i.to!=n.to||i.direction!=n.direction||!S9(i.inner,n.inner))return!1}return!0}var zt=[];function SY(t,e,r,i,n){for(let o=0;o<=i.length;o++){let a=o?i[o-1].to:e,s=o<i.length?i[o].from:r,l=o?256:n;for(let c=a,u=l,f=l;c<s;c++){let d=k9(t.charCodeAt(c));d==512?d=u:d==8&&f==4&&(d=16),zt[c]=d==4?2:d,d&7&&(f=d),u=d}for(let c=a,u=l,f=l;c<s;c++){let d=zt[c];if(d==128)c<s-1&&u==zt[c+1]&&u&24?d=zt[c]=u:zt[c]=256;else if(d==64){let p=c+1;for(;p<s&&zt[p]==64;)p++;let O=c&&u==8||p<r&&zt[p]==8?f==1?1:8:256;for(let x=c;x<p;x++)zt[x]=O;c=p-1}else d==8&&f==1&&(zt[c]=1);u=d,d&7&&(f=d)}}}function TY(t,e,r,i,n){let o=n==1?2:1;for(let a=0,s=0,l=0;a<=i.length;a++){let c=a?i[a-1].to:e,u=a<i.length?i[a].from:r;for(let f=c,d,p,O;f<u;f++)if(p=ky[d=t.charCodeAt(f)])if(p<0){for(let x=s-3;x>=0;x-=3)if(ro[x+1]==-p){let k=ro[x+2],w=k&2?n:k&4?k&1?o:n:0;w&&(zt[f]=zt[ro[x]]=w),s=x;break}}else{if(ro.length==189)break;ro[s++]=f,ro[s++]=d,ro[s++]=l}else if((O=zt[f])==2||O==1){let x=O==n;l=x?0:1;for(let k=s-3;k>=0;k-=3){let w=ro[k+2];if(w&2)break;if(x)ro[k+2]|=2;else{if(w&4)break;ro[k+2]|=4}}}}}function EY(t,e,r,i){for(let n=0,o=i;n<=r.length;n++){let a=n?r[n-1].to:t,s=n<r.length?r[n].from:e;for(let l=a;l<s;){let c=zt[l];if(c==256){let u=l+1;for(;;)if(u==s){if(n==r.length)break;u=r[n++].to,s=n<r.length?r[n].from:e}else if(zt[u]==256)u++;else break;let f=o==1,d=(u<e?zt[u]:i)==1,p=f==d?f?1:2:i;for(let O=u,x=n,k=x?r[x-1].to:t;O>l;)O==k&&(O=r[--x].from,k=x?r[x-1].to:t),zt[--O]=p;l=u}else o=c,l++}}}function Sy(t,e,r,i,n,o,a){let s=i%2?2:1;if(i%2==n%2)for(let l=e,c=0;l<r;){let u=!0,f=!1;if(c==o.length||l<o[c].from){let x=zt[l];x!=s&&(u=!1,f=x==16)}let d=!u&&s==1?[]:null,p=u?i:i+1,O=l;e:for(;;)if(c<o.length&&O==o[c].from){if(f)break e;let x=o[c];if(!u)for(let k=x.to,w=c+1;;){if(k==r)break e;if(w<o.length&&o[w].from==k)k=o[w++].to;else{if(zt[k]==s)break e;break}}if(c++,d)d.push(x);else{x.from>l&&a.push(new no(l,x.from,p));let k=x.direction==Hs!=!(p%2);Ty(t,k?i+1:i,n,x.inner,x.from,x.to,a),l=x.to}O=x.to}else{if(O==r||(u?zt[O]!=s:zt[O]==s))break;O++}d?Sy(t,l,O,i+1,n,d,a):l<O&&a.push(new no(l,O,p)),l=O}else for(let l=r,c=o.length;l>e;){let u=!0,f=!1;if(!c||l>o[c-1].to){let x=zt[l-1];x!=s&&(u=!1,f=x==16)}let d=!u&&s==1?[]:null,p=u?i:i+1,O=l;e:for(;;)if(c&&O==o[c-1].to){if(f)break e;let x=o[--c];if(!u)for(let k=x.from,w=c;;){if(k==e)break e;if(w&&o[w-1].to==k)k=o[--w].from;else{if(zt[k-1]==s)break e;break}}if(d)d.push(x);else{x.to<l&&a.push(new no(x.to,l,p));let k=x.direction==Hs!=!(p%2);Ty(t,k?i+1:i,n,x.inner,x.from,x.to,a),l=x.from}O=x.from}else{if(O==e||(u?zt[O-1]!=s:zt[O-1]==s))break;O--}d?Sy(t,O,l,i+1,n,d,a):O<l&&a.push(new no(O,l,p)),l=O}}function Ty(t,e,r,i,n,o,a){let s=e%2?2:1;SY(t,n,o,i,s),TY(t,n,o,i,s),EY(n,o,i,s),Sy(t,n,o,e,r,i,a)}function CY(t,e,r){if(!t)return[new no(0,0,e==ov?1:0)];if(e==Hs&&!r.length&&!kY.test(t))return T9(t.length);if(r.length)for(;t.length>zt.length;)zt[zt.length]=256;let i=[],n=e==Hs?0:1;return Ty(t,n,n,r,0,t.length,i),i}function T9(t){return[new no(0,t,0)]}var E9="";function PY(t,e,r,i,n){var o;let a=i.head-t.from,s=no.find(e,a,(o=i.bidiLevel)!==null&&o!==void 0?o:-1,i.assoc),l=e[s],c=l.side(n,r);if(a==c){let d=s+=n?1:-1;if(d<0||d>=e.length)return null;l=e[s=d],a=l.side(!n,r),c=l.side(n,r)}let u=dr(t.text,a,l.forward(n,r));(u<l.from||u>l.to)&&(u=c),E9=t.text.slice(Math.min(a,u),Math.max(a,u));let f=s==(n?e.length-1:0)?null:e[s+(n?1:-1)];return f&&u==c&&f.level+(n?0:1)<l.level?ce.cursor(f.side(!n,r)+t.from,f.forward(n,r)?1:-1,f.level):ce.cursor(u+t.from,l.forward(n,r)?-1:1,l.level)}function _Y(t,e,r){for(let i=e;i<r;i++){let n=k9(t.charCodeAt(i));if(n==1)return Hs;if(n==2||n==4)return ov}return Hs}var C9=$e.define(),P9=$e.define(),_9=$e.define(),A9=$e.define(),Ey=$e.define(),Q9=$e.define(),$9=$e.define(),X9=$e.define({combine:t=>t.some(e=>e)}),R9=$e.define({combine:t=>t.some(e=>e)}),zf=class t{constructor(e,r="nearest",i="nearest",n=5,o=5,a=!1){this.range=e,this.y=r,this.x=i,this.yMargin=n,this.xMargin=o,this.isSnapshot=a}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(ce.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},em=De.define({map:(t,e)=>t.map(e)});function Oi(t,e,r){let i=t.facet(A9);i.length?i[0](e):window.onerror?window.onerror(String(e),r,void 0,void 0,e):r?console.error(r+":",e):console.error(e)}var Am=$e.define({combine:t=>t.length?t[0]:!0}),AY=0,Qf=$e.define(),pt=class t{constructor(e,r,i,n,o){this.id=e,this.create=r,this.domEventHandlers=i,this.domEventObservers=n,this.extension=o(this)}static define(e,r){let{eventHandlers:i,eventObservers:n,provide:o,decorations:a}=r||{};return new t(AY++,e,i,n,s=>{let l=[Qf.of(s)];return a&&l.push(Yf.of(c=>{let u=c.plugin(s);return u?a(u):Le.none})),o&&l.push(o(s)),l})}static fromClass(e,r){return t.define(i=>new e(i),r)}},Df=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let r=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(r)}catch(i){if(Oi(r.state,i,"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(r){Oi(e.state,r,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var r;if(!((r=this.value)===null||r===void 0)&&r.destroy)try{this.value.destroy()}catch(i){Oi(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},I9=$e.define(),av=$e.define(),Yf=$e.define(),L9=$e.define(),sv=$e.define(),M9=$e.define();function QC(t,e){let r=t.state.facet(M9);if(!r.length)return r;let i=r.map(o=>o instanceof Function?o(t):o),n=[];return Et.spans(i,e.from,e.to,{point(){},span(o,a,s,l){let c=o-e.from,u=a-e.from,f=n;for(let d=s.length-1;d>=0;d--,l--){let p=s[d].spec.bidiIsolate,O;if(p==null&&(p=_Y(e.text,c,u)),l>0&&f.length&&(O=f[f.length-1]).to==c&&O.direction==p)O.to=u,f=O.inner;else{let x={from:c,to:u,direction:p,inner:[]};f.push(x),f=x.inner}}}}),n}var z9=$e.define();function D9(t){let e=0,r=0,i=0,n=0;for(let o of t.state.facet(z9)){let a=o(t);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(r=Math.max(r,a.right)),a.top!=null&&(i=Math.max(i,a.top)),a.bottom!=null&&(n=Math.max(n,a.bottom)))}return{left:e,right:r,top:i,bottom:n}}var $f=$e.define(),oo=class t{constructor(e,r,i,n){this.fromA=e,this.toA=r,this.fromB=i,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 r=e.length,i=this;for(;r>0;r--){let n=e[r-1];if(!(n.fromA>i.toA)){if(n.toA<i.fromA)break;i=i.join(n),e.splice(r-1,1)}}return e.splice(r,0,i),e}static extendWithRanges(e,r){if(r.length==0)return e;let i=[];for(let n=0,o=0,a=0,s=0;;n++){let l=n==e.length?null:e[n],c=a-s,u=l?l.fromB:1e9;for(;o<r.length&&r[o]<u;){let f=r[o],d=r[o+1],p=Math.max(s,f),O=Math.min(u,d);if(p<=O&&new t(p+c,O+c,p,O).addToSet(i),d>u)break;o+=2}if(!l)return i;new t(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),a=l.toA,s=l.toB}}},gm=class t{constructor(e,r,i){this.view=e,this.state=r,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=hi.empty(this.startState.doc.length);for(let o of i)this.changes=this.changes.compose(o.changes);let n=[];this.changes.iterChangedRanges((o,a,s,l)=>n.push(new oo(o,a,s,l))),this.changedRanges=n}static create(e,r,i){return new t(e,r,i)}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}},bm=class extends Ft{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.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 Ir],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new oo(0,0,0,e.state.doc.length)],0,null)}update(e){var r;let i=e.changedRanges;this.minWidth>0&&i.length&&(i.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&&(!((r=this.domChanged)===null||r===void 0)&&r.newSel?n=this.domChanged.newSel.head:!MY(e.changes,this.hasComposition)&&!e.selectionSet&&(n=e.state.selection.main.head));let o=n>-1?$Y(this.view,e.changes,n):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;i=new oo(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(i.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(Ne.ie||Ne.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,s=this.updateDeco(),l=IY(a,s,e.changes);return i=oo.extendWithRanges(i,l),!(this.flags&7)&&i.length==0?!1:(this.updateInner(i,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,r,i){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,r,i);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 a=Ne.chrome||Ne.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||n.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let a of this.children)a instanceof wc&&a.widget instanceof ym&&o.push(a.dom);n.updateGaps(o)}updateChildren(e,r,i){let n=i?i.range.addToSet(e.slice()):e,o=this.childCursor(r);for(let a=n.length-1;;a--){let s=a>=0?n[a]:null;if(!s)break;let{fromA:l,toA:c,fromB:u,toB:f}=s,d,p,O,x;if(i&&i.range.fromB<f&&i.range.toB>u){let L=Mf.build(this.view.state.doc,u,i.range.fromB,this.decorations,this.dynamicDecorationMap),N=Mf.build(this.view.state.doc,i.range.toB,f,this.decorations,this.dynamicDecorationMap);p=L.breakAtStart,O=L.openStart,x=N.openEnd;let I=this.compositionView(i);N.breakAtStart?I.breakAfter=1:N.content.length&&I.merge(I.length,I.length,N.content[0],!1,N.openStart,0)&&(I.breakAfter=N.content[0].breakAfter,N.content.shift()),L.content.length&&I.merge(0,0,L.content[L.content.length-1],!0,0,L.openEnd)&&L.content.pop(),d=L.content.concat(I).concat(N.content)}else({content:d,breakAtStart:p,openStart:O,openEnd:x}=Mf.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:k,off:w}=o.findPos(c,1),{i:C,off:Q}=o.findPos(l,-1);p9(this,C,Q,k,w,d,p,O,x)}i&&this.fixCompositionDOM(i)}compositionView(e){let r=new Va(e.text.nodeValue);r.flags|=8;for(let{deco:n}of e.marks)r=new Fa(n,[r],r.length);let i=new Ir;return i.append(r,0),i}fixCompositionDOM(e){let r=(o,a)=>{a.flags|=8|(a.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(a);let s=Ft.get(o);s&&s!=a&&(s.dom=null),a.setDOM(o)},i=this.childPos(e.range.fromB,1),n=this.children[i.i];r(e.line,n);for(let o=e.marks.length-1;o>=-1;o--)i=n.childPos(i.off,1),n=n.children[i.i],r(o>=0?e.marks[o].node:e.text,n)}updateSelection(e=!1,r=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,n=i==this.dom,o=!n&&lm(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(n||r||o))return;let a=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(s.anchor)),c=s.empty?l:this.moveToLine(this.domAtPos(s.head));if(Ne.gecko&&s.empty&&!this.hasComposition&&QY(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new pi(f,0),a=!0}let u=this.view.observer.selectionRange;(a||!u.focusNode||(!Lf(l.node,l.offset,u.anchorNode,u.anchorOffset)||!Lf(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,s))&&(this.view.observer.ignore(()=>{Ne.android&&Ne.chrome&&this.dom.contains(u.focusNode)&&LY(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=pm(this.view.root);if(f)if(s.empty){if(Ne.gecko){let d=XY(l.node,l.offset);if(d&&d!=3){let p=U9(l.node,l.offset,d==1?1:-1);p&&(l=new pi(p.node,p.offset))}}f.collapse(l.node,l.offset),s.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=s.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();s.anchor>s.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(),i&&i.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new pi(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new pi(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,r){return this.hasComposition&&r.empty&&Lf(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==r.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,r=e.state.selection.main,i=pm(e.root),{anchorNode:n,anchorOffset:o}=e.observer.selectionRange;if(!i||!r.empty||!r.assoc||!i.modify)return;let a=Ir.find(this,r.head);if(!a)return;let s=a.posAtStart;if(r.head==s||r.head==s+a.length)return;let l=this.coordsAt(r.head,-1),c=this.coordsAt(r.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(r.head+r.assoc);i.collapse(u.node,u.offset),i.modify("move",r.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=r.from&&i.collapse(n,o)}moveToLine(e){let r=this.dom,i;if(e.node!=r)return e;for(let n=e.offset;!i&&n<r.childNodes.length;n++){let o=Ft.get(r.childNodes[n]);o instanceof Ir&&(i=o.domAtPos(0))}for(let n=e.offset-1;!i&&n>=0;n--){let o=Ft.get(r.childNodes[n]);o instanceof Ir&&(i=o.domAtPos(o.length))}return i?new pi(i.node,i.offset,!0):e}nearest(e){for(let r=e;r;){let i=Ft.get(r);if(i&&i.rootView==this)return i;r=r.parentNode}return null}posFromDOM(e,r){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,r)+i.posAtStart}domAtPos(e){let{i:r,off:i}=this.childCursor().findPos(e,-1);for(;r<this.children.length-1;){let n=this.children[r];if(i<n.length||n instanceof Ir)break;r++,i=0}return this.children[r].domAtPos(i)}coordsAt(e,r){let i=null,n=0;for(let o=this.length,a=this.children.length-1;a>=0;a--){let s=this.children[a],l=o-s.breakAfter,c=l-s.length;if(l<e)break;c<=e&&(c<e||s.covers(-1))&&(l>e||s.covers(1))&&(!i||s instanceof Ir&&!(i instanceof Ir&&r>=0))&&(i=s,n=c),o=c}return i?i.coordsAt(e-n,r):null}coordsForChar(e){let{i:r,off:i}=this.childPos(e,1),n=this.children[r];if(!(n instanceof Ir))return null;for(;n.children.length;){let{i:s,off:l}=n.childPos(i,1);for(;;s++){if(s==n.children.length)return null;if((n=n.children[s]).length)break}i=l}if(!(n instanceof Va))return null;let o=dr(n.text,i);if(o==i)return null;let a=Ys(n.dom,i,o).getClientRects();for(let s=0;s<a.length;s++){let l=a[s];if(s==a.length-1||l.top<l.bottom&&l.left<l.right)return l}return null}measureVisibleLineHeights(e){let r=[],{from:i,to:n}=e,o=this.view.contentDOM.clientWidth,a=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==Ct.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>=i){let p=f.dom.getBoundingClientRect();if(r.push(p.height),a){let O=f.dom.lastChild,x=O?Bf(O):[];if(x.length){let k=x[x.length-1],w=l?k.right-p.left:p.right-k.left;w>s&&(s=w,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return r}textDirectionAt(e){let{i:r}=this.childPos(e,1);return getComputedStyle(this.children[r].dom).direction=="rtl"?Ct.RTL:Ct.LTR}measureTextSize(){for(let o of this.children)if(o instanceof Ir){let a=o.measureTextSize();if(a)return a}let e=document.createElement("div"),r,i,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=Bf(e.firstChild)[0];r=e.getBoundingClientRect().height,i=o?o.width/27:7,n=o?o.height:r,e.remove()}),{lineHeight:r,charWidth:i,textHeight:n}}childCursor(e=this.length){let r=this.children.length;return r&&(e-=this.children[--r].length),new mm(this.children,e,r)}computeBlockGapDeco(){let e=[],r=this.view.viewState;for(let i=0,n=0;;n++){let o=n==r.viewports.length?null:r.viewports[n],a=o?o.from-1:this.length;if(a>i){let s=(r.lineBlockAt(a).bottom-r.lineBlockAt(i).top)/this.view.scaleY;e.push(Le.replace({widget:new ym(s),block:!0,inclusive:!0,isBlockGap:!0}).range(i,a))}if(!o)break;i=o.to+1}return Le.set(e)}updateDeco(){let e=this.view.state.facet(Yf).map((n,o)=>(this.dynamicDecorationMap[o]=typeof n=="function")?n(this.view):n),r=!1,i=this.view.state.facet(L9).map((n,o)=>{let a=typeof n=="function";return a&&(r=!0),a?n(this.view):n});i.length&&(this.dynamicDecorationMap[e.length]=r,e.push(Et.join(i)));for(let n=e.length;n<e.length+3;n++)this.dynamicDecorationMap[n]=!1;return this.decorations=[...e,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}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}let{range:r}=e,i=this.coordsAt(r.head,r.empty?r.assoc:r.head>r.anchor?-1:1),n;if(!i)return;!r.empty&&(n=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(i={left:Math.min(i.left,n.left),top:Math.min(i.top,n.top),right:Math.max(i.right,n.right),bottom:Math.max(i.bottom,n.bottom)});let o=D9(this.view),a={left:i.left-o.left,top:i.top-o.top,right:i.right+o.right,bottom:i.bottom+o.bottom},{offsetWidth:s,offsetHeight:l}=this.view.scrollDOM;hY(this.view.scrollDOM,a,r.head<r.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,s),-s),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==Ct.LTR)}};function QY(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 ym=class extends Er{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}};function N9(t,e){let r=t.observer.selectionRange,i=r.focusNode&&U9(r.focusNode,r.focusOffset,0);if(!i)return null;let n=e-i.offset;return{from:n,to:n+i.node.nodeValue.length,node:i.node}}function $Y(t,e,r){let i=N9(t,r);if(!i)return null;let{node:n,from:o,to:a}=i,s=n.nodeValue;if(/[\n\r]/.test(s)||t.state.doc.sliceString(i.from,i.to)!=s)return null;let l=e.invertedDesc,c=new oo(l.mapPos(o),l.mapPos(a),o,a),u=[];for(let f=n.parentNode;;f=f.parentNode){let d=Ft.get(f);if(d instanceof Fa)u.push({node:f,deco:d.mark});else{if(d instanceof Ir||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 Ff({inclusive:!0,attributes:yY(f),tagName:f.tagName.toLowerCase()})});else return null}}}function U9(t,e,r){if(r<=0)for(let i=t,n=e;;){if(i.nodeType==3)return{node:i,offset:n};if(i.nodeType==1&&n>0)i=i.childNodes[n-1],n=Yo(i);else break}if(r>=0)for(let i=t,n=e;;){if(i.nodeType==3)return{node:i,offset:n};if(i.nodeType==1&&n<i.childNodes.length&&r>=0)i=i.childNodes[n],n=0;else break}return null}function XY(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 RY=class{constructor(){this.changes=[]}compareRange(e,r){wy(e,r,this.changes)}comparePoint(e,r){wy(e,r,this.changes)}};function IY(t,e,r){let i=new RY;return Et.compare(t,e,r,i),i.changes}function LY(t,e){for(let r=t;r&&r!=e;r=r.assignedSlot||r.parentNode)if(r.nodeType==1&&r.contentEditable=="false")return!0;return!1}function MY(t,e){let r=!1;return e&&t.iterChangedRanges((i,n)=>{i<e.to&&n>e.from&&(r=!0)}),r}function zY(t,e,r=1){let i=t.charCategorizer(e),n=t.doc.lineAt(e),o=e-n.from;if(n.length==0)return ce.cursor(e);o==0?r=1:o==n.length&&(r=-1);let a=o,s=o;r<0?a=dr(n.text,o,!1):s=dr(n.text,o);let l=i(n.text.slice(a,s));for(;a>0;){let c=dr(n.text,a,!1);if(i(n.text.slice(c,a))!=l)break;a=c}for(;s<n.length;){let c=dr(n.text,s);if(i(n.text.slice(s,c))!=l)break;s=c}return ce.range(a+n.from,s+n.from)}function DY(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function NY(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function cy(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function $C(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function XC(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function Cy(t,e,r){let i,n,o,a,s=!1,l,c,u,f;for(let O=t.firstChild;O;O=O.nextSibling){let x=Bf(O);for(let k=0;k<x.length;k++){let w=x[k];n&&cy(n,w)&&(w=$C(XC(w,n.bottom),n.top));let C=DY(e,w),Q=NY(r,w);if(C==0&&Q==0)return O.nodeType==3?RC(O,e,r):Cy(O,e,r);if(!i||a>Q||a==Q&&o>C){i=O,n=w,o=C,a=Q;let L=Q?r<w.top?-1:1:C?e<w.left?-1:1:0;s=!L||(L>0?k<x.length-1:k>0)}C==0?r>w.bottom&&(!u||u.bottom<w.bottom)?(l=O,u=w):r<w.top&&(!f||f.top>w.top)&&(c=O,f=w):u&&cy(u,w)?u=XC(u,w.bottom):f&&cy(f,w)&&(f=$C(f,w.top))}}if(u&&u.bottom>=r?(i=l,n=u):f&&f.top<=r&&(i=c,n=f),!i)return{node:t,offset:0};let d=Math.max(n.left,Math.min(n.right,e));if(i.nodeType==3)return RC(i,d,r);if(s&&i.contentEditable!="false")return Cy(i,d,r);let p=Array.prototype.indexOf.call(t.childNodes,i)+(e>=(n.left+n.right)/2?1:0);return{node:t,offset:p}}function RC(t,e,r){let i=t.nodeValue.length,n=-1,o=1e9,a=0;for(let s=0;s<i;s++){let l=Ys(t,s,s+1).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(u.top==u.bottom)continue;a||(a=e-u.left);let f=(u.top>r?u.top-r:r-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((Ne.chrome||Ne.gecko)&&Ys(t,s).getBoundingClientRect().left==u.right&&(p=!d),f<=0)return{node:t,offset:s+(p?1:0)};n=s+(p?1:0),o=f}}}return{node:t,offset:n>-1?n:a>0?t.nodeValue.length:0}}function q9(t,e,r,i=-1){var n,o;let a=t.contentDOM.getBoundingClientRect(),s=a.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:u,y:f}=e,d=f-s;if(d<0)return 0;if(d>c)return t.state.doc.length;for(let L=t.viewState.heightOracle.textHeight/2,N=!1;l=t.elementAtHeight(d),l.type!=mi.Text;)for(;d=i>0?l.bottom+L:l.top-L,!(d>=0&&d<=c);){if(N)return r?null:0;N=!0,i=-i}f=s+d;let p=l.from;if(p<t.viewport.from)return t.viewport.from==0?0:r?null:IC(t,a,l,u,f);if(p>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:r?null:IC(t,a,l,u,f);let O=t.dom.ownerDocument,x=t.root.elementFromPoint?t.root:O,k=x.elementFromPoint(u,f);k&&!t.contentDOM.contains(k)&&(k=null),k||(u=Math.max(a.left+1,Math.min(a.right-1,u)),k=x.elementFromPoint(u,f),k&&!t.contentDOM.contains(k)&&(k=null));let w,C=-1;if(k&&((n=t.docView.nearest(k))===null||n===void 0?void 0:n.isEditable)!=!1){if(O.caretPositionFromPoint){let L=O.caretPositionFromPoint(u,f);L&&({offsetNode:w,offset:C}=L)}else if(O.caretRangeFromPoint){let L=O.caretRangeFromPoint(u,f);L&&({startContainer:w,startOffset:C}=L,(!t.contentDOM.contains(w)||Ne.safari&&UY(w,C,u)||Ne.chrome&&qY(w,C,u))&&(w=void 0))}}if(!w||!t.docView.dom.contains(w)){let L=Ir.find(t.docView,p);if(!L)return d>l.top+l.height/2?l.to:l.from;({node:w,offset:C}=Cy(L.dom,u,f))}let Q=t.docView.nearest(w);if(!Q)return null;if(Q.isWidget&&((o=Q.dom)===null||o===void 0?void 0:o.nodeType)==1){let L=Q.dom.getBoundingClientRect();return e.y<L.top||e.y<=L.bottom&&e.x<=(L.left+L.right)/2?Q.posAtStart:Q.posAtEnd}else return Q.localPosFromDOM(w,C)+Q.posAtStart}function IC(t,e,r,i,n){let o=Math.round((i-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&r.height>t.defaultLineHeight*1.5){let s=t.viewState.heightOracle.textHeight,l=Math.floor((n-r.top-(t.defaultLineHeight-s)*.5)/s);o+=l*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(r.from,r.to);return r.from+Gp(a,o,t.state.tabSize)}function UY(t,e,r){let i;if(t.nodeType!=3||e!=(i=t.nodeValue.length))return!1;for(let n=t.nextSibling;n;n=n.nextSibling)if(n.nodeType!=1||n.nodeName!="BR")return!1;return Ys(t,i-1,i).getBoundingClientRect().left>r}function qY(t,e,r){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 i=t.nodeType==1?t.getBoundingClientRect():Ys(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return r-i.left>5}function Py(t,e){let r=t.lineBlockAt(e);if(Array.isArray(r.type)){for(let i of r.type)if(i.to>e||i.to==e&&(i.to==r.to||i.type==mi.Text))return i}return r}function BY(t,e,r,i){let n=Py(t,e.head),o=!i||n.type!=mi.Text||!(t.lineWrapping||n.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>n.from?e.head-1:e.head);if(o){let a=t.dom.getBoundingClientRect(),s=t.textDirectionAt(n.from),l=t.posAtCoords({x:r==(s==Ct.LTR)?a.right-1:a.left+1,y:(o.top+o.bottom)/2});if(l!=null)return ce.cursor(l,r?-1:1)}return ce.cursor(r?n.to:n.from,r?-1:1)}function LC(t,e,r,i){let n=t.state.doc.lineAt(e.head),o=t.bidiSpans(n),a=t.textDirectionAt(n.from);for(let s=e,l=null;;){let c=PY(n,o,a,s,r),u=E9;if(!c){if(n.number==(r?t.state.doc.lines:1))return s;u=`
`,n=t.state.doc.line(n.number+(r?1:-1)),o=t.bidiSpans(n),c=t.visualLineSide(n,!r)}if(l){if(!l(u))return s}else{if(!i)return c;l=i(u)}s=c}}function jY(t,e,r){let i=t.state.charCategorizer(e),n=i(r);return o=>{let a=i(o);return n==Xt.Space&&(n=a),n==a}}function WY(t,e,r,i){let n=e.head,o=r?1:-1;if(n==(r?t.state.doc.length:0))return ce.cursor(n,e.assoc);let a=e.goalColumn,s,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(n,e.assoc||-1),u=t.documentTop;if(c)a==null&&(a=c.left-l.left),s=o<0?c.top:c.bottom;else{let p=t.viewState.lineBlockAt(n);a==null&&(a=Math.min(l.right-l.left,t.defaultCharacterWidth*(n-p.from))),s=(o<0?p.top:p.bottom)+u}let f=l.left+a,d=i!=null?i:t.viewState.heightOracle.textHeight>>1;for(let p=0;;p+=10){let O=s+(d+p)*o,x=q9(t,{x:f,y:O},!1,o);if(O<l.top||O>l.bottom||(o<0?x<n:x>n)){let k=t.docView.coordsForChar(x),w=!k||O<k.top?-1:1;return ce.cursor(x,w,void 0,a)}}}function cm(t,e,r){for(;;){let i=0;for(let n of t)n.between(e-1,e+1,(o,a,s)=>{if(e>o&&e<a){let l=i||r||(e-o<a-e?-1:1);e=l<0?o:a,i=l}});if(!i)return e}}function uy(t,e,r){let i=cm(t.state.facet(sv).map(n=>n(t)),r.from,e.head>r.from?-1:1);return i==r.from?r:ce.cursor(i,i<r.from?1:-1)}var _y=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.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=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,Ne.safari&&e.contentDOM.addEventListener("input",()=>null),Ne.gecko&&aH(e.contentDOM.ownerDocument)}handleEvent(e){!KY(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,r){let i=this.handlers[e];if(i){for(let n of i.observers)n(this.view,r);for(let n of i.handlers){if(r.defaultPrevented)break;if(n(this.view,r)){r.preventDefault();break}}}}ensureHandlers(e){let r=VY(e),i=this.handlers,n=this.view.contentDOM;for(let o in r)if(o!="scroll"){let a=!r[o].handlers.length,s=i[o];s&&a!=!s.handlers.length&&(n.removeEventListener(o,this.handleEvent),s=null),s||n.addEventListener(o,this.handleEvent,{passive:a})}for(let o in i)o!="scroll"&&!r[o]&&n.removeEventListener(o,this.handleEvent);this.handlers=r}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()<this.lastEscPress+2e3)return!0;if(e.keyCode!=27&&j9.indexOf(e.keyCode)<0&&(this.view.inputState.lastEscPress=0),Ne.android&&Ne.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let r;return Ne.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((r=B9.find(i=>i.keyCode==e.keyCode))&&!e.ctrlKey||FY.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=r||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,xc(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Ne.safari&&!Ne.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 MC(t,e){return(r,i)=>{try{return e.call(t,i,r)}catch(n){Oi(r.state,n)}}}function VY(t){let e=Object.create(null);function r(i){return e[i]||(e[i]={observers:[],handlers:[]})}for(let i of t){let n=i.spec;if(n&&n.domEventHandlers)for(let o in n.domEventHandlers){let a=n.domEventHandlers[o];a&&r(o).handlers.push(MC(i.value,a))}if(n&&n.domEventObservers)for(let o in n.domEventObservers){let a=n.domEventObservers[o];a&&r(o).observers.push(MC(i.value,a))}}for(let i in Cn)r(i).handlers.push(Cn[i]);for(let i in Pn)r(i).observers.push(Pn[i]);return e}var B9=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],FY="dthko",j9=[16,17,18,20,91,92,224,225],tm=6;function rm(t){return Math.max(0,t)*.7+8}function ZY(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}var Ay=class{constructor(e,r,i,n){this.view=e,this.startEvent=r,this.style=i,this.mustSelect=n,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=r,this.scrollParent=dY(e.contentDOM),this.atoms=e.state.facet(sv).map(a=>a(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=r.shiftKey,this.multiple=e.state.facet(Tt.allowMultipleSelections)&&YY(e,r),this.dragging=GY(e,r)&&Z9(r)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var r;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&ZY(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,n=0,o=((r=this.scrollParent)===null||r===void 0?void 0:r.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},a=D9(this.view);e.clientX-a.left<=o.left+tm?i=-rm(o.left-e.clientX):e.clientX+a.right>=o.right-tm&&(i=rm(e.clientX-o.right)),e.clientY-a.top<=o.top+tm?n=-rm(o.top-e.clientY):e.clientY+a.bottom>=o.bottom-tm&&(n=rm(e.clientY-o.bottom)),this.setScrollSpeed(i,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,r){this.scrollSpeed={x:e,y:r},e||r?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 r=null;for(let i=0;i<e.ranges.length;i++){let n=e.ranges[i],o=null;if(n.empty){let a=cm(this.atoms,n.from,0);a!=n.from&&(o=ce.cursor(a,-1))}else{let a=cm(this.atoms,n.from,-1),s=cm(this.atoms,n.to,1);(a!=n.from||s!=n.to)&&(o=ce.range(n.from==n.anchor?a:s,n.from==n.head?a:s))}o&&(r||(r=e.ranges.slice()),r[i]=o)}return r?ce.create(r,e.mainIndex):e}select(e){let{view:r}=this,i=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!i.eq(r.state.selection,this.dragging===!1))&&this.view.dispatch({selection:i,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};function YY(t,e){let r=t.state.facet(C9);return r.length?r[0](e):Ne.mac?e.metaKey:e.ctrlKey}function HY(t,e){let r=t.state.facet(P9);return r.length?r[0](e):Ne.mac?!e.altKey:!e.ctrlKey}function GY(t,e){let{main:r}=t.state.selection;if(r.empty)return!1;let i=pm(t.root);if(!i||i.rangeCount==0)return!0;let n=i.getRangeAt(0).getClientRects();for(let o=0;o<n.length;o++){let a=n[o];if(a.left<=e.clientX&&a.right>=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function KY(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let r=e.target,i;r!=t.contentDOM;r=r.parentNode)if(!r||r.nodeType==11||(i=Ft.get(r))&&i.ignoreEvent(e))return!1;return!0}var Cn=Object.create(null),Pn=Object.create(null),W9=Ne.ie&&Ne.ie_version<15||Ne.ios&&Ne.webkit_version<604;function JY(t){let e=t.dom.parentNode;if(!e)return;let r=e.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{t.focus(),r.remove(),V9(t,r.value)},50)}function V9(t,e){let{state:r}=t,i,n=1,o=r.toText(e),a=o.lines==r.selection.ranges.length;if(Qy!=null&&r.selection.ranges.every(l=>l.empty)&&Qy==o.toString()){let l=-1;i=r.changeByRange(c=>{let u=r.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=r.toText((a?o.line(n++).text:e)+r.lineBreak);return{changes:{from:u.from,insert:f},range:ce.cursor(c.from+f.length)}})}else a?i=r.changeByRange(l=>{let c=o.line(n++);return{changes:{from:l.from,to:l.to,insert:c.text},range:ce.cursor(l.from+c.length)}}):i=r.replaceSelection(o);t.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}Pn.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Cn.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&(t.inputState.lastEscPress=Date.now()),!1);Pn.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Pn.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Cn.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let i of t.state.facet(_9))if(r=i(t,e),r)break;if(!r&&e.button==0&&(r=rH(t,e)),r){let i=!t.hasFocus;t.inputState.startMouseSelection(new Ay(t,e,r,i)),i&&t.observer.ignore(()=>f9(t.contentDOM));let n=t.inputState.mouseSelection;if(n)return n.start(e),n.dragging===!1}return!1};function zC(t,e,r,i){if(i==1)return ce.cursor(e,r);if(i==2)return zY(t.state,e,r);{let n=Ir.find(t.docView,e),o=t.state.doc.lineAt(n?n.posAtEnd:e),a=n?n.posAtStart:o.from,s=n?n.posAtEnd:o.to;return s<t.state.doc.length&&s==o.to&&s++,ce.range(a,s)}}var F9=(t,e)=>t>=e.top&&t<=e.bottom,DC=(t,e,r)=>F9(e,r)&&t>=r.left&&t<=r.right;function eH(t,e,r,i){let n=Ir.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 a=n.coordsAt(o,-1);if(a&&DC(r,i,a))return-1;let s=n.coordsAt(o,1);return s&&DC(r,i,s)?1:a&&F9(i,a)?-1:1}function NC(t,e){let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:r,bias:eH(t,r,e.clientX,e.clientY)}}var tH=Ne.ie&&Ne.ie_version<=11,UC=null,qC=0,BC=0;function Z9(t){if(!tH)return t.detail;let e=UC,r=BC;return UC=t,BC=Date.now(),qC=!e||r>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(qC+1)%3:1}function rH(t,e){let r=NC(t,e),i=Z9(e),n=t.state.selection;return{update(o){o.docChanged&&(r.pos=o.changes.mapPos(r.pos),n=n.map(o.changes))},get(o,a,s){let l=NC(t,o),c,u=zC(t,l.pos,l.bias,i);if(r.pos!=l.pos&&!a){let f=zC(t,r.pos,r.bias,i),d=Math.min(f.from,u.from),p=Math.max(f.to,u.to);u=d<u.from?ce.range(d,p):ce.range(p,d)}return a?n.replaceRange(n.main.extend(u.from,u.to)):s&&i==1&&n.ranges.length>1&&(c=iH(n,l.pos))?c:s?n.addRange(u):ce.create([u])}}}function iH(t,e){for(let r=0;r<t.ranges.length;r++){let{from:i,to:n}=t.ranges[r];if(i<=e&&n>=e)return ce.create(t.ranges.slice(0,r).concat(t.ranges.slice(r+1)),t.mainIndex==r?0:t.mainIndex-(t.mainIndex>r?1:0))}return null}Cn.dragstart=(t,e)=>{let{selection:{main:r}}=t.state;if(e.target.draggable){let n=t.docView.nearest(e.target);if(n&&n.isWidget){let o=n.posAtStart,a=o+n.length;(o>=r.to||a<=r.from)&&(r=ce.range(o,a))}}let{inputState:i}=t;return i.mouseSelection&&(i.mouseSelection.dragging=!0),i.draggedContent=r,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(r.from,r.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Cn.dragend=t=>(t.inputState.draggedContent=null,!1);function jC(t,e,r,i){if(!r)return;let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,a=i&&o&&HY(t,e)?{from:o.from,to:o.to}:null,s={from:n,insert:r},l=t.state.changes(a?[a,s]:s);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(n,-1),head:l.mapPos(n,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Cn.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let r=e.dataTransfer.files;if(r&&r.length){let i=Array(r.length),n=0,o=()=>{++n==r.length&&jC(t,e,i.filter(a=>a!=null).join(t.state.lineBreak),!1)};for(let a=0;a<r.length;a++){let s=new FileReader;s.onerror=o,s.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(i[a]=s.result),o()},s.readAsText(r[a])}return!0}else{let i=e.dataTransfer.getData("Text");if(i)return jC(t,e,i,!0),!0}return!1};Cn.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let r=W9?null:e.clipboardData;return r?(V9(t,r.getData("text/plain")||r.getData("text/uri-text")),!0):(JY(t),!1)};function nH(t,e){let r=t.dom.parentNode;if(!r)return;let i=r.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),t.focus()},50)}function oH(t){let e=[],r=[],i=!1;for(let n of t.selection.ranges)n.empty||(e.push(t.sliceDoc(n.from,n.to)),r.push(n));if(!e.length){let n=-1;for(let{from:o}of t.selection.ranges){let a=t.doc.lineAt(o);a.number>n&&(e.push(a.text),r.push({from:a.from,to:Math.min(t.doc.length,a.to+1)})),n=a.number}i=!0}return{text:e.join(t.lineBreak),ranges:r,linewise:i}}var Qy=null;Cn.copy=Cn.cut=(t,e)=>{let{text:r,ranges:i,linewise:n}=oH(t.state);if(!r&&!n)return!1;Qy=n?r:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let o=W9?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",r),!0):(nH(t,r),!1)};var Y9=Jr.define();function H9(t,e){let r=[];for(let i of t.facet($9)){let n=i(t,e);n&&r.push(n)}return r?t.update({effects:r,annotations:Y9.of(!0)}):null}function G9(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let r=H9(t.state,e);r?t.dispatch(r):t.update([])}},10)}Pn.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),G9(t)};Pn.blur=t=>{t.observer.clearSelectionRange(),G9(t)};Pn.compositionstart=Pn.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)};Pn.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,Ne.chrome&&Ne.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};Pn.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Cn.beforeinput=(t,e)=>{var r;let i;if(Ne.chrome&&Ne.android&&(i=B9.find(n=>n.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let n=((r=window.visualViewport)===null||r===void 0?void 0:r.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!1};var WC=new Set;function aH(t){WC.has(t)||(WC.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}var VC=["pre-wrap","normal","pre-line","break-spaces"],$y=class{constructor(e){this.lineWrapping=e,this.doc=gt.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,r){let i=this.doc.lineAt(r).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((r-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}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 VC.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let r=!1;for(let i=0;i<e.length;i++){let n=e[i];n<0?i++:this.heightSamples[Math.floor(n*10)]||(r=!0,this.heightSamples[Math.floor(n*10)]=!0)}return r}refresh(e,r,i,n,o,a){let s=VC.indexOf(e)>-1,l=Math.round(r)!=Math.round(this.lineHeight)||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=r,this.charWidth=i,this.textHeight=n,this.lineLength=o,l){this.heightSamples={};for(let c=0;c<a.length;c++){let u=a[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}},Xy=class{constructor(e,r){this.from=e,this.heights=r,this.index=0}get more(){return this.index<this.heights.length}},io=class t{constructor(e,r,i,n,o){this.from=e,this.length=r,this.top=i,this.height=n,this._content=o}get type(){return typeof this._content=="number"?mi.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 Za?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let r=(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,r)}},qt=function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t}(qt||(qt={})),um=.001,qi=class t{constructor(e,r,i=2){this.length=e,this.height=r,this.flags=i}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,r){this.height!=r&&(Math.abs(this.height-r)>um&&(e.heightChanged=!0),this.height=r)}replace(e,r,i){return t.of(i)}decomposeLeft(e,r){r.push(this)}decomposeRight(e,r){r.push(this)}applyChanges(e,r,i,n){let o=this,a=i.doc;for(let s=n.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:u,toB:f}=n[s],d=o.lineAt(l,qt.ByPosNoHeight,i.setDoc(r),0,0),p=d.to>=c?d:o.lineAt(c,qt.ByPosNoHeight,i,0,0);for(f+=p.to-c,c=p.to;s>0&&d.from<=n[s-1].toA;)l=n[s-1].fromA,u=n[s-1].fromB,s--,l<d.from&&(d=o.lineAt(l,qt.ByPosNoHeight,i,0,0));u+=d.from-l,l=d.from;let O=Iy.build(i.setDoc(a),e,u,f);o=o.replace(l,c,O)}return o.updateHeight(i,0)}static empty(){return new an(0,0)}static of(e){if(e.length==1)return e[0];let r=0,i=e.length,n=0,o=0;for(;;)if(r==i)if(n>o*2){let s=e[r-1];s.break?e.splice(--r,1,s.left,null,s.right):e.splice(--r,1,s.left,s.right),i+=1+s.break,n-=s.size}else if(o>n*2){let s=e[i];s.break?e.splice(i,1,s.left,null,s.right):e.splice(i,1,s.left,s.right),i+=2+s.break,o-=s.size}else break;else if(n<o){let s=e[r++];s&&(n+=s.size)}else{let s=e[--i];s&&(o+=s.size)}let a=0;return e[r-1]==null?(a=1,r--):e[r]==null&&(a=1,i++),new Ry(t.of(e.slice(0,r)),a,t.of(e.slice(i)))}};qi.prototype.size=1;var vm=class extends qi{constructor(e,r,i){super(e,r),this.deco=i}blockAt(e,r,i,n){return new io(n,this.length,i,this.height,this.deco||0)}lineAt(e,r,i,n,o){return this.blockAt(0,i,n,o)}forEachLine(e,r,i,n,o,a){e<=o+this.length&&r>=o&&a(this.blockAt(0,i,n,o))}updateHeight(e,r=0,i=!1,n){return n&&n.from<=r&&n.more&&this.setHeight(e,n.heights[n.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},an=class t extends vm{constructor(e,r){super(e,r,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,r,i,n){return new io(n,this.length,i,this.height,this.breaks)}replace(e,r,i){let n=i[0];return i.length==1&&(n instanceof t||n instanceof Wa&&n.flags&4)&&Math.abs(this.length-n.length)<10?(n instanceof Wa?n=new t(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):qi.of(i)}updateHeight(e,r=0,i=!1,n){return n&&n.from<=r&&n.more?this.setHeight(e,n.heights[n.index++]):(i||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:""})`}},Wa=class t extends qi{constructor(e){super(e,0)}heightMetrics(e,r){let i=e.doc.lineAt(r).number,n=e.doc.lineAt(r+this.length).number,o=n-i+1,a,s=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);a=l/o,this.length>o+1&&(s=(this.height-l)/(this.length-o-1))}else a=this.height/o;return{firstLine:i,lastLine:n,perLine:a,perChar:s}}blockAt(e,r,i,n){let{firstLine:o,lastLine:a,perLine:s,perChar:l}=this.heightMetrics(r,n);if(r.lineWrapping){let c=n+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),u=r.doc.lineAt(c),f=s+u.length*l,d=Math.max(i,e-f/2);return new io(u.from,u.length,d,f,0)}else{let c=Math.max(0,Math.min(a-o,Math.floor((e-i)/s))),{from:u,length:f}=r.doc.line(o+c);return new io(u,f,i+s*c,s,0)}}lineAt(e,r,i,n,o){if(r==qt.ByHeight)return this.blockAt(e,i,n,o);if(r==qt.ByPosNoHeight){let{from:p,to:O}=i.doc.lineAt(e);return new io(p,O-p,0,0,0)}let{firstLine:a,perLine:s,perChar:l}=this.heightMetrics(i,o),c=i.doc.lineAt(e),u=s+c.length*l,f=c.number-a,d=n+s*f+l*(c.from-o-f);return new io(c.from,c.length,Math.max(n,Math.min(d,n+this.height-u)),u,0)}forEachLine(e,r,i,n,o,a){e=Math.max(e,o),r=Math.min(r,o+this.length);let{firstLine:s,perLine:l,perChar:c}=this.heightMetrics(i,o);for(let u=e,f=n;u<=r;){let d=i.doc.lineAt(u);if(u==e){let O=d.number-s;f+=l*O+c*(e-o-O)}let p=l+c*d.length;a(new io(d.from,d.length,f,p,0)),f+=p,u=d.to+1}}replace(e,r,i){let n=this.length-r;if(n>0){let o=i[i.length-1];o instanceof t?i[i.length-1]=new t(o.length+n):i.push(null,new t(n-1))}if(e>0){let o=i[0];o instanceof t?i[0]=new t(e+o.length):i.unshift(new t(e-1),null)}return qi.of(i)}decomposeLeft(e,r){r.push(new t(e-1),null)}decomposeRight(e,r){r.push(null,new t(this.length-e-1))}updateHeight(e,r=0,i=!1,n){let o=r+this.length;if(n&&n.from<=r+this.length&&n.more){let a=[],s=Math.max(r,n.from),l=-1;for(n.from>r&&a.push(new t(n.from-r-1).updateHeight(e,r));s<=o&&n.more;){let u=e.doc.lineAt(s).length;a.length&&a.push(null);let f=n.heights[n.index++];l==-1?l=f:Math.abs(f-l)>=um&&(l=-2);let d=new an(u,f);d.outdated=!1,a.push(d),s+=u+1}s<=o&&a.push(null,new t(o-s).updateHeight(e,s));let c=qi.of(a);return(l<0||Math.abs(c.height-this.height)>=um||Math.abs(l-this.heightMetrics(e,r).perLine)>=um)&&(e.heightChanged=!0),c}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(r,r+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},Ry=class extends qi{constructor(e,r,i){super(e.length+r+i.length,e.height+i.height,r|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,r,i,n){let o=i+this.left.height;return e<o?this.left.blockAt(e,r,i,n):this.right.blockAt(e,r,o,n+this.left.length+this.break)}lineAt(e,r,i,n,o){let a=n+this.left.height,s=o+this.left.length+this.break,l=r==qt.ByHeight?e<a:e<s,c=l?this.left.lineAt(e,r,i,n,o):this.right.lineAt(e,r,i,a,s);if(this.break||(l?c.to<s:c.from>s))return c;let u=r==qt.ByPosNoHeight?qt.ByPosNoHeight:qt.ByPos;return l?c.join(this.right.lineAt(s,u,i,a,s)):this.left.lineAt(s,u,i,n,o).join(c)}forEachLine(e,r,i,n,o,a){let s=n+this.left.height,l=o+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,r,i,n,o,a),r>=l&&this.right.forEachLine(e,r,i,s,l,a);else{let c=this.lineAt(l,qt.ByPos,i,n,o);e<c.from&&this.left.forEachLine(e,c.from-1,i,n,o,a),c.to>=e&&c.from<=r&&a(c),r>c.to&&this.right.forEachLine(c.to+1,r,i,s,l,a)}}replace(e,r,i){let n=this.left.length+this.break;if(r<n)return this.balanced(this.left.replace(e,r,i),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-n,r-n,i));let o=[];e>0&&this.decomposeLeft(e,o);let a=o.length;for(let s of i)o.push(s);if(e>0&&FC(o,a-1),r<this.length){let s=o.length;this.decomposeRight(r,o),FC(o,s)}return qi.of(o)}decomposeLeft(e,r){let i=this.left.length;if(e<=i)return this.left.decomposeLeft(e,r);r.push(this.left),this.break&&(i++,e>=i&&r.push(null)),e>i&&this.right.decomposeLeft(e-i,r)}decomposeRight(e,r){let i=this.left.length,n=i+this.break;if(e>=n)return this.right.decomposeRight(e-n,r);e<i&&this.left.decomposeRight(e,r),this.break&&e<n&&r.push(null),r.push(this.right)}balanced(e,r){return e.size>2*r.size||r.size>2*e.size?qi.of(this.break?[e,null,r]:[e,r]):(this.left=e,this.right=r,this.height=e.height+r.height,this.outdated=e.outdated||r.outdated,this.size=e.size+r.size,this.length=e.length+this.break+r.length,this)}updateHeight(e,r=0,i=!1,n){let{left:o,right:a}=this,s=r+o.length+this.break,l=null;return n&&n.from<=r+o.length&&n.more?l=o=o.updateHeight(e,r,i,n):o.updateHeight(e,r,i),n&&n.from<=s+a.length&&n.more?l=a=a.updateHeight(e,s,i,n):a.updateHeight(e,s,i),l?this.balanced(o,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}};function FC(t,e){let r,i;t[e]==null&&(r=t[e-1])instanceof Wa&&(i=t[e+1])instanceof Wa&&t.splice(e-1,3,new Wa(r.length+1+i.length))}var sH=5,Iy=class t{constructor(e,r){this.pos=e,this.oracle=r,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,r){if(this.lineStart>-1){let i=Math.min(r,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof an?n.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new an(i-this.pos,-1)),this.writtenTo=i,r>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=r}point(e,r,i){if(e<r||i.heightRelevant){let n=i.widget?i.widget.estimatedHeight:0,o=i.widget?i.widget.lineBreaks:0;n<0&&(n=this.oracle.lineHeight);let a=r-e;i.block?this.addBlock(new vm(a,n,i)):(a||o||n>=sH)&&this.addLineDeco(n,o,a)}else r>e&&this.span(e,r);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:r}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=r,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 an(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,r){let i=new Wa(r-e);return this.oracle.doc.lineAt(e).to==r&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof an)return e;let r=new an(0,-1);return this.nodes.push(r),r}addBlock(e){this.enterLine();let r=e.deco;r&&r.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,r&&r.endSide>0&&(this.covering=e)}addLineDeco(e,r,i){let n=this.ensureLine();n.length+=i,n.collapsed+=i,n.widgetHeight=Math.max(n.widgetHeight,e),n.breaks+=r,this.writtenTo=this.pos=this.pos+i}finish(e){let r=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(r instanceof an)&&!this.isCovered?this.nodes.push(new an(0,-1)):(this.writtenTo<this.pos||r==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let i=e;for(let n of this.nodes)n instanceof an&&n.updateHeight(this.oracle,i),i+=n?n.length:1;return this.nodes}static build(e,r,i,n){let o=new t(i,e);return Et.spans(r,i,n,o,0),o.finish(i)}};function lH(t,e,r){let i=new Ly;return Et.compare(t,e,r,i,0),i.changes}var Ly=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,r,i,n){(e<r||i&&i.heightRelevant||n&&n.heightRelevant)&&wy(e,r,this.changes,5)}};function cH(t,e){let r=t.getBoundingClientRect(),i=t.ownerDocument,n=i.defaultView||window,o=Math.max(0,r.left),a=Math.min(n.innerWidth,r.right),s=Math.max(0,r.top),l=Math.min(n.innerHeight,r.bottom);for(let c=t.parentNode;c&&c!=i.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),a=Math.min(a,d.right),s=Math.max(s,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-r.left,right:Math.max(o,a)-r.left,top:s-(r.top+e),bottom:Math.max(s,l)-(r.top+e)}}function uH(t,e){let r=t.getBoundingClientRect();return{left:0,right:r.right-r.left,top:e,bottom:r.bottom-(r.top+e)}}var Nf=class{constructor(e,r,i){this.from=e,this.to=r,this.size=i}static same(e,r){if(e.length!=r.length)return!1;for(let i=0;i<e.length;i++){let n=e[i],o=r[i];if(n.from!=o.from||n.to!=o.to||n.size!=o.size)return!1}return!0}draw(e,r){return Le.replace({widget:new My(this.size*(r?e.scaleY:e.scaleX),r)}).range(this.from,this.to)}},My=class extends Er{constructor(e,r){super(),this.size=e,this.vertical=r}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}},xm=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=!0,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=ZC,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Ct.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let r=e.facet(av).some(i=>typeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new $y(r),this.stateDeco=e.facet(Yf).filter(i=>typeof i!="function"),this.heightMap=qi.empty().applyChanges(this.stateDeco,gt.empty,this.heightOracle.setDoc(e.doc),[new oo(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Le.set(this.lineGaps.map(i=>i.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:r}=this.state.selection;for(let i=0;i<=1;i++){let n=i?r.head:r.anchor;if(!e.some(({from:o,to:a})=>n>=o&&n<=a)){let{from:o,to:a}=this.lineBlockAt(n);e.push(new bc(o,a))}}this.viewports=e.sort((i,n)=>i.from-n.from),this.scaler=this.heightMap.height<=7e6?ZC:new zy(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Xf(e,this.scaler))})}update(e,r=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Yf).filter(u=>typeof u!="function");let n=e.changedRanges,o=oo.extendWithRanges(n,lH(i,this.stateDeco,e?e.changes:hi.empty(this.state.doc.length))),a=this.heightMap.height,s=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!=a&&(e.flags|=2),s?(this.scrollAnchorPos=e.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(r&&(r.range.head<l.from||r.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,r));let c=!e.changes.empty||e.flags&2||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),c&&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(),r&&(this.scrollTarget=r),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(R9)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let r=e.contentDOM,i=window.getComputedStyle(r),n=this.heightOracle,o=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?Ct.RTL:Ct.LTR;let a=this.heightOracle.mustRefreshForWrapping(o),s=r.getBoundingClientRect(),l=a||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0;if(s.width&&s.height){let{scaleX:L,scaleY:N}=u9(r,s);(this.scaleX!=L||this.scaleY!=N)&&(this.scaleX=L,this.scaleY=N,c|=8,a=l=!0)}let f=(parseInt(i.paddingTop)||0)*this.scaleY,d=(parseInt(i.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=d9(e.scrollDOM);let O=(this.printing?uH:cH)(r,this.paddingTop),x=O.top-this.pixelViewport.top,k=O.bottom-this.pixelViewport.bottom;this.pixelViewport=O;let w=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(w!=this.inView&&(this.inView=w,w&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let C=s.width;if((this.contentDOMWidth!=C||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let L=e.docView.measureVisibleLineHeights(this.viewport);if(n.mustRefreshForHeights(L)&&(a=!0),a||n.lineWrapping&&Math.abs(C-this.contentDOMWidth)>n.charWidth){let{lineHeight:N,charWidth:I,textHeight:H}=e.docView.measureTextSize();a=N>0&&n.refresh(o,N,I,H,C/I,L),a&&(e.docView.minWidth=0,c|=8)}x>0&&k>0?u=Math.max(x,k):x<0&&k<0&&(u=Math.min(x,k)),n.heightChanged=!1;for(let N of this.viewports){let I=N.from==this.viewport.from?L:e.docView.measureVisibleLineHeights(N);this.heightMap=(a?qi.empty().applyChanges(this.stateDeco,gt.empty,this.heightOracle,[new oo(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(n,0,a,new Xy(N.from,I))}n.heightChanged&&(c|=2)}let Q=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return Q&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(c&2||Q)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]: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,r){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),n=this.heightMap,o=this.heightOracle,{visibleTop:a,visibleBottom:s}=this,l=new bc(n.lineAt(a-i*1e3,qt.ByHeight,o,0,0).from,n.lineAt(s+(1-i)*1e3,qt.ByHeight,o,0,0).to);if(r){let{head:c}=r.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=n.lineAt(c,qt.ByPos,o,0,0),d;r.y=="center"?d=(f.top+f.bottom)/2-u/2:r.y=="start"||r.y=="nearest"&&c<l.from?d=f.top:d=f.bottom-u,l=new bc(n.lineAt(d-1e3/2,qt.ByHeight,o,0,0).from,n.lineAt(d+u+1e3/2,qt.ByHeight,o,0,0).to)}}return l}mapViewport(e,r){let i=r.mapPos(e.from,-1),n=r.mapPos(e.to,1);return new bc(this.heightMap.lineAt(i,qt.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(n,qt.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:r},i=0){if(!this.inView)return!0;let{top:n}=this.heightMap.lineAt(e,qt.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(r,qt.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:s}=this;return(e==0||n<=a-Math.max(10,Math.min(-i,250)))&&(r==this.state.doc.length||o>=s+Math.max(10,Math.min(i,250)))&&n>a-2*1e3&&o<s+2*1e3}mapLineGaps(e,r){if(!e.length||r.empty)return e;let i=[];for(let n of e)r.touchesRange(n.from,n.to)||i.push(new Nf(r.mapPos(n.from),r.mapPos(n.to),n.size));return i}ensureLineGaps(e,r){let i=this.heightOracle.lineWrapping,n=i?1e4:2e3,o=n>>1,a=n<<1;if(this.defaultTextDirection!=Ct.LTR&&!i)return[];let s=[],l=(c,u,f,d)=>{if(u-c<o)return;let p=this.state.selection.main,O=[p.from];p.empty||O.push(p.to);for(let k of O)if(k>c&&k<u){l(c,k-10,f,d),l(k+10,u,f,d);return}let x=hH(e,k=>k.from>=f.from&&k.to<=f.to&&Math.abs(k.from-c)<o&&Math.abs(k.to-u)<o&&!O.some(w=>k.from<w&&k.to>w));if(!x){if(u<f.to&&r&&i&&r.visibleRanges.some(k=>k.from<=u&&k.to>=u)){let k=r.moveToLineBoundary(ce.cursor(u),!1,!0).head;k>c&&(u=k)}x=new Nf(c,u,this.gapSize(f,c,u,d))}s.push(x)};for(let c of this.viewportLines){if(c.length<a)continue;let u=fH(c.from,c.to,this.stateDeco);if(u.total<a)continue;let f=this.scrollTarget?this.scrollTarget.range.head:null,d,p;if(i){let O=n/this.heightOracle.lineLength*this.heightOracle.lineHeight,x,k;if(f!=null){let w=nm(u,f),C=((this.visibleBottom-this.visibleTop)/2+O)/c.height;x=w-C,k=w+C}else x=(this.visibleTop-c.top-O)/c.height,k=(this.visibleBottom-c.top+O)/c.height;d=im(u,x),p=im(u,k)}else{let O=u.total*this.heightOracle.charWidth,x=n*this.heightOracle.charWidth,k,w;if(f!=null){let C=nm(u,f),Q=((this.pixelViewport.right-this.pixelViewport.left)/2+x)/O;k=C-Q,w=C+Q}else k=(this.pixelViewport.left-x)/O,w=(this.pixelViewport.right+x)/O;d=im(u,k),p=im(u,w)}d>c.from&&l(c.from,d,c,u),p<c.to&&l(p,c.to,c,u)}return s}gapSize(e,r,i,n){let o=nm(n,i)-nm(n,r);return this.heightOracle.lineWrapping?e.height*o:n.total*this.heightOracle.charWidth*o}updateLineGaps(e){Nf.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Le.set(e.map(r=>r.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let r=[];Et.spans(e,this.viewport.from,this.viewport.to,{span(n,o){r.push({from:n,to:o})},point(){}},20);let i=r.length!=this.visibleRanges.length||this.visibleRanges.some((n,o)=>n.from!=r[o].from||n.to!=r[o].to);return this.visibleRanges=r,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(r=>r.from<=e&&r.to>=e)||Xf(this.heightMap.lineAt(e,qt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Xf(this.heightMap.lineAt(this.scaler.fromDOM(e),qt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let r=this.lineBlockAtHeight(e+8);return r.from>=this.viewport.from||this.viewportLines[0].top-e>200?r:this.viewportLines[0]}elementAtHeight(e){return Xf(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}},bc=class{constructor(e,r){this.from=e,this.to=r}};function fH(t,e,r){let i=[],n=t,o=0;return Et.spans(r,t,e,{span(){},point(a,s){a>n&&(i.push({from:n,to:a}),o+=a-n),n=s}},20),n<e&&(i.push({from:n,to:e}),o+=e-n),{total:o,ranges:i}}function im({total:t,ranges:e},r){if(r<=0)return e[0].from;if(r>=1)return e[e.length-1].to;let i=Math.floor(t*r);for(let n=0;;n++){let{from:o,to:a}=e[n],s=a-o;if(i<=s)return o+i;i-=s}}function nm(t,e){let r=0;for(let{from:i,to:n}of t.ranges){if(e<=n){r+=e-i;break}r+=n-i}return r/t.total}function hH(t,e){for(let r of t)if(e(r))return r}var ZC={toDOM(t){return t},fromDOM(t){return t},scale:1},zy=class{constructor(e,r,i){let n=0,o=0,a=0;this.viewports=i.map(({from:s,to:l})=>{let c=r.lineAt(s,qt.ByPos,e,0,0).top,u=r.lineAt(l,qt.ByPos,e,0,0).bottom;return n+=u-c,{from:s,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-n)/(r.height-n);for(let s of this.viewports)s.domTop=a+(s.top-o)*this.scale,a=s.domBottom=s.domTop+(s.bottom-s.top),o=s.bottom}toDOM(e){for(let r=0,i=0,n=0;;r++){let o=r<this.viewports.length?this.viewports[r]:null;if(!o||e<o.top)return n+(e-i)*this.scale;if(e<=o.bottom)return o.domTop+(e-o.top);i=o.bottom,n=o.domBottom}}fromDOM(e){for(let r=0,i=0,n=0;;r++){let o=r<this.viewports.length?this.viewports[r]:null;if(!o||e<o.domTop)return i+(e-n)/this.scale;if(e<=o.domBottom)return o.top+(e-o.domTop);i=o.bottom,n=o.domBottom}}};function Xf(t,e){if(e.scale==1)return t;let r=e.toDOM(t.top),i=e.toDOM(t.bottom);return new io(t.from,t.length,r,i-r,Array.isArray(t._content)?t._content.map(n=>Xf(n,e)):t._content)}var om=$e.define({combine:t=>t.join(" ")}),Dy=$e.define({combine:t=>t.indexOf(!0)>-1}),Ny=_i.newName(),K9=_i.newName(),J9=_i.newName(),eP={"&light":"."+K9,"&dark":"."+J9};function Uy(t,e,r){return new _i(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,n=>{if(n=="&")return t;if(!r||!r[n])throw new RangeError(`Unsupported selector: ${n}`);return r[n]}):t+" "+i}})}var dH=Uy("."+Ny,{"&":{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"}},eP),Rf="\uFFFF",qy=class{constructor(e,r){this.points=e,this.text="",this.lineSeparator=r.facet(Tt.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Rf}readRange(e,r){if(!e)return this;let i=e.parentNode;for(let n=e;;){this.findPointBefore(i,n);let o=this.text.length;this.readNode(n);let a=n.nextSibling;if(a==r)break;let s=Ft.get(n),l=Ft.get(a);(s&&l?s.breakAfter:(s?s.breakAfter:YC(n))||YC(a)&&(n.nodeName!="BR"||n.cmIgnore)&&this.text.length>o)&&this.lineBreak(),n=a}return this.findPointBefore(i,r),this}readTextNode(e){let r=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,r.length));for(let i=0,n=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,a=1,s;if(this.lineSeparator?(o=r.indexOf(this.lineSeparator,i),a=this.lineSeparator.length):(s=n.exec(r))&&(o=s.index,a=s[0].length),this.append(r.slice(i,o<0?r.length:o)),o<0)break;if(this.lineBreak(),a>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=a-1);i=o+a}}readNode(e){if(e.cmIgnore)return;let r=Ft.get(e),i=r&&r.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let n=i.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,r){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==r&&(i.pos=this.text.length)}findPointInside(e,r){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+(pH(e,i.node,i.offset)?r:0))}};function pH(t,e,r){for(;;){if(!e||r<Yo(e))return!1;if(e==t)return!0;r=jf(e)+1,e=e.parentNode}}function YC(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}var wm=class{constructor(e,r){this.node=e,this.offset=r,this.pos=-1}},By=class{constructor(e,r,i,n){this.typeOver=n,this.bounds=null,this.text="";let{impreciseHead:o,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&r>-1)this.newSel=null;else if(r>-1&&(this.bounds=e.docView.domBoundsAround(r,i,0))){let s=o||a?[]:gH(e),l=new qy(s,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=bH(s,this.bounds.from)}else{let s=e.observer.selectionRange,l=o&&o.node==s.focusNode&&o.offset==s.focusOffset||!my(e.contentDOM,s.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(s.focusNode,s.focusOffset),c=a&&a.node==s.anchorNode&&a.offset==s.anchorOffset||!my(e.contentDOM,s.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(s.anchorNode,s.anchorOffset),u=e.viewport;if(Ne.ios&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.to<e.state.doc.length)){let f=u.from-Math.min(l,c),d=u.to-Math.max(l,c);(f==0||f==1)&&(d==0||d==-1)&&(l=0,c=e.state.doc.length)}this.newSel=ce.single(c,l)}}};function tP(t,e){let r,{newSel:i}=e,n=t.state.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:s}=e.bounds,l=n.from,c=null;(o===8||Ne.android&&e.text.length<s-a)&&(l=n.to,c="end");let u=OH(t.state.doc.sliceString(a,s,Rf),e.text,l-a,c);u&&(Ne.chrome&&o==13&&u.toB==u.from+2&&e.text.slice(u.from,u.toB)==Rf+Rf&&u.toB--,r={from:a+u.from,to:a+u.toA,insert:gt.of(e.text.slice(u.from,u.toB).split(Rf))})}else i&&(!t.hasFocus&&t.state.facet(Am)||i.main.eq(n))&&(i=null);if(!r&&!i)return!1;if(!r&&e.typeOver&&!n.empty&&i&&i.main.empty?r={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,n.to)}:r&&r.from>=n.from&&r.to<=n.to&&(r.from!=n.from||r.to!=n.to)&&n.to-n.from-(r.to-r.from)<=4?r={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,r.from).append(r.insert).append(t.state.doc.slice(r.to,n.to))}:(Ne.mac||Ne.android)&&r&&r.from==r.to&&r.from==n.head-1&&/^\. ?$/.test(r.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(i&&r.insert.length==2&&(i=ce.single(i.main.anchor-1,i.main.head-1)),r={from:n.from,to:n.to,insert:gt.of([" "])}):Ne.chrome&&r&&r.from==r.to&&r.from==n.head&&r.insert.toString()==`
`&&t.lineWrapping&&(i&&(i=ce.single(i.main.anchor-1,i.main.head-1)),r={from:n.from,to:n.to,insert:gt.of([" "])}),r){if(Ne.ios&&t.inputState.flushIOSKey()||Ne.android&&(r.from==n.from&&r.to==n.to&&r.insert.length==1&&r.insert.lines==2&&xc(t.contentDOM,"Enter",13)||(r.from==n.from-1&&r.to==n.to&&r.insert.length==0||o==8&&r.insert.length<r.to-r.from&&r.to>n.head)&&xc(t.contentDOM,"Backspace",8)||r.from==n.from&&r.to==n.to+1&&r.insert.length==0&&xc(t.contentDOM,"Delete",46)))return!0;let a=r.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let s,l=()=>s||(s=mH(t,r,i));return t.state.facet(Q9).some(c=>c(t,r.from,r.to,a,l))||t.dispatch(l()),!0}else if(i&&!i.main.eq(n)){let a=!1,s="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),s=t.inputState.lastSelectionOrigin),t.dispatch({selection:i,scrollIntoView:a,userEvent:s}),!0}else return!1}function mH(t,e,r){let i,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&&(!r||r.main.empty&&r.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let s=o.from<e.from?n.sliceDoc(o.from,e.from):"",l=o.to>e.to?n.sliceDoc(e.to,o.to):"";i=n.replaceSelection(t.state.toText(s+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let s=n.changes(e),l=r&&r.main.to<=s.newLength?r.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=r&&N9(t,r.main.head);if(f){let O=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-O}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,p=o.to-o.from;i=n.changeByRange(O=>{if(O.from==o.from&&O.to==o.to)return{changes:s,range:l||O.map(s)};let x=O.to-d,k=x-c.length;if(O.to-O.from!=p||t.state.sliceDoc(k,x)!=c||O.to>=u.from&&O.from<=u.to)return{range:O};let w=n.changes({from:k,to:x,insert:e.insert}),C=O.to-o.to;return{changes:w,range:l?ce.range(Math.max(0,l.anchor+C),Math.max(0,l.head+C)):O.map(w)}})}else i={changes:s,selection:l&&n.selection.replaceRange(l)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),n.update(i,{userEvent:a,scrollIntoView:!0})}function OH(t,e,r,i){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 a=t.length,s=e.length;for(;a>0&&s>0&&t.charCodeAt(a-1)==e.charCodeAt(s-1);)a--,s--;if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a<o&&t.length<e.length){let l=r<=o&&r>=a?o-r:0;o-=l,s=o+(s-a),a=o}else if(s<o){let l=r<=o&&r>=s?o-r:0;o-=l,a=o+(a-s),s=o}return{from:o,toA:a,toB:s}}function gH(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:r,anchorOffset:i,focusNode:n,focusOffset:o}=t.observer.selectionRange;return r&&(e.push(new wm(r,i)),(n!=r||o!=i)&&e.push(new wm(n,o))),e}function bH(t,e){if(t.length==0)return null;let r=t[0].pos,i=t.length==2?t[1].pos:r;return r>-1&&i>-1?ce.single(r+e,i+e):null}var yH={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},fy=Ne.ie&&Ne.ie_version<=11,jy=class{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Oy,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.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(r=>{for(let i of r)this.queue.push(i);(Ne.ie&&Ne.ie_version<=11||Ne.ios&&e.composing)&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),fy&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.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),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var r;((r=this.view.docView)===null||r===void 0?void 0:r.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(r=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.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(r=>{r.length>0&&r[r.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(){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((r,i)=>r!=e[i]))){this.gapIntersection.disconnect();for(let r of e)this.gapIntersection.observe(r);this.gaps=e}}onSelectionChange(e){let r=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,n=this.selectionRange;if(i.state.facet(Am)?i.root.activeElement!=this.dom:!lm(i.dom,n))return;let o=n.anchorNode&&i.docView.nearest(n.anchorNode);if(o&&o.ignoreEvent(e)){r||(this.selectionChanged=!1);return}(Ne.ie&&Ne.ie_version<=11||Ne.android&&Ne.chrome)&&!i.state.selection.main.empty&&n.focusNode&&Lf(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,r=Ne.safari&&e.root.nodeType==11&&uY(this.dom.ownerDocument)==this.dom&&vH(this.view)||pm(e.root);if(!r||this.selectionRange.eq(r))return!1;let i=lm(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&mY(this.dom,r)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(r),i&&(this.selectionChanged=!0),!0)}setSelectionRange(e,r){this.selectionRange.set(e.node,e.offset,r.node,r.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,r=null;for(let i=this.dom;i;)if(i.nodeType==1)!r&&e<this.scrollTargets.length&&this.scrollTargets[e]==i?e++:r||(r=this.scrollTargets.slice(0,e)),r&&r.push(i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;if(e<this.scrollTargets.length&&!r&&(r=this.scrollTargets.slice(0,e)),r){for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);for(let i of this.scrollTargets=r)i.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,yH),fy&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),fy&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,r){var i;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&&xc(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(n)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:r,force:this.lastChange<Date.now()-50||!!(!((i=this.delayedAndroidKey)===null||i===void 0)&&i.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 r=-1,i=-1,n=!1;for(let o of e){let a=this.readMutation(o);a&&(a.typeOver&&(n=!0),r==-1?{from:r,to:i}=a:(r=Math.min(a.from,r),i=Math.max(a.to,i)))}return{from:r,to:i,typeOver:n}}readChange(){let{from:e,to:r,typeOver:i}=this.processRecords(),n=this.selectionChanged&&lm(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 By(this.view,e,r,i);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 r=this.readChange();if(!r)return this.view.requestMeasure(),!1;let i=this.view.state,n=tP(this.view,r);return this.view.state==i&&this.view.update([]),n}readMutation(e){let r=this.view.docView.nearest(e.target);if(!r||r.ignoreMutation(e))return null;if(r.markDirty(e.type=="attributes"),e.type=="attributes"&&(r.flags|=4),e.type=="childList"){let i=HC(r,e.previousSibling||e.target.previousSibling,-1),n=HC(r,e.nextSibling||e.target.nextSibling,1);return{from:i?r.posAfter(i):r.posAtStart,to:n?r.posBefore(n):r.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:r.posAtStart,to:r.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),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),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,r,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(r=this.gapIntersection)===null||r===void 0||r.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.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 HC(t,e,r){for(;e;){let i=Ft.get(e);if(i&&i.parent==t)return i;let n=e.parentNode;e=n!=t.dom?n:r>0?e.nextSibling:e.previousSibling}return null}function vH(t){let e=null;function r(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),!e)return null;let i=e.startContainer,n=e.startOffset,o=e.endContainer,a=e.endOffset,s=t.docView.domAtPos(t.state.selection.main.anchor);return Lf(s.node,s.offset,o,a)&&([i,n,o,a]=[o,a,i,n]),{anchorNode:i,anchorOffset:n,focusNode:o,focusOffset:a}}var we=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:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(i=>i.forEach(n=>r(n,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||pY(e.parent)||document,this.viewState=new xm(e.state||Tt.create(e)),e.scrollTo&&e.scrollTo.is(em)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Qf).map(i=>new Df(i));for(let i of this.plugins)i.update(this);this.observer=new jy(this),this.inputState=new _y(this),this.inputState.ensureHandlers(this.plugins),this.docView=new bm(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let r=e.length==1&&e[0]instanceof Jt?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(r,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let r=!1,i=!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 a=this.hasFocus,s=0,l=null;e.some(d=>d.annotation(Y9))?(this.inputState.notifiedFocused=a,s=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,l=H9(o,a),l||(s=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(Tt.phrases)!=this.state.facet(Tt.phrases))return this.setState(o);n=gm.create(this,o,e),n.flags|=s;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 zf(p.empty?p:ce.cursor(p.head,p.head>p.anchor?-1:1))}for(let p of d.effects)p.is(em)&&(f=p.value.clip(this.state))}this.viewState.update(n,f),this.bidiCache=km.update(this.bidiCache,n.changes),n.empty||(this.updatePlugins(n),this.inputState.update(n)),r=this.docView.update(n),this.state.facet($f)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(n.startState.facet(om)!=n.state.facet(om)&&(this.viewState.mustMeasureContent=!0),(r||i||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!n.empty)for(let d of this.state.facet(Ey))try{d(n)}catch(p){Oi(this.state,p,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!tP(this,u)&&c.force&&xc(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 r=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new xm(e),this.plugins=e.facet(Qf).map(i=>new Df(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView.destroy(),this.docView=new bm(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}r&&this.focus(),this.requestMeasure()}updatePlugins(e){let r=e.startState.facet(Qf),i=e.state.facet(Qf);if(r!=i){let n=[];for(let o of i){let a=r.indexOf(o);if(a<0)n.push(new Df(o));else{let s=this.plugins[a];s.mustUpdate=e,n.push(s)}}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);r!=i&&this.inputState.ensureHandlers(this.plugins)}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 r=null,i=this.scrollDOM,n=i.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:a}=this.viewState;Math.abs(n-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let s=0;;s++){if(a<0)if(d9(i))o=-1,a=this.viewState.heightMap.height;else{let p=this.viewState.scrollAnchorAt(n);o=p.from,a=p.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(s>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(O){return Oi(this.state,O),GC}}),f=gm.create(this,this.state,[]),d=!1;f.flags|=l,r?r.flags|=l:r=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f));for(let p=0;p<c.length;p++)if(u[p]!=GC)try{let O=c[p];O.write&&O.write(u[p],this)}catch(O){Oi(this.state,O)}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,a=-1;continue}else{let O=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-a;if(O>1||O<-1){n=n+O,i.scrollTop=n/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(r&&!r.empty)for(let s of this.state.facet(Ey))s(r)}get themeClasses(){return Ny+" "+(this.state.facet(Dy)?J9:K9)+" "+this.state.facet(om)}updateAttrs(){let e=KC(this,I9,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),r={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Am)?"true":"false",class:"cm-content",style:`${Ne.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(r["aria-readonly"]="true"),KC(this,av,r);let i=this.observer.ignore(()=>{let n=xy(this.contentDOM,this.contentAttrs,r),o=xy(this.dom,this.editorAttrs,e);return n||o});return this.editorAttrs=e,this.contentAttrs=r,i}showAnnouncements(e){let r=!0;for(let i of e)for(let n of i.effects)if(n.is(t.announce)){r&&(this.announceDOM.textContent=""),r=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=n.value}}mountStyles(){this.styleModules=this.state.facet($f);let e=this.state.facet(t.cspNonce);_i.mount(this.root,this.styleModules.concat(dH).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 r=0;r<this.measureRequests.length;r++)if(this.measureRequests[r].key===e.key){this.measureRequests[r]=e;return}}this.measureRequests.push(e)}}plugin(e){let r=this.pluginMap.get(e);return(r===void 0||r&&r.spec!=e)&&this.pluginMap.set(e,r=this.plugins.find(i=>i.spec==e)||null),r&&r.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,r,i){return uy(this,e,LC(this,e,r,i))}moveByGroup(e,r){return uy(this,e,LC(this,e,r,i=>jY(this,e.head,i)))}visualLineSide(e,r){let i=this.bidiSpans(e),n=this.textDirectionAt(e.from),o=i[r?i.length-1:0];return ce.cursor(o.side(r,n)+e.from,o.forward(!r,n)?1:-1)}moveToLineBoundary(e,r,i=!0){return BY(this,e,r,i)}moveVertically(e,r,i){return uy(this,e,WY(this,e,r,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,r=0){return this.docView.posFromDOM(e,r)}posAtCoords(e,r=!0){return this.readMeasured(),q9(this,e,r)}coordsAtPos(e,r=1){this.readMeasured();let i=this.docView.coordsAt(e,r);if(!i||i.left==i.right)return i;let n=this.state.doc.lineAt(e),o=this.bidiSpans(n),a=o[no.find(o,e-n.from,-1,r)];return rv(i,a.dir==Ct.LTR==r>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(X9)||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>xH)return T9(e.length);let r=this.textDirectionAt(e.from),i;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==r&&(o.fresh||S9(o.isolates,i=QC(this,e))))return o.order;i||(i=QC(this,e));let n=CY(e.text,r,i);return this.bidiCache.push(new km(e.from,e.to,r,i,!0,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Ne.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{f9(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,r={}){return em.of(new zf(typeof e=="number"?ce.cursor(e):e,r.y,r.x,r.yMargin,r.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:r}=this.scrollDOM,i=this.viewState.scrollAnchorAt(e);return em.of(new zf(ce.cursor(i.from),"start","start",i.top-e,r,!0))}static domEventHandlers(e){return pt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return pt.define(()=>({}),{eventObservers:e})}static theme(e,r){let i=_i.newName(),n=[om.of(i),$f.of(Uy(`.${i}`,e))];return r&&r.dark&&n.push(Dy.of(!0)),n}static baseTheme(e){return cr.lowest($f.of(Uy("."+Ny,e,eP)))}static findFromDOM(e){var r;let i=e.querySelector(".cm-content"),n=i&&Ft.get(i)||Ft.get(e);return((r=n==null?void 0:n.rootView)===null||r===void 0?void 0:r.view)||null}};we.styleModule=$f;we.inputHandler=Q9;we.focusChangeEffect=$9;we.perLineTextDirection=X9;we.exceptionSink=A9;we.updateListener=Ey;we.editable=Am;we.mouseSelectionStyle=_9;we.dragMovesSelection=P9;we.clickAddsSelectionRange=C9;we.decorations=Yf;we.outerDecorations=L9;we.atomicRanges=sv;we.bidiIsolatedRanges=M9;we.scrollMargins=z9;we.darkTheme=Dy;we.cspNonce=$e.define({combine:t=>t.length?t[0]:""});we.contentAttributes=av;we.editorAttributes=I9;we.lineWrapping=we.contentAttributes.of({class:"cm-lineWrapping"});we.announce=De.define();var xH=4096,GC={},km=class t{constructor(e,r,i,n,o,a){this.from=e,this.to=r,this.dir=i,this.isolates=n,this.fresh=o,this.order=a}static update(e,r){if(r.empty&&!e.some(o=>o.fresh))return e;let i=[],n=e.length?e[e.length-1].dir:Ct.LTR;for(let o=Math.max(0,e.length-10);o<e.length;o++){let a=e[o];a.dir==n&&!r.touchesRange(a.from,a.to)&&i.push(new t(r.mapPos(a.from,1),r.mapPos(a.to,-1),a.dir,a.isolates,!1,a.order))}return i}};function KC(t,e,r){for(let i=t.state.facet(e),n=i.length-1;n>=0;n--){let o=i[n],a=typeof o=="function"?o(t):o;a&&vy(a,r)}return r}var wH=Ne.mac?"mac":Ne.windows?"win":Ne.linux?"linux":"key";function kH(t,e){let r=t.split(/-(?!$)/),i=r[r.length-1];i=="Space"&&(i=" ");let n,o,a,s;for(let l=0;l<r.length-1;++l){let c=r[l];if(/^(cmd|meta|m)$/i.test(c))s=!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))a=!0;else if(/^mod$/i.test(c))e=="mac"?s=!0:o=!0;else throw new Error("Unrecognized modifier name: "+c)}return n&&(i="Alt-"+i),o&&(i="Ctrl-"+i),s&&(i="Meta-"+i),a&&(i="Shift-"+i),i}function am(t,e,r){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),r!==!1&&e.shiftKey&&(t="Shift-"+t),t}var SH=cr.default(we.domEventHandlers({keydown(t,e){return iP(rP(e.state),t,e,"editor")}})),vr=$e.define({enables:SH}),JC=new WeakMap;function rP(t){let e=t.facet(vr),r=JC.get(e);return r||JC.set(e,r=EH(e.reduce((i,n)=>i.concat(n),[]))),r}function lv(t,e,r){return iP(rP(t.state),e,t,r)}var ja=null,TH=4e3;function EH(t,e=wH){let r=Object.create(null),i=Object.create(null),n=(a,s)=>{let l=i[a];if(l==null)i[a]=s;else if(l!=s)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},o=(a,s,l,c,u)=>{var f,d;let p=r[a]||(r[a]=Object.create(null)),O=s.split(/ (?!$)/).map(w=>kH(w,e));for(let w=1;w<O.length;w++){let C=O.slice(0,w).join(" ");n(C,!0),p[C]||(p[C]={preventDefault:!0,stopPropagation:!1,run:[Q=>{let L=ja={view:Q,prefix:C,scope:a};return setTimeout(()=>{ja==L&&(ja=null)},TH),!0}]})}let x=O.join(" ");n(x,!1);let k=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&&k.run.push(l),c&&(k.preventDefault=!0),u&&(k.stopPropagation=!0)};for(let a of t){let s=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of s){let u=r[c]||(r[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let f in u)u[f].run.push(a.any)}let l=a[e]||a.key;if(l)for(let c of s)o(c,l,a.run,a.preventDefault,a.stopPropagation),a.shift&&o(c,"Shift-"+l,a.shift,a.preventDefault,a.stopPropagation)}return r}function iP(t,e,r,i){let n=kC(e),o=hr(n,0),a=fi(o)==n.length&&n!=" ",s="",l=!1,c=!1,u=!1;ja&&ja.view==r&&ja.scope==i&&(s=ja.prefix+" ",j9.indexOf(e.keyCode)<0&&(c=!0,ja=null));let f=new Set,d=k=>{if(k){for(let w of k.run)if(!f.has(w)&&(f.add(w),w(r,e)))return k.stopPropagation&&(u=!0),!0;k.preventDefault&&(k.stopPropagation&&(u=!0),c=!0)}return!1},p=t[i],O,x;return p&&(d(p[s+am(n,e,!a)])?l=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Ne.windows&&e.ctrlKey&&e.altKey)&&(O=Zo[e.keyCode])&&O!=n?(d(p[s+am(O,e,!0)])||e.shiftKey&&(x=Oc[e.keyCode])!=n&&x!=O&&d(p[s+am(x,e,!1)]))&&(l=!0):a&&e.shiftKey&&d(p[s+am(n,e,!0)])&&(l=!0),!l&&d(p._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),l}var Hf=class t{constructor(e,r,i,n,o){this.className=e,this.left=r,this.top=i,this.width=n,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,r){return r.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,r,i){if(i.empty){let n=e.coordsAtPos(i.head,i.assoc||1);if(!n)return[];let o=nP(e);return[new t(r,n.left-o.left,n.top-o.top,null,n.bottom-n.top)]}else return CH(e,r,i)}};function nP(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ct.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function e9(t,e,r){let i=ce.cursor(e);return{from:Math.max(r.from,t.moveToLineBoundary(i,!1,!0).from),to:Math.min(r.to,t.moveToLineBoundary(i,!0,!0).from),type:mi.Text}}function CH(t,e,r){if(r.to<=t.viewport.from||r.from>=t.viewport.to)return[];let i=Math.max(r.from,t.viewport.from),n=Math.min(r.to,t.viewport.to),o=t.textDirection==Ct.LTR,a=t.contentDOM,s=a.getBoundingClientRect(),l=nP(t),c=a.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),f=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=s.right-(u?parseInt(u.paddingRight):0),p=Py(t,i),O=Py(t,n),x=p.type==mi.Text?p:null,k=O.type==mi.Text?O:null;if(x&&(t.lineWrapping||p.widgetLineBreaks)&&(x=e9(t,i,x)),k&&(t.lineWrapping||O.widgetLineBreaks)&&(k=e9(t,n,k)),x&&k&&x.from==k.from)return C(Q(r.from,r.to,x));{let N=x?Q(r.from,null,x):L(p,!1),I=k?Q(null,r.to,k):L(O,!0),H=[];return(x||p).to<(k||O).from-(x&&k?1:0)||p.widgetLineBreaks>1&&N.bottom+t.defaultLineHeight/2<I.top?H.push(w(f,N.bottom,d,I.top)):N.bottom<I.top&&t.elementAtHeight((N.bottom+I.top)/2).type==mi.Text&&(N.bottom=I.top=(N.bottom+I.top)/2),C(N).concat(H).concat(C(I))}function w(N,I,H,j){return new Hf(e,N-l.left,I-l.top-.01,H-N,j-I+.01)}function C({top:N,bottom:I,horizontal:H}){let j=[];for(let Y=0;Y<H.length;Y+=2)j.push(w(H[Y],N,H[Y+1],I));return j}function Q(N,I,H){let j=1e9,Y=-1e9,V=[];function ne(ge,ve,_e,ae,pe){let J=t.coordsAtPos(ge,ge==H.to?-2:2),_=t.coordsAtPos(_e,_e==H.from?2:-2);!J||!_||(j=Math.min(J.top,_.top,j),Y=Math.max(J.bottom,_.bottom,Y),pe==Ct.LTR?V.push(o&&ve?f:J.left,o&&ae?d:_.right):V.push(!o&&ae?f:_.left,!o&&ve?d:J.right))}let ue=N!=null?N:H.from,he=I!=null?I:H.to;for(let ge of t.visibleRanges)if(ge.to>ue&&ge.from<he)for(let ve=Math.max(ge.from,ue),_e=Math.min(ge.to,he);;){let ae=t.state.doc.lineAt(ve);for(let pe of t.bidiSpans(ae)){let J=pe.from+ae.from,_=pe.to+ae.from;if(J>=_e)break;_>ve&&ne(Math.max(J,ve),N==null&&J<=ue,Math.min(_,_e),I==null&&_>=he,pe.dir)}if(ve=ae.to+1,ve>=_e)break}return V.length==0&&ne(ue,N==null,he,I==null,t.textDirection),{top:j,bottom:Y,horizontal:V}}function L(N,I){let H=s.top+(I?N.top:N.bottom);return{top:H,bottom:H,horizontal:[]}}}function PH(t,e){return t.constructor==e.constructor&&t.eq(e)}var Wy=class{constructor(e,r){this.view=e,this.layer=r,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"),r.above&&this.dom.classList.add("cm-layer-above"),r.class&&this.dom.classList.add(r.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),r.mount&&r.mount(this.dom,e)}update(e){e.startState.facet(fm)!=e.state.facet(fm)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let r=0,i=e.facet(fm);for(;r<i.length&&i[r]!=this.layer;)r++;this.dom.style.zIndex=String((this.layer.above?150:-1)-r)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:r}=this.view;(e!=this.scaleX||r!=this.scaleY)&&(this.scaleX=e,this.scaleY=r,this.dom.style.transform=`scale(${1/e}, ${1/r})`)}draw(e){if(e.length!=this.drawn.length||e.some((r,i)=>!PH(r,this.drawn[i]))){let r=this.dom.firstChild,i=0;for(let n of e)n.update&&r&&n.constructor&&this.drawn[i].constructor&&n.update(r,this.drawn[i])?(r=r.nextSibling,i++):this.dom.insertBefore(n.draw(),r);for(;r;){let n=r.nextSibling;r.remove(),r=n}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}},fm=$e.define();function oP(t){return[pt.define(e=>new Wy(e,t)),fm.of(t)]}var aP=!Ne.ios,kc=$e.define({combine(t){return Vt(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,r)=>Math.min(e,r),drawRangeCursor:(e,r)=>e||r})}});function sP(t={}){return[kc.of(t),_H,AH,QH,R9.of(!0)]}function lP(t){return t.facet(kc)}function cP(t){return t.startState.facet(kc)!=t.state.facet(kc)}var _H=oP({above:!0,markers(t){let{state:e}=t,r=e.facet(kc),i=[];for(let n of e.selection.ranges){let o=n==e.selection.main;if(n.empty?!o||aP:r.drawRangeCursor){let a=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",s=n.empty?n:ce.cursor(n.head,n.head>n.anchor?-1:1);for(let l of Hf.forRange(t,a,s))i.push(l)}}return i},update(t,e){t.transactions.some(i=>i.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let r=cP(t);return r&&t9(t.state,e),t.docChanged||t.selectionSet||r},mount(t,e){t9(e.state,t)},class:"cm-cursorLayer"});function t9(t,e){e.style.animationDuration=t.facet(kc).cursorBlinkRate+"ms"}var AH=oP({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:Hf.forRange(t,"cm-selectionBackground",e)).reduce((e,r)=>e.concat(r))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||cP(t)},class:"cm-selectionLayer"}),Vy={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};aP&&(Vy[".cm-line"].caretColor="transparent !important",Vy[".cm-content"]={caretColor:"transparent !important"});var QH=cr.highest(we.theme(Vy)),uP=De.define({map(t,e){return t==null?null:e.mapPos(t)}}),If=Ot.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((r,i)=>i.is(uP)?i.value:r,t)}}),$H=pt.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 r=t.state.field(If);r==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(If)!=r||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(If),r=e!=null&&t.coordsAtPos(e);if(!r)return null;let i=t.scrollDOM.getBoundingClientRect();return{left:r.left-i.left+t.scrollDOM.scrollLeft*t.scaleX,top:r.top-i.top+t.scrollDOM.scrollTop*t.scaleY,height:r.bottom-r.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:r}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/r+"px",this.cursor.style.height=t.height/r+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(If)!=t&&this.view.dispatch({effects:uP.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 fP(){return[If,$H]}function r9(t,e,r,i,n){e.lastIndex=0;for(let o=t.iterRange(r,i),a=r,s;!o.next().done;a+=o.value.length)if(!o.lineBreak)for(;s=e.exec(o.value);)n(a+s.index,s)}function XH(t,e){let r=t.visibleRanges;if(r.length==1&&r[0].from==t.viewport.from&&r[0].to==t.viewport.to)return r;let i=[];for(let{from:n,to:o}of r)n=Math.max(t.state.doc.lineAt(n).from,n-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),i.length&&i[i.length-1].to>=n?i[i.length-1].to=o:i.push({from:n,to:o});return i}var Fy=class{constructor(e){let{regexp:r,decoration:i,decorate:n,boundary:o,maxLength:a=1e3}=e;if(!r.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=r,n)this.addMatch=(s,l,c,u)=>n(u,c,c+s[0].length,s,l);else if(typeof i=="function")this.addMatch=(s,l,c,u)=>{let f=i(s,l,c);f&&u(c,c+s[0].length,f)};else if(i)this.addMatch=(s,l,c,u)=>u(c,c+s[0].length,i);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=a}createDeco(e){let r=new Ni,i=r.add.bind(r);for(let{from:n,to:o}of XH(e,this.maxLength))r9(e.state.doc,this.regexp,n,o,(a,s)=>this.addMatch(s,e,a,i));return r.finish()}updateDeco(e,r){let i=1e9,n=-1;return e.docChanged&&e.changes.iterChanges((o,a,s,l)=>{l>e.view.viewport.from&&s<e.view.viewport.to&&(i=Math.min(s,i),n=Math.max(l,n))}),e.viewportChanged||n-i>1e3?this.createDeco(e.view):n>-1?this.updateRange(e.view,r.map(e.changes),i,n):r}updateRange(e,r,i,n){for(let o of e.visibleRanges){let a=Math.max(o.from,i),s=Math.min(o.to,n);if(s>a){let l=e.state.doc.lineAt(a),c=l.to<s?e.state.doc.lineAt(s):l,u=Math.max(o.from,l.from),f=Math.min(o.to,c.to);if(this.boundary){for(;a>l.from;a--)if(this.boundary.test(l.text[a-1-l.from])){u=a;break}for(;s<c.to;s++)if(this.boundary.test(c.text[s-c.from])){f=s;break}}let d=[],p,O=(x,k,w)=>d.push(w.range(x,k));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,O);else r9(e.state.doc,this.regexp,u,f,(x,k)=>this.addMatch(k,e,x,O));r=r.update({filterFrom:u,filterTo:f,filter:(x,k)=>x<u||k>f,add:d})}}return r}},Zy=/x/.unicode!=null?"gu":"g",RH=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,Zy),IH={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"},hy=null;function LH(){var t;if(hy==null&&typeof document!="undefined"&&document.body){let e=document.body.style;hy=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return hy||!1}var hm=$e.define({combine(t){let e=Vt(t,{render:null,specialChars:RH,addSpecialChars:null});return(e.replaceTabs=!LH())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Zy)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Zy)),e}});function hP(t={}){return[hm.of(t),MH()]}var i9=null;function MH(){return i9||(i9=pt.fromClass(class{constructor(t){this.view=t,this.decorations=Le.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(hm)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Fy({regexp:t.specialChars,decoration:(e,r,i)=>{let{doc:n}=r.state,o=hr(e[0],0);if(o==9){let a=n.lineAt(i),s=r.state.tabSize,l=di(a.text,s,i-a.from);return Le.replace({widget:new Hy((s-l%s)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=Le.replace({widget:new Yy(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(hm);t.startState.facet(hm)!=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 zH="\u2022";function DH(t){return t>=32?zH:t==10?"\u2424":String.fromCharCode(9216+t)}var Yy=class extends Er{constructor(e,r){super(),this.options=e,this.code=r}eq(e){return e.code==this.code}toDOM(e){let r=DH(this.code),i=e.state.phrase("Control character")+" "+(IH[this.code]||"0x"+this.code.toString(16)),n=this.options.render&&this.options.render(this.code,i,r);if(n)return n;let o=document.createElement("span");return o.textContent=r,o.title=i,o.setAttribute("aria-label",i),o.className="cm-specialChar",o}ignoreEvent(){return!1}},Hy=class extends Er{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 dP(){return UH}var NH=Le.line({class:"cm-activeLine"}),UH=pt.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,r=[];for(let i of t.state.selection.ranges){let n=t.lineBlockAt(i.head);n.from>e&&(r.push(NH.range(n.from)),e=n.from)}return Le.set(r)}},{decorations:t=>t.decorations});var Gy=2e3;function qH(t,e,r){let i=Math.min(e.line,r.line),n=Math.max(e.line,r.line),o=[];if(e.off>Gy||r.off>Gy||e.col<0||r.col<0){let a=Math.min(e.off,r.off),s=Math.max(e.off,r.off);for(let l=i;l<=n;l++){let c=t.doc.line(l);c.length<=s&&o.push(ce.range(c.from+a,c.to+s))}}else{let a=Math.min(e.col,r.col),s=Math.max(e.col,r.col);for(let l=i;l<=n;l++){let c=t.doc.line(l),u=Gp(c.text,a,t.tabSize,!0);if(u<0)o.push(ce.cursor(c.to));else{let f=Gp(c.text,s,t.tabSize);o.push(ce.range(c.from+u,c.from+f))}}}return o}function BH(t,e){let r=t.coordsAtPos(t.viewport.from);return r?Math.round(Math.abs((r.left-e)/t.defaultCharacterWidth)):-1}function n9(t,e){let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),i=t.state.doc.lineAt(r),n=r-i.from,o=n>Gy?-1:n==i.length?BH(t,e.clientX):di(i.text,t.state.tabSize,r-i.from);return{line:i.number,col:o,off:n}}function jH(t,e){let r=n9(t,e),i=t.state.selection;return r?{update(n){if(n.docChanged){let o=n.changes.mapPos(n.startState.doc.line(r.line).from),a=n.state.doc.lineAt(o);r={line:a.number,col:r.col,off:Math.min(r.off,a.length)},i=i.map(n.changes)}},get(n,o,a){let s=n9(t,n);if(!s)return i;let l=qH(t.state,r,s);return l.length?a?ce.create(l.concat(i.ranges)):ce.create(l):i}}:null}function pP(t){let e=(t==null?void 0:t.eventFilter)||(r=>r.altKey&&r.button==0);return we.mouseSelectionStyle.of((r,i)=>e(i)?jH(r,i):null)}var WH={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},VH={style:"cursor: crosshair"};function mP(t={}){let[e,r]=WH[t.key||"Alt"],i=pt.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||r(n))},keyup(n){(n.keyCode==e||!r(n))&&this.set(!1)},mousemove(n){this.set(r(n))}}});return[i,we.contentAttributes.of(n=>{var o;return!((o=n.plugin(i))===null||o===void 0)&&o.isDown?VH:null})]}var Af="-10000px",Sm=class{constructor(e,r,i,n){this.facet=r,this.createTooltipView=i,this.removeTooltipView=n,this.input=e.state.facet(r),this.tooltips=this.input.filter(o=>o),this.tooltipViews=this.tooltips.map(i)}update(e,r){var i;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 a=[],s=r?[]: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)a[l]=this.createTooltipView(c),s&&(s[l]=!!c.above);else{let f=a[l]=this.tooltipViews[u];s&&(s[l]=r[u]),f.update&&f.update(e)}}}for(let l of this.tooltipViews)a.indexOf(l)<0&&(this.removeTooltipView(l),(i=l.destroy)===null||i===void 0||i.call(l));return r&&(s.forEach((l,c)=>r[c]=l),r.length=s.length),this.input=n,this.tooltips=o,this.tooltipViews=a,!0}};function FH(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}var dy=$e.define({combine:t=>{var e,r,i;return{position:Ne.ios?"absolute":((e=t.find(n=>n.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((r=t.find(n=>n.parent))===null||r===void 0?void 0:r.parent)||null,tooltipSpace:((i=t.find(n=>n.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||FH}}}),o9=new WeakMap,cv=pt.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(dy);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 Sm(t,Ho,r=>this.createTooltip(r),r=>{this.resizeObserver&&this.resizeObserver.unobserve(r.dom),r.dom.remove()}),this.above=this.manager.tooltips.map(r=>!!r.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(r=>{Date.now()>this.lastTransaction-50&&r.length>0&&r[r.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 r=e||t.geometryChanged,i=t.state.facet(dy);if(i.position!=this.position&&!this.madeAbsolute){this.position=i.position;for(let n of this.manager.tooltipViews)n.dom.style.position=this.position;r=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let n of this.manager.tooltipViews)this.container.appendChild(n.dom);r=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);r&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",e.dom.appendChild(r)}return e.dom.style.position=this.position,e.dom.style.top=Af,e.dom.style.left="0px",this.container.appendChild(e.dom),e.mount&&e.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(e.dom),e}destroy(){var t,e,r;this.view.win.removeEventListener("resize",this.measureSoon);for(let i of this.manager.tooltipViews)i.dom.remove(),(t=i.destroy)===null||t===void 0||t.call(i);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(r=this.intersectionObserver)===null||r===void 0||r.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,r=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:n}=this.manager.tooltipViews[0];if(Ne.gecko)i=n.offsetParent!=this.container.ownerDocument.body;else if(n.style.top==Af&&n.style.left=="0px"){let o=n.getBoundingClientRect();i=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}}if(i||this.position=="absolute")if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,r=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:r}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((n,o)=>{let a=this.manager.tooltipViews[o];return a.getCoords?a.getCoords(n.pos):this.view.coordsAtPos(n.pos)}),size:this.manager.tooltipViews.map(({dom:n})=>n.getBoundingClientRect()),space:this.view.state.facet(dy).tooltipSpace(this.view),scaleX:e,scaleY:r,makeAbsolute:i}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let s of this.manager.tooltipViews)s.dom.style.position="absolute"}let{editor:r,space:i,scaleX:n,scaleY:o}=t,a=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,f=t.pos[s],d=t.size[s];if(!f||f.bottom<=Math.max(r.top,i.top)||f.top>=Math.min(r.bottom,i.bottom)||f.right<Math.max(r.left,i.left)-.1||f.left>Math.min(r.right,i.right)+.1){u.style.top=Af;continue}let p=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,O=p?7:0,x=d.right-d.left,k=(e=o9.get(c))!==null&&e!==void 0?e:d.bottom-d.top,w=c.offset||YH,C=this.view.textDirection==Ct.LTR,Q=d.width>i.right-i.left?C?i.left:i.right-d.width:C?Math.min(f.left-(p?14:0)+w.x,i.right-x):Math.max(i.left,f.left-x+(p?14:0)-w.x),L=this.above[s];!l.strictSide&&(L?f.top-(d.bottom-d.top)-w.y<i.top:f.bottom+(d.bottom-d.top)+w.y>i.bottom)&&L==i.bottom-f.bottom>f.top-i.top&&(L=this.above[s]=!L);let N=(L?f.top-i.top:i.bottom-f.bottom)-O;if(N<k&&c.resize!==!1){if(N<this.view.defaultLineHeight){u.style.top=Af;continue}o9.set(c,k),u.style.height=(k=N)/o+"px"}else u.style.height&&(u.style.height="");let I=L?f.top-k-O-w.y:f.bottom+O+w.y,H=Q+x;if(c.overlap!==!0)for(let j of a)j.left<H&&j.right>Q&&j.top<I+k&&j.bottom>I&&(I=L?j.top-k-2-O:j.bottom+O+2);if(this.position=="absolute"?(u.style.top=(I-t.parent.top)/o+"px",u.style.left=(Q-t.parent.left)/n+"px"):(u.style.top=I/o+"px",u.style.left=Q/n+"px"),p){let j=f.left+(C?w.x:-w.x)-(Q+14-7);p.style.left=j/n+"px"}c.overlap!==!0&&a.push({left:Q,top:I,right:H,bottom:I+k}),u.classList.toggle("cm-tooltip-above",L),u.classList.toggle("cm-tooltip-below",!L),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=Af}},{eventObservers:{scroll(){this.maybeMeasure()}}}),ZH=we.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"}}}),YH={x:0,y:0},Ho=$e.define({enables:[cv,ZH]}),Tm=$e.define(),Em=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 Sm(e,Tm,r=>this.createHostedView(r),r=>r.dom.remove())}createHostedView(e){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(r.dom),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let r of this.manager.tooltipViews)r.mount&&r.mount(e);this.mounted=!0}positioned(e){for(let r of this.manager.tooltipViews)r.positioned&&r.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let r of this.manager.tooltipViews)(e=r.destroy)===null||e===void 0||e.call(r)}passProp(e){let r;for(let i of this.manager.tooltipViews){let n=i[e];if(n!==void 0){if(r===void 0)r=n;else if(r!==n)return}}return r}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}},HH=Ho.compute([Tm],t=>{let e=t.facet(Tm).filter(r=>r);return e.length===0?null:{pos:Math.min(...e.map(r=>r.pos)),end:Math.max(...e.map(r=>{var i;return(i=r.end)!==null&&i!==void 0?i:r.pos})),create:Em.create,above:e[0].above,arrow:e.some(r=>r.arrow)}}),Ky=class{constructor(e,r,i,n,o){this.view=e,this.source=r,this.field=i,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)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:r}=this,i=e.docView.nearest(r.target);if(!i)return;let n,o=1;if(i instanceof Wf)n=i.posAtStart;else{if(n=e.posAtCoords(r),n==null)return;let s=e.coordsAtPos(n);if(!s||r.y<s.top||r.y>s.bottom||r.x<s.left-e.defaultCharacterWidth||r.x>s.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==Ct.RTL?-1:1;o=r.x<s.left?-c:c}let a=this.source(e,n,o);if(a!=null&&a.then){let s=this.pending={pos:n};a.then(l=>{this.pending==s&&(this.pending=null,l&&e.dispatch({effects:this.setHover.of(l)}))},l=>Oi(e.state,l,"hover tooltip"))}else a&&e.dispatch({effects:this.setHover.of(a)})}get tooltip(){let e=this.view.plugin(cv),r=e?e.manager.tooltips.findIndex(i=>i.create==Em.create):-1;return r>-1?e.manager.tooltipViews[r]:null}mousemove(e){var 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:i,tooltip:n}=this;if(i&&n&&!GH(n.dom,e)||this.pending){let{pos:o}=i||this.pending,a=(r=i==null?void 0:i.end)!==null&&r!==void 0?r:o;(o==a?this.view.posAtCoords(this.lastMove)!=o:!KH(this.view,o,a,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:r}=this;if(r){let{tooltip:i}=this;i&&i.dom.contains(e.relatedTarget)?this.watchTooltipLeave(i.dom):this.view.dispatch({effects:this.setHover.of(null)})}}watchTooltipLeave(e){let r=i=>{e.removeEventListener("mouseleave",r),this.active&&!this.view.dom.contains(i.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})};e.addEventListener("mouseleave",r)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}},sm=4;function GH(t,e){let r=t.getBoundingClientRect();return e.clientX>=r.left-sm&&e.clientX<=r.right+sm&&e.clientY>=r.top-sm&&e.clientY<=r.bottom+sm}function KH(t,e,r,i,n,o){let a=t.scrollDOM.getBoundingClientRect(),s=t.documentTop+t.documentPadding.top+t.contentHeight;if(a.left>i||a.right<i||a.top>n||Math.min(a.bottom,s)<n)return!1;let l=t.posAtCoords({x:i,y:n},!1);return l>=e&&l<=r}function Qm(t,e={}){let r=De.define(),i=Ot.define({create(){return null},update(n,o){if(n&&(e.hideOnChange&&(o.docChanged||o.selection)||e.hideOn&&e.hideOn(o,n)))return null;if(n&&o.docChanged){let a=o.changes.mapPos(n.pos,-1,Wt.TrackDel);if(a==null)return null;let s=Object.assign(Object.create(null),n);s.pos=a,n.end!=null&&(s.end=o.changes.mapPos(n.end)),n=s}for(let a of o.effects)a.is(r)&&(n=a.value),a.is(JH)&&(n=null);return n},provide:n=>Tm.from(n)});return[i,pt.define(n=>new Ky(n,t,i,r,e.hoverTime||300)),HH]}function uv(t,e){let r=t.plugin(cv);if(!r)return null;let i=r.manager.tooltips.indexOf(e);return i<0?null:r.manager.tooltipViews[i]}var JH=De.define();var a9=$e.define({combine(t){let e,r;for(let i of t)e=e||i.topContainer,r=r||i.bottomContainer;return{topContainer:e,bottomContainer:r}}});function Gs(t,e){let r=t.plugin(OP),i=r?r.specs.indexOf(e):-1;return i>-1?r.panels[i]:null}var OP=pt.fromClass(class{constructor(t){this.input=t.state.facet(sn),this.specs=this.input.filter(r=>r),this.panels=this.specs.map(r=>r(t));let e=t.state.facet(a9);this.top=new yc(t,!0,e.topContainer),this.bottom=new yc(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(r=>r.top)),this.bottom.sync(this.panels.filter(r=>!r.top));for(let r of this.panels)r.dom.classList.add("cm-panel"),r.mount&&r.mount()}update(t){let e=t.state.facet(a9);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new yc(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new yc(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let r=t.state.facet(sn);if(r!=this.input){let i=r.filter(l=>l),n=[],o=[],a=[],s=[];for(let l of i){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),s.push(u)):(u=this.panels[c],u.update&&u.update(t)),n.push(u),(u.top?o:a).push(u)}this.specs=i,this.panels=n,this.top.sync(o),this.bottom.sync(a);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let i of this.panels)i.update&&i.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>we.scrollMargins.of(e=>{let r=e.plugin(t);return r&&{top:r.top.scrollMargin(),bottom:r.bottom.scrollMargin()}})}),yc=class{constructor(e,r,i){this.view=e,this.top=r,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let r of this.panels)r.destroy&&e.indexOf(r)<0&&r.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 r=this.container||this.view.dom;r.insertBefore(this.dom,this.top?r.firstChild:null)}let e=this.dom.firstChild;for(let r of this.panels)if(r.dom.parentNode==this.dom){for(;e!=r.dom;)e=s9(e);e=e.nextSibling}else this.dom.insertBefore(r.dom,e);for(;e;)e=s9(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 s9(t){let e=t.nextSibling;return t.remove(),e}var sn=$e.define({enables:OP}),Bi=class extends En{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};Bi.prototype.elementClass="";Bi.prototype.toDOM=void 0;Bi.prototype.mapMode=Wt.TrackBefore;Bi.prototype.startSide=Bi.prototype.endSide=-1;Bi.prototype.point=!0;var dm=$e.define(),eG={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Et.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Uf=$e.define();function fv(t){return[gP(),Uf.of(Object.assign(Object.assign({},eG),t))]}var Jy=$e.define({combine:t=>t.some(e=>e)});function gP(t){let e=[tG];return t&&t.fixed===!1&&e.push(Jy.of(!0)),e}var tG=pt.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(Uf).map(e=>new Cm(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(Jy),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,r=t.view.viewport,i=Math.min(e.to,r.to)-Math.max(e.from,r.from);this.syncGutters(i<(r.to-r.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Jy)!=!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 r=Et.iter(this.view.state.facet(dm),this.view.viewport.from),i=[],n=this.gutters.map(o=>new tv(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(o.type)){let a=!0;for(let s of o.type)if(s.type==mi.Text&&a){ev(r,i,s.from);for(let l of n)l.line(this.view,s,i);a=!1}else if(s.widget)for(let l of n)l.widget(this.view,s)}else if(o.type==mi.Text){ev(r,i,o.from);for(let a of n)a.line(this.view,o,i)}else if(o.widget)for(let a of n)a.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(Uf),r=t.state.facet(Uf),i=t.docChanged||t.heightChanged||t.viewportChanged||!Et.eq(t.startState.facet(dm),t.state.facet(dm),t.view.viewport.from,t.view.viewport.to);if(e==r)for(let n of this.gutters)n.update(t)&&(i=!0);else{i=!0;let n=[];for(let o of r){let a=e.indexOf(o);a<0?n.push(new Cm(this.view,o)):(this.gutters[a].update(t),n.push(this.gutters[a]))}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 i}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>we.scrollMargins.of(e=>{let r=e.plugin(t);return!r||r.gutters.length==0||!r.fixed?null:e.textDirection==Ct.LTR?{left:r.dom.offsetWidth*e.scaleX}:{right:r.dom.offsetWidth*e.scaleX}})});function l9(t){return Array.isArray(t)?t:[t]}function ev(t,e,r){for(;t.value&&t.from<=r;)t.from==r&&e.push(t.value),t.next()}var tv=class{constructor(e,r,i){this.gutter=e,this.height=i,this.i=0,this.cursor=Et.iter(e.markers,r.from)}addElement(e,r,i){let{gutter:n}=this,o=(r.top-this.height)/e.scaleY,a=r.height/e.scaleY;if(this.i==n.elements.length){let s=new Pm(e,a,o,i);n.elements.push(s),n.dom.appendChild(s.dom)}else n.elements[this.i].update(e,a,o,i);this.height=r.bottom,this.i++}line(e,r,i){let n=[];ev(this.cursor,n,r.from),i.length&&(n=n.concat(i));let o=this.gutter.config.lineMarker(e,r,n);o&&n.unshift(o);let a=this.gutter;n.length==0&&!a.config.renderEmptyElements||this.addElement(e,r,n)}widget(e,r){let i=this.gutter.config.widgetMarker(e,r.widget,r);i&&this.addElement(e,r,[i])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let r=e.elements.pop();e.dom.removeChild(r.dom),r.destroy()}}},Cm=class{constructor(e,r){this.view=e,this.config=r,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in r.domEventHandlers)this.dom.addEventListener(i,n=>{let o=n.target,a;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();a=(l.top+l.bottom)/2}else a=n.clientY;let s=e.lineBlockAtHeight(a-e.documentTop);r.domEventHandlers[i](e,s,n)&&n.preventDefault()});this.markers=l9(r.markers(e)),r.initialSpacer&&(this.spacer=new Pm(e,0,0,[r.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let r=this.markers;if(this.markers=l9(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 i=e.view.viewport;return!Et.eq(this.markers,r,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},Pm=class{constructor(e,r,i,n){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,r,i,n)}update(e,r,i,n){this.height!=r&&(this.height=r,this.dom.style.height=r+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),rG(this.markers,n)||this.setMarkers(e,n)}setMarkers(e,r){let i="cm-gutterElement",n=this.dom.firstChild;for(let o=0,a=0;;){let s=a,l=o<r.length?r[o++]:null,c=!1;if(l){let u=l.elementClass;u&&(i+=" "+u);for(let f=a;f<this.markers.length;f++)if(this.markers[f].compare(l)){s=f,c=!0;break}}else s=this.markers.length;for(;a<s;){let u=this.markers[a++];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&&a++}this.dom.className=i,this.markers=r}destroy(){this.setMarkers(null,[])}};function rG(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!t[r].compare(e[r]))return!1;return!0}var iG=$e.define(),vc=$e.define({combine(t){return Vt(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,r){let i=Object.assign({},e);for(let n in r){let o=i[n],a=r[n];i[n]=o?(s,l,c)=>o(s,l,c)||a(s,l,c):a}return i}})}}),qf=class extends Bi{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};function py(t,e){return t.state.facet(vc).formatNumber(e,t.state)}var nG=Uf.compute([vc],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(iG)},lineMarker(e,r,i){return i.some(n=>n.toDOM)?null:new qf(py(e,e.state.doc.lineAt(r.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(vc)!=e.state.facet(vc),initialSpacer(e){return new qf(py(e,c9(e.state.doc.lines)))},updateSpacer(e,r){let i=py(r.view,c9(r.view.state.doc.lines));return i==e.number?e:new qf(i)},domEventHandlers:t.facet(vc).domEventHandlers}));function bP(t={}){return[vc.of(t),gP(),nG]}function c9(t){let e=9;for(;e<t;)e=e*10+9;return e}var oG=new class extends Bi{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},aG=dm.compute(["selection"],t=>{let e=[],r=-1;for(let i of t.selection.ranges){let n=t.doc.lineAt(i.head).from;n>r&&(r=n,e.push(oG.range(n)))}return Et.of(e)});function yP(){return aG}var lG=0,ln=class t{constructor(e,r,i){this.set=e,this.base=r,this.modified=i,this.id=lG++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let r=new t([],null,[]);if(r.set.push(r),e)for(let i of e.set)r.set.push(i);return r}static defineModifier(){let e=new Im;return r=>r.modified.indexOf(e)>-1?r:Im.get(r.base||r,r.modified.concat(e).sort((i,n)=>i.id-n.id))}},cG=0,Im=class t{constructor(){this.instances=[],this.id=cG++}static get(e,r){if(!r.length)return e;let i=r[0].instances.find(s=>s.base==e&&uG(r,s.modified));if(i)return i;let n=[],o=new ln(n,e,r);for(let s of r)s.instances.push(o);let a=fG(r);for(let s of e.set)if(!s.modified.length)for(let l of a)n.push(t.get(s,l));return o}};function uG(t,e){return t.length==e.length&&t.every((r,i)=>r==e[i])}function fG(t){let e=[[]];for(let r=0;r<t.length;r++)for(let i=0,n=e.length;i<n;i++)e.push(e[i].concat(t[r]));return e.sort((r,i)=>i.length-r.length)}function xr(t){let e=Object.create(null);for(let r in t){let i=t[r];Array.isArray(i)||(i=[i]);for(let n of r.split(" "))if(n){let o=[],a=2,s=n;for(let f=0;;){if(s=="..."&&f>0&&f+3==n.length){a=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);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=="!"){a=0;break}if(p!="/")throw new RangeError("Invalid path: "+n);s=n.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+n);let u=new Sc(i,a,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return wP.add(e)}var wP=new We,Sc=class{constructor(e,r,i,n){this.tags=e,this.mode=r,this.context=i,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}};Sc.empty=new Sc([],2,null);function mv(t,e){let r=Object.create(null);for(let o of t)if(!Array.isArray(o.tag))r[o.tag.id]=o.class;else for(let a of o.tag)r[a.id]=o.class;let{scope:i,all:n=null}=e||{};return{style:o=>{let a=n;for(let s of o)for(let l of s.set){let c=r[l.id];if(c){a=a?a+" "+c:c;break}}return a},scope:i}}function hG(t,e){let r=null;for(let i of t){let n=i.style(e);n&&(r=r?r+" "+n:n)}return r}function Ov(t,e,r,i=0,n=t.length){let o=new dv(i,Array.isArray(e)?e:[e],r);o.highlightRange(t.cursor(),i,n,"",o.highlighters),o.flush(n)}function kP(t,e,r,i,n,o=0,a=t.length){let s=o;function l(c,u){if(!(c<=s)){for(let f=t.slice(s,c),d=0;;){let p=f.indexOf(`
`,d),O=p<0?f.length:p;if(O>d&&i(f.slice(d,O),u),p<0)break;n(),d=p+1}s=c}}Ov(e,r,(c,u,f)=>{l(c,""),l(u,f)},o,a),l(a,"")}var dv=class{constructor(e,r,i){this.at=e,this.highlighters=r,this.span=i,this.class=""}startSpan(e,r){r!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=r)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,r,i,n,o){let{type:a,from:s,to:l}=e;if(s>=i||l<=r)return;a.isTop&&(o=this.highlighters.filter(p=>!p.scope||p.scope(a)));let c=n,u=dG(e)||Sc.empty,f=hG(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(n+=(n?" ":"")+f)),this.startSpan(Math.max(r,s),c),u.opaque)return;let d=e.tree&&e.tree.prop(We.mounted);if(d&&d.overlay){let p=e.node.enter(d.overlay[0].from+s,1),O=this.highlighters.filter(k=>!k.scope||k.scope(d.tree.type)),x=e.firstChild();for(let k=0,w=s;;k++){let C=k<d.overlay.length?d.overlay[k]:null,Q=C?C.from+s:l,L=Math.max(r,w),N=Math.min(i,Q);if(L<N&&x)for(;e.from<N&&(this.highlightRange(e,L,N,n,o),this.startSpan(Math.min(N,e.to),c),!(e.to>=Q||!e.nextSibling())););if(!C||Q>i)break;w=C.to+s,w>r&&(this.highlightRange(p.cursor(),Math.max(r,C.from+s),Math.min(i,w),"",O),this.startSpan(Math.min(i,w),c))}x&&e.parent()}else if(e.firstChild()){d&&(n="");do if(!(e.to<=r)){if(e.from>=i)break;this.highlightRange(e,r,i,n,o),this.startSpan(Math.min(i,e.to),c)}while(e.nextSibling());e.parent()}}};function dG(t){let e=t.type.prop(wP);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}var Re=ln.define,$m=Re(),Ya=Re(),vP=Re(Ya),xP=Re(Ya),Ha=Re(),Xm=Re(Ha),hv=Re(Ha),lo=Re(),Ks=Re(lo),ao=Re(),so=Re(),pv=Re(),Gf=Re(pv),Rm=Re(),A={comment:$m,lineComment:Re($m),blockComment:Re($m),docComment:Re($m),name:Ya,variableName:Re(Ya),typeName:vP,tagName:Re(vP),propertyName:xP,attributeName:Re(xP),className:Re(Ya),labelName:Re(Ya),namespace:Re(Ya),macroName:Re(Ya),literal:Ha,string:Xm,docString:Re(Xm),character:Re(Xm),attributeValue:Re(Xm),number:hv,integer:Re(hv),float:Re(hv),bool:Re(Ha),regexp:Re(Ha),escape:Re(Ha),color:Re(Ha),url:Re(Ha),keyword:ao,self:Re(ao),null:Re(ao),atom:Re(ao),unit:Re(ao),modifier:Re(ao),operatorKeyword:Re(ao),controlKeyword:Re(ao),definitionKeyword:Re(ao),moduleKeyword:Re(ao),operator:so,derefOperator:Re(so),arithmeticOperator:Re(so),logicOperator:Re(so),bitwiseOperator:Re(so),compareOperator:Re(so),updateOperator:Re(so),definitionOperator:Re(so),typeOperator:Re(so),controlOperator:Re(so),punctuation:pv,separator:Re(pv),bracket:Gf,angleBracket:Re(Gf),squareBracket:Re(Gf),paren:Re(Gf),brace:Re(Gf),content:lo,heading:Ks,heading1:Re(Ks),heading2:Re(Ks),heading3:Re(Ks),heading4:Re(Ks),heading5:Re(Ks),heading6:Re(Ks),contentSeparator:Re(lo),list:Re(lo),quote:Re(lo),emphasis:Re(lo),strong:Re(lo),link:Re(lo),monospace:Re(lo),strikethrough:Re(lo),inserted:Re(),deleted:Re(),changed:Re(),invalid:Re(),meta:Rm,documentMeta:Re(Rm),annotation:Re(Rm),processingInstruction:Re(Rm),definition:ln.defineModifier(),constant:ln.defineModifier(),function:ln.defineModifier(),standard:ln.defineModifier(),local:ln.defineModifier(),special:ln.defineModifier()},Hxe=mv([{tag:A.link,class:"tok-link"},{tag:A.heading,class:"tok-heading"},{tag:A.emphasis,class:"tok-emphasis"},{tag:A.strong,class:"tok-strong"},{tag:A.keyword,class:"tok-keyword"},{tag:A.atom,class:"tok-atom"},{tag:A.bool,class:"tok-bool"},{tag:A.url,class:"tok-url"},{tag:A.labelName,class:"tok-labelName"},{tag:A.inserted,class:"tok-inserted"},{tag:A.deleted,class:"tok-deleted"},{tag:A.literal,class:"tok-literal"},{tag:A.string,class:"tok-string"},{tag:A.number,class:"tok-number"},{tag:[A.regexp,A.escape,A.special(A.string)],class:"tok-string2"},{tag:A.variableName,class:"tok-variableName"},{tag:A.local(A.variableName),class:"tok-variableName tok-local"},{tag:A.definition(A.variableName),class:"tok-variableName tok-definition"},{tag:A.special(A.variableName),class:"tok-variableName2"},{tag:A.definition(A.propertyName),class:"tok-propertyName tok-definition"},{tag:A.typeName,class:"tok-typeName"},{tag:A.namespace,class:"tok-namespace"},{tag:A.className,class:"tok-className"},{tag:A.macroName,class:"tok-macroName"},{tag:A.propertyName,class:"tok-propertyName"},{tag:A.operator,class:"tok-operator"},{tag:A.comment,class:"tok-comment"},{tag:A.meta,class:"tok-meta"},{tag:A.invalid,class:"tok-invalid"},{tag:A.punctuation,class:"tok-punctuation"}]);var gv,Go=new We;function Cc(t){return $e.define({combine:t?e=>e.concat(t):void 0})}var Dm=new We,Lr=class{constructor(e,r,i=[],n=""){this.data=e,this.name=n,Tt.prototype.hasOwnProperty("tree")||Object.defineProperty(Tt.prototype,"tree",{get(){return ct(this)}}),this.parser=r,this.extension=[Ga.of(this),Tt.languageData.of((o,a,s)=>{let l=SP(o,a,s),c=l.type.prop(Go);if(!c)return[];let u=o.facet(c),f=l.type.prop(Dm);if(f){let d=l.resolve(a-l.from,s);for(let p of f)if(p.test(d,o)){let O=o.facet(p.facet);return p.type=="replace"?O:O.concat(u)}}return u})].concat(i)}isActiveAt(e,r,i=-1){return SP(e,r,i).type.prop(Go)==this.data}findRegions(e){let r=e.facet(Ga);if((r==null?void 0:r.data)==this.data)return[{from:0,to:e.doc.length}];if(!r||!r.allowsNesting)return[];let i=[],n=(o,a)=>{if(o.prop(Go)==this.data){i.push({from:a,to:a+o.length});return}let s=o.prop(We.mounted);if(s){if(s.tree.prop(Go)==this.data){if(s.overlay)for(let l of s.overlay)i.push({from:l.from+a,to:l.to+a});else i.push({from:a,to:a+o.length});return}else if(s.overlay){let l=i.length;if(n(s.tree,s.overlay[0].from+a),i.length>l)return}}for(let l=0;l<o.children.length;l++){let c=o.children[l];c instanceof ft&&n(c,o.positions[l]+a)}};return n(ct(e),0),i}get allowsNesting(){return!0}};Lr.setState=De.define();function SP(t,e,r){let i=t.facet(Ga),n=ct(t).topNode;if(!i||i.allowsNesting)for(let o=n;o;o=o.enter(e,r,Pt.ExcludeBuffers))o.type.isTop&&(n=o);return n}var ei=class t extends Lr{constructor(e,r,i){super(e,r,[],i),this.parser=r}static define(e){let r=Cc(e.languageData);return new t(r,e.parser.configure({props:[Go.add(i=>i.isTop?r:void 0)]}),e.name)}configure(e,r){return new t(this.data,this.parser.configure(e),r||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function ct(t){let e=t.field(Lr.state,!1);return e?e.tree:ft.empty}function _v(t,e,r=50){var i;let n=(i=t.field(Lr.state,!1))===null||i===void 0?void 0:i.context;if(!n)return null;let o=n.viewport;n.updateViewport({from:0,to:e});let a=n.isDone(e)||n.work(r,e)?n.tree:null;return n.updateViewport(o),a}var xv=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,r){let i=this.cursorPos-this.string.length;return e<i||r>=this.cursorPos?this.doc.sliceString(e,r):this.string.slice(e-i,r-i)}},Kf=null,Js=class t{constructor(e,r,i=[],n,o,a,s,l){this.parser=e,this.state=r,this.fragments=i,this.tree=n,this.treeLen=o,this.viewport=a,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,r,i){return new t(e,r,[],ft.empty,0,i,[],null)}startParse(){return this.parser.startParse(new xv(this.state.doc),this.fragments)}work(e,r){return r!=null&&r>=this.state.doc.length&&(r=void 0),this.tree!=ft.empty&&this.isDone(r!=null?r:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let n=Date.now()+e;e=()=>Date.now()>n}for(this.parse||(this.parse=this.startParse()),r!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>r)&&r<this.state.doc.length&&this.parse.stopAt(r);;){let n=this.parse.advance();if(n)if(this.fragments=this.withoutTempSkipped(Wo.addTree(n,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(i=this.parse.stoppedAt)!==null&&i!==void 0?i:this.state.doc.length,this.tree=n,this.parse=null,this.treeLen<(r!=null?r:this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,r;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(r=this.parse.advance()););}),this.treeLen=e,this.tree=r,this.fragments=this.withoutTempSkipped(Wo.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let r=Kf;Kf=this;try{return e()}finally{Kf=r}}withoutTempSkipped(e){for(let r;r=this.tempSkipped.pop();)e=TP(e,r.from,r.to);return e}changes(e,r){let{fragments:i,tree:n,treeLen:o,viewport:a,skipped:s}=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})),i=Wo.applyChanges(i,l),n=ft.empty,o=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);u<f&&s.push({from:u,to:f})}}}return new t(this.parser,r,i,n,o,a,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let r=this.skipped.length;for(let i=0;i<this.skipped.length;i++){let{from:n,to:o}=this.skipped[i];n<e.to&&o>e.from&&(this.fragments=TP(this.fragments,n,o),this.skipped.splice(i--,1))}return this.skipped.length>=r?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,r){this.skipped.push({from:e,to:r})}static getSkippingParser(e){return new class extends Vo{createParse(r,i,n){let o=n[0].from,a=n[n.length-1].to;return{parsedPos:o,advance(){let l=Kf;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=a,new ft(Kt.none,[],[],a-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let r=this.fragments;return this.treeLen>=e&&r.length&&r[0].from==0&&r[0].to>=e}static get(){return Kf}};function TP(t,e,r){return Wo.applyChanges(t,[{fromA:e,toA:r,fromB:e,toB:r}])}var eh=class t{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let r=this.context.changes(e.changes,e.state),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),r.viewport.to);return r.work(20,i)||r.takeTree(),new t(r)}static init(e){let r=Math.min(3e3,e.doc.length),i=Js.create(e.facet(Ga).parser,e,{from:0,to:r});return i.work(20,r)||i.takeTree(),new t(i)}};Lr.state=Ot.define({create:eh.init,update(t,e){for(let r of e.effects)if(r.is(Lr.setState))return r.value;return e.startState.facet(Ga)!=e.state.facet(Ga)?eh.init(e.state):t.apply(e)}});var QP=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback!="undefined"&&(QP=t=>{let e=-1,r=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(r):cancelIdleCallback(e)});var bv=typeof navigator!="undefined"&&(!((gv=navigator.scheduling)===null||gv===void 0)&&gv.isInputPending)?()=>navigator.scheduling.isInputPending():null,pG=pt.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 r=this.view.state.field(Lr.state).context;(r.updateViewport(e.view.viewport)||this.view.viewport.to>r.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(r)}scheduleWork(){if(this.working)return;let{state:e}=this.view,r=e.field(Lr.state);(r.tree!=r.context.tree||!r.context.isDone(e.doc.length))&&(this.working=QP(this.work))}work(e){this.working=null;let r=Date.now();if(this.chunkEnd<r&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=r+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:i,viewport:{to:n}}=this.view,o=i.field(Lr.state);if(o.tree==o.context.tree&&o.context.isDone(n+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!bv?Math.max(25,e.timeRemaining()-5):1e9),s=o.context.treeLen<n&&i.doc.length>n+1e3,l=o.context.work(()=>bv&&bv()||Date.now()>a,n+(s?0:1e5));this.chunkBudget-=Date.now()-r,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Lr.setState.of(new eh(o.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(r=>Oi(this.view.state,r)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Ga=$e.define({combine(t){return t.length?t[0]:null},enables:t=>[Lr.state,pG,we.contentAttributes.compute([t],e=>{let r=e.facet(t);return r&&r.name?{"data-language":r.name}:{}})]}),or=class{constructor(e,r=[]){this.language=e,this.support=r,this.extension=[e,r]}},mr=class t{constructor(e,r,i,n,o,a=void 0){this.name=e,this.alias=r,this.extensions=i,this.filename=n,this.loadFunc=o,this.support=a,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:r,support:i}=e;if(!r){if(!i)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");r=()=>Promise.resolve(i)}return new t(e.name,(e.alias||[]).concat(e.name).map(n=>n.toLowerCase()),e.extensions||[],e.filename,r,i)}static matchFilename(e,r){for(let n of e)if(n.filename&&n.filename.test(r))return n;let i=/\.([^.]+)$/.exec(r);if(i){for(let n of e)if(n.extensions.indexOf(i[1])>-1)return n}return null}static matchLanguageName(e,r,i=!0){r=r.toLowerCase();for(let n of e)if(n.alias.some(o=>o==r))return n;if(i)for(let n of e)for(let o of n.alias){let a=r.indexOf(o);if(a>-1&&(o.length>2||!/\w/.test(r[a-1])&&!/\w/.test(r[a+o.length])))return n}return null}},$P=$e.define(),_n=$e.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(r=>r!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function co(t){let e=t.facet(_n);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Ko(t,e){let r="",i=t.tabSize,n=t.facet(_n)[0];if(n==" "){for(;e>=i;)r+=" ",e-=i;n=" "}for(let o=0;o<e;o++)r+=n;return r}function Pc(t,e){t instanceof Tt&&(t=new el(t));for(let i of t.state.facet($P)){let n=i(t,e);if(n!==void 0)return n}let r=ct(t.state);return r.length>=e?mG(t,r,e):null}var el=class{constructor(e,r={}){this.state=e,this.options=r,this.unit=co(e)}lineAt(e,r=1){let i=this.state.doc.lineAt(e),{simulateBreak:n,simulateDoubleBreak:o}=this.options;return n!=null&&n>=i.from&&n<=i.to?o&&n==e?{text:"",from:e}:(r<0?n<e:n<=e)?{text:i.text.slice(n-i.from),from:n}:{text:i.text.slice(0,n-i.from),from:i.from}:i}textAfterPos(e,r=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:i,from:n}=this.lineAt(e,r);return i.slice(e-n,Math.min(i.length,e+100-n))}column(e,r=1){let{text:i,from:n}=this.lineAt(e,r),o=this.countColumn(i,e-n),a=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return a>-1&&(o+=a-this.countColumn(i,i.search(/\S|$/))),o}countColumn(e,r=e.length){return di(e,this.state.tabSize,r)}lineIndent(e,r=1){let{text:i,from:n}=this.lineAt(e,r),o=this.options.overrideIndentation;if(o){let a=o(n);if(a>-1)return a}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},Mr=new We;function mG(t,e,r){let i=e.resolveStack(r),n=i.node.enterUnfinishedNodesBefore(r);if(n!=i.node){let o=[];for(let a=n;a!=i.node;a=a.parent)o.push(a);for(let a=o.length-1;a>=0;a--)i={node:o[a],next:i}}return XP(i,t,r)}function XP(t,e,r){for(let i=t;i;i=i.next){let n=gG(i.node);if(n)return n(wv.create(e,r,i))}return 0}function OG(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function gG(t){let e=t.type.prop(Mr);if(e)return e;let r=t.firstChild,i;if(r&&(i=r.type.prop(We.closedBy))){let n=t.lastChild,o=n&&i.indexOf(n.name)>-1;return a=>RP(a,!0,1,void 0,o&&!OG(a)?n.from:void 0)}return t.parent==null?bG:null}function bG(){return 0}var wv=class t extends el{constructor(e,r,i){super(e.state,e.options),this.base=e,this.pos=r,this.context=i}get node(){return this.context.node}static create(e,r,i){return new t(e,r,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let r=this.state.doc.lineAt(e.from);for(;;){let i=e.resolve(r.from);for(;i.parent&&i.parent.from==i.from;)i=i.parent;if(yG(i,e))break;r=this.state.doc.lineAt(i.from)}return this.lineIndent(r.from)}continue(){return XP(this.context.next,this.base,this.pos)}};function yG(t,e){for(let r=e;r;r=r.parent)if(t==r)return!0;return!1}function vG(t){let e=t.node,r=e.childAfter(e.from),i=e.lastChild;if(!r)return null;let n=t.options.simulateBreak,o=t.state.doc.lineAt(r.from),a=n==null||n<=o.from?o.to:Math.min(o.to,n);for(let s=r.to;;){let l=e.childAfter(s);if(!l||l==i)return null;if(!l.type.isSkipped)return l.from<a?r:null;s=l.to}}function uo({closing:t,align:e=!0,units:r=1}){return i=>RP(i,e,r,t)}function RP(t,e,r,i,n){let o=t.textAfter,a=o.match(/^\s*/)[0].length,s=i&&o.slice(a,a+i.length)==i||n==t.pos+a,l=e?vG(t):null;return l?s?t.column(l.from):t.column(l.to):t.baseIndent+(s?0:t.unit*r)}var Nm=t=>t.baseIndent;function ti({except:t,units:e=1}={}){return r=>{let i=t&&t.test(r.textAfter);return r.baseIndent+(i?0:e*r.unit)}}var xG=200;function IP(){return Tt.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 r=t.newDoc,{head:i}=t.newSelection.main,n=r.lineAt(i);if(i>n.from+xG)return t;let o=r.sliceString(n.from,i);if(!e.some(c=>c.test(o)))return t;let{state:a}=t,s=-1,l=[];for(let{head:c}of a.selection.ranges){let u=a.doc.lineAt(c);if(u.from==s)continue;s=u.from;let f=Pc(a,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],p=Ko(a,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 Av=$e.define(),Cr=new We;function Ka(t){let e=t.firstChild,r=t.lastChild;return e&&e.to<r.from?{from:e.to,to:r.type.isError?t.to:r.from}:null}function wG(t,e,r){let i=ct(t);if(i.length<r)return null;let n=i.resolveStack(r,1),o=null;for(let a=n;a;a=a.next){let s=a.node;if(s.to<=r||s.from>r)continue;if(o&&s.from<e)break;let l=s.type.prop(Cr);if(l&&(s.to<i.length-50||i.length==t.doc.length||!kG(s))){let c=l(s,t);c&&c.from<=r&&c.from>=e&&c.to>r&&(o=c)}}return o}function kG(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function Lm(t,e,r){for(let i of t.facet(Av)){let n=i(t,e,r);if(n)return n}return wG(t,e,r)}function LP(t,e){let r=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);return r>=i?void 0:{from:r,to:i}}var Um=De.define({map:LP}),ih=De.define({map:LP});function MP(t){let e=[];for(let{head:r}of t.state.selection.ranges)e.some(i=>i.from<=r&&i.to>=r)||e.push(t.lineBlockAt(r));return e}var tl=Ot.define({create(){return Le.none},update(t,e){t=t.map(e.changes);for(let r of e.effects)if(r.is(Um)&&!SG(t,r.value.from,r.value.to)){let{preparePlaceholder:i}=e.state.facet(Qv),n=i?Le.replace({widget:new kv(i(e.state,r.value))}):EP;t=t.update({add:[n.range(r.value.from,r.value.to)]})}else r.is(ih)&&(t=t.update({filter:(i,n)=>r.value.from!=i||r.value.to!=n,filterFrom:r.value.from,filterTo:r.value.to}));if(e.selection){let r=!1,{head:i}=e.selection.main;t.between(i,i,(n,o)=>{n<i&&o>i&&(r=!0)}),r&&(t=t.update({filterFrom:i,filterTo:i,filter:(n,o)=>o<=i||n>=i}))}return t},provide:t=>we.decorations.from(t),toJSON(t,e){let r=[];return t.between(0,e.doc.length,(i,n)=>{r.push(i,n)}),r},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let r=0;r<t.length;){let i=t[r++],n=t[r++];if(typeof i!="number"||typeof n!="number")throw new RangeError("Invalid JSON for fold state");e.push(EP.range(i,n))}return Le.set(e,!0)}});function Mm(t,e,r){var i;let n=null;return(i=t.field(tl,!1))===null||i===void 0||i.between(e,r,(o,a)=>{(!n||n.from>o)&&(n={from:o,to:a})}),n}function SG(t,e,r){let i=!1;return t.between(e,e,(n,o)=>{n==e&&o==r&&(i=!0)}),i}function zP(t,e){return t.field(tl,!1)?e:e.concat(De.appendConfig.of(Bm()))}var qm=t=>{for(let e of MP(t)){let r=Lm(t.state,e.from,e.to);if(r)return t.dispatch({effects:zP(t.state,[Um.of(r),NP(t,r)])}),!0}return!1},DP=t=>{if(!t.state.field(tl,!1))return!1;let e=[];for(let r of MP(t)){let i=Mm(t.state,r.from,r.to);i&&e.push(ih.of(i),NP(t,i,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function NP(t,e,r=!0){let i=t.state.doc.lineAt(e.from).number,n=t.state.doc.lineAt(e.to).number;return we.announce.of(`${t.state.phrase(r?"Folded lines":"Unfolded lines")} ${i} ${t.state.phrase("to")} ${n}.`)}var UP=t=>{let{state:e}=t,r=[];for(let i=0;i<e.doc.length;){let n=t.lineBlockAt(i),o=Lm(e,n.from,n.to);o&&r.push(Um.of(o)),i=(o?t.lineBlockAt(o.to):n).to+1}return r.length&&t.dispatch({effects:zP(t.state,r)}),!!r.length},qP=t=>{let e=t.state.field(tl,!1);if(!e||!e.size)return!1;let r=[];return e.between(0,t.state.doc.length,(i,n)=>{r.push(ih.of({from:i,to:n}))}),t.dispatch({effects:r}),!0};var TG={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},Qv=$e.define({combine(t){return Vt(t,TG)}});function Bm(t){let e=[tl,CG];return t&&e.push(Qv.of(t)),e}function BP(t,e){let{state:r}=t,i=r.facet(Qv),n=a=>{let s=t.lineBlockAt(t.posAtDOM(a.target)),l=Mm(t.state,s.from,s.to);l&&t.dispatch({effects:ih.of(l)}),a.preventDefault()};if(i.placeholderDOM)return i.placeholderDOM(t,n,e);let o=document.createElement("span");return o.textContent=i.placeholderText,o.setAttribute("aria-label",r.phrase("folded code")),o.title=r.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=n,o}var EP=Le.replace({widget:new class extends Er{toDOM(t){return BP(t,null)}}}),kv=class extends Er{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return BP(e,this.value)}},EG={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},Jf=class extends Bi{constructor(e,r){super(),this.config=e,this.open=r}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let r=document.createElement("span");return r.textContent=this.open?this.config.openText:this.config.closedText,r.title=e.state.phrase(this.open?"Fold line":"Unfold line"),r}};function jP(t={}){let e=Object.assign(Object.assign({},EG),t),r=new Jf(e,!0),i=new Jf(e,!1),n=pt.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(Ga)!=a.state.facet(Ga)||a.startState.field(tl,!1)!=a.state.field(tl,!1)||ct(a.startState)!=ct(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let s=new Ni;for(let l of a.viewportLineBlocks){let c=Mm(a.state,l.from,l.to)?i:Lm(a.state,l.from,l.to)?r:null;c&&s.add(l.from,l.from,c)}return s.finish()}}),{domEventHandlers:o}=e;return[n,fv({class:"cm-foldGutter",markers(a){var s;return((s=a.plugin(n))===null||s===void 0?void 0:s.markers)||Et.empty},initialSpacer(){return new Jf(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(a,s,l)=>{if(o.click&&o.click(a,s,l))return!0;let c=Mm(a.state,s.from,s.to);if(c)return a.dispatch({effects:ih.of(c)}),!0;let u=Lm(a.state,s.from,s.to);return u?(a.dispatch({effects:Um.of(u)}),!0):!1}})}),Bm()]}var CG=we.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"}}),Tc=class t{constructor(e,r){this.specs=e;let i;function n(s){let l=_i.newName();return(i||(i=Object.create(null)))["."+l]=s,l}let o=typeof r.all=="string"?r.all:r.all?n(r.all):void 0,a=r.scope;this.scope=a instanceof Lr?s=>s.prop(Go)==a.data:a?s=>s==a:void 0,this.style=mv(e.map(s=>({tag:s.tag,class:s.class||n(Object.assign({},s,{tag:null}))})),{all:o}).style,this.module=i?new _i(i):null,this.themeType=r.themeType}static define(e,r){return new t(e,r||{})}},Sv=$e.define(),WP=$e.define({combine(t){return t.length?[t[0]]:null}});function yv(t){let e=t.facet(Sv);return e.length?e:t.facet(WP)}function $v(t,e){let r=[PG],i;return t instanceof Tc&&(t.module&&r.push(we.styleModule.of(t.module)),i=t.themeType),e!=null&&e.fallback?r.push(WP.of(t)):i?r.push(Sv.computeN([we.darkTheme],n=>n.facet(we.darkTheme)==(i=="dark")?[t]:[])):r.push(Sv.of(t)),r}var Tv=class{constructor(e){this.markCache=Object.create(null),this.tree=ct(e.state),this.decorations=this.buildDeco(e,yv(e.state))}update(e){let r=ct(e.state),i=yv(e.state),n=i!=yv(e.startState);r.length<e.view.viewport.to&&!n&&r.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(r!=this.tree||e.viewportChanged||n)&&(this.tree=r,this.decorations=this.buildDeco(e.view,i))}buildDeco(e,r){if(!r||!this.tree.length)return Le.none;let i=new Ni;for(let{from:n,to:o}of e.visibleRanges)Ov(this.tree,r,(a,s,l)=>{i.add(a,s,this.markCache[l]||(this.markCache[l]=Le.mark({class:l})))},n,o);return i.finish()}},PG=cr.high(pt.fromClass(Tv,{decorations:t=>t.decorations})),n5e=Tc.define([{tag:A.meta,color:"#404740"},{tag:A.link,textDecoration:"underline"},{tag:A.heading,textDecoration:"underline",fontWeight:"bold"},{tag:A.emphasis,fontStyle:"italic"},{tag:A.strong,fontWeight:"bold"},{tag:A.strikethrough,textDecoration:"line-through"},{tag:A.keyword,color:"#708"},{tag:[A.atom,A.bool,A.url,A.contentSeparator,A.labelName],color:"#219"},{tag:[A.literal,A.inserted],color:"#164"},{tag:[A.string,A.deleted],color:"#a11"},{tag:[A.regexp,A.escape,A.special(A.string)],color:"#e40"},{tag:A.definition(A.variableName),color:"#00f"},{tag:A.local(A.variableName),color:"#30a"},{tag:[A.typeName,A.namespace],color:"#085"},{tag:A.className,color:"#167"},{tag:[A.special(A.variableName),A.macroName],color:"#256"},{tag:A.definition(A.propertyName),color:"#00c"},{tag:A.comment,color:"#940"},{tag:A.invalid,color:"#f00"}]),_G=we.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),VP=1e4,FP="()[]{}",ZP=$e.define({combine(t){return Vt(t,{afterCursor:!0,brackets:FP,maxScanDistance:VP,renderMatch:$G})}}),AG=Le.mark({class:"cm-matchingBracket"}),QG=Le.mark({class:"cm-nonmatchingBracket"});function $G(t){let e=[],r=t.matched?AG:QG;return e.push(r.range(t.start.from,t.start.to)),t.end&&e.push(r.range(t.end.from,t.end.to)),e}var XG=Ot.define({create(){return Le.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let r=[],i=e.state.facet(ZP);for(let n of e.state.selection.ranges){if(!n.empty)continue;let o=cn(e.state,n.head,-1,i)||n.head>0&&cn(e.state,n.head-1,1,i)||i.afterCursor&&(cn(e.state,n.head,1,i)||n.head<e.state.doc.length&&cn(e.state,n.head+1,-1,i));o&&(r=r.concat(i.renderMatch(o,e.state)))}return Le.set(r,!0)},provide:t=>we.decorations.from(t)}),RG=[XG,_G];function YP(t={}){return[ZP.of(t),RG]}var nh=new We;function Ev(t,e,r){let i=t.prop(e<0?We.openedBy:We.closedBy);if(i)return i;if(t.name.length==1){let n=r.indexOf(t.name);if(n>-1&&n%2==(e<0?1:0))return[r[n+e]]}return null}function Cv(t){let e=t.type.prop(nh);return e?e(t.node):t}function cn(t,e,r,i={}){let n=i.maxScanDistance||VP,o=i.brackets||FP,a=ct(t),s=a.resolveInner(e,r);for(let l=s;l;l=l.parent){let c=Ev(l.type,r,o);if(c&&l.from<l.to){let u=Cv(l);if(u&&(r>0?e>=u.from&&e<u.to:e>u.from&&e<=u.to))return IG(t,e,r,l,u,c,o)}}return LG(t,e,r,a,s.type,n,o)}function IG(t,e,r,i,n,o,a){let s=i.parent,l={from:n.from,to:n.to},c=0,u=s==null?void 0:s.cursor();if(u&&(r<0?u.childBefore(i.from):u.childAfter(i.to)))do if(r<0?u.to<=i.from:u.from>=i.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from<u.to){let f=Cv(u);return{start:l,end:f?{from:f.from,to:f.to}:void 0,matched:!0}}else if(Ev(u.type,r,a))c++;else if(Ev(u.type,-r,a)){if(c==0){let f=Cv(u);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}c--}}while(r<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function LG(t,e,r,i,n,o,a){let s=r<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=a.indexOf(s);if(l<0||l%2==0!=r>0)return null;let c={from:r<0?e-1:e,to:r>0?e+1:e},u=t.doc.iterRange(e,r>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let p=u.value;r<0&&(d+=p.length);let O=e+d*r;for(let x=r>0?0:p.length-1,k=r>0?p.length:-1;x!=k;x+=r){let w=a.indexOf(p[x]);if(!(w<0||i.resolveInner(O+x,1).type!=n))if(w%2==0==r>0)f++;else{if(f==1)return{start:c,end:{from:O+x,to:O+x+1},matched:w>>1==l>>1};f--}}r>0&&(d+=p.length)}return u.done?{start:c,matched:!1}:null}function CP(t,e,r,i=0,n=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let o=n;for(let a=i;a<e;a++)t.charCodeAt(a)==9?o+=r-o%r:o++;return o}var Ec=class{constructor(e,r,i,n){this.string=e,this.tabSize=r,this.indentUnit=i,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 r=this.string.charAt(this.pos),i;if(typeof e=="string"?i=r==e:i=r&&(e instanceof RegExp?e.test(r):e(r)),i)return++this.pos,r}eatWhile(e){let r=this.pos;for(;this.eat(e););return this.pos>r}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 r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=CP(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:CP(this.string,null,this.tabSize)}match(e,r,i){if(typeof e=="string"){let n=a=>i?a.toLowerCase():a,o=this.string.substr(this.pos,e.length);return n(o)==n(e)?(r!==!1&&(this.pos+=e.length),!0):null}else{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&r!==!1&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}};function MG(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||zG,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||Rv}}function zG(t){if(typeof t!="object")return t;let e={};for(let r in t){let i=t[r];e[r]=i instanceof Array?i.slice():i}return e}var PP=new WeakMap,th=class t extends Lr{constructor(e){let r=Cc(e.languageData),i=MG(e),n,o=new class extends Vo{createParse(a,s,l){return new Pv(n,a,s,l)}};super(r,o,[$P.of((a,s)=>this.getIndent(a,s))],e.name),this.topNode=qG(r),n=this,this.streamParser=i,this.stateAfter=new We({perNode:!0}),this.tokenTable=e.tokenTable?new zm(i.tokenTable):UG}static define(e){return new t(e)}getIndent(e,r){let i=ct(e.state),n=i.resolve(r);for(;n&&n.type!=this.topNode;)n=n.parent;if(!n)return null;let o,{overrideIndentation:a}=e.options;a&&(o=PP.get(e.state),o!=null&&o<r-1e4&&(o=void 0));let s=Xv(this,i,0,n.from,o!=null?o:r),l,c;if(s?(c=s.state,l=s.pos+1):(c=this.streamParser.startState(e.unit),l=0),r-l>1e4)return null;for(;l<r;){let f=e.state.doc.lineAt(l),d=Math.min(r,f.to);if(f.length){let p=a?a(f.from):-1,O=new Ec(f.text,e.state.tabSize,e.unit,p<0?void 0:p);for(;O.pos<d-f.from;)GP(this.streamParser.token,O,c)}else this.streamParser.blankLine(c,e.unit);if(d==r)break;l=f.to+1}let u=e.lineAt(r);return a&&o==null&&PP.set(e.state,u.from),this.streamParser.indent(c,/^\s*(.*)/.exec(u.text)[1],e)}get allowsNesting(){return!1}};function Xv(t,e,r,i,n){let o=r>=i&&r+e.length<=n&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:r+e.length};for(let a=e.children.length-1;a>=0;a--){let s=e.children[a],l=r+e.positions[a],c=s instanceof ft&&l<n&&Xv(t,s,l,i,n);if(c)return c}return null}function HP(t,e,r,i,n){if(n&&r<=0&&i>=e.length)return e;!n&&e.type==t.topNode&&(n=!0);for(let o=e.children.length-1;o>=0;o--){let a=e.positions[o],s=e.children[o],l;if(a<i&&s instanceof ft){if(!(l=HP(t,s,r-a,i-a,n)))break;return n?new ft(e.type,e.children.slice(0,o).concat(l),e.positions.slice(0,o+1),a+l.length):l}}return null}function DG(t,e,r,i){for(let n of e){let o=n.from+(n.openStart?25:0),a=n.to-(n.openEnd?25:0),s=o<=r&&a>r&&Xv(t,n.tree,0-n.offset,r,a),l;if(s&&(l=HP(t,n.tree,r+n.offset,s.pos+n.offset,!1)))return{state:s.state,tree:l}}return{state:t.streamParser.startState(i?co(i):4),tree:ft.empty}}var Pv=class{constructor(e,r,i,n){this.lang=e,this.input=r,this.fragments=i,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(),a=n[0].from,{state:s,tree:l}=DG(e,i,a,o==null?void 0:o.state);this.state=s,this.parsedPos=this.chunkStart=a+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(co(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}advance(){let e=Js.get(),r=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),i=Math.min(r,this.chunkStart+2048);for(e&&(i=Math.min(i,e.viewport.to));this.parsedPos<i;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=r?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,r),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let r=this.input.chunk(e);if(this.input.lineChunks)r==`
`&&(r="");else{let i=r.indexOf(`
`);i>-1&&(r=r.slice(0,i))}return e+r.length<=this.to?r:r.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,r=this.lineAfter(e),i=e+r.length;for(let n=this.rangeIndex;;){let o=this.ranges[n].to;if(o>=i||(r=r.slice(0,o-(i-r.length)),n++,n==this.ranges.length))break;let a=this.ranges[n].from,s=this.lineAfter(a);r+=s,i=a+s.length}return{line:r,end:i}}skipGapsTo(e,r,i){for(;;){let n=this.ranges[this.rangeIndex].to,o=e+r;if(i>0?n>o:n>=o)break;let a=this.ranges[++this.rangeIndex].from;r+=a-n}return r}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,r,i,n,o){if(this.ranges.length>1){o=this.skipGapsTo(r,o,1),r+=o;let a=this.chunk.length;o=this.skipGapsTo(i,o,-1),i+=o,n+=this.chunk.length-a}return this.chunk.push(e,r,i,n),o}parseLine(e){let{line:r,end:i}=this.nextLine(),n=0,{streamParser:o}=this.lang,a=new Ec(r,e?e.state.tabSize:4,e?co(e.state):2);if(a.eol())o.blankLine(this.state,a.indentUnit);else for(;!a.eol();){let s=GP(o.token,a,this.state);if(s&&(n=this.emitToken(this.lang.tokenTable.resolve(s),this.parsedPos+a.start,this.parsedPos+a.pos,4,n)),a.start>1e4)break}this.parsedPos=i,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=ft.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:NG,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new ft(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 ft(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}};function GP(t,e,r){e.start=e.pos;for(let i=0;i<10;i++){let n=t(e,r);if(e.pos>e.start)return n}throw new Error("Stream parser failed to advance stream.")}var Rv=Object.create(null),rh=[Kt.none],NG=new jo(rh),_P=[],AP=Object.create(null),KP=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"]])KP[t]=JP(Rv,e);var zm=class{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),KP)}resolve(e){return e?this.table[e]||(this.table[e]=JP(this.extra,e)):0}},UG=new zm(Rv);function vv(t,e){_P.indexOf(t)>-1||(_P.push(t),console.warn(e))}function JP(t,e){let r=[];for(let s of e.split(" ")){let l=[];for(let c of s.split(".")){let u=t[c]||A[c];u?typeof u=="function"?l.length?l=l.map(u):vv(c,`Modifier ${c} used at start of tag`):l.length?vv(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:vv(c,`Unknown highlighting tag ${c}`)}for(let c of l)r.push(c)}if(!r.length)return 0;let i=e.replace(/ /g,"_"),n=i+" "+r.map(s=>s.id),o=AP[n];if(o)return o.id;let a=AP[n]=Kt.define({id:rh.length,name:i,props:[xr({[i]:r})]});return rh.push(a),a.id}function qG(t){let e=Kt.define({id:rh.length,name:"Document",props:[Go.add(()=>t)],top:!0});return rh.push(e),e}var o5e={rtl:Le.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:Ct.RTL}),ltr:Le.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:Ct.LTR}),auto:Le.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})};var _c=class{constructor(e,r,i){this.state=e,this.pos=r,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let r=ct(this.state).resolveInner(this.pos,-1);for(;r&&e.indexOf(r.name)<0;)r=r.parent;return r?{from:r.from,to:this.pos,text:this.state.sliceDoc(r.from,this.pos),type:r.type}:null}matchBefore(e){let r=this.state.doc.lineAt(this.pos),i=Math.max(r.from,this.pos-250),n=r.text.slice(i-r.from,this.pos-r.from),o=n.search(l_(e,!1));return o<0?null:{from:i+o,to:this.pos,text:n.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,r){e=="abort"&&this.abortListeners&&this.abortListeners.push(r)}};function e_(t){let e=Object.keys(t).join(""),r=/\w/.test(e);return r&&(e=e.replace(/\w/g,"")),`[${r?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function BG(t){let e=Object.create(null),r=Object.create(null);for(let{label:n}of t){e[n[0]]=!0;for(let o=1;o<n.length;o++)r[n[o]]=!0}let i=e_(e)+e_(r)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function lh(t){let e=t.map(n=>typeof n=="string"?{label:n}:n),[r,i]=e.every(n=>/^\w+$/.test(n.label))?[/\w*$/,/\w+$/]:BG(e);return n=>{let o=n.matchBefore(i);return o||n.explicit?{from:o?o.from:n.pos,options:e,validFor:r}:null}}function Fm(t,e){return r=>{for(let i=ct(r.state).resolveInner(r.pos,-1);i;i=i.parent){if(t.indexOf(i.name)>-1)return null;if(i.type.isTop)break}return e(r)}}var jm=class{constructor(e,r,i,n){this.completion=e,this.source=r,this.match=i,this.score=n}};function Ja(t){return t.selection.main.from}function l_(t,e){var r;let{source:i}=t,n=e&&i[0]!="^",o=i[i.length-1]!="$";return!n&&!o?t:new RegExp(`${n?"^":""}(?:${i})${o?"$":""}`,(r=t.flags)!==null&&r!==void 0?r:t.ignoreCase?"i":"")}var c_=Jr.define();function jG(t,e,r,i){let{main:n}=t.selection,o=r-n.from,a=i-n.from;return Object.assign(Object.assign({},t.changeByRange(s=>s!=n&&r!=i&&t.sliceDoc(s.from+o,s.from+a)!=t.sliceDoc(r,i)?{range:s}:{changes:{from:s.from+o,to:i==n.from?s.to:s.from+a,insert:e},range:ce.cursor(s.from+o+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}var t_=new WeakMap;function WG(t){if(!Array.isArray(t))return t;let e=t_.get(t);return e||t_.set(t,e=lh(t)),e}var Wm=De.define(),oh=De.define(),Mv=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let r=0;r<e.length;){let i=hr(e,r),n=fi(i);this.chars.push(i);let o=e.slice(r,r+n),a=o.toUpperCase();this.folded.push(hr(a==o?o.toLowerCase():a,0)),r+=n}this.astral=e.length!=this.chars.length}ret(e,r){return this.score=e,this.matched=r,!0}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return!1;let{chars:r,folded:i,any:n,precise:o,byWord:a}=this;if(r.length==1){let C=hr(e,0),Q=fi(C),L=Q==e.length?0:-100;if(C!=r[0])if(C==i[0])L+=-200;else return!1;return this.ret(L,[0,Q])}let s=e.indexOf(this.pattern);if(s==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=r.length,c=0;if(s<0){for(let C=0,Q=Math.min(e.length,200);C<Q&&c<l;){let L=hr(e,C);(L==r[c]||L==i[c])&&(n[c++]=C),C+=fi(L)}if(c<l)return!1}let u=0,f=0,d=!1,p=0,O=-1,x=-1,k=/[a-z]/.test(e),w=!0;for(let C=0,Q=Math.min(e.length,200),L=0;C<Q&&f<l;){let N=hr(e,C);s<0&&(u<l&&N==r[u]&&(o[u++]=C),p<l&&(N==r[p]||N==i[p]?(p==0&&(O=C),x=C+1,p++):p=0));let I,H=N<255?N>=48&&N<=57||N>=97&&N<=122?2:N>=65&&N<=90?1:0:(I=_f(N))!=I.toLowerCase()?1:I!=I.toUpperCase()?2:0;(!C||H==1&&k||L==0&&H!=0)&&(r[f]==N||i[f]==N&&(d=!0)?a[f++]=C:a.length&&(w=!1)),L=H,C+=fi(N)}return f==l&&a[0]==0&&w?this.result(-100+(d?-200:0),a,e):p==l&&O==0?this.ret(-200-e.length+(x==e.length?0:-100),[0,x]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):p==l?this.ret(-900-e.length,[O,x]):f==l?this.result(-100+(d?-200:0)+-700+(w?0:-1100),a,e):r.length==2?!1:this.result((n[0]?-700:0)+-200+-1100,n,e)}result(e,r,i){let n=[],o=0;for(let a of r){let s=a+(this.astral?fi(hr(i,a)):1);o&&n[o-1]==a?n[o-1]=s:(n[o++]=a,n[o++]=s)}return this.ret(e-i.length,n)}},zr=$e.define({combine(t){return Vt(t,{activateOnTyping:!0,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:VG,compareCompletions:(e,r)=>e.label.localeCompare(r.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,r)=>e&&r,closeOnBlur:(e,r)=>e&&r,icons:(e,r)=>e&&r,tooltipClass:(e,r)=>i=>r_(e(i),r(i)),optionClass:(e,r)=>i=>r_(e(i),r(i)),addToOptions:(e,r)=>e.concat(r)})}});function r_(t,e){return t?e?t+" "+e:t:e}function VG(t,e,r,i,n,o){let a=t.textDirection==Ct.RTL,s=a,l=!1,c="top",u,f,d=e.left-n.left,p=n.right-e.right,O=i.right-i.left,x=i.bottom-i.top;if(s&&d<Math.min(O,p)?s=!1:!s&&p<Math.min(O,d)&&(s=!0),O<=(s?d:p))u=Math.max(n.top,Math.min(r.top,n.bottom-x))-e.top,f=Math.min(400,s?d:p);else{l=!0,f=Math.min(400,(a?e.right:n.right-e.left)-30);let C=n.bottom-e.bottom;C>=x||C>e.top?u=r.bottom-e.top:(c="bottom",u=e.bottom-r.top)}let k=(e.bottom-e.top)/o.offsetHeight,w=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/k}px; max-width: ${f/w}px`,class:"cm-completionInfo-"+(l?a?"left-narrow":"right-narrow":s?"left":"right")}}function FG(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(r){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),r.type&&i.classList.add(...r.type.split(/\s+/g).map(n=>"cm-completionIcon-"+n)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(r,i,n,o){let a=document.createElement("span");a.className="cm-completionLabel";let s=r.displayLabel||r.label,l=0;for(let c=0;c<o.length;){let u=o[c++],f=o[c++];u>l&&a.appendChild(document.createTextNode(s.slice(l,u)));let d=a.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(s.slice(u,f))),d.className="cm-completionMatchedText",l=f}return l<s.length&&a.appendChild(document.createTextNode(s.slice(l))),a},position:50},{render(r){if(!r.detail)return null;let i=document.createElement("span");return i.className="cm-completionDetail",i.textContent=r.detail,i},position:80}),e.sort((r,i)=>r.position-i.position).map(r=>r.render)}function Iv(t,e,r){if(t<=r)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let n=Math.floor(e/r);return{from:n*r,to:(n+1)*r}}let i=Math.floor((t-e)/r);return{from:t-(i+1)*r,to:t-i*r}}var zv=class{constructor(e,r,i){this.view=e,this.stateField=r,this.applyCompletion=i,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(r),{options:o,selected:a}=n.open,s=e.state.facet(zr);this.optionContent=FG(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=Iv(o.length,a,s.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(r).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(zr).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:oh.of(null)})}),this.showOptions(o,n.id)}mount(){this.updateSel()}showOptions(e,r){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,r,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var r;let i=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),i!=n){let{options:o,selected:a,disabled:s}=i.open;(!n.open||n.open.options!=o)&&(this.range=Iv(o.length,a,e.state.facet(zr).maxRenderedOptions),this.showOptions(o,i.id)),this.updateSel(),s!=((r=n.open)===null||r===void 0?void 0:r.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(e){let r=this.tooltipClass(e);if(r!=this.currentClass){for(let i of this.currentClass.split(" "))i&&this.dom.classList.remove(i);for(let i of r.split(" "))i&&this.dom.classList.add(i);this.currentClass=r}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),r=e.open;if((r.selected>-1&&r.selected<this.range.from||r.selected>=this.range.to)&&(this.range=Iv(r.options.length,r.selected,this.view.state.facet(zr).maxRenderedOptions),this.showOptions(r.options,e.id)),this.updateSelectedOption(r.selected)){this.destroyInfo();let{completion:i}=r.options[r.selected],{info:n}=i;if(!n)return;let o=typeof n=="string"?document.createTextNode(n):n(i);if(!o)return;"then"in o?o.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,i)}).catch(a=>Oi(this.view.state,a,"completion info")):this.addInfoPane(o,i)}}addInfoPane(e,r){this.destroyInfo();let i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",e.nodeType!=null)i.appendChild(e),this.infoDestroy=null;else{let{dom:n,destroy:o}=e;i.appendChild(n),this.infoDestroy=o||null}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let r=null;for(let i=this.list.firstChild,n=this.range.from;i;i=i.nextSibling,n++)i.nodeName!="LI"||!i.id?n--:n==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),r=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return r&&YG(this.list,r),r}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let r=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),o=this.space;if(!o){let a=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return n.top>Math.min(o.bottom,r.bottom)-10||n.bottom<Math.max(o.top,r.top)+10?null:this.view.state.facet(zr).positionInfo(this.view,r,n,i,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,r,i){let n=document.createElement("ul");n.id=r,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions"));let o=null;for(let a=i.from;a<i.to;a++){let{completion:s,match:l}=e[a],{section:c}=s;if(c){let d=typeof c=="string"?c:c.name;if(d!=o&&(a>i.from||i.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=r+"-"+a,u.setAttribute("role","option");let f=this.optionClass(s);f&&(u.className=f);for(let d of this.optionContent){let p=d(s,this.view.state,this.view,l);p&&u.appendChild(p)}}return i.from&&n.classList.add("cm-completionListIncompleteTop"),i.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 ZG(t,e){return r=>new zv(r,t,e)}function YG(t,e){let r=t.getBoundingClientRect(),i=e.getBoundingClientRect(),n=r.height/t.offsetHeight;i.top<r.top?t.scrollTop-=(r.top-i.top)/n:i.bottom>r.bottom&&(t.scrollTop+=(i.bottom-r.bottom)/n)}function i_(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function HG(t,e){let r=[],i=null,n=l=>{r.push(l);let{section:c}=l.completion;if(c){i||(i=[]);let u=typeof c=="string"?c:c.name;i.some(f=>f.name==u)||i.push(typeof c=="string"?{name:u}:c)}};for(let l of t)if(l.hasResult()){let c=l.result.getMatch;if(l.result.filter===!1)for(let u of l.result.options)n(new jm(u,l.source,c?c(u):[],1e9-r.length));else{let u=new Mv(e.sliceDoc(l.from,l.to));for(let f of l.result.options)if(u.match(f.label)){let d=f.displayLabel?c?c(f,u.matched):[]:u.matched;n(new jm(f,l.source,d,u.score+(f.boost||0)))}}}if(i){let l=Object.create(null),c=0,u=(f,d)=>{var p,O;return((p=f.rank)!==null&&p!==void 0?p:1e9)-((O=d.rank)!==null&&O!==void 0?O:1e9)||(f.name<d.name?-1:1)};for(let f of i.sort(u))c-=1e5,l[f.name]=c;for(let f of r){let{section:d}=f.completion;d&&(f.score+=l[typeof d=="string"?d:d.name])}}let o=[],a=null,s=e.facet(zr).compareCompletions;for(let l of r.sort((c,u)=>u.score-c.score||s(c.completion,u.completion))){let c=l.completion;!a||a.label!=c.label||a.detail!=c.detail||a.type!=null&&c.type!=null&&a.type!=c.type||a.apply!=c.apply||a.boost!=c.boost?o.push(l):i_(l.completion)>i_(a)&&(o[o.length-1]=l),a=l.completion}return o}var Dv=class t{constructor(e,r,i,n,o,a){this.options=e,this.attrs=r,this.tooltip=i,this.timestamp=n,this.selected=o,this.disabled=a}setSelected(e,r){return e==this.selected||e>=this.options.length?this:new t(this.options,n_(r,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,r,i,n,o){let a=HG(e,r);if(!a.length)return n&&e.some(l=>l.state==1)?new t(n.options,n.attrs,n.tooltip,n.timestamp,n.selected,!0):null;let s=r.facet(zr).selectOnOpen?0:-1;if(n&&n.selected!=s&&n.selected!=-1){let l=n.options[n.selected].completion;for(let c=0;c<a.length;c++)if(a[c].completion==l){s=c;break}}return new t(a,n_(i,s),{pos:e.reduce((l,c)=>c.hasResult()?Math.min(l,c.from):l,1e8),create:tK,above:o.aboveCursor},n?n.timestamp:Date.now(),s,!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)}},Nv=class t{constructor(e,r,i){this.active=e,this.id=r,this.open=i}static start(){return new t(JG,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:r}=e,i=r.facet(zr),o=(i.override||r.languageDataAt("autocomplete",Ja(r)).map(WG)).map(s=>(this.active.find(c=>c.source==s)||new Jo(s,this.active.some(c=>c.state!=0)?1:0)).update(e,i));o.length==this.active.length&&o.every((s,l)=>s==this.active[l])&&(o=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||o.some(s=>s.hasResult()&&e.changes.touchesRange(s.from,s.to))||!GG(o,this.active)?a=Dv.build(o,r,this.id,a,i):a&&a.disabled&&!o.some(s=>s.state==1)&&(a=null),!a&&o.every(s=>s.state!=1)&&o.some(s=>s.hasResult())&&(o=o.map(s=>s.hasResult()?new Jo(s.source,0):s));for(let s of e.effects)s.is(f_)&&(a=a&&a.setSelected(s.value,this.id));return o==this.active&&a==this.open?this:new t(o,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:KG}};function GG(t,e){if(t==e)return!0;for(let r=0,i=0;;){for(;r<t.length&&!t[r].hasResult;)r++;for(;i<e.length&&!e[i].hasResult;)i++;let n=r==t.length,o=i==e.length;if(n||o)return n==o;if(t[r++].result!=e[i++].result)return!1}}var KG={"aria-autocomplete":"list"};function n_(t,e){let r={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(r["aria-activedescendant"]=t+"-"+e),r}var JG=[];function Uv(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}var Jo=class t{constructor(e,r,i=-1){this.source=e,this.state=r,this.explicitPos=i}hasResult(){return!1}update(e,r){let i=Uv(e),n=this;i?n=n.handleUserEvent(e,i,r):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(Wm))n=new t(n.source,1,o.value?Ja(e.state):-1);else if(o.is(oh))n=new t(n.source,0);else if(o.is(u_))for(let a of o.value)a.source==n.source&&(n=a);return n}handleUserEvent(e,r,i){return r=="delete"||!i.activateOnTyping?this.map(e.changes):new t(this.source,1)}handleChange(e){return e.changes.touchesRange(Ja(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))}},Vm=class t extends Jo{constructor(e,r,i,n,o){super(e,2,r),this.result=i,this.from=n,this.to=o}hasResult(){return!0}handleUserEvent(e,r,i){var n;let o=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),s=Ja(e.state);if((this.explicitPos<0?s<=o:s<this.from)||s>a||r=="delete"&&Ja(e.startState)==this.from)return new Jo(this.source,r=="input"&&i.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return eK(this.result.validFor,e.state,o,a)?new t(this.source,l,this.result,o,a):this.result.update&&(c=this.result.update(this.result,o,a,new _c(e.state,s,l>=0)))?new t(this.source,l,c,c.from,(n=c.to)!==null&&n!==void 0?n:Ja(e.state)):new Jo(this.source,1,l)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Jo(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new t(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}};function eK(t,e,r,i){if(!t)return!1;let n=e.sliceDoc(r,i);return typeof t=="function"?t(n,r,i,e):l_(t,!0).test(n)}var u_=De.define({map(t,e){return t.map(r=>r.map(e))}}),f_=De.define(),ji=Ot.define({create(){return Nv.start()},update(t,e){return t.update(e)},provide:t=>[Ho.from(t,e=>e.tooltip),we.contentAttributes.from(t,e=>e.attrs)]});function h_(t,e){let r=e.completion.apply||e.completion.label,i=t.state.field(ji).active.find(n=>n.source==e.source);return i instanceof Vm?(typeof r=="string"?t.dispatch(Object.assign(Object.assign({},jG(t.state,r,i.from,i.to)),{annotations:c_.of(e.completion)})):r(t,e.completion,i.from,i.to),!0):!1}var tK=ZG(ji,h_);function ea(t,e="option"){return r=>{let i=r.state.field(ji,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<r.state.facet(zr).interactionDelay)return!1;let n=1,o;e=="page"&&(o=uv(r,i.open.tooltip))&&(n=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:a}=i.open.options,s=i.open.selected>-1?i.open.selected+n*(t?1:-1):t?0:a-1;return s<0?s=e=="page"?0:a-1:s>=a&&(s=e=="page"?a-1:0),r.dispatch({effects:f_.of(s)}),!0}}var Zm=t=>{let e=t.state.field(ji,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(zr).interactionDelay?!1:h_(t,e.open.options[e.open.selected])},ch=t=>t.state.field(ji,!1)?(t.dispatch({effects:Wm.of(!0)}),!0):!1,Vv=t=>{let e=t.state.field(ji,!1);return!e||!e.active.some(r=>r.state!=0)?!1:(t.dispatch({effects:oh.of(null)}),!0)},qv=class{constructor(e,r){this.active=e,this.context=r,this.time=Date.now(),this.updates=[],this.done=void 0}},rK=50,iK=1e3,nK=pt.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(ji).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(ji);if(!t.selectionSet&&!t.docChanged&&t.startState.field(ji)==e)return;let r=t.transactions.some(n=>(n.selection||n.docChanged)&&!Uv(n));for(let n=0;n<this.running.length;n++){let o=this.running[n];if(r||o.updates.length+t.transactions.length>rK&&Date.now()-o.time>iK){for(let a of o.context.abortListeners)try{a()}catch(s){Oi(this.view.state,s)}o.context.abortListeners=null,this.running.splice(n--,1)}else o.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(n=>n.effects.some(o=>o.is(Wm)))&&(this.pendingStart=!0);let i=this.pendingStart?50:t.state.facet(zr).activateOnTypingDelay;if(this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(o=>o.active.source==n.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let n of t.transactions)Uv(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(ji);for(let r of e.active)r.state==1&&!this.running.some(i=>i.active.source==r.source)&&this.startQuery(r)}startQuery(t){let{state:e}=this.view,r=Ja(e),i=new _c(e,r,t.explicitPos==r),n=new qv(t,i);this.running.push(n),Promise.resolve(t.source(i)).then(o=>{n.context.aborted||(n.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:oh.of(null)}),Oi(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(zr).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],r=this.view.state.facet(zr);for(let i=0;i<this.running.length;i++){let n=this.running[i];if(n.done===void 0)continue;if(this.running.splice(i--,1),n.done){let a=new Vm(n.active.source,n.active.explicitPos,n.done,n.done.from,(t=n.done.to)!==null&&t!==void 0?t:Ja(n.updates.length?n.updates[0].startState:this.view.state));for(let s of n.updates)a=a.update(s,r);if(a.hasResult()){e.push(a);continue}}let o=this.view.state.field(ji).active.find(a=>a.source==n.active.source);if(o&&o.state==1)if(n.done==null){let a=new Jo(n.active.source,0);for(let s of n.updates)a=a.update(s,r);a.state!=1&&e.push(a)}else this.startQuery(o)}e.length&&this.view.dispatch({effects:u_.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(ji,!1);if(e&&e.tooltip&&this.view.state.facet(zr).closeOnBlur){let r=e.open&&uv(this.view,e.open.tooltip);(!r||!r.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:oh.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Wm.of(!1)}),20),this.composing=0}}}),d_=we.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"}}}),Bv=class{constructor(e,r,i,n){this.field=e,this.line=r,this.from=i,this.to=n}},jv=class t{constructor(e,r,i){this.field=e,this.from=r,this.to=i}map(e){let r=e.mapPos(this.from,-1,Wt.TrackDel),i=e.mapPos(this.to,1,Wt.TrackDel);return r==null||i==null?null:new t(this.field,r,i)}},Wv=class t{constructor(e,r){this.lines=e,this.fieldPositions=r}instantiate(e,r){let i=[],n=[r],o=e.doc.lineAt(r),a=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(i.length){let c=a,u=/^\t*/.exec(l)[0].length;for(let f=0;f<u;f++)c+=e.facet(_n);n.push(r+c.length-u),l=c+l.slice(u)}i.push(l),r+=l.length+1}let s=this.fieldPositions.map(l=>new jv(l.field,n[l.line]+l.from,n[l.line]+l.to));return{text:i,ranges:s}}static parse(e){let r=[],i=[],n=[],o;for(let a of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(a);){let s=o[1]?+o[1]:null,l=o[2]||o[3]||"",c=-1;for(let u=0;u<r.length;u++)(s!=null?r[u].seq==s:l&&r[u].name==l)&&(c=u);if(c<0){let u=0;for(;u<r.length&&(s==null||r[u].seq!=null&&r[u].seq<s);)u++;r.splice(u,0,{seq:s,name:l}),c=u;for(let f of n)f.field>=c&&f.field++}n.push(new Bv(c,i.length,o.index,o.index+l.length)),a=a.slice(0,o.index)+l+a.slice(o.index+o[0].length)}for(let s;s=/\\([{}])/.exec(a);){a=a.slice(0,s.index)+s[1]+a.slice(s.index+s[0].length);for(let l of n)l.line==i.length&&l.from>s.index&&(l.from--,l.to--)}i.push(a)}return new t(i,n)}},oK=Le.widget({widget:new class extends Er{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),aK=Le.mark({class:"cm-snippetField"}),Ac=class t{constructor(e,r){this.ranges=e,this.active=r,this.deco=Le.set(e.map(i=>(i.from==i.to?oK:aK).range(i.from,i.to)))}map(e){let r=[];for(let i of this.ranges){let n=i.map(e);if(!n)return null;r.push(n)}return new t(r,this.active)}selectionInsideField(e){return e.ranges.every(r=>this.ranges.some(i=>i.field==this.active&&i.from<=r.from&&i.to>=r.to))}},uh=De.define({map(t,e){return t&&t.map(e)}}),sK=De.define(),ah=Ot.define({create(){return null},update(t,e){for(let r of e.effects){if(r.is(uh))return r.value;if(r.is(sK)&&t)return new Ac(t.ranges,r.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>we.decorations.from(t,e=>e?e.deco:Le.none)});function Fv(t,e){return ce.create(t.filter(r=>r.field==e).map(r=>ce.range(r.from,r.to)))}function lK(t){let e=Wv.parse(t);return(r,i,n,o)=>{let{text:a,ranges:s}=e.instantiate(r.state,n),l={changes:{from:n,to:o,insert:gt.of(a)},scrollIntoView:!0,annotations:i?[c_.of(i),Jt.userEvent.of("input.complete")]:void 0};if(s.length&&(l.selection=Fv(s,0)),s.some(c=>c.field>0)){let c=new Ac(s,0),u=l.effects=[uh.of(c)];r.state.field(ah,!1)===void 0&&u.push(De.appendConfig.of([ah,dK,pK,d_]))}r.dispatch(r.state.update(l))}}function p_(t){return({state:e,dispatch:r})=>{let i=e.field(ah,!1);if(!i||t<0&&i.active==0)return!1;let n=i.active+t,o=t>0&&!i.ranges.some(a=>a.field==n+t);return r(e.update({selection:Fv(i.ranges,n),effects:uh.of(o?null:new Ac(i.ranges,n)),scrollIntoView:!0})),!0}}var cK=({state:t,dispatch:e})=>t.field(ah,!1)?(e(t.update({effects:uh.of(null)})),!0):!1,uK=p_(1),fK=p_(-1);var hK=[{key:"Tab",run:uK,shift:fK},{key:"Escape",run:cK}],o_=$e.define({combine(t){return t.length?t[0]:hK}}),dK=cr.highest(vr.compute([o_],t=>t.facet(o_)));function Dr(t,e){return Object.assign(Object.assign({},e),{apply:lK(t)})}var pK=we.domEventHandlers({mousedown(t,e){let r=e.state.field(ah,!1),i;if(!r||(i=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let n=r.ranges.find(o=>o.from<=i&&o.to>=i);return!n||n.field==r.active?!1:(e.dispatch({selection:Fv(r.ranges,n.field),effects:uh.of(r.ranges.some(o=>o.field>n.field)?new Ac(r.ranges,n.field):null),scrollIntoView:!0}),!0)}});var sh={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},rl=De.define({map(t,e){let r=e.mapPos(t,-1,Wt.TrackAfter);return r==null?void 0:r}}),Zv=new class extends En{};Zv.startSide=1;Zv.endSide=-1;var m_=Ot.define({create(){return Et.empty},update(t,e){if(t=t.map(e.changes),e.selection){let r=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:i=>i>=r.from&&i<=r.to})}for(let r of e.effects)r.is(rl)&&(t=t.update({add:[Zv.range(r.value,r.value+1)]}));return t}});function O_(){return[OK,m_]}var Lv="()[]{}<>";function g_(t){for(let e=0;e<Lv.length;e+=2)if(Lv.charCodeAt(e)==t)return Lv.charAt(e+1);return _f(t<128?t:t+1)}function b_(t,e){return t.languageDataAt("closeBrackets",e)[0]||sh}var mK=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),OK=we.inputHandler.of((t,e,r,i)=>{if((mK?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let n=t.state.selection.main;if(i.length>2||i.length==2&&fi(hr(i,0))==1||e!=n.from||r!=n.to)return!1;let o=gK(t.state,i);return o?(t.dispatch(o),!0):!1}),y_=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=b_(t,t.selection.main.head).brackets||sh.brackets,n=null,o=t.changeByRange(a=>{if(a.empty){let s=bK(t.doc,a.head);for(let l of i)if(l==s&&Ym(t.doc,a.head)==g_(hr(l,0)))return{changes:{from:a.head-l.length,to:a.head+l.length},range:ce.cursor(a.head-l.length)}}return{range:n=a}});return n||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!n};function gK(t,e){let r=b_(t,t.selection.main.head),i=r.brackets||sh.brackets;for(let n of i){let o=g_(hr(n,0));if(e==n)return o==n?xK(t,n,i.indexOf(n+n+n)>-1,r):yK(t,n,o,r.before||sh.before);if(e==o&&v_(t,t.selection.main.from))return vK(t,n,o)}return null}function v_(t,e){let r=!1;return t.field(m_).between(0,t.doc.length,i=>{i==e&&(r=!0)}),r}function Ym(t,e){let r=t.sliceString(e,e+2);return r.slice(0,fi(hr(r,0)))}function bK(t,e){let r=t.sliceString(e-2,e);return fi(hr(r,0))==r.length?r:r.slice(1)}function yK(t,e,r,i){let n=null,o=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:r,from:a.to}],effects:rl.of(a.to+e.length),range:ce.range(a.anchor+e.length,a.head+e.length)};let s=Ym(t.doc,a.head);return!s||/\s/.test(s)||i.indexOf(s)>-1?{changes:{insert:e+r,from:a.head},effects:rl.of(a.head+e.length),range:ce.cursor(a.head+e.length)}:{range:n=a}});return n?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function vK(t,e,r){let i=null,n=t.changeByRange(o=>o.empty&&Ym(t.doc,o.head)==r?{changes:{from:o.head,to:o.head+r.length,insert:r},range:ce.cursor(o.head+r.length)}:i={range:o});return i?null:t.update(n,{scrollIntoView:!0,userEvent:"input.type"})}function xK(t,e,r,i){let n=i.stringPrefixes||sh.stringPrefixes,o=null,a=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:rl.of(s.to+e.length),range:ce.range(s.anchor+e.length,s.head+e.length)};let l=s.head,c=Ym(t.doc,l),u;if(c==e){if(a_(t,l))return{changes:{insert:e+e,from:l},effects:rl.of(l+e.length),range:ce.cursor(l+e.length)};if(v_(t,l)){let d=r&&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:ce.cursor(l+d.length)}}}else{if(r&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=s_(t,l-2*e.length,n))>-1&&a_(t,u))return{changes:{insert:e+e+e+e,from:l},effects:rl.of(l+e.length),range:ce.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=Xt.Word&&s_(t,l,n)>-1&&!wK(t,l,e,n))return{changes:{insert:e+e,from:l},effects:rl.of(l+e.length),range:ce.cursor(l+e.length)}}return{range:o=s}});return o?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function a_(t,e){let r=ct(t).resolveInner(e+1);return r.parent&&r.from==e}function wK(t,e,r,i){let n=ct(t).resolveInner(e,-1),o=i.reduce((a,s)=>Math.max(a,s.length),0);for(let a=0;a<5;a++){let s=t.sliceDoc(n.from,Math.min(n.to,n.from+r.length+o)),l=s.indexOf(r);if(!l||l>-1&&i.indexOf(s.slice(0,l))>-1){let u=n.firstChild;for(;u&&u.from==n.from&&u.to-u.from>r.length+l;){if(t.sliceDoc(u.to-r.length,u.to)==r)return!1;u=u.firstChild}return!0}let c=n.to==e&&n.parent;if(!c)break;n=c}return!1}function s_(t,e,r){let i=t.charCategorizer(e);if(i(t.sliceDoc(e-1,e))!=Xt.Word)return e;for(let n of r){let o=e-n.length;if(t.sliceDoc(o,e)==n&&i(t.sliceDoc(o-1,o))!=Xt.Word)return o}return-1}function Yv(t={}){return[ji,zr.of(t),nK,SK,d_]}var kK=[{key:"Ctrl-Space",run:ch},{key:"Escape",run:Vv},{key:"ArrowDown",run:ea(!0)},{key:"ArrowUp",run:ea(!1)},{key:"PageDown",run:ea(!0,"page")},{key:"PageUp",run:ea(!1,"page")},{key:"Enter",run:Zm}],SK=cr.highest(vr.computeN([zr],t=>t.facet(zr).defaultKeymap?[kK]:[]));var Km=class t{static create(e,r,i,n,o){let a=n+(n<<8)+e+(r<<4)|0;return new t(e,r,i,a,o,[],[])}constructor(e,r,i,n,o,a,s){this.type=e,this.value=r,this.from=i,this.hash=n,this.end=o,this.children=a,this.positions=s,this.hashProp=[[We.contextHash,n]]}addChild(e,r){e.prop(We.contextHash)!=this.hash&&(e=new ft(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(r)}toTree(e,r=this.end){let i=this.children.length-1;return i>=0&&(r=Math.max(r,this.positions[i]+this.children[i].length+this.from)),new ft(e.types[this.type],this.children,this.positions,r-this.from).balance({makeTree:(n,o,a)=>new ft(Kt.none,n,o,a,this.hashProp)})}},Ae;(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"})(Ae||(Ae={}));var Kv=class{constructor(e,r){this.start=e,this.content=r,this.marks=[],this.parsers=[]}},Jv=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 dh(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,r=0,i=0){for(let n=r;n<e;n++)i+=this.text.charCodeAt(n)==9?4-i%4:1;return i}findColumn(e){let r=0;for(let i=0;r<this.text.length&&i<e;r++)i+=this.text.charCodeAt(r)==9?4-i%4:1;return r}scrub(){if(!this.baseIndent)return this.text;let e="";for(let r=0;r<this.basePos;r++)e+=" ";return e+this.text.slice(this.basePos)}};function x_(t,e,r){if(r.pos==r.text.length||t!=e.block&&r.indent>=e.stack[r.depth+1].value+r.baseIndent)return!0;if(r.indent>=r.baseIndent+4)return!1;let i=(t.type==Ae.OrderedList?h3:f3)(r,e,!1);return i>0&&(t.type!=Ae.BulletList||u3(r,e,!1)<0)&&r.text.charCodeAt(r.pos+i-1)==t.value}var X_={[Ae.Blockquote](t,e,r){return r.next!=62?!1:(r.markers.push(yt(Ae.QuoteMark,e.lineStart+r.pos,e.lineStart+r.pos+1)),r.moveBase(r.pos+(un(r.text.charCodeAt(r.pos+1))?2:1)),t.end=e.lineStart+r.text.length,!0)},[Ae.ListItem](t,e,r){return r.indent<r.baseIndent+t.value&&r.next>-1?!1:(r.moveBaseColumn(r.baseIndent+t.value),!0)},[Ae.OrderedList]:x_,[Ae.BulletList]:x_,[Ae.Document](){return!0}};function un(t){return t==32||t==9||t==10||t==13}function dh(t,e=0){for(;e<t.length&&un(t.charCodeAt(e));)e++;return e}function w_(t,e,r){for(;e>r&&un(t.charCodeAt(e-1));)e--;return e}function R_(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 r=e;r<t.text.length;r++)if(t.text.charCodeAt(r)==96)return-1}return e}function I_(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function u3(t,e,r){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let i=1;for(let n=t.pos+1;n<t.text.length;n++){let o=t.text.charCodeAt(n);if(o==t.next)i++;else if(!un(o))return-1}return r&&t.next==45&&z_(t)>-1&&t.depth==e.stack.length||i<3?-1:1}function L_(t,e){for(let r=t.stack.length-1;r>=0;r--)if(t.stack[r].type==e)return!0;return!1}function f3(t,e,r){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||un(t.text.charCodeAt(t.pos+1)))&&(!r||L_(e,Ae.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function h3(t,e,r){let i=t.pos,n=t.next;for(;n>=48&&n<=57;){i++;if(i==t.text.length)return-1;n=t.text.charCodeAt(i)}return i==t.pos||i>t.pos+9||n!=46&&n!=41||i<t.text.length-1&&!un(t.text.charCodeAt(i+1))||r&&!L_(e,Ae.OrderedList)&&(t.skipSpace(i+1)==t.text.length||i>t.pos+1||t.next!=49)?-1:i+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 r=e-t.pos;return r>6?-1:r}function z_(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 r=e;for(;e<t.text.length&&un(t.text.charCodeAt(e));)e++;return e==t.text.length?r:-1}var e3=/^[ \t]*$/,D_=/-->/,N_=/\?>/,t3=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,D_],[/^\s*<\?/,N_],[/^\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,e3],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,e3]];function U_(t,e,r){if(t.next!=60)return-1;let i=t.text.slice(t.pos);for(let n=0,o=t3.length-(r?1:0);n<o;n++)if(t3[n][0].test(i))return n;return-1}function k_(t,e){let r=t.countIndent(e,t.pos,t.indent),i=t.countIndent(t.skipSpace(e),e,r);return i>=r+5?r+1:i}function il(t,e,r){let i=t.length-1;i>=0&&t[i].to==e&&t[i].type==Ae.CodeText?t[i].to=r:t.push(yt(Ae.CodeText,e,r))}var Hm={LinkReference:void 0,IndentedCode(t,e){let r=e.baseIndent+4;if(e.indent<r)return!1;let i=e.findColumn(r),n=t.lineStart+i,o=t.lineStart+e.text.length,a=[],s=[];for(il(a,n,o);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){il(s,t.lineStart-1,t.lineStart);for(let l of e.markers)s.push(l)}else{if(e.indent<r)break;{if(s.length){for(let c of s)c.type==Ae.CodeText?il(a,c.from,c.to):a.push(c);s=[]}il(a,t.lineStart-1,t.lineStart);for(let c of e.markers)a.push(c);o=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<o&&il(a,l,o)}}return s.length&&(s=s.filter(l=>l.type!=Ae.CodeText),s.length&&(e.markers=s.concat(e.markers))),t.addNode(t.buffer.writeElements(a,-n).finish(Ae.CodeBlock,o-n),n),!0},FencedCode(t,e){let r=R_(e);if(r<0)return!1;let i=t.lineStart+e.pos,n=e.next,o=r-e.pos,a=e.skipSpace(r),s=w_(e.text,e.text.length,a),l=[yt(Ae.CodeMark,i,i+o)];a<s&&l.push(yt(Ae.CodeInfo,t.lineStart+a,t.lineStart+s));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(yt(Ae.CodeMark,t.lineStart+e.pos,t.lineStart+u)),t.nextLine();break}else{c||il(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&&il(l,f,d)}}return t.addNode(t.buffer.writeElements(l,-i).finish(Ae.FencedCode,t.prevLineEnd()-i),i),!0},Blockquote(t,e){let r=I_(e);return r<0?!1:(t.startContext(Ae.Blockquote,e.pos),t.addNode(Ae.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+r),null)},HorizontalRule(t,e){if(u3(e,t,!1)<0)return!1;let r=t.lineStart+e.pos;return t.nextLine(),t.addNode(Ae.HorizontalRule,r),!0},BulletList(t,e){let r=f3(e,t,!1);if(r<0)return!1;t.block.type!=Ae.BulletList&&t.startContext(Ae.BulletList,e.basePos,e.next);let i=k_(e,e.pos+1);return t.startContext(Ae.ListItem,e.basePos,i-e.baseIndent),t.addNode(Ae.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(i),null},OrderedList(t,e){let r=h3(e,t,!1);if(r<0)return!1;t.block.type!=Ae.OrderedList&&t.startContext(Ae.OrderedList,e.basePos,e.text.charCodeAt(e.pos+r-1));let i=k_(e,e.pos+r);return t.startContext(Ae.ListItem,e.basePos,i-e.baseIndent),t.addNode(Ae.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(i),null},ATXHeading(t,e){let r=M_(e);if(r<0)return!1;let i=e.pos,n=t.lineStart+i,o=w_(e.text,e.text.length,i),a=o;for(;a>i&&e.text.charCodeAt(a-1)==e.next;)a--;(a==o||a==i||!un(e.text.charCodeAt(a-1)))&&(a=e.text.length);let s=t.buffer.write(Ae.HeaderMark,0,r).writeElements(t.parser.parseInline(e.text.slice(i+r+1,a),n+r+1),-n);a<e.text.length&&s.write(Ae.HeaderMark,a-i,o-i);let l=s.finish(Ae.ATXHeading1-1+r,e.text.length-i);return t.nextLine(),t.addNode(l,n),!0},HTMLBlock(t,e){let r=U_(e,t,!1);if(r<0)return!1;let i=t.lineStart+e.pos,n=t3[r][1],o=[],a=n!=e3;for(;!n.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){a=!1;break}for(let c of e.markers)o.push(c)}a&&t.nextLine();let s=n==D_?Ae.CommentBlock:n==N_?Ae.ProcessingInstructionBlock:Ae.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(o,-i).finish(s,l-i),i),!0},SetextHeading:void 0},r3=class{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,r,i){if(this.stage==-1)return!1;let n=i.content+`
`+r.scrub(),o=this.advance(n);return o>-1&&o<n.length?this.complete(e,i,o):!1}finish(e,r){return(this.stage==2||this.stage==3)&&dh(r.content,this.pos)==r.content.length?this.complete(e,r,r.content.length):!1}complete(e,r,i){return e.addLeafElement(r,yt(Ae.LinkReference,this.start,this.start+i,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(Z_(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(yt(Ae.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(V_(e,dh(e,this.pos),this.start)))return-1}else if(this.stage==2){let r=dh(e,this.pos),i=0;if(r>this.pos){let n=F_(e,r,this.start);if(n){let o=Hv(e,n.to-this.start);o>0&&(this.nextStage(n),i=o)}}return i||(i=Hv(e,this.pos)),i>0&&i<e.length?i:-1}else return Hv(e,this.pos)}}};function Hv(t,e){for(;e<t.length;e++){let r=t.charCodeAt(e);if(r==10)break;if(!un(r))return-1}return e}var i3=class{nextLine(e,r,i){let n=r.depth<e.stack.length?-1:z_(r),o=r.next;if(n<0)return!1;let a=yt(Ae.HeaderMark,e.lineStart+r.pos,e.lineStart+n);return e.nextLine(),e.addLeafElement(i,yt(o==61?Ae.SetextHeading1:Ae.SetextHeading2,i.start,e.prevLineEnd(),[...e.parser.parseInline(i.content,i.start),a])),!0}finish(){return!1}},TK={LinkReference(t,e){return e.content.charCodeAt(0)==91?new r3(e):null},SetextHeading(){return new i3}},EK=[(t,e)=>M_(e)>=0,(t,e)=>R_(e)>=0,(t,e)=>I_(e)>=0,(t,e)=>f3(e,t,!0)>=0,(t,e)=>h3(e,t,!0)>=0,(t,e)=>u3(e,t,!0)>=0,(t,e)=>U_(e,t,!0)>=0],CK={text:"",end:0},n3=class{constructor(e,r,i,n){this.parser=e,this.input=r,this.ranges=n,this.line=new Jv,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=Km.create(Ae.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=i.length?new l3(i,r):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 i=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;i<e.markers.length&&(!n||e.markers[i].from<n.end);){let o=e.markers[i++];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 i of this.parser.blockParsers)if(i){let n=i(this,e);if(n!=!1){if(n==!0)return null;e.forward();continue e}}break}let r=new Kv(this.lineStart+e.pos,e.text.slice(e.pos));for(let i of this.parser.leafBlockParsers)if(i){let n=i(this,r);n&&r.parsers.push(n)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let i of this.parser.endLeafBlock)if(i(this,e,r))break e}for(let i of r.parsers)if(i.nextLine(this,e,r))return null;r.content+=`
`+e.scrub();for(let i of e.markers)r.marks.push(i)}return this.finishLeaf(r),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 r=this.fragments.takeNodes(this);return r?(this.absoluteLineStart+=r,this.lineStart=Y_(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 r=CK;if(r.end=e,e>=this.to)r.text="";else if(r.text=this.lineChunkAt(e),r.end+=r.text.length,this.ranges.length>1){let i=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<r.end;){n++;let o=this.ranges[n].from,a=this.lineChunkAt(o);r.end=o+a.length,r.text=r.text.slice(0,this.ranges[n-1].to-i)+a,i=r.end-r.text.length}}return r}readLine(){let{line:e}=this,{text:r,end:i}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=i,e.reset(r);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 "+Ae[n.type]);if(!o(n,this,e))break;e.forward()}}lineChunkAt(e){let r=this.input.chunk(e),i;if(this.input.lineChunks)i=r==`
`?"":r;else{let n=r.indexOf(`
`);i=n<0?r:r.slice(0,n)}return e+i.length>this.to?i.slice(0,this.to-e):i}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,r,i=0){this.block=Km.create(e,i,this.lineStart+r,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,r,i=0){this.startContext(this.parser.getNodeType(e),r,i)}addNode(e,r,i){typeof e=="number"&&(e=new ft(this.parser.nodeSet.types[e],Qc,Qc,(i!=null?i:this.prevLineEnd())-r)),this.block.addChild(e,r-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,r){this.addNode(this.buffer.writeElements(s3(r.children,e.marks),-r.from).finish(r.type,r.to-r.from),r.from)}finishContext(){let e=this.stack.pop(),r=this.stack[this.stack.length-1];r.addChild(e.toTree(this.parser.nodeSet),e.from-r.from),this.block=r}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?q_(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let i of e.parsers)if(i.finish(this,e))return;let r=s3(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(r,-e.start).finish(Ae.Paragraph,e.content.length),e.start)}elt(e,r,i,n){return typeof e=="string"?yt(this.parser.getNodeType(e),r,i,n):new eO(e,r)}get buffer(){return new Jm(this.parser.nodeSet)}};function q_(t,e,r,i,n){let o=t[e].to,a=[],s=[],l=r.from+i;function c(u,f){for(;f?u>=o:u>o;){let d=t[e+1].from-o;i+=d,u+=d,e++,o=t[e].to}}for(let u=r.firstChild;u;u=u.nextSibling){c(u.from+i,!0);let f=u.from+i,d,p=n.get(u.tree);p?d=p:u.to+i>o?(d=q_(t,e,u,i,n),c(u.to+i,!1)):d=u.toTree(),a.push(d),s.push(f-l)}return c(r.to+i,!1),new ft(r.type,a,s,r.to+i-l,r.tree?r.tree.propValues:void 0)}var mh=class t extends Vo{constructor(e,r,i,n,o,a,s,l,c){super(),this.nodeSet=e,this.blockParsers=r,this.leafBlockParsers=i,this.blockNames=n,this.endLeafBlock=o,this.skipContextMarkup=a,this.inlineParsers=s,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,r,i){let n=new n3(this,e,r,i);for(let o of this.wrappers)n=o(n,e,r,i);return n}configure(e){let r=o3(e);if(!r)return this;let{nodeSet:i,skipContextMarkup:n}=this,o=this.blockParsers.slice(),a=this.leafBlockParsers.slice(),s=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),f=this.wrappers;if(fh(r.defineNodes)){n=Object.assign({},n);let d=i.types.slice(),p;for(let O of r.defineNodes){let{name:x,block:k,composite:w,style:C}=typeof O=="string"?{name:O}:O;if(d.some(N=>N.name==x))continue;w&&(n[d.length]=(N,I,H)=>w(I,H,N.value));let Q=d.length,L=w?["Block","BlockContext"]:k?Q>=Ae.ATXHeading1&&Q<=Ae.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;d.push(Kt.define({id:Q,name:x,props:L&&[[We.group,L]]})),C&&(p||(p={}),Array.isArray(C)||C instanceof ln?p[x]=C:Object.assign(p,C))}i=new jo(d),p&&(i=i.extend(xr(p)))}if(fh(r.props)&&(i=i.extend(...r.props)),fh(r.remove))for(let d of r.remove){let p=this.blockNames.indexOf(d),O=this.inlineNames.indexOf(d);p>-1&&(o[p]=a[p]=void 0),O>-1&&(l[O]=void 0)}if(fh(r.parseBlock))for(let d of r.parseBlock){let p=s.indexOf(d.name);if(p>-1)o[p]=d.parse,a[p]=d.leaf;else{let O=d.before?Gm(s,d.before):d.after?Gm(s,d.after)+1:s.length-1;o.splice(O,0,d.parse),a.splice(O,0,d.leaf),s.splice(O,0,d.name)}d.endLeaf&&u.push(d.endLeaf)}if(fh(r.parseInline))for(let d of r.parseInline){let p=c.indexOf(d.name);if(p>-1)l[p]=d.parse;else{let O=d.before?Gm(c,d.before):d.after?Gm(c,d.after)+1:c.length-1;l.splice(O,0,d.parse),c.splice(O,0,d.name)}}return r.wrap&&(f=f.concat(r.wrap)),new t(i,o,a,s,u,n,l,c,f)}getNodeType(e){let r=this.nodeTypes[e];if(r==null)throw new RangeError(`Unknown node type '${e}'`);return r}parseInline(e,r){let i=new a3(this,e,r);e:for(let n=r;n<i.end;){let o=i.char(n);for(let a of this.inlineParsers)if(a){let s=a(i,o,n);if(s>=0){n=s;continue e}}n++}return i.resolveMarkers(0)}};function fh(t){return t!=null&&t.length>0}function o3(t){if(!Array.isArray(t))return t;if(t.length==0)return null;let e=o3(t[0]);if(t.length==1)return e;let r=o3(t.slice(1));if(!r||!e)return e||r;let i=(a,s)=>(a||Qc).concat(s||Qc),n=e.wrap,o=r.wrap;return{props:i(e.props,r.props),defineNodes:i(e.defineNodes,r.defineNodes),parseBlock:i(e.parseBlock,r.parseBlock),parseInline:i(e.parseInline,r.parseInline),remove:i(e.remove,r.remove),wrap:n?o?(a,s,l,c)=>n(o(a,s,l,c),s,l,c):n:o}}function Gm(t,e){let r=t.indexOf(e);if(r<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return r}var B_=[Kt.none];for(let t=1,e;e=Ae[t];t++)B_[t]=Kt.define({id:t,name:e,props:t>=Ae.Escape?[]:[[We.group,t in X_?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});var Qc=[],Jm=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,r,i,n=0){return this.content.push(e,r,i,4+n*4),this}writeElements(e,r=0){for(let i of e)i.writeTo(this,r);return this}finish(e,r){return ft.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:r})}},nl=class{constructor(e,r,i,n=Qc){this.type=e,this.from=r,this.to=i,this.children=n}writeTo(e,r){let i=e.content.length;e.writeElements(this.children,r),e.content.push(this.type,this.from+r,this.to+r,e.content.length+4-i)}toTree(e){return new Jm(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},eO=class{constructor(e,r){this.tree=e,this.from=r}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Qc}writeTo(e,r){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+r,this.to+r,-1)}toTree(){return this.tree}};function yt(t,e,r,i){return new nl(t,e,r,i)}var j_={resolve:"Emphasis",mark:"EmphasisMark"},W_={resolve:"Emphasis",mark:"EmphasisMark"},hh={},S_={},Wi=class{constructor(e,r,i,n){this.type=e,this.from=r,this.to=i,this.side=n}},T_="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",Oh=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Oh=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(t){}var Gv={Escape(t,e,r){if(e!=92||r==t.end-1)return-1;let i=t.char(r+1);for(let n=0;n<T_.length;n++)if(T_.charCodeAt(n)==i)return t.append(yt(Ae.Escape,r,r+2));return-1},Entity(t,e,r){if(e!=38)return-1;let i=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(t.slice(r+1,r+31));return i?t.append(yt(Ae.Entity,r,r+1+i[0].length)):-1},InlineCode(t,e,r){if(e!=96||r&&t.char(r-1)==96)return-1;let i=r+1;for(;i<t.end&&t.char(i)==96;)i++;let n=i-r,o=0;for(;i<t.end;i++)if(t.char(i)==96){if(o++,o==n&&t.char(i+1)!=96)return t.append(yt(Ae.InlineCode,r,i+1,[yt(Ae.CodeMark,r,r+n),yt(Ae.CodeMark,i+1-n,i+1)]))}else o=0;return-1},HTMLTag(t,e,r){if(e!=60||r==t.end-1)return-1;let i=t.slice(r+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(i);if(n)return t.append(yt(Ae.Autolink,r,r+1+n[0].length,[yt(Ae.LinkMark,r,r+1),yt(Ae.URL,r+1,r+n[0].length),yt(Ae.LinkMark,r+n[0].length,r+1+n[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(i);if(o)return t.append(yt(Ae.Comment,r,r+1+o[0].length));let a=/^\?[^]*?\?>/.exec(i);if(a)return t.append(yt(Ae.ProcessingInstruction,r,r+1+a[0].length));let s=/^(?:![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(i);return s?t.append(yt(Ae.HTMLTag,r,r+1+s[0].length)):-1},Emphasis(t,e,r){if(e!=95&&e!=42)return-1;let i=r+1;for(;t.char(i)==e;)i++;let n=t.slice(r-1,r),o=t.slice(i,i+1),a=Oh.test(n),s=Oh.test(o),l=/\s|^$/.test(n),c=/\s|^$/.test(o),u=!c&&(!s||l||a),f=!l&&(!a||c||s),d=u&&(e==42||!f||a),p=f&&(e==42||!u||s);return t.append(new Wi(e==95?j_:W_,r,i,(d?1:0)|(p?2:0)))},HardBreak(t,e,r){if(e==92&&t.char(r+1)==10)return t.append(yt(Ae.HardBreak,r,r+2));if(e==32){let i=r+1;for(;t.char(i)==32;)i++;if(t.char(i)==10&&i>=r+2)return t.append(yt(Ae.HardBreak,r,i+1))}return-1},Link(t,e,r){return e==91?t.append(new Wi(hh,r,r+1,1)):-1},Image(t,e,r){return e==33&&t.char(r+1)==91?t.append(new Wi(S_,r,r+2,1)):-1},LinkEnd(t,e,r){if(e!=93)return-1;for(let i=t.parts.length-1;i>=0;i--){let n=t.parts[i];if(n instanceof Wi&&(n.type==hh||n.type==S_)){if(!n.side||t.skipSpace(n.to)==r&&!/[(\[]/.test(t.slice(r+1,r+2)))return t.parts[i]=null,-1;let o=t.takeContent(i),a=t.parts[i]=PK(t,o,n.type==hh?Ae.Link:Ae.Image,n.from,r+1);if(n.type==hh)for(let s=0;s<i;s++){let l=t.parts[s];l instanceof Wi&&l.type==hh&&(l.side=0)}return a.to}}return-1}};function PK(t,e,r,i,n){let{text:o}=t,a=t.char(n),s=n;if(e.unshift(yt(Ae.LinkMark,i,i+(r==Ae.Image?2:1))),e.push(yt(Ae.LinkMark,n-1,n)),a==40){let l=t.skipSpace(n+1),c=V_(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(yt(Ae.LinkMark,n,n+1)),s=l+1,c&&e.push(c),u&&e.push(u),e.push(yt(Ae.LinkMark,l,s)))}else if(a==91){let l=Z_(o,n-t.offset,t.offset,!1);l&&(e.push(l),s=l.to)}return yt(r,i,s,e)}function V_(t,e,r){if(t.charCodeAt(e)==60){for(let n=e+1;n<t.length;n++){let o=t.charCodeAt(n);if(o==62)return yt(Ae.URL,e+r,n+1+r);if(o==60||o==10)return!1}return null}else{let n=0,o=e;for(let a=!1;o<t.length;o++){let s=t.charCodeAt(o);if(un(s))break;if(a)a=!1;else if(s==40)n++;else if(s==41){if(!n)break;n--}else s==92&&(a=!0)}return o>e?yt(Ae.URL,e+r,o+r):o==t.length?null:!1}}function F_(t,e,r){let i=t.charCodeAt(e);if(i!=39&&i!=34&&i!=40)return!1;let n=i==40?41:i;for(let o=e+1,a=!1;o<t.length;o++){let s=t.charCodeAt(o);if(a)a=!1;else{if(s==n)return yt(Ae.LinkTitle,e+r,o+1+r);s==92&&(a=!0)}}return null}function Z_(t,e,r,i){for(let n=!1,o=e+1,a=Math.min(t.length,o+999);o<a;o++){let s=t.charCodeAt(o);if(n)n=!1;else{if(s==93)return i?!1:yt(Ae.LinkLabel,e+r,o+1+r);if(i&&!un(s)&&(i=!1),s==91)return!1;s==92&&(n=!0)}}return null}var a3=class{constructor(e,r,i){this.parser=e,this.text=r,this.offset=i,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,r){return this.text.slice(e-this.offset,r-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,r,i,n,o){return this.append(new Wi(e,r,i,(n?1:0)|(o?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let i=e;i<this.parts.length;i++){let n=this.parts[i];if(!(n instanceof Wi&&n.type.resolve&&n.side&2))continue;let o=n.type==j_||n.type==W_,a=n.to-n.from,s,l=i-1;for(;l>=e;l--){let x=this.parts[l];if(x instanceof Wi&&x.side&1&&x.type==n.type&&!(o&&(n.side&1||x.side&2)&&(x.to-x.from+a)%3==0&&((x.to-x.from)%3||a%3))){s=x;break}}if(!s)continue;let c=n.type.resolve,u=[],f=s.from,d=n.to;if(o){let x=Math.min(2,s.to-s.from,a);f=s.to-x,d=n.from+x,c=x==1?"Emphasis":"StrongEmphasis"}s.type.mark&&u.push(this.elt(s.type.mark,f,s.to));for(let x=l+1;x<i;x++)this.parts[x]instanceof nl&&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&&s.from!=f?new Wi(s.type,s.from,f,s.side):null,(this.parts[i]=o&&n.to!=d?new Wi(n.type,d,n.to,n.side):null)?this.parts.splice(i,0,p):this.parts[i]=p}let r=[];for(let i=e;i<this.parts.length;i++){let n=this.parts[i];n instanceof nl&&r.push(n)}return r}findOpeningDelimiter(e){for(let r=this.parts.length-1;r>=0;r--){let i=this.parts[r];if(i instanceof Wi&&i.type==e)return r}return null}takeContent(e){let r=this.resolveMarkers(e);return this.parts.length=e,r}skipSpace(e){return dh(this.text,e-this.offset)+this.offset}elt(e,r,i,n){return typeof e=="string"?yt(this.parser.getNodeType(e),r,i,n):new eO(e,r)}};function s3(t,e){if(!e.length)return t;if(!t.length)return e;let r=t.slice(),i=0;for(let n of e){for(;i<r.length&&r[i].to<n.to;)i++;if(i<r.length&&r[i].from<n.from){let o=r[i];o instanceof nl&&(r[i]=new nl(o.type,o.from,o.to,s3(o.children,[n])))}else r.splice(i++,0,n)}return r}var _K=[Ae.CodeBlock,Ae.ListItem,Ae.OrderedList,Ae.BulletList],l3=class{constructor(e,r){this.fragments=e,this.input=r,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,r){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 i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let n=e+this.fragment.offset;for(;i.to<=n;)if(!i.parent())return!1;for(;;){if(i.from>=n)return this.fragment.from<=r;if(!i.childAfter(n))return!1}}matches(e){let r=this.cursor.tree;return r&&r.prop(We.contextHash)==e}takeNodes(e){let r=this.cursor,i=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),o=e.absoluteLineStart,a=o,s=e.block.children.length,l=a,c=s;for(;;){if(r.to-i>n){if(r.type.isAnonymous&&r.firstChild())continue;break}let u=Y_(r.from-i,e.ranges);if(r.to-i<=e.ranges[e.rangeI].to)e.addNode(r.tree,u);else{let f=new ft(e.parser.nodeSet.types[Ae.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,r.tree),e.addNode(f,u)}if(r.type.is("Block")&&(_K.indexOf(r.type.id)<0?(a=r.to-i,s=e.block.children.length):(a=l,s=c,l=r.to-i,c=e.block.children.length)),!r.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return a-o}};function Y_(t,e){let r=t;for(let i=1;i<e.length;i++){let n=e[i-1].to,o=e[i].from;n<t&&(r-=o-n)}return r}var AK=xr({"Blockquote/...":A.quote,HorizontalRule:A.contentSeparator,"ATXHeading1/... SetextHeading1/...":A.heading1,"ATXHeading2/... SetextHeading2/...":A.heading2,"ATXHeading3/...":A.heading3,"ATXHeading4/...":A.heading4,"ATXHeading5/...":A.heading5,"ATXHeading6/...":A.heading6,"Comment CommentBlock":A.comment,Escape:A.escape,Entity:A.character,"Emphasis/...":A.emphasis,"StrongEmphasis/...":A.strong,"Link/... Image/...":A.link,"OrderedList/... BulletList/...":A.list,"BlockQuote/...":A.quote,"InlineCode CodeText":A.monospace,"URL Autolink":A.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":A.processingInstruction,"CodeInfo LinkLabel":A.labelName,LinkTitle:A.string,Paragraph:A.content}),H_=new mh(new jo(B_).extend(AK),Object.keys(Hm).map(t=>Hm[t]),Object.keys(Hm).map(t=>TK[t]),Object.keys(Hm),EK,X_,Object.keys(Gv).map(t=>Gv[t]),Object.keys(Gv),[]);function QK(t,e,r){let i=[];for(let n=t.firstChild,o=e;;n=n.nextSibling){let a=n?n.from:r;if(a>o&&i.push({from:o,to:a}),!n)break;o=n.to}return i}function G_(t){let{codeParser:e,htmlParser:r}=t;return{wrap:Np((n,o)=>{let a=n.type.id;if(e&&(a==Ae.CodeBlock||a==Ae.FencedCode)){let s="";if(a==Ae.FencedCode){let c=n.node.getChild(Ae.CodeInfo);c&&(s=o.read(c.from,c.to))}let l=e(s);if(l)return{parser:l,overlay:c=>c.type.id==Ae.CodeText}}else if(r&&(a==Ae.HTMLBlock||a==Ae.HTMLTag))return{parser:r,overlay:QK(n.node,n.from,n.to)};return null})}}var $K={resolve:"Strikethrough",mark:"StrikethroughMark"},XK={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":A.strikethrough}},{name:"StrikethroughMark",style:A.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,r){if(e!=126||t.char(r+1)!=126||t.char(r+2)==126)return-1;let i=t.slice(r-1,r),n=t.slice(r+2,r+3),o=/\s|^$/.test(i),a=/\s|^$/.test(n),s=Oh.test(i),l=Oh.test(n);return t.addDelimiter($K,r,r+2,!a&&(!l||o||s),!o&&(!s||a||l))},after:"Emphasis"}]};function ph(t,e,r=0,i,n=0){let o=0,a=!0,s=-1,l=-1,c=!1,u=()=>{i.push(t.elt("TableCell",n+s,n+l,t.parser.parseInline(e.slice(s,l),n+s)))};for(let f=r;f<e.length;f++){let d=e.charCodeAt(f);d==124&&!c?((!a||s>-1)&&o++,a=!1,i&&(s>-1&&u(),i.push(t.elt("TableDelimiter",f+n,f+n+1))),s=l=-1):(c||d!=32&&d!=9)&&(s<0&&(s=f),l=f+1),c=!c&&d==92}return s>-1&&(o++,i&&u()),o}function E_(t,e){for(let r=e;r<t.length;r++){let i=t.charCodeAt(r);if(i==124)return!0;i==92&&r++}return!1}var K_=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,tO=class{constructor(){this.rows=null}nextLine(e,r,i){if(this.rows==null){this.rows=!1;let n;if((r.next==45||r.next==58||r.next==124)&&K_.test(n=r.text.slice(r.pos))){let o=[];ph(e,i.content,0,o,i.start)==ph(e,n,r.pos)&&(this.rows=[e.elt("TableHeader",i.start,i.start+i.content.length,o),e.elt("TableDelimiter",e.lineStart+r.pos,e.lineStart+r.text.length)])}}else if(this.rows){let n=[];ph(e,r.text,r.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+r.pos,e.lineStart+r.text.length,n))}return!1}finish(e,r){return this.rows?(e.addLeafElement(r,e.elt("Table",r.start,r.start+r.content.length,this.rows)),!0):!1}},RK={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":A.heading}},"TableRow",{name:"TableCell",style:A.content},{name:"TableDelimiter",style:A.processingInstruction}],parseBlock:[{name:"Table",leaf(t,e){return E_(e.content,0)?new tO:null},endLeaf(t,e,r){if(r.parsers.some(n=>n instanceof tO)||!E_(e.text,e.basePos))return!1;let i=t.scanLine(t.absoluteLineEnd+1).text;return K_.test(i)&&ph(t,e.text,e.basePos)==ph(t,i,e.basePos)},before:"SetextHeading"}]},c3=class{nextLine(){return!1}finish(e,r){return e.addLeafElement(r,e.elt("Task",r.start,r.start+r.content.length,[e.elt("TaskMarker",r.start,r.start+3),...e.parser.parseInline(r.content.slice(3),r.start+3)])),!0}},IK={defineNodes:[{name:"Task",block:!0,style:A.list},{name:"TaskMarker",style:A.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new c3:null},after:"SetextHeading"}]},C_=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,P_=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,LK=/[\w-]+\.[\w-]+($|\/)/,__=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,A_=/\/[a-zA-Z\d@.]+/gy;function Q_(t,e,r,i){let n=0;for(let o=e;o<r;o++)t[o]==i&&n++;return n}function MK(t,e){P_.lastIndex=e;let r=P_.exec(t);if(!r||LK.exec(r[0])[0].indexOf("_")>-1)return-1;let i=e+r[0].length;for(;;){let n=t[i-1],o;if(/[?!.,:*_~]/.test(n)||n==")"&&Q_(t,e,i,")")>Q_(t,e,i,"("))i--;else if(n==";"&&(o=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,i))))i=e+o.index;else break}return i}function $_(t,e){__.lastIndex=e;let r=__.exec(t);if(!r)return-1;let i=r[0][r[0].length-1];return i=="_"||i=="-"?-1:e+r[0].length-(i=="."?1:0)}var zK={parseInline:[{name:"Autolink",parse(t,e,r){let i=r-t.offset;C_.lastIndex=i;let n=C_.exec(t.text),o=-1;return!n||(n[1]||n[2]?o=MK(t.text,i+n[0].length):n[3]?o=$_(t.text,i):(o=$_(t.text,i+n[0].length),o>-1&&n[0]=="xmpp:"&&(A_.lastIndex=o,n=A_.exec(t.text),n&&(o=n.index+n[0].length))),o<0)?-1:(t.addElement(t.elt("URL",r,o+t.offset)),o+t.offset)}}]},J_=[RK,IK,XK,zK];function eA(t,e,r){return(i,n,o)=>{if(n!=t||i.char(o+1)==t)return-1;let a=[i.elt(r,o,o+1)];for(let s=o+1;s<i.end;s++){let l=i.char(s);if(l==t)return i.addElement(i.elt(e,o,s+1,a.concat(i.elt(r,s,s+1))));if(l==92&&a.push(i.elt("Escape",s,s+++2)),un(l))break}return-1}}var tA={defineNodes:[{name:"Superscript",style:A.special(A.content)},{name:"SuperscriptMark",style:A.processingInstruction}],parseInline:[{name:"Superscript",parse:eA(94,"Superscript","SuperscriptMark")}]},rA={defineNodes:[{name:"Subscript",style:A.special(A.content)},{name:"SubscriptMark",style:A.processingInstruction}],parseInline:[{name:"Subscript",parse:eA(126,"Subscript","SubscriptMark")}]},iA={defineNodes:[{name:"Emoji",style:A.character}],parseInline:[{name:"Emoji",parse(t,e,r){let i;return e!=58||!(i=/^[a-zA-Z_0-9]+:/.exec(t.slice(r+1,t.end)))?-1:t.addElement(t.elt("Emoji",r,r+1+i[0].length))}}]};var m3=class t{constructor(e,r,i,n,o,a,s,l,c,u=0,f){this.p=e,this.stack=r,this.state=i,this.reducePos=n,this.pos=o,this.score=a,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=f}toString(){return`[${this.stack.filter((e,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,r,i=0){let n=e.parser.context;return new t(e,[],r,i,i,0,[],0,n?new rO(n,n.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var r;let i=e>>19,n=e&65535,{parser:o}=this.p,a=o.dynamicPrecedence(n);if(a&&(this.score+=a),i==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 s=this.stack.length-(i-1)*3-(e&262144?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((r=this.p.parser.nodeSet.types[n])===null||r===void 0)&&r.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=s?this.stack[s-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[s];else{let d=this.stack[s-3];this.state=o.getGoto(d,n,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(n,l)}storeNode(e,r,i,n=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let a=this,s=this.buffer.length;if(s==0&&a.parent&&(s=a.bufferBase-a.parent.bufferBase,a=a.parent),s>0&&a.buffer[s-4]==0&&a.buffer[s-1]>-1){if(r==i)return;if(a.buffer[s-2]>=r){a.buffer[s-2]=i;return}}}if(!o||this.pos==i)this.buffer.push(e,r,i,n);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0)for(;a>0&&this.buffer[a-2]>i;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,n>4&&(n-=4);this.buffer[a]=e,this.buffer[a+1]=r,this.buffer[a+2]=i,this.buffer[a+3]=n}}shift(e,r,i,n){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(r,i),r<=this.p.parser.maxNode&&this.buffer.push(r,i,n,4);else{let o=e,{parser:a}=this.p;(n>this.pos||r<=a.maxNode)&&(this.pos=n,a.stateFlag(o,1)||(this.reducePos=n)),this.pushState(o,i),this.shiftContext(r,i),r<=a.maxNode&&this.buffer.push(r,i,n,4)}}apply(e,r,i,n){e&65536?this.reduce(e):this.shift(e,r,i,n)}useNode(e,r){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(r,n),this.buffer.push(i,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,r=e.buffer.length;for(;r>0&&e.buffer[r-2]>e.reducePos;)r-=4;let i=e.buffer.slice(r),n=e.bufferBase+r;for(;e&&n==e.bufferBase;)e=e.parent;return new t(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,n,this.curContext,this.lookAhead,e)}recoverByDelete(e,r){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,r,4),this.storeNode(0,this.pos,r,i?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(e){for(let r=new O3(this);;){let i=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,e);if(i==0)return!1;if(!(i&65536))return!0;r.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let n=[];for(let o=0,a;o<r.length;o+=2)(a=r[o+1])!=this.state&&this.p.parser.hasAction(a,e)&&n.push(r[o],a);if(this.stack.length<120)for(let o=0;n.length<8&&o<r.length;o+=2){let a=r[o+1];n.some((s,l)=>l&1&&s==a)||n.push(r[o],a)}r=n}let i=[];for(let n=0;n<r.length&&i.length<4;n+=2){let o=r[n+1];if(o==this.state)continue;let a=this.split();a.pushState(o,this.pos),a.storeNode(0,a.pos,a.pos,4,!0),a.shiftContext(r[n],this.pos),a.reducePos=this.pos,a.score-=200,i.push(a)}return i}forceReduce(){let{parser:e}=this.p,r=e.stateSlot(this.state,5);if(!(r&65536))return!1;if(!e.validAction(this.state,r)){let i=r>>19,n=r&65535,o=this.stack.length-i*3;if(o<0||e.getGoto(this.stack[o],n,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;r=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:e}=this.p,r=[],i=(n,o)=>{if(!r.includes(n))return r.push(n),e.allActions(n,a=>{if(!(a&393216))if(a&65536){let s=(a>>19)-o;if(s>1){let l=a&65535,c=this.stack.length-s*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=i(a,o+1);if(s!=null)return s}})};return i(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 r=0;r<this.stack.length;r+=3)if(this.stack[r]!=e.stack[r])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(r)))}reduceContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(r)))}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 r=new rO(this.curContext.tracker,e);r.hash!=this.curContext.hash&&this.emitContext(),this.curContext=r}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},rO=class{constructor(e,r){this.tracker=e,this.context=r,this.hash=e.strict?e.hash(r):0}},O3=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let r=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=n}},g3=class t{constructor(e,r,i){this.stack=e,this.pos=r,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,r=e.bufferBase+e.buffer.length){return new t(e,r,r-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 gh(t,e=Uint16Array){if(typeof t!="string")return t;let r=null;for(let i=0,n=0;i<t.length;){let o=0;for(;;){let a=t.charCodeAt(i++),s=!1;if(a==126){o=65535;break}a>=92&&a--,a>=34&&a--;let l=a-32;if(l>=46&&(l-=46,s=!0),o+=l,s)break;o*=46}r?r[n++]=o:r=new e(o)}return r}var $c=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},nA=new $c,b3=class{constructor(e,r){this.input=e,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=nA,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(e,r){let i=this.range,n=this.rangeIndex,o=this.pos+e;for(;o<i.from;){if(!n)return null;let a=this.ranges[--n];o-=i.from-a.to,i=a}for(;r<0?o>i.to:o>=i.to;){if(n==this.ranges.length-1)return null;let a=this.ranges[++n];o+=a.from-i.to,i=a}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let r of this.ranges)if(r.to>e)return Math.max(e,r.from);return this.end}peek(e){let r=this.chunkOff+e,i,n;if(r>=0&&r<this.chunk.length)i=this.pos+e,n=this.chunk.charCodeAt(r);else{let o=this.resolveOffset(e,1);if(o==null)return-1;if(i=o,i>=this.chunk2Pos&&i<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(i-this.chunk2Pos);else{let a=this.rangeIndex,s=this.range;for(;s.to<=i;)s=this.ranges[++a];this.chunk2=this.input.chunk(this.chunk2Pos=i),i+this.chunk2.length>s.to&&(this.chunk2=this.chunk2.slice(0,s.to-i)),n=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),n}acceptToken(e,r=0){let i=r?this.resolveOffset(r,-1):this.pos;if(i==null||i<this.token.start)throw new RangeError("Token end out of bounds");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:r}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=r,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),r=this.pos+e.length;this.chunk=r>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,r){if(r?(this.token=r,r.start=e,r.lookAhead=e+1,r.value=r.extended=-1):this.token=nA,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,r){if(e>=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,r-this.chunkPos);if(e>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,r-this.chunk2Pos);if(e>=this.range.from&&r<=this.range.to)return this.input.read(e,r);let i="";for(let n of this.ranges){if(n.from>=r)break;n.to>e&&(i+=this.input.read(Math.max(n.from,e),Math.min(n.to,r)))}return i}},es=class{constructor(e,r){this.data=e,this.id=r}token(e,r){let{parser:i}=r.p;cA(this.data,e,r,this.id,i.data,i.tokenPrecTable)}};es.prototype.contextual=es.prototype.fallback=es.prototype.extend=!1;var ts=class{constructor(e,r,i){this.precTable=r,this.elseToken=i,this.data=typeof e=="string"?gh(e):e}token(e,r){let i=e.pos,n=0;for(;;){let o=e.next<0,a=e.resolveOffset(1,1);if(cA(this.data,e,r,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(o||n++,a==null)break;e.reset(a,e.token)}n&&(e.reset(i,e.token),e.acceptToken(this.elseToken,n))}};ts.prototype.contextual=es.prototype.fallback=es.prototype.extend=!1;var kt=class{constructor(e,r={}){this.token=e,this.contextual=!!r.contextual,this.fallback=!!r.fallback,this.extend=!!r.extend}};function cA(t,e,r,i,n,o){let a=0,s=1<<i,{dialect:l}=r.p.parser;e:for(;s&t[a];){let c=t[a+1];for(let p=a+3;p<c;p+=2)if((t[p+1]&s)>0){let O=t[p];if(l.allows(O)&&(e.token.value==-1||e.token.value==O||NK(O,e.token.value,n,o))){e.acceptToken(O);break}}let u=e.next,f=0,d=t[a+2];if(e.next<0&&d>f&&t[c+d*3-3]==65535){a=t[c+d*3-1];continue e}for(;f<d;){let p=f+d>>1,O=c+p+(p<<1),x=t[O],k=t[O+1]||65536;if(u<x)d=p;else if(u>=k)f=p+1;else{a=t[O+2],e.advance();continue e}}break}}function oA(t,e,r){for(let i=e,n;(n=t[i])!=65535;i++)if(n==r)return i-e;return-1}function NK(t,e,r,i){let n=oA(r,i,e);return n<0||oA(r,i,t)<n}var Vi=typeof process!="undefined"&&process.env&&/\bparse\b/.test(process.env.LOG),d3=null;function aA(t,e,r){let i=t.cursor(Pt.IncludeAnonymous);for(i.moveTo(e);;)if(!(r<0?i.childBefore(e):i.childAfter(e)))for(;;){if((r<0?i.to<e:i.from>e)&&!i.type.isError)return r<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(t.length,Math.max(i.from+1,e+25));if(r<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return r<0?0:t.length}}var y3=class{constructor(e,r){this.fragments=e,this.nodeSet=r,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?aA(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?aA(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 r=this.trees.length-1;if(r<0)return this.nextFragment(),null;let i=this.trees[r],n=this.index[r];if(n==i.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=i.children[n],a=this.start[r]+i.positions[n];if(a>e)return this.nextStart=a,null;if(o instanceof ft){if(a==e){if(a<this.safeFrom)return null;let s=a+o.length;if(s<=this.safeTo){let l=o.prop(We.lookAhead);if(!l||s+l<this.fragment.to)return o}}this.index[r]++,a+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(a),this.index.push(0))}else this.index[r]++,this.nextStart=a+o.length}}},v3=class{constructor(e,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new $c)}getActions(e){let r=0,i=null,{parser:n}=e.p,{tokenizers:o}=n,a=n.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,l=0;for(let c=0;c<o.length;c++){if(!(1<<c&a))continue;let u=o[c],f=this.tokens[c];if(!(i&&!u.fallback)&&((u.contextual||f.start!=e.pos||f.mask!=a||f.context!=s)&&(this.updateCachedToken(f,u,e),f.mask=a,f.context=s),f.lookAhead>f.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=r;if(f.extended>-1&&(r=this.addActions(e,f.extended,f.end,r)),r=this.addActions(e,f.value,f.end,r),!u.extend&&(i=f,r>d))break}}for(;this.actions.length>r;)this.actions.pop();return l&&e.setLookAhead(l),!i&&e.pos==this.stream.end&&(i=new $c,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,r=this.addActions(e,i.value,i.end,r)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let r=new $c,{pos:i,p:n}=e;return r.start=i,r.end=Math.min(i+1,n.stream.end),r.value=i==n.stream.end?n.parser.eofTerm:0,r}updateCachedToken(e,r,i){let n=this.stream.clipPos(i.pos);if(r.token(this.stream.reset(n,e),i),e.value>-1){let{parser:o}=i.p;for(let a=0;a<o.specialized.length;a++)if(o.specialized[a]==e.value){let s=o.specializers[a](this.stream.read(e.start,e.end),i);if(s>=0&&i.p.parser.dialect.allows(s>>1)){s&1?e.extended=s>>1:e.value=s>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,r,i,n){for(let o=0;o<n;o+=3)if(this.actions[o]==e)return n;return this.actions[n++]=e,this.actions[n++]=r,this.actions[n++]=i,n}addActions(e,r,i,n){let{state:o}=e,{parser:a}=e.p,{data:s}=a;for(let l=0;l<2;l++)for(let c=a.stateSlot(o,l?2:1);;c+=3){if(s[c]==65535)if(s[c+1]==1)c=ta(s,c+2);else{n==0&&s[c+1]==2&&(n=this.putAction(ta(s,c+2),r,i,n));break}s[c]==r&&(n=this.putAction(ta(s,c+1),r,i,n))}return n}},x3=class{constructor(e,r,i,n){this.parser=e,this.input=r,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 b3(r,n),this.tokens=new v3(e,this.stream),this.topTerm=e.top[1];let{from:o}=n[0];this.stacks=[m3.start(this,e.top[0],o)],this.fragments=i.length&&this.stream.end-o>e.bufferLength*4?new y3(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,r=this.minStackPos,i=this.stacks=[],n,o;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let s=e[a];for(;;){if(this.tokens.mainToken=null,s.pos>r)i.push(s);else{if(this.advanceStack(s,i,e))continue;{n||(n=[],o=[]),n.push(s);let l=this.tokens.getMainToken(s);o.push(l.value,l.end)}}break}}if(!i.length){let a=n&&UK(n);if(a)return Vi&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw Vi&&n&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&n){let a=this.stoppedAt!=null&&n[0].pos>this.stoppedAt?n[0]:this.runRecovery(n,o,i);if(a)return Vi&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(i.length>a)for(i.sort((s,l)=>l.score-s.score);i.length>a;)i.pop();i.some(s=>s.reducePos>r)&&this.recovering--}else if(i.length>1){e:for(let a=0;a<i.length-1;a++){let s=i[a];for(let l=a+1;l<i.length;l++){let c=i[l];if(s.sameState(c)||s.buffer.length>500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)i.splice(l--,1);else{i.splice(a--,1);continue e}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let a=1;a<i.length;a++)i[a].pos<this.minStackPos&&(this.minStackPos=i[a].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,r,i){let n=e.pos,{parser:o}=this,a=Vi?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(We.contextHash)||0)==u))return e.useNode(f,d),Vi&&console.log(a+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof ft)||f.children.length==0||f.positions[0]>0)break;let p=f.children[0];if(p instanceof ft&&f.positions[0]==0)f=p;else break}}let s=o.stateSlot(e.state,4);if(s>0)return e.reduce(s),Vi&&console.log(a+this.stackID(e)+` (via always-reduce ${o.getName(s&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||!i,O=p?e:e.split(),x=this.tokens.mainToken;if(O.apply(u,f,x?x.start:O.pos,d),Vi&&console.log(a+this.stackID(O)+` (via ${u&65536?`reduce of ${o.getName(u&65535)}`:"shift"} for ${o.getName(f)} @ ${n}${O==e?"":", split"})`),p)return!0;O.pos>n?r.push(O):i.push(O)}return!1}advanceFully(e,r){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return sA(e,r),!0}}runRecovery(e,r,i){let n=null,o=!1;for(let a=0;a<e.length;a++){let s=e[a],l=r[a<<1],c=r[(a<<1)+1],u=Vi?this.stackID(s)+" -> ":"";if(s.deadEnd&&(o||(o=!0,s.restart(),Vi&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,i))))continue;let f=s.split(),d=u;for(let p=0;f.forceReduce()&&p<10&&(Vi&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,i));p++)Vi&&(d=this.stackID(f)+" -> ");for(let p of s.recoverByInsert(l))Vi&&console.log(u+this.stackID(p)+" (via recover-insert)"),this.advanceFully(p,i);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),Vi&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),sA(s,i)):(!n||n.score<s.score)&&(n=s)}return n}stackToTree(e){return e.close(),ft.build({buffer:g3.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 r=(d3||(d3=new WeakMap)).get(e);return r||d3.set(e,r=String.fromCodePoint(this.nextStackID++)),r+e}};function sA(t,e){for(let r=0;r<e.length;r++){let i=e[r];if(i.pos==t.pos&&i.sameState(t)){e[r].score<t.score&&(e[r]=t);return}}e.push(t)}var w3=class{constructor(e,r,i){this.source=e,this.flags=r,this.disabled=i}allows(e){return!this.disabled||this.disabled[e]==0}},p3=t=>t,rs=class{constructor(e){this.start=e.start,this.shift=e.shift||p3,this.reduce=e.reduce||p3,this.reuse=e.reuse||p3,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},ri=class t extends Vo{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let r=e.nodeNames.split(" ");this.minRepeatTerm=r.length;for(let s=0;s<e.repeatNodeCount;s++)r.push("");let i=Object.keys(e.topRules).map(s=>e.topRules[s][1]),n=[];for(let s=0;s<r.length;s++)n.push([]);function o(s,l,c){n[s].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let s of e.nodeProps){let l=s[0];typeof l=="string"&&(l=We[l]);for(let c=1;c<s.length;){let u=s[c++];if(u>=0)o(u,l,s[c++]);else{let f=s[c+-u];for(let d=-u;d>0;d--)o(s[c++],l,f);c++}}}this.nodeSet=new jo(r.map((s,l)=>Kt.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:n[l],top:i.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 a=gh(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;s<this.specializerSpecs.length;s++)this.specialized[s]=this.specializerSpecs[s].term;this.specializers=this.specializerSpecs.map(lA),this.states=gh(e.states,Uint32Array),this.data=gh(e.stateData),this.goto=gh(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(s=>typeof s=="number"?new es(a,s):s),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,r,i){let n=new x3(this,e,r,i);for(let o of this.wrappers)n=o(n,e,r,i);return n}getGoto(e,r,i=!1){let n=this.goto;if(r>=n[0])return-1;for(let o=n[r+1];;){let a=n[o++],s=a&1,l=n[o++];if(s&&i)return l;for(let c=o+(a>>1);o<c;o++)if(n[o]==e)return l;if(s)return-1}}hasAction(e,r){let i=this.data;for(let n=0;n<2;n++)for(let o=this.stateSlot(e,n?2:1),a;;o+=3){if((a=i[o])==65535)if(i[o+1]==1)a=i[o=ta(i,o+2)];else{if(i[o+1]==2)return ta(i,o+2);break}if(a==r||a==0)return ta(i,o+1)}return 0}stateSlot(e,r){return this.states[e*6+r]}stateFlag(e,r){return(this.stateSlot(e,0)&r)>0}validAction(e,r){return!!this.allActions(e,i=>i==r?!0:null)}allActions(e,r){let i=this.stateSlot(e,4),n=i?r(i):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=ta(this.data,o+2);else break;n=r(ta(this.data,o+1))}return n}nextStates(e){let r=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=ta(this.data,i+2);else break;if(!(this.data[i+2]&1)){let n=this.data[i+1];r.some((o,a)=>a&1&&o==n)||r.push(this.data[i],n)}}return r}configure(e){let r=Object.assign(Object.create(t.prototype),this);if(e.props&&(r.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);r.top=i}return e.tokenizers&&(r.tokenizers=this.tokenizers.map(i=>{let n=e.tokenizers.find(o=>o.from==i);return n?n.to:i})),e.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((i,n)=>{let o=e.specializers.find(s=>s.from==i.external);if(!o)return i;let a=Object.assign(Object.assign({},i),{external:o.to});return r.specializers[n]=lA(a),a})),e.contextTracker&&(r.context=e.contextTracker),e.dialect&&(r.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(r.strict=e.strict),e.wrap&&(r.wrappers=r.wrappers.concat(e.wrap)),e.bufferLength!=null&&(r.bufferLength=e.bufferLength),r}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 r=this.dynamicPrecedences;return r==null?0:r[e]||0}parseDialect(e){let r=Object.keys(this.dialects),i=r.map(()=>!1);if(e)for(let o of e.split(" ")){let a=r.indexOf(o);a>=0&&(i[a]=!0)}let n=null;for(let o=0;o<r.length;o++)if(!i[o])for(let a=this.dialects[r[o]],s;(s=this.data[a++])!=65535;)(n||(n=new Uint8Array(this.maxTerm+1)))[s]=1;return new w3(e,i,n)}static deserialize(e){return new t(e)}};function ta(t,e){return t[e]|t[e+1]<<16}function UK(t){let e=null;for(let r of t){let i=r.p.stoppedAt;(r.pos==r.p.stream.end||i!=null&&r.pos>i)&&r.p.parser.stateFlag(r.state,2)&&(!e||e.score<r.score)&&(e=r)}return e}function lA(t){if(t.external){let e=t.extend?1:0;return(r,i)=>t.external(r,i)<<1|e}return t.get}var qK=54,BK=1,jK=55,WK=2,VK=56,FK=3,uA=4,ZK=5,iO=6,bA=7,yA=8,vA=9,xA=10,YK=11,HK=12,GK=13,k3=57,KK=14,fA=58,wA=20,JK=22,kA=23,eJ=24,T3=26,SA=27,tJ=28,rJ=31,iJ=34,nJ=36,oJ=37,aJ=0,sJ=1,lJ={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},cJ={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},hA={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 uJ(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function TA(t){return t==9||t==10||t==13||t==32}var dA=null,pA=null,mA=0;function E3(t,e){let r=t.pos+e;if(mA==r&&pA==t)return dA;let i=t.peek(e);for(;TA(i);)i=t.peek(++e);let n="";for(;uJ(i);)n+=String.fromCharCode(i),i=t.peek(++e);return pA=t,mA=r,dA=n?n.toLowerCase():i==fJ||i==hJ?void 0:null}var EA=60,nO=62,C3=47,fJ=63,hJ=33,dJ=45;function OA(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let r=0;r<t.length;r++)this.hash+=(this.hash<<4)+t.charCodeAt(r)+(t.charCodeAt(r)<<8)}var pJ=[iO,xA,bA,yA,vA],mJ=new rs({start:null,shift(t,e,r,i){return pJ.indexOf(e)>-1?new OA(E3(i,1)||"",t):t},reduce(t,e){return e==wA&&t?t.parent:t},reuse(t,e,r,i){let n=e.type.id;return n==iO||n==nJ?new OA(E3(i,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),OJ=new kt((t,e)=>{if(t.next!=EA){t.next<0&&e.context&&t.acceptToken(k3);return}t.advance();let r=t.next==C3;r&&t.advance();let i=E3(t,0);if(i===void 0)return;if(!i)return t.acceptToken(r?KK:iO);let n=e.context?e.context.name:null;if(r){if(i==n)return t.acceptToken(YK);if(n&&cJ[n])return t.acceptToken(k3,-2);if(e.dialectEnabled(aJ))return t.acceptToken(HK);for(let o=e.context;o;o=o.parent)if(o.name==i)return;t.acceptToken(GK)}else{if(i=="script")return t.acceptToken(bA);if(i=="style")return t.acceptToken(yA);if(i=="textarea")return t.acceptToken(vA);if(lJ.hasOwnProperty(i))return t.acceptToken(xA);n&&hA[n]&&hA[n][i]?t.acceptToken(k3,-1):t.acceptToken(iO)}},{contextual:!0}),gJ=new kt(t=>{for(let e=0,r=0;;r++){if(t.next<0){r&&t.acceptToken(fA);break}if(t.next==dJ)e++;else if(t.next==nO&&e>=2){r>=3&&t.acceptToken(fA,-2);break}else e=0;t.advance()}});function bJ(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}var yJ=new kt((t,e)=>{if(t.next==C3&&t.peek(1)==nO){let r=e.dialectEnabled(sJ)||bJ(e.context);t.acceptToken(r?ZK:uA,2)}else t.next==nO&&t.acceptToken(uA,1)});function P3(t,e,r){let i=2+t.length;return new kt(n=>{for(let o=0,a=0,s=0;;s++){if(n.next<0){s&&n.acceptToken(e);break}if(o==0&&n.next==EA||o==1&&n.next==C3||o>=2&&o<i&&n.next==t.charCodeAt(o-2))o++,a++;else if((o==2||o==i)&&TA(n.next))a++;else if(o==i&&n.next==nO){s>a?n.acceptToken(e,-a):n.acceptToken(r,-(a-2));break}else if((n.next==10||n.next==13)&&s){n.acceptToken(e,1);break}else o=a=0;n.advance()}})}var vJ=P3("script",qK,BK),xJ=P3("style",jK,WK),wJ=P3("textarea",VK,FK),kJ=xr({"Text RawText":A.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":A.angleBracket,TagName:A.tagName,"MismatchedCloseTag/TagName":[A.tagName,A.invalid],AttributeName:A.attributeName,"AttributeValue UnquotedAttributeValue":A.attributeValue,Is:A.definit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Tag 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:mJ,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:[kJ],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!_;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=o?o.type.id==T3?e.read(o.from+1,o.to-1):e.read(o.from,o.to):"")}return r}function gA(t,e){let r=t.getChild(JK);return r?e.read(r.from,r.to):" "}function S3(t,e,r){let i;for(let n of r)if(!n.attrs||n.attrs(i||(i=PA(t.node.parent.firstChild,e))))return{parser:n.parser};return null}function _3(t=[],e=[]){let r=[],i=[],n=[],o=[];for(let s of t)(s.tag=="script"?r:s.tag=="style"?i:s.tag=="textarea"?n:o).push(s);let a=e.length?Object.create(null):null;for(let s of e)(a[s.name]||(a[s.name]=[])).push(s);return Np((s,l)=>{let c=s.type.id;if(c==tJ)return S3(s,l,r);if(c==rJ)return S3(s,l,i);if(c==iJ)return S3(s,l,n);if(c==wA&&o.length){let u=s.node,f=u.firstChild,d=f&&gA(f,l),p;if(d){for(let O of o)if(O.tag==d&&(!O.attrs||O.attrs(p||(p=PA(u,l))))){let x=u.lastChild,k=x.type.id==oJ?x.from:u.to;if(k>f.to)return{parser:O.parser,overlay:[{from:f.to,to:k}]}}}}if(a&&c==kA){let u=s.node,f;if(f=u.firstChild){let d=a[l.read(f.from,f.to)];if(d)for(let p of d){if(p.tagName&&p.tagName!=gA(u.parent,l))continue;let O=u.lastChild;if(O.type.id==T3){let x=O.from+1,k=O.lastChild,w=O.to-(k&&k.isError?0:1);if(w>x)return{parser:p.parser,overlay:[{from:x,to:w}]}}else if(O.type.id==SA)return{parser:p.parser,overlay:[{from:O.from,to:O.to}]}}}}return null})}var SJ=99,_A=1,TJ=100,EJ=101,AA=2,QA=[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],CJ=58,PJ=40,$A=95,_J=91,oO=45,AJ=46,QJ=35,$J=37,XJ=38,RJ=92,IJ=10;function bh(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function LJ(t){return t>=48&&t<=57}var MJ=new kt((t,e)=>{for(let r=!1,i=0,n=0;;n++){let{next:o}=t;if(bh(o)||o==oO||o==$A||r&&LJ(o))!r&&(o!=oO||n>0)&&(r=!0),i===n&&o==oO&&i++,t.advance();else if(o==RJ&&t.peek(1)!=IJ)t.advance(),t.next>-1&&t.advance(),r=!0;else{r&&t.acceptToken(o==PJ?TJ:i==2&&e.canShift(AA)?AA:EJ);break}}}),zJ=new kt(t=>{if(QA.includes(t.peek(-1))){let{next:e}=t;(bh(e)||e==$A||e==QJ||e==AJ||e==_J||e==CJ&&bh(t.peek(1))||e==oO||e==XJ)&&t.acceptToken(SJ)}}),DJ=new kt(t=>{if(!QA.includes(t.peek(-1))){let{next:e}=t;if(e==$J&&(t.advance(),t.acceptToken(_A)),bh(e)){do t.advance();while(bh(t.next));t.acceptToken(_A)}}}),NJ=xr({"AtKeyword import charset namespace keyframes media supports":A.definitionKeyword,"from to selector":A.keyword,NamespaceName:A.namespace,KeyframeName:A.labelName,KeyframeRangeName:A.operatorKeyword,TagName:A.tagName,ClassName:A.className,PseudoClassName:A.constant(A.className),IdName:A.labelName,"FeatureName PropertyName":A.propertyName,AttributeName:A.attributeName,NumberLiteral:A.number,KeywordQuery:A.keyword,UnaryQueryOp:A.operatorKeyword,"CallTag ValueName":A.atom,VariableName:A.variableName,Callee:A.operatorKeyword,Unit:A.unit,"UniversalSelector NestingSelector":A.definitionOperator,MatchOp:A.compareOperator,"ChildOp SiblingOp, LogicOp":A.logicOperator,BinOp:A.arithmeticOperator,Important:A.modifier,Comment:A.blockComment,ColorLiteral:A.color,"ParenthesizedContent StringLiteral":A.string,":":A.punctuation,"PseudoOp #":A.derefOperator,"; ,":A.separator,"( )":A.paren,"[ ]":A.squareBracket,"{ }":A.brace}),UJ={__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},qJ={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},BJ={__proto__:null,not:132,only:132},XA=ri.deserialize({version:14,states:":^QY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#x!zq![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SU$d#m$f$yR$x$cq!XZ]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#x!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ${$eR%X$zSgPwQ!phQ#r!nR$l#sZfPhw!n#sa!b[`a!V!^!`#d#eR#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:[NJ],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![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#Z~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`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%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^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:[zJ,DJ,MJ,1,2,3,4,new ts("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>UJ[t]||-1},{term:58,get:t=>qJ[t]||-1},{term:101,get:t=>BJ[t]||-1}],tokenPrec:1200});var A3=null;function Q3(){if(!A3&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],r=new Set;for(let i in t)i!="cssText"&&i!="cssFloat"&&typeof t[i]=="string"&&(/[A-Z]/.test(i)&&(i=i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())),r.has(i)||(e.push(i),r.add(i)));A3=e.sort().map(i=>({type:"property",label:i}))}return A3||[]}var RA=["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})),IA=["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}))),jJ=["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})),is=/^(\w[\w-]*|-\w[\w-]*|)$/,WJ=/^-(-[\w-]*)?$/;function VJ(t,e){var r;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let i=(r=t.parent)===null||r===void 0?void 0:r.firstChild;return(i==null?void 0:i.name)!="Callee"?!1:e.sliceString(i.from,i.to)=="var"}var LA=new cc,FJ=["Declaration"];function ZJ(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function MA(t,e,r){if(e.to-e.from>4096){let i=LA.get(e);if(i)return i;let n=[],o=new Set,a=e.cursor(Pt.IncludeAnonymous);if(a.firstChild())do for(let s of MA(t,a.node,r))o.has(s.label)||(o.add(s.label),n.push(s));while(a.nextSibling());return LA.set(e,n),n}else{let i=[],n=new Set;return e.cursor().iterate(o=>{var a;if(r(o)&&o.matchContext(FJ)&&((a=o.node.nextSibling)===null||a===void 0?void 0:a.name)==":"){let s=t.sliceString(o.from,o.to);n.has(s)||(n.add(s),i.push({label:s,type:"variable"}))}}),i}}var YJ=t=>e=>{let{state:r,pos:i}=e,n=ct(r).resolveInner(i,-1),o=n.type.isError&&n.from==n.to-1&&r.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:Q3(),validFor:is};if(n.name=="ValueName")return{from:n.from,options:IA,validFor:is};if(n.name=="PseudoClassName")return{from:n.from,options:RA,validFor:is};if(t(n)||(e.explicit||o)&&VJ(n,r.doc))return{from:t(n)||o?n.from:i,options:MA(r.doc,ZJ(n),t),validFor:WJ};if(n.name=="TagName"){for(let{parent:l}=n;l;l=l.parent)if(l.name=="Block")return{from:n.from,options:Q3(),validFor:is};return{from:n.from,options:jJ,validFor:is}}if(!e.explicit)return null;let a=n.resolve(i),s=a.childBefore(i);return s&&s.name==":"&&a.name=="PseudoClassSelector"?{from:i,options:RA,validFor:is}:s&&s.name==":"&&a.name=="Declaration"||a.name=="ArgList"?{from:i,options:IA,validFor:is}:a.name=="Block"||a.name=="Styles"?{from:i,options:Q3(),validFor:is}:null},HJ=YJ(t=>t.name=="VariableName"),yh=ei.define({name:"css",parser:XA.configure({props:[Mr.add({Declaration:ti()}),Cr.add({"Block KeyframeList":Ka})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function aO(){return new or(yh,yh.data.of({autocomplete:HJ}))}var GJ=309,zA=1,KJ=2,JJ=3,eee=310,tee=312,ree=313,iee=4,nee=5,oee=0,X3=[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],DA=125,aee=59,R3=47,see=42,lee=43,cee=45,uee=60,fee=44,hee=new rs({start:!1,shift(t,e){return e==iee||e==nee||e==tee?t:e==ree},strict:!1}),dee=new kt((t,e)=>{let{next:r}=t;(r==DA||r==-1||e.context)&&t.acceptToken(eee)},{contextual:!0,fallback:!0}),pee=new kt((t,e)=>{let{next:r}=t,i;X3.indexOf(r)>-1||r==R3&&((i=t.peek(1))==R3||i==see)||r!=DA&&r!=aee&&r!=-1&&!e.context&&t.acceptToken(GJ)},{contextual:!0}),mee=new kt((t,e)=>{let{next:r}=t;if((r==lee||r==cee)&&(t.advance(),r==t.next)){t.advance();let i=!e.context&&e.canShift(zA);t.acceptToken(i?zA:KJ)}},{contextual:!0});function $3(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}var Oee=new kt((t,e)=>{if(t.next!=uee||!e.dialectEnabled(oee)||(t.advance(),t.next==R3))return;let r=0;for(;X3.indexOf(t.next)>-1;)t.advance(),r++;if($3(t.next,!0)){for(t.advance(),r++;$3(t.next,!1);)t.advance(),r++;for(;X3.indexOf(t.next)>-1;)t.advance(),r++;if(t.next==fee)return;for(let i=0;;i++){if(i==7){if(!$3(t.next,!0))return;break}if(t.next!="extends".charCodeAt(i))break;t.advance(),r++}}t.acceptToken(JJ,-r)}),gee=xr({"get set async static":A.modifier,"for while do if else switch try catch finally return throw break continue default case":A.controlKeyword,"in of await yield void typeof delete instanceof":A.operatorKeyword,"let var const using function class extends":A.definitionKeyword,"import export from":A.moduleKeyword,"with debugger as new":A.keyword,TemplateString:A.special(A.string),super:A.atom,BooleanLiteral:A.bool,this:A.self,null:A.null,Star:A.modifier,VariableName:A.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":A.function(A.variableName),VariableDefinition:A.definition(A.variableName),Label:A.labelName,PropertyName:A.propertyName,PrivatePropertyName:A.special(A.propertyName),"CallExpression/MemberExpression/PropertyName":A.function(A.propertyName),"FunctionDeclaration/VariableDefinition":A.function(A.definition(A.variableName)),"ClassDeclaration/VariableDefinition":A.definition(A.className),PropertyDefinition:A.definition(A.propertyName),PrivatePropertyDefinition:A.definition(A.special(A.propertyName)),UpdateOp:A.updateOperator,"LineComment Hashbang":A.lineComment,BlockComment:A.blockComment,Number:A.number,String:A.string,Escape:A.escape,ArithOp:A.arithmeticOperator,LogicOp:A.logicOperator,BitOp:A.bitwiseOperator,CompareOp:A.compareOperator,RegExp:A.regexp,Equals:A.definitionOperator,Arrow:A.function(A.punctuation),": Spread":A.punctuation,"( )":A.paren,"[ ]":A.squareBracket,"{ }":A.brace,"InterpolationStart InterpolationEnd":A.special(A.brace),".":A.derefOperator,", ;":A.separator,"@":A.meta,TypeName:A.typeName,TypeDefinition:A.definition(A.typeName),"type enum interface implements namespace module declare":A.definitionKeyword,"abstract global Privacy readonly override":A.modifier,"is keyof unique infer":A.operatorKeyword,JSXAttributeValue:A.attributeValue,JSXText:A.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":A.angleBracket,"JSXIdentifier JSXNameSpacedName":A.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":A.attributeName,"JSXBuiltin/JSXIdentifier":A.standard(A.tagName)}),bee={__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},yee={__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},vee={__proto__:null,"<":143},NA=ri.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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portDeclaration 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:hee,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:[gee],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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OEr",tokenizers:[pee,mee,Oee,2,3,4,5,6,7,8,9,10,11,12,13,dee,new ts("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOt~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(Z~~",141,332),new ts("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=>bee[t]||-1},{term:334,get:t=>yee[t]||-1},{term:70,get:t=>vee[t]||-1}],tokenPrec:14626});var jA=[Dr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Dr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Dr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Dr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Dr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Dr(`try {
\${}
} catch (\${error}) {
\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),Dr("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),Dr(`if (\${}) {
\${}
} else {
\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),Dr(`class \${name} {
constructor(\${params}) {
\${}
}
}`,{label:"class",detail:"definition",type:"keyword"}),Dr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Dr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],xee=jA.concat([Dr("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Dr("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Dr("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),UA=new cc,WA=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function vh(t){return(e,r)=>{let i=e.node.getChild("VariableDefinition");return i&&r(i,t),!0}}var wee=["FunctionDeclaration"],kee={FunctionDeclaration:vh("function"),ClassDeclaration:vh("class"),ClassExpression:()=>!0,EnumDeclaration:vh("constant"),TypeAliasDeclaration:vh("type"),NamespaceDeclaration:vh("namespace"),VariableDefinition(t,e){t.matchContext(wee)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function VA(t,e){let r=UA.get(e);if(r)return r;let i=[],n=!0;function o(a,s){let l=t.sliceString(a.from,a.to);i.push({label:l,type:s})}return e.cursor(Pt.IncludeAnonymous).iterate(a=>{if(n)n=!1;else if(a.name){let s=kee[a.name];if(s&&s(a,o)||WA.has(a.name))return!1}else if(a.to-a.from>8192){for(let s of VA(t,a.node))i.push(s);return!1}}),UA.set(e,i),i}var qA=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,FA=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function See(t){let e=ct(t.state).resolveInner(t.pos,-1);if(FA.indexOf(e.name)>-1)return null;let r=e.name=="VariableName"||e.to-e.from<20&&qA.test(t.state.sliceDoc(e.from,e.to));if(!r&&!t.explicit)return null;let i=[];for(let n=e;n;n=n.parent)WA.has(n.name)&&(i=i.concat(VA(t.state.doc,n)));return{options:i,from:r?e.from:t.pos,validFor:qA}}var An=ei.define({name:"javascript",parser:NA.configure({props:[Mr.add({IfStatement:ti({except:/^\s*({|else\b)/}),TryStatement:ti({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Nm,SwitchBody:t=>{let e=t.textAfter,r=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(r?0:i?1:2)*t.unit},Block:uo({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":ti({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}}),Cr.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Ka,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),ZA={test:t=>/^JSX/.test(t.name),facet:Cc({commentTokens:{block:{open:"{/*",close:"*/}"}}})},I3=An.configure({dialect:"ts"},"typescript"),L3=An.configure({dialect:"jsx",props:[Dm.add(t=>t.isTop?[ZA]:void 0)]}),M3=An.configure({dialect:"jsx ts",props:[Dm.add(t=>t.isTop?[ZA]:void 0)]},"typescript"),YA=t=>({label:t,type:"keyword"}),HA="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(YA),Tee=HA.concat(["declare","implements","private","protected","public"].map(YA));function sO(t={}){let e=t.jsx?t.typescript?M3:L3:t.typescript?I3:An,r=t.typescript?xee.concat(Tee):jA.concat(HA);return new or(e,[An.data.of({autocomplete:Fm(FA,lh(r))}),An.data.of({autocomplete:See}),t.jsx?Pee:[]])}function Eee(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 BA(t,e,r=t.length){for(let i=e==null?void 0:e.firstChild;i;i=i.nextSibling)if(i.name=="JSXIdentifier"||i.name=="JSXBuiltin"||i.name=="JSXNamespacedName"||i.name=="JSXMemberExpression")return t.sliceString(i.from,Math.min(i.to,r));return""}var Cee=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Pee=we.inputHandler.of((t,e,r,i,n)=>{if((Cee?t.composing:t.compositionStarted)||t.state.readOnly||e!=r||i!=">"&&i!="/"||!An.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:a}=o,s=a.changeByRange(l=>{var c;let{head:u}=l,f=ct(a).resolveInner(u-1,-1),d;if(f.name=="JSXStartTag"&&(f=f.parent),!(a.doc.sliceString(u-1,u)!=i||f.name=="JSXAttributeValue"&&f.to>u)){if(i==">"&&f.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(i=="/"&&f.name=="JSXStartCloseTag"){let p=f.parent,O=p.parent;if(O&&p.from==u-2&&((d=BA(a.doc,O.firstChild,u))||((c=O.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let x=`${d}>`;return{range:ce.cursor(u+x.length,-1),changes:{from:u,insert:x}}}}else if(i==">"){let p=Eee(f);if(p&&!/^\/?>|^<\//.test(a.doc.sliceString(u,u+2))&&(d=BA(a.doc,p,u)))return{range:l,changes:{from:u,insert:`</${d}>`}}}}return{range:l}});return s.changes.empty?!1:(t.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var xh=["_blank","_self","_top","_parent"],z3=["ascii","utf-8","utf-16","latin1","latin1"],D3=["get","post","put","delete"],N3=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Fi=["true","false"],Ue={},_ee={a:{attrs:{href:null,ping:null,type:null,media:null,target:xh,hreflang:null}},abbr:Ue,address:Ue,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Ue,aside:Ue,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Ue,base:{attrs:{href:null,target:xh}},bdi:Ue,bdo:Ue,blockquote:{attrs:{cite:null}},body:Ue,br:Ue,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:N3,formmethod:D3,formnovalidate:["novalidate"],formtarget:xh,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Ue,center:Ue,cite:Ue,code:Ue,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:Ue,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Ue,div:Ue,dl:Ue,dt:Ue,em:Ue,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Ue,figure:Ue,footer:Ue,form:{attrs:{action:null,name:null,"accept-charset":z3,autocomplete:["on","off"],enctype:N3,method:D3,novalidate:["novalidate"],target:xh}},h1:Ue,h2:Ue,h3:Ue,h4:Ue,h5:Ue,h6:Ue,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Ue,hgroup:Ue,hr:Ue,html:{attrs:{manifest:null}},i:Ue,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:N3,formmethod:D3,formnovalidate:["novalidate"],formtarget:xh,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:Ue,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Ue,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:Ue,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:z3,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:Ue,noscript:Ue,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:Ue,param:{attrs:{name:null,value:null}},pre:Ue,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Ue,rt:Ue,ruby:Ue,samp:Ue,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:z3}},section:Ue,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Ue,source:{attrs:{src:null,type:null,media:null}},span:Ue,strong:Ue,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Ue,summary:Ue,sup:Ue,table:Ue,tbody:Ue,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Ue,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:Ue,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Ue,time:{attrs:{datetime:null}},title:Ue,tr:Ue,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Ue,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:Ue},eQ={accesskey:null,class:null,contenteditable:Fi,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:Fi,autocorrect:Fi,autocapitalize:Fi,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":Fi,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Fi,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Fi,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Fi,"aria-hidden":Fi,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Fi,"aria-multiselectable":Fi,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Fi,"aria-relevant":null,"aria-required":Fi,"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},tQ="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 tQ)eQ[t]=null;var ol=class{constructor(e,r){this.tags=Object.assign(Object.assign({},_ee),e),this.globalAttrs=Object.assign(Object.assign({},eQ),r),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};ol.default=new ol;function Xc(t,e,r=t.length){if(!e)return"";let i=e.firstChild,n=i&&i.getChild("TagName");return n?t.sliceString(n.from,Math.min(n.to,r)):""}function Rc(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function rQ(t,e,r){let i=r.tags[Xc(t,Rc(e))];return(i==null?void 0:i.children)||r.allTags}function U3(t,e){let r=[];for(let i=Rc(e);i&&!i.type.isTop;i=Rc(i.parent)){let n=Xc(t,i);if(n&&i.lastChild.name=="CloseTag")break;n&&r.indexOf(n)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&r.push(n)}return r}var iQ=/^[:\-\.\w\u00b7-\uffff]*$/;function GA(t,e,r,i,n){let o=/\s*>/.test(t.sliceDoc(n,n+5))?"":">",a=Rc(r,!0);return{from:i,to:n,options:rQ(t.doc,a,e).map(s=>({label:s,type:"type"})).concat(U3(t.doc,r).map((s,l)=>({label:"/"+s,apply:"/"+s+o,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function KA(t,e,r,i){let n=/\s*>/.test(t.sliceDoc(i,i+5))?"":">";return{from:r,to:i,options:U3(t.doc,e).map((o,a)=>({label:o,apply:o+n,type:"type",boost:99-a})),validFor:iQ}}function Aee(t,e,r,i){let n=[],o=0;for(let a of rQ(t.doc,r,e))n.push({label:"<"+a,type:"type"});for(let a of U3(t.doc,r))n.push({label:"</"+a+">",type:"type",boost:99-o++});return{from:i,to:i,options:n,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Qee(t,e,r,i,n){let o=Rc(r),a=o?e.tags[Xc(t.doc,o)]:null,s=a&&a.attrs?Object.keys(a.attrs):[],l=a&&a.globalAttrs===!1?s:s.length?s.concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:n,options:l.map(c=>({label:c,type:"property"})),validFor:iQ}}function $ee(t,e,r,i,n){var o;let a=(o=r.parent)===null||o===void 0?void 0:o.getChild("AttributeName"),s=[],l;if(a){let c=t.sliceDoc(a.from,a.to),u=e.globalAttrs[c];if(!u){let f=Rc(r),d=f?e.tags[Xc(t.doc,f)]:null;u=(d==null?void 0:d.attrs)&&d.attrs[c]}if(u){let f=t.sliceDoc(i,n).toLowerCase(),d='"',p='"';/^['"]/.test(f)?(l=f[0]=='"'?/^[^"]*$/:/^[^']*$/,d="",p=t.sliceDoc(n,n+1)==f[0]?"":f[0],f=f.slice(1),i++):l=/^[^\s<>='"]*$/;for(let O of u)s.push({label:O,apply:d+O+p,type:"constant"})}}return{from:i,to:n,options:s,validFor:l}}function nQ(t,e){let{state:r,pos:i}=e,n=ct(r).resolveInner(i,-1),o=n.resolve(i);for(let a=i,s;o==n&&(s=n.childBefore(a));){let l=s.lastChild;if(!l||!l.type.isError||l.from<l.to)break;o=n=s,a=l.from}return n.name=="TagName"?n.parent&&/CloseTag$/.test(n.parent.name)?KA(r,n,n.from,i):GA(r,t,n,n.from,i):n.name=="StartTag"?GA(r,t,n,i,i):n.name=="StartCloseTag"||n.name=="IncompleteCloseTag"?KA(r,n,i,i):n.name=="OpenTag"||n.name=="SelfClosingTag"||n.name=="AttributeName"?Qee(r,t,n,n.name=="AttributeName"?n.from:i,i):n.name=="Is"||n.name=="AttributeValue"||n.name=="UnquotedAttributeValue"?$ee(r,t,n,n.name=="Is"?i:n.from,i):e.explicit&&(o.name=="Element"||o.name=="Text"||o.name=="Document")?Aee(r,t,n,i):null}function oQ(t){return nQ(ol.default,t)}function Xee(t){let{extraTags:e,extraGlobalAttributes:r}=t,i=r||e?new ol(e,r):ol.default;return n=>nQ(i,n)}var Ree=An.parser.configure({top:"SingleExpression"}),aQ=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:I3.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:L3.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:M3.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:Ree},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:An.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:yh.parser}],sQ=[{name:"style",parser:yh.parser.configure({top:"Styles"})}].concat(tQ.map(t=>({name:t,parser:An.parser}))),lQ=ei.define({name:"html",parser:CA.configure({props:[Mr.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,r;for(let i=t.node;;){let n=i.lastChild;if(!n||n.name!="Element"||n.to!=i.to)break;e=i=n}return e&&!((r=e.lastChild)&&(r.name=="CloseTag"||r.name=="SelfClosingTag"))?t.lineIndent(e.from)+t.unit:null}}),Cr.add({Element(t){let e=t.firstChild,r=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:r.name=="CloseTag"?r.from:t.to}}}),nh.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),lO=lQ.configure({wrap:_3(aQ,sQ)});function cO(t={}){let e="",r;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(r=_3((t.nestedLanguages||[]).concat(aQ),(t.nestedAttributes||[]).concat(sQ)));let i=r?lQ.configure({wrap:r,dialect:e}):e?lO.configure({dialect:e}):lO;return new or(i,[lO.data.of({autocomplete:Xee(t)}),t.autoCloseTags!==!1?Iee:[],sO().support,aO().support])}var JA=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Iee=we.inputHandler.of((t,e,r,i,n)=>{if(t.composing||t.state.readOnly||e!=r||i!=">"&&i!="/"||!lO.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:a}=o,s=a.changeByRange(l=>{var c,u,f;let d=a.doc.sliceString(l.from-1,l.to)==i,{head:p}=l,O=ct(a).resolveInner(p-1,-1),x;if((O.name=="TagName"||O.name=="StartTag")&&(O=O.parent),d&&i==">"&&O.name=="OpenTag"){if(((u=(c=O.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(x=Xc(a.doc,O.parent,p))&&!JA.has(x)){let k=p+(a.doc.sliceString(p,p+1)===">"?1:0),w=`</${x}>`;return{range:l,changes:{from:p,to:k,insert:w}}}}else if(d&&i=="/"&&O.name=="IncompleteCloseTag"){let k=O.parent;if(O.from==p-2&&((f=k.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(x=Xc(a.doc,k,p))&&!JA.has(x)){let w=p+(a.doc.sliceString(p,p+1)===">"?1:0),C=`${x}>`;return{range:ce.cursor(p+C.length,-1),changes:{from:p,to:w,insert:C}}}}return{range:l}});return s.changes.empty?!1:(t.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var fQ=Cc({commentTokens:{block:{open:"<!--",close:"-->"}}}),hQ=new We,dQ=H_.configure({props:[Cr.add(t=>!t.is("Block")||t.is("Document")||j3(t)!=null?void 0:(e,r)=>({from:r.doc.lineAt(e.from).to,to:e.to})),hQ.add(j3),Mr.add({Document:()=>null}),Go.add({Document:fQ})]});function j3(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function Lee(t,e){let r=t;for(;;){let i=r.nextSibling,n;if(!i||(n=j3(i.type))!=null&&n<=e)break;r=i}return r.to}var Mee=Av.of((t,e,r)=>{for(let i=ct(t).resolveInner(r,-1);i&&!(i.from<e);i=i.parent){let n=i.type.prop(hQ);if(n==null)continue;let o=Lee(i,n);if(o>r)return{from:r,to:o}}return null});function V3(t){return new Lr(fQ,t,[Mee],"markdown")}var zee=V3(dQ),Dee=dQ.configure([J_,rA,tA,iA,{props:[Cr.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),uO=V3(Dee);function Nee(t,e){return r=>{if(r&&t){let i=null;if(r=/\S*/.exec(r)[0],typeof t=="function"?i=t(r):i=mr.matchLanguageName(t,r,!0),i instanceof mr)return i.support?i.support.language.parser:Js.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}var Ic=class{constructor(e,r,i,n,o,a,s){this.node=e,this.from=r,this.to=i,this.spaceBefore=n,this.spaceAfter=o,this.type=a,this.item=s}blank(e,r=!0){let i=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;i.length<e;)i+=" ";return i}else{for(let n=this.to-this.from-i.length-this.spaceAfter.length;n>0;n--)i+=" ";return i+(r?this.spaceAfter:"")}}marker(e,r){let i=this.node.name=="OrderedList"?String(+mQ(this.item,e)[2]+r):"";return this.spaceBefore+i+this.type+this.spaceAfter}};function pQ(t,e){let r=[];for(let n=t;n&&n.name!="Document";n=n.parent)(n.name=="ListItem"||n.name=="Blockquote"||n.name=="FencedCode")&&r.push(n);let i=[];for(let n=r.length-1;n>=0;n--){let o=r[n],a,s=e.lineAt(o.from),l=o.from-s.from;if(o.name=="FencedCode")i.push(new Ic(o,l,l,"","","",null));else if(o.name=="Blockquote"&&(a=/^ *>( ?)/.exec(s.text.slice(l))))i.push(new Ic(o,l,l+a[0].length,"",a[1],">",null));else if(o.name=="ListItem"&&o.parent.name=="OrderedList"&&(a=/^( *)\d+([.)])( *)/.exec(s.text.slice(l)))){let c=a[3],u=a[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),i.push(new Ic(o.parent,l,l+u,a[1],c,a[2],o))}else if(o.name=="ListItem"&&o.parent.name=="BulletList"&&(a=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(s.text.slice(l)))){let c=a[4],u=a[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let f=a[2];a[3]&&(f+=a[3].replace(/[xX]/," ")),i.push(new Ic(o.parent,l,l+u,a[1],c,f,o))}}return i}function mQ(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function q3(t,e,r,i=0){for(let n=-1,o=t;;){if(o.name=="ListItem"){let s=mQ(o,e),l=+s[2];if(n>=0){if(l!=n+1)return;r.push({from:o.from+s[1].length,to:o.from+s[0].length,insert:String(n+2+i)})}n=l}let a=o.nextSibling;if(!a)break;o=a}}function F3(t,e){let r=/^[ \t]*/.exec(t)[0].length;if(!r||e.facet(_n)!=" ")return t;let i=di(t,4,r),n="";for(let o=i;o>0;)o>=4?(n+=" ",o-=4):(n+=" ",o--);return n+t.slice(r)}var Uee=({state:t,dispatch:e})=>{let r=ct(t),{doc:i}=t,n=null,o=t.changeByRange(a=>{if(!a.empty||!uO.isActiveAt(t,a.from))return n={range:a};let s=a.from,l=i.lineAt(s),c=pQ(r.resolveInner(s,-1),i);for(;c.length&&c[c.length-1].from>s-l.from;)c.pop();if(!c.length)return n={range:a};let u=c[c.length-1];if(u.to-u.spaceAfter.length>s-l.from)return n={range:a};let f=s>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&f){let k=u.node.firstChild,w=u.node.getChild("ListItem","ListItem");if(k.to>=s||w&&w.to<s||l.from>0&&!/[^\s>]/.test(i.lineAt(l.from-1).text)){let C=c.length>1?c[c.length-2]:null,Q,L="";C&&C.item?(Q=l.from+C.from,L=C.marker(i,1)):Q=l.from+(C?C.to:0);let N=[{from:Q,to:s,insert:L}];return u.node.name=="OrderedList"&&q3(u.item,i,N,-2),C&&C.node.name=="OrderedList"&&q3(C.item,i,N),{range:ce.cursor(Q+L.length),changes:N}}else{let C=uQ(c,t,l);return{range:ce.cursor(s+C.length+1),changes:{from:l.from,insert:C+t.lineBreak}}}}if(u.node.name=="Blockquote"&&f&&l.from){let k=i.lineAt(l.from-1),w=/>\s*$/.exec(k.text);if(w&&w.index==u.from){let C=t.changes([{from:k.from+w.index,to:k.to},{from:l.from+u.from,to:l.to}]);return{range:a.map(C),changes:C}}}let d=[];u.node.name=="OrderedList"&&q3(u.item,i,d);let p=u.item&&u.item.from<l.from,O="";if(!p||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=u.to)for(let k=0,w=c.length-1;k<=w;k++)O+=k==w&&!p?c[k].marker(i,1):c[k].blank(k<w?di(l.text,4,c[k+1].from)-O.length:null);let x=s;for(;x>l.from&&/\s/.test(l.text.charAt(x-l.from-1));)x--;return O=F3(O,t),qee(u.node,t.doc)&&(O=uQ(c,t,l)+t.lineBreak+O),d.push({from:x,to:s,insert:t.lineBreak+O}),{range:ce.cursor(x+O.length+1),changes:d}});return n?!1:(e(t.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function cQ(t){return t.name=="QuoteMark"||t.name=="ListMark"}function qee(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let r=t.firstChild,i=t.getChild("ListItem","ListItem");if(!i)return!1;let n=e.lineAt(r.to),o=e.lineAt(i.from),a=/^[\s>]*$/.test(n.text);return n.number+(a?0:1)<o.number}function uQ(t,e,r){let i="";for(let n=0,o=t.length-2;n<=o;n++)i+=t[n].blank(n<o?di(r.text,4,t[n+1].from)-i.length:null,n<o);return F3(i,e)}function Bee(t,e){let r=t.resolveInner(e,-1),i=e;cQ(r)&&(i=r.from,r=r.parent);for(let n;n=r.childBefore(i);)if(cQ(n))i=n.from;else if(n.name=="OrderedList"||n.name=="BulletList")r=n.lastChild,i=r.to;else break;return r}var jee=({state:t,dispatch:e})=>{let r=ct(t),i=null,n=t.changeByRange(o=>{let a=o.from,{doc:s}=t;if(o.empty&&uO.isActiveAt(t,o.from)){let l=s.lineAt(a),c=pQ(Bee(r,a),s);if(c.length){let u=c[c.length-1],f=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(a-l.from>f&&!/\S/.test(l.text.slice(f,a-l.from)))return{range:ce.cursor(l.from+f),changes:{from:l.from+f,to:a}};if(a-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(di(l.text,4,u.to)-di(l.text,4,u.from));return d==l.from&&(p=F3(p,t)),{range:ce.cursor(d+p.length),changes:{from:d,to:l.from+u.to,insert:p}}}if(d<a)return{range:ce.cursor(d),changes:{from:d,to:a}}}}}return i={range:o}});return i?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"delete"})),!0)},Wee=[{key:"Enter",run:Uee},{key:"Backspace",run:jee}],W3=cO({matchClosingTags:!1});function OQ(t={}){let{codeLanguages:e,defaultCodeLanguage:r,addKeymap:i=!0,base:{parser:n}=zee,completeHTMLTags:o=!0}=t;if(!(n instanceof mh))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let a=t.extensions?[t.extensions]:[],s=[W3.support],l;r instanceof or?(s.push(r.support),l=r.language):r&&(l=r);let c=e||l?Nee(e,l):void 0;a.push(G_({codeParser:c,htmlParser:W3.language.parser})),i&&s.push(cr.high(vr.of(Wee)));let u=V3(n.configure(a));return o&&s.push(u.data.of({autocomplete:Vee})),new or(u,s)}function Vee(t){let{state:e,pos:r}=t,i=/<[:\-\.\w\u00b7-\uffff]*$/.exec(e.sliceDoc(r-25,r));if(!i)return null;let n=ct(e).resolveInner(r,-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:r-i[0].length,to:r,options:Fee(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var B3=null;function Fee(){if(B3)return B3;let t=oQ(new _c(Tt.create({extensions:W3}),0,!0));return B3=t?t.options:[]}var Zee=36,gQ=1,Yee=2,wh=3,Z3=4,Hee=5,Gee=6,Kee=7,Jee=8,ete=9,tte=10,rte=11,ite=12,nte=13,ote=14,ate=15,ste=16,lte=17,bQ=18,cte=19,SQ=20,TQ=21,yQ=22,ute=23,fte=24;function H3(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function hte(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function sl(t,e,r){for(let i=!1;;){if(t.next<0)return;if(t.next==e&&!i){t.advance();return}i=r&&!i&&t.next==92,t.advance()}}function dte(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function pte(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),i=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==i&&t.peek(1)==39){t.advance(2);return}t.advance()}}function EQ(t,e){for(;!(t.next!=95&&!H3(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function mte(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),sl(t,e,!1)}else EQ(t)}function vQ(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function xQ(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 wQ(t){for(;!(t.next<0||t.next==10);)t.advance()}function al(t,e){for(let r=0;r<e.length;r++)if(e.charCodeAt(r)==t)return!0;return!1}var Y3=` \r
`;function CQ(t,e,r){let i=Object.create(null);i.true=i.false=Hee,i.null=i.unknown=Gee;for(let n of t.split(" "))n&&(i[n]=SQ);for(let n of e.split(" "))n&&(i[n]=TQ);for(let n of(r||"").split(" "))n&&(i[n]=fte);return i}var ll="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 ",cl="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 ",G3={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',words:CQ(cl,ll)};function Ote(t,e,r,i){let n={};for(let o in G3)n[o]=(t.hasOwnProperty(o)?t:G3)[o];return e&&(n.words=CQ(e,r||"",i)),n}function PQ(t){return new kt(e=>{var r;let{next:i}=e;if(e.advance(),al(i,Y3)){for(;al(e.next,Y3);)e.advance();e.acceptToken(Zee)}else if(i==36&&e.next==36&&t.doubleDollarQuotedStrings)dte(e),e.acceptToken(wh);else if(i==39||i==34&&t.doubleQuotedStrings)sl(e,i,t.backslashEscapes),e.acceptToken(wh);else if(i==35&&t.hashComments||i==47&&e.next==47&&t.slashComments)wQ(e),e.acceptToken(gQ);else if(i==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))wQ(e),e.acceptToken(gQ);else if(i==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(Yee)}else if((i==101||i==69)&&e.next==39)e.advance(),sl(e,39,!0);else if((i==110||i==78)&&e.next==39&&t.charSetCasts)e.advance(),sl(e,39,t.backslashEscapes),e.acceptToken(wh);else if(i==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),sl(e,39,t.backslashEscapes),e.acceptToken(wh);break}if(!H3(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(i==113||i==81)&&e.next==39&&e.peek(1)>0&&!al(e.peek(1),Y3)){let n=e.peek(1);e.advance(2),pte(e,n),e.acceptToken(wh)}else if(i==40)e.acceptToken(Kee);else if(i==41)e.acceptToken(Jee);else if(i==123)e.acceptToken(ete);else if(i==125)e.acceptToken(tte);else if(i==91)e.acceptToken(rte);else if(i==93)e.acceptToken(ite);else if(i==59)e.acceptToken(nte);else if(t.unquotedBitLiterals&&i==48&&e.next==98)e.advance(),vQ(e),e.acceptToken(yQ);else if((i==98||i==66)&&(e.next==39||e.next==34)){let n=e.next;e.advance(),t.treatBitsAsBytes?(sl(e,n,t.backslashEscapes),e.acceptToken(ute)):(vQ(e,n),e.acceptToken(yQ))}else if(i==48&&(e.next==120||e.next==88)||(i==120||i==88)&&e.next==39){let n=e.next==39;for(e.advance();hte(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(Z3)}else if(i==46&&e.next>=48&&e.next<=57)xQ(e,!0),e.acceptToken(Z3);else if(i==46)e.acceptToken(ote);else if(i>=48&&i<=57)xQ(e,!1),e.acceptToken(Z3);else if(al(i,t.operatorChars)){for(;al(e.next,t.operatorChars);)e.advance();e.acceptToken(ate)}else if(al(i,t.specialVar))e.next==i&&e.advance(),mte(e),e.acceptToken(lte);else if(al(i,t.identifierQuotes))sl(e,i,!1),e.acceptToken(cte);else if(i==58||i==44)e.acceptToken(ste);else if(H3(i)){let n=EQ(e,String.fromCharCode(i));e.acceptToken(e.next==46?bQ:(r=t.words[n.toLowerCase()])!==null&&r!==void 0?r:bQ)}})}var _Q=PQ(G3),gte=ri.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,_Q],topRules:{Script:[0,25]},tokenPrec:0});function K3(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function kh(t,e){let r=t.sliceString(e.from,e.to),i=/^([`'"])(.*)\1$/.exec(r);return i?i[2]:r}function fO(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function bte(t,e){if(e.name=="CompositeIdentifier"){let r=[];for(let i=e.firstChild;i;i=i.nextSibling)fO(i)&&r.push(kh(t,i));return r}return[kh(t,e)]}function kQ(t,e){for(let r=[];;){if(!e||e.name!=".")return r;let i=K3(e);if(!fO(i))return r;r.unshift(kh(t,i)),e=K3(i)}}function yte(t,e){let r=ct(t).resolveInner(e,-1),i=xte(t.doc,r);return r.name=="Identifier"||r.name=="QuotedIdentifier"||r.name=="Keyword"?{from:r.from,quoted:r.name=="QuotedIdentifier"?t.doc.sliceString(r.from,r.from+1):null,parents:kQ(t.doc,K3(r)),aliases:i}:r.name=="."?{from:e,quoted:null,parents:kQ(t.doc,r),aliases:i}:{from:e,quoted:null,parents:[],empty:!0,aliases:i}}var vte=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function xte(t,e){let r;for(let n=e;!r;n=n.parent){if(!n)return null;n.name=="Statement"&&(r=n)}let i=null;for(let n=r.firstChild,o=!1,a=null;n;n=n.nextSibling){let s=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,l=null;if(!o)o=s=="from";else if(s=="as"&&a&&fO(n.nextSibling))l=kh(t,n.nextSibling);else{if(s&&vte.has(s))break;a&&fO(n)&&(l=kh(t,n))}l&&(i||(i=Object.create(null)),i[l]=bte(t,a)),a=/Identifier$/.test(n.name)?n:null}return i}function wte(t,e){return t?e.map(r=>Object.assign(Object.assign({},r),{label:r.label[0]==t?r.label:t+r.label+t,apply:void 0})):e}var kte=/^\w*$/,Ste=/^[`'"]?\w*[`'"]?$/,J3=class t{constructor(){this.list=[],this.children=void 0}child(e,r){let i=this.children||(this.children=Object.create(null)),n=i[e];return n||(e&&this.list.push(AQ(e,"type",r)),i[e]=new t)}addCompletions(e){for(let r of e){let i=this.list.findIndex(n=>n.label==r.label);i>-1?this.list[i]=r:this.list.push(r)}}};function AQ(t,e,r){return/^[a-z_][a-z_\d]*$/.test(t)?{label:t,type:e}:{label:t,type:e,apply:r+t+r}}function Tte(t,e,r,i,n,o){var a;let s=new J3,l=((a=o==null?void 0:o.spec.identifierQuotes)===null||a===void 0?void 0:a[0])||'"',c=s.child(n||"",l);for(let u in t){let f=u.replace(/\\?\./g,p=>p=="."?"\0":p).split("\0"),d=f.length==1?c:s;for(let p of f)d=d.child(p.replace(/\\\./g,"."),l);for(let p of t[u])p&&d.list.push(typeof p=="string"?AQ(p,"property",l):p)}return e&&c.addCompletions(e),r&&s.addCompletions(r),s.addCompletions(c.list),i&&s.addCompletions(c.child(i,l).list),u=>{let{parents:f,from:d,quoted:p,empty:O,aliases:x}=yte(u.state,u.pos);if(O&&!u.explicit)return null;x&&f.length==1&&(f=x[f[0]]||f);let k=s;for(let Q of f){for(;!k.children||!k.children[Q];)if(k==s)k=c;else if(k==c&&i)k=k.child(i,l);else return null;k=k.child(Q,l)}let w=p&&u.state.sliceDoc(u.pos,u.pos+1)==p,C=k.list;return k==s&&x&&(C=C.concat(Object.keys(x).map(Q=>({label:Q,type:"constant"})))),{from:d,to:w?u.pos+1:void 0,options:wte(p,C),validFor:p?Ste:kte}}}function Ete(t,e){let r=Object.keys(t).map(i=>({label:e?i.toUpperCase():i,type:t[i]==TQ?"type":t[i]==SQ?"keyword":"variable",boost:-1}));return Fm(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],lh(r))}var Cte=gte.configure({props:[Mr.add({Statement:ti()}),Cr.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),xr({Keyword:A.keyword,Type:A.typeName,Builtin:A.standard(A.name),Bits:A.number,Bytes:A.string,Bool:A.bool,Null:A.null,Number:A.number,String:A.string,Identifier:A.name,QuotedIdentifier:A.special(A.string),SpecialVar:A.special(A.name),LineComment:A.lineComment,BlockComment:A.blockComment,Operator:A.operator,"Semi Punctuation":A.punctuation,"( )":A.paren,"{ }":A.brace,"[ ]":A.squareBracket})]}),fo=class t{constructor(e,r,i){this.dialect=e,this.language=r,this.spec=i}get extension(){return this.language.extension}static define(e){let r=Ote(e,e.keywords,e.types,e.builtin),i=ei.define({name:"sql",parser:Cte.configure({tokenizers:[{from:_Q,to:PQ(r)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new t(r,i,e)}};function Pte(t,e=!1){return Ete(t.dialect.words,e)}function _te(t,e=!1){return t.language.data.of({autocomplete:Pte(t,e)})}function Ate(t){return t.schema?Tte(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||ex):()=>null}function Qte(t){return t.schema?(t.dialect||ex).language.data.of({autocomplete:Ate(t)}):[]}function QQ(t={}){let e=t.dialect||ex;return new or(e.language,[Qte(t),_te(e,!!t.upperCaseKeywords)])}var ex=fo.define({}),cwe=fo.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:cl+"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:ll+"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"}),$Q="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",XQ=ll+"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",RQ="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",uwe=fo.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:cl+"group_concat "+$Q,types:XQ,builtin:RQ}),fwe=fo.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:cl+"always generated groupby_concat hard persistent shutdown soft virtual "+$Q,types:XQ,builtin:RQ}),hwe=fo.define({keywords:cl+"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:ll+"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:"@"}),dwe=fo.define({keywords:cl+"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:ll+"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:"@:?$"}),pwe=fo.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:ll+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),mwe=fo.define({keywords:cl+"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:ll+"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 $te=xr({String:A.string,Number:A.number,"True False":A.bool,PropertyName:A.propertyName,Null:A.null,",":A.separator,"[ ]":A.squareBracket,"{ }":A.brace}),IQ=ri.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:[$te],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 Xte=ei.define({name:"json",parser:IQ.configure({props:[Mr.add({Object:ti({except:/^\s*\}/}),Array:ti({except:/^\s*\]/})}),Cr.add({"Object Array":Ka})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function LQ(){return new or(Xte)}var tx=1,Rte=2,Ite=3,Lte=4,Mte=5,zte=35,Dte=36,Nte=37,Ute=11,qte=13;function Bte(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function jte(t){return t==9||t==10||t==13||t==32}var MQ=null,zQ=null,DQ=0;function rx(t,e){let r=t.pos+e;if(zQ==t&&DQ==r)return MQ;for(;jte(t.peek(e));)e++;let i="";for(;;){let n=t.peek(e);if(!Bte(n))break;i+=String.fromCharCode(n),e++}return zQ=t,DQ=r,MQ=i||null}function NQ(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let r=0;r<t.length;r++)this.hash+=(this.hash<<4)+t.charCodeAt(r)+(t.charCodeAt(r)<<8)}var Wte=new rs({start:null,shift(t,e,r,i){return e==tx?new NQ(rx(i,1)||"",t):t},reduce(t,e){return e==Ute&&t?t.parent:t},reuse(t,e,r,i){let n=e.type.id;return n==tx||n==qte?new NQ(rx(i,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),Vte=new kt((t,e)=>{if(t.next==60){if(t.advance(),t.next==47){t.advance();let r=rx(t,0);if(!r)return t.acceptToken(Mte);if(e.context&&r==e.context.name)return t.acceptToken(Rte);for(let i=e.context;i;i=i.parent)if(i.name==r)return t.acceptToken(Ite,-2);t.acceptToken(Lte)}else if(t.next!=33&&t.next!=63)return t.acceptToken(tx)}},{contextual:!0});function ix(t,e){return new kt(r=>{let i=0,n=e.charCodeAt(0);e:for(;!(r.next<0);r.advance(),i++)if(r.next==n){for(let o=1;o<e.length;o++)if(r.peek(o)!=e.charCodeAt(o))continue e;break}i&&r.acceptToken(t)})}var Fte=ix(zte,"-->"),Zte=ix(Dte,"?>"),Yte=ix(Nte,"]]>"),Hte=xr({Text:A.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":A.angleBracket,TagName:A.tagName,"MismatchedCloseTag/Tagname":[A.tagName,A.invalid],AttributeName:A.attributeName,AttributeValue:A.attributeValue,Is:A.definitionOperator,"EntityReference CharacterReference":A.character,Comment:A.blockComment,ProcessingInst:A.processingInstruction,DoctypeDecl:A.documentMeta,Cdata:A.special(A.string)}),UQ=ri.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-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R!t!nQdRRybXSORYbQYORmYQ[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:Wte,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:[Hte],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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ild("TagName");return r?t.sliceString(r.from,r.to):""}function nx(t,e){let r=e&&e.firstChild;return!r||r.name!="OpenTag"?"":hO(t,r)}function Gte(t,e,r){let i=e&&e.getChildren("Attribute").find(o=>o.from<=r&&o.to>=r),n=i&&i.getChild("AttributeName");return n?t.sliceString(n.from,n.to):""}function ox(t){for(let e=t&&t.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function Kte(t,e){var r;let i=ct(t).resolveInner(e,-1),n=null;for(let o=i;!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(i.name=="TagName")return n.name=="CloseTag"||n.name=="MismatchedCloseTag"?{type:"closeTag",from:i.from,context:o}:{type:"openTag",from:i.from,context:ox(o)};if(i.name=="AttributeName")return{type:"attrName",from:i.from,context:n};if(i.name=="AttributeValue")return{type:"attrValue",from:i.from,context:n};let a=i==n||i.name=="Attribute"?i.childBefore(e):i;return(a==null?void 0:a.name)=="StartTag"?{type:"openTag",from:e,context:ox(o)}:(a==null?void 0:a.name)=="StartCloseTag"&&a.to<=e?{type:"closeTag",from:e,context:o}:(a==null?void 0:a.name)=="Is"?{type:"attrValue",from:e,context:n}:a?{type:"attrName",from:e,context:n}:null}else if(i.name=="StartCloseTag")return{type:"closeTag",from:e,context:i.parent};for(;i.parent&&i.to==e&&!(!((r=i.lastChild)===null||r===void 0)&&r.type.isError);)i=i.parent;return i.name=="Element"||i.name=="Text"||i.name=="Document"?{type:"tag",from:e,context:i.name=="Element"?i:ox(i)}:null}var sx=class{constructor(e,r,i){this.attrs=r,this.attrValues=i,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"})):[]}},ax=/^[:\-\.\w\u00b7-\uffff]*$/;function qQ(t){return Object.assign(Object.assign({type:"property"},t.completion||{}),{label:t.name})}function BQ(t){return typeof t=="string"?{label:`"${t}"`,type:"constant"}:/^"/.test(t.label)?t:Object.assign(Object.assign({},t),{label:`"${t.label}"`})}function Jte(t,e){let r=[],i=[],n=Object.create(null);for(let l of e){let c=qQ(l);r.push(c),l.global&&i.push(c),l.values&&(n[l.name]=l.values.map(BQ))}let o=[],a=[],s=Object.create(null);for(let l of t){let c=i,u=n;l.attributes&&(c=c.concat(l.attributes.map(d=>typeof d=="string"?r.find(p=>p.label==d)||{label:d,type:"property"}:(d.values&&(u==n&&(u=Object.create(u)),u[d.name]=d.values.map(BQ)),qQ(d)))));let f=new sx(l,c,u);s[f.name]=f,o.push(f),l.top&&a.push(f)}a.length||(a=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)s[f]&&u.children.push(s[f]);else u.children=o}return l=>{var c;let{doc:u}=l.state,f=Kte(l.state,l.pos);if(!f||f.type=="tag"&&!l.explicit)return null;let{type:d,from:p,context:O}=f;if(d=="openTag"){let x=a,k=nx(u,O);if(k){let w=s[k];x=(w==null?void 0:w.children)||o}return{from:p,options:x.map(w=>w.completion),validFor:ax}}else if(d=="closeTag"){let x=nx(u,O);return x?{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=s[x])===null||c===void 0?void 0:c.closeNameCompletion)||{label:x+">",type:"type"}],validFor:ax}:null}else if(d=="attrName"){let x=s[hO(u,O)];return{from:p,options:(x==null?void 0:x.attrs)||i,validFor:ax}}else if(d=="attrValue"){let x=Gte(u,O,p);if(!x)return null;let k=s[hO(u,O)],w=((k==null?void 0:k.attrValues)||n)[x];return!w||!w.length?null:{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:w,validFor:/^"[^"]*"?$/}}else if(d=="tag"){let x=nx(u,O),k=s[x],w=[],C=O&&O.lastChild;x&&(!C||C.name!="CloseTag"||hO(u,C)!=x)&&w.push(k?k.closeCompletion:{label:"</"+x+">",type:"type",boost:2});let Q=w.concat(((k==null?void 0:k.children)||(O?o:a)).map(L=>L.openCompletion));if(O&&(k!=null&&k.text.length)){let L=O.firstChild;L.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(L.to,l.pos))&&(Q=Q.concat(k.text))}return{from:p,options:Q,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}var jQ=ei.define({name:"xml",parser:UQ.configure({props:[Mr.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}}),Cr.add({Element(t){let e=t.firstChild,r=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:r.name=="CloseTag"?r.from:t.to}}}),nh.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function WQ(t={}){return new or(jQ,jQ.data.of({autocomplete:Jte(t.elements||[],t.attributes||[])}))}var ere=["-type","-spec","-export_type","-opaque"],tre=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],rre=/[\->,;]/,ire=["->",";",","],nre=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],ore=/[\+\-\*\/<>=\|:!]/,are=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],sre=/[<\(\[\{]/,cx=["<<","(","[","{"],lre=/[>\)\]\}]/,HQ=["}","]",")",">>"],cre=["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"],ure=["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"],dO=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,fre=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function hre(t,e){if(e.in_string)return e.in_string=!ZQ(t),St(e,t,"string");if(e.in_atom)return e.in_atom=!YQ(t),St(e,t,"atom");if(t.eatSpace())return St(e,t,"whitespace");if(!Sh(e)&&t.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return ii(t.current(),ere)?St(e,t,"type"):St(e,t,"attribute");var r=t.next();if(r=="%")return t.skipToEnd(),St(e,t,"comment");if(r==":")return St(e,t,"colon");if(r=="?")return t.eatSpace(),t.eatWhile(dO),St(e,t,"macro");if(r=="#")return t.eatSpace(),t.eatWhile(dO),St(e,t,"record");if(r=="$")return t.next()=="\\"&&!t.match(fre)?St(e,t,"error"):St(e,t,"number");if(r==".")return St(e,t,"dot");if(r=="'"){if(!(e.in_atom=!YQ(t))){if(t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),St(e,t,"fun");if(t.match(/\s*\(/,!1)||t.match(/\s*:/,!1))return St(e,t,"function")}return St(e,t,"atom")}if(r=='"')return e.in_string=!ZQ(t),St(e,t,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return t.eatWhile(dO),St(e,t,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(t.eatWhile(dO),t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),St(e,t,"fun");var i=t.current();return ii(i,tre)?St(e,t,"keyword"):ii(i,nre)?St(e,t,"operator"):t.match(/\s*\(/,!1)?ii(i,ure)&&(Sh(e).token!=":"||Sh(e,2).token=="erlang")?St(e,t,"builtin"):ii(i,cre)?St(e,t,"guard"):St(e,t,"function"):dre(t)==":"?i=="erlang"?St(e,t,"builtin"):St(e,t,"function"):ii(i,["true","false"])?St(e,t,"boolean"):St(e,t,"atom")}var n=/[0-9]/,o=/[0-9a-zA-Z]/;return n.test(r)?(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)),St(e,t,"number")):VQ(t,sre,cx)?St(e,t,"open_paren"):VQ(t,lre,HQ)?St(e,t,"close_paren"):FQ(t,rre,ire)?St(e,t,"separator"):FQ(t,ore,are)?St(e,t,"operator"):St(e,t,null)}function VQ(t,e,r){if(t.current().length==1&&e.test(t.current())){for(t.backUp(1);e.test(t.peek());)if(t.next(),ii(t.current(),r))return!0;t.backUp(t.current().length-1)}return!1}function FQ(t,e,r){if(t.current().length==1&&e.test(t.current())){for(;e.test(t.peek());)t.next();for(;0<t.current().length;){if(ii(t.current(),r))return!0;t.backUp(1)}t.next()}return!1}function ZQ(t){return GQ(t,'"',"\\")}function YQ(t){return GQ(t,"'","\\")}function GQ(t,e,r){for(;!t.eol();){var i=t.next();if(i==e)return!0;i==r&&t.next()}return!1}function dre(t){var e=t.match(/^\s*([^\s%])/,!1);return e?e[1]:""}function ii(t,e){return-1<e.indexOf(t)}function St(t,e,r){switch(Ore(t,pre(r,e)),r){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 KQ(t,e,r,i){return{token:t,column:e,indent:r,type:i}}function pre(t,e){return KQ(e.current(),e.column(),e.indentation(),t)}function mre(t){return KQ(t,0,0,t)}function Sh(t,e){var r=t.tokenStack.length,i=e||1;return r<i?!1:t.tokenStack[r-i]}function Ore(t,e){e.type=="comment"||e.type=="whitespace"||(t.tokenStack=gre(t.tokenStack,e),t.tokenStack=bre(t.tokenStack))}function gre(t,e){var r=t.length-1;return 0<r&&t[r].type==="record"&&e.type==="dot"?t.pop():(0<r&&t[r].type==="group"&&t.pop(),t.push(e)),t}function bre(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 Qn(t,{g:["{"]});case"]":return Qn(t,{i:["["]});case")":return Qn(t,{i:["("]});case">>":return Qn(t,{i:["<<"]});case"end":return Qn(t,{i:["begin","case","fun","if","receive","try"]});case",":return Qn(t,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return Qn(t,{r:["when"],m:["try","if","case","receive"]});case";":return Qn(t,{E:["case","fun","if","receive","try","when"]});case"catch":return Qn(t,{e:["try"]});case"of":return Qn(t,{e:["case"]});case"after":return Qn(t,{e:["receive","try"]});default:return t}}function Qn(t,e){for(var r in e)for(var i=t.length-1,n=e[r],o=i-1;-1<o;o--)if(ii(t[o].token,n)){var a=t.slice(0,o);switch(r){case"m":return a.concat(t[o]).concat(t[i]);case"r":return a.concat(t[i]);case"i":return a;case"g":return a.concat(mre("group"));case"E":return a.concat(t[o]);case"e":return a.concat(t[o])}}return r=="E"?[]:t}function yre(t,e,r){var i,n=vre(e),o=Sh(t,1),a=Sh(t,2);return t.in_string||t.in_atom?null:a?o.token=="when"?o.column+r.unit:n==="when"&&a.type==="function"?a.indent+r.unit:n==="("&&o.token==="fun"?o.column+3:n==="catch"&&(i=lx(t,["try"]))?i.column:ii(n,["end","after","of"])?(i=lx(t,["begin","case","fun","if","receive","try"]),i?i.column:null):ii(n,HQ)?(i=lx(t,cx),i?i.column:null):ii(o.token,[",","|","||"])||ii(n,[",","|","||"])?(i=xre(t),i?i.column+i.token.length:r.unit):o.token=="->"?ii(a.token,["receive","case","if","try"])?a.column+r.unit+r.unit:a.column+r.unit:ii(o.token,cx)?o.column+o.token.length:(i=wre(t),ul(i)?i.column+r.unit:0):0}function vre(t){var e=t.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return ul(e)&&e.index===0?e[0]:""}function xre(t){var e=t.tokenStack.slice(0,-1),r=pO(e,"type",["open_paren"]);return ul(e[r])?e[r]:!1}function wre(t){var e=t.tokenStack,r=pO(e,"type",["open_paren","separator","keyword"]),i=pO(e,"type",["operator"]);return ul(r)&&ul(i)&&r<i?e[r+1]:ul(r)?e[r]:!1}function lx(t,e){var r=t.tokenStack,i=pO(r,"token",e);return ul(r[i])?r[i]:!1}function pO(t,e,r){for(var i=t.length-1;-1<i;i--)if(ii(t[i][e],r))return i;return!1}function ul(t){return t!==!1&&t!=null}var JQ={name:"erlang",startState(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:hre,indent:yre,languageData:{commentTokens:{line:"%"}}};function e$(t){t$(t,"start");var e={},r=t.languageData||{},i=!1;for(var n in t)if(n!=r&&t.hasOwnProperty(n))for(var o=e[n]=[],a=t[n],s=0;s<a.length;s++){var l=a[s];o.push(new Tre(l,t)),(l.indent||l.dedent)&&(i=!0)}return{name:r.name,startState:function(){return{state:"start",pending:null,indent:i?[]: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:Ere(e),indent:Cre(e,r),languageData:r}}function t$(t,e){if(!t.hasOwnProperty(e))throw new Error("Undefined state "+e+" in simple mode")}function kre(t,e){if(!t)return/(?:)/;var r="";return t instanceof RegExp?(t.ignoreCase&&(r="i"),t=t.source):t=String(t),new RegExp((e===!1?"":"^")+"(?:"+t+")",r)}function Sre(t){if(!t)return null;if(t.apply)return t;if(typeof t=="string")return t.replace(/\./g," ");for(var e=[],r=0;r<t.length;r++)e.push(t[r]&&t[r].replace(/\./g," "));return e}function Tre(t,e){(t.next||t.push)&&t$(e,t.next||t.push),this.regex=kre(t.regex),this.token=Sre(t.token),this.data=t}function Ere(t){return function(e,r){if(r.pending){var i=r.pending.shift();return r.pending.length==0&&(r.pending=null),e.pos+=i.text.length,i.token}for(var n=t[r.state],o=0;o<n.length;o++){var a=n[o],s=(!a.data.sol||e.sol())&&e.match(a.regex);if(s){a.data.next?r.state=a.data.next:a.data.push?((r.stack||(r.stack=[])).push(r.state),r.state=a.data.push):a.data.pop&&r.stack&&r.stack.length&&(r.state=r.stack.pop()),a.data.indent&&r.indent.push(e.indentation()+e.indentUnit),a.data.dedent&&r.indent.pop();var l=a.token;if(l&&l.apply&&(l=l(s)),s.length>2&&a.token&&typeof a.token!="string"){r.pending=[];for(var c=2;c<s.length;c++)s[c]&&r.pending.push({text:s[c],token:a.token[c-1]});return e.backUp(s[0].length-(s[1]?s[1].length:0)),l[0]}else return l&&l.join?l[0]:l}}return e.next(),null}}function Cre(t,e){return function(r,i){if(r.indent==null||e.dontIndentStates&&e.doneIndentState.indexOf(r.state)>-1)return null;var n=r.indent.length-1,o=t[r.state];e:for(;;){for(var a=0;a<o.length;a++){var s=o[a];if(s.data.dedent&&s.data.dedentIfLineStart!==!1){var l=s.regex.exec(i);if(l&&l[0]){n--,(s.next||s.push)&&(o=t[s.next||s.push]),i=i.slice(l[0].length);continue e}}}break}return n<0?0:r.indent[n]}}var r$="from",Pre=new RegExp("^(\\s*)\\b("+r$+")\\b","i"),i$=["run","cmd","entrypoint","shell"],_re=new RegExp("^(\\s*)("+i$.join("|")+")(\\s+\\[)","i"),n$="expose",Are=new RegExp("^(\\s*)("+n$+")(\\s+)","i"),Qre=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],$re=[r$,n$].concat(i$).concat(Qre),o$="("+$re.join("|")+")",Xre=new RegExp("^(\\s*)"+o$+"(\\s*)(#.*)?$","i"),Rre=new RegExp("^(\\s*)"+o$+"(\\s+)","i"),a$=e$({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:Pre,token:[null,"keyword"],sol:!0,next:"from"},{regex:Xre,token:[null,"keyword",null,"error"],sol:!0},{regex:_re,token:[null,"keyword",null],sol:!0,next:"array"},{regex:Are,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:Rre,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 Ire=189,Lre=190,Mre=191,s$=192,l$=193,c$=194,u$=195,f$=1,h$=2,d$=196,zre=197,Dre=198,Nre=3,Ure=4,qre=5,Bre=6,jre=7,Wre=8,Vre=9,Fre=10,Zre=11,Yre=12,Hre=13,Gre=14,Kre=15,Jre=16,eie=17,tie=18,rie=19,iie=20,nie=21,oie=22,aie=23,sie=199,lie=200,p$=9,yO=10,gx=13,m$=32,vO=33,Th=34,bx=35,cie=37,mO=38,Eh=39,O$=40,fx=41,hx=42,Mc=43,uie=44,as=45,dl=46,ho=47,g$=48,b$=57,ra=58,y$=59,OO=60,ns=61,gi=62,yx=63,v$=64,fie=65,hie=90,x$=91,bO=92,dx=93,gO=94,w$=97,ux=99,Lc=100,px=101,die=104,mx=105,pie=108,mie=109,fl=110,ss=111,Oie=112,gie=114,vx=116,bie=117,yie=119,vie=121,xie=122,k$=123,hl=124,Ox=125,Ch=126,wie=[{token:Ure,supportsInterpol:!0,endDelimiter:Eh,delimiterLength:1},{token:Nre,supportsInterpol:!0,endDelimiter:Th,delimiterLength:1},{token:Bre,supportsInterpol:!0,endDelimiter:Eh,delimiterLength:3},{token:qre,supportsInterpol:!0,endDelimiter:Th,delimiterLength:3},{token:jre,supportsInterpol:!0,endDelimiter:fx,delimiterLength:1},{token:Wre,supportsInterpol:!0,endDelimiter:Ox,delimiterLength:1},{token:Vre,supportsInterpol:!0,endDelimiter:dx,delimiterLength:1},{token:Fre,supportsInterpol:!0,endDelimiter:gi,delimiterLength:1},{token:Zre,supportsInterpol:!0,endDelimiter:hl,delimiterLength:1},{token:Yre,supportsInterpol:!0,endDelimiter:ho,delimiterLength:1},{token:Gre,supportsInterpol:!1,endDelimiter:Eh,delimiterLength:1},{token:Hre,supportsInterpol:!1,endDelimiter:Th,delimiterLength:1},{token:Jre,supportsInterpol:!1,endDelimiter:Eh,delimiterLength:3},{token:Kre,supportsInterpol:!1,endDelimiter:Th,delimiterLength:3},{token:eie,supportsInterpol:!1,endDelimiter:fx,delimiterLength:1},{token:tie,supportsInterpol:!1,endDelimiter:Ox,delimiterLength:1},{token:rie,supportsInterpol:!1,endDelimiter:dx,delimiterLength:1},{token:iie,supportsInterpol:!1,endDelimiter:gi,delimiterLength:1},{token:nie,supportsInterpol:!1,endDelimiter:hl,delimiterLength:1},{token:oie,supportsInterpol:!1,endDelimiter:ho,delimiterLength:1}],kie=new kt((t,e)=>{let r=wie.find(i=>e.canShift(i.token));Sie(t,r)&&t.acceptToken(r.token)});function Sie(t,e){let r=e.delimiterLength===3;for(let i=!1;;i=!0){let n=!1;if(E$(t.next))for(t.advance(),i=!0,n=!0;Zi(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&&(!r||n))return i;t.advance(o)}else{if(t.next===bx){if(e.supportsInterpol&&t.peek(1)===k$)return i}else if(t.next===bO){if(!(r&&t.peek(1)===yO)){if(e.supportsInterpol||t.peek(1)===e.endDelimiter)return i}}else if(t.next===-1)return i;t.advance()}}return!1}var Tie=new kt((t,e)=>{let r=0;for(;w$<=t.next&&t.next<=xie||fie<=t.next&&t.next<=hie||g$<=t.next&&t.next<=b$;)t.advance(),r++;r>0&&t.acceptToken(aie)}),Eie=new kt((t,e)=>{Zi(t.peek(-1))||(e.canShift(f$)&&t.next===O$?(t.advance(),t.acceptToken(f$)):e.canShift(h$)&&t.next===x$?(t.advance(),t.acceptToken(h$)):e.canShift(d$)&&t.next===ra&&(t.advance(),Zi(t.next)&&t.acceptToken(d$)))}),Cie=new kt((t,e)=>{if(Ph(t.next)){for(t.advance();Ph(t.next);)t.advance();if(t.next===Mc){let r=t.peek(1);r!==Mc&&r!==ra&&r!==ho&&!Zi(r)&&t.acceptToken(s$)}else if(t.next===as){let r=t.peek(1);r!==as&&r!==gi&&r!==ra&&r!==ho&&!Zi(r)&&t.acceptToken(s$)}}}),S$=/[\p{ID_Start}_]/u,T$=/[\p{ID_Continue}@]/u,Pie=new kt((t,e)=>{if(t.next===ra){t.advance();let[r,i]=zc(t);if(S$.test(r)){do t.advance(i),[r,i]=zc(t);while(T$.test(r));(t.next===yx||t.next===vO)&&t.advance(),t.acceptToken(zre)}}}),_ie=new kt((t,e)=>{let[r,i]=zc(t);if(S$.test(r)){do t.advance(i),[r,i]=zc(t);while(T$.test(r));(t.next===yx||t.next===vO)&&t.advance(),t.next===ra&&(t.advance(),Zi(t.next)&&t.acceptToken(Dre))}}),Aie=/[_\p{Ll}\p{Lm}\p{Lo}\p{Nl}\u1885\u1886\u2118\u212E\u309B\u309C]/u,Qie=/[\p{ID_Continue}]/u,$ie=new kt((t,e)=>{let[r,i]=zc(t),o=r==="_"?lie:sie;if(Aie.test(r)){do t.advance(i),[r,i]=zc(t);while(Qie.test(r));(t.next===yx||t.next===vO)&&t.advance(),t.acceptToken(o)}else t.next===dl&&(t.advance(),t.next===dl&&(t.advance(),t.next===dl&&(t.advance(),os(t.next)&&t.acceptToken(o))))}),Xie=new kt((t,e)=>{if(t.next===fl&&(t.advance(),t.next===ss&&(t.advance(),t.next===vx))){for(t.advance();Ph(t.next);)t.advance();t.next===mx&&(t.advance(),t.next===fl&&(t.advance(),os(t.next)&&t.acceptToken(Ire)))}}),Rie=new kt((t,e)=>{t.next===ho&&(t.advance(),t.next===ho&&(t.advance(),t.acceptToken(Lre)))}),Iie=new kt((t,e)=>{t.next===v$&&(t.advance(),(t.next===Lc&&t.peek(1)===ss&&t.peek(2)===ux&&Zi(t.peek(3))||t.next===mie&&t.peek(1)===ss&&t.peek(2)===Lc&&t.peek(3)===bie&&t.peek(4)===pie&&t.peek(5)===px&&t.peek(6)===Lc&&t.peek(7)===ss&&t.peek(8)===ux&&Zi(t.peek(9))||t.next===vx&&t.peek(1)===vie&&t.peek(2)===Oie&&t.peek(3)===px&&t.peek(4)===Lc&&t.peek(5)===ss&&t.peek(6)===ux&&Zi(t.peek(7)))&&t.acceptToken(Mre))}),Lie=new kt((t,e)=>{if(t.next===gx&&t.advance(),t.next===yO){t.advance();let r=0,i=!1;for(;Zi(t.peek(r));)i=i||E$(t.peek(r)),r++;if(e.canShift(u$)&&t.peek(r)===Lc&&t.peek(r+1)===ss&&os(t.peek(r+2))){t.acceptToken(u$);return}if(e.canShift(c$)&&Mie(t,r)){t.acceptToken(c$);return}e.canShift(l$)&&t.peek(r)!==y$&&t.peek(r)!==bx&&!i&&t.acceptToken(l$)}});function Mie(t,e=0){if(t.peek(e)===mO){if(e++,t.peek(e)===mO)return e++,t.peek(e)===mO,nt(t,e)}else{if(t.peek(e)===ns)return t.peek(e)===ns?(e++,t.peek(e)===ns&&e++,nt(t,e)):t.peek(e)===Ch?(e++,nt(t,e)):(t.peek(1)===gi&&e++,nt(t,e));if(t.peek(e)===ra){if(e++,t.peek(e)===ra)return e++,t.peek(e)===ra?!1:nt(t,e)}else if(t.peek(e)===Mc){if(e++,t.peek(e)===Mc)return e++,t.peek(e)===Mc&&e++,nt(t,e)}else if(t.peek(e)===as){if(e++,t.peek(e)===as)return e++,t.peek(e)===as&&e++,nt(t,e);if(t.peek(e)===gi)return e++,nt(t,e)}else if(t.peek(e)===OO){if(e++,t.peek(e)===ns||t.peek(e)===as||t.peek(e)===gi)return e++,nt(t,e);if(t.peek(e)===Ch)return e++,t.peek(e)===gi&&e++,nt(t,e);if(t.peek(e)===hl){if(e++,t.peek(e)===gi)return e++,nt(t,e)}else if(t.peek(e)===OO){if(e++,t.peek(e)===OO||t.peek(e)===Ch)return e++,nt(t,e)}else return nt(t,e)}else if(t.peek(e)===gi){if(e++,t.peek(e)===ns)return e++,nt(t,e);if(t.peek(e)===gi){if(e++,t.peek(e)===gi)return e++,nt(t,e)}else return nt(t,e)}else if(t.peek(e)===gO){if(e++,t.peek(e)===gO&&(e++,t.peek(e)===gO))return e++,nt(t,e)}else if(t.peek(e)===vO){if(e++,t.peek(e)===ns)return e++,t.peek(e)===ns&&e++,nt(t,e)}else if(t.peek(e)===Ch){if(e++,t.peek(e)===gi)return e++,t.peek(e)===gi&&e++,nt(t,e)}else{if(t.peek(e)===hl)return e++,t.peek(e)===hl?(e++,t.peek(e)===hl&&e++,nt(t,e)):(t.peek(e)===gi&&e++,nt(t,e));if(t.peek(e)===hx)return e++,t.peek(e)===hx&&e++,nt(t,e);if(t.peek(e)===ho)return e++,t.peek(e)===ho&&e++,nt(t,e);if(t.peek(e)===dl)return e++,t.peek(e)===dl?(e++,t.peek(e)===dl?!1:nt(t,e)):nt(t,e);if(t.peek(e)===bO){if(e++,t.peek(e)===bO)return e++,nt(t,e)}else if(t.peek(e)===yie){if(e++,t.peek(e)===die&&(e++,t.peek(e)===px&&(e++,t.peek(e)===fl)))return e++,os(t.peek(e))&&nt(t,e)}else if(t.peek(e)===w$){if(e++,t.peek(e)===fl&&(e++,t.peek(e)===Lc))return e++,os(t.peek(e))&&nt(t,e)}else if(t.peek(e)===ss){if(e++,t.peek(e)===gie)return e++,os(t.peek(e))&&nt(t,e)}else if(t.peek(e)===mx){if(e++,t.peek(e)===fl)return e++,os(t.peek(e))&&nt(t,e)}else if(t.peek(e)===fl&&(e++,t.peek(e)===ss&&(e++,t.peek(e)===vx))){for(e++;Ph(t.peek(e));)e++;if(t.peek(e)===mx&&(e++,t.peek(e)===fl))return e++,os(t.peek(e))&&nt(t,e)}}}}function nt(t,e){if(t.peek(e)===ra)return!Zi(t.peek(e+1));for(;Ph(t.peek(e));)e++;if(t.peek(e)===ho){for(e++;Zi(t.peek(e));)e++;if(zie(t.peek(e)))return!1}return!0}function Ph(t){return t===m$||t===p$}function Zi(t){return t===m$||t===p$||t===yO||t===gx}function E$(t){return t===yO||t===gx}function zie(t){return g$<=t&&t<=b$}var Die=new Set([v$,dl,Mc,as,gO,as,hx,ho,OO,gi,hl,Ch,ns,mO,bO,cie,k$,Ox,x$,dx,O$,fx,Th,Eh,uie,y$,bx]);function os(t){return Die.has(t)?!0:Zi(t)||t===-1}function zc(t){let e=t.next;if(55296<=e&&e<=56319){let r=t.peek(1);if(56320<=r&&r<=57343)return[String.fromCharCode(e,r),2]}return[String.fromCharCode(e),1]}var Nie=xr({"Atom QuotedAtom QuotedAtom/QuotedContent Keyword QuotedKeyword QuotedKeyword/QuotedContent":A.atom,Alias:A.namespace,Boolean:A.bool,Nil:A.null,Integer:A.integer,Float:A.float,Char:A.character,Identifier:A.variableName,Comment:A.lineComment,SpecialIdentifier:A.special(A.variableName),UnderscoredIdentifier:A.comment,"String String/QuotedContent":A.string,"Charlist Charlist/QuotedContent":A.string,"StringSigil StringSigil/SigilName StringSigil/SigilModifiers StringSigil/QuotedContent StringSigil/{ StringSigil/} StringSigil/[ StringSigil/] StringSigil/( StringSigil/)":A.string,"Sigil Sigil/SigilName Sigil/SigilModifiers Sigil/QuotedContent Sigil/{ Sigil/} Sigil/[ Sigil/] Sigil/( Sigil/)":A.special(A.string),EscapeSequence:A.escape,"Interpolation/#{ Interpolation/}":A.special(A.brace),"( )":A.paren,"[ ]":A.squareBracket,"% { }":A.brace,", ;":A.separator,"<< >>":A.angleBracket,"fn do end catch rescue after else":A.keyword,Operator:A.operator,WordOperator:A.keyword,"CaptureOperand/Integer":A.operator,"AtOperator/Operator AtOperator/Identifier AtOperator/Boolean AtOperator/Nil AtOperator/Call/Identifier":A.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/)":A.docString,"Call/Identifier Call/UnderscoredIdentifier":A.function(A.variableName),"Call/Dot/Right/Identifier Call/Dot/Right/SpecialIdentifier Call/Dot/Right/UnderscoredIdentifier":A.function(A.variableName),"Call/Dot/Atom":A.namespace,"PipeOperator/Right/Identifier":A.function(A.variableName),"FunctionDefinitionCall/Identifier":A.keyword,"FunctionDefinitionCall/Arguments/Identifier FunctionDefinitionCall/Arguments/UnderscoredIdentifier FunctionDefinitionCall/Arguments/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/Call/Identifier FunctionDefinitionCall/Arguments/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/Call/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Identifier FunctionDefinitionCall/Arguments/WhenOperator/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Call/Identifier FunctionDefinitionCall/Arguments/WhenOperator/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/Call/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/PipeOperator/Right/Identifier":A.variableName,"KernelCall/Identifier":A.keyword}),Uie={__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},qie={__proto__:null,__MODULE__:436,__DIR__:438,__ENV__:440,__CALLER__:442,__STACKTRACE__:444},C$=ri.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'#DfO!/pQMxO'#DhOOQ8a'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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}X'q}X'j}X'l}X'n}X'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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:[Nie],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#Q#RCZ#T#gCt#g#hCy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=_]^=_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![>T!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:[Xie,Rie,Iie,Cie,Lie,Eie,Pie,_ie,kie,Tie,$ie,0,1,2],topRules:{Source:[0,25]},dynamicPrecedences:{43:1,79:-1,150:-1},specialized:[{term:199,get:t=>Uie[t]||-1},{term:200,get:t=>qie[t]||-1}],tokenPrec:42923});var P$=ei.define({name:"elixir",parser:C$.configure({props:[Mr.add({"DoBlock AfterBlock ElseBlock CatchBlock RescueBlock":xx(ti({except:/^\s*(after|else|catch|rescue|end)\b/})),AnonymousFunction:xx(uo({closing:"end",align:!1})),Block:xx(uo({closing:")",align:!1})),StabClause:ti(),List:uo({closing:"]",align:!1}),Tuple:uo({closing:"}",align:!1}),Bitstring:uo({closing:">>",align:!1}),Arguments:uo({closing:")",align:!1}),Map:uo({closing:"}",align:!1}),"String Charlist Sigil":Nm,BinaryOperator:ti(),Pair:ti()}),Cr.add({"DoBlock Block List Tuple Bitstring AnonymousFunction":Ka,Map:Bie})]}),languageData:{commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["~s","~S","~r","~R","~c","~C","~D","~N"]},indentOnInput:/^\s*([\}\]\)]|>>|after|else|catch|rescue|end)|.*->$/}});function xx(t){return e=>{var r,i,n,o;let a=e.node.childBefore(e.pos);return((i=(r=e.node.lastChild)===null||r===void 0?void 0:r.type)===null||i===void 0?void 0:i.name)==="end"&&e.textAfter.endsWith("end")?e.baseIndentFor(e.node):((n=a==null?void 0:a.type)===null||n===void 0?void 0:n.name)==="StabClause"&&e.textAfter.endsWith("->")?e.baseIndentFor(a):((o=a==null?void 0:a.type)===null||o===void 0?void 0:o.name)==="StabClause"?e.baseIndentFor(a)+e.unit:t(e)}}function Bie(t){let e=t.getChild("{"),r=t.getChild("}");return e&&r?{from:e.to,to:r.from}:null}var jie=t=>{let{state:e,dispatch:r}=t,i=ct(e),n=co(e),o=!0,a=e.changeByRange(s=>{if(!s.empty||!P$.isActiveAt(e,s.from))return o=!1,{range:s};let l=i.resolve(s.from,-1),c=Wie(l);if(c&&!Vie(c)){let u=Pc(e,c.from+1)||n,f=Ko(e,u),d=Ko(e,u-n),p=`
${f}`,O=`
${d}end`,x=s.from+p.length;return{range:ce.cursor(x),changes:[{from:s.from,to:s.to,insert:p+O}]}}return o=!1,{range:s}});return o?(r(e.update(a,{scrollIntoView:!0,userEvent:"input"})),!0):!1};function Wie(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&&_$(e)?e:null}function _$(t){return t.type.name==="DoBlock"||t.type.name==="AnonymousFunction"}function Vie(t){var e,r;let i=t;for(;i;){if(_$(i)&&((r=(e=i.lastChild)===null||e===void 0?void 0:e.type)===null||r===void 0?void 0:r.name)!=="end")return!1;i=i.parent}return!0}var Fie=[{key:"Enter",run:jie}];function A$(){let t=[cr.high(vr.of(Fie))];return new or(P$,t)}var Q$=mr.of({name:"Elixir",support:A$()}),$$=mr.of({name:"Erlang",support:new or(th.define(JQ))}),X$=mr.of({name:"SQL",support:QQ()}),R$=mr.of({name:"JSON",support:LQ()}),I$=mr.of({name:"XML",support:WQ()}),L$=mr.of({name:"CSS",support:aO()}),M$=mr.of({name:"HTML",support:cO()}),z$=mr.of({name:"JavaScript",support:sO()}),D$=mr.of({name:"Dockerfile",support:new or(th.define(a$))}),Zie=mr.of({name:"Markdown",support:OQ({base:uO,codeLanguages:[Q$,$$,X$,R$,I$,L$,M$,z$,D$]})}),xO=[Q$,$$,X$,R$,I$,L$,M$,z$,D$,Zie];function N$(t,{dark:e}){let r={sans:"Inter",mono:"JetBrains Mono, monospace"};return we.theme({"&":{color:t.text,backgroundColor:t.background,fontSize:"14px",fontFamily:r.mono,fontVariantLigatures:"none"},"&.cm-focused":{outline:"none"},".cm-scroller":{fontFamily:"inherit"},".cm-content":{caretColor:t.cursor,padding:"0"},"*":{"&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-thumb":{borderRadius:"4px",background:"transparent"},"&:hover::-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:t.background,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 8px 0 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:r.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 U$({base:t,lightRed:e,blue:r,gray:i,green:n,purple:o,red:a,teal:s,peach:l,yellow:c}){return Tc.define([{tag:A.keyword,color:o},{tag:A.null,color:r},{tag:A.bool,color:r},{tag:A.number,color:r},{tag:A.string,color:n},{tag:A.special(A.string),color:c},{tag:A.character,color:r},{tag:A.escape,color:r},{tag:A.atom,color:r},{tag:A.variableName,color:t},{tag:A.special(A.variableName),color:e},{tag:[A.function(A.variableName),A.function(A.propertyName)],color:r},{tag:A.namespace,color:s},{tag:A.operator,color:l},{tag:A.comment,color:i},{tag:[A.docString,A.docComment],color:i},{tag:[A.paren,A.squareBracket,A.brace,A.angleBracket,A.separator],color:t},{tag:A.special(A.brace),color:a},{tag:A.strong,fontWeight:"bold"},{tag:A.emphasis,fontStyle:"italic"},{tag:A.strikethrough,textDecoration:"line-through"},{tag:A.link,color:r},{tag:A.heading,color:e},{tag:A.monospace,color:n},{tag:A.propertyName,color:e},{tag:A.tagName,color:o},{tag:A.className,color:l}])}var Yie=N$({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}),wx=U$({base:"#c8ccd4",lightRed:"#e06c75",blue:"#61afef",gray:"#8c92a3",green:"#98c379",purple:"#c678dd",red:"#be5046",teal:"#56b6c2",peach:"#d19a66",yellow:"#e5c07b"}),q$=[Yie,$v(wx)],Hie=N$({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}),kx=U$({base:"#304254",lightRed:"#e45649",blue:"#4078F2",gray:"#707177",green:"#50a14f",purple:"#a726a4",red:"#ca1243",teal:"#0084bc",peach:"#986801",yellow:"#c18401"}),B$=[Hie,$v(kx)];var K$=Al(F$()),J$=Al(Y$()),Sx=Al(G$());function CO(){return/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)}function cs(t){return t.matches&&t.matches("input, textarea, [contenteditable]")}function Tx(t,e=0){let r=t.getBoundingClientRect();return r.bottom>=-e&&r.top<=window.innerHeight+e}function ls(t){return t.offsetParent===null}function eX(t){let e=null;return new Promise((r,i)=>{ls(t)?(e=new ResizeObserver(n=>{ls(t)||(e.disconnect(),r())}),e.observe(t)):r()})}function PO(t,{root:e=null,proximity:r=0}={}){let i=null;return{promise:new Promise((a,s)=>{Gie(t,r)?a():(i=new IntersectionObserver(l=>{l[0].isIntersecting&&(i.disconnect(),i=null,a())},{root:e,rootMargin:`${r}px`}),i.observe(t))}),cancel:()=>{i&&i.disconnect()}}}function Gie(t,e=0){return!ls(t)&&Tx(t,e)}function tX(t,e,r){return Math.min(Math.max(t,e),r)}function rX(t){let e=window.getComputedStyle(t),r=parseInt(e.lineHeight,10);if(Number.isNaN(r)){let i=t.cloneNode();i.innerHTML="<br>",t.appendChild(i);let n=i.clientHeight;i.innerHTML="<br><br>";let o=i.clientHeight;return t.removeChild(i),o-n}else return r}function iX(t){let e=window.getSelection(),r=document.createRange();r.selectNodeContents(t),e.removeAllRanges(),e.addRange(r)}function pl(t){let{height:e}=t.getBoundingClientRect();e<window.innerHeight?t.scrollIntoView({behavior:"smooth",block:"center"}):t.scrollIntoView({behavior:"smooth",block:"start"})}function nX(t){return Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)<1}function _h(t){t.scrollTop=t.scrollHeight}function oX(t){return btoa(unescape(encodeURIComponent(t)))}function aX(t){return decodeURIComponent(escape(atob(t)))}function sX(){return cX(24)}function lX(){return cX(40)}function cX(t){let e=new Uint8Array(t);crypto.getRandomValues(e);let r=String.fromCharCode(...e);return btoa(r)}function _O(t){return(0,K$.default)(t).toString(Sx.default)}function uX(t){return(0,J$.default)(t).toString(Sx.default)}function AO(t){let e=document.querySelector('[rel="icon"]');e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=`/${t}.svg`}function ia(t,e){let r=t.querySelector(e);if(!r)throw new Error(`expected a child matching ${e}, but none was found`);return r}function po(t){t.preventDefault(),t.stopPropagation()}var Kie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39"};function Ah(t){return(t||"").replace(/[&<>"']/g,e=>Kie[e])}function fX(t){let e=atob(t),r=new Uint8Array(e.length),i=r.byteLength;for(let n=0;n<i;n++)r[n]=e.charCodeAt(n);return r.buffer}function QO(){return document.body.hasAttribute("data-within-iframe")?";SameSite=None;Secure":";SameSite=Lax"}function $O(t,e,r=void 0){if(t.hasOwnProperty(e)){let i=t,{[e]:n}=i,o=Wr(i,[ik(e)]);return[n,o]}return[r,t]}function hX(t){return new Promise((e,r)=>{setTimeout(()=>e(),t)})}var Pr=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 r=this.callbacks.indexOf(e);r!==-1&&this.callbacks.splice(r,1)}dispatch(...e){this.callbacks.forEach(r=>{r(...e)})}};var dX="settings",Qh={normal:14,large:16},Jie={default:"default",emacs:"emacs",vim:"vim"},Dc={default:"default",light:"light"},ene={editor_auto_completion:!0,editor_auto_signature:!0,editor_font_size:Qh.normal,editor_theme:Dc.default,editor_markdown_word_wrap:!0,editor_mode:Jie.default,custom_view_show_section:!0,custom_view_show_markdown:!0,custom_view_show_output:!0,custom_view_spotlight:!1},Ex=class{constructor(){Ut(this,"_onChange",new Pr);this.settings=ene,this.loadSettings()}get(){return this.settings}update(e){let r=this.settings;this.settings=oe(oe({},this.settings),e),this._onChange.dispatch(this.settings,r),this.storeSettings()}getAndSubscribe(e){return e(this.settings),this._onChange.addListener(e)}loadSettings(){let e=ks(dX);e&&(Object.values(Dc).includes(e.editor_theme)||delete e.editor_theme,this.settings=oe(oe({},this.settings),e))}storeSettings(){zl(dX,this.settings)}},er=new Ex;function XO(t,e){let r=mr.matchLanguageName(xO,e);if(!r)return Ah(t);let i=tne();_i.mount(window.document,i.module);let n=r.support.language.parser.parse(t),o="";return kP(t,n,i,(a,s)=>{o+=`<span class="${s}">${Ah(a)}</span>`},()=>{o+="<br />"}),o}function tne(){return er.get().editor_theme==="light"?kx:wx}var $h=class{constructor(e){this.size=e,this.cache=new Map}get(e){if(this.cache.has(e)){let r=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,r),r}else return}set(e,r){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size===this.size){let i=this.cache.keys().next().value;this.cache.delete(i)}this.cache.set(e,r)}};var rne=0,ine=()=>`mermaid-graph-${rne++}`,pX=!1,nne="5.15.4",mX=new $h(25);function OX(t){let e=_O(t),r=mX.get(e);return r?Promise.resolve(r):one().then(i=>(ane(t),i.render(ine(),t).then(({svg:n})=>(mX.set(e,n),n)).catch(n=>`<div class="error-box whitespace-pre-wrap"><span class="font-semibold">Mermaid</span>
${n.message}</div>`)))}function one(){return import("./mermaid.core-E4MJ3BNQ.js").then(({default:t})=>(pX||(t.initialize({startOnLoad:!1}),pX=!0),t))}function ane(t){let e=`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/${nne}/css/all.min.css`;if(t.includes("fa:")&&!document.querySelector(`link[href="${e}"]`)){let r=document.createElement("link");r.rel="stylesheet",r.type="text/css",r.href=e,document.head.appendChild(r)}}var Cx=class{constructor(e,r,{baseUrl:i=null,defaultCodeLanguage:n=null,emptyText:o="",allowedUriSchemes:a=[]}={}){this.container=e,this.content=r,this.baseUrl=i,this.defaultCodeLanguage=n,this.emptyText=o,this.allowedUriSchemes=a,this.render()}setContent(e){this.content=e,this.render()}render(){this.getHtml().then(e=>{let r=`<div>${e}</div>`;t6(this.container,r,{childrenOnly:!0})})}getHtml(){return Zd().use(o0).use(m0).use(B0).use(fne).use(lne,{highlight:XO,defaultLanguage:this.defaultCodeLanguage}).use(K0,{allowDangerousHtml:!0}).use(Sp).use(cne,{baseUrl:this.baseUrl}).use(Pp,sne(this.allowedUriSchemes)).use(Ep).use(hne).use(dne,{baseUrl:this.baseUrl}).use(Rp).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>
`)}},ml=Cx;function sne(t){return Be(oe({},Tn),{attributes:Be(oe({},Tn.attributes),{"*":[...Tn.attributes["*"]||[],"className","style"]}),protocols:Be(oe({},Tn.protocols),{href:[...Tn.protocols.href,...t]})})}function lne(t){return e=>{let r=[];return Zr(e,"code",i=>{let n=i.lang||t.defaultLanguage;if(n){let o=function(s){i.type="html",i.value=`<pre><code>${s}</code></pre>`},a=t.highlight(i.value,n);if(a&&typeof a.then=="function"){let s=Promise.resolve(a).then(o);r.push(s)}else o(a)}}),Promise.all(r).then(()=>null)}}function cne(t){return e=>{t.baseUrl&&Zr(e,"element",r=>{if(r.tagName==="a"&&r.properties){let i=r.properties.href;i&&!Px(i)&&!_x(i)&&!pne(i)&&(r.properties.href=gX(t.baseUrl,i))}if(r.tagName==="img"&&r.properties){let i=r.properties.src;i&&!Px(i)&&!_x(i)&&(r.properties.src=gX(t.baseUrl,i))}}),Zr(e,"element",r=>{r.tagName==="a"&&r.properties&&r.properties.href&&(r.properties.href=r.properties.href.split("/").map(i=>i===".."?"__parent__":i).join("/"))})}}var une=Zd().use(Cp,{fragment:!0});function fne(t){return e=>{Zr(e,"code",(r,i,n)=>{r.lang==="mermaid"&&(r.type="html",r.value=`
<div class="mermaid">${Ah(r.value)}</div>
`)})}}function hne(t){return e=>{let r=[];return Zr(e,"element",i=>{if((i.properties&&Array.isArray(i.properties.className)?i.properties.className:[]).includes("mermaid")){let o=function(l){let c=une.parse(l);Q4(c,!0),i.children=c.children},a=vf(i,{whitespace:"pre"}),s=OX(a).then(o);r.push(s)}}),Promise.all(r).then(()=>null)}}function dne(t){return e=>{Zr(e,"element",r=>{if(r.properties&&r.properties.href){let i=r.properties.href;_x(i)?(r.properties["data-phx-link"]=t.baseUrl&&i.startsWith(t.baseUrl)?"patch":"redirect",r.properties["data-phx-link-state"]="push"):Px(i)&&(r.properties.target="_blank",r.properties.rel="noreferrer noopener")}})}}function Px(t){return/^(?:[a-z]+:)?\/\//i.test(t)}function pne(t){return t.startsWith("#")}function _x(t){return t.startsWith("/")||t.startsWith(window.location.origin)}function gX(t,e){return t.replace(/\/$/,"")+"/"+e}var Nc=class{constructor(){this.subscribersByTopic={}}subscribe(e,r){return Array.isArray(this.subscribersByTopic[e])||(this.subscribersByTopic[e]=[]),this.subscribersByTopic[e].push(r),{destroy:()=>{this.unsubscribe(e,r)}}}unsubscribe(e,r){let i=this.subscribersByTopic[e].indexOf(r);i!==-1&&(this.subscribersByTopic[e].splice(i,1),this.subscribersByTopic[e].length===0&&delete this.subscribersByTopic[e])}broadcast(e,r){Array.isArray(this.subscribersByTopic[e])&&this.subscribersByTopic[e].forEach(i=>{i(r)})}},_r=new Nc;var bX=t=>typeof t=="object"&&t!=null&&t.nodeType===1,yX=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",Ax=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let r=getComputedStyle(t,null);return yX(r.overflowY,e)||yX(r.overflowX,e)||(i=>{let n=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(a){return null}})(i);return!!n&&(n.clientHeight<i.scrollHeight||n.clientWidth<i.scrollWidth)})(t)}return!1},RO=(t,e,r,i,n,o,a,s)=>o<t&&a>e||o>t&&a<e?0:o<=t&&s<=r||a>=e&&s>=r?o-t-i:a>e&&s<r||o<t&&s>r?a-e+n:0,mne=t=>{let e=t.parentElement;return e==null?t.getRootNode().host||null:e},Qx=(t,e)=>{var r,i,n,o;if(typeof document=="undefined")return[];let{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=e,f=typeof c=="function"?c:ue=>ue!==c;if(!bX(t))throw new TypeError("Invalid target");let d=document.scrollingElement||document.documentElement,p=[],O=t;for(;bX(O)&&f(O);){if(O=mne(O),O===d){p.push(O);break}O!=null&&O===document.body&&Ax(O)&&!Ax(document.documentElement)||O!=null&&Ax(O,u)&&p.push(O)}let x=(i=(r=window.visualViewport)==null?void 0:r.width)!=null?i:innerWidth,k=(o=(n=window.visualViewport)==null?void 0:n.height)!=null?o:innerHeight,{scrollX:w,scrollY:C}=window,{height:Q,width:L,top:N,right:I,bottom:H,left:j}=t.getBoundingClientRect(),Y=s==="start"||s==="nearest"?N:s==="end"?H:N+Q/2,V=l==="center"?j+L/2:l==="end"?I:j,ne=[];for(let ue=0;ue<p.length;ue++){let he=p[ue],{height:ge,width:ve,top:_e,right:ae,bottom:pe,left:J}=he.getBoundingClientRect();if(a==="if-needed"&&N>=0&&j>=0&&H<=k&&I<=x&&N>=_e&&H<=pe&&j>=J&&I<=ae)return ne;let _=getComputedStyle(he),K=parseInt(_.borderLeftWidth,10),se=parseInt(_.borderTopWidth,10),q=parseInt(_.borderRightWidth,10),Je=parseInt(_.borderBottomWidth,10),st=0,at=0,Ce="offsetWidth"in he?he.offsetWidth-he.clientWidth-K-q:0,Ze="offsetHeight"in he?he.offsetHeight-he.clientHeight-se-Je:0,Rt="offsetWidth"in he?he.offsetWidth===0?0:ve/he.offsetWidth:0,ut="offsetHeight"in he?he.offsetHeight===0?0:ge/he.offsetHeight:0;if(d===he)st=s==="start"?Y:s==="end"?Y-k:s==="nearest"?RO(C,C+k,k,se,Je,C+Y,C+Y+Q,Q):Y-k/2,at=l==="start"?V:l==="center"?V-x/2:l==="end"?V-x:RO(w,w+x,x,K,q,w+V,w+V+L,L),st=Math.max(0,st+C),at=Math.max(0,at+w);else{st=s==="start"?Y-_e-se:s==="end"?Y-pe+Je+Ze:s==="nearest"?RO(_e,pe,ge,se,Je+Ze,Y,Y+Q,Q):Y-(_e+ge/2)+Ze/2,at=l==="start"?V-J-K:l==="center"?V-(J+ve/2)+Ce/2:l==="end"?V-ae+q+Ce:RO(J,ae,ve,K,q+Ce,V,V+L,L);let{scrollLeft:Ur,scrollTop:Ar}=he;st=Math.max(0,Math.min(Ar+st/ut,he.scrollHeight-ge/ut+Ze)),at=Math.max(0,Math.min(Ur+at/Rt,he.scrollWidth-ve/Rt+Ce)),Y+=Ar-st,V+=Ur-at}ne.push({el:he,top:st,left:at})}return ne};var One=t=>t===!1?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&Object.keys(e).length!==0)(t)?t:{block:"start",inline:"nearest"};function IO(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 r=(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(Qx(t,e));let i=typeof e=="boolean"||e==null?void 0:e.behavior;for(let{el:n,top:o,left:a}of Qx(t,One(e))){let s=o-r.top+r.bottom,l=a-r.left+r.right;n.scroll({top:s,left:l,behavior:i})}}function Ol(t){return["code","smart","setup"].includes(t)}function vX(t){return["markdown","code","setup"].includes(t)}var gne={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:r}=t.detail;this.handleCellEditorCreated(e,r)}),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=[_r.subscribe("navigation",this.handleNavigationEvent.bind(this)),_r.subscribe("cells",this.handleCellsEvent.bind(this)),_r.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 $t(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&&pl(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(()=>{this.isFocused&&this.insertMode&&this.currentEditor().focus()}),e.onFocus(()=>{(!this.isFocused||!this.insertMode)&&this.currentEditor().blur()}),t==="primary"){let r=e.getSource();if(this.el.toggleAttribute("data-js-empty",r===""),e.onChange(i=>{this.el.toggleAttribute("data-js-empty",i==="")}),this.props.type==="markdown"){let i=this.el.querySelector("[data-el-markdown-container]"),n=new ml(i,r,{baseUrl:this.props.sessionPath,emptyText:"Empty markdown cell",allowedUriSchemes:this.props.allowedUriSchemes});e.onChange(o=>{n.setContent(o)})}Ol(this.props.type)&&(this.updateChangeIndicator(),e.onChange(i=>{this.updateChangeIndicator()}),this.handleEvent(`evaluation_finished:${this.props.cellId}`,({code_markers:i})=>{e.setCodeMarkers(i)}),this.handleEvent(`start_evaluation:${this.props.cellId}`,()=>{e.clearDoctests()}),this.handleEvent(`doctest_report:${this.props.cellId}`,i=>{e.updateDoctests([i])}),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 r=this.liveEditors.primary.getSource(),i=_O(r),n=this.props.evaluationDigest!==i;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&&pl(this.el)},handleDispatchQueueEvaluation(t){this.props.type==="smart"&&this.props.smartCellJsViewRef?_r.broadcast(`js_views:${this.props.smartCellJsViewRef}`,{type:"sync",callback:t}):t()},scrollEditorCursorIntoViewIfNeeded(){let t=this.currentEditor().getElementAtCursor();IO(t,{scrollMode:"if-needed",behavior:"smooth",block:"center"})}},xX=gne;var Rh=t=>{let{state:e}=t,r=e.doc.lineAt(e.selection.main.from),i=Rx(t.state,r.from);return i.line?bne(t):i.block?yne(t):!1};function Ih(t,e){return({state:r,dispatch:i})=>{if(r.readOnly)return!1;let n=t(e,r);return n?(i(r.update(n)),!0):!1}}var bne=Ih(Ix,0),wX=Ih(Ix,1),kX=Ih(Ix,2),SX=Ih(TX,0);var yne=Ih((t,e)=>TX(t,e,xne(e)),0);function Rx(t,e){let r=t.languageDataAt("commentTokens",e);return r.length?r[0]:{}}var Xh=50;function vne(t,{open:e,close:r},i,n){let o=t.sliceDoc(i-Xh,i),a=t.sliceDoc(n,n+Xh),s=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(a)[0].length,c=o.length-s;if(o.slice(c-e.length,c)==e&&a.slice(l,l+r.length)==r)return{open:{pos:i-s,margin:s&&1},close:{pos:n+l,margin:l&&1}};let u,f;n-i<=2*Xh?u=f=t.sliceDoc(i,n):(u=t.sliceDoc(i,i+Xh),f=t.sliceDoc(n-Xh,n));let d=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(f)[0].length,O=f.length-p-r.length;return u.slice(d,d+e.length)==e&&f.slice(O,O+r.length)==r?{open:{pos:i+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:n-p-r.length,margin:/\s/.test(f.charAt(O-1))?1:0}}:null}function xne(t){let e=[];for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),n=r.to<=i.to?i:t.doc.lineAt(r.to),o=e.length-1;o>=0&&e[o].to>i.from?e[o].to=n.to:e.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:n.to})}return e}function TX(t,e,r=e.selection.ranges){let i=r.map(o=>Rx(e,o.from).block);if(!i.every(o=>o))return null;let n=r.map((o,a)=>vne(e,i[a],o.from,o.to));if(t!=2&&!n.every(o=>o))return{changes:e.changes(r.map((o,a)=>n[a]?[]:[{from:o.from,insert:i[a].open+" "},{from:o.to,insert:" "+i[a].close}]))};if(t!=1&&n.some(o=>o)){let o=[];for(let a=0,s;a<n.length;a++)if(s=n[a]){let l=i[a],{open:c,close:u}=s;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 Ix(t,e,r=e.selection.ranges){let i=[],n=-1;for(let{from:o,to:a}of r){let s=i.length,l=1e9,c=Rx(e,o).line;if(c){for(let u=o;u<=a;){let f=e.doc.lineAt(u);if(f.from>n&&(o==a||a>f.from)){n=f.from;let d=/^\s*/.exec(f.text)[0].length,p=d==f.length,O=f.text.slice(d,d+c.length)==c?d:-1;d<f.text.length&&d<l&&(l=d),i.push({line:f,comment:O,token:c,indent:d,empty:p,single:!1})}u=f.to+1}if(l<1e9)for(let u=s;u<i.length;u++)i[u].indent<i[u].line.text.length&&(i[u].indent=l);i.length==s+1&&(i[s].single=!0)}}if(t!=2&&i.some(o=>o.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:s,token:l,indent:c,empty:u,single:f}of i)(f||!u)&&o.push({from:s.from+c,insert:l+" "});let a=e.changes(o);return{changes:a,selection:e.selection.map(a,1)}}else if(t!=1&&i.some(o=>o.comment>=0)){let o=[];for(let{line:a,comment:s,token:l}of i)if(s>=0){let c=a.from+s,u=c+l.length;a.text[u-a.from]==" "&&u++,o.push({from:c,to:u})}return{changes:o}}return null}var Xx=Jr.define(),wne=Jr.define(),kne=$e.define(),EX=$e.define({combine(t){return Vt(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,r)=>r},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,r)=>(i,n)=>e(i,n)||r(i,n)})}}),CX=Ot.define({create(){return gl.empty},update(t,e){let r=e.state.facet(EX),i=e.annotation(Xx);if(i){let l=$n.fromTransaction(e,i.selection),c=i.side,u=c==0?t.undone:t.done;return l?u=MO(u,u.length,r.minDepth,l):u=QX(u,e.startState.selection),new gl(c==0?i.rest:u,c==0?u:i.rest)}let n=e.annotation(wne);if((n=="full"||n=="before")&&(t=t.isolate()),e.annotation(Jt.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=$n.fromTransaction(e),a=e.annotation(Jt.time),s=e.annotation(Jt.userEvent);return o?t=t.addChanges(o,a,s,r,e):e.selection&&(t=t.addSelection(e.startState.selection,a,s,r.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 gl(t.done.map($n.fromJSON),t.undone.map($n.fromJSON))}});function PX(t={}){return[CX,EX.of(t),we.domEventHandlers({beforeinput(e,r){let i=e.inputType=="historyUndo"?bl:e.inputType=="historyRedo"?us:null;return i?(e.preventDefault(),i(r)):!1}})]}function Lx(t,e){return function({state:r,dispatch:i}){if(!e&&r.readOnly)return!1;let n=r.field(CX,!1);if(!n)return!1;let o=n.pop(t,r,e);return o?(i(o),!0):!1}}var bl=Lx(0,!1),us=Lx(1,!1),_X=Lx(0,!0);var $n=class t{constructor(e,r,i,n,o){this.changes=e,this.effects=r,this.mapped=i,this.startSelection=n,this.selectionsAfter=o}setSelAfter(e){return new t(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,r,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(r=this.mapped)===null||r===void 0?void 0:r.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(n=>n.toJSON())}}static fromJSON(e){return new t(e.changes&&hi.fromJSON(e.changes),[],e.mapped&&Fo.fromJSON(e.mapped),e.startSelection&&ce.fromJSON(e.startSelection),e.selectionsAfter.map(ce.fromJSON))}static fromTransaction(e,r){let i=fn;for(let n of e.startState.facet(kne)){let o=n(e);o.length&&(i=i.concat(o))}return!i.length&&e.changes.empty?null:new t(e.changes.invert(e.startState.doc),i,void 0,r||e.startState.selection,fn)}static selection(e){return new t(void 0,fn,void 0,void 0,e)}};function MO(t,e,r,i){let n=e+1>r+20?e-r-1:0,o=t.slice(n,e);return o.push(i),o}function Sne(t,e){let r=[],i=!1;return t.iterChangedRanges((n,o)=>r.push(n,o)),e.iterChangedRanges((n,o,a,s)=>{for(let l=0;l<r.length;){let c=r[l++],u=r[l++];s>=c&&a<=u&&(i=!0)}}),i}function Tne(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((r,i)=>r.empty!=e.ranges[i].empty).length===0}function AX(t,e){return t.length?e.length?t.concat(e):t:e}var fn=[],Ene=200;function QX(t,e){if(t.length){let r=t[t.length-1],i=r.selectionsAfter.slice(Math.max(0,r.selectionsAfter.length-Ene));return i.length&&i[i.length-1].eq(e)?t:(i.push(e),MO(t,t.length-1,1e9,r.setSelAfter(i)))}else return[$n.selection([e])]}function Cne(t){let e=t[t.length-1],r=t.slice();return r[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),r}function $x(t,e){if(!t.length)return t;let r=t.length,i=fn;for(;r;){let n=Pne(t[r-1],e,i);if(n.changes&&!n.changes.empty||n.effects.length){let o=t.slice(0,r);return o[r-1]=n,o}else e=n.mapped,r--,i=n.selectionsAfter}return i.length?[$n.selection(i)]:fn}function Pne(t,e,r){let i=AX(t.selectionsAfter.length?t.selectionsAfter.map(s=>s.map(e)):fn,r);if(!t.changes)return $n.selection(i);let n=t.changes.map(e),o=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(o):o;return new $n(n,De.mapEffects(t.effects,e),a,t.startSelection.map(o),i)}var _ne=/^(input\.type|delete)($|\.)/,gl=class t{constructor(e,r,i=0,n=void 0){this.done=e,this.undone=r,this.prevTime=i,this.prevUserEvent=n}isolate(){return this.prevTime?new t(this.done,this.undone):this}addChanges(e,r,i,n,o){let a=this.done,s=a[a.length-1];return s&&s.changes&&!s.changes.empty&&e.changes&&(!i||_ne.test(i))&&(!s.selectionsAfter.length&&r-this.prevTime<n.newGroupDelay&&n.joinToEvent(o,Sne(s.changes,e.changes))||i=="input.type.compose")?a=MO(a,a.length-1,n.minDepth,new $n(e.changes.compose(s.changes),AX(e.effects,s.effects),s.mapped,s.startSelection,fn)):a=MO(a,a.length,n.minDepth,e),new t(a,fn,r,i)}addSelection(e,r,i,n){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:fn;return o.length>0&&r-this.prevTime<n&&i==this.prevUserEvent&&i&&/^select($|\.)/.test(i)&&Tne(o[o.length-1],e)?this:new t(QX(this.done,e),this.undone,r,i)}addMapping(e){return new t($x(this.done,e),$x(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,r,i){let n=e==0?this.done:this.undone;if(n.length==0)return null;let o=n[n.length-1],a=o.selectionsAfter[0]||r.selection;if(i&&o.selectionsAfter.length)return r.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:Xx.of({side:e,rest:Cne(n),selection:a}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(o.changes){let s=n.length==1?fn:n.slice(0,n.length-1);return o.mapped&&(s=$x(s,o.mapped)),r.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:Xx.of({side:e,rest:s,selection:a}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}};gl.empty=new gl(fn,fn);function Lh(t,e){return ce.create(t.ranges.map(e),t.mainIndex)}function fs(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function yl({state:t,dispatch:e},r){let i=Lh(t.selection,r);return i.eq(t.selection,!0)?!1:(e(fs(t,i)),!0)}function zO(t,e){return ce.cursor(e?t.to:t.from)}function DO(t,e){return yl(t,r=>r.empty?t.moveByChar(r,e):zO(r,e))}function hs(t){return t.textDirectionAt(t.state.selection.main.head)==Ct.LTR}var Mh=t=>DO(t,!hs(t)),Mx=t=>DO(t,hs(t)),$X=t=>DO(t,!0),NO=t=>DO(t,!1);function XX(t,e){return yl(t,r=>r.empty?t.moveByGroup(r,e):zO(r,e))}var UO=t=>XX(t,!hs(t)),qO=t=>XX(t,hs(t));var l6e=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function RX(t,e){return yl(t,r=>{if(!r.empty)return zO(r,e);let i=t.moveVertically(r,e);return i.head!=r.head?i:t.moveToLineBoundary(r,e)})}var zh=t=>RX(t,!1),Dh=t=>RX(t,!0);function IX(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,r=0,i=0,n;if(e){for(let o of t.state.facet(we.scrollMargins)){let a=o(t);a!=null&&a.top&&(r=Math.max(a==null?void 0:a.top,r)),a!=null&&a.bottom&&(i=Math.max(a==null?void 0:a.bottom,i))}n=t.scrollDOM.clientHeight-r-i}else n=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:i,selfScroll:e,height:Math.max(t.defaultLineHeight,n-5)}}function LX(t,e){let r=IX(t),{state:i}=t,n=Lh(i.selection,a=>a.empty?t.moveVertically(a,e,r.height):zO(a,e));if(n.eq(i.selection))return!1;let o;if(r.selfScroll){let a=t.coordsAtPos(i.selection.main.head),s=t.scrollDOM.getBoundingClientRect(),l=s.top+r.marginTop,c=s.bottom-r.marginBottom;a&&a.top>l&&a.bottom<c&&(o=we.scrollIntoView(n.main.head,{y:"start",yMargin:a.top-l}))}return t.dispatch(fs(i,n),{effects:o}),!0}var Uc=t=>LX(t,!1),qc=t=>LX(t,!0);function BO(t,e,r){let i=t.lineBlockAt(e.head),n=t.moveToLineBoundary(e,r);if(n.head==e.head&&n.head!=(r?i.to:i.from)&&(n=t.moveToLineBoundary(e,r,!1)),!r&&n.head==i.from&&i.length){let o=/^\s*/.exec(t.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;o&&e.head!=i.from+o&&(n=ce.cursor(i.from+o))}return n}var Nh=t=>yl(t,e=>BO(t,e,!0)),Uh=t=>yl(t,e=>BO(t,e,!1));var jO=t=>yl(t,e=>ce.cursor(t.lineBlockAt(e.head).from,1)),WO=t=>yl(t,e=>ce.cursor(t.lineBlockAt(e.head).to,-1));function Ane(t,e,r){let i=!1,n=Lh(t.selection,o=>{let a=cn(t,o.head,-1)||cn(t,o.head,1)||o.head>0&&cn(t,o.head-1,1)||o.head<t.doc.length&&cn(t,o.head+1,-1);if(!a||!a.end)return o;i=!0;let s=a.start.from==o.head?a.end.to:a.end.from;return r?ce.range(o.anchor,s):ce.cursor(s)});return i?(e(fs(t,n)),!0):!1}var MX=({state:t,dispatch:e})=>Ane(t,e,!1);function ds(t,e){let r=Lh(t.state.selection,i=>{let n=e(i);return ce.range(i.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return r.eq(t.state.selection)?!1:(t.dispatch(fs(t.state,r)),!0)}function VO(t,e){return ds(t,r=>t.moveByChar(r,e))}var zx=t=>VO(t,!hs(t)),Dx=t=>VO(t,hs(t)),Nx=t=>VO(t,!0),Ux=t=>VO(t,!1);function FO(t,e){return ds(t,r=>t.moveByGroup(r,e))}var ZO=t=>FO(t,!hs(t)),YO=t=>FO(t,hs(t)),zX=t=>FO(t,!0),DX=t=>FO(t,!1);function NX(t,e){return ds(t,r=>t.moveVertically(r,e))}var Bc=t=>NX(t,!1),jc=t=>NX(t,!0);function UX(t,e){return ds(t,r=>t.moveVertically(r,e,IX(t).height))}var qh=t=>UX(t,!1),vl=t=>UX(t,!0),qx=t=>ds(t,e=>BO(t,e,!0)),Bx=t=>ds(t,e=>BO(t,e,!1));var Bh=t=>ds(t,e=>ce.cursor(t.lineBlockAt(e.head).from)),jh=t=>ds(t,e=>ce.cursor(t.lineBlockAt(e.head).to)),Wh=({state:t,dispatch:e})=>(e(fs(t,{anchor:0})),!0),Vh=({state:t,dispatch:e})=>(e(fs(t,{anchor:t.doc.length})),!0),Wc=({state:t,dispatch:e})=>(e(fs(t,{anchor:t.selection.main.anchor,head:0})),!0),Vc=({state:t,dispatch:e})=>(e(fs(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),HO=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),qX=({state:t,dispatch:e})=>{let r=JO(t).map(({from:i,to:n})=>ce.range(i,Math.min(n+1,t.doc.length)));return e(t.update({selection:ce.create(r),userEvent:"select"})),!0};function GO(t,e){if(t.state.readOnly)return!1;let r="delete.selection",{state:i}=t,n=i.changeByRange(o=>{let{from:a,to:s}=o;if(a==s){let l=e(o);l<a?(r="delete.backward",l=LO(t,l,!1)):l>a&&(r="delete.forward",l=LO(t,l,!0)),a=Math.min(a,l),s=Math.max(s,l)}else a=LO(t,a,!1),s=LO(t,s,!0);return a==s?{range:o}:{changes:{from:a,to:s},range:ce.cursor(a,a<o.head?-1:1)}});return n.changes.empty?!1:(t.dispatch(i.update(n,{scrollIntoView:!0,userEvent:r,effects:r=="delete.selection"?we.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function LO(t,e,r){if(t instanceof we)for(let i of t.state.facet(we.atomicRanges).map(n=>n(t)))i.between(e,e,(n,o)=>{n<e&&o>e&&(e=r?o:n)});return e}var BX=(t,e)=>GO(t,r=>{let i=r.from,{state:n}=t,o=n.doc.lineAt(i),a,s;if(!e&&i>o.from&&i<o.from+200&&!/[^ \t]/.test(a=o.text.slice(0,i-o.from))){if(a[a.length-1]==" ")return i-1;let l=di(a,n.tabSize),c=l%co(n)||co(n);for(let u=0;u<c&&a[a.length-1-u]==" ";u++)i--;s=i}else s=dr(o.text,i-o.from,e,e)+o.from,s==i&&o.number!=(e?n.doc.lines:1)?s+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(o.text.slice(s-o.from,i-o.from))&&(s=dr(o.text,s-o.from,!1,!1)+o.from);return s}),Fc=t=>BX(t,!1),Fh=t=>BX(t,!0),jX=(t,e)=>GO(t,r=>{let i=r.head,{state:n}=t,o=n.doc.lineAt(i),a=n.charCategorizer(i);for(let s=null;;){if(i==(e?o.to:o.from)){i==r.head&&o.number!=(e?n.doc.lines:1)&&(i+=e?1:-1);break}let l=dr(o.text,i-o.from,e)+o.from,c=o.text.slice(Math.min(i,l)-o.from,Math.max(i,l)-o.from),u=a(c);if(s!=null&&u!=s)break;(c!=" "||i!=r.head)&&(s=u),i=l}return i}),jx=t=>jX(t,!1),WX=t=>jX(t,!0),Wx=t=>GO(t,e=>{let r=t.lineBlockAt(e.head).to;return e.head<r?r:Math.min(t.state.doc.length,e.head+1)}),VX=t=>GO(t,e=>{let r=t.lineBlockAt(e.head).from;return e.head>r?r:Math.max(0,e.head-1)});var Zh=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:gt.of(["",""])},range:ce.cursor(i.from)}));return e(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0},KO=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(i=>{if(!i.empty||i.from==0||i.from==t.doc.length)return{range:i};let n=i.from,o=t.doc.lineAt(n),a=n==o.from?n-1:dr(o.text,n-o.from,!1)+o.from,s=n==o.to?n+1:dr(o.text,n-o.from,!0)+o.from;return{changes:{from:a,to:s,insert:t.doc.slice(n,s).append(t.doc.slice(a,n))},range:ce.cursor(s)}});return r.changes.empty?!1:(e(t.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function JO(t){let e=[],r=-1;for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),o=t.doc.lineAt(i.to);if(!i.empty&&i.to==o.from&&(o=t.doc.lineAt(i.to-1)),r>=n.number){let a=e[e.length-1];a.to=o.to,a.ranges.push(i)}else e.push({from:n.from,to:o.to,ranges:[i]});r=o.number+1}return e}function FX(t,e,r){if(t.readOnly)return!1;let i=[],n=[];for(let o of JO(t)){if(r?o.to==t.doc.length:o.from==0)continue;let a=t.doc.lineAt(r?o.to+1:o.from-1),s=a.length+1;if(r){i.push({from:o.to,to:a.to},{from:o.from,insert:a.text+t.lineBreak});for(let l of o.ranges)n.push(ce.range(Math.min(t.doc.length,l.anchor+s),Math.min(t.doc.length,l.head+s)))}else{i.push({from:a.from,to:o.from},{from:o.to,insert:t.lineBreak+a.text});for(let l of o.ranges)n.push(ce.range(l.anchor-s,l.head-s))}}return i.length?(e(t.update({changes:i,scrollIntoView:!0,selection:ce.create(n,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}var ZX=({state:t,dispatch:e})=>FX(t,e,!1),YX=({state:t,dispatch:e})=>FX(t,e,!0);function HX(t,e,r){if(t.readOnly)return!1;let i=[];for(let n of JO(t))r?i.push({from:n.from,insert:t.doc.slice(n.from,n.to)+t.lineBreak}):i.push({from:n.to,insert:t.lineBreak+t.doc.slice(n.from,n.to)});return e(t.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var GX=({state:t,dispatch:e})=>HX(t,e,!1),KX=({state:t,dispatch:e})=>HX(t,e,!0),JX=t=>{if(t.state.readOnly)return!1;let{state:e}=t,r=e.changes(JO(e).map(({from:n,to:o})=>(n>0?n--:o<e.doc.length&&o++,{from:n,to:o}))),i=Lh(e.selection,n=>t.moveVertically(n,!0)).map(r);return t.dispatch({changes:r,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Qne(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let r=ct(t).resolveInner(e),i=r.childBefore(e),n=r.childAfter(e),o;return i&&n&&i.to<=e&&n.from>=e&&(o=i.type.prop(We.closedBy))&&o.indexOf(n.name)>-1&&t.doc.lineAt(i.to).from==t.doc.lineAt(n.from).from&&!/\S/.test(t.sliceDoc(i.to,n.from))?{from:i.to,to:n.from}:null}var Yh=$ne(!1);function $ne(t){return({state:e,dispatch:r})=>{if(e.readOnly)return!1;let i=e.changeByRange(n=>{let{from:o,to:a}=n,s=e.doc.lineAt(o),l=!t&&o==a&&Qne(e,o);t&&(o=a=(a<=s.to?s:e.doc.lineAt(a)).to);let c=new el(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=Pc(c,o);for(u==null&&(u=di(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));a<s.to&&/\s/.test(s.text[a-s.from]);)a++;l?{from:o,to:a}=l:o>s.from&&o<s.from+100&&!/\S/.test(s.text.slice(0,o))&&(o=s.from);let f=["",Ko(e,u)];return l&&f.push(Ko(e,c.lineIndent(s.from,-1))),{changes:{from:o,to:a,insert:gt.of(f)},range:ce.cursor(o+1+f[1].length)}});return r(e.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function Vx(t,e){let r=-1;return t.changeByRange(i=>{let n=[];for(let a=i.from;a<=i.to;){let s=t.doc.lineAt(a);s.number>r&&(i.empty||i.to>s.from)&&(e(s,n,i),r=s.number),a=s.to+1}let o=t.changes(n);return{changes:n,range:ce.range(o.mapPos(i.anchor,1),o.mapPos(i.head,1))}})}var eR=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=Object.create(null),i=new el(t,{overrideIndentation:o=>{let a=r[o];return a==null?-1:a}}),n=Vx(t,(o,a,s)=>{let l=Pc(i,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=Ko(t,l);(c!=u||s.from<o.from+c.length)&&(r[o.from]=l,a.push({from:o.from,to:o.from+c.length,insert:u}))});return n.changes.empty||e(t.update(n,{userEvent:"indent"})),!0},Hh=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Vx(t,(r,i)=>{i.push({from:r.from,insert:t.facet(_n)})}),{userEvent:"input.indent"})),!0),Gh=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Vx(t,(r,i)=>{let n=/^\s*/.exec(r.text)[0];if(!n)return;let o=di(n,t.tabSize),a=0,s=Ko(t,Math.max(0,o-co(t)));for(;a<n.length&&a<s.length&&n.charCodeAt(a)==s.charCodeAt(a);)a++;i.push({from:r.from+a,to:r.from+n.length,insert:s.slice(a)})}),{userEvent:"delete.dedent"})),!0);function At(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,r=arguments[1];if(r&&typeof r=="object"&&r.nodeType==null&&!Array.isArray(r)){for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){var n=r[i];typeof n=="string"?t.setAttribute(i,n):n!=null&&(t[i]=n)}e++}for(;e<arguments.length;e++)tR(t,arguments[e]);return t}function tR(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 r=0;r<e.length;r++)tR(t,e[r]);else throw new RangeError("Unsupported child node: "+e)}var rR=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t,ms=class{constructor(e,r,i=0,n=e.length,o,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,n),this.bufferStart=i,this.normalize=o?s=>o(rR(s)):rR,this.query=this.normalize(r)}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 hr(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 r=_f(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=fi(e);let n=this.normalize(r);for(let o=0,a=i;;o++){let s=n.charCodeAt(o),l=this.match(s,a);if(o==n.length-1){if(l)return this.value=l,this;break}a==i&&o<r.length&&r.charCodeAt(o)==s&&a++}}}match(e,r){let i=null;for(let n=0;n<this.matches.length;n+=2){let o=this.matches[n],a=!1;this.query.charCodeAt(o)==e&&(o==this.query.length-1?i={from:this.matches[n+1],to:r+1}:(this.matches[n]++,a=!0)),a||(this.matches.splice(n,2),n-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?i={from:r,to:r+1}:this.matches.push(1,r)),i&&this.test&&!this.test(i.from,i.to,this.buffer,this.bufferStart)&&(i=null),i}};typeof Symbol!="undefined"&&(ms.prototype[Symbol.iterator]=function(){return this});var lR={from:-1,to:-1,match:/.*/.exec("")},Jx="gm"+(/x/.unicode==null?"":"u"),Hc=class{constructor(e,r,i,n=0,o=e.length){if(this.text=e,this.to=o,this.curLine="",this.done=!1,this.value=lR,/\\[sWDnr]|\n|\r|\[\^/.test(r))return new ig(e,r,i,n,o);this.re=new RegExp(r,Jx+(i!=null&&i.ignoreCase?"i":"")),this.test=i==null?void 0:i.test,this.iter=e.iter();let a=e.lineAt(n);this.curLineStart=a.from,this.matchPos=ng(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 r=this.matchPos<=this.to&&this.re.exec(this.curLine);if(r){let i=this.curLineStart+r.index,n=i+r[0].length;if(this.matchPos=ng(this.text,n+(i==n?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(i<n||i>this.value.to)&&(!this.test||this.test(i,n,r)))return this.value={from:i,to:n,match:r},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}}},Fx=new WeakMap,rg=class t{constructor(e,r){this.from=e,this.text=r}get to(){return this.from+this.text.length}static get(e,r,i){let n=Fx.get(e);if(!n||n.from>=i||n.to<=r){let s=new t(r,e.sliceString(r,i));return Fx.set(e,s),s}if(n.from==r&&n.to==i)return n;let{text:o,from:a}=n;return a>r&&(o=e.sliceString(r,a)+o,a=r),n.to<i&&(o+=e.sliceString(n.to,i)),Fx.set(e,new t(a,o)),new t(r,o.slice(r-a,i-a))}},ig=class{constructor(e,r,i,n,o){this.text=e,this.to=o,this.done=!1,this.value=lR,this.matchPos=ng(e,n),this.re=new RegExp(r,Jx+(i!=null&&i.ignoreCase?"i":"")),this.test=i==null?void 0:i.test,this.flat=rg.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,r=this.re.exec(this.flat.text);if(r&&!r[0]&&r.index==e&&(this.re.lastIndex=e+1,r=this.re.exec(this.flat.text)),r){let i=this.flat.from+r.index,n=i+r[0].length;if((this.flat.to>=this.to||r.index+r[0].length<=this.flat.text.length-10)&&(!this.test||this.test(i,n,r)))return this.value={from:i,to:n,match:r},this.matchPos=ng(this.text,n+(i==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=rg.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol!="undefined"&&(Hc.prototype[Symbol.iterator]=ig.prototype[Symbol.iterator]=function(){return this});function Rne(t){try{return new RegExp(t,Jx),!0}catch(e){return!1}}function ng(t,e){if(e>=t.length)return e;let r=t.lineAt(e),i;for(;e<r.to&&(i=r.text.charCodeAt(e-r.from))>=56320&&i<57344;)e++;return e}function Zx(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),r=At("input",{class:"cm-textfield",name:"line",value:e}),i=At("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:og.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),n())},onsubmit:o=>{o.preventDefault(),n()}},At("label",t.state.phrase("Go to line"),": ",r)," ",At("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function n(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(r.value);if(!o)return;let{state:a}=t,s=a.doc.lineAt(a.selection.main.head),[,l,c,u,f]=o,d=u?+u.slice(1):0,p=c?+c:s.number;if(c&&f){let k=p/100;l&&(k=k*(l=="-"?-1:1)+s.number/a.doc.lines),p=Math.round(a.doc.lines*k)}else c&&l&&(p=p*(l=="-"?-1:1)+s.number);let O=a.doc.line(Math.max(1,Math.min(a.doc.lines,p))),x=ce.cursor(O.from+Math.max(0,Math.min(d,O.length)));t.dispatch({effects:[og.of(!1),we.scrollIntoView(x.from,{y:"center"})],selection:x}),t.focus()}return{dom:i}}var og=De.define(),iR=Ot.define({create(){return!0},update(t,e){for(let r of e.effects)r.is(og)&&(t=r.value);return t},provide:t=>sn.from(t,e=>e?Zx:null)}),cR=t=>{let e=Gs(t,Zx);if(!e){let r=[og.of(!0)];t.state.field(iR,!1)==null&&r.push(De.appendConfig.of([iR,Ine])),t.dispatch({effects:r}),e=Gs(t,Zx)}return e&&e.dom.querySelector("input").select(),!0},Ine=we.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),Lne={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},uR=$e.define({combine(t){return Vt(t,Lne,{highlightWordAroundCursor:(e,r)=>e||r,minSelectionLength:Math.min,maxMatches:Math.min})}});function fR(t){let e=[Une,Nne];return t&&e.push(uR.of(t)),e}var Mne=Le.mark({class:"cm-selectionMatch"}),zne=Le.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function nR(t,e,r,i){return(r==0||t(e.sliceDoc(r-1,r))!=Xt.Word)&&(i==e.doc.length||t(e.sliceDoc(i,i+1))!=Xt.Word)}function Dne(t,e,r,i){return t(e.sliceDoc(r,r+1))==Xt.Word&&t(e.sliceDoc(i-1,i))==Xt.Word}var Nne=pt.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(uR),{state:r}=t,i=r.selection;if(i.ranges.length>1)return Le.none;let n=i.main,o,a=null;if(n.empty){if(!e.highlightWordAroundCursor)return Le.none;let l=r.wordAt(n.head);if(!l)return Le.none;a=r.charCategorizer(n.head),o=r.sliceDoc(l.from,l.to)}else{let l=n.to-n.from;if(l<e.minSelectionLength||l>200)return Le.none;if(e.wholeWords){if(o=r.sliceDoc(n.from,n.to),a=r.charCategorizer(n.head),!(nR(a,r,n.from,n.to)&&Dne(a,r,n.from,n.to)))return Le.none}else if(o=r.sliceDoc(n.from,n.to).trim(),!o)return Le.none}let s=[];for(let l of t.visibleRanges){let c=new ms(r.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!a||nR(a,r,u,f))&&(n.empty&&u<=n.from&&f>=n.to?s.push(zne.range(u,f)):(u>=n.to||f<=n.from)&&s.push(Mne.range(u,f)),s.length>e.maxMatches))return Le.none}}return Le.set(s)}},{decorations:t=>t.decorations}),Une=we.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),qne=({state:t,dispatch:e})=>{let{selection:r}=t,i=ce.create(r.ranges.map(n=>t.wordAt(n.head)||ce.cursor(n.head)),r.mainIndex);return i.eq(r)?!1:(e(t.update({selection:i})),!0)};function Bne(t,e){let{main:r,ranges:i}=t.selection,n=t.wordAt(r.head),o=n&&n.from==r.from&&n.to==r.to;for(let a=!1,s=new ms(t.doc,e,i[i.length-1].to);;)if(s.next(),s.done){if(a)return null;s=new ms(t.doc,e,0,Math.max(0,i[i.length-1].from-1)),a=!0}else{if(a&&i.some(l=>l.from==s.value.from))continue;if(o){let l=t.wordAt(s.value.from);if(!l||l.from!=s.value.from||l.to!=s.value.to)continue}return s.value}}var hR=({state:t,dispatch:e})=>{let{ranges:r}=t.selection;if(r.some(o=>o.from===o.to))return qne({state:t,dispatch:e});let i=t.sliceDoc(r[0].from,r[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=i))return!1;let n=Bne(t,i);return n?(e(t.update({selection:t.selection.addRange(ce.range(n.from,n.to),!1),effects:we.scrollIntoView(n.to)})),!0):!1},Kc=$e.define({combine(t){return Vt(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Kx(e),scrollToMatch:e=>we.scrollIntoView(e)})}});var Gc=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||Rne(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(r,i)=>i=="n"?`
`:i=="r"?"\r":i=="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 Hx(this):new Yx(this)}getCursor(e,r=0,i){let n=e.doc?e:Tt.create({doc:e});return i==null&&(i=n.doc.length),this.regexp?Yc(this,n,r,i):Zc(this,n,r,i)}},ag=class{constructor(e){this.spec=e}};function Zc(t,e,r,i){return new ms(e.doc,t.unquoted,r,i,t.caseSensitive?void 0:n=>n.toLowerCase(),t.wholeWord?jne(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function jne(t,e){return(r,i,n,o)=>((o>r||o+n.length<i)&&(o=Math.max(0,r-2),n=t.sliceString(o,Math.min(t.length,i+2))),(e(sg(n,r-o))!=Xt.Word||e(lg(n,r-o))!=Xt.Word)&&(e(lg(n,i-o))!=Xt.Word||e(sg(n,i-o))!=Xt.Word))}var Yx=class extends ag{constructor(e){super(e)}nextMatch(e,r,i){let n=Zc(this.spec,e,i,e.doc.length).nextOverlapping();return n.done&&(n=Zc(this.spec,e,0,r).nextOverlapping()),n.done?null:n.value}prevMatchInRange(e,r,i){for(let n=i;;){let o=Math.max(r,n-1e4-this.spec.unquoted.length),a=Zc(this.spec,e,o,n),s=null;for(;!a.nextOverlapping().done;)s=a.value;if(s)return s;if(o==r)return null;n-=1e4}}prevMatch(e,r,i){return this.prevMatchInRange(e,0,r)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,r){let i=Zc(this.spec,e,0,e.doc.length),n=[];for(;!i.next().done;){if(n.length>=r)return null;n.push(i.value)}return n}highlight(e,r,i,n){let o=Zc(this.spec,e,Math.max(0,r-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}};function Yc(t,e,r,i){return new Hc(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?Wne(e.charCategorizer(e.selection.main.head)):void 0},r,i)}function sg(t,e){return t.slice(dr(t,e,!1),e)}function lg(t,e){return t.slice(e,dr(t,e))}function Wne(t){return(e,r,i)=>!i[0].length||(t(sg(i.input,i.index))!=Xt.Word||t(lg(i.input,i.index))!=Xt.Word)&&(t(lg(i.input,i.index+i[0].length))!=Xt.Word||t(sg(i.input,i.index+i[0].length))!=Xt.Word)}var Hx=class extends ag{nextMatch(e,r,i){let n=Yc(this.spec,e,i,e.doc.length).next();return n.done&&(n=Yc(this.spec,e,0,r).next()),n.done?null:n.value}prevMatchInRange(e,r,i){for(let n=1;;n++){let o=Math.max(r,i-n*1e4),a=Yc(this.spec,e,o,i),s=null;for(;!a.next().done;)s=a.value;if(s&&(o==r||s.from>o+10))return s;if(o==r)return null}}prevMatch(e,r,i){return this.prevMatchInRange(e,0,r)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(r,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i<e.match.length?e.match[i]:r)}matchAll(e,r){let i=Yc(this.spec,e,0,e.doc.length),n=[];for(;!i.next().done;){if(n.length>=r)return null;n.push(i.value)}return n}highlight(e,r,i,n){let o=Yc(this.spec,e,Math.max(0,r-250),Math.min(i+250,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}},na=De.define(),e5=De.define(),ps=Ot.define({create(t){return new Kh(Gx(t).create(),null)},update(t,e){for(let r of e.effects)r.is(na)?t=new Kh(r.value.create(),t.panel):r.is(e5)&&(t=new Kh(t.query,r.value?i5:null));return t},provide:t=>sn.from(t,e=>e.panel)});var Kh=class{constructor(e,r){this.query=e,this.panel=r}},Vne=Le.mark({class:"cm-searchMatch"}),Fne=Le.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Zne=pt.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(ps))}update(t){let e=t.state.field(ps);(e!=t.startState.field(ps)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return Le.none;let{view:r}=this,i=new Ni;for(let n=0,o=r.visibleRanges,a=o.length;n<a;n++){let{from:s,to:l}=o[n];for(;n<a-1&&l>o[n+1].from-2*250;)l=o[++n].to;t.highlight(r.state,s,l,(c,u)=>{let f=r.state.selection.ranges.some(d=>d.from==c&&d.to==u);i.add(c,u,f?Fne:Vne)})}return i.finish()}},{decorations:t=>t.decorations});function Jh(t){return e=>{let r=e.state.field(ps,!1);return r&&r.query.spec.valid?t(e,r):Jc(e)}}var oR=Jh((t,{query:e})=>{let{to:r}=t.state.selection.main,i=e.nextMatch(t.state,r,r);if(!i)return!1;let n=ce.single(i.from,i.to),o=t.state.facet(Kc);return t.dispatch({selection:n,effects:[o5(t,i),o.scrollToMatch(n.main,t)],userEvent:"select.search"}),mR(t),!0}),aR=Jh((t,{query:e})=>{let{state:r}=t,{from:i}=r.selection.main,n=e.prevMatch(r,i,i);if(!n)return!1;let o=ce.single(n.from,n.to),a=t.state.facet(Kc);return t.dispatch({selection:o,effects:[o5(t,n),a.scrollToMatch(o.main,t)],userEvent:"select.search"}),mR(t),!0}),t5=Jh((t,{query:e})=>{let r=e.matchAll(t.state,1e3);return!r||!r.length?!1:(t.dispatch({selection:ce.create(r.map(i=>ce.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),dR=({state:t,dispatch:e})=>{let r=t.selection;if(r.ranges.length>1||r.main.empty)return!1;let{from:i,to:n}=r.main,o=[],a=0;for(let s=new ms(t.doc,t.sliceDoc(i,n));!s.next().done;){if(o.length>1e3)return!1;s.value.from==i&&(a=o.length),o.push(ce.range(s.value.from,s.value.to))}return e(t.update({selection:ce.create(o,a),userEvent:"select.search.matches"})),!0},sR=Jh((t,{query:e})=>{let{state:r}=t,{from:i,to:n}=r.selection.main;if(r.readOnly)return!1;let o=e.nextMatch(r,i,i);if(!o)return!1;let a=[],s,l,c=[];if(o.from==i&&o.to==n&&(l=r.toText(e.getReplacement(o)),a.push({from:o.from,to:o.to,insert:l}),o=e.nextMatch(r,o.from,o.to),c.push(we.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(i).number)+"."))),o){let u=a.length==0||a[0].from>=o.to?0:o.to-o.from-l.length;s=ce.single(o.from-u,o.to-u),c.push(o5(t,o)),c.push(r.facet(Kc).scrollToMatch(s.main,t))}return t.dispatch({changes:a,selection:s,effects:c,userEvent:"input.replace"}),!0}),r5=Jh((t,{query:e})=>{if(t.state.readOnly)return!1;let r=e.matchAll(t.state,1e9).map(n=>{let{from:o,to:a}=n;return{from:o,to:a,insert:e.getReplacement(n)}});if(!r.length)return!1;let i=t.state.phrase("replaced $ matches",r.length)+".";return t.dispatch({changes:r,effects:we.announce.of(i),userEvent:"input.replace.all"}),!0});function i5(t){return t.state.facet(Kc).createPanel(t)}function Gx(t,e){var r,i,n,o,a;let s=t.selection.main,l=s.empty||s.to>s.from+100?"":t.sliceDoc(s.from,s.to);if(e&&!l)return e;let c=t.facet(Kc);return new Gc({search:((r=e==null?void 0:e.literal)!==null&&r!==void 0?r:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(i=e==null?void 0:e.caseSensitive)!==null&&i!==void 0?i: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:(a=e==null?void 0:e.wholeWord)!==null&&a!==void 0?a:c.wholeWord})}function pR(t){let e=Gs(t,i5);return e&&e.dom.querySelector("[main-field]")}function mR(t){let e=pR(t);e&&e==t.root.activeElement&&e.select()}var Jc=t=>{let e=t.state.field(ps,!1);if(e&&e.panel){let r=pR(t);if(r&&r!=t.root.activeElement){let i=Gx(t.state,e.query.spec);i.valid&&t.dispatch({effects:na.of(i)}),r.focus(),r.select()}}else t.dispatch({effects:[e5.of(!0),e?na.of(Gx(t.state,e.query.spec)):De.appendConfig.of(Hne)]});return!0},n5=t=>{let e=t.state.field(ps,!1);if(!e||!e.panel)return!1;let r=Gs(t,i5);return r&&r.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:e5.of(!1)}),!0};var Kx=class{constructor(e){this.view=e;let r=this.query=e.state.field(ps).query.spec;this.commit=this.commit.bind(this),this.searchField=At("input",{value:r.search,placeholder:Yi(e,"Find"),"aria-label":Yi(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=At("input",{value:r.replace,placeholder:Yi(e,"Replace"),"aria-label":Yi(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=At("input",{type:"checkbox",name:"case",form:"",checked:r.caseSensitive,onchange:this.commit}),this.reField=At("input",{type:"checkbox",name:"re",form:"",checked:r.regexp,onchange:this.commit}),this.wordField=At("input",{type:"checkbox",name:"word",form:"",checked:r.wholeWord,onchange:this.commit});function i(n,o,a){return At("button",{class:"cm-button",name:n,onclick:o,type:"button"},a)}this.dom=At("div",{onkeydown:n=>this.keydown(n),class:"cm-search"},[this.searchField,i("next",()=>oR(e),[Yi(e,"next")]),i("prev",()=>aR(e),[Yi(e,"previous")]),i("select",()=>t5(e),[Yi(e,"all")]),At("label",null,[this.caseField,Yi(e,"match case")]),At("label",null,[this.reField,Yi(e,"regexp")]),At("label",null,[this.wordField,Yi(e,"by word")]),...e.state.readOnly?[]:[At("br"),this.replaceField,i("replace",()=>sR(e),[Yi(e,"replace")]),i("replaceAll",()=>r5(e),[Yi(e,"replace all")])],At("button",{name:"close",onclick:()=>n5(e),"aria-label":Yi(e,"close"),type:"button"},["\xD7"])])}commit(){let e=new Gc({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:na.of(e)}))}keydown(e){lv(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?aR:oR)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),sR(this.view))}update(e){for(let r of e.transactions)for(let i of r.effects)i.is(na)&&!i.value.eq(this.query)&&this.setQuery(i.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(Kc).top}};function Yi(t,e){return t.state.phrase(e)}var eg=30,tg=/[\s\.,:;?!]/;function o5(t,{from:e,to:r}){let i=t.state.doc.lineAt(e),n=t.state.doc.lineAt(r).to,o=Math.max(i.from,e-eg),a=Math.min(n,r+eg),s=t.state.sliceDoc(o,a);if(o!=i.from){for(let l=0;l<eg;l++)if(!tg.test(s[l+1])&&tg.test(s[l])){s=s.slice(l);break}}if(a!=n){for(let l=s.length-1;l>s.length-eg;l--)if(!tg.test(s[l-1])&&tg.test(s[l])){s=s.slice(0,l);break}}return we.announce.of(`${t.state.phrase("current match")}. ${s} ${t.state.phrase("on line")} ${i.number}.`)}var Yne=we.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"}}),Hne=[ps,cr.low(Zne),Yne];var a5=class{constructor(e,r,i){this.from=e,this.to=r,this.diagnostic=i}},xl=class t{constructor(e,r,i){this.diagnostics=e,this.panel=r,this.selected=i}static init(e,r,i){let n=e,o=i.facet(wR).markerFilter;o&&(n=o(n,i));let a=Le.set(n.map(s=>s.from==s.to||s.from==s.to-1&&i.doc.lineAt(s.from).to==s.from?Le.widget({widget:new s5(s),diagnostic:s}).range(s.from):Le.mark({attributes:{class:"cm-lintRange cm-lintRange-"+s.severity+(s.markClass?" "+s.markClass:"")},diagnostic:s,inclusive:!0}).range(s.from,s.to)),!0);return new t(a,r,eu(a))}};function eu(t,e=null,r=0){let i=null;return t.between(r,1e9,(n,o,{spec:a})=>{if(!(e&&a.diagnostic!=e))return i=new a5(n,o,a.diagnostic),!1}),i}function Gne(t,e){let r=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(i=>i.is(l5))||t.changes.touchesRange(r.from,r.to))}function gR(t,e){return t.field(Hi,!1)?e:e.concat(De.appendConfig.of(ioe))}function bR(t,e){return{effects:gR(t,[l5.of(e)])}}var l5=De.define(),c5=De.define(),yR=De.define(),Hi=Ot.define({create(){return new xl(Le.none,null,null)},update(t,e){if(e.docChanged){let r=t.diagnostics.map(e.changes),i=null;if(t.selected){let n=e.changes.mapPos(t.selected.from,1);i=eu(r,t.selected.diagnostic,n)||eu(r,null,n)}t=new xl(r,t.panel,i)}for(let r of e.effects)r.is(l5)?t=xl.init(r.value,t.panel,e.state):r.is(c5)?t=new xl(t.diagnostics,r.value?fg.open:null,t.selected):r.is(yR)&&(t=new xl(t.diagnostics,t.panel,r.value));return t},provide:t=>[sn.from(t,e=>e.panel),we.decorations.from(t,e=>e.diagnostics)]});var Kne=Le.mark({class:"cm-lintRange cm-lintRange-active",inclusive:!0});function Jne(t,e,r){let{diagnostics:i}=t.state.field(Hi),n=[],o=2e8,a=0;i.between(e-(r<0?1:0),e+(r>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||r>0)&&(e<c||r<0))&&(n.push(u.diagnostic),o=Math.min(l,o),a=Math.max(c,a))});let s=t.state.facet(wR).tooltipFilter;return s&&(n=s(n,t.state)),n.length?{pos:o,end:a,above:t.state.doc.lineAt(o).to<a,create(){return{dom:eoe(t,n)}}}:null}function eoe(t,e){return At("ul",{class:"cm-tooltip-lint"},e.map(r=>SR(t,r,!1)))}var vR=t=>{let e=t.state.field(Hi,!1);(!e||!e.panel)&&t.dispatch({effects:gR(t.state,[c5.of(!0)])});let r=Gs(t,fg.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},OR=t=>{let e=t.state.field(Hi,!1);return!e||!e.panel?!1:(t.dispatch({effects:c5.of(!1)}),!0)},xR=t=>{let e=t.state.field(Hi,!1);if(!e)return!1;let r=t.state.selection.main,i=e.diagnostics.iter(r.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==r.from&&i.to==r.to)?!1:(t.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)};var wR=$e.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},Vt(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,r)=>e?r?i=>e(i)||r(i):e:r}))}});function kR(t){let e=[];if(t)e:for(let{name:r}of t){for(let i=0;i<r.length;i++){let n=r[i];if(/[a-zA-Z]/.test(n)&&!e.some(o=>o.toLowerCase()==n.toLowerCase())){e.push(n);continue e}}e.push("")}return e}function SR(t,e,r){var i;let n=r?kR(e.actions):[];return At("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},At("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((o,a)=>{let s=!1,l=d=>{if(d.preventDefault(),s)return;s=!0;let p=eu(t.state.field(Hi).diagnostics,e);p&&o.apply(t,p.from,p.to)},{name:c}=o,u=n[a]?c.indexOf(n[a]):-1,f=u<0?c:[c.slice(0,u),At("u",c.slice(u,u+1)),c.slice(u+1)];return At("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${n[a]})"`}.`},f)}),e.source&&At("div",{class:"cm-diagnosticSource"},e.source))}var s5=class extends Er{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return At("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}},ug=class{constructor(e,r){this.diagnostic=r,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=SR(e,r,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},fg=class t{constructor(e){this.view=e,this.items=[];let r=n=>{if(n.keyCode==27)OR(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],a=kR(o.actions);for(let s=0;s<a.length;s++)if(a[s].toUpperCase().charCodeAt(0)==n.keyCode){let l=eu(this.view.state.field(Hi).diagnostics,o);l&&o.actions[s].apply(e,l.from,l.to)}}else return;n.preventDefault()},i=n=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(n.target)&&this.moveSelection(o)};this.list=At("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:r,onclick:i}),this.dom=At("div",{class:"cm-panel-lint"},this.list,At("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>OR(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(Hi).selected;if(!e)return-1;for(let r=0;r<this.items.length;r++)if(this.items[r].diagnostic==e.diagnostic)return r;return-1}update(){let{diagnostics:e,selected:r}=this.view.state.field(Hi),i=0,n=!1,o=null;for(e.between(0,this.view.state.doc.length,(a,s,{spec:l})=>{let c=-1,u;for(let f=i;f<this.items.length;f++)if(this.items[f].diagnostic==l.diagnostic){c=f;break}c<0?(u=new ug(this.view,l.diagnostic),this.items.splice(i,0,u),n=!0):(u=this.items[c],c>i&&(this.items.splice(i,c-i),n=!0)),r&&u.diagnostic==r.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),o=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),i++});i<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 ug(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:a,panel:s})=>{let l=s.height/this.list.offsetHeight;a.top<s.top?this.list.scrollTop-=(s.top-a.top)/l:a.bottom>s.bottom&&(this.list.scrollTop+=(a.bottom-s.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let e=this.list.firstChild;function r(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)r();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)r()}moveSelection(e){if(this.selectedIndex<0)return;let r=this.view.state.field(Hi),i=eu(r.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:yR.of(i)})}static open(e){return new t(e)}};function toe(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 cg(t){return toe(`<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 roe=we.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:cg("#d11")},".cm-lintRange-warning":{backgroundImage:cg("orange")},".cm-lintRange-info":{backgroundImage:cg("#999")},".cm-lintRange-hint":{backgroundImage:cg("#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 ioe=[Hi,we.decorations.compute([Hi],t=>{let{selected:e,panel:r}=t.field(Hi);return!e||!r||e.from==e.to?Le.none:Le.set([Kne.range(e.from,e.to)])}),Qm(Jne,{hideOn:Gne}),roe];var TR=t=>e=>{let r=t==="down",i=e.state.selection;for(let n of i.ranges)i=i.addRange(e.moveVertically(n,r));return e.dispatch({selection:i}),!0},noe=TR("up"),ooe=TR("down"),aoe=t=>{let e=null;for(let r of t.state.selection.ranges)if(!r.empty)for(let i=r.from;i<=r.to;){let n=t.state.doc.lineAt(i),o=Math.min(n.to,r.to);e?e=e.addRange(ce.range(o,o)):e=ce.single(o),i=n.to+1}return e?(t.dispatch({selection:e}),!0):!1},ER=[{key:"Ctrl-Space",run:ch},{key:"Escape",run:Vv},{key:"ArrowDown",run:ea(!0)},{key:"ArrowUp",run:ea(!1)},{key:"PageDown",run:ea(!0,"page")},{key:"PageUp",run:ea(!1,"page")},{key:"Enter",run:Zm},{key:"Tab",run:Zm},{key:"Mod-f",run:Jc,scope:"editor search-panel"},{key:"Escape",run:n5,scope:"editor search-panel"},{key:"Alt-Enter",run:t5,scope:"editor search-panel"},{key:"Mod-Alt-Enter",run:r5,scope:"editor search-panel"},{key:"Ctrl-g",run:cR},{key:"Mod-d",run:hR,preventDefault:!0},{key:"Shift-Mod-l",run:dR},{key:"Enter",run:Yh,shift:Yh},{key:"ArrowLeft",run:Mh,shift:zx,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:UO,shift:ZO},{key:"ArrowRight",run:Mx,shift:Dx,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:qO,shift:YO},{key:"ArrowUp",run:zh,shift:Bc,preventDefault:!0},{key:"ArrowDown",run:Dh,shift:jc,preventDefault:!0},{key:"Home",run:Uh,shift:Bx},{mac:"Cmd-ArrowLeft",run:Uh,shift:Bx},{key:"Mod-Home",run:Wh,shift:Wc},{mac:"Cmd-ArrowUp",run:Wh,shift:Wc},{key:"PageUp",run:Uc,shift:qh},{mac:"Ctrl-ArrowUp",run:Uc,shift:qh},{key:"PageDown",run:qc,shift:vl},{mac:"Ctrl-ArrowDown",run:qc,shift:vl},{key:"End",run:Nh,shift:qx},{mac:"Cmd-ArrowRight",run:Nh,shift:qx},{key:"Mod-Alt-ArrowUp",linux:"Shift-Alt-ArrowUp",run:noe,preventDefault:!0},{key:"Mod-Alt-ArrowDown",linux:"Shift-Alt-ArrowDown",run:ooe,preventDefault:!0},{key:"Shift-Alt-i",run:aoe},{key:"Mod-End",run:Vh,shift:Vc},{mac:"Cmd-ArrowDown",run:Vh,shift:Vc},{key:"Mod-a",run:HO},{key:"Backspace",run:y_},{key:"Backspace",run:Fc,shift:Fc},{key:"Delete",run:Fh},{key:"Mod-Backspace",mac:"Alt-Backspace",run:jx},{key:"Mod-Delete",mac:"Alt-Delete",run:WX},{mac:"Mod-Backspace",run:VX},{mac:"Mod-Delete",run:Wx},{mac:"Ctrl-b",run:Mh,shift:zx,preventDefault:!0},{mac:"Ctrl-f",run:Mx,shift:Dx},{mac:"Ctrl-p",run:zh,shift:Bc},{mac:"Ctrl-n",run:Dh,shift:jc},{mac:"Ctrl-a",run:jO,shift:Bh},{mac:"Ctrl-e",run:WO,shift:jh},{mac:"Ctrl-d",run:Fh},{mac:"Ctrl-h",run:Fc},{mac:"Ctrl-k",run:Wx},{mac:"Ctrl-Alt-h",run:jx},{mac:"Ctrl-o",run:Zh},{mac:"Ctrl-t",run:KO},{mac:"Ctrl-v",run:qc},{mac:"Alt-v",run:Uc},{key:"Shift-Mod-k",run:JX},{key:"Alt-ArrowDown",run:YX},{key:"Alt-ArrowUp",run:ZX},{win:"Shift-Alt-ArrowDown",mac:"Shift-Alt-ArrowDown",run:KX},{win:"Shift-Alt-ArrowUp",mac:"Shift-Alt-ArrowUp",run:GX},{key:"Mod-l",run:qX,preventDefault:!0},{key:"Shift-Mod-\\",run:MX},{key:"Tab",run:Hh,shift:Gh,preventDefault:!0},{key:"Mod-[",run:Gh},{key:"Mod-]",run:Hh},{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:qm},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:DP},{key:"Mod-k Mod-0",run:UP},{key:"Mod-k Mod-j",run:qP},{key:"Mod-k Mod-c",run:wX},{key:"Mod-k Mod-u",run:kX},{key:"Mod-/",run:Rh},{key:"Shift-Alt-a",run:SX},{key:"Mod-z",run:bl,preventDefault:!0},{key:"Mod-y",run:us,preventDefault:!0},{key:"Mod-Shift-z",run:us,preventDefault:!0},{key:"Mod-u",run:_X,preventDefault:!0},{key:"Mod-Shift-m",run:vR},{key:"F8",run:xR}];function soe(t){var e=t.Pos;function r(h,m){var b=h.state.vim;if(!b||b.insertMode)return m.head;var y=b.sel.head;if(!y)return m.head;if(!(b.visualBlock&&m.head.line!=y.line))return m.from()==m.anchor&&!m.empty()&&m.head.line==y.line&&m.head.ch!=y.ch?new e(m.head.line,m.head.ch-1):m.head}function i(h,m,b){if(m.line===b.line&&m.ch>=b.ch-1){var y=h.getLine(m.line),T=y.charCodeAt(m.ch);55296<=T&&T<=55551&&(b.ch+=1)}return{start:m,end:b}}var n=[{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:"'<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<character>",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:"@<character>",type:"action",action:"replayMacro"},{keys:"q<character>",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<character>",type:"action",action:"setMark"},{keys:'"<character>',type:"action",action:"setRegister"},{keys:"<C-r><character>",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<character>",type:"motion",motion:"textObjectManipulation"},{keys:"i<character>",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"}],o=n.length,a=[{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"}];function s(h){h.setOption("disableInput",!0),h.setOption("showCursorWhenSelecting",!1),t.signal(h,"vim-mode-change",{mode:"normal"}),h.on("cursorActivity",Gw),at(h),t.on(h.getInputField(),"paste",k(h))}function l(h){h.setOption("disableInput",!1),h.off("cursorActivity",Gw),t.off(h.getInputField(),"paste",k(h)),h.state.vim=null,xd&&clearTimeout(xd)}function c(h,m){this==t.keyMap.vim&&(h.options.$customCursor=null,t.rmClass(h.getWrapperElement(),"cm-fat-cursor")),(!m||m.attach!=u)&&l(h)}function u(h,m){this==t.keyMap.vim&&(h.curOp&&(h.curOp.selectionChanged=!0),h.options.$customCursor=r,t.addClass(h.getWrapperElement(),"cm-fat-cursor")),(!m||m.attach!=u)&&s(h)}t.defineOption("vimMode",!1,function(h,m,b){m&&h.getOption("keyMap")!="vim"?h.setOption("keyMap","vim"):!m&&b!=t.Init&&/^vim/.test(h.getOption("keyMap"))&&h.setOption("keyMap","default")});function f(h,m){if(m){if(this[h])return this[h];var b=x(h);if(!b)return!1;var y=ut.findKey(m,b);return typeof y=="function"&&t.signal(m,"vim-keypress",b),y}}var d={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},p={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"},O={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(p)).forEach(function(h){O[(p[h]||"").toLowerCase()]=O[h.toLowerCase()]=h});function x(h){if(h.charAt(0)=="'")return h.charAt(1);var m=h.split(/-(?!$)/),b=m[m.length-1];if(m.length==1&&m[0].length==1)return!1;if(m.length==2&&m[0]=="Shift"&&b.length==1)return!1;for(var y=!1,T=0;T<m.length;T++){var E=m[T];E in d?m[T]=d[E]:y=!0,E in p&&(m[T]=p[E])}return y?(ve(b)&&(m[m.length-1]=b.toLowerCase()),"<"+m.join("-")+">"):!1}function k(h){var m=h.state.vim;return m.onPasteFn||(m.onPasteFn=function(){m.insertMode||(h.setCursor(It(h.getCursor(),0,1)),Ye.enterInsertMode(h,{},m))}),m.onPasteFn}var w=/[\d]/,C=[t.isWordChar,function(h){return h&&!t.isWordChar(h)&&!/\s/.test(h)}],Q=[function(h){return/\S/.test(h)}];function L(h,m){for(var b=[],y=h;y<h+m;y++)b.push(String.fromCharCode(y));return b}var N=L(65,26),I=L(97,26),H=L(48,10),j=[].concat(N,I,H,["<",">"]),Y=[].concat(N,I,H,["-",'"',".",":","_","/","+"]),V;try{V=new RegExp("^[\\p{Lu}]$","u")}catch(h){V=/^[A-Z]$/}function ne(h,m){return m>=h.firstLine()&&m<=h.lastLine()}function ue(h){return/^[a-z]$/.test(h)}function he(h){return"()[]{}".indexOf(h)!=-1}function ge(h){return w.test(h)}function ve(h){return V.test(h)}function _e(h){return/^\s*$/.test(h)}function ae(h){return".?!".indexOf(h)!=-1}function pe(h,m){for(var b=0;b<m.length;b++)if(m[b]==h)return!0;return!1}var J={};function _(h,m,b,y,T){if(m===void 0&&!T)throw Error("defaultValue is required unless callback is provided");if(b||(b="string"),J[h]={type:b,defaultValue:m,callback:T},y)for(var E=0;E<y.length;E++)J[y[E]]=J[h];m&&K(h,m)}function K(h,m,b,y){var T=J[h];y=y||{};var E=y.scope;if(!T)return new Error("Unknown option: "+h);if(T.type=="boolean"){if(m&&m!==!0)return new Error("Invalid argument: "+h+"="+m);m!==!1&&(m=!0)}T.callback?(E!=="local"&&T.callback(m,void 0),E!=="global"&&b&&T.callback(m,b)):(E!=="local"&&(T.value=T.type=="boolean"?!!m:m),E!=="global"&&b&&(b.state.vim.options[h]={value:m}))}function se(h,m,b){var y=J[h];b=b||{};var T=b.scope;if(!y)return new Error("Unknown option: "+h);if(y.callback){var E=m&&y.callback(void 0,m);return T!=="global"&&E!==void 0?E:T!=="local"?y.callback():void 0}else{var E=T!=="global"&&m&&m.state.vim.options[h];return(E||T!=="local"&&y||{}).value}}_("filetype",void 0,"string",["ft"],function(h,m){if(m!==void 0)if(h===void 0){var b=m.getOption("mode");return b=="null"?"":b}else{var b=h==""?"null":h;m.setOption("mode",b)}}),_("textwidth",80,"number",["tw"],function(h,m){if(m!==void 0)if(h===void 0){var b=m.getOption("textwidth");return b}else{var y=Math.round(h);y>1&&m.setOption("textwidth",y)}});var q=function(){var h=100,m=-1,b=0,y=0,T=new Array(h);function E(M,F,Z){var fe=m%h,me=T[fe];function ie(Te){var ye=++m%h,je=T[ye];je&&je.clear(),T[ye]=M.setBookmark(Te)}if(me){var te=me.find();te&&!tr(te,F)&&ie(F)}else ie(F);ie(Z),b=m,y=m-h+1,y<0&&(y=0)}function $(M,F){m+=F,m>b?m=b:m<y&&(m=y);var Z=T[(h+m)%h];if(Z&&!Z.find()){var fe=F>0?1:-1,me,ie=M.getCursor();do if(m+=fe,Z=T[(h+m)%h],Z&&(me=Z.find())&&!tr(ie,me))break;while(m<b&&m>y)}return Z}function z(M,F){var Z=m,fe=$(M,F);return m=Z,fe&&fe.find()}return{cachedCursor:void 0,add:E,find:z,move:$}},Je=function(h){return h?{changes:h.changes,expectCursorActivityForChange:h.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function st(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=Je()}st.prototype={exitMacroRecordMode:function(){var h=Ce.macroModeState;h.onRecordingDone&&h.onRecordingDone(),h.onRecordingDone=void 0,h.isRecording=!1},enterMacroRecordMode:function(h,m){var b=Ce.registerController.getRegister(m);if(b){if(b.clear(),this.latestRegister=m,h.openDialog){var y=ha("span",{class:"cm-vim-message"},"recording @"+m);this.onRecordingDone=h.openDialog(y,null,{bottom:!0})}this.isRecording=!0}}};function at(h){return h.state.vim||(h.state.vim={inputState:new pn,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:{}}),h.state.vim}var Ce;function Ze(){Ce={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:q(),macroModeState:new st,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new Mn({}),searchHistoryController:new au,exCommandHistoryController:new au};for(var h in J){var m=J[h];m.value=m.defaultValue}}var Rt,ut={enterVimMode:s,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return Ce.registerController},resetVimGlobalState_:Ze,getVimGlobalState_:function(){return Ce},maybeInitVimState_:at,suppressErrorLogging:!1,InsertModeKey:Gg,map:function(h,m,b){gn.map(h,m,b)},unmap:function(h,m){return gn.unmap(h,m)},noremap:function(h,m,b){gn.map(h,m,b,!0)},mapclear:function(h){var m=n.length,b=o,y=n.slice(0,m-b);if(n=n.slice(m-b),h)for(var T=y.length-1;T>=0;T--){var E=y[T];if(h!==E.context)if(E.context)this._mapCommand(E);else{var $=["normal","insert","visual"];for(var z in $)if($[z]!==h){var M={};for(var F in E)M[F]=E[F];M.context=$[z],this._mapCommand(M)}}}},setOption:K,getOption:se,defineOption:_,defineEx:function(h,m,b){if(!m)m=h;else if(h.indexOf(m)!==0)throw new Error('(Vim.defineEx) "'+m+'" is not a prefix of "'+h+'", command not registered');Zw[h]=b,gn.commandMap_[m]={name:h,shortName:m,type:"api"}},handleKey:function(h,m,b){var y=this.findKey(h,m,b);if(typeof y=="function")return y()},multiSelectHandleKey:TM,findKey:function(h,m,b){var y=at(h);function T(){var F=Ce.macroModeState;if(F.isRecording){if(m=="q")return F.exitMacroRecordMode(),Zt(h),!0;b!="mapping"&&wM(F,m)}}function E(){if(m=="<Esc>"){if(y.visualMode)zn(h);else if(y.insertMode)da(h);else return;return Zt(h),!0}}function $(){if(E())return!0;y.inputState.keyBuffer.push(m);var F=y.inputState.keyBuffer.join(""),Z=m.length==1,fe=bo.matchCommand(F,n,y.inputState,"insert"),me=y.inputState.changeQueue;if(fe.type=="none")return Zt(h),!1;if(fe.type=="partial"){if(Rt&&window.clearTimeout(Rt),Rt=Z&&window.setTimeout(function(){y.insertMode&&y.inputState.keyBuffer.length&&Zt(h)},se("insertModeEscKeysTimeout")),Z){var ie=h.listSelections();(!me||me.removed.length!=ie.length)&&(me=y.inputState.changeQueue=new ys),me.inserted+=m;for(var te=0;te<ie.length;te++){var Te=$i(ie[te].anchor,ie[te].head),ye=fa(ie[te].anchor,ie[te].head),je=h.getRange(Te,h.state.overwrite?It(ye,0,1):ye);me.removed[te]=(me.removed[te]||"")+je}}return!Z}if(Rt&&window.clearTimeout(Rt),fe.command&&me){for(var ie=h.listSelections(),te=0;te<ie.length;te++){var He=ie[te].head;h.replaceRange(me.removed[te]||"",It(He,0,-me.inserted.length),He,"+input")}Ce.macroModeState.lastInsertModeChanges.changes.pop()}return fe.command||Zt(h),fe.command}function z(){if(T()||E())return!0;y.inputState.keyBuffer.push(m);var F=y.inputState.keyBuffer.join("");if(/^[1-9]\d*$/.test(F))return!0;var Z=/^(\d*)(.*)$/.exec(F);if(!Z)return Zt(h),!1;var fe=y.visualMode?"visual":"normal",me=Z[2]||Z[1];y.inputState.operatorShortcut&&y.inputState.operatorShortcut.slice(-1)==me&&(me=y.inputState.operatorShortcut);var ie=bo.matchCommand(me,n,y.inputState,fe);return ie.type=="none"?(Zt(h),!1):ie.type=="partial"?!0:ie.type=="clear"?(Zt(h),!0):(y.inputState.keyBuffer.length=0,Z=/^(\d*)(.*)$/.exec(F),Z[1]&&Z[1]!="0"&&y.inputState.pushRepeatDigit(Z[1]),ie.command)}var M;return y.insertMode?M=$():M=z(),M===!1?!y.insertMode&&m.length===1?function(){return!0}:void 0:M===!0?function(){return!0}:function(){return h.operation(function(){h.curOp.isVimOp=!0;try{M.type=="keyToKey"?Ln(h,M.toKeys,M):bo.processCommand(h,y,M)}catch(F){throw h.state.vim=void 0,at(h),ut.suppressErrorLogging||console.log(F),F}return!0})}},handleEx:function(h,m){gn.processCommand(h,m)},defineMotion:jg,defineAction:ht,defineOperator:Xe,mapCommand:vM,_mapCommand:Yw,defineRegister:go,exitVisualMode:zn,exitInsertMode:da},Ur=[],Ar=!1;function Ln(h,m,b){var y=Ar;if(b){if(Ur.indexOf(b)!=-1)return;Ur.push(b),Ar=b.noremap!=!1}try{for(var T=at(h),E=/<(?:[CSMA]-)*\w+>|./gi,$;$=E.exec(m);){var z=$[0],M=T.insertMode,F=ut.handleKey(h,z,"mapping");if(!F&&M&&T.insertMode){if(z[0]=="<"){var Z=z.toLowerCase().slice(1,-1),fe=Z.split("-");if(Z=fe.pop()||"",Z=="lt")z="<";else if(Z=="space")z=" ";else if(Z=="cr")z=`
`;else if(O.hasOwnProperty(Z)){z=O[Z],tk(h,z);continue}else z=z[0],E.lastIndex=$.index+1}h.replaceSelection(z)}}}finally{Ur.pop(),Ar=Ur.length?y:!1}}function pn(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null,this.changeQueue=null}pn.prototype.pushRepeatDigit=function(h){this.operator?this.motionRepeat=this.motionRepeat.concat(h):this.prefixRepeat=this.prefixRepeat.concat(h)},pn.prototype.getRepeat=function(){var h=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(h=1,this.prefixRepeat.length>0&&(h*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(h*=parseInt(this.motionRepeat.join(""),10))),h};function Zt(h,m){h.state.vim.inputState=new pn,t.signal(h,"vim-command-done",m)}function ys(){this.removed=[],this.inserted=""}function Qr(h,m,b){this.clear(),this.keyBuffer=[h||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!m,this.blockwise=!!b}Qr.prototype={setText:function(h,m,b){this.keyBuffer=[h||""],this.linewise=!!m,this.blockwise=!!b},pushText:function(h,m){m&&(this.linewise||this.keyBuffer.push(`
`),this.linewise=!0),this.keyBuffer.push(h)},pushInsertModeChanges:function(h){this.insertModeChanges.push(Je(h))},pushSearchQuery:function(h){this.searchQueries.push(h)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}};function go(h,m){var b=Ce.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]=m,Y.push(h)}function Mn(h){this.registers=h,this.unnamedRegister=h['"']=new Qr,h["."]=new Qr,h[":"]=new Qr,h["/"]=new Qr,h["+"]=new Qr}Mn.prototype={pushText:function(h,m,b,y,T){if(h!=="_"){y&&b.charAt(b.length-1)!==`
`&&(b+=`
`);var E=this.isValidRegister(h)?this.getRegister(h):null;if(!E){switch(m){case"yank":this.registers[0]=new Qr(b,y,T);break;case"delete":case"change":b.indexOf(`
`)==-1?this.registers["-"]=new Qr(b,y):(this.shiftNumericRegisters_(),this.registers[1]=new Qr(b,y));break}this.unnamedRegister.setText(b,y,T);return}var $=ve(h);$?E.pushText(b,y):E.setText(b,y,T),h==="+"&&navigator.clipboard.writeText(b),this.unnamedRegister.setText(E.toString(),y)}},getRegister:function(h){return this.isValidRegister(h)?(h=h.toLowerCase(),this.registers[h]||(this.registers[h]=new Qr),this.registers[h]):this.unnamedRegister},isValidRegister:function(h){return h&&pe(h,Y)},shiftNumericRegisters_:function(){for(var h=9;h>=2;h--)this.registers[h]=this.getRegister(""+(h-1))}};function au(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}au.prototype={nextMatch:function(h,m){var b=this.historyBuffer,y=m?-1:1;this.initialPrefix===null&&(this.initialPrefix=h);for(var T=this.iterator+y;m?T>=0:T<b.length;T+=y)for(var E=b[T],$=0;$<=E.length;$++)if(this.initialPrefix==E.substring(0,$))return this.iterator=T,E;if(T>=b.length)return this.iterator=b.length,this.initialPrefix;if(T<0)return h},pushInput:function(h){var m=this.historyBuffer.indexOf(h);m>-1&&this.historyBuffer.splice(m,1),h.length&&this.historyBuffer.push(h)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var bo={matchCommand:function(h,m,b,y){var T=On(h,m,y,b);if(!T.full&&!T.partial)return{type:"none"};if(!T.full&&T.partial)return{type:"partial"};for(var E,$=0;$<T.full.length;$++){var z=T.full[$];E||(E=z)}if(E.keys.slice(-11)=="<character>"){var M=xs(h);if(!M||M.length>1)return{type:"clear"};b.selectedCharacter=M}return{type:"full",command:E}},processCommand:function(h,m,b){switch(m.inputState.repeatOverride=b.repeatOverride,b.type){case"motion":this.processMotion(h,m,b);break;case"operator":this.processOperator(h,m,b);break;case"operatorMotion":this.processOperatorMotion(h,m,b);break;case"action":this.processAction(h,m,b);break;case"search":this.processSearch(h,m,b);break;case"ex":case"keyToEx":this.processEx(h,m,b);break}},processMotion:function(h,m,b){m.inputState.motion=b.motion,m.inputState.motionArgs=qr(b.motionArgs),this.evalInput(h,m)},processOperator:function(h,m,b){var y=m.inputState;if(y.operator)if(y.operator==b.operator){y.motion="expandToLine",y.motionArgs={linewise:!0},this.evalInput(h,m);return}else Zt(h);y.operator=b.operator,y.operatorArgs=qr(b.operatorArgs),b.keys.length>1&&(y.operatorShortcut=b.keys),b.exitVisualBlock&&(m.visualBlock=!1,_l(h)),m.visualMode&&this.evalInput(h,m)},processOperatorMotion:function(h,m,b){var y=m.visualMode,T=qr(b.operatorMotionArgs);T&&y&&T.visualLine&&(m.visualLine=!0),this.processOperator(h,m,b),y||this.processMotion(h,m,b)},processAction:function(h,m,b){var y=m.inputState,T=y.getRepeat(),E=!!T,$=qr(b.actionArgs)||{};y.selectedCharacter&&($.selectedCharacter=y.selectedCharacter),b.operator&&this.processOperator(h,m,b),b.motion&&this.processMotion(h,m,b),(b.motion||b.operator)&&this.evalInput(h,m),$.repeat=T||1,$.repeatIsExplicit=E,$.registerName=y.registerName,Zt(h),m.lastMotion=null,b.isEdit&&this.recordLastEdit(m,y,b),Ye[b.action](h,$,m)},processSearch:function(h,m,b){if(!h.getSearchCursor)return;var y=b.searchArgs.forward,T=b.searchArgs.wholeWordOnly;Nn(h).setReversed(!y);var E=y?"/":"?",$=Nn(h).getQuery(),z=h.getScrollInfo();function M(ye,je,He){Ce.searchHistoryController.pushInput(ye),Ce.searchHistoryController.reset();try{su(h,ye,je,He)}catch(qe){Qt(h,"Invalid regex: "+ye),Zt(h);return}bo.processMotion(h,m,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:b.searchArgs.toJumplist}})}function F(ye){h.scrollTo(z.left,z.top),M(ye,!0,!0);var je=Ce.macroModeState;je.isRecording&&SM(je,ye)}function Z(ye,je,He){var qe=t.keyName(ye),Lt,jr;qe=="Up"||qe=="Down"?(Lt=qe=="Up",jr=ye.target?ye.target.selectionEnd:0,je=Ce.searchHistoryController.nextMatch(je,Lt)||"",He(je),jr&&ye.target&&(ye.target.selectionEnd=ye.target.selectionStart=Math.min(jr,ye.target.value.length))):qe!="Left"&&qe!="Right"&&qe!="Ctrl"&&qe!="Alt"&&qe!="Shift"&&Ce.searchHistoryController.reset();var ir;try{ir=su(h,je,!0,!0)}catch(wr){}ir?h.scrollIntoView(Ww(h,!y,ir),30):(Yg(h),h.scrollTo(z.left,z.top))}function fe(ye,je,He){var qe=t.keyName(ye);qe=="Esc"||qe=="Ctrl-C"||qe=="Ctrl-["||qe=="Backspace"&&je==""?(Ce.searchHistoryController.pushInput(je),Ce.searchHistoryController.reset(),su(h,$),Yg(h),h.scrollTo(z.left,z.top),t.e_stop(ye),Zt(h),He(),h.focus()):qe=="Up"||qe=="Down"?t.e_stop(ye):qe=="Ctrl-U"&&(t.e_stop(ye),He(""))}switch(b.searchArgs.querySrc){case"prompt":var me=Ce.macroModeState;if(me.isPlaying){var Te=me.replaySearchQueries.shift();M(Te,!0,!1)}else vd(h,{onClose:F,prefix:E,desc:"(JavaScript regexp)",onKeyUp:Z,onKeyDown:fe});break;case"wordUnderCursor":var ie=Fg(h,{noSymbol:!0}),te=!0;if(ie||(ie=Fg(h,{noSymbol:!1}),te=!1),!ie){Qt(h,"No word under cursor"),Zt(h);return}var Te=h.getLine(ie.start.line).substring(ie.start.ch,ie.end.ch);te&&T?Te="\\b"+Te+"\\b":Te=VL(Te),Ce.jumpList.cachedCursor=h.getCursor(),h.setCursor(ie.start),M(Te,!0,!1);break}},processEx:function(h,m,b){function y(E){Ce.exCommandHistoryController.pushInput(E),Ce.exCommandHistoryController.reset(),gn.processCommand(h,E),h.state.vim&&Zt(h)}function T(E,$,z){var M=t.keyName(E),F,Z;(M=="Esc"||M=="Ctrl-C"||M=="Ctrl-["||M=="Backspace"&&$=="")&&(Ce.exCommandHistoryController.pushInput($),Ce.exCommandHistoryController.reset(),t.e_stop(E),Zt(h),z(),h.focus()),M=="Up"||M=="Down"?(t.e_stop(E),F=M=="Up",Z=E.target?E.target.selectionEnd:0,$=Ce.exCommandHistoryController.nextMatch($,F)||"",z($),Z&&E.target&&(E.target.selectionEnd=E.target.selectionStart=Math.min(Z,E.target.value.length))):M=="Ctrl-U"?(t.e_stop(E),z("")):M!="Left"&&M!="Right"&&M!="Ctrl"&&M!="Alt"&&M!="Shift"&&Ce.exCommandHistoryController.reset()}b.type=="keyToEx"?gn.processCommand(h,b.exArgs.input):m.visualMode?vd(h,{onClose:y,prefix:":",value:"'<,'>",onKeyDown:T,selectValueOnOpen:!1}):vd(h,{onClose:y,prefix:":",onKeyDown:T})},evalInput:function(h,m){var b=m.inputState,y=b.motion,T=b.motionArgs||{},E=b.operator,$=b.operatorArgs||{},z=b.registerName,M=m.sel,F=vt(m.visualMode?et(h,M.head):h.getCursor("head")),Z=vt(m.visualMode?et(h,M.anchor):h.getCursor("anchor")),fe=vt(F),me=vt(Z),ie,te,Te;if(E&&this.recordLastEdit(m,b),b.repeatOverride!==void 0?Te=b.repeatOverride:Te=b.getRepeat(),Te>0&&T.explicitRepeat?T.repeatIsExplicit=!0:(T.noRepeat||!T.explicitRepeat&&Te===0)&&(Te=1,T.repeatIsExplicit=!1),b.selectedCharacter&&(T.selectedCharacter=$.selectedCharacter=b.selectedCharacter),T.repeat=Te,Zt(h),y){var ye=mn[y](h,F,T,m,b);if(m.lastMotion=mn[y],!ye)return;if(T.toJumplist){var je=Ce.jumpList,He=je.cachedCursor;He?(Qw(h,He,ye),delete je.cachedCursor):Qw(h,F,ye)}ye instanceof Array?(te=ye[0],ie=ye[1]):ie=ye,ie||(ie=vt(F)),m.visualMode?(m.visualBlock&&ie.ch===1/0||(ie=et(h,ie,fe)),te&&(te=et(h,te)),te=te||me,M.anchor=te,M.head=ie,_l(h),yo(h,m,"<",rr(te,ie)?te:ie),yo(h,m,">",rr(te,ie)?ie:te)):E||(ie=et(h,ie,fe),h.setCursor(ie.line,ie.ch))}if(E){if($.lastSel){te=me;var qe=$.lastSel,Lt=Math.abs(qe.head.line-qe.anchor.line),jr=Math.abs(qe.head.ch-qe.anchor.ch);qe.visualLine?ie=new e(me.line+Lt,me.ch):qe.visualBlock?ie=new e(me.line+Lt,me.ch+jr):qe.head.line==qe.anchor.line?ie=new e(me.line,me.ch+jr):ie=new e(me.line+Lt,me.ch),m.visualMode=!0,m.visualLine=qe.visualLine,m.visualBlock=qe.visualBlock,M=m.sel={anchor:te,head:ie},_l(h)}else m.visualMode&&($.lastSel={anchor:vt(M.anchor),head:vt(M.head),visualBlock:m.visualBlock,visualLine:m.visualLine});var ir,wr,bt,xt,ni;if(m.visualMode){ir=$i(M.head,M.anchor),wr=fa(M.head,M.anchor),bt=m.visualLine||$.linewise,xt=m.visualBlock?"block":bt?"line":"char";var gr=i(h,ir,wr);if(ni=Vg(h,{anchor:gr.start,head:gr.end},xt),bt){var br=ni.ranges;if(xt=="block")for(var pa=0;pa<br.length;pa++)br[pa].head.ch=$r(h,br[pa].head.line);else xt=="line"&&(br[0].head=new e(br[0].head.line+1,0))}}else{if(ir=vt(te||me),wr=vt(ie||fe),rr(wr,ir)){var EM=ir;ir=wr,wr=EM}bt=T.linewise||$.linewise,bt?JL(h,ir,wr):T.forward&&KL(h,ir,wr),xt="char";var CM=!T.inclusive||bt,gr=i(h,ir,wr);ni=Vg(h,{anchor:gr.start,head:gr.end},xt,CM)}h.setSelections(ni.ranges,ni.primary),m.lastMotion=null,$.repeat=Te,$.registerName=z,$.linewise=bt;var Jg=be[E](h,$,ni.ranges,me,ie);m.visualMode&&zn(h,Jg!=null),Jg&&h.setCursor(Jg)}},recordLastEdit:function(h,m,b){var y=Ce.macroModeState;y.isPlaying||(h.lastEditInputState=m,h.lastEditActionCommand=b,y.lastInsertModeChanges.changes=[],y.lastInsertModeChanges.expectCursorActivityForChange=!1,y.lastInsertModeChanges.visualBlock=h.visualBlock?h.sel.head.line-h.sel.anchor.line:0)}},mn={moveToTopLine:function(h,m,b){var y=Hg(h).top+b.repeat-1;return new e(y,Dn(h.getLine(y)))},moveToMiddleLine:function(h){var m=Hg(h),b=Math.floor((m.top+m.bottom)*.5);return new e(b,Dn(h.getLine(b)))},moveToBottomLine:function(h,m,b){var y=Hg(h).bottom-b.repeat+1;return new e(y,Dn(h.getLine(y)))},expandToLine:function(h,m,b){var y=m;return new e(y.line+b.repeat-1,1/0)},findNext:function(h,m,b){var y=Nn(h),T=y.getQuery();if(T){var E=!b.forward;return E=y.isReversed()?!E:E,jw(h,T),Ww(h,E,T,b.repeat)}},findAndSelectNextInclusive:function(h,m,b,y,T){var E=Nn(h),$=E.getQuery();if($){var z=!b.forward;z=E.isReversed()?!z:z;var M=gM(h,z,$,b.repeat,y);if(M){if(T.operator)return M;var F=M[0],Z=new e(M[1].line,M[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 fe=y.sel.anchor;if(fe)return E.isReversed()?b.forward?[fe,F]:[fe,Z]:b.forward?[fe,Z]:[fe,F]}else y.visualMode=!0,y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""});return z?[Z,F]:[F,Z]}}},goToMark:function(h,m,b,y){var T=wd(h,y,b.selectedCharacter);return T?b.linewise?{line:T.line,ch:Dn(h.getLine(T.line))}:T:null},moveToOtherHighlightedEnd:function(h,m,b,y){if(y.visualBlock&&b.sameLine){var T=y.sel;return[et(h,new e(T.anchor.line,T.head.ch)),et(h,new e(T.head.line,T.anchor.ch))]}else return[y.sel.head,y.sel.anchor]},jumpToMark:function(h,m,b,y){for(var T=m,E=0;E<b.repeat;E++){var $=T;for(var z in y.marks)if(ue(z)){var M=y.marks[z].find(),F=b.forward?rr(M,$):rr($,M);if(!F&&!(b.linewise&&M.line==$.line)){var Z=tr($,T),fe=b.forward?Cw($,M,T):Cw(T,M,$);(Z||fe)&&(T=M)}}}return b.linewise&&(T=new e(T.line,Dn(h.getLine(T.line)))),T},moveByCharacters:function(h,m,b){var y=m,T=b.repeat,E=b.forward?y.ch+T:y.ch-T;return new e(y.line,E)},moveByLines:function(h,m,b,y){var T=m,E=T.ch;switch(y.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:E=y.lastHPos;break;default:y.lastHPos=E}var $=b.repeat+(b.repeatOffset||0),z=b.forward?T.line+$:T.line-$,M=h.firstLine(),F=h.lastLine(),Z=h.findPosV(T,b.forward?$:-$,"line",y.lastHSPos),fe=b.forward?Z.line>z:Z.line<z;return fe&&(z=Z.line,E=Z.ch),z<M&&T.line==M?this.moveToStartOfLine(h,m,b,y):z>F&&T.line==F?Iw(h,m,b,y,!0):(b.toFirstChar&&(E=Dn(h.getLine(z)),y.lastHPos=E),y.lastHSPos=h.charCoords(new e(z,E),"div").left,new e(z,E))},moveByDisplayLines:function(h,m,b,y){var T=m;switch(y.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:y.lastHSPos=h.charCoords(T,"div").left}var E=b.repeat,$=h.findPosV(T,b.forward?E:-E,"line",y.lastHSPos);if($.hitSide)if(b.forward)var z=h.charCoords($,"div"),M={top:z.top+8,left:y.lastHSPos},$=h.coordsChar(M,"div");else{var F=h.charCoords(new e(h.firstLine(),0),"div");F.left=y.lastHSPos,$=h.coordsChar(F,"div")}return y.lastHPos=$.ch,$},moveByPage:function(h,m,b){var y=m,T=b.repeat;return h.findPosV(y,b.forward?T:-T,"page")},moveByParagraph:function(h,m,b){var y=b.forward?1:-1;return Lw(h,m,b.repeat,y)},moveBySentence:function(h,m,b){var y=b.forward?1:-1;return aM(h,m,b.repeat,y)},moveByScroll:function(h,m,b,y){var T=h.getScrollInfo(),E=null,$=b.repeat;$||($=T.clientHeight/(2*h.defaultTextHeight()));var z=h.charCoords(m,"local");if(b.repeat=$,E=mn.moveByDisplayLines(h,m,b,y),!E)return null;var M=h.charCoords(E,"local");return h.scrollTo(null,T.top+M.top-z.top),E},moveByWords:function(h,m,b){return iM(h,m,b.repeat,!!b.forward,!!b.wordEnd,!!b.bigWord)},moveTillCharacter:function(h,m,b){var y=b.repeat,T=Zg(h,y,b.forward,b.selectedCharacter,m),E=b.forward?-1:1;return $w(E,b),T?(T.ch+=E,T):null},moveToCharacter:function(h,m,b){var y=b.repeat;return $w(0,b),Zg(h,y,b.forward,b.selectedCharacter,m)||m},moveToSymbol:function(h,m,b){var y=b.repeat;return rM(h,y,b.forward,b.selectedCharacter)||m},moveToColumn:function(h,m,b,y){var T=b.repeat;return y.lastHPos=T-1,y.lastHSPos=h.charCoords(m,"div").left,nM(h,T)},moveToEol:function(h,m,b,y){return Iw(h,m,b,y,!1)},moveToFirstNonWhiteSpaceCharacter:function(h,m){var b=m;return new e(b.line,Dn(h.getLine(b.line)))},moveToMatchedSymbol:function(h,m){for(var b=m,y=b.line,T=b.ch,E=h.getLine(y),$;T<E.length;T++)if($=E.charAt(T),$&&he($)){var z=h.getTokenTypeAt(new e(y,T+1));if(z!=="string"&&z!=="comment")break}if(T<E.length){var M=T==="<"||T===">"?/[(){}[\]<>]/:/[(){}[\]]/,F=h.findMatchingBracket(new e(y,T),{bracketRegex:M});return F.to}else return b},moveToStartOfLine:function(h,m){return new e(m.line,0)},moveToLineOrEdgeOfDocument:function(h,m,b){var y=b.forward?h.lastLine():h.firstLine();return b.repeatIsExplicit&&(y=b.repeat-h.getOption("firstLineNumber")),new e(y,Dn(h.getLine(y)))},moveToStartOfDisplayLine:function(h){return h.execCommand("goLineLeft"),h.getCursor()},moveToEndOfDisplayLine:function(h){h.execCommand("goLineRight");var m=h.getCursor();return m.sticky=="before"&&m.ch--,m},textObjectManipulation:function(h,m,b,y){var T={"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"},E={"'":!0,'"':!0,"`":!0},$=b.selectedCharacter;$=="b"?$="(":$=="B"&&($="{");var z=!b.textObjectInner,M,F;if(T[$]){if(F=!0,M=zw(h,m,$,z),!M){var Z=h.getSearchCursor(new RegExp("\\"+$,"g"),m);Z.find()&&(M=zw(h,Z.from(),$,z))}}else if(E[$])F=!0,M=sM(h,m,$,z);else if($==="W"||$==="w")for(var fe=b.repeat||1;fe-- >0;){var me=Fg(h,{inclusive:z,innerWord:!z,bigWord:$==="W",noSymbol:$==="W",multiline:!0},M&&M.end);me&&(M||(M=me),M.end=me.end)}else if($==="p")if(M=Lw(h,m,b.repeat,0,z),b.linewise=!0,y.visualMode)y.visualLine||(y.visualLine=!0);else{var ie=y.inputState.operatorArgs;ie&&(ie.linewise=!0),M.end.line--}else if($==="t")M=eM(h,m,z);else if($==="s"){var te=h.getLine(m.line);m.ch>0&&ae(te[m.ch])&&(m.ch-=1);var Te=Mw(h,m,b.repeat,1,z),ye=Mw(h,m,b.repeat,-1,z);_e(h.getLine(ye.line)[ye.ch])&&_e(h.getLine(Te.line)[Te.ch-1])&&(ye={line:ye.line,ch:ye.ch+1}),M={start:ye,end:Te}}return M?h.state.vim.visualMode?HL(h,M.start,M.end,F):[M.start,M.end]:null},repeatLastCharacterSearch:function(h,m,b){var y=Ce.lastCharacterSearch,T=b.repeat,E=b.forward===y.forward,$=(y.increment?1:0)*(E?-1:1);h.moveH(-$,"char"),b.inclusive=!!E;var z=Zg(h,T,E,y.selectedCharacter);return z?(z.ch+=$,z):(h.moveH($,"char"),m)}};function jg(h,m){mn[h]=m}function yd(h,m){for(var b=[],y=0;y<m;y++)b.push(h);return b}var be={change:function(h,m,b){var y,T,E=h.state.vim,$=b[0].anchor,z=b[0].head;if(E.visualMode)if(m.fullLine)z.ch=Number.MAX_VALUE,z.line--,h.setSelection($,z),T=h.getSelection(),h.replaceSelection(""),y=$;else{T=h.getSelection();var Z=yd("",b.length);h.replaceSelections(Z),y=$i(b[0].head,b[0].anchor)}else{T=h.getRange($,z);var M=E.lastEditInputState||{};if(M.motion=="moveByWords"&&!_e(T)){var F=/\s+$/.exec(T);F&&M.motionArgs&&M.motionArgs.forward&&(z=It(z,0,-F[0].length),T=T.slice(0,-F[0].length))}m.linewise&&($=new e($.line,Dn(h.getLine($.line))),z.line>$.line&&(z=new e(z.line-1,Number.MAX_VALUE))),h.replaceRange("",$,z),y=$}Ce.registerController.pushText(m.registerName,"change",T,m.linewise,b.length>1),Ye.enterInsertMode(h,{head:y},h.state.vim)},delete:function(h,m,b){var y,T,E=h.state.vim;if(E.visualBlock){T=h.getSelection();var M=yd("",b.length);h.replaceSelections(M),y=$i(b[0].head,b[0].anchor)}else{var $=b[0].anchor,z=b[0].head;m.linewise&&z.line!=h.firstLine()&&$.line==h.lastLine()&&$.line==z.line-1&&($.line==h.firstLine()?$.ch=0:$=new e($.line-1,$r(h,$.line-1))),T=h.getRange($,z),h.replaceRange("",$,z),y=$,m.linewise&&(y=mn.moveToFirstNonWhiteSpaceCharacter(h,$))}return Ce.registerController.pushText(m.registerName,"delete",T,m.linewise,E.visualBlock),et(h,y)},indent:function(h,m,b){var y=h.state.vim;if(h.indentMore)for(var T=y.visualMode?m.repeat:1,E=0;E<T;E++)m.indentRight?h.indentMore():h.indentLess();else{var $=b[0].anchor.line,z=y.visualBlock?b[b.length-1].anchor.line:b[0].head.line,T=y.visualMode?m.repeat:1;m.linewise&&z--;for(var M=$;M<=z;M++)for(var E=0;E<T;E++)h.indentLine(M,m.indentRight)}return mn.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},indentAuto:function(h,m,b){return h.execCommand("indentAuto"),mn.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},hardWrap:function(h,m,b,y,T){if(h.hardWrap){var E=b[0].anchor.line,$=b[0].head.line;m.linewise&&$--;var z=h.hardWrap({from:E,to:$});return z>E&&m.linewise&&z--,m.keepCursor?y:new e(z,0)}},changeCase:function(h,m,b,y,T){for(var E=h.getSelections(),$=[],z=m.toLower,M=0;M<E.length;M++){var F=E[M],Z="";if(z===!0)Z=F.toLowerCase();else if(z===!1)Z=F.toUpperCase();else for(var fe=0;fe<F.length;fe++){var me=F.charAt(fe);Z+=ve(me)?me.toLowerCase():me.toUpperCase()}$.push(Z)}return h.replaceSelections($),m.shouldMoveCursor?T:!h.state.vim.visualMode&&m.linewise&&b[0].anchor.line+1==b[0].head.line?mn.moveToFirstNonWhiteSpaceCharacter(h,y):m.linewise?y:$i(b[0].anchor,b[0].head)},yank:function(h,m,b,y){var T=h.state.vim,E=h.getSelection(),$=T.visualMode?$i(T.sel.anchor,T.sel.head,b[0].head,b[0].anchor):y;return Ce.registerController.pushText(m.registerName,"yank",E,m.linewise,T.visualBlock),$}};function Xe(h,m){be[h]=m}var Ye={jumpListWalk:function(h,m,b){if(!b.visualMode){var y=m.repeat,T=m.forward,E=Ce.jumpList,$=E.move(h,T?y:-y),z=$?$.find():void 0;z=z||h.getCursor(),h.setCursor(z)}},scroll:function(h,m,b){if(!b.visualMode){var y=m.repeat||1,T=h.defaultTextHeight(),E=h.getScrollInfo().top,$=T*y,z=m.forward?E+$:E-$,M=vt(h.getCursor()),F=h.charCoords(M,"local");if(m.forward)z>F.top?(M.line+=(z-F.top)/T,M.line=Math.ceil(M.line),h.setCursor(M),F=h.charCoords(M,"local"),h.scrollTo(null,F.top)):h.scrollTo(null,z);else{var Z=z+h.getScrollInfo().clientHeight;Z<F.bottom?(M.line-=(F.bottom-Z)/T,M.line=Math.floor(M.line),h.setCursor(M),F=h.charCoords(M,"local"),h.scrollTo(null,F.bottom-h.getScrollInfo().clientHeight)):h.scrollTo(null,z)}}},scrollToCursor:function(h,m){var b=h.getCursor().line,y=h.charCoords(new e(b,0),"local"),T=h.getScrollInfo().clientHeight,E=y.top;switch(m.position){case"center":E=y.bottom-T/2;break;case"bottom":var $=new e(b,h.getLine(b).length-1),z=h.charCoords($,"local"),M=z.bottom-E;E=E-T+M;break}h.scrollTo(null,E)},replayMacro:function(h,m,b){var y=m.selectedCharacter,T=m.repeat,E=Ce.macroModeState;for(y=="@"?y=E.latestRegister:E.latestRegister=y;T--;)xM(h,b,E,y)},enterMacroRecordMode:function(h,m){var b=Ce.macroModeState,y=m.selectedCharacter;Ce.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,m,b){if(!h.getOption("readOnly")){b.insertMode=!0,b.insertModeRepeat=m&&m.repeat||1;var y=m?m.insertAt:null,T=b.sel,E=m.head||h.getCursor("head"),$=h.listSelections().length;if(y=="eol")E=new e(E.line,$r(h,E.line));else if(y=="bol")E=new e(E.line,0);else if(y=="charAfter"){var z=i(h,E,It(E,0,1));E=z.end}else if(y=="firstNonBlank"){var z=i(h,E,mn.moveToFirstNonWhiteSpaceCharacter(h,E));E=z.end}else if(y=="startOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(E=new e(Math.min(T.head.line,T.anchor.line),Math.min(T.head.ch,T.anchor.ch)),$=Math.abs(T.head.line-T.anchor.line)+1):T.head.line<T.anchor.line?E=T.head:E=new e(T.anchor.line,0)}else if(y=="endOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(E=new e(Math.min(T.head.line,T.anchor.line),Math.max(T.head.ch,T.anchor.ch)+1),$=Math.abs(T.head.line-T.anchor.line)+1):T.head.line>=T.anchor.line?E=It(T.head,0,1):E=new e(T.anchor.line,0)}else if(y=="inplace"){if(b.visualMode)return}else y=="lastEdit"&&(E=Vw(h)||E);h.setOption("disableInput",!1),m&&m.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"})),Ce.macroModeState.isPlaying||(h.on("change",Hw),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=h.setBookmark(E,{insertLeft:!0}),t.on(h.getInputField(),"keydown",Jw)),b.visualMode&&zn(h),_w(h,E,$)}},toggleVisualMode:function(h,m,b){var y=m.repeat,T=h.getCursor(),E;if(b.visualMode)b.visualLine^m.linewise||b.visualBlock^m.blockwise?(b.visualLine=!!m.linewise,b.visualBlock=!!m.blockwise,t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),_l(h)):zn(h);else{b.visualMode=!0,b.visualLine=!!m.linewise,b.visualBlock=!!m.blockwise,E=et(h,new e(T.line,T.ch+y-1));var $=i(h,T,E);b.sel={anchor:$.start,head:$.end},t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),_l(h),yo(h,b,"<",$i(T,E)),yo(h,b,">",fa(T,E))}},reselectLastSelection:function(h,m,b){var y=b.lastSelection;if(b.visualMode&&Aw(h,b),y){var T=y.anchorMark.find(),E=y.headMark.find();if(!T||!E)return;b.sel={anchor:T,head:E},b.visualMode=!0,b.visualLine=y.visualLine,b.visualBlock=y.visualBlock,_l(h),yo(h,b,"<",$i(T,E)),yo(h,b,">",fa(T,E)),t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""})}},joinLines:function(h,m,b){var y,T;if(b.visualMode){if(y=h.getCursor("anchor"),T=h.getCursor("head"),rr(T,y)){var E=T;T=y,y=E}T.ch=$r(h,T.line)-1}else{var $=Math.max(m.repeat,2);y=h.getCursor(),T=et(h,new e(y.line+$-1,1/0))}for(var z=0,M=y.line;M<T.line;M++){z=$r(h,y.line);var F="",Z=0;if(!m.keepSpaces){var fe=h.getLine(y.line+1);Z=fe.search(/\S/),Z==-1?Z=fe.length:F=" "}h.replaceRange(F,new e(y.line,z),new e(y.line+1,Z))}var me=et(h,new e(y.line,z));b.visualMode&&zn(h,!1),h.setCursor(me)},newLineAndEnterInsertMode:function(h,m,b){b.insertMode=!0;var y=vt(h.getCursor());if(y.line===h.firstLine()&&!m.after)h.replaceRange(`
`,new e(h.firstLine(),0)),h.setCursor(h.firstLine(),0);else{y.line=m.after?y.line:y.line-1,y.ch=$r(h,y.line),h.setCursor(y);var T=t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent;T(h)}this.enterInsertMode(h,{repeat:m.repeat},b)},paste:function(h,m,b){var y=Ce.registerController.getRegister(m.registerName);if(m.registerName==="+")navigator.clipboard.readText().then(E=>{this.continuePaste(h,m,b,E,y)});else{var T=y.toString();this.continuePaste(h,m,b,T,y)}},continuePaste:function(h,m,b,y,T){var E=vt(h.getCursor());if(y){if(m.matchIndent){var $=h.getOption("tabSize"),z=function(gr){var br=gr.split(" ").length-1,pa=gr.split(" ").length-1;return br*$+pa*1},M=h.getLine(h.getCursor().line),F=z(M.match(/^\s*/)[0]),Z=y.replace(/\n$/,""),fe=y!==Z,me=z(y.match(/^\s*/)[0]),y=Z.replace(/^\s*/gm,function(gr){var br=F+(z(gr)-me);if(br<0)return"";if(h.getOption("indentWithTabs")){var pa=Math.floor(br/$);return Array(pa+1).join(" ")}else return Array(br+1).join(" ")});y+=fe?`
`:""}if(m.repeat>1)var y=Array(m.repeat+1).join(y);var ie=T.linewise,te=T.blockwise;if(te){y=y.split(`
`),ie&&y.pop();for(var Te=0;Te<y.length;Te++)y[Te]=y[Te]==""?" ":y[Te];E.ch+=m.after?1:0,E.ch=Math.min($r(h,E.line),E.ch)}else ie?b.visualMode?y=b.visualLine?y.slice(0,-1):`
`+y.slice(0,y.length-1)+`
`:m.after?(y=`
`+y.slice(0,y.length-1),E.ch=$r(h,E.line)):E.ch=0:E.ch+=m.after?1:0;var ye;if(b.visualMode){b.lastPastedText=y;var je,He=YL(h,b),qe=He[0],Lt=He[1],jr=h.getSelection(),ir=h.listSelections(),wr=new Array(ir.length).join("1").split("1");b.lastSelection&&(je=b.lastSelection.headMark.find()),Ce.registerController.unnamedRegister.setText(jr),te?(h.replaceSelections(wr),Lt=new e(qe.line+y.length-1,qe.ch),h.setCursor(qe),Pw(h,Lt),h.replaceSelections(y),ye=qe):b.visualBlock?(h.replaceSelections(wr),h.setCursor(qe),h.replaceRange(y,qe,qe),ye=qe):(h.replaceRange(y,qe,Lt),ye=h.posFromIndex(h.indexFromPos(qe)+y.length-1)),je&&(b.lastSelection.headMark=h.setBookmark(je)),ie&&(ye.ch=0)}else if(te){h.setCursor(E);for(var Te=0;Te<y.length;Te++){var bt=E.line+Te;bt>h.lastLine()&&h.replaceRange(`
`,new e(bt,0));var xt=$r(h,bt);xt<E.ch&&FL(h,bt,E.ch)}h.setCursor(E),Pw(h,new e(E.line+y.length-1,E.ch)),h.replaceSelections(y),ye=E}else if(h.replaceRange(y,E),ie){var bt=m.after?E.line+1:E.line;ye=new e(bt,Dn(h.getLine(bt)))}else ye=vt(E),/\n/.test(y)||(ye.ch+=y.length-(m.after?1:0));b.visualMode&&zn(h,!1),h.setCursor(ye)}},undo:function(h,m){h.operation(function(){Br(h,t.commands.undo,m.repeat)(),h.setCursor(et(h,h.getCursor("start")))})},redo:function(h,m){Br(h,t.commands.redo,m.repeat)()},setRegister:function(h,m,b){b.inputState.registerName=m.selectedCharacter},insertRegister:function(h,m,b){var y=m.selectedCharacter,T=Ce.registerController.getRegister(y),E=T&&T.toString();E&&h.replaceSelection(E)},oneNormalCommand:function(h,m,b){da(h,!0),b.insertModeReturn=!0,t.on(h,"vim-command-done",function y(){b.visualMode||(b.insertModeReturn&&(b.insertModeReturn=!1,b.insertMode||Ye.enterInsertMode(h,{},b)),t.off(h,"vim-command-done",y))})},setMark:function(h,m,b){var y=m.selectedCharacter;yo(h,b,y,h.getCursor())},replace:function(h,m,b){var y=m.selectedCharacter,T=h.getCursor(),E,$,z=h.listSelections();if(b.visualMode)T=h.getCursor("start"),$=h.getCursor("end");else{var M=h.getLine(T.line);E=T.ch+m.repeat,E>M.length&&(E=M.length),$=new e(T.line,E)}var F=i(h,T,$);if(T=F.start,$=F.end,y==`
`)b.visualMode||h.replaceRange("",T,$),(t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent)(h);else{var Z=h.getRange(T,$);if(Z=Z.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y),Z=Z.replace(/[^\n]/g,y),b.visualBlock){var fe=new Array(h.getOption("tabSize")+1).join(" ");Z=h.getSelection(),Z=Z.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y),Z=Z.replace(/\t/g,fe).replace(/[^\n]/g,y).split(`
`),h.replaceSelections(Z)}else h.replaceRange(Z,T,$);b.visualMode?(T=rr(z[0].anchor,z[0].head)?z[0].anchor:z[0].head,h.setCursor(T),zn(h,!1)):h.setCursor(It($,0,-1))}},incrementNumberToken:function(h,m){for(var b=h.getCursor(),y=h.getLine(b.line),T=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi,E,$,z,M;(E=T.exec(y))!==null&&($=E.index,z=$+E[0].length,!(b.ch<z)););if(!(!m.backtrack&&z<=b.ch)){if(E){var F=E[2]||E[4],Z=E[3]||E[5],fe=m.increase?1:-1,me={"0b":2,0:8,"":10,"0x":16}[F.toLowerCase()],ie=parseInt(E[1]+Z,me)+fe*m.repeat;M=ie.toString(me);var te=F?new Array(Z.length-M.length+1+E[1].length).join("0"):"";M.charAt(0)==="-"?M="-"+F+te+M.substr(1):M=F+te+M;var Te=new e(b.line,$),ye=new e(b.line,z);h.replaceRange(M,Te,ye)}else return;h.setCursor(new e(b.line,$+M.length-1))}},repeatLastEdit:function(h,m,b){var y=b.lastEditInputState;if(y){var T=m.repeat;T&&m.repeatIsExplicit?b.lastEditInputState.repeatOverride=T:T=b.lastEditInputState.repeatOverride||T,ek(h,b,T,!1)}},indent:function(h,m){h.indentLine(h.getCursor().line,m.indentRight)},exitInsertMode:da};function ht(h,m){Ye[h]=m}function et(h,m,b){var y=h.state.vim,T=y.insertMode||y.visualMode,E=Math.min(Math.max(h.firstLine(),m.line),h.lastLine()),$=h.getLine(E),z=$.length-1+ +!!T,M=Math.min(Math.max(0,m.ch),z),F=$.charCodeAt(M);if(56320<=F&&F<=57343){var Z=1;b&&b.line==E&&b.ch>M&&(Z=-1),M+=Z,M>z&&(M-=2)}return new e(E,M)}function qr(h){var m={};for(var b in h)h.hasOwnProperty(b)&&(m[b]=h[b]);return m}function It(h,m,b){return typeof m=="object"&&(b=m.ch,m=m.line),new e(h.line+m,h.ch+b)}function On(h,m,b,y){y.operator&&(b="operatorPending");for(var T,E=[],$=[],z=Ar?m.length-o:0,M=z;M<m.length;M++){var F=m[M];b=="insert"&&F.context!="insert"||F.context&&F.context!=b||y.operator&&F.type=="action"||!(T=vs(h,F.keys))||(T=="partial"&&E.push(F),T=="full"&&$.push(F))}return{partial:E.length&&E,full:$.length&&$}}function vs(h,m){if(m.slice(-11)=="<character>"){var b=m.length-11,y=h.slice(0,b),T=m.slice(0,b);return y==T&&h.length>b?"full":T.indexOf(y)==0?"partial":!1}else return h==m?"full":m.indexOf(h)==0?"partial":!1}function xs(h){var m=/^.*(<[^>]+>)$/.exec(h),b=m?m[1]:h.slice(-1);if(b.length>1)switch(b){case"<CR>":b=`
`;break;case"<Space>":b=" ";break;default:b="";break}return b}function Br(h,m,b){return function(){for(var y=0;y<b;y++)m(h)}}function vt(h){return new e(h.line,h.ch)}function tr(h,m){return h.ch==m.ch&&h.line==m.line}function rr(h,m){return h.line<m.line||h.line==m.line&&h.ch<m.ch}function $i(h,m){return arguments.length>2&&(m=$i.apply(void 0,Array.prototype.slice.call(arguments,1))),rr(h,m)?h:m}function fa(h,m){return arguments.length>2&&(m=fa.apply(void 0,Array.prototype.slice.call(arguments,1))),rr(h,m)?m:h}function Cw(h,m,b){var y=rr(h,m),T=rr(m,b);return y&&T}function $r(h,m){return h.getLine(m).length}function Wg(h){return h.trim?h.trim():h.replace(/^\s+|\s+$/g,"")}function VL(h){return h.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}function FL(h,m,b){var y=$r(h,m),T=new Array(b-y+1).join(" ");h.setCursor(new e(m,y)),h.replaceRange(T,h.getCursor())}function Pw(h,m){var b=[],y=h.listSelections(),T=vt(h.clipPos(m)),E=!tr(m,T),$=h.getCursor("head"),z=ZL(y,$),M=tr(y[z].head,y[z].anchor),F=y.length-1,Z=F-z>z?F:0,fe=y[Z].anchor,me=Math.min(fe.line,T.line),ie=Math.max(fe.line,T.line),te=fe.ch,Te=T.ch,ye=y[Z].head.ch-te,je=Te-te;ye>0&&je<=0?(te++,E||Te--):ye<0&&je>=0?(te--,M||Te++):ye<0&&je==-1&&(te--,Te++);for(var He=me;He<=ie;He++){var qe={anchor:new e(He,te),head:new e(He,Te)};b.push(qe)}return h.setSelections(b),m.ch=Te,fe.ch=te,fe}function _w(h,m,b){for(var y=[],T=0;T<b;T++){var E=It(m,T,0);y.push({anchor:E,head:E})}h.setSelections(y,0)}function ZL(h,m,b){for(var y=0;y<h.length;y++){var T=b!="head"&&tr(h[y].anchor,m),E=b!="anchor"&&tr(h[y].head,m);if(T||E)return y}return-1}function YL(h,m){var b=m.lastSelection,y=function(){var E=h.listSelections(),$=E[0],z=E[E.length-1],M=rr($.anchor,$.head)?$.anchor:$.head,F=rr(z.anchor,z.head)?z.head:z.anchor;return[M,F]},T=function(){var E=h.getCursor(),$=h.getCursor(),z=b.visualBlock;if(z){var M=z.width,F=z.height;$=new e(E.line+F,E.ch+M);for(var Z=[],fe=E.line;fe<$.line;fe++){var me=new e(fe,E.ch),ie=new e(fe,$.ch),te={anchor:me,head:ie};Z.push(te)}h.setSelections(Z)}else{var Te=b.anchorMark.find(),ye=b.headMark.find(),je=ye.line-Te.line,He=ye.ch-Te.ch;$={line:$.line+je,ch:je?$.ch:He+$.ch},b.visualLine&&(E=new e(E.line,0),$=new e($.line,$r(h,$.line))),h.setSelection(E,$)}return[E,$]};return m.visualMode?y():T()}function Aw(h,m){var b=m.sel.anchor,y=m.sel.head;m.lastPastedText&&(y=h.posFromIndex(h.indexFromPos(b)+m.lastPastedText.length),m.lastPastedText=null),m.lastSelection={anchorMark:h.setBookmark(b),headMark:h.setBookmark(y),anchor:vt(b),head:vt(y),visualMode:m.visualMode,visualLine:m.visualLine,visualBlock:m.visualBlock}}function HL(h,m,b,y){var T=h.state.vim.sel,E=y?m:T.head,$=y?m:T.anchor,z;return rr(b,m)&&(z=b,b=m,m=z),rr(E,$)?(E=$i(m,E),$=fa($,b)):($=$i(m,$),E=fa(E,b),E=It(E,0,-1),E.ch==-1&&E.line!=h.firstLine()&&(E=new e(E.line-1,$r(h,E.line-1)))),[$,E]}function _l(h,m,T){var y=h.state.vim;m=m||y.sel;var T=T||y.visualLine?"line":y.visualBlock?"block":"char",E=Vg(h,m,T);h.setSelections(E.ranges,E.primary)}function Vg(h,m,b,y){var T=vt(m.head),E=vt(m.anchor);if(b=="char"){var $=!y&&!rr(m.head,m.anchor)?1:0,z=rr(m.head,m.anchor)?1:0;return T=It(m.head,0,$),E=It(m.anchor,0,z),{ranges:[{anchor:E,head:T}],primary:0}}else if(b=="line"){if(rr(m.head,m.anchor))T.ch=0,E.ch=$r(h,E.line);else{E.ch=0;var M=h.lastLine();T.line>M&&(T.line=M),T.ch=$r(h,T.line)}return{ranges:[{anchor:E,head:T}],primary:0}}else if(b=="block"){var F=Math.min(E.line,T.line),Z=E.ch,fe=Math.max(E.line,T.line),me=T.ch;Z<me?me+=1:Z+=1;for(var ie=fe-F+1,te=T.line==F?0:ie-1,Te=[],ye=0;ye<ie;ye++)Te.push({anchor:new e(F+ye,Z),head:new e(F+ye,me)});return{ranges:Te,primary:te}}}function GL(h){var m=h.getCursor("head");return h.getSelection().length==1&&(m=$i(m,h.getCursor("anchor"))),m}function zn(h,m){var b=h.state.vim;m!==!1&&h.setCursor(et(h,b.sel.head)),Aw(h,b),b.visualMode=!1,b.visualLine=!1,b.visualBlock=!1,b.insertMode||t.signal(h,"vim-mode-change",{mode:"normal"})}function KL(h,m,b){var y=h.getRange(m,b);if(/\n\s*$/.test(y)){var T=y.split(`
`);T.pop();for(var E,E=T.pop();T.length>0&&E&&_e(E);E=T.pop())b.line--,b.ch=0;E?(b.line--,b.ch=$r(h,b.line)):b.ch=0}}function JL(h,m,b){m.ch=0,b.ch=0,b.line++}function Dn(h){if(!h)return 0;var m=h.search(/\S/);return m==-1?h.length:m}function Fg(h,{inclusive:m,innerWord:b,bigWord:y,noSymbol:T,multiline:E},$){var z=$||GL(h),M=h.getLine(z.line),F=M,Z=z.line,fe=Z,me=z.ch,ie,te=T?C[0]:Q[0];if(b&&/\s/.test(M.charAt(me)))te=function(Lt){return/\s/.test(Lt)};else{for(;!te(M.charAt(me));)if(me++,me>=M.length){if(!E)return null;me--,ie=Rw(h,z,!0,y,!0);break}y?te=Q[0]:(te=C[0],te(M.charAt(me))||(te=C[1]))}for(var Te=me,ye=me;te(M.charAt(ye))&&ye>=0;)ye--;if(ye++,ie)Te=ie.to,fe=ie.line,F=h.getLine(fe),!F&&Te==0&&Te++;else for(;te(M.charAt(Te))&&Te<M.length;)Te++;if(m){var je=Te,He=z.ch<=ye&&/\s/.test(M.charAt(z.ch));if(!He)for(;/\s/.test(F.charAt(Te))&&Te<F.length;)Te++;if(je==Te||He){for(var qe=ye;/\s/.test(M.charAt(ye-1))&&ye>0;)ye--;!ye&&!He&&(ye=qe)}}return{start:new e(Z,ye),end:new e(fe,Te)}}function eM(h,m,b){var y=m;if(!t.findMatchingTag||!t.findEnclosingTag)return{start:y,end:y};var T=t.findMatchingTag(h,m)||t.findEnclosingTag(h,m);return!T||!T.open||!T.close?{start:y,end:y}:b?{start:T.open.from,end:T.close.to}:{start:T.open.to,end:T.close.from}}function Qw(h,m,b){tr(m,b)||Ce.jumpList.add(h,m,b)}function $w(h,m){Ce.lastCharacterSearch.increment=h,Ce.lastCharacterSearch.forward=m.forward,Ce.lastCharacterSearch.selectedCharacter=m.selectedCharacter}var tM={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},Xw={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 m=h.lastCh==="*"&&h.nextCh==="/";return h.lastCh=h.nextCh,m}},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 m=h.lineText.match(/^#(\w+)/)[1];if(m==="endif"){if(h.forward&&h.depth===0)return!0;h.depth++}else if(m==="if"){if(!h.forward&&h.depth===0)return!0;h.depth--}if(m==="else"&&h.depth===0)return!0}return!1}}};function rM(h,m,b,y){var T=vt(h.getCursor()),E=b?1:-1,$=b?h.lineCount():-1,z=T.ch,M=T.line,F=h.getLine(M),Z={lineText:F,nextCh:F.charAt(z),lastCh:null,index:z,symb:y,reverseSymb:(b?{")":"(","}":"{"}:{"(":")","{":"}"})[y],forward:b,depth:0,curMoveThrough:!1},fe=tM[y];if(!fe)return T;var me=Xw[fe].init,ie=Xw[fe].isComplete;for(me&&me(Z);M!==$&&m;){if(Z.index+=E,Z.nextCh=Z.lineText.charAt(Z.index),!Z.nextCh){if(M+=E,Z.lineText=h.getLine(M)||"",E>0)Z.index=0;else{var te=Z.lineText.length;Z.index=te>0?te-1:0}Z.nextCh=Z.lineText.charAt(Z.index)}ie(Z)&&(T.line=M,T.ch=Z.index,m--)}return Z.nextCh||Z.curMoveThrough?new e(M,Z.index):T}function Rw(h,m,b,y,T){var E=m.line,$=m.ch,z=h.getLine(E),M=b?1:-1,F=y?Q:C;if(T&&z==""){if(E+=M,z=h.getLine(E),!ne(h,E))return null;$=b?0:z.length}for(;;){if(T&&z=="")return{from:0,to:0,line:E};for(var Z=M>0?z.length:-1,fe=Z,me=Z;$!=Z;){for(var ie=!1,te=0;te<F.length&&!ie;++te)if(F[te](z.charAt($))){for(fe=$;$!=Z&&F[te](z.charAt($));)$+=M;if(me=$,ie=fe!=me,fe==m.ch&&E==m.line&&me==fe+M)continue;return{from:Math.min(fe,me+1),to:Math.max(fe,me),line:E}}ie||($+=M)}if(E+=M,!ne(h,E))return null;z=h.getLine(E),$=M>0?0:z.length}}function iM(h,m,b,y,T,E){var $=vt(m),z=[];(y&&!T||!y&&T)&&b++;for(var M=!(y&&T),F=0;F<b;F++){var Z=Rw(h,m,y,E,M);if(!Z){var fe=$r(h,h.lastLine());z.push(y?{line:h.lastLine(),from:fe,to:fe}:{line:0,from:0,to:0});break}z.push(Z),m=new e(Z.line,y?Z.to-1:Z.from)}var me=z.length!=b,ie=z[0],te=z.pop();return y&&!T?(!me&&(ie.from!=$.ch||ie.line!=$.line)&&(te=z.pop()),new e(te.line,te.from)):y&&T?new e(te.line,te.to-1):!y&&T?(!me&&(ie.to!=$.ch||ie.line!=$.line)&&(te=z.pop()),new e(te.line,te.to)):new e(te.line,te.from)}function Iw(h,m,b,y,T){var E=m,$=new e(E.line+b.repeat-1,1/0),z=h.clipPos($);return z.ch--,T||(y.lastHPos=1/0,y.lastHSPos=h.charCoords(z,"div").left),$}function Zg(h,m,b,y,T){for(var E=T||h.getCursor(),$=E.ch,z,M=0;M<m;M++){var F=h.getLine(E.line);if(z=oM($,F,y,b,!0),z==-1)return null;$=z}return new e(h.getCursor().line,z)}function nM(h,m){var b=h.getCursor().line;return et(h,new e(b,m-1))}function yo(h,m,b,y){pe(b,j)&&(m.marks[b]&&m.marks[b].clear(),m.marks[b]=h.setBookmark(y))}function oM(h,m,b,y,T){var E;return y?(E=m.indexOf(b,h+1),E!=-1&&!T&&(E-=1)):(E=m.lastIndexOf(b,h-1),E!=-1&&!T&&(E+=1)),E}function Lw(h,m,b,y,T){var E=m.line,$=h.firstLine(),z=h.lastLine(),M,F,Z=E;function fe(ye){return!h.getLine(ye)}function me(ye,je,He){return He?fe(ye)!=fe(ye+je):!fe(ye)&&fe(ye+je)}if(y){for(;$<=Z&&Z<=z&&b>0;)me(Z,y)&&b--,Z+=y;return new e(Z,0)}var ie=h.state.vim;if(ie.visualLine&&me(E,1,!0)){var te=ie.sel.anchor;me(te.line,-1,!0)&&(!T||te.line!=E)&&(E+=1)}var Te=fe(E);for(Z=E;Z<=z&&b;Z++)me(Z,1,!0)&&(!T||fe(Z)!=Te)&&b--;for(F=new e(Z,0),Z>z&&!Te?Te=!0:T=!1,Z=E;Z>$&&!((!T||fe(Z)==Te||Z==E)&&me(Z,-1,!0));Z--);return M=new e(Z,0),{start:M,end:F}}function Mw(h,m,b,y,T){function E(F){F.pos+F.dir<0||F.pos+F.dir>=F.line.length?F.line=null:F.pos+=F.dir}function $(F,Z,fe,me){var ie=F.getLine(Z),te={line:ie,ln:Z,pos:fe,dir:me};if(te.line==="")return{ln:te.ln,pos:te.pos};var Te=te.pos;for(E(te);te.line!==null;){if(Te=te.pos,ae(te.line[te.pos]))if(T){for(E(te);te.line!==null&&_e(te.line[te.pos]);)Te=te.pos,E(te);return{ln:te.ln,pos:Te+1}}else return{ln:te.ln,pos:te.pos+1};E(te)}return{ln:te.ln,pos:Te+1}}function z(F,Z,fe,me){var ie=F.getLine(Z),te={line:ie,ln:Z,pos:fe,dir:me};if(te.line==="")return{ln:te.ln,pos:te.pos};var Te=te.pos;for(E(te);te.line!==null;){if(!_e(te.line[te.pos])&&!ae(te.line[te.pos]))Te=te.pos;else if(ae(te.line[te.pos]))return T?_e(te.line[te.pos+1])?{ln:te.ln,pos:te.pos+1}:{ln:te.ln,pos:Te}:{ln:te.ln,pos:Te};E(te)}return te.line=ie,T&&_e(te.line[te.pos])?{ln:te.ln,pos:te.pos}:{ln:te.ln,pos:Te}}for(var M={ln:m.line,pos:m.ch};b>0;)y<0?M=z(h,M.ln,M.pos,y):M=$(h,M.ln,M.pos,y),b--;return new e(M.ln,M.pos)}function aM(h,m,b,y){function T(M,F){if(F.pos+F.dir<0||F.pos+F.dir>=F.line.length){if(F.ln+=F.dir,!ne(M,F.ln)){F.line=null,F.ln=null,F.pos=null;return}F.line=M.getLine(F.ln),F.pos=F.dir>0?0:F.line.length-1}else F.pos+=F.dir}function E(M,F,Z,fe){var ye=M.getLine(F),me=ye==="",ie={line:ye,ln:F,pos:Z,dir:fe},te={ln:ie.ln,pos:ie.pos},Te=ie.line==="";for(T(M,ie);ie.line!==null;){if(te.ln=ie.ln,te.pos=ie.pos,ie.line===""&&!Te)return{ln:ie.ln,pos:ie.pos};if(me&&ie.line!==""&&!_e(ie.line[ie.pos]))return{ln:ie.ln,pos:ie.pos};ae(ie.line[ie.pos])&&!me&&(ie.pos===ie.line.length-1||_e(ie.line[ie.pos+1]))&&(me=!0),T(M,ie)}var ye=M.getLine(te.ln);te.pos=0;for(var je=ye.length-1;je>=0;--je)if(!_e(ye[je])){te.pos=je;break}return te}function $(M,F,Z,fe){var Te=M.getLine(F),me={line:Te,ln:F,pos:Z,dir:fe},ie={ln:me.ln,pos:null},te=me.line==="";for(T(M,me);me.line!==null;){if(me.line===""&&!te)return ie.pos!==null?ie:{ln:me.ln,pos:me.pos};if(ae(me.line[me.pos])&&ie.pos!==null&&!(me.ln===ie.ln&&me.pos+1===ie.pos))return ie;me.line!==""&&!_e(me.line[me.pos])&&(te=!1,ie={ln:me.ln,pos:me.pos}),T(M,me)}var Te=M.getLine(ie.ln);ie.pos=0;for(var ye=0;ye<Te.length;++ye)if(!_e(Te[ye])){ie.pos=ye;break}return ie}for(var z={ln:m.line,pos:m.ch};b>0;)y<0?z=$(h,z.ln,z.pos,y):z=E(h,z.ln,z.pos,y),b--;return new e(z.ln,z.pos)}function zw(h,m,b,y){var T=m,E,$,z={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[b],M={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[b],F=h.getLine(T.line).charAt(T.ch),Z=F===M?1:0;if(E=h.scanForBracket(new e(T.line,T.ch+Z),-1,void 0,{bracketRegex:z}),$=h.scanForBracket(new e(T.line,T.ch+Z),1,void 0,{bracketRegex:z}),!E||!$)return null;if(E=E.pos,$=$.pos,E.line==$.line&&E.ch>$.ch||E.line>$.line){var fe=E;E=$,$=fe}return y?$.ch+=1:E.ch+=1,{start:E,end:$}}function sM(h,m,b,y){var T=vt(m),E=h.getLine(T.line),$=E.split(""),z,M,F,Z,fe=$.indexOf(b);if(T.ch<fe)T.ch=fe;else if(fe<T.ch&&$[T.ch]==b){var me=/string/.test(h.getTokenTypeAt(It(m,0,1))),ie=/string/.test(h.getTokenTypeAt(m)),te=me&&!ie;te||(M=T.ch,--T.ch)}if($[T.ch]==b&&!M)z=T.ch+1;else for(F=T.ch;F>-1&&!z;F--)$[F]==b&&(z=F+1);if(z&&!M)for(F=z,Z=$.length;F<Z&&!M;F++)$[F]==b&&(M=F);return!z||!M?{start:T,end:T}:(y&&(--z,++M),{start:new e(T.line,z),end:new e(T.line,M)})}_("pcre",!0,"boolean");function Dw(){}Dw.prototype={getQuery:function(){return Ce.query},setQuery:function(h){Ce.query=h},getOverlay:function(){return this.searchOverlay},setOverlay:function(h){this.searchOverlay=h},isReversed:function(){return Ce.isReversed},setReversed:function(h){Ce.isReversed=h},getScrollbarAnnotate:function(){return this.annotate},setScrollbarAnnotate:function(h){this.annotate=h}};function Nn(h){var m=h.state.vim;return m.searchState_||(m.searchState_=new Dw)}function lM(h){return Nw(h,"/")}function cM(h){return Uw(h,"/")}function Nw(h,m){var b=Uw(h,m)||[];if(!b.length)return[];var y=[];if(b[0]===0){for(var T=0;T<b.length;T++)typeof b[T]=="number"&&y.push(h.substring(b[T]+1,b[T+1]));return y}}function Uw(h,m){m||(m="/");for(var b=!1,y=[],T=0;T<h.length;T++){var E=h.charAt(T);!b&&E==m&&y.push(T),b=!b&&E=="\\"}return y}function uM(h){for(var m="|(){",b="}",y=!1,T=[],E=-1;E<h.length;E++){var $=h.charAt(E)||"",z=h.charAt(E+1)||"",M=z&&m.indexOf(z)!=-1;y?(($!=="\\"||!M)&&T.push($),y=!1):$==="\\"?(y=!0,z&&b.indexOf(z)!=-1&&(M=!0),(!M||z==="\\")&&T.push($)):(T.push($),M&&z!=="\\"&&T.push("\\"))}return T.join("")}var qw={"\\n":`
`,"\\r":"\r","\\t":" "};function fM(h){for(var m=!1,b=[],y=-1;y<h.length;y++){var T=h.charAt(y)||"",E=h.charAt(y+1)||"";qw[T+E]?(b.push(qw[T+E]),y++):m?(b.push(T),m=!1):T==="\\"?(m=!0,ge(E)||E==="$"?b.push("$"):E!=="/"&&E!=="\\"&&b.push("\\")):(T==="$"&&b.push("$"),b.push(T),E==="/"&&b.push("\\"))}return b.join("")}var Bw={"\\/":"/","\\\\":"\\","\\n":`
`,"\\r":"\r","\\t":" ","\\&":"&"};function hM(h){for(var m=new t.StringStream(h),b=[];!m.eol();){for(;m.peek()&&m.peek()!="\\";)b.push(m.next());var y=!1;for(var T in Bw)if(m.match(T,!0)){y=!0,b.push(Bw[T]);break}y||b.push(m.next())}return b.join("")}function dM(h,m,b){var y=Ce.registerController.getRegister("/");if(y.setText(h),h instanceof RegExp)return h;var T=cM(h),E,$;if(!T.length)E=h;else{E=h.substring(0,T[0]);var z=h.substring(T[0]);$=z.indexOf("i")!=-1}if(!E)return null;se("pcre")||(E=uM(E)),b&&(m=/^[^A-Z]*$/.test(E));var M=new RegExp(E,m||$?"im":"m");return M}function ha(h){typeof h=="string"&&(h=document.createElement(h));for(var m,b=1;b<arguments.length;b++)if(m=arguments[b])if(typeof m!="object"&&(m=document.createTextNode(m)),m.nodeType)h.appendChild(m);else for(var y in m)Object.prototype.hasOwnProperty.call(m,y)&&(y[0]==="$"?h.style[y.slice(1)]=m[y]:h.setAttribute(y,m[y]));return h}function Qt(h,m){var b=ha("div",{$color:"red",$whiteSpace:"pre",class:"cm-vim-message"},m);h.openNotification?h.openNotification(b,{bottom:!0,duration:5e3}):alert(b.innerText)}function pM(h,m){return ha("div",{$display:"flex"},ha("span",{$fontFamily:"monospace",$whiteSpace:"pre",$flex:1},h,ha("input",{type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false",$width:"100%"})),m&&ha("span",{$color:"#888"},m))}function vd(h,m){var b=pM(m.prefix,m.desc);if(h.openDialog)h.openDialog(b,m.onClose,{onKeyDown:m.onKeyDown,onKeyUp:m.onKeyUp,bottom:!0,selectValueOnOpen:!1,value:m.value});else{var y="";typeof m.prefix!="string"&&m.prefix&&(y+=m.prefix.textContent),m.desc&&(y+=" "+m.desc),m.onClose(prompt(y,""))}}function mM(h,m){if(h instanceof RegExp&&m instanceof RegExp){for(var b=["global","multiline","ignoreCase","source"],y=0;y<b.length;y++){var T=b[y];if(h[T]!==m[T])return!1}return!0}return!1}function su(h,m,b,y){if(m){var T=Nn(h),E=dM(m,!!b,!!y);if(E)return jw(h,E),mM(E,T.getQuery())||T.setQuery(E),E}}function OM(h){if(h.source.charAt(0)=="^")var m=!0;return{token:function(b){if(m&&!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 xd=0;function jw(h,m){clearTimeout(xd),xd=setTimeout(function(){if(h.state.vim){var b=Nn(h),y=b.getOverlay();(!y||m!=y.query)&&(y&&h.removeOverlay(y),y=OM(m),h.addOverlay(y),h.showMatchesOnScrollbar&&(b.getScrollbarAnnotate()&&b.getScrollbarAnnotate().clear(),b.setScrollbarAnnotate(h.showMatchesOnScrollbar(m))),b.setOverlay(y))}},50)}function Ww(h,m,b,y){return y===void 0&&(y=1),h.operation(function(){for(var T=h.getCursor(),E=h.getSearchCursor(b,T),$=0;$<y;$++){var z=E.find(m);if($==0&&z&&tr(E.from(),T)){var M=m?E.from():E.to();z=E.find(m),z&&!z[0]&&tr(E.from(),M)&&h.getLine(M.line).length==M.ch&&(z=E.find(m))}if(!z&&(E=h.getSearchCursor(b,m?new e(h.lastLine()):new e(h.firstLine(),0)),!E.find(m)))return}return E.from()})}function gM(h,m,b,y,T){return y===void 0&&(y=1),h.operation(function(){var E=h.getCursor(),$=h.getSearchCursor(b,E),z=$.find(!m);!T.visualMode&&z&&tr($.from(),E)&&$.find(!m);for(var M=0;M<y;M++)if(z=$.find(m),!z&&($=h.getSearchCursor(b,m?new e(h.lastLine()):new e(h.firstLine(),0)),!$.find(m)))return;return[$.from(),$.to()]})}function Yg(h){var m=Nn(h);h.removeOverlay(Nn(h).getOverlay()),m.setOverlay(null),m.getScrollbarAnnotate()&&(m.getScrollbarAnnotate().clear(),m.setScrollbarAnnotate(null))}function bM(h,m,b){return typeof h!="number"&&(h=h.line),m instanceof Array?pe(h,m):typeof b=="number"?h>=m&&h<=b:h==m}function Hg(h){var m=h.getScrollInfo(),b=6,y=10,T=h.coordsChar({left:0,top:b+m.top},"local"),E=m.clientHeight-y+m.top,$=h.coordsChar({left:0,top:E},"local");return{top:T.line,bottom:$.line}}function wd(h,m,b){if(b=="'"||b=="`")return Ce.jumpList.find(h,-1)||new e(0,0);if(b==".")return Vw(h);var y=m.marks[b];return y&&y.find()}function Vw(h){if(h.getLastEditEnd)return h.getLastEditEnd();for(var m=h.doc.history.done,b=m.length;b--;)if(m[b].changes)return vt(m[b].changes[0].to)}var Fw=function(){this.buildCommandMap_()};Fw.prototype={processCommand:function(h,m,b){var y=this;h.operation(function(){h.curOp.isVimOp=!0,y._processCommand(h,m,b)})},_processCommand:function(h,m,b){var y=h.state.vim,T=Ce.registerController.getRegister(":"),E=T.toString(),$=new t.StringStream(m);T.setText(m);var z=b||{};z.input=m;try{this.parseInput_(h,$,z)}catch(fe){throw Qt(h,fe.toString()),fe}y.visualMode&&zn(h);var M,F;if(!z.commandName)z.line!==void 0&&(F="move");else if(M=this.matchCommand_(z.commandName),M){if(F=M.name,M.excludeFromCommandHistory&&T.setText(E),this.parseCommandArgs_($,z,M),M.type=="exToKey"){for(var Z=0;Z<M.toKeys.length;Z++)ut.handleKey(h,M.toKeys[Z],"mapping");return}else if(M.type=="exToEx"){this.processCommand(h,M.toInput);return}}if(!F){Qt(h,'Not an editor command ":'+m+'"');return}try{Zw[F](h,z),(!M||!M.possiblyAsync)&&z.callback&&z.callback()}catch(fe){throw Qt(h,fe.toString()),fe}},parseInput_:function(h,m,b){var T,E;m.eatWhile(":"),m.eat("%")?(b.line=h.firstLine(),b.lineEnd=h.lastLine()):(b.line=this.parseLineSpec_(h,m),b.line!==void 0&&m.eat(",")&&(b.lineEnd=this.parseLineSpec_(h,m))),b.line==null?h.state.vim.visualMode?(b.selectionLine=(T=wd(h,h.state.vim,"<"))==null?void 0:T.line,b.selectionLineEnd=(E=wd(h,h.state.vim,">"))==null?void 0:E.line):b.selectionLine=h.getCursor().line:(b.selectionLine=b.line,b.selectionLineEnd=b.lineEnd);var y=m.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return y?b.commandName=y[1]:b.commandName=m.match(/.*/)[0],b},parseLineSpec_:function(h,m){var b=m.match(/^(\d+)/);if(b)return parseInt(b[1],10)-1;switch(m.next()){case".":return this.parseLineSpecOffset_(m,h.getCursor().line);case"$":return this.parseLineSpecOffset_(m,h.lastLine());case"'":var y=m.next(),T=wd(h,h.state.vim,y);if(!T)throw new Error("Mark not set");return this.parseLineSpecOffset_(m,T.line);case"-":case"+":return m.backUp(1),this.parseLineSpecOffset_(m,h.getCursor().line);default:m.backUp(1);return}},parseLineSpecOffset_:function(h,m){var b=h.match(/^([+-])?(\d+)/);if(b){var y=parseInt(b[2],10);b[1]=="-"?m-=y:m+=y}return m},parseCommandArgs_:function(h,m,b){if(!h.eol()){m.argString=h.match(/.*/)[0];var y=b.argDelimiter||/\s+/,T=Wg(m.argString).split(y);T.length&&T[0]&&(m.args=T)}},matchCommand_:function(h){for(var m=h.length;m>0;m--){var b=h.substring(0,m);if(this.commandMap_[b]){var y=this.commandMap_[b];if(y.name.indexOf(h)===0)return y}}return null},buildCommandMap_:function(){this.commandMap_={};for(var h=0;h<a.length;h++){var m=a[h],b=m.shortName||m.name;this.commandMap_[b]=m}},map:function(h,m,b,y){if(h!=":"&&h.charAt(0)==":"){if(b)throw Error("Mode not supported for ex mappings");var T=h.substring(1);m!=":"&&m.charAt(0)==":"?this.commandMap_[T]={name:T,type:"exToEx",toInput:m.substring(1),user:!0}:this.commandMap_[T]={name:T,type:"exToKey",toKeys:m,user:!0}}else if(m!=":"&&m.charAt(0)==":"){var E={keys:h,type:"keyToEx",exArgs:{input:m.substring(1)}};b&&(E.context=b),n.unshift(E)}else{var E={keys:h,type:"keyToKey",toKeys:m,noremap:!!y};b&&(E.context=b),n.unshift(E)}},unmap:function(h,m){if(h!=":"&&h.charAt(0)==":"){if(m)throw Error("Mode not supported for ex mappings");var b=h.substring(1);if(this.commandMap_[b]&&this.commandMap_[b].user)return delete this.commandMap_[b],!0}else for(var y=h,T=0;T<n.length;T++)if(y==n[T].keys&&n[T].context===m)return n.splice(T,1),!0}};var Zw={colorscheme:function(h,m){if(!m.args||m.args.length<1){Qt(h,h.getOption("theme"));return}h.setOption("theme",m.args[0])},map:function(h,m,b,y){var T=m.args;if(!T||T.length<2){h&&Qt(h,"Invalid mapping: "+m.input);return}gn.map(T[0],T[1],b,y)},imap:function(h,m){this.map(h,m,"insert")},nmap:function(h,m){this.map(h,m,"normal")},vmap:function(h,m){this.map(h,m,"visual")},omap:function(h,m){this.map(h,m,"operatorPending")},noremap:function(h,m){this.map(h,m,void 0,!0)},inoremap:function(h,m){this.map(h,m,"insert",!0)},nnoremap:function(h,m){this.map(h,m,"normal",!0)},vnoremap:function(h,m){this.map(h,m,"visual",!0)},onoremap:function(h,m){this.map(h,m,"operatorPending",!0)},unmap:function(h,m,b){var y=m.args;(!y||y.length<1||!gn.unmap(y[0],b))&&h&&Qt(h,"No such mapping: "+m.input)},mapclear:function(h,m){ut.mapclear()},imapclear:function(h,m){ut.mapclear("insert")},nmapclear:function(h,m){ut.mapclear("normal")},vmapclear:function(h,m){ut.mapclear("visual")},omapclear:function(h,m){ut.mapclear("operatorPending")},move:function(h,m){bo.processCommand(h,h.state.vim,{type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:m.line+1})},set:function(h,m){var b=m.args,y=m.setCfg||{};if(!b||b.length<1){h&&Qt(h,"Invalid mapping: "+m.input);return}var T=b[0].split("="),E=T[0],$=T[1],z=!1,M=!1;if(E.charAt(E.length-1)=="?"){if($)throw Error("Trailing characters: "+m.argString);E=E.substring(0,E.length-1),z=!0}else E.charAt(E.length-1)=="!"&&(E=E.substring(0,E.length-1),M=!0);$===void 0&&E.substring(0,2)=="no"&&(E=E.substring(2),$=!1);var F=J[E]&&J[E].type=="boolean";if(F&&(M?$=!se(E,h,y):$==null&&($=!0)),!F&&$===void 0||z){var Z=se(E,h,y);Z instanceof Error?Qt(h,Z.message):Z===!0||Z===!1?Qt(h," "+(Z?"":"no")+E):Qt(h," "+E+"="+Z)}else{var fe=K(E,$,h,y);fe instanceof Error&&Qt(h,fe.message)}},setlocal:function(h,m){m.setCfg={scope:"local"},this.set(h,m)},setglobal:function(h,m){m.setCfg={scope:"global"},this.set(h,m)},registers:function(h,m){var b=m.args,y=Ce.registerController.registers,T=`----------Registers----------
`;if(b){var E;b=b.join("");for(var z=0;z<b.length;z++)if(E=b.charAt(z),!!Ce.registerController.isValidRegister(E)){var M=y[E]||new Qr;T+='"'+E+" "+M.toString()+`
`}}else for(var E in y){var $=y[E].toString();$.length&&(T+='"'+E+" "+$+`
`)}Qt(h,T)},sort:function(h,m){var b,y,T,E,$;function z(){if(m.argString){var bt=new t.StringStream(m.argString);if(bt.eat("!")&&(b=!0),bt.eol())return;if(!bt.eatSpace())return"Invalid arguments";var xt=bt.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!xt&&!bt.eol())return"Invalid arguments";if(xt[1]){y=xt[1].indexOf("i")!=-1,T=xt[1].indexOf("u")!=-1;var ni=xt[1].indexOf("d")!=-1||xt[1].indexOf("n")!=-1&&1,gr=xt[1].indexOf("x")!=-1&&1,br=xt[1].indexOf("o")!=-1&&1;if(ni+gr+br>1)return"Invalid arguments";E=ni&&"decimal"||gr&&"hex"||br&&"octal"}xt[2]&&($=new RegExp(xt[2].substr(1,xt[2].length-2),y?"i":""))}}var M=z();if(M){Qt(h,M+": "+m.argString);return}var F=m.line||h.firstLine(),Z=m.lineEnd||m.line||h.lastLine();if(F==Z)return;var fe=new e(F,0),me=new e(Z,$r(h,Z)),ie=h.getRange(fe,me).split(`
`),te=$||(E=="decimal"?/(-?)([\d]+)/:E=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:E=="octal"?/([0-7]+)/:null),Te=E=="decimal"?10:E=="hex"?16:E=="octal"?8:null,ye=[],je=[];if(E||$)for(var He=0;He<ie.length;He++){var qe=$?ie[He].match($):null;qe&&qe[0]!=""?ye.push(qe):!$&&te.exec(ie[He])?ye.push(ie[He]):je.push(ie[He])}else je=ie;function Lt(bt,xt){if(b){var ni;ni=bt,bt=xt,xt=ni}y&&(bt=bt.toLowerCase(),xt=xt.toLowerCase());var gr=E&&te.exec(bt),br=E&&te.exec(xt);return gr?(gr=parseInt((gr[1]+gr[2]).toLowerCase(),Te),br=parseInt((br[1]+br[2]).toLowerCase(),Te),gr-br):bt<xt?-1:1}function jr(bt,xt){if(b){var ni;ni=bt,bt=xt,xt=ni}return y&&(bt[0]=bt[0].toLowerCase(),xt[0]=xt[0].toLowerCase()),bt[0]<xt[0]?-1:1}if(ye.sort($?jr:Lt),$)for(var He=0;He<ye.length;He++)ye[He]=ye[He].input;else E||je.sort(Lt);if(ie=b?ye.concat(je):je.concat(ye),T){var ir=ie,wr;ie=[];for(var He=0;He<ir.length;He++)ir[He]!=wr&&ie.push(ir[He]),wr=ir[He]}h.replaceRange(ie.join(`
`),fe,me)},vglobal:function(h,m){this.global(h,m)},normal:function(h,m){var b=m.argString;if(b&&b[0]=="!"&&(b=b.slice(1),Ar=!0),b=b.trimStart(),!b){Qt(h,"Argument is required.");return}var y=m.line;if(typeof y=="number")for(var T=isNaN(m.lineEnd)?y:m.lineEnd,E=y;E<=T;E++)h.setCursor(E,0),Ln(h,m.argString.trimStart()),h.state.vim.insertMode&&da(h,!0);else Ln(h,m.argString.trimStart()),h.state.vim.insertMode&&da(h,!0)},global:function(h,m){var b=m.argString;if(!b){Qt(h,"Regular Expression missing from global");return}var y=m.commandName[0]==="v";b[0]==="!"&&m.commandName[0]==="g"&&(y=!0,b=b.slice(1));var T=m.line!==void 0?m.line:h.firstLine(),E=m.lineEnd||m.line||h.lastLine(),$=lM(b),z=b,M;if($.length&&(z=$[0],M=$.slice(1,$.length).join("/")),z)try{su(h,z,!0,!0)}catch(ye){Qt(h,"Invalid regex: "+z);return}for(var F=Nn(h).getQuery(),Z=[],fe=T;fe<=E;fe++){var me=h.getLine(fe),ie=F.test(me);ie!==y&&Z.push(M?h.getLineHandle(fe):me)}if(!M){Qt(h,Z.join(`
`));return}var te=0,Te=function(){if(te<Z.length){var ye=Z[te++],je=h.getLineNumber(ye);if(je==null){Te();return}var He=je+1+M;gn.processCommand(h,He,{callback:Te})}else h.releaseLineHandles&&h.releaseLineHandles()};Te()},substitute:function(h,m){if(!h.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var b=m.argString,y=b?Nw(b,b[0]):[],T,E="",$,z,M,F=!1,Z=!1;if(y.length)T=y[0],se("pcre")&&T!==""&&(T=new RegExp(T).source),E=y[1],E!==void 0&&(se("pcre")?E=hM(E.replace(/([^\\])&/g,"$1$$&")):E=fM(E),Ce.lastSubstituteReplacePart=E),$=y[2]?y[2].split(" "):[];else if(b&&b.length){Qt(h,"Substitutions should be of the form :s/pattern/replace/");return}if($&&(z=$[0],M=parseInt($[1]),z&&(z.indexOf("c")!=-1&&(F=!0),z.indexOf("g")!=-1&&(Z=!0),se("pcre")?T=T+"/"+z:T=T.replace(/\//g,"\\/")+"/"+z)),T)try{su(h,T,!0,!0)}catch(je){Qt(h,"Invalid regex: "+T);return}if(E=E||Ce.lastSubstituteReplacePart,E===void 0){Qt(h,"No previous substitute regular expression");return}var fe=Nn(h),me=fe.getQuery(),ie=m.line!==void 0?m.line:h.getCursor().line,te=m.lineEnd||ie;ie==h.firstLine()&&te==h.lastLine()&&(te=1/0),M&&(ie=te,te=ie+M-1);var Te=et(h,new e(ie,0)),ye=h.getSearchCursor(me,Te);yM(h,F,Z,ie,te,ye,me,E,m.callback)},startinsert:function(h,m){Ln(h,m.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){Yg(h)},yank:function(h){var m=vt(h.getCursor()),b=m.line,y=h.getLine(b);Ce.registerController.pushText("0","yank",y,!0,!0)},delete:function(h,m){var b=m.selectionLine,y=isNaN(m.selectionLineEnd)?b:m.selectionLineEnd;be.delete(h,{linewise:!0},[{anchor:new e(b,0),head:new e(y+1,0)}])},join:function(h,m){var b=m.selectionLine,y=isNaN(m.selectionLineEnd)?b:m.selectionLineEnd;h.setCursor(new e(b,0)),Ye.joinLines(h,{repeat:y-b},h.state.vim)},delmarks:function(h,m){if(!m.argString||!Wg(m.argString)){Qt(h,"Argument required");return}for(var b=h.state.vim,y=new t.StringStream(Wg(m.argString));!y.eol();){y.eatSpace();var T=y.pos;if(!y.match(/[a-zA-Z]/,!1)){Qt(h,"Invalid argument: "+m.argString.substring(T));return}var E=y.next();if(y.match("-",!0)){if(!y.match(/[a-zA-Z]/,!1)){Qt(h,"Invalid argument: "+m.argString.substring(T));return}var $=E,z=y.next();if(ue($)&&ue(z)||ve($)&&ve(z)){var M=$.charCodeAt(0),F=z.charCodeAt(0);if(M>=F){Qt(h,"Invalid argument: "+m.argString.substring(T));return}for(var Z=0;Z<=F-M;Z++){var fe=String.fromCharCode(M+Z);delete b.marks[fe]}}else{Qt(h,"Invalid argument: "+$+"-");return}}else delete b.marks[E]}}},gn=new Fw;function yM(h,m,b,y,T,E,$,z,M){h.state.vim.exMode=!0;var F=!1,Z,fe,me;function ie(){h.operation(function(){for(;!F;)te(),ye();je()})}function te(){var qe=h.getRange(E.from(),E.to()),Lt=qe.replace($,z),jr=E.to().line;E.replace(Lt),fe=E.to().line,T+=fe-jr,me=fe<jr}function Te(){var qe=Z&&vt(E.to()),Lt=E.findNext();return Lt&&!Lt[0]&&qe&&tr(E.from(),qe)&&(Lt=E.findNext()),Lt}function ye(){for(;Te()&&bM(E.from(),y,T);)if(!(!b&&E.from().line==fe&&!me)){h.scrollIntoView(E.from(),30),h.setSelection(E.from(),E.to()),Z=E.from(),F=!1;return}F=!0}function je(qe){if(qe&&qe(),h.focus(),Z){h.setCursor(Z);var Lt=h.state.vim;Lt.exMode=!1,Lt.lastHPos=Lt.lastHSPos=Z.ch}M&&M()}function He(qe,Lt,jr){t.e_stop(qe);var ir=t.keyName(qe);switch(ir){case"Y":te(),ye();break;case"N":ye();break;case"A":var wr=M;M=void 0,h.operation(ie),M=wr;break;case"L":te();case"Q":case"Esc":case"Ctrl-C":case"Ctrl-[":je(jr);break}return F&&je(jr),!0}if(ye(),F){Qt(h,"No matches for "+$.source);return}if(!m){ie(),M&&M();return}vd(h,{prefix:ha("span","replace with ",ha("strong",z)," (y/n/a/q/l)"),onKeyDown:He})}t.keyMap.vim={attach:u,detach:c,call:f};function da(h,m){var b=h.state.vim,y=Ce.macroModeState,T=Ce.registerController.getRegister("."),E=y.isPlaying,$=y.lastInsertModeChanges;E||(h.off("change",Hw),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=null,t.off(h.getInputField(),"keydown",Jw)),!E&&b.insertModeRepeat>1&&(ek(h,b,b.insertModeRepeat-1,!0),b.lastEditInputState.repeatOverride=b.insertModeRepeat),delete b.insertModeRepeat,b.insertMode=!1,m||h.setCursor(h.getCursor().line,h.getCursor().ch-1),h.setOption("keyMap","vim"),h.setOption("disableInput",!0),h.toggleOverwrite(!1),T.setText($.changes.join("")),t.signal(h,"vim-mode-change",{mode:"normal"}),y.isRecording&&kM(y)}function Yw(h){n.unshift(h)}function vM(h,m,b,y,T){var E={keys:h,type:m};E[m]=b,E[m+"Args"]=y;for(var $ in T)E[$]=T[$];Yw(E)}_("insertModeEscKeysTimeout",200,"number"),t.keyMap["vim-insert"]={fallthrough:["default"],attach:u,detach:c,call:f},t.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:u,detach:c};function xM(h,m,b,y){var T=Ce.registerController.getRegister(y);if(y==":"){T.keyBuffer[0]&&gn.processCommand(h,T.keyBuffer[0]),b.isPlaying=!1;return}var E=T.keyBuffer,$=0;b.isPlaying=!0,b.replaySearchQueries=T.searchQueries.slice(0);for(var z=0;z<E.length;z++)for(var M=E[z],F,Z;M;)if(F=/<\w+-.+?>|<\w+>|./.exec(M),Z=F[0],M=M.substring(F.index+Z.length),ut.handleKey(h,Z,"macro"),m.insertMode){var fe=T.insertModeChanges[$++].changes;Ce.macroModeState.lastInsertModeChanges.changes=fe,rk(h,fe,1),da(h)}b.isPlaying=!1}function wM(h,m){if(!h.isPlaying){var b=h.latestRegister,y=Ce.registerController.getRegister(b);y&&y.pushText(m)}}function kM(h){if(!h.isPlaying){var m=h.latestRegister,b=Ce.registerController.getRegister(m);b&&b.pushInsertModeChanges&&b.pushInsertModeChanges(h.lastInsertModeChanges)}}function SM(h,m){if(!h.isPlaying){var b=h.latestRegister,y=Ce.registerController.getRegister(b);y&&y.pushSearchQuery&&y.pushSearchQuery(m)}}function Hw(h,m){var b=Ce.macroModeState,y=b.lastInsertModeChanges;if(!b.isPlaying)for(var T=h.state.vim;m;){if(y.expectCursorActivityForChange=!0,y.ignoreCount>1)y.ignoreCount--;else if(m.origin=="+input"||m.origin=="paste"||m.origin===void 0){var E=h.listSelections().length;E>1&&(y.ignoreCount=E);var $=m.text.join(`
`);if(y.maybeReset&&(y.changes=[],y.maybeReset=!1),$)if(h.state.overwrite&&!/\n/.test($))y.changes.push([$]);else{if($.length>1){var z=T&&T.insertEnd&&T.insertEnd.find(),M=h.getCursor();if(z&&z.line==M.line){var F=z.ch-M.ch;F>0&&F<$.length&&(y.changes.push([$,F]),$="")}}$&&y.changes.push($)}}m=m.next}}function Gw(h){var m=h.state.vim;if(m.insertMode){var b=Ce.macroModeState;if(b.isPlaying)return;var y=b.lastInsertModeChanges;y.expectCursorActivityForChange?y.expectCursorActivityForChange=!1:(y.maybeReset=!0,m.insertEnd&&m.insertEnd.clear(),m.insertEnd=h.setBookmark(h.getCursor(),{insertLeft:!0}))}else h.curOp.isVimOp||Kw(h,m)}function Kw(h,m){var b=h.getCursor("anchor"),y=h.getCursor("head");if(m.visualMode&&!h.somethingSelected()?zn(h,!1):!m.visualMode&&!m.insertMode&&h.somethingSelected()&&(m.visualMode=!0,m.visualLine=!1,t.signal(h,"vim-mode-change",{mode:"visual"})),m.visualMode){var T=rr(y,b)?0:-1,E=rr(y,b)?-1:0;y=It(y,0,T),b=It(b,0,E),m.sel={anchor:b,head:y},yo(h,m,"<",$i(y,b)),yo(h,m,">",fa(y,b))}else m.insertMode||(m.lastHPos=h.getCursor().ch)}function Gg(h){this.keyName=h}function Jw(h){var m=Ce.macroModeState,b=m.lastInsertModeChanges,y=t.keyName(h);if(!y)return;function T(){return b.maybeReset&&(b.changes=[],b.maybeReset=!1),b.changes.push(new Gg(y)),!0}(y.indexOf("Delete")!=-1||y.indexOf("Backspace")!=-1)&&t.lookupKey(y,"vim-insert",T)}function ek(h,m,b,y){var T=Ce.macroModeState;T.isPlaying=!0;var E=!!m.lastEditActionCommand,$=m.inputState;function z(){E?bo.processAction(h,m,m.lastEditActionCommand):bo.evalInput(h,m)}function M(Z){if(T.lastInsertModeChanges.changes.length>0){Z=m.lastEditActionCommand?Z:1;var fe=T.lastInsertModeChanges;rk(h,fe.changes,Z)}}if(m.inputState=m.lastEditInputState,E&&m.lastEditActionCommand.interlaceInsertRepeat)for(var F=0;F<b;F++)z(),M(1);else y||z(),M(b);m.inputState=$,m.insertMode&&!y&&da(h),T.isPlaying=!1}function tk(h,m){t.lookupKey(m,"vim-insert",function(y){return typeof y=="string"?t.commands[y](h):y(h),!0})}function rk(h,m,b){var y=h.getCursor("head"),T=Ce.macroModeState.lastInsertModeChanges.visualBlock;T&&(_w(h,y,T+1),b=h.listSelections().length,h.setCursor(y));for(var E=0;E<b;E++){T&&h.setCursor(It(y,E,0));for(var $=0;$<m.length;$++){var z=m[$];if(z instanceof Gg)tk(h,z.keyName);else if(typeof z=="string")h.replaceSelection(z);else{var M=h.getCursor(),F=It(M,0,z[0].length-(z[1]||0));h.replaceRange(z[0],M,z[1]?M:F),h.setCursor(F)}}}T&&h.setCursor(It(y,0,1))}function Kg(h){var m=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=Kg(y)),m[b]=y}}),h.sel&&(m.sel={head:h.sel.head&&vt(h.sel.head),anchor:h.sel.anchor&&vt(h.sel.anchor)}),m}function TM(h,m,b){var y=!1,T=ut.maybeInitVimState_(h),E=T.visualBlock||T.wasInVisualBlock,$=h.isInMultiSelectMode();if(T.wasInVisualBlock&&!$?T.wasInVisualBlock=!1:$&&T.visualBlock&&(T.wasInVisualBlock=!0),m=="<Esc>"&&!T.insertMode&&!T.visualMode&&$&&T.status=="<Esc>")Zt(h);else if(E||!$||h.inVirtualSelectionMode)y=ut.handleKey(h,m,b);else{var z=Kg(T),M=T.inputState.changeQueueList||[];h.operation(function(){h.curOp.isVimOp=!0;var F=0;h.forEachSelection(function(){h.state.vim.inputState.changeQueue=M[F];var Z=h.getCursor("head"),fe=h.getCursor("anchor"),me=rr(Z,fe)?0:-1,ie=rr(Z,fe)?-1:0;Z=It(Z,0,me),fe=It(fe,0,ie),h.state.vim.sel.head=Z,h.state.vim.sel.anchor=fe,y=ut.handleKey(h,m,b),h.virtualSelection&&(M[F]=h.state.vim.inputState.changeQueue,h.state.vim=Kg(z)),F++}),h.curOp.cursorActivity&&!y&&(h.curOp.cursorActivity=!1),h.state.vim=T,T.inputState.changeQueueList=M,T.inputState.changeQueue=null},!0)}return y&&!T.visualMode&&!T.insert&&T.visualMode!=h.somethingSelected()&&Kw(h,T),y}return Ze(),ut}function bi(t,e){var r=e.ch,i=e.line+1;i<1&&(i=1,r=0),i>t.lines&&(i=t.lines,r=Number.MAX_VALUE);var n=t.line(i);return Math.min(n.from+Math.max(0,r),n.to)}function hn(t,e){let r=t.lineAt(e);return{line:r.number-1,ch:e-r.from}}var dn=class{constructor(e,r){this.line=e,this.ch=r}};function AR(t,e,r){if(t.addEventListener)t.addEventListener(e,r,!1);else{var i=t._handlers||(t._handlers={});i[e]=(i[e]||[]).concat(r)}}function QR(t,e,r){if(t.removeEventListener)t.removeEventListener(e,r,!1);else{var i=t._handlers,n=i&&i[e];if(n){var o=n.indexOf(r);o>-1&&(i[e]=n.slice(0,o).concat(n.slice(o+1)))}}}function $R(t,e,...r){var i,n=(i=t._handlers)===null||i===void 0?void 0:i[e];if(n)for(var o=0;o<n.length;++o)n[o](...r)}function CR(t,...e){if(t)for(var r=0;r<t.length;++r)t[r](...e)}var loe={Return:"CR",Backspace:"BS",Delete:"Del",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"CR"," ":"Space"},XR={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1,AltGraph:1,Dead:1,Unidentified:1},u5;try{u5=new RegExp("[\\w\\p{Alphabetic}\\p{Number}_]","u")}catch(t){u5=/[\w]/}function td(t,e){var r=t.cm6,i="input.type.compose";if(t.curOp&&(t.curOp.lastChange||(i="input.type.compose.start")),e.annotations)try{e.annotations.some(function(n){n.value=="input"&&(n.value=i)})}catch(n){console.error(n)}else e.userEvent=i;return r.dispatch(e)}function PR(t,e){var r;t.curOp&&(t.curOp.$changeStart=void 0),(e?bl:us)(t.cm6);let i=(r=t.curOp)===null||r===void 0?void 0:r.$changeStart;i!=null&&t.cm6.dispatch({selection:{anchor:i}})}var coe={},mt=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,r,i){return foe(this,e,r,i)}openNotification(e,r){return uoe(this,e,r)}on(e,r){AR(this,e,r)}off(e,r){QR(this,e,r)}signal(e,r,i){$R(this,e,r,i)}indexFromPos(e){return bi(this.cm6.state.doc,e)}posFromIndex(e){return hn(this.cm6.state.doc,e)}foldCode(e){let r=this.cm6,i=r.state.selection.ranges,n=this.cm6.state.doc,o=bi(n,e),a=ce.create([ce.range(o,o)],0).ranges;r.state.selection.ranges=a,qm(r),r.state.selection.ranges=i}firstLine(){return 0}lastLine(){return this.cm6.state.doc.lines-1}lineCount(){return this.cm6.state.doc.lines}setCursor(e,r){typeof e=="object"&&(r=e.ch,e=e.line);var i=bi(this.cm6.state.doc,{line:e,ch:r});this.cm6.dispatch({selection:{anchor:i}},{scrollIntoView:!this.curOp}),this.curOp&&!this.curOp.isVimOp&&this.onBeforeEndOperation()}getCursor(e){var r=this.cm6.state.selection.main,i=e=="head"||!e?r.head:e=="anchor"?r.anchor:e=="start"?r.from:e=="end"?r.to:null;if(i==null)throw new Error("Invalid cursor type");return this.posFromIndex(i)}listSelections(){var e=this.cm6.state.doc;return this.cm6.state.selection.ranges.map(r=>({anchor:hn(e,r.anchor),head:hn(e,r.head)}))}setSelections(e,r){var i=this.cm6.state.doc,n=e.map(o=>ce.range(bi(i,o.anchor),bi(i,o.head)));this.cm6.dispatch({selection:ce.create(n,r)})}setSelection(e,r,i){var n=this.cm6.state.doc,o=[ce.range(bi(n,e),bi(n,r))];this.cm6.dispatch({selection:ce.create(o,0)}),i&&i.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(e){var r=this.cm6.state.doc;return e<0||e>=r.lines?"":this.cm6.state.doc.line(e+1).text}getLineHandle(e){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:e,index:this.indexFromPos(new dn(e,0))}}getLineNumber(e){var r=this.$lineHandleChanges;if(!r)return null;for(var i=e.index,n=0;n<r.length;n++)if(i=r[n].changes.mapPos(i,1,Wt.TrackAfter),i==null)return null;var o=this.posFromIndex(i);return o.ch==0?o.line:null}releaseLineHandles(){this.$lineHandleChanges=void 0}getRange(e,r){var i=this.cm6.state.doc;return this.cm6.state.sliceDoc(bi(i,e),bi(i,r))}replaceRange(e,r,i){i||(i=r);var n=this.cm6.state.doc,o=bi(n,r),a=bi(n,i);td(this,{changes:{from:o,to:a,insert:e}})}replaceSelection(e){td(this,this.cm6.state.replaceSelection(e))}replaceSelections(e){var r=this.cm6.state.selection.ranges,i=r.map((n,o)=>({from:n.from,to:n.to,insert:e[o]||""}));td(this,{changes:i})}getSelection(){return this.getSelections().join(`
`)}getSelections(){var e=this.cm6;return e.state.selection.ranges.map(r=>e.state.sliceDoc(r.from,r.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(e=>!e.empty)}getInputField(){return this.cm6.contentDOM}clipPos(e){var r=this.cm6.state.doc,i=e.ch,n=e.line+1;n<1&&(n=1,i=0),n>r.lines&&(n=r.lines,i=Number.MAX_VALUE);var o=r.line(n);return i=Math.min(Math.max(0,i),o.to-o.from),new dn(n-1,i)}getValue(){return this.cm6.state.doc.toString()}setValue(e){var r=this.cm6;return r.dispatch({changes:{from:0,to:r.state.doc.length,insert:e},selection:ce.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(e){var r=this.cm6.state,i=bi(r.doc,e),n=cn(r,i+1,-1);return n&&n.end?{to:hn(r.doc,n.end.from)}:(n=cn(r,i,1),n&&n.end?{to:hn(r.doc,n.end.from)}:{to:void 0})}scanForBracket(e,r,i,n){return poe(this,e,r,i,n)}indentLine(e,r){r?this.indentMore():this.indentLess()}indentMore(){Hh(this.cm6)}indentLess(){Gh(this.cm6)}execCommand(e){if(e=="indentAuto")t.commands.indentAuto(this);else if(e=="goLineLeft")Uh(this.cm6);else if(e=="goLineRight"){Nh(this.cm6);let r=this.cm6.state,i=r.selection.main.head;i<r.doc.length&&r.sliceDoc(i,i+1)!==`
`&&NO(this.cm6)}else console.log(e+" is not implemented")}setBookmark(e,r){var i=r!=null&&r.insertLeft?1:-1,n=this.indexFromPos(e),o=new f5(this,n,i);return o}addOverlay({query:e}){let r=new Gc({regexp:!0,search:e.source,caseSensitive:!/i/.test(e.flags)});if(r.valid){r.forVim=!0,this.cm6Query=r;let i=na.of(r);return this.cm6.dispatch({effects:i}),r}}removeOverlay(e){if(!this.cm6Query)return;this.cm6Query.forVim=!1;let r=na.of(this.cm6Query);this.cm6.dispatch({effects:r})}getSearchCursor(e,r){var i=this,n=null,o=null;r.ch==null&&(r.ch=Number.MAX_VALUE);var a=bi(i.cm6.state.doc,r),s=e.source.replace(/(\\.|{(?:\d+(?:,\d*)?|,\d+)})|[{}]/g,function(d,p){return p||"\\"+d});function l(d,p=0,O=d.length){return new Hc(d,s,{ignoreCase:e.ignoreCase},p,O)}function c(d){var p=i.cm6.state.doc;if(d>p.length)return null;let O=l(p,d).next();return O.done?null:O.value}var u=1e4;function f(d,p){var O=i.cm6.state.doc;for(let x=1;;x++){let k=Math.max(d,p-x*u),w=l(O,k,p),C=null;for(;!w.next().done;)C=w.value;if(C&&(k==d||C.from>k+10))return C;if(k==d)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(d){var p=i.cm6.state.doc;if(d){let O=n?n.from==n.to?n.to-1:n.from:a;n=f(0,O)}else{let O=n?n.from==n.to?n.to+1:n.to:a;n=c(O)}return o=n&&{from:hn(p,n.from),to:hn(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&&(td(i,{changes:{from:n.from,to:n.to,insert:d}}),n.to=n.from+d.length,o&&(o.to=hn(i.cm6.state.doc,n.to)))}}}findPosV(e,r,i,n){let{cm6:o}=this,a=o.state.doc,s=i=="page"?o.dom.clientHeight:0,l=bi(a,e),c=ce.range(l,l,n),u=Math.round(Math.abs(r));for(let d=0;d<u;d++)i=="page"?c=o.moveVertically(c,r>0,s):i=="line"&&(c=o.moveVertically(c,r>0));let f=hn(a,c.head);return(r<0&&c.head==0&&n!=0&&e.line==0&&e.ch!=0||r>0&&c.head==a.length&&f.ch!=n&&e.line==f.line)&&(f.hitSide=!0),f}charCoords(e,r){var i=this.cm6.contentDOM.getBoundingClientRect(),n=bi(this.cm6.state.doc,e),o=this.cm6.coordsAtPos(n),a=-i.top;return{left:((o==null?void 0:o.left)||0)-i.left,top:((o==null?void 0:o.top)||0)+a,bottom:((o==null?void 0:o.bottom)||0)+a}}coordsChar(e,r){var i=this.cm6.contentDOM.getBoundingClientRect(),n=this.cm6.posAtCoords({x:e.left+i.left,y:e.top+i.top})||0;return hn(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,r){e!=null&&(this.cm6.scrollDOM.scrollLeft=e),r!=null&&(this.cm6.scrollDOM.scrollTop=r)}scrollIntoView(e,r){if(e){var i=this.indexFromPos(e);this.cm6.dispatch({effects:we.scrollIntoView(i)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(e,r){this.cm6.dom.style.width=e+4+"px",this.cm6.dom.style.height=r+"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 i in this.marks)this.marks[i].update(e.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(i=>i.map(e.changes)));var r=this.curOp=this.curOp||{};e.changes.iterChanges((i,n,o,a,s)=>{(r.$changeStart==null||r.$changeStart>o)&&(r.$changeStart=o),this.$lastChangeEndOffset=a;var l={text:s.toJSON()};r.lastChange?r.lastChange.next=r.lastChange=l:r.lastChange=r.change=l},!0),r.changeHandlers||(r.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){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,r=!1;e&&(e.change&&CR(e.changeHandlers,this,e.change),e&&e.cursorActivity&&(CR(e.cursorActivityHandlers,this,null),e.isVimOp&&(r=!0)),this.curOp=null),r&&this.scrollIntoView()}moveH(e,r){if(r=="char"){var i=this.getCursor();this.setCursor(i.line,i.ch+e)}}setOption(e,r){switch(e){case"keyMap":this.state.keyMap=r;break;case"textwidth":this.state.textwidth=r;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(_n)==" ";case"indentUnit":return this.cm6.state.facet(_n).length||2;case"textwidth":return this.state.textwidth;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(e){this.state.overwrite=e}getTokenTypeAt(e){var r,i=this.indexFromPos(e),n=_v(this.cm6.state,i),o=n==null?void 0:n.resolve(i),a=((r=o==null?void 0:o.type)===null||r===void 0?void 0:r.name)||"";return/comment/i.test(a)?"comment":/string/i.test(a)?"string":""}overWriteSelection(e){var r=this.cm6.state.doc,i=this.cm6.state.selection,n=i.ranges.map(o=>{if(o.empty){var a=o.to<r.length?r.sliceString(o.from,o.to+1):"";if(a&&!/\n/.test(a))return ce.range(o.from,o.to+1)}return o});this.cm6.dispatch({selection:ce.create(n,i.mainIndex)}),this.replaceSelection(e)}isInMultiSelectMode(){return this.cm6.state.selection.ranges.length>1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(e){var r=this.cm6.state.selection;this.virtualSelection=ce.create(r.ranges,r.mainIndex);for(var i=0;i<this.virtualSelection.ranges.length;i++){var n=this.virtualSelection.ranges[i];n&&(this.cm6.dispatch({selection:ce.create([n])}),e(),this.virtualSelection.ranges[i]=this.cm6.state.selection.ranges[0])}this.cm6.dispatch({selection:this.virtualSelection}),this.virtualSelection=null}hardWrap(e){return goe(this,e)}};mt.isMac=typeof navigator!="undefined"&&/Mac/.test(navigator.platform);mt.Pos=dn;mt.StringStream=Ec;mt.commands={cursorCharLeft:function(t){Mh(t.cm6)},redo:function(t){PR(t,!1)},undo:function(t){PR(t,!0)},newlineAndIndent:function(t){Yh({state:t.cm6.state,dispatch:e=>td(t,e)})},indentAuto:function(t){eR(t.cm6)}};mt.defineOption=function(t,e,r){};mt.isWordChar=function(t){return u5.test(t)};mt.keys=coe;mt.keyMap={};mt.addClass=function(){};mt.rmClass=function(){};mt.e_preventDefault=function(t){t.preventDefault()};mt.e_stop=function(t){var e,r;(e=t==null?void 0:t.stopPropagation)===null||e===void 0||e.call(t),(r=t==null?void 0:t.preventDefault)===null||r===void 0||r.call(t)};mt.keyName=function(t){var e=t.key;if(!XR[e]){e=="Escape"&&(e="Esc"),e==" "&&(e="Space"),e.length>1&&(e=e.replace(/Numpad|Arrow/,"")),e.length==1&&(e=e.toUpperCase());var r="";return t.ctrlKey&&(r+="Ctrl-"),t.altKey&&(r+="Alt-"),(r||e.length>1)&&t.shiftKey&&(r+="Shift-"),r+=e,r}};mt.vimKey=function(e){var r=e.key;if(!XR[r]){r.length>1&&r[0]=="n"&&(r=r.replace("Numpad","")),r=loe[r]||r;var i="";return e.ctrlKey&&(i+="C-"),e.altKey&&(i+="A-"),e.metaKey&&(i+="M-"),mt.isMac&&e.altKey&&!e.metaKey&&!e.ctrlKey&&(i=i.slice(2)),(i||r.length>1)&&e.shiftKey&&(i+="S-"),i+=r,i.length>1&&(i="<"+i+">"),i}};mt.lookupKey=function(e,r,i){var n=mt.keys[e];n&&i(n)};mt.on=AR;mt.off=QR;mt.signal=$R;mt.findMatchingTag=moe;mt.findEnclosingTag=Ooe;function RR(t,e,r){var i=document.createElement("div");return i.appendChild(e),i}function IR(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}function uoe(t,e,r){IR(t,s);var i=RR(t,e,r&&r.bottom),n=!1,o,a=r&&typeof r.duration!="undefined"?r.duration:5e3;function s(){n||(n=!0,clearTimeout(o),i.remove(),MR(t,i))}return i.onclick=function(l){l.preventDefault(),s()},LR(t,i),a&&(o=setTimeout(s,a)),s}function LR(t,e){var r=t.state.dialog;t.state.dialog=e,e&&r!==e&&(r&&r.contains(document.activeElement)&&t.focus(),r&&r.parentElement?r.parentElement.replaceChild(e,r):r&&r.remove(),mt.signal(t,"dialog"))}function MR(t,e){t.state.dialog==e&&(t.state.dialog=null,mt.signal(t,"dialog"))}function foe(t,e,r,i){i||(i={}),IR(t,void 0);var n=RR(t,e,i.bottom),o=!1;LR(t,n);function a(l){if(typeof l=="string")s.value=l;else{if(o)return;o=!0,MR(t,n),t.state.dialog||t.focus(),i.onClose&&i.onClose(n)}}var s=n.getElementsByTagName("input")[0];return s&&(i.value&&(s.value=i.value,i.selectValueOnOpen!==!1&&s.select()),i.onInput&&mt.on(s,"input",function(l){i.onInput(l,s.value,a)}),i.onKeyUp&&mt.on(s,"keyup",function(l){i.onKeyUp(l,s.value,a)}),mt.on(s,"keydown",function(l){i&&i.onKeyDown&&i.onKeyDown(l,s.value,a)||(l.keyCode==13&&r(s.value),(l.keyCode==27||i.closeOnEnter!==!1&&l.keyCode==13)&&(s.blur(),mt.e_stop(l),a()))}),i.closeOnBlur!==!1&&mt.on(s,"blur",function(){setTimeout(function(){document.activeElement!==s&&a()})}),s.focus()),a}var hoe={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function doe(t){return t&&t.bracketRegex||/[(){}[\]]/}function poe(t,e,r,i,n){for(var o=n&&n.maxScanLineLength||1e4,a=n&&n.maxScanLines||1e3,s=[],l=doe(n),c=r>0?Math.min(e.line+a,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-a),u=e.line;u!=c;u+=r){var f=t.getLine(u);if(f){var d=r>0?0:f.length-1,p=r>0?f.length:-1;if(!(f.length>o))for(u==e.line&&(d=e.ch-(r<0?1:0));d!=p;d+=r){var O=f.charAt(d);if(l.test(O)){var x=hoe[O];if(x&&x.charAt(1)==">"==r>0)s.push(O);else if(s.length)s.pop();else return{pos:new dn(u,d),ch:O}}}}}return u-r==(r>0?t.lastLine():t.firstLine())?!1:null}function moe(t,e){}function Ooe(t,e){var r,i,n=t.cm6.state,o=t.indexFromPos(e);if(o<n.doc.length){var a=n.sliceDoc(o,o+1);a=="<"&&o++}for(var s=_v(n,o),l=(s==null?void 0:s.resolve(o))||null;l;){if(((r=l.firstChild)===null||r===void 0?void 0:r.type.name)=="OpenTag"&&((i=l.lastChild)===null||i===void 0?void 0:i.type.name)=="CloseTag")return{open:_R(n.doc,l.firstChild),close:_R(n.doc,l.lastChild)};l=l.parent}}function _R(t,e){return{from:hn(t,e.from),to:hn(t,e.to)}}var f5=class{constructor(e,r,i){this.cm=e,this.id=e.$mid++,this.offset=r,this.assoc=i,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 goe(t,e){for(var r=e.column||t.getOption("textwidth")||80,i=e.allowMerge!=!1,n=Math.min(e.from,e.to),o=Math.max(e.from,e.to);n<=o;){var a=t.getLine(n);if(a.length>r){var s=p(a,r,5);if(s){var l=/^\s*/.exec(a)[0];t.replaceRange(`
`+l,new dn(n,s.start),new dn(n,s.end))}o++}else if(i&&/\S/.test(a)&&n!=o){var c=t.getLine(n+1);if(c&&/\S/.test(c)){var u=a.replace(/\s+$/,""),f=c.replace(/^\s+/,""),d=u+" "+f,s=p(d,r,5);s&&s.start>u.length||d.length<r?(t.replaceRange(" ",new dn(n,u.length),new dn(n+1,c.length-f.length)),n--,o--):u.length<a.length&&t.replaceRange("",new dn(n,u.length),new dn(n,a.length))}}n++}return n;function p(O,x,k){if(!(O.length<x)){var w=O.slice(0,x),C=O.slice(x),Q=/^(?:(\s+)|(\S+)(\s+))/.exec(C),L=/(?:(\s+)|(\s+)(\S+))$/.exec(w),N=0,I=0;if(L&&!L[2]&&(N=x-L[1].length,I=x),Q&&!Q[2]&&(N||(N=x),I=x+Q[1].length),N)return{start:N,end:I};if(L&&L[2]&&L.index>k)return{start:L.index,end:L.index+L[2].length};if(Q&&Q[2])return N=x+Q[2].length,{start:N,end:N+Q[3].length}}}}var h5=lP||function(){let t={cursorBlinkRate:1200};return function(){return t}}(),d5=class{constructor(e,r,i,n,o,a,s,l,c,u){this.left=e,this.top=r,this.height=i,this.fontFamily=n,this.fontSize=o,this.fontWeight=a,this.color=s,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}},p5=class{constructor(e,r){this.view=e,this.rangePieces=[],this.cursors=[],this.cm=r,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 r=h5(this.cm.cm6.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=r+"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"),boe(e)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,r=[];for(let i of e.selection.ranges){let n=i==e.selection.main,o=woe(this.cm,this.view,i,n);o&&r.push(o)}return{cursors:r}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((r,i)=>!r.eq(this.cursors[i]))){let r=this.cursorLayer.children;if(r.length!==e.length){this.cursorLayer.textContent="";for(let i of e)this.cursorLayer.appendChild(i.draw())}else e.forEach((i,n)=>i.adjust(r[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}};function boe(t){return h5(t.startState)!=h5(t.state)}var yoe={".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"}},voe=cr.highest(we.theme(yoe));function xoe(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ct.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function woe(t,e,r,i){var n,o;let a=r.head,s=!1,l=1,c=t.state.vim;if(c&&(!c.insertMode||t.state.overwrite)){if(s=!0,c.visualBlock&&!i)return null;r.anchor<r.head&&a--,t.state.overwrite?l=.2:c.status&&(l=.5)}if(s){let f=a<e.state.doc.length&&e.state.sliceDoc(a,a+1);f&&/[\uDC00-\uDFFF]/.test(f)&&a>1&&(a--,f=e.state.sliceDoc(a,a+1));let d=e.coordsAtPos(a,1);if(!d)return null;let p=xoe(e),O=e.domAtPos(a),x=O?O.node:e.contentDOM;for(;O&&O.node instanceof HTMLElement;)x=O.node,O={node:O.node.childNodes[O.offset],offset:0};if(!(x instanceof HTMLElement)){if(!x.parentNode)return null;x=x.parentNode}let k=getComputedStyle(x),w=d.left,C=(o=(n=e).coordsForChar)===null||o===void 0?void 0:o.call(n,a);if(C&&(w=C.left),!f||f==`
`||f=="\r")f="\xA0";else if(f==" "){f="\xA0";var u=e.coordsAtPos(a+1,-1);u&&(w=u.left-(u.left-d.left)/parseInt(k.tabSize))}else/[\uD800-\uDBFF]/.test(f)&&a<e.state.doc.length-1&&(f+=e.state.sliceDoc(a+1,a+2));let Q=d.bottom-d.top;return new d5(w-p.left,d.top-p.top+Q*(1-l),Q*l,k.fontFamily,k.fontSize,k.fontWeight,k.color,i?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",f,l!=1)}else return null}var koe=typeof navigator!="undefined"&&/linux/i.test(navigator.platform)&&/ Gecko\/\d+/.exec(navigator.userAgent),ed=soe(mt),Soe=250,Toe=we.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"}}),Eoe=pt.fromClass(class{constructor(t){this.status="",this.query=null,this.decorations=Le.none,this.waitForCopy=!1,this.lastKeydown="",this.useNextTextInput=!1,this.view=t;let e=this.cm=new mt(t);ed.enterVimMode(this.cm),this.view.cm=this.cm,this.cm.state.vimPlugin=this,this.blockCursor=new p5(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",r=>{e.state.vim.mode=r.mode,r.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:zR.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=r=>{ed.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 r of t.transactions)for(let i of r.effects)if(i.is(na))if(!((e=i.value)===null||e===void 0?void 0:e.forVim))this.highlight(null);else{let o=i.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 r=this.cm.state.dialog;if(r)r.parentElement!=t&&(t.textContent="",t.appendChild(r));else{t.textContent="";var i=(e.mode||"normal").toUpperCase();e.insertModeReturn&&(i+="(C-O)"),this.statusButton.textContent=`--${i}--`,t.appendChild(this.statusButton)}this.dom.textContent=e.status,t.appendChild(this.dom)}destroy(){ed.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(t){if(this.query=t,!t)return this.decorations=Le.none;let{view:e}=this,r=new Ni;for(let i=0,n=e.visibleRanges,o=n.length;i<o;i++){let{from:a,to:s}=n[i];for(;i<o-1&&s>n[i+1].from-2*Soe;)s=n[++i].to;t.highlight(e.state,a,s,(l,c)=>{r.add(l,c,Poe)})}return this.decorations=r.finish()}handleKey(t,e){let r=mt.vimKey(t),i=this.cm;if(!r)return;let n=i.state.vim;if(!n)return;if(r=="<Esc>"&&!n.insertMode&&!n.visualMode&&this.query){let s=n.searchState_;s&&(i.removeOverlay(s.getOverlay()),s.setOverlay(null))}if(r==="<C-c>"&&!mt.isMac&&i.somethingSelected())return this.waitForCopy=!0,!0;n.status=(n.status||"")+r;let a=ed.multiSelectHandleKey(i,r,"user");return n=i.state.vim,!a&&n.insertMode&&i.state.overwrite&&(t.key&&t.key.length==1&&!/\n/.test(t.key)?(a=!0,i.overWriteSelection(t.key)):t.key=="Backspace"&&(a=!0,mt.commands.cursorCharLeft(i))),a&&(mt.signal(this.cm,"vim-keypress",r),t.preventDefault(),t.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!a}},{eventHandlers:{copy:function(t,e){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var r=this.cm,i=r.state.vim;i&&(i.insertMode?r.setSelection(r.getCursor(),r.getCursor()):r.operation(()=>{r.curOp&&(r.curOp.isVimOp=!0),ed.handleKey(r,"<Esc>","user")}))}))},compositionstart:function(t,e){this.useNextTextInput=!0},keypress:function(t,e){this.lastKeydown=="Dead"&&this.handleKey(t,e)},keydown:function(t,e){this.lastKeydown=t.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(t,e))}},provide:()=>[we.inputHandler.of((t,e,r,i)=>{var n,o,a=$oe(t);if(!a)return!1;var s=(n=a.state)===null||n===void 0?void 0:n.vim,l=a.state.vimPlugin;if(s&&!s.insertMode&&!(!((o=a.curOp)===null||o===void 0)&&o.isVimOp)){if(i==="\0\0")return!0;if(i.length==1&&l.useNextTextInput)return l.handleKey({key:i,preventDefault:()=>{},stopPropagation:()=>{}}),Coe(t),!0}return!1})],decorations:t=>t.decorations});function Coe(t){var e=t.scrollDOM.parentElement;if(e){if(koe){t.contentDOM.textContent="\0\0",t.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var r=t.scrollDOM.nextSibling,i=window.getSelection(),n=i&&{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset};t.scrollDOM.remove(),e.insertBefore(t.scrollDOM,r);try{n&&i&&(i.setPosition(n.anchorNode,n.anchorOffset),n.focusNode&&i.extend(n.focusNode,n.focusOffset))}catch(o){console.error(o)}t.focus(),t.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}var Poe=Le.mark({class:"cm-searchMatch"}),zR=De.define(),_oe=Ot.define({create:()=>!1,update(t,e){for(let r of e.effects)r.is(zR)&&(t=r.value);return t},provide:t=>sn.from(t,e=>e?Aoe:null)});function Aoe(t){let e=document.createElement("div");e.className="cm-vim-panel";let r=t.cm;return r.state.dialog&&e.appendChild(r.state.dialog),{top:!1,dom:e}}function Qoe(t){let e=document.createElement("div");e.className="cm-vim-panel";let r=t.cm;return r.state.statusbar=e,r.state.vimPlugin.updateStatus(),{dom:e}}function DR(t={}){return[Toe,Eoe,voe,t.status?sn.of(Qoe):_oe]}function $oe(t){return t.cm||null}var O5=class{constructor(e,r,i,n,o,a){this.left=e,this.top=r,this.height=i,this.className=n,this.letter=o,this.partial=a}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}},g5=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,r=[];for(let i of e.selection.ranges){let n=i==e.selection.main,o=Loe(null,this.view,i,n);o&&r.push(o)}return{cursors:r}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((r,i)=>!r.eq(this.cursors[i]))){let r=this.cursorLayer.children;if(r.length!==e.length){this.cursorLayer.textContent="";for(let i of e)this.cursorLayer.appendChild(i.draw())}else e.forEach((i,n)=>i.adjust(r[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}},Xoe={".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"}},Roe=cr.highest(we.theme(Xoe));function Ioe(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ct.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Loe(t,e,r,i){let n=r.head;var o=1;let a=e.coordsAtPos(n,1);if(!a)return null;let s=Ioe(e),l=n<e.state.doc.length&&e.state.sliceDoc(n,n+1);(!l||l==`
`||l=="\r")&&(l="\xA0");let c=a.bottom-a.top;return new O5(a.left-s.left,a.top-s.top+c*(1-o),c*o,i?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",l,o!=1)}var Moe=we.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"}}),zoe=pt.fromClass(class{constructor(t){this.status="",this.view=t,this.em=new rd(t),this.blockCursor=new g5(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=>vr.of([{any:function(e,r){var i;return!!(!((i=e.plugin(t))===null||i===void 0)&&i.em.handleKeyboard(r))}}])}),Doe=De.define(),Noe=Ot.define({create:()=>!1,update(t,e){for(let r of e.effects)r.is(Doe)&&(t=r.value);return t},provide:t=>sn.from(t,e=>e?Uoe:null)});function Uoe(t){let e=document.createElement("div");return e.className="cm-vim-panel",{top:!1,dom:e}}function UR(t={}){return[Moe,zoe,Roe,Noe]}var qoe={Return:"Return",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"Return",Divide:"/",Slash:"/",Multiply:"*",Subtract:"-",Minus:"-",Equal:"="},Boe={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1},m5={},rd=class t{constructor(e){this.view=e,this.$data={count:0,keyChain:"",lastCommand:""},this.$emacsMarkRing=[],this.$emacsMark=null}static bindKey(e,r){e.split("|").forEach(function(i){let n="",o=i.split(/\s+/);o.forEach(function(a,s){let l=a.split(/-(?=.)/),c=l.pop();l.length&&(n+=l.sort().join("-")+"-"),n+=c,s===o.length-1?m5[n]=r:(m5[n]="null",n+=" ")})})}static getKey(e){var r=e.code,i=e.key;if(Boe[i])return["","",""];r.length>1&&(r[0]=="N"&&(r=r.replace(/^Numpad/,"")),r[0]=="K"&&(r=r.replace(/^Key/,""))),r=qoe[r]||r,r.length==1&&(r=r.toLowerCase());var n="";return e.ctrlKey&&(n+="C-"),e.metaKey&&(n+="CMD-"),e.altKey&&(n+="M-"),e.shiftKey&&(n+="S-"),[r,n,i]}static addCommands(e){Object.keys(e).forEach(function(r){var i=e[r];typeof i=="function"&&(i={exec:i}),t.commands[r]=i})}static execCommand(e,r,i,n=1){var o=void 0;if(typeof e=="function")for(var a=0;a<n;a++)e(r.view);else if(e!=="null")if(e.exec){n>1&&e.handlesCount&&(i||(i={}),typeof i=="object"&&(i.count=n),n=1);for(var a=0;a<n;a++)o=e.exec(r,i||{})}else throw new Error("missformed command");return o}handleKeyboard(e){var r=t.getKey(e),i=this.findCommand(r);if(i&&i.command){var n=t.execCommand(i.command,this,i.args,i.count);if(n===!1)return}return i}findCommand([e,r,i]){if(e){var n=this,o=this.$data;if(!r&&e.length==1&&(n.pushEmacsMark(),o.count)){var a=new Array(o.count+1).join(i);return o.count=null,{command:"insertstring",args:a}}if(r=="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"}}r&&(e=r+e),o.keyChain&&(e=o.keyChain+=" "+e);var s=m5[e];if(o.keyChain=s=="null"?e:"",!!s){if(s==="null")return{command:"null"};if(s==="universalArgument")return o.count=-4,{command:"null"};var l;if(typeof s!="string"&&(l=s.args,s.command&&(s=s.command)),(s==="insertstring"||s===Zh||s===Rh)&&n.pushEmacsMark(),!(typeof s=="string"&&(s=t.commands[s],!s))){!s.readOnly&&!s.isYank&&(o.lastCommand=null);var c=o.count||1;return o.count&&(o.count=0),{command:s,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(r=>this.updateMark(r,e)).filter(Boolean)}updateMark(e,r){if(e){var i=e.map(function(n){return r.mapPos(n,1,Wt.TrackDel)}).filter(n=>n!=null);return i.length==0?null:i}}emacsMark(){return this.$emacsMark}setEmacsMark(e){this.$emacsMark=e}pushEmacsMark(e,r){var i=this.$emacsMark;i&&this.$emacsMarkRing.push(i),!e||r?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(r=>e.sliceDoc(r.from,r.to)).join(`
`)}clearSelection(){var e=this.view,r=e.state.selection,i=!r.ranges.some(o=>o.from!=o.to);if(i)return!1;var n=r.ranges.map(o=>ce.range(o.head,o.head));return e.dispatch({selection:ce.create(n,r.mainIndex)}),!0}onPaste(e){var r=this.view,i=r.state.selection,n;if(i.ranges.length>1){var o=e.split(`
`);o.length==i.ranges.length&&(n=o)}var a=0,s=r.state.changeByRange(l=>{var c=n?n[a]:e;return a++,{changes:{from:l.from,to:l.to,insert:c},range:ce.cursor(l.from+c.length)}});r.dispatch(s)}};rd.commands={};var NR={"Up|C-p":{command:"goOrSelect",args:[zh,Bc]},"Down|C-n":{command:"goOrSelect",args:[Dh,jc]},"Left|C-b":{command:"goOrSelect",args:[NO,Ux]},"Right|C-f":{command:"goOrSelect",args:[$X,Nx]},"C-Left|M-b":{command:"goOrSelect",args:[UO,ZO]},"C-Right|M-f":{command:"goOrSelect",args:[qO,YO]},"Home|C-a":{command:"goOrSelect",args:[jO,Bh]},"End|C-e":{command:"goOrSelect",args:[WO,jh]},"C-Home|S-M-,":{command:"goOrSelect",args:[Wh,Wc]},"C-End|S-M-.":{command:"goOrSelect",args:[Vh,Vc]},"S-Up|S-C-p":Bc,"S-Down|S-C-n":jc,"S-Left|S-C-b":Ux,"S-Right|S-C-f":Nx,"S-C-Left|S-M-b":DX,"S-C-Right|S-M-f":zX,"S-Home|S-C-a":Bh,"S-End|S-C-e":jh,"S-C-Home":Wc,"S-C-End":Vc,"C-l":"recenterTopBottom","M-s":"centerSelection","M-g":"gotoline","C-x C-p|C-x h":HO,"PageDown|C-v|C-Down":{command:"goOrSelect",args:[qc,vl]},"PageUp|M-v|C-Up":{command:"goOrSelect",args:[Uc,vl]},"S-C-Down":vl,"S-C-Up":qh,"C-s":Jc,"C-r":Jc,"M-C-s":"findnext","M-C-r":"findprevious","S-M-5":"replace",Backspace:Fc,"Delete|C-d":Fh,"Return|C-m":{command:"insertstring",args:`
`},"C-o":Zh,"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":KO,"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-/":ch,"C-u":"universalArgument","M-;":Rh,"C-/|C-x u|S-C--|C-z":bl,"S-C-/|S-C-x u|C--|S-C-z":us,"C-x r":"selectRectangularRegion","M-x":{command:"focusCommandLine",args:"M-x "},Esc:"unsetTransientMark"};for(let t in NR)NR[t];var oa=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 r=this.ops.pop();return Ai(e)&&Qi(r)?this.append(e).append(r):Ai(e)&&Ai(r)?(this.ops.push({insert:r.insert+e.insert}),this):Qi(e)&&Qi(r)?(this.ops.push({delete:r.delete+e.delete}),this):Xn(e)&&Xn(r)?(this.ops.push({retain:r.retain+e.retain}),this):(this.ops.push(r,e),this)}compose(e){let r=new wl(this.ops),i=new wl(e.ops),n=new t;for(;r.hasNext()||i.hasNext();)if(Ai(i.peek()))n.append(i.next());else if(Qi(r.peek()))n.append(r.next());else{let o=Math.min(r.peekLength(),i.peekLength()),a=r.next(o),s=i.next(o);Xn(s)?n.append(a):Qi(s)&&Xn(a)&&n.append(s)}return n._trim()}transform(e,r){if(r!=="left"&&r!=="right")throw new Error(`Invalid priority "${r}", should be either "left" or "right"`);let i=new wl(this.ops),n=new wl(e.ops),o=new t;for(;i.hasNext()||n.hasNext();)if(Ai(i.peek())&&(!Ai(n.peek())||r==="left")){let a=hg(i.next());o.retain(a)}else if(Ai(n.peek()))o.append(n.next());else{let a=Math.min(i.peekLength(),n.peekLength()),s=i.next(a),l=n.next(a);if(Qi(s))continue;Qi(l)?o.append(l):o.retain(a)}return o._trim()}_trim(){return this.ops.length>0&&Xn(this.ops[this.ops.length-1])&&this.ops.pop(),this}transformPosition(e){let r=new wl(this.ops),i=0;for(;r.hasNext()&&i<e;){let n=r.next(),o=hg(n);Qi(n)?e-=Math.min(o,e-i):(Ai(n)&&(e+=o),i+=o)}return e}toCompressed(){return this.ops.map(e=>{if(Ai(e))return e.insert;if(Xn(e))return e.retain;if(Qi(e))return-e.delete;throw new Error(`Invalid operation ${e}`)})}static fromCompressed(e){return e.reduce((r,i)=>{if(typeof i=="string")return r.insert(i);if(typeof i=="number"&&i>=0)return r.retain(i);if(typeof i=="number"&&i<0)return r.delete(-i);throw new Error(`Invalid compressed operation ${i}`)},new this)}applyToString(e){let r="",i=0;return this.ops.forEach(n=>{Xn(n)&&(r+=e.slice(i,i+n.retain),i+=n.retain),Ai(n)&&(r+=n.insert),Qi(n)&&(i+=n.delete)}),r+=e.slice(i),r}},wl=class{constructor(e){this.ops=e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(e=1/0){let r=this.ops[this.index];if(r){let i=this.offset,n=hg(r);if(e>=n-i?(e=n-i,this.index+=1,this.offset=0):this.offset+=e,Qi(r))return{delete:e};if(Xn(r))return{retain:e};if(Ai(r))return{insert:r.insert.substr(i,e)}}else return{retain:e}}peek(){return this.ops[this.index]||{retain:1/0}}peekLength(){return this.ops[this.index]?hg(this.ops[this.index])-this.offset:1/0}};function hg(t){if(Ai(t))return t.insert.length;if(Xn(t))return t.retain;if(Qi(t))return t.delete}function Ai(t){return typeof t.insert=="string"}function Xn(t){return typeof t.retain=="number"}function Qi(t){return typeof t.delete=="number"}var jR=$e.define({combine(t){return Vt(t,{})}}),qR=Jr.define(),joe=pt.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(jR);this.collabClient=e,this.deltaSubscription=e.onDelta((r,{remote:i})=>{if(i)return t.dispatch({changes:b5(r),selection:Os(t.state.selection,r),annotations:[Jt.addToHistory.of(!1),Jt.remote.of(!0),qR.of(!0)],filter:!1})})}update(t){if(!t.transactions.some(r=>r.annotation(qR))){if(t.docChanged){let r=Woe(t.changes),i=BR(t);this.collabClient.handleClientDelta(r,i)}else if(t.focusChanged||!t.state.selection.eq(t.startState.selection)){let r=BR(t);this.collabClient.handleClientSelection(r)}}}destroy(){this.deltaSubscription.destroy()}});function b5(t){let e=[],r=0;for(let i of t.ops)Xn(i)&&(r+=i.retain),Ai(i)&&e.push({from:r,to:r,insert:i.insert}),Qi(i)&&(e.push({from:r,to:r+i.delete}),r+=i.delete);return e}function Woe(t){let e=[];return t.iterChanges((r,i,n,o,a)=>{let s=new oa;r&&s.retain(r),r!==i&&s.delete(i-r);let l=a.toString();l&&s.insert(l),e.push(s)}),e.reverse().reduce((r,i)=>r.compose(i))}function BR(t){return t.view.hasFocus?t.state.selection:null}function Os(t,e){let r=t.ranges.map(i=>ce.range(e.transformPosition(i.anchor),e.transformPosition(i.head)));return ce.create(r,t.mainIndex)}function WR(t){return[joe,jR.of({collabClient:t})]}var Voe=we.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"}}),FR=$e.define({combine(t){return Vt(t,{})}}),Foe=pt.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(FR);this.peers=e.getPeers(),this.decorations=Et.of(Object.values(this.peers).flatMap(VR),!0),this.peersSubscription=e.onPeersChange(r=>{let i=this.peers;if(i===r)return;let n=new Set,o=[];for(let a in r){let s=r[a],l=i[a];l&&s.eq(l)?n.add(a):o.push(s)}this.decorations=this.decorations.update({filter:(a,s,l)=>n.has(l.spec.id),add:o.flatMap(VR),sort:!0}),this.peers=r,setTimeout(()=>{t.update([])},0)})}destroy(){this.peersSubscription.destroy()}},{decorations:t=>t.decorations}),y5=class extends Er{constructor(e,r,i){super(),this.cursorPos=e,this.color=r,this.label=i}toDOM(e){let r=document.createElement("div");r.classList.add("cm-peerCursor"),e.state.doc.lineAt(this.cursorPos).number===1&&r.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,r.appendChild(n),r.appendChild(o),r}eq(e){return e.cursorPos===this.cursorPos&&e.color===this.color&&e.label===this.label}};function VR(t){let{id:e,selection:r,meta:{hex_color:i,name:n}}=t;if(!r)return[];let o=Le.mark({class:"cm-peerSelection",attributes:{style:`background-color: ${i}30`},id:e}),a=r.ranges.filter(l=>!l.empty).map(({from:l,to:c})=>o.range(l,c)),s=r.ranges.map(l=>{let c=l.head;return Le.widget({widget:new y5(c,i,n),id:e}).range(c)});return a.concat(s)}function ZR(t){return[Foe,FR.of({collabClient:t}),Voe]}var Zoe=we.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"}}),YR=De.define(),HR=De.define(),GR=Ot.define({create(t){return Le.none},update(t,e){t=t.map(e.changes);for(let r of e.effects){if(r.is(YR)){let i=r.value;t=t.update({filter:(n,o,a)=>!i.some(s=>a.spec.report.line===s.line),add:i.flatMap(n=>Yoe(n,e.state.doc)),sort:!0})}r.is(HR)&&(t=Le.none)}return t},provide(t){return we.decorations.from(t)}});function Yoe(t,e){let r=e.line(t.line).from+t.column,i=[Le.mark({class:`cm-doctestStatus cm-doctestStatus-${t.status}`,report:t}).range(r,r+1)];if(t.status==="failed"){let n=e.line(t.end_line+1);i.push(Le.widget({widget:new v5(t),block:!0,report:t}).range(n.from))}return i}var v5=class extends Er{constructor(e){super(),this.report=e}toDOM(e){let r=document.createElement("div");r.classList.add("cm-doctestDetails");let i=document.createElement("div");return i.classList.add("cm-doctestDetailsContent"),i.classList.add("editor-theme-aware-ansi"),r.style.marginLeft=`${this.report.column}ch`,i.innerHTML=this.report.details,r.appendChild(i),r}eq(e){return this.report===e.report}};function KR(t,e){let r=[YR.of(e)];t.dispatch({effects:eI(t.state,r)})}function JR(t){let e=[HR.of(null)];t.dispatch({effects:eI(t.state,e)})}var Hoe=[GR,Zoe];function eI(t,e){return t.field(GR,!1)?e:e.concat(De.appendConfig.of(Hoe))}var Goe=we.baseTheme({".cm-signatureHint":{display:"flex"},".cm-signatureHintStepper":{padding:"4px 8px",borderRight:"1px solid black"},".cm-signatureHintContent":{padding:"4px"},".cm-signatureHintActiveArgument":{color:"gray"}}),id=$e.define({combine(t){return Vt(t,{})}}),iI=$e.define({}).from(id,({triggerCharacters:t,retriggerCharacters:e})=>({triggerCharacters:new Set(t),retriggerCharacters:new Set(t.concat(e))})),nI=De.define(),oI=De.define(),k5=De.define(),aI=De.define(),Rn=Ot.define({create(){return{context:null,hint:null}},update({context:t,hint:e},r){e=e&&e.setPosition(r.state.selection.main.head),Koe(r,!!e)&&(t=tI(r.state));for(let n of r.effects)n.is(nI)&&(n.value.signatureResult?e=x5.build(r.state,n.value.signatureResult):(t=null,e=null)),n.is(oI)&&(t=tI(r.state)),n.is(k5)&&(t=null,e=null),n.is(aI)&&(e=e&&e.setSelected(n.value));return{context:t,hint:e}},provide(t){return Ho.from(t,e=>e.hint&&e.hint.tooltip)}});function Koe(t,e){let{activateOnTyping:r}=t.state.facet(id),{triggerCharacters:i,retriggerCharacters:n}=t.state.facet(iI),o=t.startState.selection.main.head,a=t.state.selection.main.head,s=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||dg(p,n))}if(f<d&&f<=a&&a<=d){let p=t.state.doc.sliceString(f,a);e?l=l||dg(p,n):r&&s&&(l=l||dg(p,i))}}}),l}if(!t.docChanged&&o!==a){let l=t.state.doc.sliceString(Math.min(o,a),Math.max(o,a));if(e)return dg(l,n)}return!1}function dg(t,e){for(let r of t)if(e.has(r))return!0;return!1}function tI(t){let e=t.selection.main.head;return{state:t,pos:e}}var x5=class t{constructor(e,r,i){this.signatureResult=e,this.selectedIdx=r,this.tooltip=i}static build(e,r){return new t(r,0,{pos:e.selection.main.head,above:!0,create:i=>new w5(i)})}setSelected(e){return new t(this.signatureResult,e,this.tooltip)}setPosition(e){return e===this.tooltip.pos?this:new t(this.signatureResult,this.selectedIdx,Be(oe({},this.tooltip),{pos:e}))}},w5=class{constructor(e){this.view=e;let{signatureResult:r}=e.state.field(Rn).hint;this.dom=document.createElement("div"),this.dom.classList.add("cm-signatureHint"),r.items.length>1&&(this.stepper=document.createElement("div"),this.stepper.classList.add("cm-signatureHintStepper"),this.dom.appendChild(this.stepper));let i=document.createElement("div");i.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"),i.appendChild(this.contentLeft),i.appendChild(this.contentActive),i.appendChild(this.contentRight),this.dom.appendChild(i)}mount(){this.updateSelected()}update(e){let r=e.startState.field(Rn),i=e.state.field(Rn);r!==i&&this.updateSelected()}updateSelected(){let{signatureResult:e,selectedIdx:r}=this.view.state.field(Rn).hint,{activeArgumentIdx:i,items:n}=e,o=n[r],a=o.arguments[i];this.stepper&&(this.stepper.textContent=`${r+1}/${n.length}`);let s=o.signature.indexOf(a);this.contentLeft.textContent=o.signature.slice(0,s),this.contentActive.textContent=a,this.contentRight.textContent=o.signature.slice(s+a.length)}},Joe=pt.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(Rn);e.context!==t.startState.field(Rn).context&&(this.maybeAbortQuery(),e.context&&this.requestSignature(t.state))}destroy(){this.maybeAbortQuery()}requestSignature(t){let{context:e}=t.field(Rn),{source:r}=t.facet(id),i={aborted:!1};r(e).then(n=>{i.aborted||this.view.dispatch({effects:nI.of({signatureResult:n})})}),this.query=i}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}},{eventHandlers:{blur(t){let e=this.view.state.field(Rn,!1);e&&e.hint&&this.view.state.facet(id).closeOnBlur&&setTimeout(()=>{this.view.dispatch({effects:[k5.of(null)]})},0)}}});function eae(t){return t.dispatch({effects:[oI.of(null)]}),!0}function tae(t){let e=t.state.field(Rn,!1);return!e||!e.hint?!1:(t.dispatch({effects:[k5.of(null)]}),!0)}var rI=t=>e=>{let r=e.state.field(Rn,!1);if(!r||!r.hint)return!1;let{signatureResult:i,selectedIdx:n}=r.hint;if(i.items.length===1)return!1;let o=i.items.length,a=n+(t?1:-1);return a<0&&(a+=o),a>=o&&(a-=o),e.dispatch({effects:[aI.of(a)]}),!0},rae=[{key:"Mod-Shift-Space",run:eae},{key:"Escape",run:tae},{key:"ArrowDown",run:rI(!0)},{key:"ArrowUp",run:rI(!1)}];function sI(t,{activateOnTyping:e=!0,closeOnBlur:r=!0,triggerCharacters:i=["(",","],retriggerCharacters:n=[")"]}={}){return[Rn,Joe,id.of({source:t,activateOnTyping:e,closeOnBlur:r,triggerCharacters:i,retriggerCharacters:n}),iI,cr.high(vr.of(rae)),Goe]}var lI=$e.define({combine(t){return Vt(t,{})}}),cI=De.define(),pg=Ot.define({create(){return{doc:null}},update({doc:t},e){e.docChanged&&(t=null);for(let r of e.effects)r.is(cI)&&(t=e.state.doc);return{doc:t}}}),iae=pt.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(pg);e.doc!==t.startState.field(pg).doc&&(this.maybeAbortQuery(),e.doc&&this.requestFormatterChanges(t.state))}destroy(){this.maybeAbortQuery()}requestFormatterChanges(t){let{doc:e}=t.field(pg),{source:r}=t.facet(lI),i={aborted:!1};r(e).then(n=>{!i.aborted&&n&&this.view.dispatch({changes:n})}),this.query=i}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}});function nae(t){return t.state.readOnly?!1:(t.dispatch({effects:[cI.of(null)]}),!0)}var oae=[{key:"Ctrl-Shift-i",mac:"Alt-Shift-f",win:"Alt-Shift-f",run:nae}];function uI(t){return[pg,iae,lI.of({source:t}),vr.of(oae)]}function fI(t,e){let r=e;for(;!t.endsWith(r);)r=r.slice(0,-1);return r.length}var aae=we.baseTheme({".cm-readOnlyHint":{padding:"4px"}}),hI=De.define(),S5=De.define(),mg=Ot.define({create(){return{tooltip:null}},update({tooltip:t},e){e.state.selection.eq(e.startState.selection)||(t=null);for(let r of e.effects)r.is(hI)&&(t={pos:e.state.selection.main.head,above:!0,create:sae}),r.is(S5)&&(t=null);return{tooltip:t}},provide(t){return Ho.from(t,e=>e.tooltip)}});function sae(t){let e=document.createElement("div");return e.classList.add("cm-readOnlyHint"),e.textContent="This editor is read-only",{dom:e}}var lae=pt.fromClass(class{constructor(t){this.view=t}},{eventHandlers:{input(t){this.view.state.readOnly&&(this.view.state.field(mg).tooltip||this.view.dispatch({effects:hI.of(null)}))},blur(t){this.view.state.readOnly&&this.view.state.field(mg).tooltip&&setTimeout(()=>{this.view.dispatch({effects:[S5.of(null)]})},0)}}});function cae(t){let e=t.state.field(mg,!1);return!e||!e.tooltip?!1:(t.dispatch({effects:[S5.of(null)]}),!0)}var uae=[{key:"Escape",run:cae}];function dI(){return[mg,lae,vr.of(uae),aae]}var fae=5e3,nd=class{constructor(e,r){Ut(this,"_onDelta",new Pr);Ut(this,"onDelta",this._onDelta.event);Ut(this,"_onPeersChange",new Pr);Ut(this,"onPeersChange",this._onPeersChange.event);this.connection=e,this.revision=r,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,r){this.peers=pI(this.peers,e),this.selection=r,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,r,i){this.revision++;let{inflightDelta:n,bufferDelta:o}=this;n&&([e,n]=[n.transform(e,"right"),e.transform(n,"left")],r=r&&Os(r,n)),o&&([e,o]=[o.transform(e,"right"),e.transform(o,"left")],r=r&&Os(r,o)),this.inflightDelta=n,this.bufferDelta=o,this.selection=this.selection&&Os(this.selection,e);let[a,s]=$O(this.peers,i);s=pI(s,e),a&&(s[i]=new tu(a.id,a.meta,r)),this.peers=s,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,r){if(!this.peers.hasOwnProperty(r))return;let{inflightDelta:i,bufferDelta:n}=this;i&&(e=e&&Os(e,i)),n&&(e=e&&Os(e,n));let o=this.peers[r];this.peers=Be(oe({},this.peers),{[r]:new tu(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 r={};for(let i in e)if(i!==this.clientId){let n=this.peers[i],o=e[i],a=n?n.selection:null;r[i]=new tu(i,o,a)}this.peers=r}maybeScheduleRevisionReport(){!this.inflightDelta&&!this.revisionReportTimeoutId&&(this.revisionReportTimeoutId=setTimeout(()=>{this.sendRevision(),this.revisionReportTimeoutId=null},fae))}maybeCancelRevisionReport(){this.revisionReportTimeoutId!==null&&(clearTimeout(this.revisionReportTimeoutId),this.revisionReportTimeoutId=null)}},tu=class{constructor(e,r,i){this.id=e,this.meta=r,this.selection=i}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 pI(t,e){let r={};for(let i in t){let n=t[i],o=n.selection&&Os(n.selection,e);r[i]=new tu(n.id,n.meta,o)}return r}function mI(t){let e=t.state.selection;return e.ranges.length>1?(t.dispatch({selection:e.asSingle()}),!0):!1}function T5(t,e){for(;t;){if(e.includes(t.type.name))return t;t=t.parent}return null}function OI(t,e){let r=0;for(;r<e.length&&t.parent;){if(t.parent.type.name!==e[r])return null;t=t.parent,r++}return r===e.length&&t?t:null}var hae=we.editorAttributes.compute(["selection"],t=>t.selection.ranges.every(r=>r.empty)?{}:{class:"cm-selecting"});function gI(){return[hae]}var od=class{constructor(e,r,i,n,o,a,s){Ut(this,"_onMount",new Pr);Ut(this,"onMount",this._onMount.event);Ut(this,"_onChange",new Pr);Ut(this,"onChange",this._onChange.event);Ut(this,"_onBlur",new Pr);Ut(this,"onBlur",this._onBlur.event);Ut(this,"_onFocus",new Pr);Ut(this,"onFocus",this._onFocus.event);this.container=e,this.source=i,this.language=o,this.intellisense=a,this.readOnly=s,this.initialWidgets={},this.connection=r,this.collabClient=new nd(r,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())KR(this.view,e);else{this.initialWidgets.doctestReportsByLine=this.initialWidgets.doctestReportsByLine||{};for(let r of e)this.initialWidgets.doctestReportsByLine[r.line]=r}}clearDoctests(){this.isMounted()?JR(this.view):delete this.initialWidgets.doctestReportsByLine}setCodeMarkers(e){if(this.isMounted()){let r=this.view.state.doc,i=e.map(n=>{let o=r.line(n.line),[,a,s]=o.text.match(/^(\s*).*?(\s*)$/),l=o.from+a.length,c=o.to-s.length;return{from:l,to:c,severity:n.severity,message:n.description}});this.view.dispatch(bR(this.view.state,i))}else this.initialWidgets.codeMarkers=e}mountEditor(){let e=er.get(),r=l=>l.toString().padStart(3," "),i=l=>{let c=document.createElement("i");return c.classList.add(l?"ri-arrow-down-s-line":"ri-arrow-right-s-line",l?"cm-gutterFoldMarker-open":null),c},n=we.theme({"&":{fontSize:`${e.editor_font_size}px`}}),o=this.language==="markdown"&&e.editor_markdown_word_wrap,a=this.language&&mr.matchLanguageName(xO,this.language,!1),s=[{key:"Escape",run:mI}];this.view=new we({parent:this.container,doc:this.source,extensions:[bP({formatNumber:r}),dP(),yP(),hP(),fR(),jP({markerDOM:i}),Bm({placeholderText:"\u22EF"}),sP(),fP(),pP(),gI(),mP(),Tt.allowMultipleSelections.of(!0),YP(),O_(),IP(),PX(),Tt.readOnly.of(this.readOnly),dI(),vr.of(ER),vr.of(s),Tt.tabSize.of(2),Tt.lineSeparator.of(`
`),o?we.lineWrapping:[],we.contentAttributes.of({tabIndex:-1}),n,e.editor_theme==="light"?B$:q$,WR(this.collabClient),ZR(this.collabClient),Yv({activateOnTyping:e.editor_auto_completion,defaultKeymap:!1}),this.intellisense?[Yv({override:[this.completionSource.bind(this)]}),Qm(this.docsHoverTooltipSource.bind(this)),sI(this.signatureSource.bind(this),{activateOnTyping:e.editor_auto_signature}),uI(this.formatterSource.bind(this))]:[],e.editor_mode==="vim"?[DR()]:[],e.editor_mode==="emacs"?[UR()]:[],a?a.support:[],we.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 r=er.get();if(!e.matchBefore(/[\w?!.]$/)&&!e.explicit)return null;let n=this.getCompletionHint(e);return this.connection.intellisenseRequest("completion",{hint:n,editor_auto_completion:r.editor_auto_completion}).then(o=>{if(o.items.length===0)return null;let a=o.items.map((l,c)=>{let u=this.completionItemToCompletions(l);return Be(oe({},u),{boost:1-c/o.items.length})}),s=fI(n,o.items[0].insert_text);return{from:e.pos-s,options:a,validFor:/^\w*[!?]?$/}}).catch(()=>null)}getCompletionHint(e){let i=ct(e.state).resolve(e.pos);if(i&&this.language==="elixir"){let n=T5(i,["Map","Bitstring"]);if(n)return e.state.doc.sliceString(n.from,e.pos)}return e.matchBefore(/^.*/).text}completionItemToCompletions(e){let r={label:e.label,type:e.kind,info:n=>e.documentation===null?null:hX(350).then(()=>{let o=document.createElement("div");return o.classList.add("cm-completionInfoDocs"),o.classList.add("cm-markdown"),new ml(o,e.documentation,{defaultCodeLanguage:this.language}),o})},i=e.insert_text.includes("${}")?e.insert_text:e.insert_text+"${}";return Dr(i,r)}docsHoverTooltipSource(e,r,i){let n=e.state.doc.lineAt(r),o=n.to-n.from,a=n.text,s=r-n.from+(i===1?1:0);return s<1||s>o?null:this.connection.intellisenseRequest("details",{line:a,column:s}).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 ml(d,f,{defaultCodeLanguage:this.language})}return{dom:u}}})).catch(()=>null)}signatureSource({state:e,pos:r}){let i=this.getSignatureHint(e,r);return this.connection.intellisenseRequest("signature",{hint:i}).then(n=>({activeArgumentIdx:n.active_argument,items:n.items})).catch(()=>null)}getSignatureHint(e,r){let n=ct(e).resolve(r);if(n&&this.language==="elixir"){let o=T5(n,["Call","FunctionDefinitionCall","KernelCall"]);if(o){let s=OI(o,["Right","PipeOperator"])||o;return e.doc.sliceString(s.from,r)}}return e.doc.sliceString(0,r)}formatterSource(e){return this.connection.intellisenseRequest("format",{code:e.toString()}).then(r=>{if(this.setCodeMarkers(r.code_markers),r.delta){let i=oa.fromCompressed(r.delta);return b5(i)}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={}}};var ad={},ru=class t{constructor(e){this.id=e,this.pubsub=new Nc,this.map={}}static create(e){let r=new t(e);return ad[e]=r,r}static getStore(e){if(!ad.hasOwnProperty(e))throw new Error(`No store found for id "${e}"`);return ad[e]}destroy(){ad[this.id]===this&&delete ad[this.id]}set(e,r){this.map[e]=r,this.pubsub.broadcast(e,r)}get(e){if(!this.map.hasOwnProperty(e))throw new Error(`Key "${e}" not found in the store`);return this.map[e]}watch(e,r){return this.pubsub.subscribe(e,r)}};var sd=class{constructor(e,r,i){Ut(this,"_onDelta",new Pr);Ut(this,"onDelta",this._onDelta.event);Ut(this,"_onAcknowledgement",new Pr);Ut(this,"onAcknowledgement",this._onAcknowledgement.event);Ut(this,"_onSelection",new Pr);Ut(this,"onSelection",this._onSelection.event);Ut(this,"_onClientsUpdate",new Pr);Ut(this,"onClientsUpdate",this._onClientsUpdate.event);this.hook=e,this.cellId=r,this.tag=i,this.sessionStore=ru.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,r,i){this.hook.pushEvent("apply_cell_delta",{cell_id:this.cellId,tag:this.tag,delta:e.toCompressed(),selection:r&&bI(r),revision:i})}sendSelection(e,r){this.hook.pushEvent("report_cell_selection",{cell_id:this.cellId,tag:this.tag,selection:e&&bI(e),revision:r})}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:r,client_id:i})=>{e=oa.fromCompressed(e),r=r&&yI(r),this._onDelta.dispatch(e,r,i)}),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:r})=>{e=e&&yI(e),this._onSelection.dispatch(e,r)})}setupIntellisenseHandlers(){this.hook.handleEvent("intellisense_response",({ref:e,response:r})=>{let i=this.handlerByRef[e];i&&(i(r),delete this.handlerByRef[e])})}intellisenseRequest(e,r){return new Promise((i,n)=>{this.hook.pushEvent("intellisense_request",oe({cell_id:this.cellId,type:e},r),({ref:o})=>{o?this.handlerByRef[o]=a=>{a?i(a):n(new Og("No relevant intellisense response for the given parameters"))}:n(new Og("Intellisense request could not be completed"))})})}};function bI(t){return t.ranges.map(({anchor:e,head:r})=>[e,r])}function yI(t){let e=t.map(([r,i])=>ce.range(r,i));return ce.create(e)}var Og=class extends Error{constructor(e){super(e),this.name="IntellisenseError"}};var dae={mounted(){this.props=this.getProps(),this.handleEvent(`cell_editor_init:${this.props.cellId}:${this.props.tag}`,({source:t,revision:e,doctest_reports:r,code_markers:i})=>{let n=this.el.querySelector("[data-el-editor-container]"),o=document.createElement("div");n.appendChild(o),this.connection=new sd(this,this.props.cellId,this.props.tag),this.liveEditor=new od(o,this.connection,t,e,this.props.language,this.props.intellisense,this.props.readOnly),this.liveEditor.setCodeMarkers(i),this.liveEditor.updateDoctests(r);let a=n.querySelector("[data-el-skeleton]"),s=document.createElement("div");s.classList.add("whitespace-pre","overflow-x-auto","text-editor","font-editor","px-12"),s.textContent=t,a.replaceChildren(s),this.liveEditor.onMount(()=>{a.remove()}),this.el.dispatchEvent(new CustomEvent("lb:cell:editor_created",{detail:{tag:this.props.tag,liveEditor:this.liveEditor},bubbles:!0})),this.visibility=PO(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 $t(this.el,["cell-id","tag","language","intellisense","read-only"])}},vI=dae;var E5="data-js-dragging",pae={mounted(){this.el.addEventListener("dragenter",t=>{this.el.setAttribute(E5,"")}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.removeAttribute(E5)}),this.el.addEventListener("drop",t=>{this.el.removeAttribute(E5)})}},xI=pae;var mae={mounted(){let t=er.get(),e=this.el.querySelector('[name="editor_auto_completion"][value="true"]'),r=this.el.querySelector('[name="editor_auto_signature"][value="true"]'),i=this.el.querySelector('[name="editor_font_size"][value="true"]'),n=this.el.querySelector('[name="editor_light_theme"][value="true"]'),o=this.el.querySelector('[name="editor_markdown_word_wrap"][value="true"]'),a=this.el.querySelector('select[name="editor_mode"]');e.checked=t.editor_auto_completion,r.checked=t.editor_auto_signature,i.checked=t.editor_font_size===Qh.large,n.checked=t.editor_theme===Dc.light,o.checked=t.editor_markdown_word_wrap,a.value=t.editor_mode,e.addEventListener("change",s=>{er.update({editor_auto_completion:s.target.checked})}),r.addEventListener("change",s=>{er.update({editor_auto_signature:s.target.checked})}),i.addEventListener("change",s=>{er.update({editor_font_size:s.target.checked?Qh.large:Qh.normal})}),n.addEventListener("change",s=>{er.update({editor_theme:s.target.checked?Dc.light:Dc.default})}),o.addEventListener("change",s=>{er.update({editor_markdown_word_wrap:s.target.checked})}),a.addEventListener("change",s=>{er.update({editor_mode:s.target.value})})}},wI=mae;var hw=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},sa=(t,e,r)=>(hw(t,e,"read from private field"),r?r.call(t):e.get(t)),aa=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},X5=(t,e,r,i)=>(hw(t,e,"write to private field"),i?i.call(t,r):e.set(t,r),r),In=(t,e,r)=>(hw(t,e,"access private method"),r),Oae="14.0";function gae(t,e,r){let i=`https://cdn.jsdelivr.net/npm/emojibase-data@${e}/${t}`;return typeof r=="function"?i=r(t,e):typeof r=="string"&&(i=`${r}/${t}`),i}async function dw(t,e={}){let d=e,{local:r=!1,version:i="latest",cdnUrl:n}=d,o=Wr(d,["local","version","cdnUrl"]),a=gae(t,i,n),s=r?localStorage:sessionStorage,l=`emojibase/${i}/${t}`,c=s.getItem(l);if(c)return Promise.resolve(JSON.parse(c));let u=await fetch(a,oe({credentials:"omit",mode:"cors",redirect:"error"},o));if(!u.ok)throw new Error("Failed to load Emojibase dataset.");let f=await u.json();try{s.setItem(l,JSON.stringify(f))}catch(p){}return f}var bae={discord:"joypixels",slack:"iamcal"};async function kI(t,e,r){var i;return dw(`${t}/shortcodes/${(i=bae[e])!==null&&i!==void 0?i:e}.json`,r)}function fd(t,e){if(e.length===0)return t;let r=new Set(t.shortcodes);return e.forEach(i=>{let n=i[t.hexcode];Array.isArray(n)?n.forEach(o=>r.add(o)):n&&r.add(n)}),t.shortcodes=[...r],t.skins&&t.skins.forEach(i=>{fd(i,e)}),t}function yae(t,e=[]){let r=[];return t.forEach(i=>{if(i.skins){let n=i,{skins:o}=n,a=Wr(n,["skins"]);r.push(fd(a,e)),o.forEach(s=>{let l=oe({},s);a.tags&&(l.tags=[...a.tags]),r.push(fd(l,e))})}else r.push(fd(i,e))}),r}function vae(t,e){return e.length===0||t.forEach(r=>{fd(r,e)}),t}async function $I(t,e={}){let l=e,{compact:r=!1,flat:i=!1,shortcodes:n=[]}=l,o=Wr(l,["compact","flat","shortcodes"]),a=await dw(`${t}/${r?"compact":"data"}.json`,o),s=[];return n.length>0&&(s=await Promise.all(n.map(c=>{let u;if(c.includes("/")){let[f,d]=c.split("/");u=kI(f,d,o)}else u=kI(t,c,o);return u.catch(()=>({}))}))),i?yae(a,s):vae(a,s)}async function XI(t,e){return dw(`${t}/messages.json`,e)}function C5(t,e){let r=t.target.closest("[data-emoji]");if(r){let i=e.find(n=>n.emoji===r.dataset.emoji);if(i)return i}return null}function RI(t){var e;let r=(e=window.matchMedia)==null?void 0:e.call(window,"(prefers-reduced-motion: reduce)");return t.animate&&!(r!=null&&r.matches)}function SI(t,e){return t.toLowerCase().includes(e.toLowerCase())}function xae(t,e){let r=null;return()=>{r||(r=window.setTimeout(()=>{t(),r=null},e))}}function wae(t,e){let r=null;return(...i)=>{r&&window.clearTimeout(r),r=window.setTimeout(()=>{t(...i),r=null},e)}}function kl(t,e,r,i){if(RI(i)&&t.animate)return t.animate(e,r).finished;let n=r.direction==="normal"?1:0,o=Object.entries(e).reduce((a,[s,l])=>Be(oe({},a),{[s]:l[n]}),{});return Object.assign(t.style,o),Promise.resolve()}function R5(t){var e;let r=document.createElement("template");return r.innerHTML=t,(e=r.content)==null?void 0:e.firstElementChild}async function kae(t){let e=new TextEncoder().encode(t),r=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(r)).map(i=>i.toString(16).padStart(2,"0")).join("")}function Nr(...t){return t.reduce((e,r)=>Be(oe({},e),{[r]:pw(r)}),{})}function pw(t){return`picmo__${t}`}function vg(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function iu(t,...e){vg(t).append(...e)}function II(t){try{return window[t].length,!0}catch(e){return!1}}function Sae(){return II("sessionStorage")}function Tae(){return II("localStorage")}function dd(t){var e;return{emoji:t.emoji,label:t.label,tags:t.tags,skins:(e=t.skins)==null?void 0:e.map(r=>dd(r)),order:t.order,custom:!1,hexcode:t.hexcode,version:t.version}}function Cg(t,e,r){var i;return r&&!r.some(n=>n.order===t.group)?!1:SI(t.label,e)||((i=t.tags)==null?void 0:i.some(n=>SI(n,e)))}var Pg=class{constructor(e="en"){this.locale=e}},Eae=[(t,e)=>(t.hexcode==="1F91D"&&e<14&&(t.skins=[]),t),(t,e)=>(t.skins&&(t.skins=t.skins.filter(r=>!r.version||r.version<=e)),t)];function Cae(t,e){return Eae.some(r=>r(t,e)===null)?null:t}function _g(t,e){return t.filter(r=>Cae(r,e)!==null)}var P5={};function LI(t){return P5[t]||(P5[t]=new I5(t)),P5[t]}LI.deleteDatabase=t=>{};var I5=class extends Pg{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 r;let i=this.categories.filter(n=>n.key!=="component");if(e.showRecents&&i.unshift({key:"recents",order:-1}),(r=e.custom)!=null&&r.length&&i.push({key:"custom",order:10}),e.categories){let n=e.categories;i=i.filter(o=>n.includes(o.key)),i.sort((o,a)=>n.indexOf(o.key)-n.indexOf(a.key))}else i.sort((n,o)=>n.order-o.order);return Promise.resolve(i)}getEmojis(e,r){let i=this.emojis.filter(n=>n.group===e.order).filter(n=>n.version<=r).sort((n,o)=>n.order!=null&&o.order!=null?n.order-o.order:0).map(dd);return Promise.resolve(_g(i,r))}searchEmojis(e,r,i,n){let o=this.emojis.filter(l=>Cg(l,e,n)&&l.version<=i).map(dd),a=r.filter(l=>Cg(l,e,n)),s=[..._g(o,i),...a];return Promise.resolve(s)}setMeta(e){this.meta=e}};function Pae(t,e){let r=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return{emojisUrl:`${r}/data.json`,messagesUrl:`${r}/messages.json`}}async function TI(t){try{return(await fetch(t,{method:"HEAD"})).headers.get("etag")}catch(e){return null}}function _ae(t){let{emojisUrl:e,messagesUrl:r}=Pae("latest",t);try{return Promise.all([TI(e),TI(r)])}catch(i){return Promise.all([null,null])}}async function Aae(t,e,r){let i;try{i=await t.getEtags()}catch(a){i={}}let{storedEmojisEtag:n,storedMessagesEtag:o}=i;if(r!==o||e!==n){let[a,s]=await Promise.all([XI(t.locale),$I(t.locale)]);await t.populate({groups:a.groups,emojis:s,emojisEtag:e,messagesEtag:r})}}async function Qae(t,e){let r=await t.getHash();return e!==r}async function MI(t,e,r){let i=r||e(t);try{await i.open()}catch(n){console.warn("[picmo] IndexedDB not available, falling back to InMemoryStoreFactory"),i=LI(t)}return i}async function $ae(t,e,r){if(!Sae()&&typeof window<"u")throw new Error("Session storage is required to use CDN emoji data.");let i=await MI(t,e,r),[n,o]=await _ae(t);if(await i.isPopulated())n&&o&&await Aae(i,n,o);else{let[a,s]=await Promise.all([XI(t),$I(t)]);await i.populate({groups:a.groups,emojis:s,emojisEtag:n,messagesEtag:o})}return i}async function Xae(t,e,r,i,n){let o=await MI(t,e,n),a=await kae(i);return(!await o.isPopulated()||await Qae(o,a))&&await o.populate({groups:r.groups,emojis:i,hash:a}),o}async function zI(t,e,r,i,n){return r&&i?Xae(t,e,r,i,n):$ae(t,e,n)}var pd=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,r,i){e.target===r&&(i.focus(),e.preventDefault())}handleKeyDown(e){e.key==="Tab"&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}},{light:Rae,dark:g7e,auto:b7e}=Nr("light","dark","auto"),ot=class{constructor({template:e,classes:r,parent:i}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=r,this.parent=i,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,...r){this.events.emit(e,...r)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then(r=>{this.emojiData=r})}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync(oe({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(oe({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 r=this.keyBindings[e.key];r&&r.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,r)=>Be(oe({},e),{[r]:this.el.querySelector(this.uiElements[r])}),{})}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(r=>{let[i]=r;i.type==="childList"&&i.addedNodes[0]===this.el&&(RI(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)});e.observe(this.parent,{childList:!0})}}static childEvent(e,r,i,n={}){return{target:e,event:r,handler:i,options:n}}static uiEvent(e,r,i={}){return{event:e,handler:r,options:i}}static byClass(e){return`.${e}`}},Iae='<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>',Lae='<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>',Mae='<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>',zae='<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>',Dae='<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>',Nae='<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>',Uae='<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>',qae='<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>',Bae=`<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>`,jae='<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>',Wae='<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>',Vae='<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>',Fae='<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>',Zae='<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>',Yae=`<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>`,Hae='<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 Gae(t,e){let r=R5(e);return r.dataset.icon=t,r.classList.add(pw("icon")),r}var EI={clock:Iae,flag:Lae,frown:Mae,gamepad:zae,lightbulb:Dae,mug:Nae,plane:Uae,robot:qae,sad:Bae,search:jae,smiley:Wae,symbols:Vae,tree:Fae,users:Zae,warning:Yae,xmark:Hae},Xg={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 DI(t,e){if(!(t in EI))return console.warn(`Unknown icon: "${t}"`),document.createElement("div");let r=Gae(t,EI[t]);return e&&r.classList.add(pw(`icon-${e}`)),r}var Kae={mode:"sync"},ud,xg,wg,L5,kg,M5,Sg,z5,Or=class{constructor(e,r={}){aa(this,wg),aa(this,kg),aa(this,Sg),aa(this,ud,void 0),aa(this,xg,void 0),X5(this,ud,e),X5(this,xg,r.mode||Kae.mode)}renderSync(e={}){let r=R5(sa(this,ud).call(this,e));return In(this,Sg,z5).call(this,r,e),In(this,kg,M5).call(this,r),In(this,wg,L5).call(this,r,e),r}async renderAsync(e={}){let r=R5(sa(this,ud).call(this,e));return In(this,Sg,z5).call(this,r,e),In(this,kg,M5).call(this,r),await In(this,wg,L5).call(this,r,e),r}render(e){return sa(this,xg)==="sync"?this.renderSync(e):this.renderAsync(e)}};ud=new WeakMap,xg=new WeakMap,wg=new WeakSet,L5=async function(t,e){let r=t.querySelectorAll("[data-view]"),i=[];for(let n of r){let o=e[n.dataset.view];o?n.dataset.render!=="sync"?i.push(o.render().then(a=>(n.replaceWith(a),a))):n.replaceWith(o.renderSync()):n.remove()}return Promise.all(i)},kg=new WeakSet,M5=function(t){t.querySelectorAll("i[data-icon]").forEach(e=>{let{icon:r,size:i}=e.dataset;e.replaceWith(DI(r,i))})},Sg=new WeakSet,z5=function(t,e){return t.querySelectorAll("[data-placeholder]").forEach(r=>{let i=r.dataset.placeholder;if(i&&e[i]){let n=e[i];r.replaceWith(...[n].flat())}else console.warn(`Missing placeholder element for key "${i}"`)}),t};var Jae=Nr("imagePlaceholder","placeholder"),ese=new Or(({classes:t})=>`
<div class="${t.placeholder} ${t.imagePlaceholder}"></div>
`),D5=class extends ot{constructor({classNames:e}={}){super({template:ese,classes:Jae}),this.classNames=e}load(e){let r=document.createElement("img");this.classNames&&(r.className=this.classNames),r.addEventListener("load",()=>{this.el.replaceWith(r)},{once:!0}),Promise.resolve(e).then(i=>r.src=i)}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach(e=>this.el.classList.add(e)),this.el}},tse=Nr("customEmoji"),N5=class{renderElement(e){return{content:e}}renderImage(e="",r){let i=new D5({classNames:e});return i.renderSync(),{content:i,resolver:()=>(i.load(r()),i.el)}}doRender(e,r,i){if(e.custom)return this.renderCustom(e,r,i);let{content:n,resolver:o}=this.render(e,i),a=n instanceof Element?n:n.el;return o&&o(),a}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:r,emoji:i,data:n}){return{url:e,label:r,emoji:i,data:n}}renderCustom(e,r,i=""){let n=[tse.customEmoji,i].join(" ").trim(),{content:o,resolver:a}=this.renderImage(n,()=>e.url),s=o instanceof Element?o:o.el;return a&&a(),s}},rse=new Or(({emoji:t})=>`<span>${t}</span>`),U5=class extends N5{render(e){return this.renderElement(rse.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:r,label:i}){return{emoji:e,hexcode:r,label:i}}},ise={"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..."},q5="PicMo";function NI(t){return new B5(t)}NI.deleteDatabase=t=>new Promise((e,r)=>{let i=indexedDB.deleteDatabase(`${q5}-${t}`);i.addEventListener("success",e),i.addEventListener("error",r)});var B5=class extends Pg{async open(){let e=indexedDB.open(`${q5}-${this.locale}`);return new Promise((r,i)=>{e.addEventListener("success",n=>{var o;this.db=(o=n.target)==null?void 0:o.result,r()}),e.addEventListener("error",i),e.addEventListener("upgradeneeded",async n=>{var o;this.db=(o=n.target)==null?void 0:o.result,this.db.createObjectStore("category",{keyPath:"order"});let a=this.db.createObjectStore("emoji",{keyPath:"emoji"});a.createIndex("category","group"),a.createIndex("version","version"),this.db.createObjectStore("meta")})})}async delete(){this.close();let e=indexedDB.deleteDatabase(`${q5}-${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"),[r,i]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:r.target.result,storedMessagesEtag:i.target.result}}async setMeta(e){let r=this.db.transaction("meta","readwrite"),i=r.objectStore("meta");return new Promise(n=>{r.oncomplete=n,Object.keys(e).filter(Boolean).forEach(o=>{i.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:r,emojisEtag:i,messagesEtag:n,hash:o}){await this.removeAllObjects("category","emoji");let a=[this.addObjects("category",e),this.addObjects("emoji",r),this.setMeta({emojisEtag:i,messagesEtag:n,hash:o})];await Promise.all(a)}async getCategories(e){var r;let i=this.db.transaction("category","readonly").objectStore("category"),n=(await this.waitForRequest(i.getAll())).target.result.filter(o=>o.key!=="component");if(e.showRecents&&n.unshift({key:"recents",order:-1}),(r=e.custom)!=null&&r.length&&n.push({key:"custom",order:10}),e.categories){let o=e.categories;n=n.filter(a=>o.includes(a.key)),n.sort((a,s)=>o.indexOf(a.key)-o.indexOf(s.key))}else n.sort((o,a)=>o.order-a.order);return n}async getEmojis(e,r){let i=this.db.transaction("emoji","readonly").objectStore("emoji").index("category"),n=(await this.waitForRequest(i.getAll(e.order))).target.result.filter(o=>o.version<=r).sort((o,a)=>o.order!=null&&a.order!=null?o.order-a.order:0).map(dd);return _g(n,r)}async searchEmojis(e,r,i,n){let o=[];return new Promise((a,s)=>{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 a([..._g(o,i),...r.filter(p=>Cg(p,e))]);let d=f.value;Cg(d,e,n)&&d.version<=i&&o.push(dd(d)),f.continue()}),l.addEventListener("error",c=>{s(c)})})}async waitForRequest(e){return new Promise((r,i)=>{e.onsuccess=r,e.onerror=i})}withTransaction(e,r="readwrite",i){return new Promise((n,o)=>{let a=this.db.transaction(e,r);a.oncomplete=n,a.onerror=o,i(a)})}async removeAllObjects(...e){let r=this.db.transaction(e,"readwrite"),i=e.map(n=>r.objectStore(n));await Promise.all(i.map(n=>this.waitForRequest(n.clear())))}async addObjects(e,r){return this.withTransaction(e,"readwrite",i=>{let n=i.objectStore(e);r.forEach(o=>{n.add(o)})})}};function nse(){let t={};return{getItem:e=>t[e],setItem:(e,r)=>t[e]=r,length:Object.keys(t).length,clear:()=>t={},key:e=>Object.keys(t)[e],removeItem:e=>delete t[e]}}var j5=class{},_5="PicMo:recents",W5=class extends j5{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(_5)}getRecents(e){var r;try{return JSON.parse((r=this.storage.getItem(_5))!=null?r:"[]").slice(0,e)}catch(i){return[]}}addOrUpdateRecent(e,r){let i=[e,...this.getRecents(r).filter(n=>n.hexcode!==e.hexcode)].slice(0,r);try{this.storage.setItem(_5,JSON.stringify(i))}catch(n){console.warn("storage is not available, recent emojis will not be saved")}}},V5=class extends W5{constructor(){super(Tae()?localStorage:nse())}},ose={dataStore:NI,theme:Rae,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:ise,locale:"en",maxRecents:50,custom:[]};function mw(t={}){return Be(oe(oe({},ose),t),{renderer:t.renderer||new U5,recentsProvider:t.recentsProvider||new V5})}var Sl,hd,Ag,Tg,F5,Tl=class{constructor(){aa(this,hd),aa(this,Tg),aa(this,Sl,new Map)}on(e,r,i){In(this,Tg,F5).call(this,e,r,i)}once(e,r,i){In(this,Tg,F5).call(this,e,r,i,!0)}off(e,r){let i=In(this,hd,Ag).call(this,e);sa(this,Sl).set(e,i.filter(n=>n.handler!==r))}emit(e,...r){In(this,hd,Ag).call(this,e).forEach(i=>{i.handler.apply(i.context,r),i.once&&this.off(e,i.handler)})}removeAll(){sa(this,Sl).clear()}};Sl=new WeakMap,hd=new WeakSet,Ag=function(t){return sa(this,Sl).has(t)||sa(this,Sl).set(t,[]),sa(this,Sl).get(t)},Tg=new WeakSet,F5=function(t,e,r,i=!1){In(this,hd,Ag).call(this,t).push({context:r,handler:e,once:i})};var ase={injectStyles:!0},Z5=class extends Tl{},Y5=class extends Tl{},H5=Nr("emojiCategory","categoryName","noRecents","recentEmojis"),md=class extends ot{constructor({template:e,category:r,showVariants:i,lazyLoader:n}){super({template:e,classes:H5}),this.baseUIElements={categoryName:ot.byClass(H5.categoryName)},this.category=r,this.showVariants=i,this.lazyLoader=n}setActive(e,r,i){this.emojiContainer.setActive(e,r,i)}},sse=new Or(({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>
`),lse=Nr("emojiButton"),Qg=class extends ot{constructor({emoji:e,lazyLoader:r,category:i}){super({template:sse,classes:lse}),this.emoji=e,this.lazyLoader=r,this.category=i}initialize(){this.uiEvents=[ot.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)})}},G5=class{constructor(e,r,i=0,n=0,o=!1){this.events=new Tl,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(r/e),this.columnCount=e,this.focusedRow=i,this.focusedColumn=n,this.emojiCount=r,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,r){this.events.on(e,r)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,r,i=!0){let n=this.getIndex();this.focusedRow=e,r!==void 0&&(this.focusedColumn=Math.min(this.columnCount,r)),(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:i})}setFocusedIndex(e,r=!0){let i=Math.floor(e/this.columnCount),n=e%this.columnCount;this.setCell(i,n,r)}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}},cse=new Or(({classes:t})=>`
<div class="${t.emojiContainer}">
<div data-placeholder="emojis"></div>
</div>
`),use=Nr("emojiContainer"),El=class extends ot{constructor({emojis:e,showVariants:r,preview:i=!0,lazyLoader:n,category:o,fullHeight:a=!1}){super({template:cse,classes:use}),this.fullHeight=!1,this.showVariants=r,this.lazyLoader=n,this.preview=i,this.emojis=e,this.category=o,this.fullHeight=a,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new G5(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=[ot.uiEvent("click",this.selectEmoji),ot.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(ot.uiEvent("mouseover",this.showPreview),ot.uiEvent("mouseout",this.hidePreview),ot.uiEvent("focus",this.showPreview,{capture:!0}),ot.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,r){if(e)if(typeof e=="string"){let i=this.emojis.findIndex(n=>n.emoji===e);this.grid.setFocusedIndex(i,!1),setTimeout(()=>{var n,o,a,s;let l=this.emojiViews[i].el;l.scrollIntoView();let c=(n=l.parentElement)==null?void 0:n.previousElementSibling,u=(a=(o=l.parentElement)==null?void 0:o.parentElement)==null?void 0:a.parentElement;u.scrollTop-=(s=c==null?void 0:c.offsetHeight)!=null?s:0})}else e.row==="first"||e.row===0?this.grid.setCell(0,e.offset,r):e.row==="last"&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,r)}setActive(e,r,i){var n;e?this.setFocusedView(r,i):(n=this.emojiViews[this.grid.getIndex()])==null||n.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map(e=>this.viewFactory.create(Qg,{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:r,performFocus:i}){var n,o;(n=this.emojiViews[e])==null||n.deactivateFocus(),(o=this.emojiViews[r])==null||o.activateFocus(i)}selectEmoji(e){e.stopPropagation();let r=C5(e,this.emojis);r&&this.events.emit("emoji:select",{emoji:r,showVariants:this.showVariants})}showPreview(e){let r=e.target.closest("button"),i=r==null?void 0:r.firstElementChild,n=C5(e,this.emojis);n&&this.events.emit("preview:show",n,i==null?void 0:i.cloneNode(!0))}hidePreview(e){C5(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}},fse=new Or(({classes:t,category:e,pickerId:r,icon:i,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${r}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${i}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),K5=class extends md{constructor({category:e,showVariants:r,lazyLoader:i,emojiVersion:n}){super({category:e,showVariants:r,lazyLoader:i,template:fse}),this.showVariants=r,this.lazyLoader=i,this.emojiVersion=n}initialize(){this.uiElements=oe({},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(El,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:Xg[this.category.key]})}},J5=class extends El{constructor({category:e,emojis:r,preview:i=!0,lazyLoader:n}){super({category:e,emojis:r,showVariants:!1,preview:i,lazyLoader:n})}async addOrUpdate(e){let r=this.el.querySelector(`[data-emoji="${e.emoji}"]`);r&&(this.el.removeChild(r),this.emojis=this.emojis.filter(n=>n!==e));let i=this.viewFactory.create(Qg,{emoji:e});if(this.el.insertBefore(i.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)}}},hse=new Or(({emojiCount:t,classes:e,category:r,pickerId:i,icon:n,i18n:o})=>`
<section class="${e.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${r.key}">
<h3 data-category="${r.key}" class="${e.categoryName}">
<i data-icon="${n}"></i>
${o.get(`categories.${r.key}`,r.message||r.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"}),ew=class extends md{constructor({category:e,lazyLoader:r,provider:i}){super({category:e,showVariants:!1,lazyLoader:r,template:hse}),this.provider=i}initialize(){this.uiElements=Be(oe({},this.baseUIElements),{recents:ot.byClass(H5.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 r=(e=this.provider)==null?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(J5,{emojis:r,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:r.length,icon:Xg[this.category.key]}),this.el}},dse=new Or(({classes:t,category:e,pickerId:r,icon:i,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${r}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${i}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),tw=class extends md{constructor({category:e,lazyLoader:r}){super({template:dse,showVariants:!1,lazyLoader:r,category:e})}initialize(){this.uiElements=oe({},this.baseUIElements),super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(El,{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:Xg[this.category.key]})}},$g=class{constructor(){this.elements=new Map}lazyLoad(e,r){return this.elements.set(e,r),e}observe(e){if(window.IntersectionObserver){let r=new IntersectionObserver(i=>{i.filter(n=>n.intersectionRatio>0).map(n=>n.target).forEach(n=>{let o=this.elements.get(n);o==null||o(),r.unobserve(n)})},{root:e});this.elements.forEach((i,n)=>{r.observe(n)})}else this.elements.forEach(r=>{r()})}},CI=Nr("emojiArea"),pse=new Or(({classes:t})=>`
<div class="${t.emojiArea}">
<div data-placeholder="emojis"></div>
</div>
`,{mode:"async"}),mse={recents:ew,custom:tw};function Ose(t){return mse[t.key]||K5}function gse(t){return!t||t==="button"?{row:"first",offset:0}:t}var rw=class extends ot{constructor({categoryTabs:e,categories:r,emojiVersion:i}){super({template:pse,classes:CI}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new $g,this.categoryTabs=e,this.categories=r,this.emojiVersion=i,this.handleScroll=xae(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:ot.byClass(CI.emojiArea)},this.uiEvents=[ot.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((r,i)=>{e[`emojis-${r.key}`]=this.emojiCategories[i]}),await super.render({emojis:await Promise.all(this.emojiCategories.map(r=>r.render()))}),this.lazyLoader.observe(this.el),this.el}destroy(){super.destroy(),this.emojiCategories.forEach(e=>{var r;(r=this.observer)==null||r.unobserve(e.el),e.destroy()})}handleCategorySelect(e,r){this.el.style.overflow="hidden",this.selectCategory(e,r),this.el.style.overflow="auto"}createCategory(e){let r=Ose(e);return this.viewFactory.create(r,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find(r=>r.key===this.options.initialCategory)?this.options.initialCategory:(e=this.categories.find(r=>r.key!=="recents"))==null?void 0:e.key}determineFocusTarget(e){let r=this.emojiCategories.find(i=>i.category.key===e);return this.options.initialEmoji&&(r!=null&&r.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");let r=this.determineInitialCategory();r&&(this.selectCategory(r,{focus:this.determineFocusTarget(r),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(r))}getCategoryIndex(e){return this.categories.findIndex(r=>r.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,r){this.selectCategory(e,{focus:r,performFocus:!0})}async selectCategory(e,r={}){var i;this.scrollListenerState="suspend";let{focus:n,performFocus:o,scroll:a}=oe({performFocus:!1},r);this.emojiCategories[this.selectedCategory].setActive(!1);let s=this.selectedCategory=typeof e=="number"?e:this.getCategoryIndex(e);(i=this.categoryTabs)==null||i.setActiveTab(this.selectedCategory,{performFocus:o,scroll:n==="button"});let l=this.emojiCategories[s].el.offsetTop;this.emojiCategories[s].setActive(!0,gse(n),n!=="button"&&o),a&&(this.el.scrollTop=l),this.scrollListenerState="resume"}updateFocusedCategory(e){var r;this.categories[this.selectedCategory].key!==e&&(this.scrollListenerState="suspend",this.selectedCategory=this.getCategoryIndex(e),(r=this.categoryTabs)==null||r.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,r=this.el.scrollHeight-this.el.offsetHeight,i=this.emojiCategories.findIndex((o,a)=>{var s;return e<((s=this.emojiCategories[a+1])==null?void 0:s.el.offsetTop)}),n={changeFocusable:!1,performFocus:!1,scroll:!1};e===0?this.categoryTabs.setActiveTab(0,n):Math.floor(e)===Math.floor(r)||i<0?this.categoryTabs.setActiveTab(this.categories.length-1,n):this.categoryTabs.setActiveTab(i,n)}},bse=new Or(({classList:t,classes:e,icon:r,message:i})=>`
<div class="${t}" role="alert">
<div class="${e.iconContainer}"><i data-size="10x" data-icon="${r}"></i></div>
<h3 class="${e.title}">${i}</h3>
</div>
`),PI=Nr("error","iconContainer","title"),Od=class extends ot{constructor({message:e,icon:r="warning",template:i=bse,className:n}){super({template:i,classes:PI}),this.message=e,this.icon=r,this.className=n}renderSync(){let e=[PI.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}},yse=new Or(({classList:t,classes:e,icon:r,i18n:i,message:n})=>`
<div class="${t}" role="alert">
<div class="${e.icon}"><i data-size="10x" data-icon="${r}"></i></div>
<h3 class="${e.title}">${n}</h3>
<button type="button">${i.get("retry")}</button>
</div>
`),vse=Nr("dataError"),iw=class extends Od{constructor({message:e}){super({message:e,template:yse,className:vse.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[ot.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 zI(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}},ld=Nr("preview","previewEmoji","previewName","tagList","tag"),xse=new Or(({classes:t,tag:e})=>`
<li class="${t.tag}">${e}</li>
`),wse=new Or(({classes:t})=>`
<div class="${t.preview}">
<div class="${t.previewEmoji}"></div>
<div class="${t.previewName}"></div>
<ul class="${t.tagList}"></ul>
</div>
`),nw=class extends ot{constructor(){super({template:wse,classes:ld})}initialize(){this.uiElements={emoji:ot.byClass(ld.previewEmoji),name:ot.byClass(ld.previewName),tagList:ot.byClass(ld.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,r){if(iu(this.ui.emoji,r),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";let i=e.tags.map(n=>xse.renderSync({tag:n,classes:ld}));iu(this.ui.tagList,...i)}}hidePreview(){vg(this.ui.emoji),vg(this.ui.name),vg(this.ui.tagList)}},kse=new Or(({classes:t,i18n:e})=>`
<button title="${e.get("search.clear")}" class="${t.clearSearchButton}">
<i data-icon="xmark"></i>
</button>
`),Sse=new Or(({classes:t,i18n:e})=>`
<div class="${t.searchContainer}">
<input class="${t.searchField}" placeholder="${e.get("search")}">
<span class="${t.searchAccessory}"></span>
</div>
`,{mode:"async"}),cd=Nr("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound"),ow=class extends ot{constructor({categories:e,emojiVersion:r}){super({template:Sse,classes:cd}),this.categories=e.filter(i=>i.key!=="recents"),this.emojiVersion=r,this.search=wae(this.search.bind(this),100)}initialize(){this.uiElements={searchField:ot.byClass(cd.searchField),searchAccessory:ot.byClass(cd.searchAccessory)},this.uiEvents=[ot.childEvent("searchField","keydown",this.onKeyDown),ot.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=DI("search"),this.notFoundMessage=this.viewFactory.create(Od,{message:this.i18n.get("search.notFound"),className:cd.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(Od,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=kse.render({classes:cd,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){iu(this.ui.searchAccessory,e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var r;e.stopPropagation(),this.searchField.value="",(r=this.resultsContainer)==null||r.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 r;e.key==="Escape"&&this.searchField.value?this.onClearSearch(e):(e.key==="Enter"||e.key==="ArrowDown")&&this.resultsContainer&&(e.preventDefault(),(r=this.resultsContainer.el.querySelector('[tabindex="0"]'))==null||r.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{let r=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),r.length){let i=new $g;this.resultsContainer=this.viewFactory.create(El,{emojis:r,fullHeight:!0,showVariants:!0,lazyLoader:i}),this.resultsContainer.renderSync(),(e=this.resultsContainer)!=null&&e.el&&(i.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(r){this.events.emit("content:show",this.errorMessage)}}},Tse=new Or(({classes:t})=>`
<div class="${t.variantOverlay}">
<div class="${t.variantPopup}">
<div data-view="emojis" data-render="sync"></div>
</div>
</div>
`),_I=Nr("variantOverlay","variantPopup"),A5={easing:"ease-in-out",duration:250,fill:"both"},AI={opacity:[0,1]},QI={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]},aw=class extends ot{constructor({emoji:e,parent:r}){super({template:Tse,classes:_I,parent:r}),this.focusedEmojiIndex=0,this.focusTrap=new pd,this.animateShow=()=>Promise.all([kl(this.el,AI,A5,this.options),kl(this.ui.popup,QI,A5,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:ot.byClass(_I.variantPopup)},this.uiEvents=[ot.uiEvent("click",this.handleClick),ot.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){let e=Be(oe({},A5),{direction:"reverse"});return Promise.all([kl(this.el,AI,e,this.options),kl(this.ui.popup,QI,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 r=this.getEmoji(this.focusedEmojiIndex);r.tabIndex=-1,this.focusedEmojiIndex=e;let i=this.getEmoji(this.focusedEmojiIndex);i.tabIndex=0,i.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){let e=Be(oe({},this.emoji),{skins:null}),r=(this.emoji.skins||[]).map(n=>Be(oe({},n),{label:this.emoji.label,tags:this.emoji.tags})),i=[e,...r];return this.emojiContainer=this.viewFactory.create(El,{emojis:i,preview:!1}),super.renderSync({emojis:this.emojiContainer}),i.length<this.options.emojisPerRow&&this.el.style.setProperty("--emojis-per-row",i.length.toString()),this.el}activate(){this.emojiContainer.setActive(!0,{row:0,offset:0},!0),this.focusTrap.activate(this.el)}},Ese=new Or(({classes:t,i18n:e,category:r,pickerId:i,icon:n})=>`
<li class="${t.categoryTab}">
<button
aria-selected="false"
role="tab"
class="${t.categoryButton}"
tabindex="-1"
title="${e.get(`categories.${r.key}`,r.message||r.key)}"
type="button"
data-category="${r.key}"
id="${i}-category-${r.key}"
>
<i data-icon="${n}"></i>
</li>
`),Q5=Nr("categoryTab","categoryTabActive","categoryButton"),sw=class extends ot{constructor({category:e,icon:r}){super({template:Ese,classes:Q5}),this.isActive=!1,this.category=e,this.icon=r}initialize(){this.uiElements={button:ot.byClass(Q5.categoryButton)},this.uiEvents=[ot.childEvent("button","click",this.selectCategory),ot.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,r={}){let{changeFocusable:i,performFocus:n,scroll:o}=oe({changeFocusable:!0,performFocus:!0,scroll:!0},r);this.el.classList.toggle(Q5.categoryTabActive,e),i&&(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})}},Cse=new Or(({classes:t})=>`
<div class="${t.categoryButtonsContainer}">
<ul role="tablist" class="${t.categoryButtons}">
<div data-placeholder="tabs"></div>
</ul>
</div>
`),Pse=Nr("categoryButtons","categoryButtonsContainer"),lw=class extends ot{constructor({categories:e}){super({template:Cse,classes:Pse}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[ot.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){let e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,r=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",r&&e?this.el.classList.add("has-overflow-both"):r?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(sw,{category:e,icon:Xg[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,r={}){this.checkOverflow();let i=this.currentTabView,n=this.tabViews[e];i.setActive(!1,r),n.setActive(!0,r),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{let r=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(r),{changeFocusable:!0,performFocus:!0})}}},_se=[{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 Ase(){var t;let e=_se.find(r=>Qse(r.emoji));return(t=e==null?void 0:e.version)!=null?t:1}function Qse(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 $5(t,e){return Array.from({length:t},()=>e).join("")}function $se({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 Xse(t){let{classes:e,theme:r,className:i=""}=t;return`
<div class="picmo__picker ${e.picker} ${r} ${i}">
${$se(t)}
<div class="${e.content}">
<div data-view="emojiArea"></div>
</div>
<div data-view="preview"></div>
</div>
`}function Rse(t){let{emojiCount:e,classes:r,theme:i,className:n,categoryCount:o}=t,a=({showSearch:u,classes:f})=>u?`
<div class="${f.searchSkeleton}">
<div class="${f.searchInput} ${f.placeholder}"></div>
</div>
`:"",s=({showCategoryTabs:u,classes:f})=>u?`
<div class="${f.categoryTabsSkeleton}">
${$5(o,`<div class="${f.placeholder} ${f.categoryTab}"></div>`)}
</div>
`:"",l=({showHeader:u,classes:f})=>u?`
<header class="${f.headerSkeleton}">
${a(t)}
${s(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}">
${$5(3,`<li class="${f.placeholder} ${f.tag}"></li>`)}
</ul>
</div>
`:"";return`
<div class="picmo__picker ${r.skeleton} ${r.picker} ${i} ${n}">
${l(t)}
<div class="${r.contentSkeleton}">
<div class="${r.placeholder} ${r.categoryName}"></div>
<div class="${r.emojiGrid}">
${$5(e,`<div class="${r.placeholder} ${r.emoji}"></div>`)}
</div>
</div>
${c(t)}
</div>
`}var Ise=new Or(t=>t.isLoaded?Xse(t):Rse(t)),gg=Nr("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),bg={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"},cw=class extends ot{constructor(){super({template:Ise,classes:gg}),this.pickerReady=!1,this.externalEvents=new Y5,this.updaters={styleProperty:e=>r=>this.el.style.setProperty(bg[e],r.toString()),theme:e=>{let r=this.options.theme,i=this.el.closest(`.${r}`);this.el.classList.remove(r),i==null||i.classList.remove(r),this.el.classList.add(e),i==null||i.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:ot.byClass(gg.content),header:ot.byClass(gg.header)},this.uiEvents=[ot.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,r;super.destroy(),(e=this.search)==null||e.destroy(),this.emojiArea.destroy(),(r=this.categoryTabs)==null||r.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,r){this.externalEvents.on(e,r)}removeEventListener(e,r){this.externalEvents.off(e,r)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){let r=e.ctrlKey||e.metaKey;e.key==="s"&&r&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(nw)),this.options.showSearch&&(this.search=this.viewFactory.create(ow,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(lw,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(rw,{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(bg).forEach(e=>{this.options[e]&&this.el.style.setProperty(bg[e],this.options[e].toString())})}updateStyleProperty(e,r){this.el.style.setProperty(bg[e],r.toString())}reinitialize(){this.renderSync()}onError(e){let r=this.viewFactory.createWithOptions({data:!1},iw,{message:this.i18n.get("error.load")}),i=this.el.offsetHeight||375;throw this.el.style.height=`${i}px`,iu(this.el,r.renderSync()),e}async onDataReady(e){let r=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,this.options.emojiVersion==="auto"?this.emojiVersion=Ase()||parseFloat(Oae):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);let[i,n,o,a]=this.buildChildViews();await super.render({isLoaded:!0,search:n,categoryTabs:a,emojiArea:o,preview:i,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,r.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(i){this.events.emit("error",i)}}renderSync(){var e;let r=((e=this.options.categories)==null?void 0:e.length)||10;if(this.options.showRecents&&(r+=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:r}),this.el.style.setProperty("--category-count",r.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return iu(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 r;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),(r=this.search)==null||r.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var r,i;e!==this.currentView&&(this.currentView!==this.emojiArea&&((r=this.currentView)==null||r.destroy()),this.ui.pickerContent.classList.toggle(gg.fullHeight,e!==this.emojiArea),iu(this.ui.pickerContent,e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):(i=this.categoryTabs)==null||i.el.remove())}hideVariantPopup(){var e;(e=this.variantPopup)==null||e.destroy()}isPickerClick(e){var r,i;let n=e.target,o=this.el.contains(n),a=(i=(r=this.variantPopup)==null?void 0:r.el)==null?void 0:i.contains(n);return o||a}async selectEmoji({emoji:e}){var r,i;(r=e.skins)!=null&&r.length&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await((i=this.variantPopup)==null?void 0:i.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){let r=document.activeElement;this.events.once("variantPopup:hide",()=>{r==null||r.focus()}),this.variantPopup=this.viewFactory.create(aw,{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(r=>{this.updaters[r](e[r])}),Object.assign(this.options,e)}},uw=class{constructor({events:e,i18n:r,renderer:i,emojiData:n,options:o,customEmojis:a=[],pickerId:s}){this.events=e,this.i18n=r,this.renderer=i,this.emojiData=n,this.options=o,this.customEmojis=a,this.pickerId=s}setEmojiData(e){this.emojiData=Promise.resolve(e)}createWithOptions(e={},r,...i){let n=new r(...i);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,...r){return this.createWithOptions({},e,...r)}},Eg,fw=class{constructor(e={}){aa(this,Eg,void 0),X5(this,Eg,new Map(Object.entries(e)))}get(e,r=e){return sa(this,Eg).get(e)||r}};Eg=new WeakMap;function Lse(t,e){e===void 0&&(e={});var r=e.insertAt;if(!(!t||typeof document>"u")){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",r==="top"&&i.firstChild?i.insertBefore(n,i.firstChild):i.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}function Ow(){let t=!1;return function(e){ase.injectStyles&&!t&&(Lse(e),t=!0)}}var Mse=`.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 zse(t){return zI(t.locale,t.dataStore,t.messages,t.emojiData)}var Dse=0,yg;function Nse(){return`picmo-${Date.now()}-${Dse++}`}var Use=Ow();function UI(t){Use(Mse);let e=mw(t),r=((e==null?void 0:e.custom)||[]).map(a=>Be(oe({},a),{custom:!0,tags:["custom",...a.tags||[]]})),i=new Z5;yg||(yg=zse(e));let n=new fw(e.i18n);yg.then(a=>{i.emit("data:ready",a)}).catch(a=>{i.emit("error",a)});let o=new uw({events:i,i18n:n,customEmojis:r,renderer:e.renderer,options:e,emojiData:yg,pickerId:Nse()}).create(cw);return o.renderSync(),o}function Cl(t){return t.split("-")[0]}function nu(t){return t.split("-")[1]}function zg(t){return["top","bottom"].includes(Cl(t))?"x":"y"}function GI(t){return t==="y"?"height":"width"}function qI(t,e,r){let{reference:i,floating:n}=t,o=i.x+i.width/2-n.width/2,a=i.y+i.height/2-n.height/2,s=zg(e),l=GI(s),c=i[l]/2-n[l]/2,u=Cl(e),f=s==="x",d;switch(u){case"top":d={x:o,y:i.y-n.height};break;case"bottom":d={x:o,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:a};break;case"left":d={x:i.x-n.width,y:a};break;default:d={x:i.x,y:i.y}}switch(nu(e)){case"start":d[s]-=c*(r&&f?-1:1);break;case"end":d[s]+=c*(r&&f?-1:1);break}return d}var qse=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:o=[],platform:a}=r,s=await(a.isRTL==null?void 0:a.isRTL(e)),l=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:c,y:u}=qI(l,i,s),f=i,d={},p=0;for(let O=0;O<o.length;O++){let{name:x,fn:k}=o[O],{x:w,y:C,data:Q,reset:L}=await k({x:c,y:u,initialPlacement:i,placement:f,strategy:n,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:e}});if(c=w!=null?w:c,u=C!=null?C:u,d=Be(oe({},d),{[x]:oe(oe({},d[x]),Q)}),L&&p<=50){p++,typeof L=="object"&&(L.placement&&(f=L.placement),L.rects&&(l=L.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:n}):L.rects),{x:c,y:u}=qI(l,f,s)),O=-1;continue}}return{x:c,y:u,placement:f,strategy:n,middlewareData:d}};function Bse(t){return oe({top:0,right:0,bottom:0,left:0},t)}function jse(t){return typeof t!="number"?Bse(t):{top:t,right:t,bottom:t,left:t}}function Rg(t){return Be(oe({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}async function vw(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:o,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=e,O=jse(p),x=s[d?f==="floating"?"reference":"floating":f],k=Rg(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(x)))==null||r?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),w=Rg(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?Be(oe({},a.floating),{x:i,y:n}):a.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:k.top-w.top+O.top,bottom:w.bottom-k.bottom+O.bottom,left:k.left-w.left+O.left,right:w.right-k.right+O.right}}var Wse=Math.min,Vse=Math.max;function BI(t,e,r){return Vse(t,Wse(e,r))}var Fse={left:"right",right:"left",bottom:"top",top:"bottom"};function Ig(t){return t.replace(/left|right|bottom|top/g,e=>Fse[e])}function KI(t,e,r){r===void 0&&(r=!1);let i=nu(t),n=zg(t),o=GI(n),a=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(a=Ig(a)),{main:a,cross:Ig(a)}}var Zse={start:"end",end:"start"};function gw(t){return t.replace(/start|end/g,e=>Zse[e])}var Yse=["top","right","bottom","left"],Hse=Yse.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function Gse(t,e,r){return(t?[...r.filter(i=>nu(i)===t),...r.filter(i=>nu(i)!==t)]:r.filter(i=>Cl(i)===i)).filter(i=>t?nu(i)===t||(e?gw(i)!==i:!1):!0)}var Kse=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n,o,a;let{x:s,y:l,rects:c,middlewareData:u,placement:f,platform:d,elements:p}=e,ge=t,{alignment:O=null,allowedPlacements:x=Hse,autoAlignment:k=!0}=ge,w=Wr(ge,["alignment","allowedPlacements","autoAlignment"]),C=Gse(O,k,x),Q=await vw(e,w),L=(r=(i=u.autoPlacement)==null?void 0:i.index)!=null?r:0,N=C[L];if(N==null)return{};let{main:I,cross:H}=KI(N,c,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(f!==N)return{x:s,y:l,reset:{placement:C[0]}};let j=[Q[Cl(N)],Q[I],Q[H]],Y=[...(n=(o=u.autoPlacement)==null?void 0:o.overflows)!=null?n:[],{placement:N,overflows:j}],V=C[L+1];if(V)return{data:{index:L+1,overflows:Y},reset:{placement:V}};let ne=Y.slice().sort((ve,_e)=>ve.overflows[0]-_e.overflows[0]),ue=(a=ne.find(ve=>{let{overflows:_e}=ve;return _e.every(ae=>ae<=0)}))==null?void 0:a.placement,he=ue!=null?ue:ne[0].placement;return he!==f?{data:{index:L+1,overflows:Y},reset:{placement:he}}:{}}}};function Jse(t){let e=Ig(t);return[gw(t),e,gw(e)]}var ele=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r;let{placement:i,middlewareData:n,rects:o,initialPlacement:a,platform:s,elements:l}=e,j=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0}=j,O=Wr(j,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]),x=Cl(i),k=f||(x===a||!p?[Ig(a)]:Jse(a)),w=[a,...k],C=await vw(e,O),Q=[],L=((r=n.flip)==null?void 0:r.overflows)||[];if(c&&Q.push(C[x]),u){let{main:Y,cross:V}=KI(i,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));Q.push(C[Y],C[V])}if(L=[...L,{placement:i,overflows:Q}],!Q.every(Y=>Y<=0)){var N,I;let Y=((N=(I=n.flip)==null?void 0:I.index)!=null?N:0)+1,V=w[Y];if(V)return{data:{index:Y,overflows:L},reset:{placement:V}};let ne="bottom";switch(d){case"bestFit":{var H;let ue=(H=L.map(he=>[he,he.overflows.filter(ge=>ge>0).reduce((ge,ve)=>ge+ve,0)]).sort((he,ge)=>he[1]-ge[1])[0])==null?void 0:H[0].placement;ue&&(ne=ue);break}case"initialPlacement":ne=a;break}if(i!==ne)return{reset:{placement:ne}}}return{}}}};async function tle(t,e){let{placement:r,platform:i,elements:n}=t,o=await(i.isRTL==null?void 0:i.isRTL(n.floating)),a=Cl(r),s=nu(r),l=zg(r)==="x",c=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,f=typeof e=="function"?e(t):e,{mainAxis:d,crossAxis:p,alignmentAxis:O}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:oe({mainAxis:0,crossAxis:0,alignmentAxis:null},f);return s&&typeof O=="number"&&(p=s==="end"?O*-1:O),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}var jI=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){let{x:r,y:i}=e,n=await tle(e,t);return{x:r+n.x,y:i+n.y,data:n}}}};function rle(t){return t==="x"?"y":"x"}var WI=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,k=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:C,y:Q}=w;return{x:C,y:Q}}}}=k,l=Wr(k,["mainAxis","crossAxis","limiter"]),c={x:r,y:i},u=await vw(e,l),f=zg(Cl(n)),d=rle(f),p=c[f],O=c[d];if(o){let w=f==="y"?"top":"left",C=f==="y"?"bottom":"right",Q=p+u[w],L=p-u[C];p=BI(Q,p,L)}if(a){let w=d==="y"?"top":"left",C=d==="y"?"bottom":"right",Q=O+u[w],L=O-u[C];O=BI(Q,O,L)}let x=s.fn(Be(oe({},e),{[f]:p,[d]:O}));return Be(oe({},x),{data:{x:x.x-r,y:x.y-i}})}}};function JI(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function ua(t){if(t==null)return window;if(!JI(t)){let e=t.ownerDocument;return e&&e.defaultView||window}return t}function mo(t){return ua(t).getComputedStyle(t)}function la(t){return JI(t)?"":t?(t.nodeName||"").toLowerCase():""}function eL(){let t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function Oo(t){return t instanceof ua(t).HTMLElement}function gs(t){return t instanceof ua(t).Element}function ile(t){return t instanceof ua(t).Node}function ou(t){if(typeof ShadowRoot>"u")return!1;let e=ua(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Dg(t){let{overflow:e,overflowX:r,overflowY:i}=mo(t);return/auto|scroll|overlay|hidden/.test(e+i+r)}function nle(t){return["table","td","th"].includes(la(t))}function tL(t){let e=/firefox/i.test(eL()),r=mo(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":!1)}function rL(){return!/^((?!chrome|android).)*safari/i.test(eL())}var VI=Math.min,gd=Math.max,Lg=Math.round;function ca(t,e,r){var i,n,o,a;e===void 0&&(e=!1),r===void 0&&(r=!1);let s=t.getBoundingClientRect(),l=1,c=1;e&&Oo(t)&&(l=t.offsetWidth>0&&Lg(s.width)/t.offsetWidth||1,c=t.offsetHeight>0&&Lg(s.height)/t.offsetHeight||1);let u=gs(t)?ua(t):window,f=!rL()&&r,d=(s.left+(f&&(i=(n=u.visualViewport)==null?void 0:n.offsetLeft)!=null?i:0))/l,p=(s.top+(f&&(o=(a=u.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/c,O=s.width/l,x=s.height/c;return{width:O,height:x,top:p,right:d+O,bottom:p+x,left:d,x:d,y:p}}function bs(t){return((ile(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ng(t){return gs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function iL(t){return ca(bs(t)).left+Ng(t).scrollLeft}function ole(t){let e=ca(t);return Lg(e.width)!==t.offsetWidth||Lg(e.height)!==t.offsetHeight}function ale(t,e,r){let i=Oo(e),n=bs(e),o=ca(t,i&&ole(e),r==="fixed"),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(i||!i&&r!=="fixed")if((la(e)!=="body"||Dg(n))&&(a=Ng(e)),Oo(e)){let l=ca(e,!0);s.x=l.x+e.clientLeft,s.y=l.y+e.clientTop}else n&&(s.x=iL(n));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function nL(t){return la(t)==="html"?t:t.assignedSlot||t.parentNode||(ou(t)?t.host:null)||bs(t)}function FI(t){return!Oo(t)||mo(t).position==="fixed"?null:sle(t)}function sle(t){let{offsetParent:e}=t,r=t,i=!1;for(;r&&r!==e;){let{assignedSlot:n}=r;if(n){let o=n.offsetParent;if(mo(n).display==="contents"){let a=n.hasAttribute("style"),s=n.style.display;n.style.display=mo(r).display,o=n.offsetParent,n.style.display=s,a||n.removeAttribute("style")}r=n,e!==o&&(e=o,i=!0)}else if(ou(r)&&r.host&&i)break;r=ou(r)&&r.host||r.parentNode}return e}function lle(t){let e=nL(t);for(ou(e)&&(e=e.host);Oo(e)&&!["html","body"].includes(la(e));){if(tL(e))return e;{let r=e.parentNode;e=ou(r)?r.host:r}}return null}function bw(t){let e=ua(t),r=FI(t);for(;r&&nle(r)&&mo(r).position==="static";)r=FI(r);return r&&(la(r)==="html"||la(r)==="body"&&mo(r).position==="static"&&!tL(r))?e:r||lle(t)||e}function ZI(t){if(Oo(t))return{width:t.offsetWidth,height:t.offsetHeight};let e=ca(t);return{width:e.width,height:e.height}}function cle(t){let{rect:e,offsetParent:r,strategy:i}=t,n=Oo(r),o=bs(r);if(r===o)return e;let a={scrollLeft:0,scrollTop:0},s={x:0,y:0};if((n||!n&&i!=="fixed")&&((la(r)!=="body"||Dg(o))&&(a=Ng(r)),Oo(r))){let l=ca(r,!0);s.x=l.x+r.clientLeft,s.y=l.y+r.clientTop}return Be(oe({},e),{x:e.x-a.scrollLeft+s.x,y:e.y-a.scrollTop+s.y})}function ule(t,e){let r=ua(t),i=bs(t),n=r.visualViewport,o=i.clientWidth,a=i.clientHeight,s=0,l=0;if(n){o=n.width,a=n.height;let c=rL();(c||!c&&e==="fixed")&&(s=n.offsetLeft,l=n.offsetTop)}return{width:o,height:a,x:s,y:l}}function fle(t){var e;let r=bs(t),i=Ng(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=gd(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=gd(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-i.scrollLeft+iL(t),l=-i.scrollTop;return mo(n||r).direction==="rtl"&&(s+=gd(r.clientWidth,n?n.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function oL(t){let e=nL(t);return["html","body","#document"].includes(la(e))?t.ownerDocument.body:Oo(e)&&Dg(e)?e:oL(e)}function Mg(t,e){var r;e===void 0&&(e=[]);let i=oL(t),n=i===((r=t.ownerDocument)==null?void 0:r.body),o=ua(i),a=n?[o].concat(o.visualViewport||[],Dg(i)?i:[]):i,s=e.concat(a);return n?s:s.concat(Mg(a))}function hle(t,e){let r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(r&&ou(r)){let i=e;do{if(i&&t===i)return!0;i=i.parentNode||i.host}while(i)}return!1}function dle(t,e){let r=ca(t,!1,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft;return{top:i,left:n,x:n,y:i,right:n+t.clientWidth,bottom:i+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function YI(t,e,r){return e==="viewport"?Rg(ule(t,r)):gs(e)?dle(e,r):Rg(fle(bs(t)))}function ple(t){let e=Mg(t),r=["absolute","fixed"].includes(mo(t).position)&&Oo(t)?bw(t):t;return gs(r)?e.filter(i=>gs(i)&&hle(i,r)&&la(i)!=="body"):[]}function mle(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,o=[...r==="clippingAncestors"?ple(e):[].concat(r),i],a=o[0],s=o.reduce((l,c)=>{let u=YI(e,c,n);return l.top=gd(u.top,l.top),l.right=VI(u.right,l.right),l.bottom=VI(u.bottom,l.bottom),l.left=gd(u.left,l.left),l},YI(e,a,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var Ole={getClippingRect:mle,convertOffsetParentRelativeRectToViewportRelativeRect:cle,isElement:gs,getDimensions:ZI,getOffsetParent:bw,getDocumentElement:bs,getElementRects:t=>{let{reference:e,floating:r,strategy:i}=t;return{reference:ale(e,bw(r),i),floating:Be(oe({},ZI(r)),{x:0,y:0})}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>mo(t).direction==="rtl"};function gle(t,e,r,i){i===void 0&&(i={});let{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=i,l=n&&!s,c=o&&!s,u=l||c?[...gs(t)?Mg(t):[],...Mg(e)]:[];u.forEach(x=>{l&&x.addEventListener("scroll",r,{passive:!0}),c&&x.addEventListener("resize",r)});let f=null;if(a){let x=!0;f=new ResizeObserver(()=>{x||r(),x=!1}),gs(t)&&!s&&f.observe(t),f.observe(e)}let d,p=s?ca(t):null;s&&O();function O(){let x=ca(t);p&&(x.x!==p.x||x.y!==p.y||x.width!==p.width||x.height!==p.height)&&r(),p=x,d=requestAnimationFrame(O)}return r(),()=>{var x;u.forEach(k=>{l&&k.removeEventListener("scroll",r),c&&k.removeEventListener("resize",r)}),(x=f)==null||x.disconnect(),f=null,s&&cancelAnimationFrame(d)}}var ble=(t,e,r)=>qse(t,e,oe({platform:Ole},r));async function yle(t,e,r,i){if(!i)throw new Error("Must provide a positioning option");return await(typeof i=="string"?vle(t,e,r,i):xle(e,i))}async function vle(t,e,r,i){if(!r)throw new Error("Reference element is required for relative positioning");let n;return i==="auto"?n={middleware:[Kse(),WI(),jI({mainAxis:5,crossAxis:12})]}:n={placement:i,middleware:[ele(),WI(),jI(5)]},gle(r,e,async()=>{if((!r.isConnected||!r.offsetParent)&&wle(t))return;let{x:o,y:a}=await ble(r,e,n);Object.assign(e.style,{position:"absolute",left:`${o}px`,top:`${a}px`})})}function xle(t,e){return t.style.position="fixed",Object.entries(e).forEach(([r,i])=>{t.style[r]=i}),()=>{}}function wle(t){switch(t.options.onPositionLost){case"close":return t.close(),!0;case"destroy":return t.destroy(),!0;case"hold":return!0}}var kle={hideOnClickOutside:!0,hideOnEmojiSelect:!0,hideOnEscape:!0,position:"auto",showCloseButton:!0,onPositionLost:"none"};function Sle(t={}){return oe(Be(oe({},kle),{rootElement:document.body}),t)}var Tle='<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>',HI=Nr("popupContainer","closeButton"),yw=class{constructor(e,r){this.isOpen=!1,this.externalEvents=new Tl,this.options=oe(oe({},Sle(r)),mw(e)),this.popupEl=document.createElement("div"),this.popupEl.classList.add(HI.popupContainer),this.popupEl.classList.add(this.options.theme),r.className&&this.popupEl.classList.add(r.className),this.options.showCloseButton&&(this.closeButton=document.createElement("button"),this.closeButton.type="button",this.closeButton.classList.add(HI.closeButton),this.closeButton.innerHTML=Tle,this.closeButton.addEventListener("click",()=>{this.close()}),this.popupEl.appendChild(this.closeButton));let i=document.createElement("div");this.popupEl.appendChild(i),this.picker=UI(Be(oe({},this.options),{rootElement:i})),this.focusTrap=new pd,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,r){this.externalEvents.on(e,r),this.picker.addEventListener(e,r)}removeEventListener(e,r){this.externalEvents.off(e,r),this.picker.removeEventListener(e,r)}handleKeydown(e){var r;e.key==="Escape"&&(this.close(),(r=this.triggerElement)==null||r.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:r}={}){this.isOpen||(e&&(this.triggerElement=e),r&&(this.referenceElement=r),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 yle(this,this.popupEl,this.referenceElement,this.options.position)}awaitPendingAnimations(){return Promise.all(this.getRunningAnimations().map(e=>e.finished))}onDocumentClick(e){var r;let i=e.target,n=(r=this.triggerElement)==null?void 0:r.contains(i);this.isOpen&&!this.picker.isPickerClick(e)&&!n&&this.close()}animatePopup(e){return kl(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 kl(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()}},Ele=`.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}
`,Cle=Ow();function aL(t,e){return Cle(Ele),new yw(oe({autoFocus:"auto"},t),e)}var Ple={mounted(){let t=this.el.querySelector("[data-emoji-button]"),e=this.el.querySelector("[data-emoji-preview]"),r=this.el.querySelector("[data-emoji-input]"),i=aL({showPreview:!1},{triggerElement:t,referenceElement:t,position:"bottom"});i.addEventListener("emoji:select",({emoji:n})=>{e.innerHTML=n,r.value=n}),t.addEventListener("click",n=>{i.toggle()})}},sL=Ple;var _le={mounted(){this.focus()},updated(){this.el!==document.activeElement&&this.focus()},focus(){cs(document.activeElement)||(this.el.focus(),this.el.selectionStart=this.el.selectionEnd=this.el.value.length,this.el.scrollLeft=this.el.scrollWidth)}},lL=_le;var Ale={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.initializeHeadingEl(),this.navigationSubscription=_r.subscribe("navigation",this.handleNavigationEvent.bind(this))},updated(){this.props=this.getProps(),this.initializeHeadingEl()},destroyed(){this.navigationSubscription.destroy()},getProps(){return $t(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 r=e.clipboardData.getData("text/plain").replace(`
`," ");document.execCommand("insertText",!1,r)}),this.headingEl.addEventListener("keydown",e=>{e.key==="Enter"&&e.preventDefault()}),this.headingEl.addEventListener("blur",e=>{setTimeout(()=>{this.isFocused&&this.insertMode&&(this.headingEl.focus(),cL(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&&pl(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(),cL(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 cL(t){let e=document.createRange();e.selectNodeContents(t),e.collapse(!1);let r=window.getSelection();r.removeAllRanges(),r.addRange(e)}var uL=Ale;var Qle={mounted(){this.props=this.getProps(),this.sourceEl=ia(this.el,"[data-source]"),this.targetEl=ia(this.el,"[data-target]"),this.updateDOM()},updated(){this.props=this.getProps(),this.updateDOM()},getProps(){return $t(this.el,["language"])},updateDOM(){let t=this.sourceEl.innerText,e=XO(t,this.props.language);this.targetEl.innerHTML=e,this.el.setAttribute("data-highlighted","")}},fL=Qle;var xw=["bg-yellow-100","border-yellow-300"],$le={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(...xw)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...xw)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...xw)}),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 r=e.dataset.cameraId;this.openCameraView(r)}}),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 $t(this.el,["id","phx-target","height","width","format","fit","image-url","value-height","value-width"])},updateImagePreview(){this.props.imageUrl?Ile(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=r=>{let i=document.createElement("img");i.addEventListener("load",n=>{let o=this.toCanvas(i,i.width,i.height);this.pushImage(o)}),i.src=r.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(r=>r.kind==="videoinput").map(r=>({deviceId:r.deviceId,label:r.label}));[{deviceId:"system_default",label:"System Default"},...e].forEach(({deviceId:r,label:i})=>{let n=this.cameraItemTemplateEl.cloneNode(!0);n.querySelector("[data-camera-id]").setAttribute("data-camera-id",r),n.querySelector("[data-label]").innerHTML=i,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){Xle(t,this.props.format).then(e=>{let r={height:t.height,width:t.width},i=new Blob([e]);i.meta=()=>r,this.uploadTo(this.props.phxTarget,"file",[i])})},toCanvas(t,e,r){let{width:i,height:n}=this.props,o=document.createElement("canvas"),a=o.getContext("2d");if(i===null&&n===null||i===e&&n===r)o.width=e,o.height=r,o.getContext("2d").drawImage(t,0,0,e,r,0,0,e,r);else if(this.props.fit==="contain"){let s=i/e,l=n/r,c=Math.min(s,l),u=Math.round(e*c),f=Math.round(r*c);o.width=u,o.height=f,a.drawImage(t,0,0,e,r,0,0,u,f)}else if(this.props.fit==="crop"){let s=i/e,l=n/r,c=Math.max(s,l),u=Math.round(e*c),f=Math.round(r*c);o.width=i,o.height=n,a.drawImage(t,Math.round((u-i)/c/2),Math.round((f-n)/c/2),e-Math.round((u-i)/c),r-Math.round((f-n)/c),0,0,i,n)}else if(this.props.fit==="pad"){let s=i/e,l=n/r,c=Math.min(s,l),u=Math.round(e*c),f=Math.round(r*c);o.width=i,o.height=n,a.fillStyle="black",a.fillRect(0,0,o.width,o.height),a.drawImage(t,0,0,e,r,Math.round((i-u)/2),Math.round((n-f)/2),u,f)}else o.width=i,o.height=n,a.drawImage(t,0,0,e,r,0,0,i,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 Xle(t,e){if(e==="png"||e==="jpeg")return new Promise((r,i)=>{t.toBlob(n=>{n.arrayBuffer().then(o=>{r(o)})},`image/${e}`)});if(e==="rgb"){let r=t.getContext("2d").getImageData(0,0,t.width,t.height),i=Rle(r);return Promise.resolve(i)}throw new Error(`Unexpected format: ${e}`)}function Rle(t){let e=t.width*t.height,r=new Uint8ClampedArray(e*3);for(let i=0;i<e;i++)r[i*3]=t.data[i*4],r[i*3+1]=t.data[i*4+1],r[i*3+2]=t.data[i*4+2];return r.buffer}function Ile(t,e,r,i){if(i==="png"||i==="jpeg"){let n=document.createElement("img");return n.src=t,Promise.resolve(n)}if(i==="rgb")return fetch(t).then(n=>n.arrayBuffer()).then(n=>{let o=document.createElement("canvas");o.height=e,o.width=r;let a=Lle(n,r,e);return o.getContext("2d").putImageData(a,0,0),o});throw new Error(`Unexpected format: ${i}`)}function Lle(t,e,r){let i=e*r,n=new Uint8Array(t),o=new Uint8ClampedArray(i*4);for(let a=0;a<i;a++)o[a*4]=n[a*3],o[a*4+1]=n[a*3+1],o[a*4+2]=n[a*3+2],o[a*4+3]=255;return new ImageData(o,e,r)}var hL=$le;var Mle={mounted(){this.updateSrc()},updated(){this.updateSrc()},updateSrc(){let t=this.el.src,e="data:image/x-pixel;base64,",r=t.slice(e.length);if(t.startsWith(e)){let i=fX(r),n=new DataView(i),o=n.getUint32(0,!1),a=n.getUint32(4,!1),s=n.getUint8(8),l=i.slice(9),c=zle(l,a,o,s),u=document.createElement("canvas");u.height=o,u.width=a,u.getContext("2d").putImageData(c,0,0);let f=u.toDataURL("image/png");this.el.src=f}}};function zle(t,e,r,i){let n=e*r,o=new Uint8Array(t),a=new Uint8ClampedArray(n*4);for(let s=0;s<n;s++)i===1?(a[s*4]=o[s],a[s*4+1]=o[s],a[s*4+2]=o[s],a[s*4+3]=255):i===2?(a[s*4]=o[s*2],a[s*4+1]=o[s*2],a[s*4+2]=o[s*2],a[s*4+3]=o[s*2+1]):i===3?(a[s*4]=o[s*3],a[s*4+1]=o[s*3+1],a[s*4+2]=o[s*3+2],a[s*4+3]=255):i===4&&(a[s*4]=o[s*4],a[s*4+1]=o[s*4+1],a[s*4+2]=o[s*4+2],a[s*4+3]=o[s*4+3]);return new ImageData(a,e,r)}var dL=Mle;var Dle=document.querySelector("meta[name='csrf-token']").getAttribute("content"),ww=new Ed(window.LIVEBOOK_BASE_URL_PATH+"/socket",{params:{_csrf_token:Dle}}),Pl=null;function pL(t){return Pl||(ww.connect(),Pl=ww.channel("js_view",{session_token:t}),Pl.join()),Pl}function mL(){Pl&&(Pl.leave(),Pl=null,ww.disconnect())}function OL(t,e){if(Array.isArray(e)&&e[1]&&e[1].constructor===ArrayBuffer){let[r,i]=e;return Fk([t,r],i)}else return{root:[t,e]}}function kw(t){if(t.constructor===ArrayBuffer){let[[e,r],i]=Zk(t);return[e,[r,i]]}else{let{root:[e,r]}=t;return[e,r]}}var gL="wcqj5QWCo66osdAWDnEgPRFyL7nfe8oNqNggnw4vvW8=";function bL(t,e,r){let i=Nle(e,r);return Ule(i).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=i})}function Nle(t,e){let r=window.location.protocol;return e?e.replace(/^https?:/,r):r==="https:"?"https://livebookusercontent.com/iframe/v5.html":`http://${window.location.hostname}:${t}/iframe/v5.html`}var Sw=null;function Ule(t){return Sw||(Sw=fetch(t).then(e=>e.text()).then(e=>{if(uX(e)!==gL)throw new Error(`The iframe loaded from ${t} doesn't have the expected checksum ${gL}`)})),Sw}var qle={mounted(){this.props=this.getProps(),this.id=sX(),this.childToken=lX(),this.childReadyPromise=null,this.childReady=!1,this.initReceived=!1,this.syncCallbackQueue=[],this.pongCallbackQueue=[],this.initTimeout=setTimeout(()=>this.handleInitTimeout(),2e3),this.channel=pL(this.props.sessionToken),this.iframeActions=this.createIframe(),this.childReadyPromise=new Promise((n,o)=>{this._handleWindowMessage=a=>{a.source===this.iframe.contentWindow&&this.handleChildMessage(a.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]=kw(n);this.handleServerInit(o)}),e=this.channel.on(`event:${this.props.ref}`,n=>{let[[o],a]=kw(n);this.handleServerEvent(o,a)}),r=this.channel.on(`error:${this.props.ref}`,({message:n,init:o})=>{this.handleServerError(n,o)}),i=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}`,r),this.channel.off(`pong:${this.props.ref}`,i)},this.subscriptions=[_r.subscribe(`js_views:${this.props.ref}`,this.handleJSViewEvent.bind(this)),_r.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 $t(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]"),r=new ResizeObserver(a=>{this.repositionIframe()});r.observe(e),r.observe(t);let i=_r.subscribe("js_views",a=>{a.type==="reposition"&&this.repositionIframe()});this.iframe.addEventListener("mouseenter",a=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0}))}),this.iframe.addEventListener("mouseleave",a=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseleave",{bubbles:!0}))});let n=PO(this.iframePlaceholder,{root:t,proximity:2e3});this.iframe.toggleAttribute("data-js-focused",!!this.el.closest("[data-js-focused]"));let o=()=>{r.disconnect(),i.destroy(),n.cancel(),this.iframe.remove(),this.iframePlaceholder.remove()};return{visibilityPromise:n.promise,remove:o}},repositionIframe(){let{iframe:t,iframePlaceholder:e}=this,r=document.querySelector("[data-el-notebook]");if(ls(e))t.classList.add("hidden");else{t.classList.remove("hidden");let i=r.getBoundingClientRect(),n=e.getBoundingClientRect(),o=n.top-i.top+r.scrollTop;t.style.top=`${o}px`;let a=n.left-i.left+r.scrollLeft;t.style.left=`${a}px`,t.style.height=`${n.height}px`,t.style.width=`${n.width}px`}},loadIframe(){let t=document.querySelector("[data-el-js-view-iframes]");bL(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(r=>{this.postMessage({type:"readyReply",token:this.childToken,baseUrl:r,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 r=this.replicateDomEvent(t.event);t.isTargetEditable?this.hiddenInput.dispatchEvent(r):this.el.dispatchEvent(r)}else if(t.type==="event"){let{event:r,payload:i}=t,n=OL([r,this.props.ref],i);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 Ug().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]"),r=e?e.dataset.focusableId:null;this.iframe.toggleAttribute("data-js-focused",r===t.focusableId)}}};function Ug(){return Ug.promise=Ug.promise||fetch("/public/health").then(t=>t.status===200).catch(t=>!1),Ug.promise}var yL=qle;var Ble={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 $t(this.el,["cell-id","default-handlers","keydown-enabled","keyup-enabled","target"])},handleDocumentKeyDown(t){if(this.isKeyboardToggle(t)&&!cs(document.activeElement)){po(t),this.keyboardEnabled()?this.disableKeyboard():this.enableKeyboard();return}if(this.keyboardEnabled()){if(this.props.defaultHandlers!=="on"&&po(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"&&po(t),this.props.keyupEnabled)){let{key:e}=t;this.pushEventTo(this.props.target,"keyup",{key:e})}},handleDocumentFocus(t){this.props.keydownEnabled&&cs(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:r,key:i}=t;return(CO()?e:r)&&i==="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}},vL=Ble;var jle={mounted(){this.props=this.getProps(),this.templateEl=ia(this.el,"[data-template]"),this.contentEl=ia(this.el,"[data-content]"),this.markdown=new ml(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 $t(this.el,["base-path","allowed-uri-schemes"])}},xL=jle;var Wle={mounted(){this.scroll()},updated(){this.scroll()},scroll(){_h(this.el)}},wL=Wle;var bd=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 r=this.buffer.slice(-e.length),i=e.every((n,o)=>n===r[o]);return i&&this.reset(),i}};var Vle={mounted(){this.props=this.getProps(),this.focusedId=null,this.insertMode=!1,this.view=null,this.viewOptions=null,this.keyBuffer=new bd,this.lastLocationReportByClientId={},this.followedClientId=null,this.store=ru.create("session"),AO(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 r={};for(let i of t)r[i.id]=i;this.store.set("clients",r),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 r={focusableId:e};this.handleLocationReport(t,r)})},updated(){let t=this.props;this.props=this.getProps(),this.props.globalStatus!==t.globalStatus&&AO(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),AO("favicon"),this.keepChannel||mL(),this.store.destroy()},getProps(){return $t(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=CO()?t.metaKey:t.ctrlKey,r=t.altKey,i=t.shiftKey,n=t.key,o=this.keyBuffer;if(!(cs(t.target)&&t.target.closest("[data-el-outputs-container]"))){if(e&&i&&!r&&n==="Enter"){po(t),this.queueFullCellsEvaluation(!0);return}else if(!e&&i&&!r&&n==="Enter"){po(t),Ol(this.focusedCellType())&&this.queueFocusedCellEvaluation(),this.moveFocus(1);return}else if(e&&!r&&n==="Enter"){po(t),Ol(this.focusedCellType())&&this.queueFocusedCellEvaluation();return}else if(e&&n==="s"){po(t),this.saveNotebook();return}else if(e||r)return}this.insertMode?(o.reset(),!t.target.closest("[data-el-editor-container]")&&n==="Escape"&&this.escapeInsertMode()):cs(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"])?Ol(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"?(po(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]"),r=e?e.dataset.focusableId:null,i=this.editableElementClicked(t,e);r!==this.focusedId&&this.setFocusedEl(r,{scroll:!1,focusElement:!1}),!t.target.closest("[data-el-actions]")&&this.insertMode!==i&&this.setInsertMode(i)},editableElementClicked(t,e){if(e){let r=t.target.closest("[data-el-editor-container], [data-el-heading]");return r&&e.contains(r)}return!1},handleDocumentFocus(t){let e=t.target.closest&&t.target.closest("[data-focusable-id]");if(e){let r=e.dataset.focusableId;r!==this.focusedId&&this.setFocusedEl(r,{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 i=e.getAttribute("data-cell-id"),n=e.hasAttribute("data-disable-dependencies-cache");this.queueCellEvaluation(i,n)}let r=window.location.hash;if(r){let i=r.replace(/^#/,"");!document.getElementById(i).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 r=e.getAttribute("data-section-id");this.getSectionById(r).scrollIntoView({behavior:"smooth",block:"start"})}},handleClientsListClick(t){let e=t.target.closest("[data-el-clients-list-item]");if(e){let r=e.getAttribute("data-client-id");t.target.closest("[data-el-client-link]")&&this.handleClientLinkClick(r),t.target.closest("[data-el-client-follow-toggle]")&&this.handleClientFollowToggleClick(r,e)}},handleClientLinkClick(t){this.mirrorClientFocus(t)},handleClientFollowToggleClick(t,e){let r=this.el.querySelector("[data-el-clients-list-item][data-js-followed]");r&&r.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 r=e.getAttribute("data-target");this.setFocusedEl(r)}},initializeFocus(){let t=window.location.hash;if(t){let e=t.replace(/^#/,""),r=document.getElementById(e);if(r){let i=r.closest("[data-focusable-id]");i?this.setFocusedEl(i.dataset.focusableId):r.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(r=>{let{top:i}=r.getBoundingClientRect(),n=document.documentElement.scrollTop;return i<=n+window.innerHeight*.35});if(e){let r=e.getAttribute("data-section-id");this.el.querySelector(`[data-el-sections-list-item][data-section-id="${r}"]`).setAttribute("data-js-is-viewed","")}},initializeDragAndDrop(){let t=!1,e=null,r=null,i=(o=null)=>{if(!t){t=!0,e=o;let a=o?"internal":"external";this.el.setAttribute("data-js-dragging",a),a==="external"&&this.toggleFilesList(!0)}},n=()=>{t&&(t=!1,this.el.removeAttribute("data-js-dragging"))};this.el.addEventListener("dragstart",o=>{i(o.target)}),this.el.addEventListener("dragenter",o=>{i()}),this.el.addEventListener("dragleave",o=>{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 a=o.target.closest("[data-el-insert-drop-area]"),s=o.target.closest("[data-el-files-drop-area]");if(a){let l=a.getAttribute("data-section-id")||null,c=a.getAttribute("data-cell-id")||null;if(o.dataTransfer.files.length>0)r=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 s&&o.dataTransfer.files.length>0&&(r=o.dataTransfer.files,this.pushEvent("handle_file_drop",{}));n()}),this.handleEvent("finish_file_drop",o=>{let a=document.querySelector('#add-file-entry-modal input[type="file"]');a&&(a.files=r,a.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){Ol(this.focusedCellType())?_r.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 r=this.getSectionIds();r.length>0&&this.pushEvent("insert_cell_below",{type:e,section_id:r[0]})}},setFocusedEl(t,{scroll:e=!0,focusElement:r=!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 i=this.getFocusableEl(t);r&&(i.querySelector("[data-el-cell-body]")||i.querySelector("[data-el-heading]")||i).focus({preventScroll:!0})}_r.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"),_r.broadcast("navigation",{type:"insert_mode_changed",enabled:t})},handleViewsClick(t){let e=t.target.closest("[data-el-view-toggle]");if(e){let r=e.getAttribute("data-el-view-toggle");this.toggleView(r)}},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=er.getAndSubscribe(r=>{this.setView(t,{showSection:r.custom_view_show_section,showMarkdown:r.custom_view_show_markdown,showOutput:r.custom_view_show_output,spotlight:r.custom_view_spotlight})}),this.pushEvent("open_custom_view_settings"));let e=this.focusedId||this.nearbyFocusableId(null,0);if(e){let r=this.ensureVisibleFocusableEl(e);r!==this.focused&&this.setFocusedEl(r,{scroll:!1}),r&&this.getFocusableEl(r).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),vX(this.focusedCellType())&&this.setInsertMode(!0)},handleCellDeleted(t,e){if(this.focusedId===t)if(this.view){let r=this.ensureVisibleFocusableEl(e);this.setFocusedEl(r)}else this.setFocusedEl(e)},handleCellRestored(t){this.setFocusedEl(t)},handleCellMoved(t){this.repositionJSViews(),this.focusedId===t&&_r.broadcast("cells",{type:"cell_moved",cellId:t})},handleSectionInserted(t){let r=this.getSectionById(t).querySelector("[data-el-section-headline]"),{focusableId:i}=r.dataset;this.setFocusedEl(i),this.setInsertMode(!0),iX(document.activeElement)},handleSectionDeleted(t){this.focusedId&&!this.getFocusableEl(this.focusedId)&&this.setFocusedEl(null)},handleSectionMoved(t){this.repositionJSViews();let e=this.getSectionById(t);pl(e)},handleClientJoined(t){let e=this.store.get("clients");this.store.set("clients",Be(oe({},e),{[t.id]:t}))},handleClientLeft(t){let e=this.store.get("clients"),r=e[t];if(r){let[,i]=$O(e,t);this.store.set("clients",i),r.id===this.followedClientId&&(this.followedClientId=null)}},handleClientsUpdated(t){let e=this.store.get("clients"),r=oe({},e);for(let i of t)r[i.id]=i;this.store.set("clients",r)},handleSecretSelected(t,e){_r.broadcast(`js_views:${t}`,{type:"secretSelected",secretName:e})},handleLocationReport(t,e){let r=this.store.get("clients")[t];this.lastLocationReportByClientId[t]=e,r&&r.id===this.followedClientId&&e.focusableId!==this.focusedId&&this.setFocusedEl(e.focusableId)},repositionJSViews(){_r.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 r=this.getFocusableIds();if(r.length===0)return null;let i=r.indexOf(t);if(i===-1){let n=this.getFocusableEls().find(Tx);return n?n.getAttribute("data-focusable-id"):r[0]}else{let n=tX(i+e,0,r.length-1);return r[n]}},ensureVisibleFocusableEl(t){let e=this.getFocusableEl(t),r=Array.from(this.el.querySelectorAll("[data-focusable-id]")),i=r.indexOf(e),n=[...r.slice(i,-1),...r.slice(0,i).reverse()].find(o=>!ls(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=>!ls(t))},getFocusableIds(){return this.getFocusableEls().map(t=>t.getAttribute("data-focusable-id"))},getSectionIdByFocusableId(t){let r=this.getFocusableEl(t).closest("[data-el-section]");return r&&r.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}]`)}},kL=Vle;var Fle={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`}},SL=Fle;var Zle=100,Yle={mounted(){this.props=this.getProps(),this.interval=setInterval(()=>this.updateDOM(),Zle)},updated(){this.props=this.getProps(),this.updateDOM()},destroyed(){clearInterval(this.interval)},getProps(){return $t(this.el,["start"])},updateDOM(){let e=(Date.now()-new Date(this.props.start))/1e3;this.el.innerHTML=`${e.toFixed(1)}s`}},TL=Yle;var EL="lb:user_data";function CL(t){let e=JSON.stringify(t),r=oX(e);Gle(EL,r,15768e4)}function PL(){let t=Hle(EL);if(t){let e=aX(t);return JSON.parse(e)}else return null}function Hle(t){let e=document.cookie.split("; ").find(r=>r.startsWith(`${t}=`));return e?e.replace(`${t}=`,""):null}function Gle(t,e,r){let i=`${t}=${e};max-age=${r};path=/${QO()}`;document.cookie=i}var Kle={mounted(){this.el.addEventListener("submit",t=>{let e=this.el.user_form_name.value,r=this.el.user_form_hex_color.value;CL({name:e,hex_color:r})})}},_L=Kle;var Jle={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 $t(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"),r=e.getFullYear().toString(),i=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),a=e.getMinutes().toString().padStart(2,"0"),s=e.getSeconds().toString().padStart(2,"0");return`${r}-${i}-${n}T${o}:${a}:${s}`},datetimeLocalToUtc(t){if(!t)return null;let e=new Date(t),r=e.getUTCFullYear().toString(),i=(e.getUTCMonth()+1).toString().padStart(2,"0"),n=e.getUTCDate().toString().padStart(2,"0"),o=e.getUTCHours().toString().padStart(2,"0"),a=e.getUTCMinutes().toString().padStart(2,"0"),s=e.getUTCSeconds().toString().padStart(2,"0");return`${r}-${i}-${n}T${o}:${a}:${s}`}},AL=Jle;var ece={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 $t(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 r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),n=e.getSeconds().toString().padStart(2,"0");return`${r}:${i}:${n}`},timeLocalToUtc(t){if(!t)return null;let e=new Date;e.setHours(...t.split(":"));let r=e.getUTCHours().toString().padStart(2,"0"),i=e.getUTCMinutes().toString().padStart(2,"0"),n=e.getUTCSeconds().toString().padStart(2,"0");return`${r}:${i}:${n}`}},QL=ece;var RL=Al(XL());var tce={mounted(){this.props=this.getProps(),this.lineHeight=rX(this.el),this.templateEl=ia(this.el,"[data-template]"),this.contentEl=ia(this.el,"[data-content]"),this.capLines();let t=this.hyperListConfig();this.virtualizedList=new RL.default(this.contentEl,t),this.props.follow&&_h(this.contentEl)},updated(){this.props=this.getProps(),this.capLines();let t=this.props.follow&&nX(this.contentEl),e=this.hyperListConfig();this.virtualizedList.refresh(this.contentEl,e),t&&_h(this.contentEl)},getProps(){return $t(this.el,["max-height","follow","max-lines","ignore-trailing-empty-line"])},hyperListConfig(){let t=this.getLineElements(),e=t.length,r=Math.min(this.props.maxHeight,this.lineHeight*e);return{height:r,total:e,itemHeight:this.lineHeight,generate:i=>{let n=t[i].cloneNode(!0);return n.removeAttribute("id"),n},afterRender:()=>{this.contentEl.scrollWidth>this.contentEl.clientWidth?this.contentEl.style.height=`${r+12}px`:this.contentEl.style.height=`${r}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),[r,...i]=e;i.forEach(n=>n.remove()),r&&(r.innerHTML="...")}}},IL=tce;var rce={mounted(){let t=er.get(),e=this.el.querySelector('[name="show_section"][value="true"]'),r=this.el.querySelector('[name="show_markdown"][value="true"]'),i=this.el.querySelector('[name="show_output"][value="true"]'),n=this.el.querySelector('[name="spotlight"][value="true"]');e.checked=t.custom_view_show_section,r.checked=t.custom_view_show_markdown,i.checked=t.custom_view_show_output,n.checked=t.custom_view_spotlight,e.addEventListener("change",o=>{er.update({custom_view_show_section:o.target.checked})}),r.addEventListener("change",o=>{er.update({custom_view_show_markdown:o.target.checked})}),i.addEventListener("change",o=>{er.update({custom_view_show_output:o.target.checked})}),n.addEventListener("change",o=>{er.update({custom_view_spotlight:o.target.checked})})}},LL=rce;var ML={AppAuth:Wk,AudioInput:Yk,Cell:xX,CellEditor:vI,Dropzone:xI,EditorSettings:wI,EmojiPicker:sL,FocusOnUpdate:lL,Headline:uL,Highlight:fL,ImageInput:hL,ImageOutput:dL,JSView:yL,KeyboardControl:vL,MarkdownRenderer:xL,ScrollOnUpdate:wL,Session:kL,TextareaAutosize:SL,Timer:TL,UserForm:_L,UtcDateTimeInput:AL,UtcTimeInput:QL,VirtualizedLines:IL,CustomViewSettings:LL};var zL={onBeforeElUpdated(t,e){for(let r of t.attributes)r.name.startsWith("data-js-")&&e.setAttribute(r.name,r.value),r.name==="data-keep-attribute"&&(t.hasAttribute(r.value)?e.setAttribute(r.value,t.getAttribute(r.value)):e.removeAttribute(r.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 Bg=Al(NL());function UL(){Bg.default.config({barColors:{0:"#b2c1ff"},shadowColor:"rgba(0, 0, 0, .3)"}),window.addEventListener("phx:page-loading-start",()=>{Bg.default.show(500)}),window.addEventListener("phx:page-loading-stop",()=>{Bg.default.hide()})}function qL(){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=>{eX(t.target).then(()=>{IO(t.target,{scrollMode:"if-needed",behavior:"smooth",block:"nearest",inline:"nearest"})})}),window.addEventListener("phx:lb:exec_js",t=>{let e=t.detail.to||"body";document.querySelectorAll(e).forEach(r=>{window.liveSocket.execJS(r,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']"),r=document.querySelector("#edit-sessions [name='close_all']");e.parentElement.classList.toggle("pointer-events-none",!t),e.parentElement.classList.toggle("opacity-50",!t),r.parentElement.classList.toggle("pointer-events-none",!t),r.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 BL(){let t=/AppleWebKit/.test(navigator.userAgent),e="ontouchstart"in window||navigator.maxTouchPoints>0;if(t&&e){let r=document.querySelector("meta[name='viewport']");r&&(r.content+=", maximum-scale=1.0")}}var Ew="confirm-opted-out-ids";function jL(){return ks(Ew)||[]}function WL(){window.addEventListener("phx:add_confirm_opt_out_id",t=>{let e=ks(Ew)||[],r=t.detail.opt_out_id;e.push(r),zl(Ew,e)})}function ice(){let t=document.querySelector("meta[name='csrf-token']").getAttribute("content"),e=new Nk(window.LIVEBOOK_BASE_URL_PATH+"/live",Ed,{params:r=>({_csrf_token:t,user_data:PL(),app_auth_token:jk(),confirm_opt_out_ids:jL()}),hooks:ML,dom:zL});UL(),qL(),WL(),BL(),er.getAndSubscribe(r=>{document.body.setAttribute("data-editor-theme",r.editor_theme)}),e.connect(),window.liveSocket=e}if(nce())ice();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 nce(){return document.cookie=`lb:probe_cookie=;path=/${QO()}`,document.cookie.split("; ").some(t=>t.startsWith("lb:probe_cookie="))}
/*! Bundled license information:
topbar/topbar.min.js:
(**
* @license MIT
* topbar 2.0.2
* http://buunguyen.github.io/topbar
* Copyright (c) 2024 Buu Nguyen
*)
*/