livebook/static/assets/app.js
2024-09-05 16:26:04 +00:00

340 lines
1.6 MiB
Raw Permalink 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 wg}from"./chunk-GJ6CDUB5.js";import{a as _a}from"./chunk-BZUL2CAN.js";import{a as H,b as Pe,c as ps,d as H2,e as pi,f as bo,g as sc,h as Ca,i as xt}from"./chunk-3NXJ7VWC.js";var nT=bo((dae,rT)=>{"use strict";var Ih=Object.prototype.hasOwnProperty,iT=Object.prototype.toString,HS=Object.defineProperty,GS=Object.getOwnPropertyDescriptor,KS=function(e){return typeof Array.isArray=="function"?Array.isArray(e):iT.call(e)==="[object Array]"},JS=function(e){if(!e||iT.call(e)!=="[object Object]")return!1;var i=Ih.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&Ih.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!r)return!1;var n;for(n in e);return typeof n=="undefined"||Ih.call(e,n)},eT=function(e,i){HS&&i.name==="__proto__"?HS(e,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):e[i.name]=i.newValue},tT=function(e,i){if(i==="__proto__")if(Ih.call(e,i)){if(GS)return GS(e,i).value}else return;return e[i]};rT.exports=function t(){var e,i,r,n,o,s,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<c;++l)if(e=arguments[l],e!=null)for(i in e)r=tT(a,i),n=tT(e,i),a!==n&&(u&&n&&(JS(n)||(o=KS(n)))?(o?(o=!1,s=r&&KS(r)?r:[]):s=r&&JS(r)?r:{},eT(a,{name:i,newValue:t(u,s,n)})):typeof n!="undefined"&&eT(a,{name:i,newValue:n}));return a}});var BX=bo(()=>{});var Wp=bo((jp,YX)=>{(function(t,e){typeof jp=="object"?YX.exports=jp=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(jp,function(){var t=t||function(e,i){var r;if(typeof window!="undefined"&&window.crypto&&(r=window.crypto),typeof self!="undefined"&&self.crypto&&(r=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window!="undefined"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof global!="undefined"&&global.crypto&&(r=global.crypto),!r&&typeof ps=="function")try{r=BX()}catch(w){}var n=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch(w){}if(typeof r.randomBytes=="function")try{return r.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(T){var A;return w.prototype=T,A=new w,w.prototype=null,A}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(w){var T=o(this);return w&&T.mixIn(w),(!T.hasOwnProperty("init")||this.init===T.init)&&(T.init=function(){T.$super.init.apply(this,arguments)}),T.init.prototype=T,T.$super=this,T},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var T in w)w.hasOwnProperty(T)&&(this[T]=w[T]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(w,T){w=this.words=w||[],T!=i?this.sigBytes=T:this.sigBytes=w.length*4},toString:function(w){return(w||f).stringify(this)},concat:function(w){var T=this.words,A=w.words,I=this.sigBytes,C=w.sigBytes;if(this.clamp(),I%4)for(var $=0;$<C;$++){var j=A[$>>>2]>>>24-$%4*8&255;T[I+$>>>2]|=j<<24-(I+$)%4*8}else for(var le=0;le<C;le+=4)T[I+le>>>2]=A[le>>>2];return this.sigBytes+=C,this},clamp:function(){var w=this.words,T=this.sigBytes;w[T>>>2]&=4294967295<<32-T%4*8,w.length=e.ceil(T/4)},clone:function(){var w=l.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var T=[],A=0;A<w;A+=4)T.push(n());return new c.init(T,w)}}),u=s.enc={},f=u.Hex={stringify:function(w){for(var T=w.words,A=w.sigBytes,I=[],C=0;C<A;C++){var $=T[C>>>2]>>>24-C%4*8&255;I.push(($>>>4).toString(16)),I.push(($&15).toString(16))}return I.join("")},parse:function(w){for(var T=w.length,A=[],I=0;I<T;I+=2)A[I>>>3]|=parseInt(w.substr(I,2),16)<<24-I%8*4;return new c.init(A,T/2)}},d=u.Latin1={stringify:function(w){for(var T=w.words,A=w.sigBytes,I=[],C=0;C<A;C++){var $=T[C>>>2]>>>24-C%4*8&255;I.push(String.fromCharCode($))}return I.join("")},parse:function(w){for(var T=w.length,A=[],I=0;I<T;I++)A[I>>>2]|=(w.charCodeAt(I)&255)<<24-I%4*8;return new c.init(A,T)}},O=u.Utf8={stringify:function(w){try{return decodeURIComponent(escape(d.stringify(w)))}catch(T){throw new Error("Malformed UTF-8 data")}},parse:function(w){return d.parse(unescape(encodeURIComponent(w)))}},g=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=O.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var T,A=this._data,I=A.words,C=A.sigBytes,$=this.blockSize,j=$*4,le=C/j;w?le=e.ceil(le):le=e.max((le|0)-this._minBufferSize,0);var F=le*$,N=e.min(F*4,C);if(F){for(var ie=0;ie<F;ie+=$)this._doProcessBlock(I,ie);T=I.splice(0,F),A.sigBytes-=N}return new c.init(T,N)},clone:function(){var w=l.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0}),x=a.Hasher=g.extend({cfg:l.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this},finalize:function(w){w&&this._append(w);var T=this._doFinalize();return T},blockSize:512/32,_createHelper:function(w){return function(T,A){return new w.init(A).finalize(T)}},_createHmacHelper:function(w){return function(T,A){return new S.HMAC.init(w,A).finalize(T)}}}),S=s.algo={};return s}(Math);return t})});var HX=bo((Vp,FX)=>{(function(t,e){typeof Vp=="object"?FX.exports=Vp=e(Wp()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Vp,function(t){return function(e){var i=t,r=i.lib,n=r.WordArray,o=r.Hasher,s=i.algo,a=[];(function(){for(var O=0;O<64;O++)a[O]=e.abs(e.sin(O+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(O,g){for(var x=0;x<16;x++){var S=g+x,w=O[S];O[S]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var T=this._hash.words,A=O[g+0],I=O[g+1],C=O[g+2],$=O[g+3],j=O[g+4],le=O[g+5],F=O[g+6],N=O[g+7],ie=O[g+8],ue=O[g+9],re=O[g+10],de=O[g+11],me=O[g+12],we=O[g+13],q=O[g+14],ae=O[g+15],B=T[0],P=T[1],V=T[2],ne=T[3];B=c(B,P,V,ne,A,7,a[0]),ne=c(ne,B,P,V,I,12,a[1]),V=c(V,ne,B,P,C,17,a[2]),P=c(P,V,ne,B,$,22,a[3]),B=c(B,P,V,ne,j,7,a[4]),ne=c(ne,B,P,V,le,12,a[5]),V=c(V,ne,B,P,F,17,a[6]),P=c(P,V,ne,B,N,22,a[7]),B=c(B,P,V,ne,ie,7,a[8]),ne=c(ne,B,P,V,ue,12,a[9]),V=c(V,ne,B,P,re,17,a[10]),P=c(P,V,ne,B,de,22,a[11]),B=c(B,P,V,ne,me,7,a[12]),ne=c(ne,B,P,V,we,12,a[13]),V=c(V,ne,B,P,q,17,a[14]),P=c(P,V,ne,B,ae,22,a[15]),B=u(B,P,V,ne,I,5,a[16]),ne=u(ne,B,P,V,F,9,a[17]),V=u(V,ne,B,P,de,14,a[18]),P=u(P,V,ne,B,A,20,a[19]),B=u(B,P,V,ne,le,5,a[20]),ne=u(ne,B,P,V,re,9,a[21]),V=u(V,ne,B,P,ae,14,a[22]),P=u(P,V,ne,B,j,20,a[23]),B=u(B,P,V,ne,ue,5,a[24]),ne=u(ne,B,P,V,q,9,a[25]),V=u(V,ne,B,P,$,14,a[26]),P=u(P,V,ne,B,ie,20,a[27]),B=u(B,P,V,ne,we,5,a[28]),ne=u(ne,B,P,V,C,9,a[29]),V=u(V,ne,B,P,N,14,a[30]),P=u(P,V,ne,B,me,20,a[31]),B=f(B,P,V,ne,le,4,a[32]),ne=f(ne,B,P,V,ie,11,a[33]),V=f(V,ne,B,P,de,16,a[34]),P=f(P,V,ne,B,q,23,a[35]),B=f(B,P,V,ne,I,4,a[36]),ne=f(ne,B,P,V,j,11,a[37]),V=f(V,ne,B,P,N,16,a[38]),P=f(P,V,ne,B,re,23,a[39]),B=f(B,P,V,ne,we,4,a[40]),ne=f(ne,B,P,V,A,11,a[41]),V=f(V,ne,B,P,$,16,a[42]),P=f(P,V,ne,B,F,23,a[43]),B=f(B,P,V,ne,ue,4,a[44]),ne=f(ne,B,P,V,me,11,a[45]),V=f(V,ne,B,P,ae,16,a[46]),P=f(P,V,ne,B,C,23,a[47]),B=d(B,P,V,ne,A,6,a[48]),ne=d(ne,B,P,V,N,10,a[49]),V=d(V,ne,B,P,q,15,a[50]),P=d(P,V,ne,B,le,21,a[51]),B=d(B,P,V,ne,me,6,a[52]),ne=d(ne,B,P,V,$,10,a[53]),V=d(V,ne,B,P,re,15,a[54]),P=d(P,V,ne,B,I,21,a[55]),B=d(B,P,V,ne,ie,6,a[56]),ne=d(ne,B,P,V,ae,10,a[57]),V=d(V,ne,B,P,F,15,a[58]),P=d(P,V,ne,B,we,21,a[59]),B=d(B,P,V,ne,j,6,a[60]),ne=d(ne,B,P,V,de,10,a[61]),V=d(V,ne,B,P,C,15,a[62]),P=d(P,V,ne,B,ue,21,a[63]),T[0]=T[0]+B|0,T[1]=T[1]+P|0,T[2]=T[2]+V|0,T[3]=T[3]+ne|0},_doFinalize:function(){var O=this._data,g=O.words,x=this._nDataBytes*8,S=O.sigBytes*8;g[S>>>5]|=128<<24-S%32;var w=e.floor(x/4294967296),T=x;g[(S+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g[(S+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,O.sigBytes=(g.length+1)*4,this._process();for(var A=this._hash,I=A.words,C=0;C<4;C++){var $=I[C];I[C]=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360}return A},clone:function(){var O=o.clone.call(this);return O._hash=this._hash.clone(),O}});function c(O,g,x,S,w,T,A){var I=O+(g&x|~g&S)+w+A;return(I<<T|I>>>32-T)+g}function u(O,g,x,S,w,T,A){var I=O+(g&S|x&~S)+w+A;return(I<<T|I>>>32-T)+g}function f(O,g,x,S,w,T,A){var I=O+(g^x^S)+w+A;return(I<<T|I>>>32-T)+g}function d(O,g,x,S,w,T,A){var I=O+(x^(g|~S))+w+A;return(I<<T|I>>>32-T)+g}i.MD5=o._createHelper(l),i.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var KX=bo((Zp,GX)=>{(function(t,e){typeof Zp=="object"?GX.exports=Zp=e(Wp()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Zp,function(t){return function(e){var i=t,r=i.lib,n=r.WordArray,o=r.Hasher,s=i.algo,a=[],l=[];(function(){function f(x){for(var S=e.sqrt(x),w=2;w<=S;w++)if(!(x%w))return!1;return!0}function d(x){return(x-(x|0))*4294967296|0}for(var O=2,g=0;g<64;)f(O)&&(g<8&&(a[g]=d(e.pow(O,1/2))),l[g]=d(e.pow(O,1/3)),g++),O++})();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(f,d){for(var O=this._hash.words,g=O[0],x=O[1],S=O[2],w=O[3],T=O[4],A=O[5],I=O[6],C=O[7],$=0;$<64;$++){if($<16)c[$]=f[d+$]|0;else{var j=c[$-15],le=(j<<25|j>>>7)^(j<<14|j>>>18)^j>>>3,F=c[$-2],N=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;c[$]=le+c[$-7]+N+c[$-16]}var ie=T&A^~T&I,ue=g&x^g&S^x&S,re=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),de=(T<<26|T>>>6)^(T<<21|T>>>11)^(T<<7|T>>>25),me=C+de+ie+l[$]+c[$],we=re+ue;C=I,I=A,A=T,T=w+me|0,w=S,S=x,x=g,g=me+we|0}O[0]=O[0]+g|0,O[1]=O[1]+x|0,O[2]=O[2]+S|0,O[3]=O[3]+w|0,O[4]=O[4]+T|0,O[5]=O[5]+A|0,O[6]=O[6]+I|0,O[7]=O[7]+C|0},_doFinalize:function(){var f=this._data,d=f.words,O=this._nDataBytes*8,g=f.sigBytes*8;return d[g>>>5]|=128<<24-g%32,d[(g+64>>>9<<4)+14]=e.floor(O/4294967296),d[(g+64>>>9<<4)+15]=O,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});i.SHA256=o._createHelper(u),i.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var eR=bo((Bp,JX)=>{(function(t,e){typeof Bp=="object"?JX.exports=Bp=e(Wp()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Bp,function(t){return function(){var e=t,i=e.lib,r=i.WordArray,n=e.enc,o=n.Base64={stringify:function(a){var l=a.words,c=a.sigBytes,u=this._map;a.clamp();for(var f=[],d=0;d<c;d+=3)for(var O=l[d>>>2]>>>24-d%4*8&255,g=l[d+1>>>2]>>>24-(d+1)%4*8&255,x=l[d+2>>>2]>>>24-(d+2)%4*8&255,S=O<<16|g<<8|x,w=0;w<4&&d+w*.75<c;w++)f.push(u.charAt(S>>>6*(3-w)&63));var T=u.charAt(64);if(T)for(;f.length%4;)f.push(T);return f.join("")},parse:function(a){var l=a.length,c=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var f=0;f<c.length;f++)u[c.charCodeAt(f)]=f}var d=c.charAt(64);if(d){var O=a.indexOf(d);O!==-1&&(l=O)}return s(a,l,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(a,l,c){for(var u=[],f=0,d=0;d<l;d++)if(d%4){var O=c[a.charCodeAt(d-1)]<<d%4*2,g=c[a.charCodeAt(d)]>>>6-d%4*2,x=O|g;u[f>>>2]|=x<<24-f%4*8,f++}return r.create(u,f)}}(),t.enc.Base64})});var UI=bo((DI,x2)=>{(function(t){if(typeof DI=="object"&&typeof x2!="undefined")x2.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.HyperList=t()}})(function(){var t,e,i;return function(){function r(n,o,s){function a(u,f){if(!o[u]){if(!n[u]){var d=typeof ps=="function"&&ps;if(!f&&d)return d(u,!0);if(l)return l(u,!0);var O=new Error("Cannot find module '"+u+"'");throw O.code="MODULE_NOT_FOUND",O}var g=o[u]={exports:{}};n[u][0].call(g.exports,function(x){var S=n[u][1][x];return a(S||x)},g,g.exports,r,n,o,s)}return o[u].exports}for(var l=typeof ps=="function"&&ps,c=0;c<s.length;c++)a(s[c]);return a}return r}()({1:[function(r,n,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=function(){function O(g,x){for(var S=0;S<x.length;S++){var w=x[S];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(g,w.key,w)}}return function(g,x,S){return x&&O(g.prototype,x),S&&O(g,S),g}}();function a(O,g,x){return g in O?Object.defineProperty(O,g,{value:x,enumerable:!0,configurable:!0,writable:!0}):O[g]=x,O}function l(O,g){if(!(O instanceof g))throw new TypeError("Cannot call a class as a function")}var c={width:"100%",height:"100%"},u=function(g){return Number(g)===Number(g)},f="classList"in document.documentElement?function(O,g){O.classList.add(g)}:function(O,g){var x=O.getAttribute("class")||"";O.setAttribute("class",x+" "+g)},d=function(){s(O,null,[{key:"create",value:function(x,S){return new O(x,S)}},{key:"mergeStyle",value:function(x,S){for(var w in S)x.style[w]!==S[w]&&(x.style[w]=S[w])}},{key:"getMaxBrowserHeight",value:function(){var x=document.createElement("div"),S=document.createElement("div");O.mergeStyle(x,{position:"absolute",height:"1px",opacity:0}),O.mergeStyle(S,{height:"1e7px"}),x.appendChild(S),document.body.appendChild(x);var w=S.offsetHeight;return document.body.removeChild(x),w}}]);function O(g,x){var S=this;l(this,O),this._config={},this._lastRepaint=null,this._maxElementHeight=O.getMaxBrowserHeight(),this.refresh(g,x);var w=this._config,T=function A(){var I=S._getScrollPosition(),C=S._lastRepaint;if(S._renderAnimationFrame=window.requestAnimationFrame(A),I!==C){var $=C?I-C:0;if(!C||$<0||$>S._averageHeight){var j=S._renderChunk();S._lastRepaint=I,j!==!1&&typeof w.afterRender=="function"&&w.afterRender()}}};T()}return s(O,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(x,S){var w;if(Object.assign(this._config,c,S),!x||x.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=x;var T=this._config,A=this._scroller||T.scroller||document.createElement(T.scrollerTagName||"tr");if(typeof T.useFragment!="boolean"&&(this._config.useFragment=!0),!T.generate)throw new Error("Missing required `generate` function");if(!u(T.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(T.itemHeight)&&!u(T.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());u(T.itemHeight)?this._itemHeights=Array(T.total).fill(T.itemHeight):this._itemHeights=T.itemHeight,Object.keys(c).filter(function(we){return we in T}).forEach(function(we){var q=T[we],ae=u(q);if(q&&typeof q!="string"&&typeof q!="number"){var B="Invalid optional `"+we+"`, expected string or number";throw new Error(B)}else ae&&(T[we]=q+"px")});var I=!!T.horizontal,C=T[I?"width":"height"];if(C){var $=u(C),j=$?!1:C.slice(-1)==="%",le=$?C:parseInt(C.replace(/px|%/,""),10),F=window[I?"innerWidth":"innerHeight"];j?this._containerSize=F*le/100:this._containerSize=u(C)?C:le}var N=T.scrollContainer,ie=T.itemHeight*T.total,ue=this._maxElementHeight;ie>ue&&console.warn(["HyperList: The maximum element height",ue+"px has","been exceeded; please reduce your item height."].join(" "));var re={width:""+T.width,height:N?ie+"px":""+T.height,overflow:N?"none":"auto",position:"relative"};O.mergeStyle(x,re),N&&O.mergeStyle(T.scrollContainer,{overflow:"auto"});var de=(w={opacity:"0",position:"absolute"},a(w,I?"height":"width","1px"),a(w,I?"width":"height",ie+"px"),w);O.mergeStyle(A,de),this._scroller||x.appendChild(A);var me=this._computeScrollPadding();this._scrollPaddingBottom=me.bottom,this._scrollPaddingTop=me.top,this._scroller=A,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(T.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof T.afterRender=="function"&&T.afterRender()}},{key:"_getRow",value:function(x){var S=this._config,w=S.generate(x),T=w.height;if(T!==void 0&&u(T)?(w=w.element,T!==this._itemHeights[x]&&(this._itemHeights[x]=T,this._computePositions(x),this._scrollHeight=this._computeScrollHeight(x))):T=this._itemHeights[x],!w||w.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+x);f(w,S.rowClassName||"vrow");var A=this._itemPositions[x]+this._scrollPaddingTop;return O.mergeStyle(w,a({position:"absolute"},S.horizontal?"left":"top",A+"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 S=this._config,w=this._element,T=this._getScrollPosition(),A=S.total,I=S.reverse?this._getReverseFrom(T):this._getFrom(T)-1;if((I<0||I-this._screenItemsLen<0)&&(I=0),!x&&this._lastFrom===I)return!1;this._lastFrom=I;var C=I+this._cachedItemsLen;(C>A||C+this._cachedItemsLen>A)&&(C=A);var $=S.useFragment?document.createDocumentFragment():[],j=this._scroller;$[S.useFragment?"appendChild":"push"](j);for(var le=I;le<C;le++){var F=this._getRow(le);$[S.useFragment?"appendChild":"push"](F)}if(S.applyPatch)return S.applyPatch(w,$);w.innerHTML="",w.appendChild($)}},{key:"_computePositions",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,S=this._config,w=S.total,T=S.reverse;x<1&&!T&&(x=1);for(var A=x;A<w;A++)T?A===0?this._itemPositions[0]=this._scrollHeight-this._itemHeights[0]:this._itemPositions[A]=this._itemPositions[A-1]-this._itemHeights[A]:this._itemPositions[A]=this._itemHeights[A-1]+this._itemPositions[A-1]}},{key:"_computeScrollHeight",value:function(){var x,S=this,w=this._config,T=!!w.horizontal,A=w.total,I=this._itemHeights.reduce(function(ie,ue){return ie+ue},0)+this._scrollPaddingBottom+this._scrollPaddingTop;O.mergeStyle(this._scroller,(x={opacity:0,position:"absolute",top:"0px"},a(x,T?"height":"width","1px"),a(x,T?"width":"height",I+"px"),x));var C=this._itemHeights.slice(0).sort(function(ie,ue){return ie-ue}),$=Math.floor(A/2),j=A%2===0?(C[$]+C[$-1])/2:C[$],le=T?"clientWidth":"clientHeight",F=w.scrollContainer?w.scrollContainer:this._element,N=F[le]?F[le]:this._containerSize;return this._screenItemsLen=Math.ceil(N/j),this._containerSize=N,this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3),this._averageHeight=j,w.reverse&&window.requestAnimationFrame(function(){T?S._element.scrollLeft=I:S._element.scrollTop=I}),I}},{key:"_computeScrollPadding",value:function(){var x=this._config,S=!!x.horizontal,w=x.reverse,T=window.getComputedStyle(this._element),A=function(C){var $=T.getPropertyValue("padding-"+C);return parseInt($,10)||0};return S&&w?{bottom:A("left"),top:A("right")}:S?{bottom:A("right"),top:A("left")}:w?{bottom:A("top"),top:A("bottom")}:{bottom:A("bottom"),top:A("top")}}},{key:"_getFrom",value:function(x){for(var S=0;this._itemPositions[S]<x;)S++;return S}},{key:"_getReverseFrom",value:function(x){for(var S=this._config.total-1;S>0&&this._itemPositions[S]<x+this._containerSize;)S--;return S}}]),O}();o.default=d,n.exports=o.default},{}]},{},[1])(1)})});var ZI=bo((VI,ag)=>{(function(t,e){"use strict";function i(){r.width=t.innerWidth,r.height=5*c.barThickness;var f=r.getContext("2d");f.shadowBlur=c.shadowBlur,f.shadowColor=c.shadowColor;var d,O=f.createLinearGradient(0,0,r.width,0);for(d in c.barColors)O.addColorStop(d,c.barColors[d]);f.lineWidth=c.barThickness,f.beginPath(),f.moveTo(0,c.barThickness/2),f.lineTo(Math.ceil(n*r.width),c.barThickness/2),f.strokeStyle=O,f.stroke()}var r,n,o,s=null,a=null,l=null,c={autoRun:!0,barThickness:3,barColors:{0:"rgba(26, 188, 156, .9)",".25":"rgba(52, 152, 219, .9)",".50":"rgba(241, 196, 15, .9)",".75":"rgba(230, 126, 34, .9)","1.0":"rgba(211, 84, 0, .9)"},shadowBlur:10,shadowColor:"rgba(0, 0, 0, .6)",className:null},u={config:function(f){for(var d in f)c.hasOwnProperty(d)&&(c[d]=f[d])},show:function(f){var d,O;o||(f?l=l||setTimeout(()=>u.show(),f):(o=!0,a!==null&&t.cancelAnimationFrame(a),r||((O=(r=e.createElement("canvas")).style).position="fixed",O.top=O.left=O.right=O.margin=O.padding=0,O.zIndex=100001,O.display="none",c.className&&r.classList.add(c.className),d="resize",f=i,(O=t).addEventListener?O.addEventListener(d,f,!1):O.attachEvent?O.attachEvent("on"+d,f):O["on"+d]=f),r.parentElement||e.body.appendChild(r),r.style.opacity=1,r.style.display="block",u.progress(0),c.autoRun&&function g(){s=t.requestAnimationFrame(g),u.progress("+"+.05*Math.pow(1-Math.sqrt(n),2))}()))},progress:function(f){return f===void 0||(typeof f=="string"&&(f=(0<=f.indexOf("+")||0<=f.indexOf("-")?n:0)+parseFloat(f)),n=1<f?1:f,i()),n},hide:function(){clearTimeout(l),l=null,o&&(o=!1,s!=null&&(t.cancelAnimationFrame(s),s=null),function f(){return 1<=u.progress("+.1")&&(r.style.opacity-=.05,r.style.opacity<=.05)?(r.style.display="none",void(a=null)):void(a=t.requestAnimationFrame(f))}())}};typeof ag=="object"&&typeof ag.exports=="object"?ag.exports=u:typeof define=="function"&&define.amd?define(function(){return u}):this.topbar=u}).call(VI,window,document)});(function(){var t=e();function e(){if(typeof window.CustomEvent=="function")return window.CustomEvent;function n(o,s){s=s||{bubbles:!1,cancelable:!1,detail:void 0};var a=document.createEvent("CustomEvent");return a.initCustomEvent(o,s.bubbles,s.cancelable,s.detail),a}return n.prototype=window.Event.prototype,n}function i(n,o){var s=document.createElement("input");return s.type="hidden",s.name=n,s.value=o,s}function r(n,o){var s=n.getAttribute("data-to"),a=i("_method",n.getAttribute("data-method")),l=i("_csrf_token",n.getAttribute("data-csrf")),c=document.createElement("form"),u=document.createElement("input"),f=n.getAttribute("target");c.method=n.getAttribute("data-method")==="get"?"get":"post",c.action=s,c.style.display="none",f?c.target=f:o&&(c.target="_blank"),c.appendChild(l),c.appendChild(a),document.body.appendChild(c),u.type="submit",c.appendChild(u),u.click()}window.addEventListener("click",function(n){var o=n.target;if(!n.defaultPrevented)for(;o&&o.getAttribute;){var s=new t("phoenix.link.click",{bubbles:!0,cancelable:!0});if(!o.dispatchEvent(s))return n.preventDefault(),n.stopImmediatePropagation(),!1;if(o.getAttribute("data-method")&&o.getAttribute("data-to"))return r(o,n.metaKey||n.shiftKey),n.preventDefault(),!1;o=o.parentNode}},!1),window.addEventListener("phoenix.link.click",function(n){var o=n.target.getAttribute("data-confirm");o&&!window.confirm(o)&&n.preventDefault()},!1)})();var cc=t=>typeof t=="function"?t:function(){return t},L7=typeof self!="undefined"?self:null,lc=typeof window!="undefined"?window:null,ms=L7||lc||ms,I7="2.0.0",Gr={connecting:0,open:1,closing:2,closed:3},z7=1e4,D7=1e3,Fi={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Sn={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},kg={longpoll:"longpoll",websocket:"websocket"},U7={complete:4},yh=class{constructor(t,e,i,r){this.channel=t,this.event=e,this.payload=i||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(t){this.timeout=t,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:t,response:e,_ref:i}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,t=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=t,this.matchReceive(t)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}trigger(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}},G2=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))}},N7=class{constructor(t,e,i){this.state=Fi.closed,this.topic=t,this.params=cc(e||{}),this.socket=i,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new yh(this,Sn.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new G2(()=>{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=Fi.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Fi.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=Fi.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=Fi.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 yh(this,Sn.leave,cc({}),this.timeout).send(),this.state=Fi.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Sn.reply,(r,n)=>{this.trigger(this.replyEventName(n),r)})}join(t=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=t,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(t){this.on(Sn.close,t)}onError(t){return this.on(Sn.error,e=>t(e))}on(t,e){let i=this.bindingRef++;return this.bindings.push({event:t,ref:i,callback:e}),i}off(t,e){this.bindings=this.bindings.filter(i=>!(i.event===t&&(typeof e=="undefined"||e===i.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,i=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${t}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new yh(this,t,function(){return e},i);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Fi.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Sn.close,"leave")},i=new yh(this,Sn.leave,cc({}),t);return i.receive("ok",()=>e()).receive("timeout",()=>e()),i.send(),this.canPush()||i.trigger("ok",{}),i}onMessage(t,e,i){return e}isMember(t,e,i,r){return this.topic!==t?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:i,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Fi.joining,this.joinPush.resend(t))}trigger(t,e,i,r){let n=this.onMessage(t,e,i,r);if(e&&!n)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(s=>s.event===t);for(let s=0;s<o.length;s++)o[s].callback(n,i,r||this.joinRef())}replyEventName(t){return`chan_reply_${t}`}isClosed(){return this.state===Fi.closed}isErrored(){return this.state===Fi.errored}isJoined(){return this.state===Fi.joined}isJoining(){return this.state===Fi.joining}isLeaving(){return this.state===Fi.leaving}},vh=class{static request(t,e,i,r,n,o,s){if(ms.XDomainRequest){let a=new ms.XDomainRequest;return this.xdomainRequest(a,t,e,r,n,o,s)}else{let a=new ms.XMLHttpRequest;return this.xhrRequest(a,t,e,i,r,n,o,s)}}static xdomainRequest(t,e,i,r,n,o,s){return t.timeout=n,t.open(e,i),t.onload=()=>{let a=this.parseJSON(t.responseText);s&&s(a)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(r),t}static xhrRequest(t,e,i,r,n,o,s,a){return t.open(e,i,!0),t.timeout=o,t.setRequestHeader("Content-Type",r),t.onerror=()=>a&&a(null),t.onreadystatechange=()=>{if(t.readyState===U7.complete&&a){let l=this.parseJSON(t.responseText);a(l)}},s&&(t.ontimeout=s),t.send(n),t}static parseJSON(t){if(!t||t==="")return null;try{return JSON.parse(t)}catch(e){return console&&console.log("failed to parse JSON response",t),null}}static serialize(t,e){let i=[];for(var r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=e?`${e}[${r}]`:r,o=t[r];typeof o=="object"?i.push(this.serialize(o,n)):i.push(encodeURIComponent(n)+"="+encodeURIComponent(o))}return i.join("&")}static appendParams(t,e){if(Object.keys(e).length===0)return t;let i=t.match(/\?/)?"&":"?";return`${t}${i}${this.serialize(e)}`}},M7=t=>{let e="",i=new Uint8Array(t),r=i.byteLength;for(let n=0;n<r;n++)e+=String.fromCharCode(i[n]);return btoa(e)},ac=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=Gr.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(t){return t.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+kg.websocket),"$1/"+kg.longpoll)}endpointURL(){return vh.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(t,e,i){this.close(t,e,i),this.readyState=Gr.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Gr.open||this.readyState===Gr.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),t=>{if(t){var{status:e,token:i,messages:r}=t;this.token=i}else e=0;switch(e){case 200:r.forEach(n=>{setTimeout(()=>this.onmessage({data:n}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Gr.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=M7(t)),this.currentBatch?this.currentBatch.push(t):this.awaitingBatchAck?this.batchBuffer.push(t):(this.currentBatch=[t],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(t){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",t.join(`
`),()=>this.onerror("timeout"),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(t,e,i){for(let n of this.reqs)n.abort();this.readyState=Gr.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:t,reason:e,wasClean:i});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(t,e,i,r,n){let o,s=()=>{this.reqs.delete(o),r()};o=vh.request(t,this.endpointURL(),e,i,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&n(a)}),this.reqs.add(o)}};var xh={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(t,e){if(t.payload.constructor===ArrayBuffer)return e(this.binaryEncode(t));{let i=[t.join_ref,t.ref,t.topic,t.event,t.payload];return e(JSON.stringify(i))}},decode(t,e){if(t.constructor===ArrayBuffer)return e(this.binaryDecode(t));{let[i,r,n,o,s]=JSON.parse(t);return e({join_ref:i,ref:r,topic:n,event:o,payload:s})}},binaryEncode(t){let{join_ref:e,ref:i,event:r,topic:n,payload:o}=t,s=this.META_LENGTH+e.length+i.length+n.length+r.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,i.length),l.setUint8(c++,n.length),l.setUint8(c++,r.length),Array.from(e,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(i,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(n,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(r,f=>l.setUint8(c++,f.charCodeAt(0)));var u=new Uint8Array(a.byteLength+o.byteLength);return u.set(new Uint8Array(a),0),u.set(new Uint8Array(o),a.byteLength),u.buffer},binaryDecode(t){let e=new DataView(t),i=e.getUint8(0),r=new TextDecoder;switch(i){case this.KINDS.push:return this.decodePush(t,e,r);case this.KINDS.reply:return this.decodeReply(t,e,r);case this.KINDS.broadcast:return this.decodeBroadcast(t,e,r)}},decodePush(t,e,i){let r=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=i.decode(t.slice(s,s+r));s=s+r;let l=i.decode(t.slice(s,s+n));s=s+n;let c=i.decode(t.slice(s,s+o));s=s+o;let u=t.slice(s,t.byteLength);return{join_ref:a,ref:null,topic:l,event:c,payload:u}},decodeReply(t,e,i){let r=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=i.decode(t.slice(a,a+r));a=a+r;let c=i.decode(t.slice(a,a+n));a=a+n;let u=i.decode(t.slice(a,a+o));a=a+o;let f=i.decode(t.slice(a,a+s));a=a+s;let d=t.slice(a,t.byteLength),O={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:Sn.reply,payload:O}},decodeBroadcast(t,e,i){let r=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,s=i.decode(t.slice(o,o+r));o=o+r;let a=i.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},wh=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||z7,this.transport=e.transport||ms.WebSocket||ac,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=e.longPollFallbackMs,this.fallbackTimer=null,this.sessionStore=e.sessionStorage||ms&&ms.sessionStorage,this.establishedConnections=0,this.defaultEncoder=xh.encode.bind(xh),this.defaultDecoder=xh.decode.bind(xh),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==ac?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let i=null;lc&&lc.addEventListener&&(lc.addEventListener("pagehide",r=>{this.conn&&(this.disconnect(),i=this.connectClock)}),lc.addEventListener("pageshow",r=>{i===this.connectClock&&(i=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=r=>e.rejoinAfterMs?e.rejoinAfterMs(r):[1e3,2e3,5e3][r-1]||1e4,this.reconnectAfterMs=r=>e.reconnectAfterMs?e.reconnectAfterMs(r):[10,50,100,150,200,250,500,1e3,2e3][r-1]||5e3,this.logger=e.logger||null,!this.logger&&e.debug&&(this.logger=(r,n,o)=>{console.log(`${r}: ${n}`,o)}),this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=cc(e.params||{}),this.endPoint=`${t}/${kg.websocket}`,this.vsn=e.vsn||I7,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new G2(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return ac}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=vh.appendParams(vh.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,e,i){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(t,e,i)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=cc(t)),!this.conn&&(this.longPollFallbackMs&&this.transport!==ac?this.connectWithFallback(ac,this.longPollFallbackMs):this.transportConnect())}log(t,e,i){this.logger&&this.logger(t,e,i)}hasLogger(){return this.logger!==null}onOpen(t){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,t]),e}onClose(t){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,t]),e}onError(t){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,t]),e}onMessage(t){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,t]),e}ping(t){if(!this.isConnected())return!1;let e=this.makeRef(),i=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let r=this.onMessage(n=>{n.ref===e&&(this.off([r]),t(Date.now()-i))});return!0}transportConnect(){this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(t){return this.sessionStore&&this.sessionStore.getItem(t)}storeSession(t,e){this.sessionStore&&this.sessionStore.setItem(t,e)}connectWithFallback(t,e=2500){clearTimeout(this.fallbackTimer);let i=!1,r=!0,n,o,s=a=>{this.log("transport",`falling back to ${t.name}...`,a),this.off([n,o]),r=!1,this.replaceTransport(t),this.transportConnect()};if(this.getSession(`phx:fallback:${t.name}`))return s("memorized");this.fallbackTimer=setTimeout(s,e),o=this.onError(a=>{this.log("transport","error",a),r&&!i&&(clearTimeout(this.fallbackTimer),s(a))}),this.onOpen(()=>{if(i=!0,!r)return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${t.name}`,"true"),this.log("transport",`established ${t.name} fallback`);clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(s,e),this.ping(a=>{this.log("transport","connected to primary after",a),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`${this.transport.name} connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,t])=>t())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),D7,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,e,i){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,i||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),t&&t()})})}waitForBufferDone(t,e=1){if(e===5||!this.conn||!this.conn.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(t,e+1)},150*e)}waitForSocketClosed(t,e=1){if(e===5||!this.conn||this.conn.readyState===Gr.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(t,e+1)},150*e)}onConnClose(t){let e=t&&t.code;this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,i])=>i(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let e=this.transport,i=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,r])=>{r(t,e,i)}),(e===this.transport||i>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(Sn.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Gr.connecting:return"connecting";case Gr.open:return"open";case Gr.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(e=>e!==t)}off(t){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([i])=>t.indexOf(i)===-1)}channel(t,e={}){let i=new N7(t,e,this);return this.channels.push(i),i}push(t){if(this.hasLogger()){let{topic:e,event:i,payload:r,ref:n,join_ref:o}=t;this.log("push",`${e} ${i} (${o}, ${n})`,r)}this.isConnected()?this.encode(t,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(t,e=>this.conn.send(e)))}makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}onConnMessage(t){this.decode(t.data,e=>{let{topic:i,event:r,payload:n,ref:o,join_ref:s}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${n.status||""} ${i} ${r} ${o&&"("+o+")"||""}`,n);for(let a=0;a<this.channels.length;a++){let l=this.channels[a];l.isMember(i,r,n,s)&&l.trigger(r,n,o,s)}for(let a=0;a<this.stateChangeCallbacks.message.length;a++){let[,l]=this.stateChangeCallbacks.message[a];l(e)}})}leaveOpenTopic(t){let e=this.channels.find(i=>i.topic===t&&(i.isJoined()||i.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var TS="consecutive-reloads",q7=10,j7=5e3,W7=1e4,V7=3e4,Z7=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading","phx-hook-loading"],En="data-phx-component",Sg="data-phx-link",B7="track-static",Y7="data-phx-link-state",Ei="data-phx-ref",gs="data-phx-ref-src",ES="track-uploads",Pn="data-phx-upload-ref",Ig="data-phx-preflighted-refs",F7="data-phx-done-refs",K2="drop-target",Xg="data-phx-active-refs",$h="phx:live-file:updated",PS="data-phx-skip",QS="data-phx-id",J2="data-phx-prune",eS="page-loading",tS="phx-connected",uc="phx-loading",kh="phx-error",iS="phx-client-error",Tg="phx-server-error",xs="data-phx-parent-id",zg="data-phx-main",vo="data-phx-root-id",Rg="viewport-top",Lg="viewport-bottom",H7="trigger-action",Xh="phx-has-focused",G7=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],CS=["checkbox","radio"],xc="phx-has-submitted",tn="data-phx-session",Ra=`[${tn}]`,rS="data-phx-sticky",ys="data-phx-static",Eg="data-phx-readonly",$a="data-phx-disabled",nS="disable-with",Sh="data-phx-disable-with-restore",fc="hook",K7="debounce",J7="throttle",bc="update",Pg="stream",Qg="data-phx-stream",e8="key",Kr="phxPrivate",oS="auto-recover",Th="phx:live-socket:debug",Cg="phx:live-socket:profiling",_g="phx:live-socket:latency-sim",t8="progress",sS="mounted",i8=1,r8=200,n8="phx-",o8=3e4,hc="debounce-trigger",dc="throttled",aS="debounce-prev-key",s8={debounce:300,throttle:300},Eh="d",Jr="s",$g="r",Ti="c",lS="e",cS="r",uS="t",a8="p",fS="stream",l8=class{constructor(t,e,i){this.liveSocket=i,this.entry=t,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.errored=!1,this.uploadChannel=i.channel(`lvu:${t.ref}`,{token:t.metadata()})}error(t){this.errored||(this.uploadChannel.leave(),this.errored=!0,clearTimeout(this.chunkTimer),this.entry.error(t))}upload(){this.uploadChannel.onError(t=>this.error(t)),this.uploadChannel.join().receive("ok",t=>this.readNextChunk()).receive("error",t=>this.error(t))}isDone(){return this.offset>=this.entry.file.size}readNextChunk(){let t=new window.FileReader,e=this.entry.file.slice(this.offset,this.chunkSize+this.offset);t.onload=i=>{if(i.target.error===null)this.offset+=i.target.result.byteLength,this.pushChunk(i.target.result);else return Hi("Read error: "+i.target.error)},t.readAsArrayBuffer(e)}pushChunk(t){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",t).receive("ok",()=>{this.entry.progress(this.offset/this.entry.file.size*100),this.isDone()||(this.chunkTimer=setTimeout(()=>this.readNextChunk(),this.liveSocket.getLatencySim()||0))}).receive("error",({reason:e})=>this.error(e))}},Hi=(t,e)=>console.error&&console.error(t,e),Tn=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function c8(){let t=new Set,e=document.querySelectorAll("*[id]");for(let i=0,r=e.length;i<r;i++)t.has(e[i].id)?console.error(`Multiple IDs detected: ${e[i].id}. Ensure unique element ids.`):t.add(e[i].id)}var u8=(t,e,i,r)=>{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${i} - `,r)},Oc=t=>typeof t=="function"?t:function(){return t},Ah=t=>JSON.parse(JSON.stringify(t)),yc=(t,e,i)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(i&&i.isSameNode(t)||t.matches(Ra)));return null},Aa=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),f8=(t,e)=>JSON.stringify(t)===JSON.stringify(e),hS=t=>{for(let e in t)return!1;return!0},xo=(t,e)=>t&&e(t),h8=function(t,e,i,r){t.forEach(n=>{new l8(n,i.config.chunk_size,r).upload()})},_S={canPushState(){return typeof history.pushState!="undefined"},dropLocal(t,e,i){return t.removeItem(this.localKey(e,i))},updateLocal(t,e,i,r,n){let o=this.getLocal(t,e,i),s=this.localKey(e,i),a=o===null?r:n(o);return t.setItem(s,JSON.stringify(a)),a},getLocal(t,e,i){return JSON.parse(t.getItem(this.localKey(e,i)))},updateCurrentState(t){this.canPushState()&&history.replaceState(t(history.state||{}),"",window.location.href)},pushState(t,e,i){if(this.canPushState()){if(i!==window.location.href){if(e.type=="redirect"&&e.scroll){let n=history.state||{};n.scroll=e.scroll,history.replaceState(n,"",window.location.href)}delete e.scroll,history[t+"State"](e,"",i||null);let r=this.getHashTargetEl(window.location.hash);r?r.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(i)},setCookie(t,e){document.cookie=`${t}=${e}`},getCookie(t){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${t}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(t,e){e&&_S.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}"]`)}},en=_S,d8={focusMain(){let t=document.querySelector("main h1, main, h1");if(t){let e=t.tabIndex;t.tabIndex=-1,t.focus(),t.tabIndex=e}},anyOf(t,e){return e.find(i=>t instanceof i)},isFocusable(t,e){return t instanceof HTMLAnchorElement&&t.rel!=="ignore"||t instanceof HTMLAreaElement&&t.href!==void 0||!t.disabled&&this.anyOf(t,[HTMLInputElement,HTMLSelectElement,HTMLTextAreaElement,HTMLButtonElement])||t instanceof HTMLIFrameElement||t.tabIndex>0||!e&&t.getAttribute("tabindex")!==null&&t.getAttribute("aria-hidden")!=="true"},attemptFocus(t,e){if(this.isFocusable(t,e))try{t.focus()}catch(i){}return!!document.activeElement&&document.activeElement.isSameNode(t)},focusFirstInteractive(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e,!0)||this.focusFirstInteractive(e,!0))return!0;e=e.nextElementSibling}},focusFirst(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e)||this.focusFirst(e))return!0;e=e.nextElementSibling}},focusLast(t){let e=t.lastElementChild;for(;e;){if(this.attemptFocus(e)||this.focusLast(e))return!0;e=e.previousElementSibling}}},Xa=d8,dS=[],OS=200,O8={exec(t,e,i,r,n){let[o,s]=n||[null,{callback:n&&n.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,s]]).forEach(([l,c])=>{l===o&&s.data&&(c.data=Object.assign(c.data||{},s.data),c.callback=c.callback||s.callback),this.filterToEls(r,c).forEach(u=>{this[`exec_${l}`](t,e,i,r,u,c)})})},isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length>0)},isInViewport(t){let e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth;return e.right>0&&e.bottom>0&&e.left<r&&e.top<i},exec_exec(t,e,i,r,n,{attr:o,to:s}){(s?te.all(document,s):[r]).forEach(l=>{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${s}"`);i.liveSocket.execJS(l,c,t)})},exec_dispatch(t,e,i,r,n,{to:o,event:s,detail:a,bubbles:l}){a=a||{},a.dispatcher=r,te.dispatchEvent(n,s,{detail:a,bubbles:l})},exec_push(t,e,i,r,n,o){let{event:s,data:a,target:l,page_loading:c,loading:u,value:f,dispatcher:d,callback:O}=o,g={loading:u,value:f,target:l,page_loading:!!c},x=t==="change"&&d?d:r,S=l||x.getAttribute(i.binding("target"))||x;i.withinTargets(S,(w,T)=>{if(w.isConnected())if(t==="change"){let{newCid:A,_target:I}=o;I=I||(te.isFormInput(r)?r.name:void 0),I&&(g._target=I),w.pushInput(r,T,A,s||e,g,O)}else if(t==="submit"){let{submitter:A}=o;w.submitForm(r,T,s||e,A,g,O)}else w.pushEvent(t,r,T,s||e,a,g,O)})},exec_navigate(t,e,i,r,n,{href:o,replace:s}){i.liveSocket.historyRedirect(o,s?"replace":"push")},exec_patch(t,e,i,r,n,{href:o,replace:s}){i.liveSocket.pushHistoryPatch(o,s?"replace":"push",r)},exec_focus(t,e,i,r,n){window.requestAnimationFrame(()=>Xa.attemptFocus(n))},exec_focus_first(t,e,i,r,n){window.requestAnimationFrame(()=>Xa.focusFirstInteractive(n)||Xa.focusFirst(n))},exec_push_focus(t,e,i,r,n){window.requestAnimationFrame(()=>dS.push(n||r))},exec_pop_focus(t,e,i,r,n){window.requestAnimationFrame(()=>{let o=dS.pop();o&&o.focus()})},exec_add_class(t,e,i,r,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,o,[],s,a,i)},exec_remove_class(t,e,i,r,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,[],o,s,a,i)},exec_toggle_class(t,e,i,r,n,{to:o,names:s,transition:a,time:l}){this.toggleClasses(n,s,a,l,i)},exec_toggle_attr(t,e,i,r,n,{attr:[o,s,a]}){n.hasAttribute(o)?a!==void 0?n.getAttribute(o)===s?this.setOrRemoveAttrs(n,[[o,a]],[]):this.setOrRemoveAttrs(n,[[o,s]],[]):this.setOrRemoveAttrs(n,[],[o]):this.setOrRemoveAttrs(n,[[o,s]],[])},exec_transition(t,e,i,r,n,{time:o,transition:s}){this.addOrRemoveClasses(n,[],[],s,o,i)},exec_toggle(t,e,i,r,n,{display:o,ins:s,outs:a,time:l}){this.toggle(t,i,n,o,s,a,l)},exec_show(t,e,i,r,n,{display:o,transition:s,time:a}){this.show(t,i,n,o,s,a)},exec_hide(t,e,i,r,n,{display:o,transition:s,time:a}){this.hide(t,i,n,o,s,a)},exec_set_attr(t,e,i,r,n,{attr:[o,s]}){this.setOrRemoveAttrs(n,[[o,s]],[])},exec_remove_attr(t,e,i,r,n,{attr:o}){this.setOrRemoveAttrs(n,[],[o])},show(t,e,i,r,n,o){this.isVisible(i)||this.toggle(t,e,i,r,n,null,o)},hide(t,e,i,r,n,o){this.isVisible(i)&&this.toggle(t,e,i,r,null,n,o)},toggle(t,e,i,r,n,o,s){s=s||OS;let[a,l,c]=n||[[],[],[]],[u,f,d]=o||[[],[],[]];if(a.length>0||u.length>0)if(this.isVisible(i)){let O=()=>{this.addOrRemoveClasses(i,f,a.concat(l).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(i,u,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(i,d,f))})};i.dispatchEvent(new Event("phx:hide-start")),e.transition(s,O,()=>{this.addOrRemoveClasses(i,[],u.concat(d)),te.putSticky(i,"toggle",g=>g.style.display="none"),i.dispatchEvent(new Event("phx:hide-end"))})}else{if(t==="remove")return;let O=()=>{this.addOrRemoveClasses(i,l,u.concat(f).concat(d));let g=r||this.defaultDisplay(i);te.putSticky(i,"toggle",x=>x.style.display=g),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(i,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(i,c,l))})};i.dispatchEvent(new Event("phx:show-start")),e.transition(s,O,()=>{this.addOrRemoveClasses(i,[],a.concat(c)),i.dispatchEvent(new Event("phx:show-end"))})}else this.isVisible(i)?window.requestAnimationFrame(()=>{i.dispatchEvent(new Event("phx:hide-start")),te.putSticky(i,"toggle",O=>O.style.display="none"),i.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{i.dispatchEvent(new Event("phx:show-start"));let O=r||this.defaultDisplay(i);te.putSticky(i,"toggle",g=>g.style.display=O),i.dispatchEvent(new Event("phx:show-end"))})},toggleClasses(t,e,i,r,n){window.requestAnimationFrame(()=>{let[o,s]=te.getSticky(t,"classes",[[],[]]),a=e.filter(c=>o.indexOf(c)<0&&!t.classList.contains(c)),l=e.filter(c=>s.indexOf(c)<0&&t.classList.contains(c));this.addOrRemoveClasses(t,a,l,i,r,n)})},addOrRemoveClasses(t,e,i,r,n,o){n=n||OS;let[s,a,l]=r||[[],[],[]];if(s.length>0){let c=()=>{this.addOrRemoveClasses(t,a,[].concat(s).concat(l)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,s,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,l,a))})},u=()=>this.addOrRemoveClasses(t,e.concat(l),i.concat(s).concat(a));return o.transition(n,c,u)}window.requestAnimationFrame(()=>{let[c,u]=te.getSticky(t,"classes",[[],[]]),f=e.filter(x=>c.indexOf(x)<0&&!t.classList.contains(x)),d=i.filter(x=>u.indexOf(x)<0&&t.classList.contains(x)),O=c.filter(x=>i.indexOf(x)<0).concat(f),g=u.filter(x=>e.indexOf(x)<0).concat(d);te.putSticky(t,"classes",x=>(x.classList.remove(...g),x.classList.add(...O),[O,g]))})},setOrRemoveAttrs(t,e,i){let[r,n]=te.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(i),s=r.filter(([l,c])=>!o.includes(l)).concat(e),a=n.filter(l=>!o.includes(l)).concat(i);te.putSticky(t,"attrs",l=>(a.forEach(c=>l.removeAttribute(c)),s.forEach(([c,u])=>l.setAttribute(c,u)),[s,a]))},hasAllClasses(t,e){return e.every(i=>t.classList.contains(i))},isToggledOut(t,e){return!this.isVisible(t)||this.hasAllClasses(t,e)},filterToEls(t,{to:e}){return e?te.all(document,e):[t]},defaultDisplay(t){return{tr:"table-row",td:"table-cell"}[t.tagName.toLowerCase()]||"block"}},$r=O8,bs={byId(t){return document.getElementById(t)||Hi(`no id found for ${t}`)},removeClass(t,e){t.classList.remove(e),t.classList.length===0&&t.removeAttribute("class")},all(t,e,i){if(!t)return[];let r=Array.from(t.querySelectorAll(e));return i?r.forEach(i):r},childNodeLength(t){let e=document.createElement("template");return e.innerHTML=t,e.content.childElementCount},isUploadInput(t){return t.type==="file"&&t.getAttribute(Pn)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){let e=t.id,i=this.all(document,`input[type="file"][${Pn}][form="${e}"]`);return this.all(t,`input[type="file"][${Pn}]`).concat(i)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${En}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&bs.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,i=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),r=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank",n=t.target.hasAttribute("target")&&!t.target.getAttribute("target").startsWith("_");return e||r||i||n},isUnloadableFormSubmit(t){return t.target&&t.target.getAttribute("method")==="dialog"||t.submitter&&t.submitter.getAttribute("formmethod")==="dialog"?!1:!t.defaultPrevented&&!this.wantsNewTab(t)},isNewPageClick(t,e){let i=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,r;if(t.defaultPrevented||i===null||this.wantsNewTab(t)||i.startsWith("mailto:")||i.startsWith("tel:")||t.target.isContentEditable)return!1;try{r=new URL(i)}catch(n){try{r=new URL(i,e)}catch(o){return!0}}return r.host===e.host&&r.protocol===e.protocol&&r.pathname===e.pathname&&r.search===e.search?r.hash===""&&!r.href.endsWith("#"):r.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(tn,""),this.putPrivate(t,"destroyed",!0)},findPhxChildrenInFragment(t,e){let i=document.createElement("template");return i.innerHTML=t,this.findPhxChildren(i.content,e)},isIgnored(t,e){return(t.getAttribute(e)||t.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(t,e,i){return t.getAttribute&&i.indexOf(t.getAttribute(e))>=0},findPhxSticky(t){return this.all(t,`[${rS}]`)},findPhxChildren(t,e){return this.all(t,`${Ra}[${xs}="${e}"]`)},findExistingParentCIDs(t,e){let i=new Set,r=new Set;return e.forEach(n=>{this.filterWithinSameLiveView(this.all(t,`[${En}="${n}"]`),t).forEach(o=>{i.add(n),this.all(o,`[${En}]`).map(s=>parseInt(s.getAttribute(En))).forEach(s=>r.add(s))})}),r.forEach(n=>i.delete(n)),i},filterWithinSameLiveView(t,e){return e.querySelector(Ra)?t.filter(i=>this.withinSameLiveView(i,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(tn)!==null)return!1}},private(t,e){return t[Kr]&&t[Kr][e]},deletePrivate(t,e){t[Kr]&&delete t[Kr][e]},putPrivate(t,e,i){t[Kr]||(t[Kr]={}),t[Kr][e]=i},updatePrivate(t,e,i,r){let n=this.private(t,e);n===void 0?this.putPrivate(t,e,r(i)):this.putPrivate(t,e,r(n))},copyPrivates(t,e){e[Kr]&&(t[Kr]=e[Kr])},putTitle(t){let e=document.querySelector("title");if(e){let{prefix:i,suffix:r}=e.dataset;document.title=`${i||""}${t}${r||""}`}else document.title=t},debounce(t,e,i,r,n,o,s,a){let l=t.getAttribute(i),c=t.getAttribute(n);l===""&&(l=r),c===""&&(c=o);let u=l||c;switch(u){case null:return a();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>{s()&&a()});return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,dc):a(),O=this.incCycle(t,hc,d);if(isNaN(f))return Hi(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let S=this.private(t,aS);this.putPrivate(t,aS,e.key),x=S!==e.key}if(!x&&this.private(t,dc))return!1;{a();let S=setTimeout(()=>{s()&&this.triggerCycle(t,hc)},f);this.putPrivate(t,dc,S)}}else setTimeout(()=>{s()&&this.triggerCycle(t,hc,O)},f);let g=t.form;g&&this.once(g,"bind-debounce")&&g.addEventListener("submit",()=>{Array.from(new FormData(g).entries(),([x])=>{let S=g.querySelector(`[name="${x}"]`);this.incCycle(S,hc),this.deletePrivate(S,dc)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>{clearTimeout(this.private(t,dc)),this.triggerCycle(t,hc)})}},triggerCycle(t,e,i){let[r,n]=this.private(t,e);i||(i=r),i===r&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,i=function(){}){let[r]=this.private(t,e)||[0,i];return r++,this.putPrivate(t,e,[r,i]),r},maybeAddPrivateHooks(t,e,i){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(i))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},isUsedInput(t){return t.nodeType===Node.ELEMENT_NODE&&(this.private(t,Xh)||this.private(t,xc))},resetForm(t){Array.from(t.elements).forEach(e=>{this.deletePrivate(e,Xh),this.deletePrivate(e,xc)})},isPhxChild(t){return t.getAttribute&&t.getAttribute(xs)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(rS)!==null},isChildOfAny(t,e){return!!e.find(i=>i.contains(t))},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${xs}]`)[0]},dispatchEvent(t,e,i={}){let r=!0;t.nodeName==="INPUT"&&t.type==="file"&&e==="click"&&(r=!1);let s={bubbles:i.bubbles===void 0?r:!!i.bubbles,cancelable:!0,detail:i.detail||{}},a=e==="click"?new MouseEvent("click",s):new CustomEvent(e,s);t.dispatchEvent(a)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let i=t.cloneNode(!1);return i.innerHTML=e,i}},mergeAttrs(t,e,i={}){let r=new Set(i.exclude||[]),n=i.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;if(r.has(l))l==="value"&&t.value===e.value&&t.setAttribute("value",e.getAttribute(l));else{let c=e.getAttribute(l);t.getAttribute(l)!==c&&(!n||n&&l.startsWith("data-"))&&t.setAttribute(l,c)}}let s=t.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&![Ei,gs].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||bs.mergeAttrs(t,e,{exclude:["value"]}),e.readOnly?t.setAttribute("readonly",!0):t.removeAttribute("readonly")},hasSelectionRange(t){return t.setSelectionRange&&(t.type==="text"||t.type==="textarea")},restoreFocus(t,e,i){if(t instanceof HTMLSelectElement&&t.focus(),!bs.isTextualInput(t))return;t.matches(":focus")||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,i)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&CS.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return G7.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},cleanChildNodes(t,e){if(bs.isPhxUpdate(t,e,["append","prepend"])){let i=[];t.childNodes.forEach(r=>{r.id||(!(r.nodeType===Node.TEXT_NODE&&r.nodeValue.trim()==="")&&r.nodeType!==Node.COMMENT_NODE&&Hi(`only HTML element tags with an id are allowed inside containers with phx-update.
removing illegal node: "${(r.outerHTML||r.nodeValue).trim()}"
`),i.push(r))}),i.forEach(r=>r.remove())}},replaceRootContainer(t,e,i){let r=new Set(["id",tn,ys,zg,vo]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(n=>!r.has(n.name.toLowerCase())).forEach(n=>t.removeAttribute(n.name)),Object.keys(i).filter(n=>!r.has(n.toLowerCase())).forEach(n=>t.setAttribute(n,i[n])),t;{let n=document.createElement(e);return Object.keys(i).forEach(o=>n.setAttribute(o,i[o])),r.forEach(o=>n.setAttribute(o,t.getAttribute(o))),n.innerHTML=t.innerHTML,t.replaceWith(n),n}},getSticky(t,e,i){let r=(bs.private(t,"sticky")||[]).find(([n])=>e===n);if(r){let[n,o,s]=r;return s}else return typeof i=="function"?i():i},deleteSticky(t,e){this.updatePrivate(t,"sticky",[],i=>i.filter(([r,n])=>r!==e))},putSticky(t,e,i){let r=i(t);this.updatePrivate(t,"sticky",[],n=>{let o=n.findIndex(([s])=>e===s);return o>=0?n[o]=[e,i,r]:n.push([e,i,r]),n})},applyStickyOperations(t){let e=bs.private(t,"sticky");e&&e.forEach(([i,r,n])=>this.putSticky(t,i,r))}},te=bs,pc=class{static isActive(t,e){let i=e._phxRef===void 0,n=t.getAttribute(Xg).split(",").indexOf(Wt.genFileRef(e))>=0;return e.size>0&&(i||n)}static isPreflighted(t,e){return t.getAttribute(Ig).split(",").indexOf(Wt.genFileRef(e))>=0&&this.isActive(t,e)}static isPreflightInProgress(t){return t._preflightInProgress===!0}static markPreflightInProgress(t){t._preflightInProgress=!0}constructor(t,e,i,r){this.ref=Wt.genFileRef(e),this.fileEl=t,this.file=e,this.view=i,this.meta=null,this._isCancelled=!1,this._isDone=!1,this._progress=0,this._lastProgressSent=-1,this._onDone=function(){},this._onElUpdated=this.onElUpdated.bind(this),this.fileEl.addEventListener($h,this._onElUpdated),this.autoUpload=r}metadata(){return this.meta}progress(t){this._progress=Math.floor(t),this._progress>this._lastProgressSent&&(this._progress>=100?(this._progress=100,this._lastProgressSent=100,this._isDone=!0,this.view.pushFileProgress(this.fileEl,this.ref,100,()=>{Wt.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}isCancelled(){return this._isCancelled}cancel(){this.file._preflightInProgress=!1,this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(t="failed"){this.fileEl.removeEventListener($h,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),this.isAutoUpload()||Wt.clearFiles(this.fileEl)}isAutoUpload(){return this.autoUpload}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener($h,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(Xg).split(",").indexOf(this.ref)===-1&&(Wt.untrackFile(this.fileEl,this.file),this.cancel())}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref,meta:typeof this.file.meta=="function"?this.file.meta():void 0}}uploader(t){if(this.meta.uploader){let e=t[this.meta.uploader]||Hi(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:h8}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Hi(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},p8=0,Wt=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(p8++).toString(),t._phxRef)}static getEntryDataURL(t,e,i){let r=this.activeFiles(t).find(n=>this.genFileRef(n)===e);i(URL.createObjectURL(r))}static hasUploadsInProgress(t){let e=0;return te.findUploadInputs(t).forEach(i=>{i.getAttribute(Ig)!==i.getAttribute(F7)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),i={};return e.forEach(r=>{let n={path:t.name},o=t.getAttribute(Pn);i[o]=i[o]||[],n.ref=this.genFileRef(r),n.last_modified=r.lastModified,n.name=r.name||n.ref,n.relative_path=r.webkitRelativePath,n.type=r.type,n.size=r.size,typeof r.meta=="function"&&(n.meta=r.meta()),i[o].push(n)}),i}static clearFiles(t){t.value=null,t.removeAttribute(Pn),te.putPrivate(t,"files",[])}static untrackFile(t,e){te.putPrivate(t,"files",te.private(t,"files").filter(i=>!Object.is(i,e)))}static trackFiles(t,e,i){if(t.getAttribute("multiple")!==null){let r=e.filter(n=>!this.activeFiles(t).find(o=>Object.is(o,n)));te.updatePrivate(t,"files",[],n=>n.concat(r)),t.value=null}else i&&i.files.length>0&&(t.files=i.files),te.putPrivate(t,"files",e)}static activeFileInputs(t){let e=te.findUploadInputs(t);return Array.from(e).filter(i=>i.files&&this.activeFiles(i).length>0)}static activeFiles(t){return(te.private(t,"files")||[]).filter(e=>pc.isActive(t,e))}static inputsAwaitingPreflight(t){let e=te.findUploadInputs(t);return Array.from(e).filter(i=>this.filesAwaitingPreflight(i).length>0)}static filesAwaitingPreflight(t){return this.activeFiles(t).filter(e=>!pc.isPreflighted(t,e)&&!pc.isPreflightInProgress(e))}static markPreflightInProgress(t){t.forEach(e=>pc.markPreflightInProgress(e.file))}constructor(t,e,i){this.autoUpload=te.isAutoUpload(t),this.view=e,this.onComplete=i,this._entries=Array.from(Wt.filesAwaitingPreflight(t)||[]).map(r=>new pc(t,r,e,this.autoUpload)),Wt.markPreflightInProgress(this._entries),this.numEntriesInProgress=this._entries.length}isAutoUpload(){return this.autoUpload}entries(){return this._entries}initAdapterUpload(t,e,i){this._entries=this._entries.map(n=>(n.isCancelled()?(this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()):(n.zipPostFlight(t),n.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()})),n));let r=this._entries.reduce((n,o)=>{if(!o.meta)return n;let{name:s,callback:a}=o.uploader(i.uploaders);return n[s]=n[s]||{callback:a,entries:[]},n[s].entries.push(o),n},{});for(let n in r){let{callback:o,entries:s}=r[n];o(s,e,t,i)}}},$S={LiveFileUpload:{activeRefs(){return this.el.getAttribute(Xg)},preflightedRefs(){return this.el.getAttribute(Ig)},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($h))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(Pn)),Wt.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",()=>Xa.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Xa.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Xa.focusFirst(this.el)}}},AS=t=>["HTML","BODY"].indexOf(t.nodeName.toUpperCase())>=0?null:["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>=0?t:AS(t.parentElement),pS=t=>t?t.scrollTop:document.documentElement.scrollTop||document.body.scrollTop,Dg=t=>t?t.getBoundingClientRect().bottom:window.innerHeight||document.documentElement.clientHeight,Ug=t=>t?t.getBoundingClientRect().top:0,m8=(t,e)=>{let i=t.getBoundingClientRect();return i.top>=Ug(e)&&i.left>=0&&i.top<=Dg(e)},g8=(t,e)=>{let i=t.getBoundingClientRect();return i.right>=Ug(e)&&i.left>=0&&i.bottom<=Dg(e)},mS=(t,e)=>{let i=t.getBoundingClientRect();return i.top>=Ug(e)&&i.left>=0&&i.top<=Dg(e)};$S.InfiniteScroll={mounted(){this.scrollContainer=AS(this.el);let t=pS(this.scrollContainer),e=!1,i=500,r=null,n=this.throttle(i,(a,l)=>{r=()=>!0,this.liveSocket.execJSHookPush(this.el,a,{id:l.id,_overran:!0},()=>{r=null})}),o=this.throttle(i,(a,l)=>{r=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{r=null,window.requestAnimationFrame(()=>{mS(l,this.scrollContainer)||l.scrollIntoView({block:"start"})})})}),s=this.throttle(i,(a,l)=>{r=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{r=null,window.requestAnimationFrame(()=>{mS(l,this.scrollContainer)||l.scrollIntoView({block:"end"})})})});this.onScroll=a=>{let l=pS(this.scrollContainer);if(r)return t=l,r();let c=this.el.getBoundingClientRect(),u=this.el.getAttribute(this.liveSocket.binding("viewport-top")),f=this.el.getAttribute(this.liveSocket.binding("viewport-bottom")),d=this.el.lastElementChild,O=this.el.firstElementChild,g=l<t,x=l>t;g&&u&&!e&&c.top>=0?(e=!0,n(u,O)):x&&e&&c.top<=0&&(e=!1),u&&g&&m8(O,this.scrollContainer)?o(u,O):f&&x&&g8(d,this.scrollContainer)&&s(f,d),t=l},this.scrollContainer?this.scrollContainer.addEventListener("scroll",this.onScroll):window.addEventListener("scroll",this.onScroll)},destroyed(){this.scrollContainer?this.scrollContainer.removeEventListener("scroll",this.onScroll):window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let i=0,r;return(...n)=>{let o=Date.now(),s=t-(o-i);s<=0||s>t?(r&&(clearTimeout(r),r=null),i=o,e(...n)):r||(r=setTimeout(()=>{i=Date.now(),r=null,e(...n)},s))}}};var b8=$S,y8=class{constructor(t,e,i){let r=new Set,n=new Set([...e.children].map(s=>s.id)),o=[];Array.from(t.children).forEach(s=>{if(s.id&&(r.add(s.id),n.has(s.id))){let a=s.previousElementSibling&&s.previousElementSibling.id;o.push({elementId:s.id,previousElementId:a})}}),this.containerId=e.id,this.updateType=i,this.elementsToModify=o,this.elementIdsToAdd=[...n].filter(s=>!r.has(s))}perform(){let t=te.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?xo(document.getElementById(e.previousElementId),i=>{xo(document.getElementById(e.elementId),r=>{r.previousElementSibling&&r.previousElementSibling.id==i.id||i.insertAdjacentElement("afterend",r)})}):xo(document.getElementById(e.elementId),i=>{i.previousElementSibling==null||t.insertAdjacentElement("afterbegin",i)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{xo(document.getElementById(e),i=>t.insertAdjacentElement("afterbegin",i))})}},gS=11;function x8(t,e){var i=e.attributes,r,n,o,s,a;if(!(e.nodeType===gS||t.nodeType===gS)){for(var l=i.length-1;l>=0;l--)r=i[l],n=r.name,o=r.namespaceURI,s=r.value,o?(n=r.localName||n,a=t.getAttributeNS(o,n),a!==s&&(r.prefix==="xmlns"&&(n=r.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)r=c[u],n=r.name,o=r.namespaceURI,o?(n=r.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var Ph,v8="http://www.w3.org/1999/xhtml",Ii=typeof document=="undefined"?void 0:document,w8=!!Ii&&"content"in Ii.createElement("template"),k8=!!Ii&&Ii.createRange&&"createContextualFragment"in Ii.createRange();function S8(t){var e=Ii.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function T8(t){Ph||(Ph=Ii.createRange(),Ph.selectNode(Ii.body));var e=Ph.createContextualFragment(t);return e.childNodes[0]}function E8(t){var e=Ii.createElement("body");return e.innerHTML=t,e.childNodes[0]}function P8(t){return t=t.trim(),w8?S8(t):k8?T8(t):E8(t)}function Qh(t,e){var i=t.nodeName,r=e.nodeName,n,o;return i===r?!0:(n=i.charCodeAt(0),o=r.charCodeAt(0),n<=90&&o>=97?i===r.toUpperCase():o<=90&&n>=97?r===i.toUpperCase():!1)}function Q8(t,e){return!e||e===v8?Ii.createElement(t):Ii.createElementNS(e,t)}function C8(t,e){for(var i=t.firstChild;i;){var r=i.nextSibling;e.appendChild(i),i=r}return e}function Ag(t,e,i){t[i]!==e[i]&&(t[i]=e[i],t[i]?t.setAttribute(i,""):t.removeAttribute(i))}var bS={OPTION:function(t,e){var i=t.parentNode;if(i){var r=i.nodeName.toUpperCase();r==="OPTGROUP"&&(i=i.parentNode,r=i&&i.nodeName.toUpperCase()),r==="SELECT"&&!i.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),i.selectedIndex=-1)}Ag(t,e,"selected")},INPUT:function(t,e){Ag(t,e,"checked"),Ag(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var i=e.value;t.value!==i&&(t.value=i);var r=t.firstChild;if(r){var n=r.nodeValue;if(n==i||!i&&n==t.placeholder)return;r.nodeValue=i}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var i=-1,r=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){i=r;break}r++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=i}}},mc=1,yS=11,xS=3,vS=8;function yo(){}function _8(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function $8(t){return function(i,r,n){if(n||(n={}),typeof r=="string")if(i.nodeName==="#document"||i.nodeName==="HTML"||i.nodeName==="BODY"){var o=r;r=Ii.createElement("html"),r.innerHTML=o}else r=P8(r);else r.nodeType===yS&&(r=r.firstElementChild);var s=n.getNodeKey||_8,a=n.onBeforeNodeAdded||yo,l=n.onNodeAdded||yo,c=n.onBeforeElUpdated||yo,u=n.onElUpdated||yo,f=n.onBeforeNodeDiscarded||yo,d=n.onNodeDiscarded||yo,O=n.onBeforeElChildrenUpdated||yo,g=n.skipFromChildren||yo,x=n.addChild||function(q,ae){return q.appendChild(ae)},S=n.childrenOnly===!0,w=Object.create(null),T=[];function A(q){T.push(q)}function I(q,ae){if(q.nodeType===mc)for(var B=q.firstChild;B;){var P=void 0;ae&&(P=s(B))?A(P):(d(B),B.firstChild&&I(B,ae)),B=B.nextSibling}}function C(q,ae,B){f(q)!==!1&&(ae&&ae.removeChild(q),d(q),I(q,B))}function $(q){if(q.nodeType===mc||q.nodeType===yS)for(var ae=q.firstChild;ae;){var B=s(ae);B&&(w[B]=ae),$(ae),ae=ae.nextSibling}}$(i);function j(q){l(q);for(var ae=q.firstChild;ae;){var B=ae.nextSibling,P=s(ae);if(P){var V=w[P];V&&Qh(ae,V)?(ae.parentNode.replaceChild(V,ae),F(V,ae)):j(ae)}else j(ae);ae=B}}function le(q,ae,B){for(;ae;){var P=ae.nextSibling;(B=s(ae))?A(B):C(ae,q,!0),ae=P}}function F(q,ae,B){var P=s(ae);if(P&&delete w[P],!B){var V=c(q,ae);if(V===!1||(V instanceof HTMLElement&&(q=V),t(q,ae),u(q),O(q,ae)===!1))return}q.nodeName!=="TEXTAREA"?N(q,ae):bS.TEXTAREA(q,ae)}function N(q,ae){var B=g(q,ae),P=ae.firstChild,V=q.firstChild,ne,z,qe,Ze,Be;e:for(;P;){for(Ze=P.nextSibling,ne=s(P);!B&&V;){if(qe=V.nextSibling,P.isSameNode&&P.isSameNode(V)){P=Ze,V=qe;continue e}z=s(V);var Dt=V.nodeType,Xe=void 0;if(Dt===P.nodeType&&(Dt===mc?(ne?ne!==z&&((Be=w[ne])?qe===Be?Xe=!1:(q.insertBefore(Be,V),z?A(z):C(V,q,!0),V=Be,z=s(V)):Xe=!1):z&&(Xe=!1),Xe=Xe!==!1&&Qh(V,P),Xe&&F(V,P)):(Dt===xS||Dt==vS)&&(Xe=!0,V.nodeValue!==P.nodeValue&&(V.nodeValue=P.nodeValue))),Xe){P=Ze,V=qe;continue e}z?A(z):C(V,q,!0),V=qe}if(ne&&(Be=w[ne])&&Qh(Be,P))B||x(q,Be),F(Be,P);else{var $t=a(P);$t!==!1&&($t&&(P=$t),P.actualize&&(P=P.actualize(q.ownerDocument||Ii)),x(q,P),j(P))}P=Ze,V=qe}le(q,V,z);var At=bS[q.nodeName];At&&At(q,ae)}var ie=i,ue=ie.nodeType,re=r.nodeType;if(!S){if(ue===mc)re===mc?Qh(i,r)||(d(i),ie=C8(i,Q8(r.nodeName,r.namespaceURI))):ie=r;else if(ue===xS||ue===vS){if(re===ue)return ie.nodeValue!==r.nodeValue&&(ie.nodeValue=r.nodeValue),ie;ie=r}}if(ie===r)d(i);else{if(r.isSameNode&&r.isSameNode(ie))return;if(F(ie,r,S),T)for(var de=0,me=T.length;de<me;de++){var we=w[T[de]];we&&C(we,we.parentNode,!1)}}return!S&&ie!==i&&i.parentNode&&(ie.actualize&&(ie=ie.actualize(i.ownerDocument||Ii)),i.parentNode.replaceChild(ie,i)),ie}}var A8=$8(x8),wS=A8,Ch=class{static patchWithClonedTree(t,e,i){let r=i.getActiveElement(),n=i.binding(bc);wS(t,e,{childrenOnly:!1,onBeforeElUpdated:(o,s)=>{if(te.isIgnored(o,n))return!1;if(r&&r.isSameNode(o)&&te.isFormInput(o))return te.mergeFocusedInput(o,s),!1}})}constructor(t,e,i,r,n,o){this.view=t,this.liveSocket=t.liveSocket,this.container=e,this.id=i,this.rootID=t.root.id,this.html=r,this.streams=n,this.streamInserts={},this.streamComponentRestore={},this.targetCID=o,this.cidPatch=Tn(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),this.targetContainer=this.isCIDPatch()?this.targetCIDContainer(r):e,this.callbacks={beforeadded:[],beforeupdated:[],beforephxChildAdded:[],afteradded:[],afterupdated:[],afterdiscarded:[],afterphxChildAdded:[],aftertransitionsDiscarded:[]}}before(t,e){this.callbacks[`before${t}`].push(e)}after(t,e){this.callbacks[`after${t}`].push(e)}trackBefore(t,...e){this.callbacks[`before${t}`].forEach(i=>i(...e))}trackAfter(t,...e){this.callbacks[`after${t}`].forEach(i=>i(...e))}markPrunableContentForRemoval(){let t=this.liveSocket.binding(bc);te.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(J2,"")})}perform(t){let{view:e,liveSocket:i,html:r,container:n,targetContainer:o}=this;if(this.isCIDPatch()&&!o)return;let s=i.getActiveElement(),{selectionStart:a,selectionEnd:l}=s&&te.hasSelectionRange(s)?s:{},c=i.binding(bc),u=i.binding(Rg),f=i.binding(Lg),d=i.binding(H7),O=[],g=[],x=[],S=null;function w(T,A,I=!1){wS(T,A,{childrenOnly:T.getAttribute(En)===null&&!I,getNodeKey:C=>te.isPhxDestroyed(C)?null:t?C.id:C.id||C.getAttribute&&C.getAttribute(QS),skipFromChildren:C=>C.getAttribute(c)===Pg,addChild:(C,$)=>{let{ref:j,streamAt:le}=this.getStreamInsert($);if(j===void 0)return C.appendChild($);if(this.setStreamRef($,j),le===0)C.insertAdjacentElement("afterbegin",$);else if(le===-1)C.appendChild($);else if(le>0){let F=Array.from(C.children)[le];C.insertBefore($,F)}},onBeforeNodeAdded:C=>{te.maybeAddPrivateHooks(C,u,f),this.trackBefore("added",C);let $=C;return!t&&this.streamComponentRestore[C.id]&&($=this.streamComponentRestore[C.id],delete this.streamComponentRestore[C.id],w.call(this,$,C,!0)),$},onNodeAdded:C=>{C.getAttribute&&this.maybeReOrderStream(C,!0),C instanceof HTMLImageElement&&C.srcset?C.srcset=C.srcset:C instanceof HTMLVideoElement&&C.autoplay&&C.play(),te.isNowTriggerFormExternal(C,d)&&(S=C),(te.isPhxChild(C)&&e.ownsElement(C)||te.isPhxSticky(C)&&e.ownsElement(C.parentNode))&&this.trackAfter("phxChildAdded",C),O.push(C)},onNodeDiscarded:C=>this.onNodeDiscarded(C),onBeforeNodeDiscarded:C=>C.getAttribute&&C.getAttribute(J2)!==null?!0:!(C.parentElement!==null&&C.id&&te.isPhxUpdate(C.parentElement,c,[Pg,"append","prepend"])||this.maybePendingRemove(C)||this.skipCIDSibling(C)),onElUpdated:C=>{te.isNowTriggerFormExternal(C,d)&&(S=C),g.push(C),this.maybeReOrderStream(C,!1)},onBeforeElUpdated:(C,$)=>{if(te.maybeAddPrivateHooks($,u,f),te.cleanChildNodes($,c),this.skipCIDSibling($))return this.maybeReOrderStream(C),!1;if(te.isPhxSticky(C))return[tn,ys,vo].map(F=>[F,C.getAttribute(F),$.getAttribute(F)]).forEach(([F,N,ie])=>{ie&&N!==ie&&C.setAttribute(F,ie)}),!1;if(te.isIgnored(C,c)||C.form&&C.form.isSameNode(S))return this.trackBefore("updated",C,$),te.mergeAttrs(C,$,{isIgnored:te.isIgnored(C,c)}),g.push(C),te.applyStickyOperations(C),!1;if(C.type==="number"&&C.validity&&C.validity.badInput)return!1;let j=s&&C.isSameNode(s)&&te.isFormInput(C),le=j&&this.isChangedSelect(C,$);if(C.hasAttribute(Ei)){te.isUploadInput(C)&&(te.mergeAttrs(C,$,{isIgnored:!0}),this.trackBefore("updated",C,$),g.push(C)),te.applyStickyOperations(C);let F=te.private(C,Ei)||C.cloneNode(!0);te.putPrivate(C,Ei,F),j||(C=F)}if(te.isPhxChild($)){let F=C.getAttribute(tn);return te.mergeAttrs(C,$,{exclude:[ys]}),F!==""&&C.setAttribute(tn,F),C.setAttribute(vo,this.rootID),te.applyStickyOperations(C),!1}return te.copyPrivates($,C),j&&C.type!=="hidden"&&!le?(this.trackBefore("updated",C,$),te.mergeFocusedInput(C,$),te.syncAttrsToProps(C),g.push(C),te.applyStickyOperations(C),!1):(le&&C.blur(),te.isPhxUpdate($,c,["append","prepend"])&&x.push(new y8(C,$,$.getAttribute(c))),te.syncAttrsToProps($),te.applyStickyOperations($),this.trackBefore("updated",C,$),C)}})}return this.trackBefore("added",n),this.trackBefore("updated",n,n),i.time("morphdom",()=>{this.streams.forEach(([T,A,I,C])=>{A.forEach(([$,j,le])=>{this.streamInserts[$]={ref:T,streamAt:j,limit:le,reset:C}}),C!==void 0&&te.all(n,`[${Qg}="${T}"]`,$=>{this.removeStreamChildElement($)}),I.forEach($=>{let j=n.querySelector(`[id="${$}"]`);j&&this.removeStreamChildElement(j)})}),t&&te.all(this.container,`[${c}=${Pg}]`,T=>{this.liveSocket.owner(T,A=>{A===this.view&&Array.from(T.children).forEach(I=>{this.removeStreamChildElement(I)})})}),w.call(this,o,r)}),i.isDebugEnabled()&&(c8(),Array.from(document.querySelectorAll("input[name=id]")).forEach(T=>{T.form&&console.error(`Detected an input with name="id" inside a form! This will cause problems when patching the DOM.
`,T)})),x.length>0&&i.time("post-morph append/prepend restoration",()=>{x.forEach(T=>T.perform())}),i.silenceEvents(()=>te.restoreFocus(s,a,l)),te.dispatchEvent(document,"phx:update"),O.forEach(T=>this.trackAfter("added",T)),g.forEach(T=>this.trackAfter("updated",T)),this.transitionPendingRemoves(),S&&(i.unload(),Object.getPrototypeOf(S).submit.call(S)),!0}onNodeDiscarded(t){(te.isPhxChild(t)||te.isPhxSticky(t))&&this.liveSocket.destroyViewByEl(t),this.trackAfter("discarded",t)}maybePendingRemove(t){return t.getAttribute&&t.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(t),!0):!1}removeStreamChildElement(t){this.streamInserts[t.id]?(this.streamComponentRestore[t.id]=t,t.remove()):this.maybePendingRemove(t)||(t.remove(),this.onNodeDiscarded(t))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}setStreamRef(t,e){te.putSticky(t,Qg,i=>i.setAttribute(Qg,e))}maybeReOrderStream(t,e){let{ref:i,streamAt:r,reset:n}=this.getStreamInsert(t);if(r!==void 0&&(this.setStreamRef(t,i),!(!n&&!e)&&t.parentElement)){if(r===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(r>0){let o=Array.from(t.parentElement.children),s=o.indexOf(t);if(r>=o.length-1)t.parentElement.appendChild(t);else{let a=o[r];s>r?t.parentElement.insertBefore(t,a):t.parentElement.insertBefore(t,a.nextElementSibling)}}this.maybeLimitStream(t)}}maybeLimitStream(t){let{limit:e}=this.getStreamInsert(t),i=e!==null&&Array.from(t.parentElement.children);e&&e<0&&i.length>e*-1?i.slice(0,i.length+e).forEach(r=>this.removeStreamChildElement(r)):e&&e>=0&&i.length>e&&i.slice(e).forEach(r=>this.removeStreamChildElement(r))}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&(e.transitionRemoves(t),e.requestDOMUpdate(()=>{t.forEach(i=>{let r=te.firstPhxChild(i);r&&e.destroyViewByEl(r),i.remove()}),this.trackAfter("transitionsDiscarded",t)}))}isChangedSelect(t,e){if(!(t instanceof HTMLSelectElement)||t.multiple)return!1;if(t.options.length!==e.options.length)return!0;let i=t.selectedOptions[0],r=e.selectedOptions[0];return i&&i.hasAttribute("selected")&&r.setAttribute("selected",i.getAttribute("selected")),!t.isEqualNode(e)}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(PS)}targetCIDContainer(t){if(!this.isCIDPatch())return;let[e,...i]=te.findComponentNodeList(this.container,this.targetCID);return i.length===0&&te.childNodeLength(t)===1?e:e&&e.parentNode}indexOf(t,e){return Array.from(t.children).indexOf(e)}},X8=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),R8=new Set(["'",'"']),kS=(t,e,i)=>{let r=0,n=!1,o,s,a,l,c,u,f=t.match(/^(\s*(?:<!--.*?-->\s*)*)<([^\s\/>]+)/);if(f===null)throw new Error(`malformed html ${t}`);for(r=f[0].length,o=f[1],a=f[2],l=r,r;r<t.length&&t.charAt(r)!==">";r++)if(t.charAt(r)==="="){let g=t.slice(r-3,r)===" id";r++;let x=t.charAt(r);if(R8.has(x)){let S=r;for(r++,r;r<t.length&&t.charAt(r)!==x;r++);if(g){c=t.slice(S+1,r);break}}}let d=t.length-1;for(n=!1;d>=o.length+a.length;){let g=t.charAt(d);if(n)g==="-"&&t.slice(d-3,d)==="<!-"?(n=!1,d-=4):d-=1;else if(g===">"&&t.slice(d-2,d)==="--")n=!0,d-=3;else{if(g===">")break;d-=1}}s=t.slice(d+1,t.length);let O=Object.keys(e).map(g=>e[g]===!0?g:`${g}="${e[g]}"`).join(" ");if(i){let g=c?` id="${c}"`:"";X8.has(a)?u=`<${a}${g}${O===""?"":" "}${O}/>`:u=`<${a}${g}${O===""?"":" "}${O}></${a}>`}else{let g=t.slice(l,d+1);u=`<${a}${O===""?"":" "}${O}${g}`}return[u,o,s]},SS=class{static extract(t){let{[cS]:e,[lS]:i,[uS]:r}=t;return delete t[cS],delete t[lS],delete t[uS],{diff:t,title:r,reply:e||null,events:i||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,i]=this.recursiveToString(this.rendered,this.rendered[Ti],t,!0,{});return[e,i]}recursiveToString(t,e=t[Ti],i,r,n){i=i?new Set(i):null;let o={buffer:"",components:e,onlyCids:i,streams:new Set};return this.toOutputBuffer(t,null,o,r,n),[o.buffer,o.streams]}componentCIDs(t){return Object.keys(t[Ti]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[Ti]?Object.keys(t).length===1:!1}getComponent(t,e){return t[Ti][e]}resetRender(t){this.rendered[Ti][t]&&(this.rendered[Ti][t].reset=!0)}mergeDiff(t){let e=t[Ti],i={};if(delete t[Ti],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[Ti]=this.rendered[Ti]||{},e){let r=this.rendered[Ti];for(let n in e)e[n]=this.cachedFindComponent(n,e[n],r,e,i);for(let n in e)r[n]=e[n];t[Ti]=e}}cachedFindComponent(t,e,i,r,n){if(n[t])return n[t];{let o,s,a=e[Jr];if(Tn(a)){let l;a>0?l=this.cachedFindComponent(a,r[a],i,r,n):l=i[-a],s=l[Jr],o=this.cloneMerge(l,e,!0),o[Jr]=s}else o=e[Jr]!==void 0||i[t]===void 0?e:this.cloneMerge(i[t],e,!1);return n[t]=o,o}}mutableMerge(t,e){return e[Jr]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let i in e){let r=e[i],n=t[i];Aa(r)&&r[Jr]===void 0&&Aa(n)?this.doMutableMerge(n,r):t[i]=r}t[$g]&&(t.newRender=!0)}cloneMerge(t,e,i){let r=H(H({},t),e);for(let n in r){let o=e[n],s=t[n];Aa(o)&&o[Jr]===void 0&&Aa(s)?r[n]=this.cloneMerge(s,o,i):o===void 0&&Aa(s)&&(r[n]=this.cloneMerge(s,{},i))}return i?(delete r.magicId,delete r.newRender):t[$g]&&(r.newRender=!0),r}componentToString(t){let[e,i]=this.recursiveCIDToString(this.rendered[Ti],t,null),[r,n,o]=kS(e,{});return[r,i]}pruneCIDs(t){t.forEach(e=>delete this.rendered[Ti][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[Jr]}templateStatic(t,e){return typeof t=="number"?e[t]:t}nextMagicID(){return this.magicId++,`m${this.magicId}-${this.parentViewId()}`}toOutputBuffer(t,e,i,r,n={}){if(t[Eh])return this.comprehensionToBuffer(t,e,i);let{[Jr]:o}=t;o=this.templateStatic(o,e);let s=t[$g],a=i.buffer;s&&(i.buffer=""),r&&s&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),i.buffer+=o[0];for(let l=1;l<o.length;l++)this.dynamicToBuffer(t[l-1],e,i,r),i.buffer+=o[l];if(s){let l=!1,c;r||t.magicId?(l=r&&!t.newRender,c=H({[QS]:t.magicId},n)):c=n,l&&(c[PS]=!0);let[u,f,d]=kS(i.buffer,c,l);t.newRender=!1,i.buffer=a+f+u+d}}comprehensionToBuffer(t,e,i){let{[Eh]:r,[Jr]:n,[fS]:o}=t,[s,a,l,c]=o||[null,{},[],null];n=this.templateStatic(n,e);let u=e||t[a8];for(let f=0;f<r.length;f++){let d=r[f];i.buffer+=n[0];for(let O=1;O<n.length;O++)this.dynamicToBuffer(d[O-1],u,i,!1),i.buffer+=n[O]}o!==void 0&&(t[Eh].length>0||l.length>0||c)&&(delete t[fS],t[Eh]=[],i.streams.add(o))}dynamicToBuffer(t,e,i,r){if(typeof t=="number"){let[n,o]=this.recursiveCIDToString(i.components,t,i.onlyCids);i.buffer+=n,i.streams=new Set([...i.streams,...o])}else Aa(t)?this.toOutputBuffer(t,e,i,r,{}):i.buffer+=t}recursiveCIDToString(t,e,i){let r=t[e]||Hi(`no component for CID ${e}`,t),n={[En]:e},o=i&&!i.has(e);r.newRender=!o,r.magicId=`c${e}-${this.parentViewId()}`;let s=!r.reset,[a,l]=this.recursiveToString(r,t,i,s,n);return delete r.reset,[a,l]}},L8=1,gc=class{static makeID(){return L8++}static elementID(t){return t.phxHookId}constructor(t,e,i){this.__view=t,this.liveSocket=t.liveSocket,this.__callbacks=i,this.__listeners=new Set,this.__isDisconnected=!1,this.el=e,this.el.phxHookId=this.constructor.makeID();for(let r in this.__callbacks)this[r]=this.__callbacks[r]}__mounted(){this.mounted&&this.mounted()}__updated(){this.updated&&this.updated()}__beforeUpdate(){this.beforeUpdate&&this.beforeUpdate()}__destroyed(){this.destroyed&&this.destroyed()}__reconnected(){this.__isDisconnected&&(this.__isDisconnected=!1,this.reconnected&&this.reconnected())}__disconnected(){this.__isDisconnected=!0,this.disconnected&&this.disconnected()}pushEvent(t,e={},i=function(){}){return this.__view.pushHookEvent(this.el,null,t,e,i)}pushEventTo(t,e,i={},r=function(){}){return this.__view.withinTargets(t,(n,o)=>n.pushHookEvent(this.el,o,e,i,r))}handleEvent(t,e){let i=(r,n)=>n?t:e(r.detail);return window.addEventListener(`phx:${t}`,i),this.__listeners.add(i),i}removeHandleEvent(t){let e=t(null,!0);window.removeEventListener(`phx:${e}`,t),this.__listeners.delete(t)}upload(t,e){return this.__view.dispatchUploads(null,t,e)}uploadTo(t,e,i){return this.__view.withinTargets(t,(r,n)=>{r.dispatchUploads(n,e,i)})}__cleanup__(){this.__listeners.forEach(t=>this.removeHandleEvent(t))}},I8=(t,e)=>{let i=t.endsWith("[]"),r=i?t.slice(0,-2):t;return r=r.replace(/([^\[\]]+)(\]?$)/,`${e}$1$2`),i&&(r+="[]"),r},_h=(t,e,i=[])=>{let u=e,{submitter:r}=u,n=pi(u,["submitter"]),o;if(r&&r.name){let f=document.createElement("input");f.type="hidden";let d=r.getAttribute("form");d&&f.setAttribute("form",d),f.name=r.name,f.value=r.value,r.parentElement.insertBefore(f,r),o=f}let s=new FormData(t),a=[];s.forEach((f,d,O)=>{f instanceof File&&a.push(d)}),a.forEach(f=>s.delete(f));let l=new URLSearchParams,c=Array.from(t.elements);for(let[f,d]of s.entries())if(i.length===0||i.indexOf(f)>=0){let O=c.filter(S=>S.name===f),g=!O.some(S=>te.private(S,Xh)||te.private(S,xc)),x=O.every(S=>S.type==="hidden");g&&!(r&&r.name==f)&&!x&&l.append(I8(f,"_unused_"),""),l.append(f,d)}r&&o&&r.parentElement.removeChild(o);for(let f in n)l.append(f,n[f]);return l.toString()},XS=class{constructor(t,e,i,r,n){this.isDead=!1,this.liveSocket=e,this.flash=r,this.parent=i,this.root=i?i.root:this,this.el=t,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pendingForms=new Set,this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.formsForRecovery={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>{let o=this.href&&this.expandURL(this.href);return{redirect:this.redirect?o:void 0,url:this.redirect?void 0:o||void 0,params:this.connectParams(n),session:this.getSession(),static:this.getStatic(),flash:this.flash}})}setHref(t){this.href=t}setRedirect(t){this.redirect=!0,this.href=t}isMain(){return this.el.hasAttribute(zg)}connectParams(t){let e=this.liveSocket.params(this.el),i=te.all(document,`[${this.binding(B7)}]`).map(r=>r.src||r.href).filter(r=>typeof r=="string");return i.length>0&&(e._track_static=i),e._mounts=this.joinCount,e._live_referer=t,e}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(tn)}getStatic(){let t=this.el.getAttribute(ys);return t===""?null:t}destroy(t=function(){}){this.destroyAllChildren(),this.destroyed=!0,delete this.root.children[this.id],this.parent&&delete this.root.children[this.parent.id][this.id],clearTimeout(this.loaderTimer);let e=()=>{t();for(let i in this.viewHooks)this.destroyHook(this.viewHooks[i])};te.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",e).receive("error",e).receive("timeout",e)}setContainerClasses(...t){this.el.classList.remove(tS,uc,kh,iS,Tg),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(uc)}}execAll(t){te.all(this.el,`[${t}]`,e=>this.liveSocket.execJS(e,e.getAttribute(t)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(tS),this.execAll(this.binding("connected"))}triggerReconnected(){for(let t in this.viewHooks)this.viewHooks[t].__reconnected()}log(t,e){this.liveSocket.log(this,t,e)}transition(t,e,i=function(){}){this.liveSocket.transition(t,e,i)}withinTargets(t,e,i=document,r){if(t instanceof HTMLElement||t instanceof SVGElement)return this.liveSocket.owner(t,n=>e(n,t));if(Tn(t))te.findComponentNodeList(r||this.el,t).length===0?Hi(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let n=Array.from(i.querySelectorAll(t));n.length===0&&Hi(`nothing found matching the phx-target selector "${t}"`),n.forEach(o=>this.liveSocket.owner(o,s=>e(s,o)))}}applyDiff(t,e,i){this.log(t,()=>["",Ah(e)]);let{diff:r,reply:n,events:o,title:s}=SS.extract(e);i({diff:r,reply:n,events:o}),typeof s=="string"&&window.requestAnimationFrame(()=>te.putTitle(s))}onJoin(t){let{rendered:e,container:i,liveview_version:r}=t;if(i){let[n,o]=i;this.el=te.replaceRootContainer(this.el,n,o)}this.childJoins=0,this.joinPending=!0,this.flash=null,this.root===this&&(this.formsForRecovery=this.getFormsForRecovery()),r!==this.liveSocket.version()&&console.error(`LiveView asset version mismatch. JavaScript version ${this.liveSocket.version()} vs. server ${r}. To avoid issues, please ensure that your assets use the same version as the server.`),en.dropLocal(this.liveSocket.localStorage,window.location.pathname,TS),this.applyDiff("mount",e,({diff:n,events:o})=>{this.rendered=new SS(this.id,n);let[s,a]=this.renderContainer(null,"join");this.dropPendingRefs(),this.joinCount++,this.maybeRecoverForms(s,()=>{this.onJoinComplete(t,s,a,o)})})}dropPendingRefs(){te.all(document,`[${gs}="${this.id}"][${Ei}]`,t=>{t.removeAttribute(Ei),t.removeAttribute(gs)})}onJoinComplete({live_patch:t},e,i,r){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(t,e,i,r);te.findPhxChildrenInFragment(e,this.id).filter(o=>{let s=o.id&&this.el.querySelector(`[id="${o.id}"]`),a=s&&s.getAttribute(ys);return a&&o.setAttribute(ys,a),s&&s.setAttribute(vo,this.root.id),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,i,r)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(t,e,i,r)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,i,r)])}attachTrueDocEl(){this.el=te.byId(this.id),this.el.setAttribute(vo,this.root.id)}execNewMounted(t=this.el){let e=this.binding(Rg),i=this.binding(Lg);te.all(t,`[${e}], [${i}]`,r=>{this.ownsElement(r)&&(te.maybeAddPrivateHooks(r,e,i),this.maybeAddNewHook(r))}),te.all(t,`[${this.binding(fc)}], [data-phx-${fc}]`,r=>{this.ownsElement(r)&&this.maybeAddNewHook(r)}),te.all(t,`[${this.binding(sS)}]`,r=>{this.ownsElement(r)&&this.maybeMounted(r)})}applyJoinPatch(t,e,i,r){this.attachTrueDocEl();let n=new Ch(this,this.el,this.id,e,i,null);if(n.markPrunableContentForRemoval(),this.performPatch(n,!1,!0),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(r),this.applyPendingUpdates(),t){let{kind:o,to:s}=t;this.liveSocket.historyPatch(s,o)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(t,e){this.liveSocket.triggerDOM("onBeforeElUpdated",[t,e]);let i=this.getHook(t),r=i&&te.isIgnored(t,this.binding(bc));if(i&&!t.isEqualNode(e)&&!(r&&f8(t.dataset,e.dataset)))return i.__beforeUpdate(),i}maybeMounted(t){let e=t.getAttribute(this.binding(sS)),i=e&&te.private(t,"mounted");e&&!i&&(this.liveSocket.execJS(t,e),te.putPrivate(t,"mounted",!0))}maybeAddNewHook(t,e){let i=this.addHook(t);i&&i.__mounted()}performPatch(t,e,i=!1){let r=[],n=!1,o=new Set;return this.liveSocket.triggerDOM("onPatchStart",[t.targetContainer]),t.after("added",s=>{this.liveSocket.triggerDOM("onNodeAdded",[s]);let a=this.binding(Rg),l=this.binding(Lg);te.maybeAddPrivateHooks(s,a,l),this.maybeAddNewHook(s),s.getAttribute&&this.maybeMounted(s)}),t.after("phxChildAdded",s=>{te.isPhxSticky(s)?this.liveSocket.joinRootViews():n=!0}),t.before("updated",(s,a)=>{this.triggerBeforeUpdateHook(s,a)&&o.add(s.id)}),t.after("updated",s=>{o.has(s.id)&&this.getHook(s).__updated()}),t.after("discarded",s=>{s.nodeType===Node.ELEMENT_NODE&&r.push(s)}),t.after("transitionsDiscarded",s=>this.afterElementsRemoved(s,e)),t.perform(i),this.afterElementsRemoved(r,e),this.liveSocket.triggerDOM("onPatchEnd",[t.targetContainer]),n}afterElementsRemoved(t,e){let i=[];t.forEach(r=>{let n=te.all(r,`[${En}]`),o=te.all(r,`[${this.binding(fc)}]`);n.concat(r).forEach(s=>{let a=this.componentID(s);Tn(a)&&i.indexOf(a)===-1&&i.push(a)}),o.concat(r).forEach(s=>{let a=this.getHook(s);a&&this.destroyHook(a)})}),e&&this.maybePushComponentsDestroyed(i)}joinNewChildren(){te.findPhxChildren(this.el,this.id).forEach(t=>this.joinChild(t))}maybeRecoverForms(t,e){let i=this.binding("change"),r=this.root.formsForRecovery,n=document.createElement("template");n.innerHTML=t;let o=n.content.firstElementChild;o.id=this.id,o.setAttribute(vo,this.root.id),o.setAttribute(tn,this.getSession()),o.setAttribute(ys,this.getStatic()),o.setAttribute(xs,this.parent?this.parent.id:null);let s=te.all(n.content,"form").filter(a=>a.id&&r[a.id]).filter(a=>!this.pendingForms.has(a.id)).filter(a=>r[a.id].getAttribute(i)===a.getAttribute(i)).map(a=>[r[a.id],a]);if(s.length===0)return e();s.forEach(([a,l],c)=>{this.pendingForms.add(l.id),this.pushFormRecovery(a,l,n.content.firstElementChild,()=>{this.pendingForms.delete(l.id),c===s.length-1&&e()})})}getChildById(t){return this.root.children[this.id][t]}getDescendentByEl(t){return t.id===this.id?this:this.children[t.getAttribute(xs)][t.id]}destroyDescendent(t){for(let e in this.root.children)for(let i in this.root.children[e])if(i===t)return this.root.children[e][i].destroy()}joinChild(t){if(!this.getChildById(t.id)){let i=new XS(t,this.liveSocket,this);return this.root.children[this.id][i.id]=i,i.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(t){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.pendingForms.clear(),this.formsForRecovery={},this.joinCallback(()=>{this.pendingJoinOps.forEach(([t,e])=>{t.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(t,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:t,events:e});this.rendered.mergeDiff(t);let i=!1;this.rendered.isComponentOnlyDiff(t)?this.liveSocket.time("component patch complete",()=>{te.findExistingParentCIDs(this.el,this.rendered.componentCIDs(t)).forEach(n=>{this.componentPatch(this.rendered.getComponent(t,n),n)&&(i=!0)})}):hS(t)||this.liveSocket.time("full patch complete",()=>{let[r,n]=this.renderContainer(t,"update"),o=new Ch(this,this.el,this.id,r,n,null);i=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),i&&this.joinNewChildren()}renderContainer(t,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let i=this.el.tagName,r=t?this.rendered.componentCIDs(t):null,[n,o]=this.rendered.toString(r);return[`<${i}>${n}</${i}>`,o]})}componentPatch(t,e){if(hS(t))return!1;let[i,r]=this.rendered.componentToString(e),n=new Ch(this,this.el,this.id,i,r,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[gc.elementID(t)]}addHook(t){if(gc.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${fc}`)||t.getAttribute(this.binding(fc));if(e&&!this.ownsElement(t))return;let i=this.liveSocket.getHookCallbacks(e);if(i){t.id||Hi(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let r=new gc(this,t,i);return this.viewHooks[gc.elementID(r.el)]=r,r}else e!==null&&Hi(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[gc.elementID(t.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:t,events:e})=>this.update(t,e)),this.pendingDiffs=[],this.eachChild(t=>t.applyPendingUpdates())}eachChild(t){let e=this.root.children[this.id]||{};for(let i in e)t(this.getChildById(i))}onChannel(t,e){this.liveSocket.onChannel(this.channel,t,i=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(i)]):this.liveSocket.requestDOMUpdate(()=>e(i))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",t=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",t,({diff:e,events:i})=>this.update(e,i))})}),this.onChannel("redirect",({to:t,flash:e})=>this.onRedirect({to:t,flash:e})),this.onChannel("live_patch",t=>this.onLivePatch(t)),this.onChannel("live_redirect",t=>this.onLiveRedirect(t)),this.channel.onError(t=>this.onError(t)),this.channel.onClose(t=>this.onClose(t))}destroyAllChildren(){this.eachChild(t=>t.destroy())}onLiveRedirect(t){let{to:e,kind:i,flash:r}=t,n=this.expandURL(e);this.liveSocket.historyRedirect(n,i,r)}onLivePatch(t){let{to:e,kind:i}=t;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,i)}expandURL(t){return t.startsWith("/")?`${window.location.protocol}//${window.location.host}${t}`:t}onRedirect({to:t,flash:e}){this.liveSocket.redirect(t,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(t){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},t?t(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(t){if(t.reason==="reload"){this.log("error",()=>[`failed mount with ${t.status}. Falling back to page request`,t]),this.isMain()&&this.onRedirect({to:this.href});return}else if(t.reason==="unauthorized"||t.reason==="stale"){this.log("error",()=>["unauthorized live_redirect. Falling back to page request",t]),this.isMain()&&this.onRedirect({to:this.href});return}if((t.redirect||t.live_redirect)&&(this.joinPending=!1,this.channel.leave()),t.redirect)return this.onRedirect(t.redirect);if(t.live_redirect)return this.onLiveRedirect(t.live_redirect);this.displayError([uc,kh,Tg]),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(r8)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([uc,kh,Tg]):this.displayError([uc,kh,iS]))}displayError(t){this.isMain()&&te.dispatchEvent(window,"phx:page-loading-start",{detail:{to:this.href,kind:"error"}}),this.showLoader(),this.setContainerClasses(...t),this.execAll(this.binding("disconnected"))}pushWithReply(t,e,i,r=function(){}){if(!this.isConnected())return;let[n,[o],s]=t?t():[null,[],{}],a=function(){};return(s.page_loading||o&&o.getAttribute(this.binding(eS))!==null)&&(a=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof i.cid!="number"&&delete i.cid,this.liveSocket.wrapPush(this,{timeout:!0},()=>this.channel.push(e,i,o8).receive("ok",l=>{let c=u=>{l.redirect&&this.onRedirect(l.redirect),l.live_patch&&this.onLivePatch(l.live_patch),l.live_redirect&&this.onLiveRedirect(l.live_redirect),a(),r(l,u)};l.diff?this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",l.diff,({diff:u,reply:f,events:d})=>{n!==null&&this.undoRefs(n),this.update(u,d),c(f)})}):(n!==null&&this.undoRefs(n),c(null))}))}undoRefs(t,e){e=e?new Set(e):null,this.isConnected()&&te.all(document,`[${gs}="${this.id}"][${Ei}="${t}"]`,i=>{e&&!e.has(i)||this.undoElRef(i,t)})}undoElRef(t,e){if(!(parseInt(t.getAttribute(Ei),10)<=e))return;t.dispatchEvent(new CustomEvent("phx:unlock",{bubbles:!0,cancelable:!1}));let i=t.getAttribute($a),r=t.getAttribute(Eg);t.removeAttribute(Ei),t.removeAttribute(gs),r!==null&&(t.readOnly=r==="true",t.removeAttribute(Eg)),i!==null&&(t.disabled=i==="true",t.removeAttribute($a)),Z7.forEach(s=>te.removeClass(t,s));let n=t.getAttribute(Sh);n!==null&&(t.innerText=n,t.removeAttribute(Sh));let o=te.private(t,Ei);if(o){let s=this.triggerBeforeUpdateHook(t,o);Ch.patchWithClonedTree(t,o,this.liveSocket),te.all(t,`[${gs}="${this.id}"][${Ei}]`,a=>this.undoElRef(a,e)),this.execNewMounted(t),s&&s.__updated(),te.deletePrivate(t,Ei)}}putRef(t,e,i={}){let r=this.ref++,n=this.binding(nS);i.loading&&(t=t.concat(te.all(document,i.loading)));for(let o of t){if(o.setAttribute(Ei,r),o.setAttribute(gs,this.el.id),i.submitter&&!(o===i.submitter||o===i.form))continue;o.classList.add(`phx-${e}-loading`),o.dispatchEvent(new CustomEvent(`phx:${e}-loading`,{bubbles:!0,cancelable:!1}));let s=o.getAttribute(n);s!==null&&(o.getAttribute(Sh)||o.setAttribute(Sh,o.innerText),s!==""&&(o.innerText=s),o.setAttribute($a,o.getAttribute($a)||o.disabled),o.setAttribute("disabled",""))}return[r,t,i]}componentID(t){let e=t.getAttribute&&t.getAttribute(En);return e?parseInt(e):null}targetComponentID(t,e,i={}){if(Tn(e))return e;let r=i.target||t.getAttribute(this.binding("target"));return Tn(r)?parseInt(r):e&&(r!==null||i.target)?this.closestComponentID(e):null}closestComponentID(t){return Tn(t)?t:t?xo(t.closest(`[${En}]`),e=>this.ownsElement(e)&&this.componentID(e)):null}pushHookEvent(t,e,i,r,n){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",i,r]),!1;let[o,s,a]=this.putRef([t],"hook");return this.pushWithReply(()=>[o,s,a],"event",{type:"hook",event:i,value:r,cid:this.closestComponentID(e)},(l,c)=>n(c,o)),o}extractMeta(t,e,i){let r=this.binding("value-");for(let n=0;n<t.attributes.length;n++){e||(e={});let o=t.attributes[n].name;o.startsWith(r)&&(e[o.replace(r,"")]=t.getAttribute(o))}if(t.value!==void 0&&!(t instanceof HTMLFormElement)&&(e||(e={}),e.value=t.value,t.tagName==="INPUT"&&CS.indexOf(t.type)>=0&&!t.checked&&delete e.value),i){e||(e={});for(let n in i)e[n]=i[n]}return e}pushEvent(t,e,i,r,n,o={},s){this.pushWithReply(()=>this.putRef([e],t,o),"event",{type:t,event:r,value:this.extractMeta(e,n,o.value),cid:this.targetComponentID(e,i,o)},(a,l)=>s&&s(l))}pushFileProgress(t,e,i,r=function(){}){this.liveSocket.withinOwners(t.form,(n,o)=>{n.pushWithReply(null,"progress",{event:t.getAttribute(n.binding(t8)),ref:t.getAttribute(Pn),entry_ref:e,progress:i,cid:n.targetComponentID(t.form,o)},r)})}pushInput(t,e,i,r,n,o){let s,a=Tn(i)?i:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t instanceof HTMLButtonElement&&(u.submitter=t),t.getAttribute(this.binding("change"))?c=_h(t.form,H({_target:n._target},u),[t.name]):c=_h(t.form,H({_target:n._target},u)),te.isUploadInput(t)&&t.files&&t.files.length>0&&Wt.trackFiles(t,Array.from(t.files)),s=Wt.serializeUploads(t);let f={type:"form",event:r,value:c,uploads:s,cid:a};this.pushWithReply(l,"event",f,d=>{if(te.isUploadInput(t)&&te.isAutoUpload(t)){if(Wt.filesAwaitingPreflight(t).length>0){let[O,g]=l();this.undoRefs(O,[t.form]),this.uploadFiles(t.form,e,O,a,x=>{o&&o(d),this.triggerAwaitingSubmit(t.form),this.undoRefs(O)})}}else o&&o(d)})}triggerAwaitingSubmit(t){let e=this.getScheduledSubmit(t);if(e){let[i,r,n,o]=e;this.cancelSubmit(t),o()}}getScheduledSubmit(t){return this.formSubmits.find(([e,i,r,n])=>e.isSameNode(t))}scheduleSubmit(t,e,i,r){if(this.getScheduledSubmit(t))return!0;this.formSubmits.push([t,e,i,r])}cancelSubmit(t){this.formSubmits=this.formSubmits.filter(([e,i,r])=>e.isSameNode(t)?(this.undoRefs(i),!1):!0)}disableForm(t,e={}){let i=u=>!(yc(u,`${this.binding(bc)}=ignore`,u.form)||yc(u,"data-phx-update=ignore",u.form)),r=u=>u.hasAttribute(this.binding(nS)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),s=Array.from(t.elements),a=s.filter(r),l=s.filter(n).filter(i),c=s.filter(o).filter(i);return l.forEach(u=>{u.setAttribute($a,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(Eg,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute($a,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(eS),""),this.putRef([t].concat(a).concat(l).concat(c),"submit",e)}pushFormSubmit(t,e,i,r,n,o){let s=()=>this.disableForm(t,Pe(H({},n),{form:t,submitter:r})),a=this.targetComponentID(t,e);if(Wt.hasUploadsInProgress(t)){let[l,c]=s(),u=()=>this.pushFormSubmit(t,e,i,r,n,o);return this.scheduleSubmit(t,l,n,u)}else if(Wt.inputsAwaitingPreflight(t).length>0){let[l,c]=s(),u=()=>[l,c,n];this.uploadFiles(t,e,l,a,f=>{if(Wt.inputsAwaitingPreflight(t).length>0)return this.undoRefs(l);let d=this.extractMeta(t),O=_h(t,H({submitter:r},d));this.pushWithReply(u,"event",{type:"form",event:i,value:O,cid:a},o)})}else if(!(t.hasAttribute(Ei)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=_h(t,H({submitter:r},l));this.pushWithReply(s,"event",{type:"form",event:i,value:c,cid:a},o)}}uploadFiles(t,e,i,r,n){let o=this.joinCount,s=Wt.activeFileInputs(t),a=s.length;s.forEach(l=>{let c=new Wt(l,this,()=>{a--,a===0&&n()}),u=c.entries().map(d=>d.toPreflightPayload());if(u.length===0){a--;return}let f={ref:l.getAttribute(Pn),entries:u,cid:this.targetComponentID(l.form,e)};this.log("upload",()=>["sending preflight request",f]),this.pushWithReply(null,"allow_upload",f,d=>{if(this.log("upload",()=>["got preflight response",d]),c.entries().forEach(O=>{d.entries&&!d.entries[O.ref]&&this.handleFailedEntryPreflight(O.ref,"failed preflight",c)}),d.error||Object.keys(d.entries).length===0)this.undoRefs(i),(d.error||[]).map(([g,x])=>{this.handleFailedEntryPreflight(g,x,c)});else{let O=g=>{this.channel.onError(()=>{this.joinCount===o&&g()})};c.initAdapterUpload(d,O,this.liveSocket)}})})}handleFailedEntryPreflight(t,e,i){if(i.isAutoUpload()){let r=i.entries().find(n=>n.ref===t.toString());r&&r.cancel()}else i.entries().map(r=>r.cancel());this.log("upload",()=>[`error for entry ${t}`,e])}dispatchUploads(t,e,i){let r=this.targetCtxElement(t)||this.el,n=te.findUploadInputs(r).filter(o=>o.name===e);n.length===0?Hi(`no live file inputs found matching the name "${e}"`):n.length>1?Hi(`duplicate live file inputs found matching the name "${e}"`):te.dispatchEvent(n[0],ES,{detail:{files:i}})}targetCtxElement(t){if(Tn(t)){let[e]=te.findComponentNodeList(this.el,t);return e}else return t||null}pushFormRecovery(t,e,i,r){let n=this.binding("change"),o=e.getAttribute(this.binding("target"))||e,s=e.getAttribute(this.binding(oS))||e.getAttribute(this.binding("change")),a=Array.from(t.elements).filter(u=>te.isFormInput(u)&&u.name&&!u.hasAttribute(n));if(a.length===0)return;a.forEach(u=>u.hasAttribute(Pn)&&Wt.clearFiles(u));let l=a.find(u=>u.type!=="hidden")||a[0],c=0;this.withinTargets(o,(u,f)=>{let d=this.targetComponentID(e,f);c++,u.pushInput(l,f,d,s,{_target:l.name},()=>{c--,c===0&&r()})},i,i)}pushLinkPatch(t,e,i){let r=this.liveSocket.setPendingLink(t),n=e?()=>this.putRef([e],"click"):null,o=()=>this.liveSocket.redirect(window.location.href),s=t.startsWith("/")?`${location.protocol}//${location.host}${t}`:t,a=this.pushWithReply(n,"live_patch",{url:s},l=>{this.liveSocket.requestDOMUpdate(()=>{l.link_redirect?this.liveSocket.replaceMain(t,null,i,r):(this.liveSocket.commitPendingLink(r)&&(this.href=t),this.applyPendingUpdates(),i&&i(r))})});a?a.receive("timeout",o):o()}getFormsForRecovery(){if(this.joinCount===0)return{};let t=this.binding("change");return te.all(this.el,`form[${t}]`).filter(e=>e.id).filter(e=>e.elements.length>0).filter(e=>e.getAttribute(this.binding(oS))!=="ignore").map(e=>e.cloneNode(!0)).reduce((e,i)=>(e[i.id]=i,e),{})}maybePushComponentsDestroyed(t){let e=t.filter(i=>te.findComponentNodeList(this.el,i).length===0);e.length>0&&(e.forEach(i=>this.rendered.resetRender(i)),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.liveSocket.requestDOMUpdate(()=>{let i=e.filter(r=>te.findComponentNodeList(this.el,r).length===0);i.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:i},r=>{this.rendered.pruneCIDs(r.cids)})})}))}ownsElement(t){let e=t.closest(Ra);return t.getAttribute(xs)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(t,e,i,r,n={}){te.putPrivate(t,xc,!0),Array.from(t.elements).forEach(s=>te.putPrivate(s,xc,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,i,r,n,()=>{this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}};var RS=class{constructor(t,e,i={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(`
a phoenix Socket must be provided as the second argument to the LiveSocket constructor. For example:
import {Socket} from "phoenix"
import {LiveSocket} from "phoenix_live_view"
let liveSocket = new LiveSocket("/live", Socket, {...})
`);this.socket=new e(t,i),this.bindingPrefix=i.bindingPrefix||n8,this.opts=i,this.params=Oc(i.params||{}),this.viewLogger=i.viewLogger,this.metadataCallbacks=i.metadata||{},this.defaults=Object.assign(Ah(s8),i.defaults||{}),this.activeElement=null,this.prevActive=null,this.silenced=!1,this.main=null,this.outgoingMainEl=null,this.clickStartedAtTarget=null,this.linkRef=1,this.roots={},this.href=window.location.href,this.pendingLink=null,this.currentLocation=Ah(window.location),this.hooks=i.hooks||{},this.uploaders=i.uploaders||{},this.loaderTimeout=i.loaderTimeout||i8,this.reloadWithJitterTimer=null,this.maxReloads=i.maxReloads||q7,this.reloadJitterMin=i.reloadJitterMin||j7,this.reloadJitterMax=i.reloadJitterMax||W7,this.failsafeJitter=i.failsafeJitter||V7,this.localStorage=i.localStorage||window.localStorage,this.sessionStorage=i.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.boundEventNames=new Set,this.serverCloseRef=null,this.domCallbacks=Object.assign({onPatchStart:Oc(),onPatchEnd:Oc(),onNodeAdded:Oc(),onBeforeElUpdated:Oc()},i.dom||{}),this.transitions=new z8,window.addEventListener("pagehide",r=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}version(){return"1.0.0-rc.5"}isProfileEnabled(){return this.sessionStorage.getItem(Cg)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Th)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Th)==="false"}enableDebug(){this.sessionStorage.setItem(Th,"true")}enableProfiling(){this.sessionStorage.setItem(Cg,"true")}disableDebug(){this.sessionStorage.setItem(Th,"false")}disableProfiling(){this.sessionStorage.removeItem(Cg)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(_g,t)}disableLatencySim(){this.sessionStorage.removeItem(_g)}getLatencySim(){let t=this.sessionStorage.getItem(_g);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?t():document.addEventListener("DOMContentLoaded",()=>t())}disconnect(t){clearTimeout(this.reloadWithJitterTimer),this.serverCloseRef&&(this.socket.off(this.serverCloseRef),this.serverCloseRef=null),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,i=null){this.owner(t,r=>$r.exec(i,e,r,t))}execJSHookPush(t,e,i,r){this.withinOwners(t,n=>{$r.exec("hook",e,n,t,["push",{data:i,callback:r}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(t,e){this.domCallbacks[t](...e)}time(t,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(t);let i=e();return console.timeEnd(t),i}log(t,e,i){if(this.viewLogger){let[r,n]=i();this.viewLogger(t,e,r,n)}else if(this.isDebugEnabled()){let[r,n]=i();u8(t,e,r,n)}}requestDOMUpdate(t){this.transitions.after(t)}transition(t,e,i=function(){}){this.transitions.addTransition(t,e,i)}onChannel(t,e,i){t.on(e,r=>{let n=this.getLatencySim();n?setTimeout(()=>i(r),n):i(r)})}wrapPush(t,e,i){let r=this.getLatencySim(),n=t.joinCount;if(!r)return this.isConnected()&&e.timeout?i().receive("timeout",()=>{t.joinCount===n&&!t.isDestroyed()&&this.reloadWithJitter(t,()=>{this.log(t,"timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}):i();let o={receives:[],receive(s,a){this.receives.push([s,a])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((s,[a,l])=>s.receive(a,l),i())},r),o}reloadWithJitter(t,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let i=this.reloadJitterMin,r=this.reloadJitterMax,n=Math.floor(Math.random()*(r-i+1))+i,o=en.updateLocal(this.localStorage,window.location.pathname,TS,0,s=>s+1);o>this.maxReloads&&(n=this.failsafeJitter),this.reloadWithJitterTimer=setTimeout(()=>{t.isDestroyed()||t.isConnected()||(t.destroy(),e?e():this.log(t,"join",()=>[`encountered ${o} consecutive reloads`]),o>this.maxReloads&&this.log(t,"join",()=>[`exceeded ${this.maxReloads} consecutive reloads. Entering failsafe mode`]),this.hasPendingLink()?window.location=this.pendingLink:window.location.reload())},n)}getHookCallbacks(t){return t&&t.startsWith("Phoenix.")?b8[t.split(".")[1]]:this.hooks[t]}isUnloaded(){return this.unloaded}isConnected(){return this.socket.isConnected()}getBindingPrefix(){return this.bindingPrefix}binding(t){return`${this.getBindingPrefix()}${t}`}channel(t,e){return this.socket.channel(t,e)}joinDeadView(){let t=document.body;if(t&&!this.isPhxView(t)&&!this.isPhxView(document.firstElementChild)){let e=this.newRootView(t);e.setHref(this.getHref()),e.joinDead(),this.main||(this.main=e),window.requestAnimationFrame(()=>e.execNewMounted())}}joinRootViews(){let t=!1;return te.all(document,`${Ra}:not([${xs}])`,e=>{if(!this.getRootById(e.id)){let i=this.newRootView(e);i.setHref(this.getHref()),i.join(),e.hasAttribute(zg)&&(this.main=i)}t=!0}),t}redirect(t,e){this.unload(),en.redirect(t,e)}replaceMain(t,e,i=null,r=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=te.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,n),this.main.setRedirect(t),this.transitionRemoves(null,!0),this.main.join((s,a)=>{s===1&&this.commitPendingLink(r)&&this.requestDOMUpdate(()=>{te.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,i&&i(r),a()})})}transitionRemoves(t,e){let i=this.binding("remove");if(t=t||te.all(document,`[${i}]`),e){let r=te.findPhxSticky(document)||[];t=t.filter(n=>!te.isChildOfAny(n,r))}t.forEach(r=>{for(let n of this.boundEventNames)r.addEventListener(n,o=>{o.preventDefault(),o.stopImmediatePropagation()},!0);this.execJS(r,r.getAttribute(i),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(tn)!==null}newRootView(t,e,i){let r=new XS(t,this,null,e,i);return this.roots[r.id]=r,r}owner(t,e){let i=xo(t.closest(Ra),r=>this.getViewByEl(r))||this.main;i&&e(i)}withinOwners(t,e){this.owner(t,i=>e(i,t))}getViewByEl(t){let e=t.getAttribute(vo);return xo(this.getRootById(e),i=>i.getDescendentByEl(t))}getRootById(t){return this.roots[t]}destroyAllViews(){for(let t in this.roots)this.roots[t].destroy(),delete this.roots[t];this.main=null}destroyViewByEl(t){let e=this.getRootById(t.getAttribute(vo));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}setActiveElement(t){if(this.activeElement===t)return;this.activeElement=t;let e=()=>{t===this.activeElement&&(this.activeElement=null),t.removeEventListener("mouseup",this),t.removeEventListener("touchend",this)};t.addEventListener("mouseup",e),t.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(t){this.prevActive&&t.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:t}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.serverCloseRef=this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),t||this.bindNav(),this.bindClicks(),t||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,i,r,n,o,s)=>{let a=n.getAttribute(this.binding(e8)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=H({key:e.key},this.eventMeta(i,e,n));$r.exec(i,o,r,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,i,r,n,o,s)=>{if(!s){let a=H({key:e.key},this.eventMeta(i,e,n));$r.exec(i,o,r,n,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,i,r,n,o,s)=>{if(s==="window"){let a=this.eventMeta(i,e,n);$r.exec(i,o,r,n,["push",{data:a}])}}),this.on("dragover",e=>e.preventDefault()),this.on("drop",e=>{e.preventDefault();let i=xo(yc(e.target,this.binding(K2)),o=>o.getAttribute(this.binding(K2))),r=i&&document.getElementById(i),n=Array.from(e.dataTransfer.files||[]);!r||r.disabled||n.length===0||!(r.files instanceof FileList)||(Wt.trackFiles(r,n,e.dataTransfer),r.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(ES,e=>{let i=e.target;if(!te.isUploadInput(i))return;let r=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);Wt.trackFiles(i,r),i.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(t,e,i){let r=this.metadataCallbacks[t];return r?r(e,i):{}}setPendingLink(t){return this.linkRef++,this.pendingLink=t,this.linkRef}commitPendingLink(t){return this.linkRef!==t?!1:(this.href=this.pendingLink,this.pendingLink=null,!0)}getHref(){return this.href}hasPendingLink(){return!!this.pendingLink}bind(t,e){for(let i in t){let r=t[i];this.on(r,n=>{let o=this.binding(i),s=this.binding(`window-${i}`),a=n.target.getAttribute&&n.target.getAttribute(o);a?this.debounce(n.target,n,r,()=>{this.withinOwners(n.target,l=>{e(n,i,l,n.target,a,null)})}):te.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,n,r,()=>{this.withinOwners(l,u=>{e(n,i,u,l,c,"window")})})})})}}bindClicks(){this.on("mousedown",t=>this.clickStartedAtTarget=t.target),this.bindClick("click","click")}bindClick(t,e){let i=this.binding(e);window.addEventListener(t,r=>{let n=null;r.detail===0&&(this.clickStartedAtTarget=r.target);let o=this.clickStartedAtTarget||r.target;n=yc(o,i),this.dispatchClickAway(r,o),this.clickStartedAtTarget=null;let s=n&&n.getAttribute(i);if(!s){te.isNewPageClick(r,window.location)&&this.unload();return}n.getAttribute("href")==="#"&&r.preventDefault(),!n.hasAttribute(Ei)&&this.debounce(n,r,"click",()=>{this.withinOwners(n,a=>{$r.exec("click",s,a,n,["push",{data:this.eventMeta("click",r,n)}])})})},!1)}dispatchClickAway(t,e){let i=this.binding("click-away");te.all(document,`[${i}]`,r=>{r.isSameNode(e)||r.contains(e)||this.withinOwners(r,n=>{let o=r.getAttribute(i);$r.isVisible(r)&&$r.isInViewport(r)&&$r.exec("click",o,n,r,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!en.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{en.updateCurrentState(i=>Object.assign(i,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:i,id:r,root:n,scroll:o}=e.state||{},s=window.location.href;te.dispatchEvent(window,"phx:navigate",{detail:{href:s,patch:i==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&i==="patch"&&r===this.main.id?this.main.pushLinkPatch(s,null,()=>{this.maybeScroll(o)}):this.replaceMain(s,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let i=yc(e.target,Sg),r=i&&i.getAttribute(Sg);if(!r||!this.isConnected()||!this.main||te.wantsNewTab(e))return;let n=i.href instanceof SVGAnimatedString?i.href.baseVal:i.href,o=i.getAttribute(Y7);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(r==="patch")this.pushHistoryPatch(n,o,i);else if(r==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${Sg} to be "patch" or "redirect", got: ${r}`);let s=i.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(i,s,"click"))})},!1)}maybeScroll(t){typeof t=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,t)})}dispatchEvent(t,e={}){te.dispatchEvent(window,`phx:${t}`,{detail:e})}dispatchEvents(t){t.forEach(([e,i])=>this.dispatchEvent(e,i))}withPageLoading(t,e){te.dispatchEvent(window,"phx:page-loading-start",{detail:t});let i=()=>te.dispatchEvent(window,"phx:page-loading-stop",{detail:t});return e?e(i):i}pushHistoryPatch(t,e,i){if(!this.isConnected()||!this.main.isMain())return en.redirect(t);this.withPageLoading({to:t,kind:"patch"},r=>{this.main.pushLinkPatch(t,i,n=>{this.historyPatch(t,e,n),r()})})}historyPatch(t,e,i=this.setPendingLink(t)){this.commitPendingLink(i)&&(en.pushState(e,{type:"patch",id:this.main.id},t),te.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,i){if(!this.isConnected()||!this.main.isMain())return en.redirect(t,i);if(/^\/$|^\/[^\/]+.*$/.test(t)){let{protocol:n,host:o}=window.location;t=`${n}//${o}${t}`}let r=window.scrollY;this.withPageLoading({to:t,kind:"redirect"},n=>{this.replaceMain(t,i,o=>{o===this.linkRef&&(en.pushState(e,{type:"redirect",id:this.main.id,scroll:r},t),te.dispatchEvent(window,"phx:navigate",{detail:{href:t,patch:!1,pop:!1}}),this.registerNewLocation(window.location)),n()})})}replaceRootHistory(){en.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(t){let{pathname:e,search:i}=this.currentLocation;return e+i===t.pathname+t.search?!1:(this.currentLocation=Ah(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",i=>{let r=i.target.getAttribute(this.binding("submit")),n=i.target.getAttribute(this.binding("change"));!e&&n&&!r&&(e=!0,i.preventDefault(),this.withinOwners(i.target,o=>{o.disableForm(i.target),window.requestAnimationFrame(()=>{te.isUnloadableFormSubmit(i)&&this.unload(),i.target.submit()})}))}),this.on("submit",i=>{let r=i.target.getAttribute(this.binding("submit"));if(!r){te.isUnloadableFormSubmit(i)&&this.unload();return}i.preventDefault(),i.target.disabled=!0,this.withinOwners(i.target,n=>{$r.exec("submit",r,n,i.target,["push",{submitter:i.submitter}])})});for(let i of["change","input"])this.on(i,r=>{let n=this.binding("change"),o=r.target,s=o.getAttribute(n),a=o.form&&o.form.getAttribute(n),l=s||a;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=s?o:o.form,u=t;t++;let{at:f,type:d}=te.private(o,"prev-iteration")||{};f===u-1&&i==="change"&&d==="input"||(te.putPrivate(o,"prev-iteration",{at:u,type:i}),this.debounce(o,r,i,()=>{this.withinOwners(c,O=>{te.putPrivate(o,Xh,!0),te.isTextualInput(o)||this.setActiveElement(o),$r.exec("change",l,O,o,["push",{_target:r.target.name,dispatcher:c}])})}))});this.on("reset",i=>{let r=i.target;te.resetForm(r);let n=Array.from(r.elements).find(o=>o.type==="reset");n&&window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,i,r){if(i==="blur"||i==="focusout")return r();let n=this.binding(K7),o=this.binding(J7),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);te.debounce(t,e,n,s,o,a,c,()=>{r()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){this.boundEventNames.add(t),window.addEventListener(t,i=>{this.silenced||e(i)})}},z8=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(t=>{clearTimeout(t),this.transitions.delete(t)}),this.flushPendingOps()}after(t){this.size()===0?t():this.pushPendingOp(t)}addTransition(t,e,i){e();let r=setTimeout(()=>{this.transitions.delete(r),i(),this.flushPendingOps()},t);this.transitions.add(r)}pushPendingOp(t){this.pendingOps.push(t)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let t=this.pendingOps.shift();t&&(t(),this.flushPendingOps())}};var LS="livebook:";function vs(t){try{let e=localStorage.getItem(LS+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function La(t,e){try{let i=JSON.stringify(e);localStorage.setItem(LS+t,i)}catch(i){console.error(`Failed to write to local storage, reason: ${i.message}`)}}var IS="app_auth_token:";function zS(t,e){La(IS+t,e)}function DS(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],i=vs(IS+e);if(i)return i}return null}var D8={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{zS(t,e),this.pushEvent("app_auth_persisted")})}},US=D8;function ht(t,e){let i={};for(let r of e){let n=`data-p-${r}`;if(!t.hasAttribute(n))throw new Error(`Missing attribute "${n}" on element <${t.tagName}:${t.id}>`);let o=t.getAttribute(n);i[U8(r)]=JSON.parse(o)}return i}function U8(t){let[e,...i]=t.split("-");return[e,...i.map(r=>r.charAt(0).toUpperCase()+r.slice(1))].join("")}function NS(t,e,i){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),s=t.byteLength/4,a=4,l=e*a,c=i*l,u=s*l,f=0;function d(w){o.setUint32(f,w,!1),f+=4}function O(w){o.setUint32(f,w,!0),f+=4}function g(w){o.setUint16(f,w,!0),f+=2}function x(w){o.setFloat32(f,w,!0),f+=4}d(1380533830),O(36+u),d(1463899717),d(1718449184),O(16),g(3),g(e),O(i),O(c),g(l),g(a*8),d(1684108385),O(u);let S=new Float32Array(t);for(let w=0;w<S.length;w++)x(S[w]);return n}var vc=4;function MS(t,e){let r=new TextEncoder().encode(JSON.stringify(t)),n=new ArrayBuffer(vc+r.byteLength+e.byteLength);return new DataView(n).setUint32(0,r.byteLength),new Uint8Array(n,vc,r.byteLength).set(r),new Uint8Array(n,vc+r.byteLength).set(new Uint8Array(e)),n}function qS(t){let i=new DataView(t).getUint32(0),r=new Uint8Array(t,vc,i),n=t.slice(vc+i),o=new TextDecoder;return[JSON.parse(o.decode(r)),n]}var Ng=["bg-yellow-100","border-yellow-300"],N8={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(...Ng)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...Ng)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...Ng)}),this.recordButton.addEventListener("click",t=>{this.startRecording()}),this.stopButton.addEventListener("click",t=>{this.stopRecording()}),this.cancelButton.addEventListener("click",t=>{this.stopRecording(!1)})},updated(){this.props=this.getProps(),this.audioEl.src=this.props.audioUrl},getProps(){return ht(this.el,["id","phx-target","sampling-rate","endianness","format","audio-url"])},startRecording(){this.audioEl.classList.add("hidden"),this.uploadButton.classList.add("hidden"),this.recordButton.classList.add("hidden"),this.stopButton.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.audioChunks=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(t=>{this.mediaRecorder=new MediaRecorder(t),this.mediaRecorder.addEventListener("dataavailable",e=>{this.audioChunks.push(e.data)}),this.mediaRecorder.start()})},stopRecording(t=!0){this.audioEl.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),this.recordButton.classList.remove("hidden"),this.stopButton.classList.add("hidden"),this.cancelButton.classList.add("hidden"),t&&this.mediaRecorder.addEventListener("stop",e=>{new Blob(this.audioChunks).arrayBuffer().then(r=>{this.loadEncodedAudio(r)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(t){let e=new FileReader;e.onload=i=>{this.loadEncodedAudio(i.target.result)},e.readAsArrayBuffer(t)},loadEncodedAudio(t){this.pushEventTo(this.props.phxTarget,"decoding",{}),new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(t,i=>{let r=M8(i);this.pushAudio(r)})},pushAudio(t){let e={num_channels:t.numChannels,sampling_rate:t.samplingRate},i=this.encodeAudio(t),r=new Blob([i]);r.meta=()=>e,this.uploadTo(this.props.phxTarget,"file",[r])},encodeAudio(t){if(this.props.format==="pcm_f32")return q8(t.data,this.props.endianness);if(this.props.format==="wav")return NS(t.data,t.numChannels,t.samplingRate)}};function M8(t){let e=t.numberOfChannels,i=t.sampleRate,r=t.length,n=4*e*r,o=new ArrayBuffer(n),s=new Float32Array(o);for(let a=0;a<e;a++){let l=t.getChannelData(a);for(let c=0;c<l.length;c++)s[e*c+a]=l[c]}return{data:s.buffer,numChannels:e,samplingRate:i}}function q8(t,e){if(j8()===e)return t;for(let i=0;i<t.byteLength/4;i++){let r=t[i],n=t[i+1],o=t[i+2],s=t[i+3];t[i]=s,t[i+1]=o,t[i+2]=n,t[i+3]=r}return t}function j8(){let t=new ArrayBuffer(2),e=new Uint16Array(t),i=new Uint8Array(t);return e[0]=1,i[0]===1?"little":"big"}var jS=N8;var WS=11;function W8(t,e){var i=e.attributes,r,n,o,s,a;if(!(e.nodeType===WS||t.nodeType===WS)){for(var l=i.length-1;l>=0;l--)r=i[l],n=r.name,o=r.namespaceURI,s=r.value,o?(n=r.localName||n,a=t.getAttributeNS(o,n),a!==s&&(r.prefix==="xmlns"&&(n=r.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)r=c[u],n=r.name,o=r.namespaceURI,o?(n=r.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var Rh,V8="http://www.w3.org/1999/xhtml",zi=typeof document=="undefined"?void 0:document,Z8=!!zi&&"content"in zi.createElement("template"),B8=!!zi&&zi.createRange&&"createContextualFragment"in zi.createRange();function Y8(t){var e=zi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function F8(t){Rh||(Rh=zi.createRange(),Rh.selectNode(zi.body));var e=Rh.createContextualFragment(t);return e.childNodes[0]}function H8(t){var e=zi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function G8(t){return t=t.trim(),Z8?Y8(t):B8?F8(t):H8(t)}function Lh(t,e){var i=t.nodeName,r=e.nodeName,n,o;return i===r?!0:(n=i.charCodeAt(0),o=r.charCodeAt(0),n<=90&&o>=97?i===r.toUpperCase():o<=90&&n>=97?r===i.toUpperCase():!1)}function K8(t,e){return!e||e===V8?zi.createElement(t):zi.createElementNS(e,t)}function J8(t,e){for(var i=t.firstChild;i;){var r=i.nextSibling;e.appendChild(i),i=r}return e}function Mg(t,e,i){t[i]!==e[i]&&(t[i]=e[i],t[i]?t.setAttribute(i,""):t.removeAttribute(i))}var VS={OPTION:function(t,e){var i=t.parentNode;if(i){var r=i.nodeName.toUpperCase();r==="OPTGROUP"&&(i=i.parentNode,r=i&&i.nodeName.toUpperCase()),r==="SELECT"&&!i.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),i.selectedIndex=-1)}Mg(t,e,"selected")},INPUT:function(t,e){Mg(t,e,"checked"),Mg(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var i=e.value;t.value!==i&&(t.value=i);var r=t.firstChild;if(r){var n=r.nodeValue;if(n==i||!i&&n==t.placeholder)return;r.nodeValue=i}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var i=-1,r=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){i=r;break}r++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=i}}},wc=1,ZS=11,BS=3,YS=8;function wo(){}function ez(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function tz(t){return function(i,r,n){if(n||(n={}),typeof r=="string")if(i.nodeName==="#document"||i.nodeName==="HTML"||i.nodeName==="BODY"){var o=r;r=zi.createElement("html"),r.innerHTML=o}else r=G8(r);else r.nodeType===ZS&&(r=r.firstElementChild);var s=n.getNodeKey||ez,a=n.onBeforeNodeAdded||wo,l=n.onNodeAdded||wo,c=n.onBeforeElUpdated||wo,u=n.onElUpdated||wo,f=n.onBeforeNodeDiscarded||wo,d=n.onNodeDiscarded||wo,O=n.onBeforeElChildrenUpdated||wo,g=n.skipFromChildren||wo,x=n.addChild||function(q,ae){return q.appendChild(ae)},S=n.childrenOnly===!0,w=Object.create(null),T=[];function A(q){T.push(q)}function I(q,ae){if(q.nodeType===wc)for(var B=q.firstChild;B;){var P=void 0;ae&&(P=s(B))?A(P):(d(B),B.firstChild&&I(B,ae)),B=B.nextSibling}}function C(q,ae,B){f(q)!==!1&&(ae&&ae.removeChild(q),d(q),I(q,B))}function $(q){if(q.nodeType===wc||q.nodeType===ZS)for(var ae=q.firstChild;ae;){var B=s(ae);B&&(w[B]=ae),$(ae),ae=ae.nextSibling}}$(i);function j(q){l(q);for(var ae=q.firstChild;ae;){var B=ae.nextSibling,P=s(ae);if(P){var V=w[P];V&&Lh(ae,V)?(ae.parentNode.replaceChild(V,ae),F(V,ae)):j(ae)}else j(ae);ae=B}}function le(q,ae,B){for(;ae;){var P=ae.nextSibling;(B=s(ae))?A(B):C(ae,q,!0),ae=P}}function F(q,ae,B){var P=s(ae);P&&delete w[P],!(!B&&(c(q,ae)===!1||(t(q,ae),u(q),O(q,ae)===!1)))&&(q.nodeName!=="TEXTAREA"?N(q,ae):VS.TEXTAREA(q,ae))}function N(q,ae){var B=g(q,ae),P=ae.firstChild,V=q.firstChild,ne,z,qe,Ze,Be;e:for(;P;){for(Ze=P.nextSibling,ne=s(P);!B&&V;){if(qe=V.nextSibling,P.isSameNode&&P.isSameNode(V)){P=Ze,V=qe;continue e}z=s(V);var Dt=V.nodeType,Xe=void 0;if(Dt===P.nodeType&&(Dt===wc?(ne?ne!==z&&((Be=w[ne])?qe===Be?Xe=!1:(q.insertBefore(Be,V),z?A(z):C(V,q,!0),V=Be,z=s(V)):Xe=!1):z&&(Xe=!1),Xe=Xe!==!1&&Lh(V,P),Xe&&F(V,P)):(Dt===BS||Dt==YS)&&(Xe=!0,V.nodeValue!==P.nodeValue&&(V.nodeValue=P.nodeValue))),Xe){P=Ze,V=qe;continue e}z?A(z):C(V,q,!0),V=qe}if(ne&&(Be=w[ne])&&Lh(Be,P))B||x(q,Be),F(Be,P);else{var $t=a(P);$t!==!1&&($t&&(P=$t),P.actualize&&(P=P.actualize(q.ownerDocument||zi)),x(q,P),j(P))}P=Ze,V=qe}le(q,V,z);var At=VS[q.nodeName];At&&At(q,ae)}var ie=i,ue=ie.nodeType,re=r.nodeType;if(!S){if(ue===wc)re===wc?Lh(i,r)||(d(i),ie=J8(i,K8(r.nodeName,r.namespaceURI))):ie=r;else if(ue===BS||ue===YS){if(re===ue)return ie.nodeValue!==r.nodeValue&&(ie.nodeValue=r.nodeValue),ie;ie=r}}if(ie===r)d(i);else{if(r.isSameNode&&r.isSameNode(ie))return;if(F(ie,r,S),T)for(var de=0,me=T.length;de<me;de++){var we=w[T[de]];we&&C(we,we.parentNode,!1)}}return!S&&ie!==i&&i.parentNode&&(ie.actualize&&(ie=ie.actualize(i.ownerDocument||zi)),i.parentNode.replaceChild(ie,i)),ie}}var iz=tz(W8),FS=iz;function qg(t){if(t)throw t}var Dh=Ca(nT(),1);function kc(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 oT(){let t=[],e={run:i,use:r};return e;function i(...n){let o=-1,s=n.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...n);function a(l,...c){let u=t[++o],f=-1;if(l){s(l);return}for(;++f<n.length;)(c[f]===null||c[f]===void 0)&&(c[f]=n[f]);n=c,u?rz(u,a)(...c):s(null,...c)}}function r(n){if(typeof n!="function")throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}}function rz(t,e){let i;return r;function r(...s){let a=t.length>s.length,l;a&&s.push(n);try{l=t.apply(this,s)}catch(c){let u=c;if(a&&i)throw u;return n(u)}a||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(s,...a){i||(i=!0,e(s,...a))}function o(s){n(null,s)}}function Wg(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?sT(t.position):"start"in t||"end"in t?sT(t):"line"in t||"column"in t?jg(t):""}function jg(t){return aT(t&&t.line)+":"+aT(t&&t.column)}function sT(t){return jg(t&&t.start)+"-"+jg(t&&t.end)}function aT(t){return t&&typeof t=="number"?t:1}var Vt=class extends Error{constructor(e,i,r){super(),typeof i=="string"&&(r=i,i=void 0);let n="",o={},s=!1;if(i&&("line"in i&&"column"in i?o={place:i}:"start"in i&&"end"in i?o={place:i}:"type"in i?o={ancestors:[i],place:i.position}:o=H({},i)),typeof e=="string"?n=e:!o.cause&&e&&(s=!0,n=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof r=="string"){let l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=a?a.line:void 0,this.name=Wg(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};Vt.prototype.file="";Vt.prototype.name="";Vt.prototype.reason="";Vt.prototype.message="";Vt.prototype.stack="";Vt.prototype.column=void 0;Vt.prototype.line=void 0;Vt.prototype.ancestors=void 0;Vt.prototype.cause=void 0;Vt.prototype.fatal=void 0;Vt.prototype.place=void 0;Vt.prototype.ruleId=void 0;Vt.prototype.source=void 0;var Ar={basename:nz,dirname:oz,extname:sz,join:az,sep:"/"};function nz(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Sc(t);let i=0,r=-1,n=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;n--;)if(t.codePointAt(n)===47){if(o){i=n+1;break}}else r<0&&(o=!0,r=n+1);return r<0?"":t.slice(i,r)}if(e===t)return"";let s=-1,a=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){i=n+1;break}}else s<0&&(o=!0,s=n+1),a>-1&&(t.codePointAt(n)===e.codePointAt(a--)?a<0&&(r=n):(a=-1,r=s));return i===r?r=s:r<0&&(r=t.length),t.slice(i,r)}function oz(t){if(Sc(t),t.length===0)return".";let e=-1,i=t.length,r;for(;--i;)if(t.codePointAt(i)===47){if(r){e=i;break}}else r||(r=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function sz(t){Sc(t);let e=t.length,i=-1,r=0,n=-1,o=0,s;for(;e--;){let a=t.codePointAt(e);if(a===47){if(s){r=e+1;break}continue}i<0&&(s=!0,i=e+1),a===46?n<0?n=e:o!==1&&(o=1):n>-1&&(o=-1)}return n<0||i<0||o===0||o===1&&n===i-1&&n===r+1?"":t.slice(n,i)}function az(...t){let e=-1,i;for(;++e<t.length;)Sc(t[e]),t[e]&&(i=i===void 0?t[e]:i+"/"+t[e]);return i===void 0?".":lz(i)}function lz(t){Sc(t);let e=t.codePointAt(0)===47,i=cz(t,!e);return i.length===0&&!e&&(i="."),i.length>0&&t.codePointAt(t.length-1)===47&&(i+="/"),e?"/"+i:i}function cz(t,e){let i="",r=0,n=-1,o=0,s=-1,a,l;for(;++s<=t.length;){if(s<t.length)a=t.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(n===s-1||o===1))if(n!==s-1&&o===2){if(i.length<2||r!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(l=i.lastIndexOf("/"),l!==i.length-1){l<0?(i="",r=0):(i=i.slice(0,l),r=i.length-1-i.lastIndexOf("/")),n=s,o=0;continue}}else if(i.length>0){i="",r=0,n=s,o=0;continue}}e&&(i=i.length>0?i+"/..":"..",r=2)}else i.length>0?i+="/"+t.slice(n+1,s):i=t.slice(n+1,s),r=s-n-1;n=s,o=0}else a===46&&o>-1?o++:o=-1}return i}function Sc(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var lT={cwd:uz};function uz(){return"/"}function Ia(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function cT(t){if(typeof t=="string")t=new URL(t);else if(!Ia(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 fz(t)}function fz(t){if(t.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let e=t.pathname,i=-1;for(;++i<e.length;)if(e.codePointAt(i)===37&&e.codePointAt(i+1)===50){let r=e.codePointAt(i+2);if(r===70||r===102){let n=new TypeError("File URL path must not include encoded / characters");throw n.code="ERR_INVALID_FILE_URL_PATH",n}}return decodeURIComponent(e)}var Vg=["history","path","basename","stem","extname","dirname"],ko=class{constructor(e){let i;e?Ia(e)?i={path:e}:typeof e=="string"||hz(e)?i={value:e}:i=e:i={},this.cwd=lT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Vg.length;){let o=Vg[r];o in i&&i[o]!==void 0&&i[o]!==null&&(this[o]=o==="history"?[...i[o]]:i[o])}let n;for(n in i)Vg.includes(n)||(this[n]=i[n])}get basename(){return typeof this.path=="string"?Ar.basename(this.path):void 0}set basename(e){Bg(e,"basename"),Zg(e,"basename"),this.path=Ar.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Ar.dirname(this.path):void 0}set dirname(e){uT(this.basename,"dirname"),this.path=Ar.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Ar.extname(this.path):void 0}set extname(e){if(Zg(e,"extname"),uT(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=Ar.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Ia(e)&&(e=cT(e)),Bg(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Ar.basename(this.path,this.extname):void 0}set stem(e){Bg(e,"stem"),Zg(e,"stem"),this.path=Ar.join(this.dirname||"",e+(this.extname||""))}fail(e,i,r){let n=this.message(e,i,r);throw n.fatal=!0,n}info(e,i,r){let n=this.message(e,i,r);return n.fatal=void 0,n}message(e,i,r){let n=new Vt(e,i,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function Zg(t,e){if(t&&t.includes(Ar.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Ar.sep+"`")}function Bg(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function uT(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function hz(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var fT=function(t){let r=this.constructor.prototype,n=r[t],o=function(){return n.apply(o,arguments)};Object.setPrototypeOf(o,r);let s=Object.getOwnPropertyNames(n);for(let a of s){let l=Object.getOwnPropertyDescriptor(n,a);l&&Object.defineProperty(o,a,l)}return o};var dz={}.hasOwnProperty,Gg=class t extends fT{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=oT()}copy(){let e=new t,i=-1;for(;++i<this.attachers.length;){let r=this.attachers[i];e.use(...r)}return e.data((0,Dh.default)(!0,{},this.namespace)),e}data(e,i){return typeof e=="string"?arguments.length===2?(Hg("data",this.frozen),this.namespace[e]=i,this):dz.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Hg("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[i,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);let n=i.call(e,...r);typeof n=="function"&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let i=zh(e),r=this.parser||this.Parser;return Yg("parse",r),r(String(i),i)}process(e,i){let r=this;return this.freeze(),Yg("process",this.parser||this.Parser),Fg("process",this.compiler||this.Compiler),i?n(void 0,i):new Promise(n);function n(o,s){let a=zh(e),l=r.parse(a);r.run(l,a,function(u,f,d){if(u||!f||!d)return c(u);let O=f,g=r.stringify(O,d);pz(g)?d.value=g:d.result=g,c(u,d)});function c(u,f){u||!f?s(u):o?o(f):i(void 0,f)}}}processSync(e){let i=!1,r;return this.freeze(),Yg("processSync",this.parser||this.Parser),Fg("processSync",this.compiler||this.Compiler),this.process(e,n),dT("processSync","process",i),r;function n(o,s){i=!0,qg(o),r=s}}run(e,i,r){hT(e),this.freeze();let n=this.transformers;return!r&&typeof i=="function"&&(r=i,i=void 0),r?o(void 0,r):new Promise(o);function o(s,a){let l=zh(i);n.run(e,l,c);function c(u,f,d){let O=f||e;u?a(u):s?s(O):r(void 0,O,d)}}}runSync(e,i){let r=!1,n;return this.run(e,i,o),dT("runSync","run",r),n;function o(s,a){qg(s),n=a,r=!0}}stringify(e,i){this.freeze();let r=zh(i),n=this.compiler||this.Compiler;return Fg("stringify",n),hT(e),n(e,r)}use(e,...i){let r=this.attachers,n=this.namespace;if(Hg("use",this.frozen),e!=null)if(typeof e=="function")l(e,i);else if(typeof e=="object")Array.isArray(e)?a(e):s(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function o(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[u,...f]=c;l(u,f)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(n.settings=(0,Dh.default)(!0,n.settings,c.settings))}function a(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){let f=c[u];o(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let f=-1,d=-1;for(;++f<r.length;)if(r[f][0]===c){d=f;break}if(d===-1)r.push([c,...u]);else if(u.length>0){let[O,...g]=u,x=r[d][1];kc(x)&&kc(O)&&(O=(0,Dh.default)(!0,x,O)),r[d]=[c,O,...g]}}}},Uh=new Gg().freeze();function Yg(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Fg(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Hg(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 hT(t){if(!kc(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function dT(t,e,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function zh(t){return Oz(t)?t:new ko(t)}function Oz(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function pz(t){return typeof t=="string"||mz(t)}function mz(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var gz={};function Kg(t,e){let i=e||gz,r=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,n=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return pT(t,r,n)}function pT(t,e,i){if(bz(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return OT(t.children,e,i)}return Array.isArray(t)?OT(t,e,i):""}function OT(t,e,i){let r=[],n=-1;for(;++n<t.length;)r[n]=pT(t[n],e,i);return r.join("")}function bz(t){return!!(t&&typeof t=="object")}function si(t,e,i,r){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,i=i>0?i:0,r.length<1e4)s=Array.from(r),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<r.length;)s=r.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}function Pi(t,e){return t.length>0?(si(t,t.length,0,e),t):e}var mT={}.hasOwnProperty;function gT(t){let e={},i=-1;for(;++i<t.length;)yz(e,t[i]);return e}function yz(t,e){let i;for(i in e){let n=(mT.call(t,i)?t[i]:void 0)||(t[i]={}),o=e[i],s;if(o)for(s in o){mT.call(n,s)||(n[s]=[]);let a=o[s];xz(n[s],Array.isArray(a)?a:a?[a]:[])}}}function xz(t,e){let i=-1,r=[];for(;++i<e.length;)(e[i].add==="after"?t:r).push(e[i]);si(t,0,0,r)}function Nh(t,e){let i=Number.parseInt(t,e);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"\uFFFD":String.fromCharCode(i)}function Qn(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var vz=So(new RegExp("\\p{P}","u")),Gi=So(/[A-Za-z]/),Qi=So(/[\dA-Za-z]/),bT=So(/[#-'*+\--9=?A-Z^-~]/);function Tc(t){return t!==null&&(t<32||t===127)}var Ec=So(/\d/),yT=So(/[\dA-Fa-f]/),Jg=So(/[!-/:-@[-`{-~]/);function Te(t){return t!==null&&t<-2}function Nt(t){return t!==null&&(t<0||t===32)}function Le(t){return t===-2||t===-1||t===32}function xT(t){return Jg(t)||vz(t)}var vT=So(/\s/);function So(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Ie(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Le(l)?(t.enter(i),a(l)):e(l)}function a(l){return Le(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var wT={tokenize:wz};function wz(t){let e=t.attempt(this.parser.constructs.contentInitial,r,n),i;return e;function r(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),Ie(t,e,"linePrefix")}function n(a){return t.enter("paragraph"),o(a)}function o(a){let l=t.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=l),i=l,s(a)}function s(a){if(a===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(a);return}return Te(a)?(t.consume(a),t.exit("chunkText"),o):(t.consume(a),s)}}var ST={tokenize:kz},kT={tokenize:Sz};function kz(t){let e=this,i=[],r=0,n,o,s;return a;function a(A){if(r<i.length){let I=i[r];return e.containerState=I[1],t.attempt(I[0].continuation,l,c)(A)}return c(A)}function l(A){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,n&&T();let I=e.events.length,C=I,$;for(;C--;)if(e.events[C][0]==="exit"&&e.events[C][1].type==="chunkFlow"){$=e.events[C][1].end;break}w(r);let j=I;for(;j<e.events.length;)e.events[j][1].end=Object.assign({},$),j++;return si(e.events,C+1,0,e.events.slice(I)),e.events.length=j,c(A)}return a(A)}function c(A){if(r===i.length){if(!n)return d(A);if(n.currentConstruct&&n.currentConstruct.concrete)return g(A);e.interrupt=!!(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(kT,u,f)(A)}function u(A){return n&&T(),w(r),d(A)}function f(A){return e.parser.lazy[e.now().line]=r!==i.length,s=e.now().offset,g(A)}function d(A){return e.containerState={},t.attempt(kT,O,g)(A)}function O(A){return r++,i.push([e.currentConstruct,e.containerState]),d(A)}function g(A){if(A===null){n&&T(),w(0),t.consume(A);return}return n=n||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),x(A)}function x(A){if(A===null){S(t.exit("chunkFlow"),!0),w(0),t.consume(A);return}return Te(A)?(t.consume(A),S(t.exit("chunkFlow")),r=0,e.interrupt=void 0,a):(t.consume(A),x)}function S(A,I){let C=e.sliceStream(A);if(I&&C.push(null),A.previous=o,o&&(o.next=A),o=A,n.defineSkip(A.start),n.write(C),e.parser.lazy[A.start.line]){let $=n.events.length;for(;$--;)if(n.events[$][1].start.offset<s&&(!n.events[$][1].end||n.events[$][1].end.offset>s))return;let j=e.events.length,le=j,F,N;for(;le--;)if(e.events[le][0]==="exit"&&e.events[le][1].type==="chunkFlow"){if(F){N=e.events[le][1].end;break}F=!0}for(w(r),$=j;$<e.events.length;)e.events[$][1].end=Object.assign({},N),$++;si(e.events,le+1,0,e.events.slice(j)),e.events.length=$}}function w(A){let I=i.length;for(;I-- >A;){let C=i[I];e.containerState=C[1],C[0].exit.call(e,t)}i.length=A}function T(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function Sz(t,e,i){return Ie(t,t.attempt(this.parser.constructs.document,e,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function e0(t){if(t===null||Nt(t)||vT(t))return 1;if(xT(t))return 2}function za(t,e,i){let r=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!r.includes(o)&&(e=o(e,i),r.push(o))}return e}var Pc={name:"attention",tokenize:Ez,resolveAll:Tz};function Tz(t,e){let i=-1,r,n,o,s,a,l,c,u;for(;++i<t.length;)if(t[i][0]==="enter"&&t[i][1].type==="attentionSequence"&&t[i][1]._close){for(r=i;r--;)if(t[r][0]==="exit"&&t[r][1].type==="attentionSequence"&&t[r][1]._open&&e.sliceSerialize(t[r][1]).charCodeAt(0)===e.sliceSerialize(t[i][1]).charCodeAt(0)){if((t[r][1]._close||t[i][1]._open)&&(t[i][1].end.offset-t[i][1].start.offset)%3&&!((t[r][1].end.offset-t[r][1].start.offset+t[i][1].end.offset-t[i][1].start.offset)%3))continue;l=t[r][1].end.offset-t[r][1].start.offset>1&&t[i][1].end.offset-t[i][1].start.offset>1?2:1;let f=Object.assign({},t[r][1].end),d=Object.assign({},t[i][1].start);TT(f,-l),TT(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[r][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[i][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[i][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},t[r][1].end=Object.assign({},s.start),t[i][1].start=Object.assign({},a.end),c=[],t[r][1].end.offset-t[r][1].start.offset&&(c=Pi(c,[["enter",t[r][1],e],["exit",t[r][1],e]])),c=Pi(c,[["enter",n,e],["enter",s,e],["exit",s,e],["enter",o,e]]),c=Pi(c,za(e.parser.constructs.insideSpan.null,t.slice(r+1,i),e)),c=Pi(c,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",n,e]]),t[i][1].end.offset-t[i][1].start.offset?(u=2,c=Pi(c,[["enter",t[i][1],e],["exit",t[i][1],e]])):u=0,si(t,r-1,i-r+3,c),i=r+c.length-u-2;break}}for(i=-1;++i<t.length;)t[i][1].type==="attentionSequence"&&(t[i][1].type="data");return t}function Ez(t,e){let i=this.parser.constructs.attentionMarkers.null,r=this.previous,n=e0(r),o;return s;function s(l){return o=l,t.enter("attentionSequence"),a(l)}function a(l){if(l===o)return t.consume(l),a;let c=t.exit("attentionSequence"),u=e0(l),f=!u||u===2&&n||i.includes(l),d=!n||n===2&&u||i.includes(r);return c._open=!!(o===42?f:f&&(n||!d)),c._close=!!(o===42?d:d&&(u||!f)),e(l)}}function TT(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var t0={name:"autolink",tokenize:Pz};function Pz(t,e,i){let r=0;return n;function n(O){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(O),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(O){return Gi(O)?(t.consume(O),s):c(O)}function s(O){return O===43||O===45||O===46||Qi(O)?(r=1,a(O)):c(O)}function a(O){return O===58?(t.consume(O),r=0,l):(O===43||O===45||O===46||Qi(O))&&r++<32?(t.consume(O),a):(r=0,c(O))}function l(O){return O===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(O),t.exit("autolinkMarker"),t.exit("autolink"),e):O===null||O===32||O===60||Tc(O)?i(O):(t.consume(O),l)}function c(O){return O===64?(t.consume(O),u):bT(O)?(t.consume(O),c):i(O)}function u(O){return Qi(O)?f(O):i(O)}function f(O){return O===46?(t.consume(O),r=0,u):O===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(O),t.exit("autolinkMarker"),t.exit("autolink"),e):d(O)}function d(O){if((O===45||Qi(O))&&r++<63){let g=O===45?d:f;return t.consume(O),g}return i(O)}}var To={tokenize:Qz,partial:!0};function Qz(t,e,i){return r;function r(o){return Le(o)?Ie(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||Te(o)?e(o):i(o)}}var Mh={name:"blockQuote",tokenize:Cz,continuation:{tokenize:_z},exit:$z};function Cz(t,e,i){let r=this;return n;function n(s){if(s===62){let a=r.containerState;return a.open||(t.enter("blockQuote",{_container:!0}),a.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(s),t.exit("blockQuoteMarker"),o}return i(s)}function o(s){return Le(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(s))}}function _z(t,e,i){let r=this;return n;function n(s){return Le(s)?Ie(t,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return t.attempt(Mh,e,i)(s)}}function $z(t){t.exit("blockQuote")}var qh={name:"characterEscape",tokenize:Az};function Az(t,e,i){return r;function r(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),n}function n(o){return Jg(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):i(o)}}var jh={name:"characterReference",tokenize:Xz};function Xz(t,e,i){let r=this,n=0,o,s;return a;function a(f){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),l}function l(f){return f===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(f),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),o=31,s=Qi,u(f))}function c(f){return f===88||f===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(f),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,s=yT,u):(t.enter("characterReferenceValue"),o=7,s=Ec,u(f))}function u(f){if(f===59&&n){let d=t.exit("characterReferenceValue");return s===Qi&&!_a(r.sliceSerialize(d))?i(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return s(f)&&n++<o?(t.consume(f),u):i(f)}}var ET={tokenize:Lz,partial:!0},Wh={name:"codeFenced",tokenize:Rz,concrete:!0};function Rz(t,e,i){let r=this,n={tokenize:C,partial:!0},o=0,s=0,a;return l;function l($){return c($)}function c($){let j=r.events[r.events.length-1];return o=j&&j[1].type==="linePrefix"?j[2].sliceSerialize(j[1],!0).length:0,a=$,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u($)}function u($){return $===a?(s++,t.consume($),u):s<3?i($):(t.exit("codeFencedFenceSequence"),Le($)?Ie(t,f,"whitespace")($):f($))}function f($){return $===null||Te($)?(t.exit("codeFencedFence"),r.interrupt?e($):t.check(ET,x,I)($)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),d($))}function d($){return $===null||Te($)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f($)):Le($)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Ie(t,O,"whitespace")($)):$===96&&$===a?i($):(t.consume($),d)}function O($){return $===null||Te($)?f($):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g($))}function g($){return $===null||Te($)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f($)):$===96&&$===a?i($):(t.consume($),g)}function x($){return t.attempt(n,I,S)($)}function S($){return t.enter("lineEnding"),t.consume($),t.exit("lineEnding"),w}function w($){return o>0&&Le($)?Ie(t,T,"linePrefix",o+1)($):T($)}function T($){return $===null||Te($)?t.check(ET,x,I)($):(t.enter("codeFlowValue"),A($))}function A($){return $===null||Te($)?(t.exit("codeFlowValue"),T($)):(t.consume($),A)}function I($){return t.exit("codeFenced"),e($)}function C($,j,le){let F=0;return N;function N(me){return $.enter("lineEnding"),$.consume(me),$.exit("lineEnding"),ie}function ie(me){return $.enter("codeFencedFence"),Le(me)?Ie($,ue,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(me):ue(me)}function ue(me){return me===a?($.enter("codeFencedFenceSequence"),re(me)):le(me)}function re(me){return me===a?(F++,$.consume(me),re):F>=s?($.exit("codeFencedFenceSequence"),Le(me)?Ie($,de,"whitespace")(me):de(me)):le(me)}function de(me){return me===null||Te(me)?($.exit("codeFencedFence"),j(me)):le(me)}}}function Lz(t,e,i){let r=this;return n;function n(s){return s===null?i(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?i(s):e(s)}}var Qc={name:"codeIndented",tokenize:zz},Iz={tokenize:Dz,partial:!0};function zz(t,e,i){let r=this;return n;function n(c){return t.enter("codeIndented"),Ie(t,o,"linePrefix",5)(c)}function o(c){let u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):i(c)}function s(c){return c===null?l(c):Te(c)?t.attempt(Iz,s,l)(c):(t.enter("codeFlowValue"),a(c))}function a(c){return c===null||Te(c)?(t.exit("codeFlowValue"),s(c)):(t.consume(c),a)}function l(c){return t.exit("codeIndented"),e(c)}}function Dz(t,e,i){let r=this;return n;function n(s){return r.parser.lazy[r.now().line]?i(s):Te(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),n):Ie(t,o,"linePrefix",5)(s)}function o(s){let a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):Te(s)?n(s):i(s)}}var i0={name:"codeText",tokenize:Mz,resolve:Uz,previous:Nz};function Uz(t){let e=t.length-4,i=3,r,n;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=i;++r<e;)if(t[r][1].type==="codeTextData"){t[i][1].type="codeTextPadding",t[e][1].type="codeTextPadding",i+=2,e-=2;break}}for(r=i-1,e++;++r<=e;)n===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(n=r):(r===e||t[r][1].type==="lineEnding")&&(t[n][1].type="codeTextData",r!==n+2&&(t[n][1].end=t[r-1][1].end,t.splice(n+2,r-n-2),e-=r-n-2,r=n+2),n=void 0);return t}function Nz(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Mz(t,e,i){let r=this,n=0,o,s;return a;function a(d){return t.enter("codeText"),t.enter("codeTextSequence"),l(d)}function l(d){return d===96?(t.consume(d),n++,l):(t.exit("codeTextSequence"),c(d))}function c(d){return d===null?i(d):d===32?(t.enter("space"),t.consume(d),t.exit("space"),c):d===96?(s=t.enter("codeTextSequence"),o=0,f(d)):Te(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||Te(d)?(t.exit("codeTextData"),c(d)):(t.consume(d),u)}function f(d){return d===96?(t.consume(d),o++,f):o===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(d)):(s.type="codeTextData",u(d))}}function Vh(t){let e={},i=-1,r,n,o,s,a,l,c;for(;++i<t.length;){for(;i in e;)i=e[i];if(r=t[i],i&&r[1].type==="chunkFlow"&&t[i-1][1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,qz(t,i)),i=e[i],c=!0);else if(r[1]._container){for(o=i,n=void 0;o--&&(s=t[o],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(n&&(t[n][1].type="lineEndingBlank"),s[1].type="lineEnding",n=o);n&&(r[1].end=Object.assign({},t[n][1].start),a=t.slice(n,i),a.unshift(r),si(t,n,i-n+1,a))}}return!c}function qz(t,e){let i=t[e][1],r=t[e][2],n=e-1,o=[],s=i._tokenizer||r.parser[i.contentType](i.start),a=s.events,l=[],c={},u,f,d=-1,O=i,g=0,x=0,S=[x];for(;O;){for(;t[++n][1]!==O;);o.push(n),O._tokenizer||(u=r.sliceStream(O),O.next||u.push(null),f&&s.defineSkip(O.start),O._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),O._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=O,O=O.next}for(O=i;++d<a.length;)a[d][0]==="exit"&&a[d-1][0]==="enter"&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(x=d+1,S.push(x),O._tokenizer=void 0,O.previous=void 0,O=O.next);for(s.events=[],O?(O._tokenizer=void 0,O.previous=void 0):S.pop(),d=S.length;d--;){let w=a.slice(S[d],S[d+1]),T=o.pop();l.unshift([T,T+w.length-1]),si(t,T,2,w)}for(d=-1;++d<l.length;)c[g+l[d][0]]=g+l[d][1],g+=l[d][1]-l[d][0]-1;return c}var r0={tokenize:Vz,resolve:Wz},jz={tokenize:Zz,partial:!0};function Wz(t){return Vh(t),t}function Vz(t,e){let i;return r;function r(a){return t.enter("content"),i=t.enter("chunkContent",{contentType:"content"}),n(a)}function n(a){return a===null?o(a):Te(a)?t.check(jz,s,o)(a):(t.consume(a),n)}function o(a){return t.exit("chunkContent"),t.exit("content"),e(a)}function s(a){return t.consume(a),t.exit("chunkContent"),i.next=t.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,n}}function Zz(t,e,i){let r=this;return n;function n(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),Ie(t,o,"linePrefix")}function o(s){if(s===null||Te(s))return i(s);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):t.interrupt(r.parser.constructs.flow,i,e)(s)}}function Zh(t,e,i,r,n,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(w){return w===60?(t.enter(r),t.enter(n),t.enter(o),t.consume(w),t.exit(o),d):w===null||w===32||w===41||Tc(w)?i(w):(t.enter(r),t.enter(s),t.enter(a),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(r),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),O(w))}function O(w){return w===62?(t.exit("chunkString"),t.exit(a),d(w)):w===null||w===60||Te(w)?i(w):(t.consume(w),w===92?g:O)}function g(w){return w===60||w===62||w===92?(t.consume(w),O):O(w)}function x(w){return!u&&(w===null||w===41||Nt(w))?(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(r),e(w)):u<c&&w===40?(t.consume(w),u++,x):w===41?(t.consume(w),u--,x):w===null||w===32||w===40||Tc(w)?i(w):(t.consume(w),w===92?S:x)}function S(w){return w===40||w===41||w===92?(t.consume(w),x):x(w)}}function Bh(t,e,i,r,n,o){let s=this,a=0,l;return c;function c(O){return t.enter(r),t.enter(n),t.consume(O),t.exit(n),t.enter(o),u}function u(O){return a>999||O===null||O===91||O===93&&!l||O===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?i(O):O===93?(t.exit(o),t.enter(n),t.consume(O),t.exit(n),t.exit(r),e):Te(O)?(t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(O))}function f(O){return O===null||O===91||O===93||Te(O)||a++>999?(t.exit("chunkString"),u(O)):(t.consume(O),l||(l=!Le(O)),O===92?d:f)}function d(O){return O===91||O===92||O===93?(t.consume(O),a++,f):f(O)}}function Yh(t,e,i,r,n,o){let s;return a;function a(d){return d===34||d===39||d===40?(t.enter(r),t.enter(n),t.consume(d),t.exit(n),s=d===40?41:d,l):i(d)}function l(d){return d===s?(t.enter(n),t.consume(d),t.exit(n),t.exit(r),e):(t.enter(o),c(d))}function c(d){return d===s?(t.exit(o),l(s)):d===null?i(d):Te(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Ie(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||Te(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===s||d===92?(t.consume(d),u):u(d)}}function ws(t,e){let i;return r;function r(n){return Te(n)?(t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),i=!0,r):Le(n)?Ie(t,r,i?"linePrefix":"lineSuffix")(n):e(n)}}var n0={name:"definition",tokenize:Yz},Bz={tokenize:Fz,partial:!0};function Yz(t,e,i){let r=this,n;return o;function o(O){return t.enter("definition"),s(O)}function s(O){return Bh.call(r,t,a,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(O)}function a(O){return n=Qn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),l):i(O)}function l(O){return Nt(O)?ws(t,c)(O):c(O)}function c(O){return Zh(t,u,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(O)}function u(O){return t.attempt(Bz,f,f)(O)}function f(O){return Le(O)?Ie(t,d,"whitespace")(O):d(O)}function d(O){return O===null||Te(O)?(t.exit("definition"),r.parser.defined.push(n),e(O)):i(O)}}function Fz(t,e,i){return r;function r(a){return Nt(a)?ws(t,n)(a):i(a)}function n(a){return Yh(t,o,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return Le(a)?Ie(t,s,"whitespace")(a):s(a)}function s(a){return a===null||Te(a)?e(a):i(a)}}var o0={name:"hardBreakEscape",tokenize:Hz};function Hz(t,e,i){return r;function r(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return Te(o)?(t.exit("hardBreakEscape"),e(o)):i(o)}}var s0={name:"headingAtx",tokenize:Kz,resolve:Gz};function Gz(t,e){let i=t.length-2,r=3,n,o;return t[r][1].type==="whitespace"&&(r+=2),i-2>r&&t[i][1].type==="whitespace"&&(i-=2),t[i][1].type==="atxHeadingSequence"&&(r===i-1||i-4>r&&t[i-2][1].type==="whitespace")&&(i-=r+1===i?2:4),i>r&&(n={type:"atxHeadingText",start:t[r][1].start,end:t[i][1].end},o={type:"chunkText",start:t[r][1].start,end:t[i][1].end,contentType:"text"},si(t,r,i-r+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function Kz(t,e,i){let r=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&r++<6?(t.consume(u),s):u===null||Nt(u)?(t.exit("atxHeadingSequence"),a(u)):i(u)}function a(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||Te(u)?(t.exit("atxHeading"),e(u)):Le(u)?Ie(t,a,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||Nt(u)?(t.exit("atxHeadingText"),a(u)):(t.consume(u),c)}}var PT=["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"],a0=["pre","script","style","textarea"];var l0={name:"htmlFlow",tokenize:iD,resolveTo:tD,concrete:!0},Jz={tokenize:nD,partial:!0},eD={tokenize:rD,partial:!0};function tD(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 iD(t,e,i){let r=this,n,o,s,a,l;return c;function c(z){return u(z)}function u(z){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(z),f}function f(z){return z===33?(t.consume(z),d):z===47?(t.consume(z),o=!0,x):z===63?(t.consume(z),n=3,r.interrupt?e:P):Gi(z)?(t.consume(z),s=String.fromCharCode(z),S):i(z)}function d(z){return z===45?(t.consume(z),n=2,O):z===91?(t.consume(z),n=5,a=0,g):Gi(z)?(t.consume(z),n=4,r.interrupt?e:P):i(z)}function O(z){return z===45?(t.consume(z),r.interrupt?e:P):i(z)}function g(z){let qe="CDATA[";return z===qe.charCodeAt(a++)?(t.consume(z),a===qe.length?r.interrupt?e:ue:g):i(z)}function x(z){return Gi(z)?(t.consume(z),s=String.fromCharCode(z),S):i(z)}function S(z){if(z===null||z===47||z===62||Nt(z)){let qe=z===47,Ze=s.toLowerCase();return!qe&&!o&&a0.includes(Ze)?(n=1,r.interrupt?e(z):ue(z)):PT.includes(s.toLowerCase())?(n=6,qe?(t.consume(z),w):r.interrupt?e(z):ue(z)):(n=7,r.interrupt&&!r.parser.lazy[r.now().line]?i(z):o?T(z):A(z))}return z===45||Qi(z)?(t.consume(z),s+=String.fromCharCode(z),S):i(z)}function w(z){return z===62?(t.consume(z),r.interrupt?e:ue):i(z)}function T(z){return Le(z)?(t.consume(z),T):N(z)}function A(z){return z===47?(t.consume(z),N):z===58||z===95||Gi(z)?(t.consume(z),I):Le(z)?(t.consume(z),A):N(z)}function I(z){return z===45||z===46||z===58||z===95||Qi(z)?(t.consume(z),I):C(z)}function C(z){return z===61?(t.consume(z),$):Le(z)?(t.consume(z),C):A(z)}function $(z){return z===null||z===60||z===61||z===62||z===96?i(z):z===34||z===39?(t.consume(z),l=z,j):Le(z)?(t.consume(z),$):le(z)}function j(z){return z===l?(t.consume(z),l=null,F):z===null||Te(z)?i(z):(t.consume(z),j)}function le(z){return z===null||z===34||z===39||z===47||z===60||z===61||z===62||z===96||Nt(z)?C(z):(t.consume(z),le)}function F(z){return z===47||z===62||Le(z)?A(z):i(z)}function N(z){return z===62?(t.consume(z),ie):i(z)}function ie(z){return z===null||Te(z)?ue(z):Le(z)?(t.consume(z),ie):i(z)}function ue(z){return z===45&&n===2?(t.consume(z),we):z===60&&n===1?(t.consume(z),q):z===62&&n===4?(t.consume(z),V):z===63&&n===3?(t.consume(z),P):z===93&&n===5?(t.consume(z),B):Te(z)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(Jz,ne,re)(z)):z===null||Te(z)?(t.exit("htmlFlowData"),re(z)):(t.consume(z),ue)}function re(z){return t.check(eD,de,ne)(z)}function de(z){return t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),me}function me(z){return z===null||Te(z)?re(z):(t.enter("htmlFlowData"),ue(z))}function we(z){return z===45?(t.consume(z),P):ue(z)}function q(z){return z===47?(t.consume(z),s="",ae):ue(z)}function ae(z){if(z===62){let qe=s.toLowerCase();return a0.includes(qe)?(t.consume(z),V):ue(z)}return Gi(z)&&s.length<8?(t.consume(z),s+=String.fromCharCode(z),ae):ue(z)}function B(z){return z===93?(t.consume(z),P):ue(z)}function P(z){return z===62?(t.consume(z),V):z===45&&n===2?(t.consume(z),P):ue(z)}function V(z){return z===null||Te(z)?(t.exit("htmlFlowData"),ne(z)):(t.consume(z),V)}function ne(z){return t.exit("htmlFlow"),e(z)}}function rD(t,e,i){let r=this;return n;function n(s){return Te(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):i(s)}function o(s){return r.parser.lazy[r.now().line]?i(s):e(s)}}function nD(t,e,i){return r;function r(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(To,e,i)}}var c0={name:"htmlText",tokenize:oD};function oD(t,e,i){let r=this,n,o,s;return a;function a(P){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(P),l}function l(P){return P===33?(t.consume(P),c):P===47?(t.consume(P),C):P===63?(t.consume(P),A):Gi(P)?(t.consume(P),le):i(P)}function c(P){return P===45?(t.consume(P),u):P===91?(t.consume(P),o=0,g):Gi(P)?(t.consume(P),T):i(P)}function u(P){return P===45?(t.consume(P),O):i(P)}function f(P){return P===null?i(P):P===45?(t.consume(P),d):Te(P)?(s=f,q(P)):(t.consume(P),f)}function d(P){return P===45?(t.consume(P),O):f(P)}function O(P){return P===62?we(P):P===45?d(P):f(P)}function g(P){let V="CDATA[";return P===V.charCodeAt(o++)?(t.consume(P),o===V.length?x:g):i(P)}function x(P){return P===null?i(P):P===93?(t.consume(P),S):Te(P)?(s=x,q(P)):(t.consume(P),x)}function S(P){return P===93?(t.consume(P),w):x(P)}function w(P){return P===62?we(P):P===93?(t.consume(P),w):x(P)}function T(P){return P===null||P===62?we(P):Te(P)?(s=T,q(P)):(t.consume(P),T)}function A(P){return P===null?i(P):P===63?(t.consume(P),I):Te(P)?(s=A,q(P)):(t.consume(P),A)}function I(P){return P===62?we(P):A(P)}function C(P){return Gi(P)?(t.consume(P),$):i(P)}function $(P){return P===45||Qi(P)?(t.consume(P),$):j(P)}function j(P){return Te(P)?(s=j,q(P)):Le(P)?(t.consume(P),j):we(P)}function le(P){return P===45||Qi(P)?(t.consume(P),le):P===47||P===62||Nt(P)?F(P):i(P)}function F(P){return P===47?(t.consume(P),we):P===58||P===95||Gi(P)?(t.consume(P),N):Te(P)?(s=F,q(P)):Le(P)?(t.consume(P),F):we(P)}function N(P){return P===45||P===46||P===58||P===95||Qi(P)?(t.consume(P),N):ie(P)}function ie(P){return P===61?(t.consume(P),ue):Te(P)?(s=ie,q(P)):Le(P)?(t.consume(P),ie):F(P)}function ue(P){return P===null||P===60||P===61||P===62||P===96?i(P):P===34||P===39?(t.consume(P),n=P,re):Te(P)?(s=ue,q(P)):Le(P)?(t.consume(P),ue):(t.consume(P),de)}function re(P){return P===n?(t.consume(P),n=void 0,me):P===null?i(P):Te(P)?(s=re,q(P)):(t.consume(P),re)}function de(P){return P===null||P===34||P===39||P===60||P===61||P===96?i(P):P===47||P===62||Nt(P)?F(P):(t.consume(P),de)}function me(P){return P===47||P===62||Nt(P)?F(P):i(P)}function we(P){return P===62?(t.consume(P),t.exit("htmlTextData"),t.exit("htmlText"),e):i(P)}function q(P){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(P),t.exit("lineEnding"),ae}function ae(P){return Le(P)?Ie(t,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):B(P)}function B(P){return t.enter("htmlTextData"),s(P)}}var ks={name:"labelEnd",tokenize:fD,resolveTo:uD,resolveAll:cD},sD={tokenize:hD},aD={tokenize:dD},lD={tokenize:OD};function cD(t){let e=-1;for(;++e<t.length;){let i=t[e][1];(i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd")&&(t.splice(e+1,i.type==="labelImage"?4:2),i.type="data",e++)}return t}function uD(t,e){let i=t.length,r=0,n,o,s,a;for(;i--;)if(n=t[i][1],o){if(n.type==="link"||n.type==="labelLink"&&n._inactive)break;t[i][0]==="enter"&&n.type==="labelLink"&&(n._inactive=!0)}else if(s){if(t[i][0]==="enter"&&(n.type==="labelImage"||n.type==="labelLink")&&!n._balanced&&(o=i,n.type!=="labelLink")){r=2;break}}else n.type==="labelEnd"&&(s=i);let l={type:t[o][1].type==="labelLink"?"link":"image",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)},c={type:"label",start:Object.assign({},t[o][1].start),end:Object.assign({},t[s][1].end)},u={type:"labelText",start:Object.assign({},t[o+r+2][1].end),end:Object.assign({},t[s-2][1].start)};return a=[["enter",l,e],["enter",c,e]],a=Pi(a,t.slice(o+1,o+r+3)),a=Pi(a,[["enter",u,e]]),a=Pi(a,za(e.parser.constructs.insideSpan.null,t.slice(o+r+4,s-3),e)),a=Pi(a,[["exit",u,e],t[s-2],t[s-1],["exit",c,e]]),a=Pi(a,t.slice(s+1)),a=Pi(a,[["exit",l,e]]),si(t,o,t.length,a),t}function fD(t,e,i){let r=this,n=r.events.length,o,s;for(;n--;)if((r.events[n][1].type==="labelImage"||r.events[n][1].type==="labelLink")&&!r.events[n][1]._balanced){o=r.events[n][1];break}return a;function a(d){return o?o._inactive?f(d):(s=r.parser.defined.includes(Qn(r.sliceSerialize({start:o.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),l):i(d)}function l(d){return d===40?t.attempt(sD,u,s?u:f)(d):d===91?t.attempt(aD,u,s?c:f)(d):s?u(d):f(d)}function c(d){return t.attempt(lD,u,f)(d)}function u(d){return e(d)}function f(d){return o._balanced=!0,i(d)}}function hD(t,e,i){return r;function r(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),n}function n(f){return Nt(f)?ws(t,o)(f):o(f)}function o(f){return f===41?u(f):Zh(t,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Nt(f)?ws(t,l)(f):u(f)}function a(f){return i(f)}function l(f){return f===34||f===39||f===40?Yh(t,c,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return Nt(f)?ws(t,u)(f):u(f)}function u(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):i(f)}}function dD(t,e,i){let r=this;return n;function n(a){return Bh.call(r,t,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(Qn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(a):i(a)}function s(a){return i(a)}}function OD(t,e,i){return r;function r(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),n}function n(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),e):i(o)}}var u0={name:"labelStartImage",tokenize:pD,resolveAll:ks.resolveAll};function pD(t,e,i){let r=this;return n;function n(a){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(a),t.exit("labelImageMarker"),o}function o(a){return a===91?(t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelImage"),s):i(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(a):e(a)}}var f0={name:"labelStartLink",tokenize:mD,resolveAll:ks.resolveAll};function mD(t,e,i){let r=this;return n;function n(s){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(s):e(s)}}var Cc={name:"lineEnding",tokenize:gD};function gD(t,e){return i;function i(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),Ie(t,e,"linePrefix")}}var Ss={name:"thematicBreak",tokenize:bD};function bD(t,e,i){let r=0,n;return o;function o(c){return t.enter("thematicBreak"),s(c)}function s(c){return n=c,a(c)}function a(c){return c===n?(t.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||Te(c))?(t.exit("thematicBreak"),e(c)):i(c)}function l(c){return c===n?(t.consume(c),r++,l):(t.exit("thematicBreakSequence"),Le(c)?Ie(t,a,"whitespace")(c):a(c))}}var mi={name:"list",tokenize:vD,continuation:{tokenize:wD},exit:SD},yD={tokenize:TD,partial:!0},xD={tokenize:kD,partial:!0};function vD(t,e,i){let r=this,n=r.events[r.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(O){let g=r.containerState.type||(O===42||O===43||O===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||O===r.containerState.marker:Ec(O)){if(r.containerState.type||(r.containerState.type=g,t.enter(g,{_container:!0})),g==="listUnordered")return t.enter("listItemPrefix"),O===42||O===45?t.check(Ss,i,c)(O):c(O);if(!r.interrupt||O===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(O)}return i(O)}function l(O){return Ec(O)&&++s<10?(t.consume(O),l):(!r.interrupt||s<2)&&(r.containerState.marker?O===r.containerState.marker:O===41||O===46)?(t.exit("listItemValue"),c(O)):i(O)}function c(O){return t.enter("listItemMarker"),t.consume(O),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||O,t.check(To,r.interrupt?i:u,t.attempt(yD,d,f))}function u(O){return r.containerState.initialBlankLine=!0,o++,d(O)}function f(O){return Le(O)?(t.enter("listItemPrefixWhitespace"),t.consume(O),t.exit("listItemPrefixWhitespace"),d):i(O)}function d(O){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(O)}}function wD(t,e,i){let r=this;return r.containerState._closeFlow=void 0,t.check(To,n,o);function n(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ie(t,e,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!Le(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(xD,e,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ie(t,t.attempt(mi,e,i),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function kD(t,e,i){let r=this;return Ie(t,n,"listItemIndent",r.containerState.size+1);function n(o){let s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?e(o):i(o)}}function SD(t){t.exit(this.containerState.type)}function TD(t,e,i){let r=this;return Ie(t,n,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(o){let s=r.events[r.events.length-1];return!Le(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):i(o)}}var Fh={name:"setextUnderline",tokenize:PD,resolveTo:ED};function ED(t,e){let i=t.length,r,n,o;for(;i--;)if(t[i][0]==="enter"){if(t[i][1].type==="content"){r=i;break}t[i][1].type==="paragraph"&&(n=i)}else t[i][1].type==="content"&&t.splice(i,1),!o&&t[i][1].type==="definition"&&(o=i);let s={type:"setextHeading",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[n][1].type="setextHeadingText",o?(t.splice(n,0,["enter",s,e]),t.splice(o+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[o][1].end)):t[r][1]=s,t.push(["exit",s,e]),t}function PD(t,e,i){let r=this,n;return o;function o(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(t.enter("setextHeadingLine"),n=c,s(c)):i(c)}function s(c){return t.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===n?(t.consume(c),a):(t.exit("setextHeadingLineSequence"),Le(c)?Ie(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Te(c)?(t.exit("setextHeadingLine"),e(c)):i(c)}}var QT={tokenize:QD};function QD(t){let e=this,i=t.attempt(To,r,t.attempt(this.parser.constructs.flowInitial,n,Ie(t,t.attempt(this.parser.constructs.flow,n,t.attempt(r0,n)),"linePrefix")));return i;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,i}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,i}}var CT={resolveAll:XT()},_T=AT("string"),$T=AT("text");function AT(t){return{tokenize:e,resolveAll:XT(t==="text"?CD:void 0)};function e(i){let r=this,n=this.parser.constructs[t],o=i.attempt(n,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){i.consume(u);return}return i.enter("data"),i.consume(u),l}function l(u){return c(u)?(i.exit("data"),o(u)):(i.consume(u),l)}function c(u){if(u===null)return!0;let f=n[u],d=-1;if(f)for(;++d<f.length;){let O=f[d];if(!O.previous||O.previous.call(r,r.previous))return!0}return!1}}}function XT(t){return e;function e(i,r){let n=-1,o;for(;++n<=i.length;)o===void 0?i[n]&&i[n][1].type==="data"&&(o=n,n++):(!i[n]||i[n][1].type!=="data")&&(n!==o+2&&(i[o][1].end=i[n-1][1].end,i.splice(o+2,n-o-2),n=o+2),o=void 0);return t?t(i,r):i}}function CD(t,e){let i=0;for(;++i<=t.length;)if((i===t.length||t[i][1].type==="lineEnding")&&t[i-1][1].type==="data"){let r=t[i-1][1],n=e.sliceStream(r),o=n.length,s=-1,a=0,l;for(;o--;){let c=n[o];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(c===-2)l=!0,a++;else if(c!==-1){o++;break}}if(a){let c={type:i===t.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+o,_bufferIndex:o?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(t.splice(i,0,["enter",c,e],["exit",c,e]),i+=2)}i++}return t}function RT(t,e,i){let r=Object.assign(i?Object.assign({},i):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),n={},o=[],s=[],a=[],l=!0,c={consume:I,enter:C,exit:$,attempt:F(j),check:F(le),interrupt:F(le,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:x,sliceSerialize:g,now:S,defineSkip:w,write:O},f=e.tokenize.call(u,c),d;return e.resolveAll&&o.push(e),u;function O(re){return s=Pi(s,re),T(),s[s.length-1]!==null?[]:(N(e,0),u.events=za(o,u.events,u),u.events)}function g(re,de){return $D(x(re),de)}function x(re){return _D(s,re)}function S(){let{line:re,column:de,offset:me,_index:we,_bufferIndex:q}=r;return{line:re,column:de,offset:me,_index:we,_bufferIndex:q}}function w(re){n[re.line]=re.column,ue()}function T(){let re;for(;r._index<s.length;){let de=s[r._index];if(typeof de=="string")for(re=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===re&&r._bufferIndex<de.length;)A(de.charCodeAt(r._bufferIndex));else A(de)}}function A(re){l=void 0,d=re,f=f(re)}function I(re){Te(re)?(r.line++,r.column=1,r.offset+=re===-3?2:1,ue()):re!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=re,l=!0}function C(re,de){let me=de||{};return me.type=re,me.start=S(),u.events.push(["enter",me,u]),a.push(me),me}function $(re){let de=a.pop();return de.end=S(),u.events.push(["exit",de,u]),de}function j(re,de){N(re,de.from)}function le(re,de){de.restore()}function F(re,de){return me;function me(we,q,ae){let B,P,V,ne;return Array.isArray(we)?qe(we):"tokenize"in we?qe([we]):z(we);function z(Xe){return $t;function $t(At){let cr=At!==null&&Xe[At],ur=At!==null&&Xe.null,Ut=[...Array.isArray(cr)?cr:cr?[cr]:[],...Array.isArray(ur)?ur:ur?[ur]:[]];return qe(Ut)(At)}}function qe(Xe){return B=Xe,P=0,Xe.length===0?ae:Ze(Xe[P])}function Ze(Xe){return $t;function $t(At){return ne=ie(),V=Xe,Xe.partial||(u.currentConstruct=Xe),Xe.name&&u.parser.constructs.disable.null.includes(Xe.name)?Dt(At):Xe.tokenize.call(de?Object.assign(Object.create(u),de):u,c,Be,Dt)(At)}}function Be(Xe){return l=!0,re(V,ne),q}function Dt(Xe){return l=!0,ne.restore(),++P<B.length?Ze(B[P]):ae}}}function N(re,de){re.resolveAll&&!o.includes(re)&&o.push(re),re.resolve&&si(u.events,de,u.events.length-de,re.resolve(u.events.slice(de),u)),re.resolveTo&&(u.events=re.resolveTo(u.events,u))}function ie(){let re=S(),de=u.previous,me=u.currentConstruct,we=u.events.length,q=Array.from(a);return{restore:ae,from:we};function ae(){r=re,u.previous=de,u.currentConstruct=me,u.events.length=we,a=q,ue()}}function ue(){r.line in n&&r.column<2&&(r.column=n[r.line],r.offset+=n[r.line]-1)}}function _D(t,e){let i=e.start._index,r=e.start._bufferIndex,n=e.end._index,o=e.end._bufferIndex,s;if(i===n)s=[t[i].slice(r,o)];else{if(s=t.slice(i,n),r>-1){let a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}o>0&&s.push(t[n].slice(0,o))}return s}function $D(t,e){let i=-1,r=[],n;for(;++i<t.length;){let o=t[i],s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
`;break}case-3:{s=`\r
`;break}case-2:{s=e?" ":" ";break}case-1:{if(!e&&n)continue;s=" ";break}default:s=String.fromCharCode(o)}n=o===-2,r.push(s)}return r.join("")}var h0={};sc(h0,{attentionMarkers:()=>UD,contentInitial:()=>XD,disable:()=>ND,document:()=>AD,flow:()=>LD,flowInitial:()=>RD,insideSpan:()=>DD,string:()=>ID,text:()=>zD});var AD={42:mi,43:mi,45:mi,48:mi,49:mi,50:mi,51:mi,52:mi,53:mi,54:mi,55:mi,56:mi,57:mi,62:Mh},XD={91:n0},RD={[-2]:Qc,[-1]:Qc,32:Qc},LD={35:s0,42:Ss,45:[Fh,Ss],60:l0,61:Fh,95:Ss,96:Wh,126:Wh},ID={38:jh,92:qh},zD={[-5]:Cc,[-4]:Cc,[-3]:Cc,33:u0,38:jh,42:Pc,60:[t0,c0],91:f0,92:[o0,qh],93:ks,95:Pc,96:i0},DD={null:[Pc,CT]},UD={null:[42,95]},ND={null:[]};function d0(t){let i=gT([h0,...(t||{}).extensions||[]]),r={defined:[],lazy:{},constructs:i,content:n(wT),document:n(ST),flow:n(QT),string:n(_T),text:n($T)};return r;function n(o){return s;function s(a){return RT(r,o,a)}}}function O0(t){for(;!Vh(t););return t}var LT=/[\0\t\n\r]/g;function p0(){let t=1,e="",i=!0,r;return n;function n(o,s,a){let l=[],c,u,f,d,O;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),f=0,e="",i&&(o.charCodeAt(0)===65279&&f++,i=void 0);f<o.length;){if(LT.lastIndex=f,c=LT.exec(o),d=c&&c.index!==void 0?c.index:o.length,O=o.charCodeAt(d),!c){e=o.slice(f);break}if(O===10&&f===d&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<d&&(l.push(o.slice(f,d)),t+=d-f),O){case 0:{l.push(65533),t++;break}case 9:{for(u=Math.ceil(t/4)*4,l.push(-2);t++<u;)l.push(-1);break}case 10:{l.push(-4),t=1;break}default:r=!0,t=1}f=d+1}return a&&(r&&l.push(-5),e&&l.push(e),l.push(null)),l}}var MD=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function IT(t){return t.replace(MD,qD)}function qD(t,e,i){if(e)return e;if(i.charCodeAt(0)===35){let n=i.charCodeAt(1),o=n===120||n===88;return Nh(i.slice(o?2:1),o?16:10)}return _a(i)||t}function Da(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?zT(t.position):"start"in t||"end"in t?zT(t):"line"in t||"column"in t?m0(t):""}function m0(t){return DT(t&&t.line)+":"+DT(t&&t.column)}function zT(t){return m0(t&&t.start)+"-"+m0(t&&t.end)}function DT(t){return t&&typeof t=="number"?t:1}var NT={}.hasOwnProperty;function g0(t,e,i){return typeof e!="string"&&(i=e,e=void 0),jD(i)(O0(d0(i).document().write(p0()(t,e,!0))))}function jD(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(tc),autolinkProtocol:F,autolinkEmail:F,atxHeading:o(ph),blockQuote:o($t),characterEscape:F,characterReference:F,codeFenced:o(At),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(At,s),codeText:o(cr,s),codeTextData:F,data:F,codeFlowValue:F,definition:o(ur),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(Ut),hardBreakEscape:o(Bi),hardBreakTrailing:o(Bi),htmlFlow:o(mh,s),htmlFlowData:F,htmlText:o(mh,s),htmlTextData:F,image:o(cg),label:s,link:o(tc),listItem:o(Pr),listItemValue:d,listOrdered:o(Br,f),listUnordered:o(Br),paragraph:o(ug),reference:z,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(ph),strong:o(gh),thematicBreak:o(fg)},exit:{atxHeading:l(),atxHeadingSequence:C,autolink:l(),autolinkEmail:Xe,autolinkProtocol:Dt,blockQuote:l(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:Ze,characterReferenceMarkerNumeric:Ze,characterReferenceValue:Be,codeFenced:l(S),codeFencedFence:x,codeFencedFenceInfo:O,codeFencedFenceMeta:g,codeFlowValue:N,codeIndented:l(w),codeText:l(me),codeTextData:N,data:N,definition:l(),definitionDestinationString:I,definitionLabelString:T,definitionTitleString:A,emphasis:l(),hardBreakEscape:l(ue),hardBreakTrailing:l(ue),htmlFlow:l(re),htmlFlowData:N,htmlText:l(de),htmlTextData:N,image:l(q),label:B,labelText:ae,lineEnding:ie,link:l(we),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:qe,resourceDestinationString:P,resourceTitleString:V,resource:ne,setextHeading:l(le),setextHeadingLineSequence:j,setextHeadingText:$,strong:l(),thematicBreak:l()}};MT(e,(t||{}).mdastExtensions||[]);let i={};return r;function r(ce){let ye={type:"root",children:[]},Ee={stack:[ye],tokenStack:[],config:e,enter:a,exit:c,buffer:s,resume:u,data:i},je=[],Ae=-1;for(;++Ae<ce.length;)if(ce[Ae][1].type==="listOrdered"||ce[Ae][1].type==="listUnordered")if(ce[Ae][0]==="enter")je.push(Ae);else{let Yi=je.pop();Ae=n(ce,Yi,Ae)}for(Ae=-1;++Ae<ce.length;){let Yi=e[ce[Ae][0]];NT.call(Yi,ce[Ae][1].type)&&Yi[ce[Ae][1].type].call(Object.assign({sliceSerialize:ce[Ae][2].sliceSerialize},Ee),ce[Ae][1])}if(Ee.tokenStack.length>0){let Yi=Ee.tokenStack[Ee.tokenStack.length-1];(Yi[1]||UT).call(Ee,void 0,Yi[0])}for(ye.position={start:Eo(ce.length>0?ce[0][1].start:{line:1,column:1,offset:0}),end:Eo(ce.length>0?ce[ce.length-2][1].end:{line:1,column:1,offset:0})},Ae=-1;++Ae<e.transforms.length;)ye=e.transforms[Ae](ye)||ye;return ye}function n(ce,ye,Ee){let je=ye-1,Ae=-1,Yi=!1,wn,Qr,Oo,rt;for(;++je<=Ee;){let mt=ce[je];switch(mt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{mt[0]==="enter"?Ae++:Ae--,rt=void 0;break}case"lineEndingBlank":{mt[0]==="enter"&&(wn&&!rt&&!Ae&&!Oo&&(Oo=je),rt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:rt=void 0}if(!Ae&&mt[0]==="enter"&&mt[1].type==="listItemPrefix"||Ae===-1&&mt[0]==="exit"&&(mt[1].type==="listUnordered"||mt[1].type==="listOrdered")){if(wn){let at=je;for(Qr=void 0;at--;){let Pt=ce[at];if(Pt[1].type==="lineEnding"||Pt[1].type==="lineEndingBlank"){if(Pt[0]==="exit")continue;Qr&&(ce[Qr][1].type="lineEndingBlank",Yi=!0),Pt[1].type="lineEnding",Qr=at}else if(!(Pt[1].type==="linePrefix"||Pt[1].type==="blockQuotePrefix"||Pt[1].type==="blockQuotePrefixWhitespace"||Pt[1].type==="blockQuoteMarker"||Pt[1].type==="listItemIndent"))break}Oo&&(!Qr||Oo<Qr)&&(wn._spread=!0),wn.end=Object.assign({},Qr?ce[Qr][1].start:mt[1].end),ce.splice(Qr||je,0,["exit",wn,mt[2]]),je++,Ee++}if(mt[1].type==="listItemPrefix"){let at={type:"listItem",_spread:!1,start:Object.assign({},mt[1].start),end:void 0};wn=at,ce.splice(je,0,["enter",at,mt[2]]),je++,Ee++,Oo=void 0,rt=!0}}}return ce[ye][1]._spread=Yi,Ee}function o(ce,ye){return Ee;function Ee(je){a.call(this,ce(je),je),ye&&ye.call(this,je)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(ce,ye,Ee){this.stack[this.stack.length-1].children.push(ce),this.stack.push(ce),this.tokenStack.push([ye,Ee]),ce.position={start:Eo(ye.start),end:void 0}}function l(ce){return ye;function ye(Ee){ce&&ce.call(this,Ee),c.call(this,Ee)}}function c(ce,ye){let Ee=this.stack.pop(),je=this.tokenStack.pop();if(je)je[0].type!==ce.type&&(ye?ye.call(this,ce,je[0]):(je[1]||UT).call(this,ce,je[0]));else throw new Error("Cannot close `"+ce.type+"` ("+Da({start:ce.start,end:ce.end})+"): it\u2019s not open");Ee.position.end=Eo(ce.end)}function u(){return Kg(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(ce){if(this.data.expectingFirstListItemValue){let ye=this.stack[this.stack.length-2];ye.start=Number.parseInt(this.sliceSerialize(ce),10),this.data.expectingFirstListItemValue=void 0}}function O(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.lang=ce}function g(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.meta=ce}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function S(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce.replace(/(\r?\n|\r)$/g,"")}function T(ce){let ye=this.resume(),Ee=this.stack[this.stack.length-1];Ee.label=ye,Ee.identifier=Qn(this.sliceSerialize(ce)).toLowerCase()}function A(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ce}function I(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ce}function C(ce){let ye=this.stack[this.stack.length-1];if(!ye.depth){let Ee=this.sliceSerialize(ce).length;ye.depth=Ee}}function $(){this.data.setextHeadingSlurpLineEnding=!0}function j(ce){let ye=this.stack[this.stack.length-1];ye.depth=this.sliceSerialize(ce).codePointAt(0)===61?1:2}function le(){this.data.setextHeadingSlurpLineEnding=void 0}function F(ce){let Ee=this.stack[this.stack.length-1].children,je=Ee[Ee.length-1];(!je||je.type!=="text")&&(je=ic(),je.position={start:Eo(ce.start),end:void 0},Ee.push(je)),this.stack.push(je)}function N(ce){let ye=this.stack.pop();ye.value+=this.sliceSerialize(ce),ye.position.end=Eo(ce.end)}function ie(ce){let ye=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Ee=ye.children[ye.children.length-1];Ee.position.end=Eo(ce.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(ye.type)&&(F.call(this,ce),N.call(this,ce))}function ue(){this.data.atHardBreak=!0}function re(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function de(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function me(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function we(){let ce=this.stack[this.stack.length-1];if(this.data.inReference){let ye=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=ye,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function q(){let ce=this.stack[this.stack.length-1];if(this.data.inReference){let ye=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=ye,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function ae(ce){let ye=this.sliceSerialize(ce),Ee=this.stack[this.stack.length-2];Ee.label=IT(ye),Ee.identifier=Qn(ye).toLowerCase()}function B(){let ce=this.stack[this.stack.length-1],ye=this.resume(),Ee=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ee.type==="link"){let je=ce.children;Ee.children=je}else Ee.alt=ye}function P(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ce}function V(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ce}function ne(){this.data.inReference=void 0}function z(){this.data.referenceType="collapsed"}function qe(ce){let ye=this.resume(),Ee=this.stack[this.stack.length-1];Ee.label=ye,Ee.identifier=Qn(this.sliceSerialize(ce)).toLowerCase(),this.data.referenceType="full"}function Ze(ce){this.data.characterReferenceType=ce.type}function Be(ce){let ye=this.sliceSerialize(ce),Ee=this.data.characterReferenceType,je;Ee?(je=Nh(ye,Ee==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):je=_a(ye);let Ae=this.stack.pop();Ae.value+=je,Ae.position.end=Eo(ce.end)}function Dt(ce){N.call(this,ce);let ye=this.stack[this.stack.length-1];ye.url=this.sliceSerialize(ce)}function Xe(ce){N.call(this,ce);let ye=this.stack[this.stack.length-1];ye.url="mailto:"+this.sliceSerialize(ce)}function $t(){return{type:"blockquote",children:[]}}function At(){return{type:"code",lang:null,meta:null,value:""}}function cr(){return{type:"inlineCode",value:""}}function ur(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ut(){return{type:"emphasis",children:[]}}function ph(){return{type:"heading",depth:0,children:[]}}function Bi(){return{type:"break"}}function mh(){return{type:"html",value:""}}function cg(){return{type:"image",title:null,url:"",alt:null}}function tc(){return{type:"link",title:null,url:"",children:[]}}function Br(ce){return{type:"list",ordered:ce.type==="listOrdered",start:null,spread:ce._spread,children:[]}}function Pr(ce){return{type:"listItem",spread:ce._spread,checked:null,children:[]}}function ug(){return{type:"paragraph",children:[]}}function gh(){return{type:"strong",children:[]}}function ic(){return{type:"text",value:""}}function fg(){return{type:"thematicBreak"}}}function Eo(t){return{line:t.line,column:t.column,offset:t.offset}}function MT(t,e){let i=-1;for(;++i<e.length;){let r=e[i];Array.isArray(r)?MT(t,r):WD(t,r)}}function WD(t,e){let i;for(i in e)if(NT.call(e,i))switch(i){case"canContainEols":{let r=e[i];r&&t[i].push(...r);break}case"transforms":{let r=e[i];r&&t[i].push(...r);break}case"enter":case"exit":{let r=e[i];r&&Object.assign(t[i],r);break}}}function UT(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Da({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Da({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Da({start:e.start,end:e.end})+") is still open")}function Hh(t){let e=this;e.parser=i;function i(r){return g0(r,Pe(H(H({},e.data("settings")),t),{extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]}))}}function Ua(t,e){let i=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,n=i.indexOf(e);for(;n!==-1;)r++,n=i.indexOf(e,n+e.length);return r}var VD=Po(new RegExp("\\p{P}","u")),ufe=Po(/[A-Za-z]/),ffe=Po(/[\dA-Za-z]/),hfe=Po(/[#-'*+\--9=?A-Z^-~]/);var dfe=Po(/\d/),Ofe=Po(/[\dA-Fa-f]/),ZD=Po(/[!-/:-@[-`{-~]/);function qT(t){return ZD(t)||VD(t)}var jT=Po(/\s/);function Po(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function b0(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var rn=function(t){if(t==null)return HD;if(typeof t=="function")return Gh(t);if(typeof t=="object")return Array.isArray(t)?BD(t):YD(t);if(typeof t=="string")return FD(t);throw new Error("Expected function, string, or object as test")};function BD(t){let e=[],i=-1;for(;++i<t.length;)e[i]=rn(t[i]);return Gh(r);function r(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function YD(t){let e=t;return Gh(i);function i(r){let n=r,o;for(o in t)if(n[o]!==e[o])return!1;return!0}}function FD(t){return Gh(e);function e(i){return i&&i.type===t}}function Gh(t){return e;function e(i,r,n){return!!(GD(i)&&t.call(this,i,typeof r=="number"?r:void 0,n||void 0))}}function HD(){return!0}function GD(t){return t!==null&&typeof t=="object"&&"type"in t}var WT=[],Kh=!0,Ts=!1,Na="skip";function Es(t,e,i,r){let n;typeof e=="function"&&typeof i!="function"?(r=i,i=e):n=e;let o=rn(n),s=r?-1:1;a(t,void 0,[])();function a(l,c,u){let f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){let O=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(l.type+(O?"<"+O+">":""))+")"})}return d;function d(){let O=WT,g,x,S;if((!e||o(l,c,u[u.length-1]||void 0))&&(O=KD(i(l,u)),O[0]===Ts))return O;if("children"in l&&l.children){let w=l;if(w.children&&O[0]!==Na)for(x=(r?w.children.length:-1)+s,S=u.concat(w);x>-1&&x<w.children.length;){let T=w.children[x];if(g=a(T,x,S)(),g[0]===Ts)return g;x=typeof g[1]=="number"?g[1]:x+s}}return O}}}function KD(t){return Array.isArray(t)?t:typeof t=="number"?[Kh,t]:t==null?WT:[t]}function y0(t,e,i){let n=rn((i||{}).ignore||[]),o=JD(e),s=-1;for(;++s<o.length;)Es(t,"text",a);function a(c,u){let f=-1,d;for(;++f<u.length;){let O=u[f],g=d?d.children:void 0;if(n(O,g?g.indexOf(O):void 0,d))return;d=O}if(d)return l(c,u)}function l(c,u){let f=u[u.length-1],d=o[s][0],O=o[s][1],g=0,S=f.children.indexOf(c),w=!1,T=[];d.lastIndex=0;let A=d.exec(c.value);for(;A;){let I=A.index,C={index:A.index,input:A.input,stack:[...u,c]},$=O(...A,C);if(typeof $=="string"&&($=$.length>0?{type:"text",value:$}:void 0),$===!1?d.lastIndex=I+1:(g!==I&&T.push({type:"text",value:c.value.slice(g,I)}),Array.isArray($)?T.push(...$):$&&T.push($),g=I+A[0].length,w=!0),!d.global)break;A=d.exec(c.value)}return w?(g<c.value.length&&T.push({type:"text",value:c.value.slice(g)}),f.children.splice(S,1,...T)):T=[c],S+T.length}}function JD(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let i=!t[0]||Array.isArray(t[0])?t:[t],r=-1;for(;++r<i.length;){let n=i[r];e.push([eU(n[0]),tU(n[1])])}return e}function eU(t){return typeof t=="string"?new RegExp(b0(t),"g"):t}function tU(t){return typeof t=="function"?t:function(){return t}}var x0="phrasing",v0=["autolink","link","image","label"];function k0(){return{transforms:[aU],enter:{literalAutolink:iU,literalAutolinkEmail:w0,literalAutolinkHttp:w0,literalAutolinkWww:w0},exit:{literalAutolink:sU,literalAutolinkEmail:oU,literalAutolinkHttp:rU,literalAutolinkWww:nU}}}function S0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:x0,notInConstruct:v0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:x0,notInConstruct:v0},{character:":",before:"[ps]",after:"\\/",inConstruct:x0,notInConstruct:v0}]}}function iU(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function w0(t){this.config.enter.autolinkProtocol.call(this,t)}function rU(t){this.config.exit.autolinkProtocol.call(this,t)}function nU(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 oU(t){this.config.exit.autolinkEmail.call(this,t)}function sU(t){this.exit(t)}function aU(t){y0(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,lU],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,cU]],{ignore:["link","linkReference"]})}function lU(t,e,i,r,n){let o="";if(!VT(n)||(/^w/i.test(e)&&(i=e+i,e="",o="http://"),!uU(i)))return!1;let s=fU(i+r);if(!s[0])return!1;let a={type:"link",title:null,url:o+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function cU(t,e,i,r){return!VT(r,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+i,children:[{type:"text",value:e+"@"+i}]}}function uU(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 fU(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let i=e[0],r=i.indexOf(")"),n=Ua(t,"("),o=Ua(t,")");for(;r!==-1&&n>o;)t+=i.slice(0,r+1),i=i.slice(r+1),r=i.indexOf(")"),o++;return[t,i]}function VT(t,e){let i=t.input.charCodeAt(t.index-1);return(t.index===0||jT(i)||qT(i))&&(!e||i!==47)}function T0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}ZT.peek=xU;function E0(){return{enter:{gfmFootnoteDefinition:hU,gfmFootnoteDefinitionLabelString:dU,gfmFootnoteCall:mU,gfmFootnoteCallString:gU},exit:{gfmFootnoteDefinition:pU,gfmFootnoteDefinitionLabelString:OU,gfmFootnoteCall:yU,gfmFootnoteCallString:bU}}}function P0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:vU,footnoteReference:ZT}}}function hU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function dU(){this.buffer()}function OU(t){let e=this.resume(),i=this.stack[this.stack.length-1];i.type,i.label=e,i.identifier=T0(this.sliceSerialize(t)).toLowerCase()}function pU(t){this.exit(t)}function mU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function gU(){this.buffer()}function bU(t){let e=this.resume(),i=this.stack[this.stack.length-1];i.type,i.label=e,i.identifier=T0(this.sliceSerialize(t)).toLowerCase()}function yU(t){this.exit(t)}function ZT(t,e,i,r){let n=i.createTracker(r),o=n.move("[^"),s=i.enter("footnoteReference"),a=i.enter("reference");return o+=n.move(i.safe(i.associationId(t),Pe(H({},n.current()),{before:o,after:"]"}))),a(),s(),o+=n.move("]"),o}function xU(){return"["}function vU(t,e,i,r){let n=i.createTracker(r),o=n.move("[^"),s=i.enter("footnoteDefinition"),a=i.enter("label");return o+=n.move(i.safe(i.associationId(t),Pe(H({},n.current()),{before:o,after:"]"}))),a(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(i.indentLines(i.containerFlow(t,n.current()),wU)),s(),o}function wU(t,e,i){return e===0?t:(i?"":" ")+t}var kU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];BT.peek=EU;function Q0(){return{canContainEols:["delete"],enter:{strikethrough:SU},exit:{strikethrough:TU}}}function C0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:kU}],handlers:{delete:BT}}}function SU(t){this.enter({type:"delete",children:[]},t)}function TU(t){this.exit(t)}function BT(t,e,i,r){let n=i.createTracker(r),o=i.enter("strikethrough"),s=n.move("~~");return s+=i.containerPhrasing(t,Pe(H({},n.current()),{before:s,after:"~"})),s+=n.move("~~"),o(),s}function EU(){return"~"}function FT(t,e={}){let i=(e.align||[]).concat(),r=e.stringLength||QU,n=[],o=[],s=[],a=[],l=0,c=-1;for(;++c<t.length;){let g=[],x=[],S=-1;for(t[c].length>l&&(l=t[c].length);++S<t[c].length;){let w=PU(t[c][S]);if(e.alignDelimiters!==!1){let T=r(w);x[S]=T,(a[S]===void 0||T>a[S])&&(a[S]=T)}g.push(w)}o[c]=g,s[c]=x}let u=-1;if(typeof i=="object"&&"length"in i)for(;++u<l;)n[u]=YT(i[u]);else{let g=YT(i);for(;++u<l;)n[u]=g}u=-1;let f=[],d=[];for(;++u<l;){let g=n[u],x="",S="";g===99?(x=":",S=":"):g===108?x=":":g===114&&(S=":");let w=e.alignDelimiters===!1?1:Math.max(1,a[u]-x.length-S.length),T=x+"-".repeat(w)+S;e.alignDelimiters!==!1&&(w=x.length+w+S.length,w>a[u]&&(a[u]=w),d[u]=w),f[u]=T}o.splice(1,0,f),s.splice(1,0,d),c=-1;let O=[];for(;++c<o.length;){let g=o[c],x=s[c];u=-1;let S=[];for(;++u<l;){let w=g[u]||"",T="",A="";if(e.alignDelimiters!==!1){let I=a[u]-(x[u]||0),C=n[u];C===114?T=" ".repeat(I):C===99?I%2?(T=" ".repeat(I/2+.5),A=" ".repeat(I/2-.5)):(T=" ".repeat(I/2),A=T):A=" ".repeat(I)}e.delimiterStart!==!1&&!u&&S.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&w==="")&&(e.delimiterStart!==!1||u)&&S.push(" "),e.alignDelimiters!==!1&&S.push(T),S.push(w),e.alignDelimiters!==!1&&S.push(A),e.padding!==!1&&S.push(" "),(e.delimiterEnd!==!1||u!==l-1)&&S.push("|")}O.push(e.delimiterEnd===!1?S.join("").replace(/ +$/,""):S.join(""))}return O.join(`
`)}function PU(t){return t==null?"":String(t)}function QU(t){return t.length}function YT(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 HT={}.hasOwnProperty;function Ma(t,e){let i=e||{};function r(n,...o){let s=r.invalid,a=r.handlers;if(n&&HT.call(n,t)){let l=String(n[t]);s=HT.call(a,l)?a[l]:r.unknown}if(s)return s.call(this,n,...o)}return r.handlers=i.handlers||{},r.invalid=i.invalid,r.unknown=i.unknown,r}function GT(t,e,i,r){let n=i.enter("blockquote"),o=i.createTracker(r);o.move("> "),o.shift(2);let s=i.indentLines(i.containerFlow(t,o.current()),CU);return n(),s}function CU(t,e,i){return">"+(i?"":" ")+t}function JT(t,e){return KT(t,e.inConstruct,!0)&&!KT(t,e.notInConstruct,!1)}function KT(t,e,i){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return i;let r=-1;for(;++r<e.length;)if(t.includes(e[r]))return!0;return!1}function _0(t,e,i,r){let n=-1;for(;++n<i.unsafe.length;)if(i.unsafe[n].character===`
`&&JT(i.stack,i.unsafe[n]))return/[ \t]/.test(r.before)?"":" ";return`\\
`}function Jh(t,e){let i=String(t),r=i.indexOf(e),n=r,o=0,s=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===n?++o>s&&(s=o):o=1,n=r+e.length,r=i.indexOf(e,n);return s}function e3(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 t3(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 i3(t,e,i,r){let n=t3(i),o=t.value||"",s=n==="`"?"GraveAccent":"Tilde";if(e3(t,i)){let f=i.enter("codeIndented"),d=i.indentLines(o,_U);return f(),d}let a=i.createTracker(r),l=n.repeat(Math.max(Jh(o,n)+1,3)),c=i.enter("codeFenced"),u=a.move(l);if(t.lang){let f=i.enter(`codeFencedLang${s}`);u+=a.move(i.safe(t.lang,H({before:u,after:" ",encode:["`"]},a.current()))),f()}if(t.lang&&t.meta){let f=i.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(i.safe(t.meta,H({before:u,after:`
`,encode:["`"]},a.current()))),f()}return u+=a.move(`
`),o&&(u+=a.move(o+`
`)),u+=a.move(l),c(),u}function _U(t,e,i){return(i?"":" ")+t}function qa(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 r3(t,e,i,r){let n=qa(i),o=n==='"'?"Quote":"Apostrophe",s=i.enter("definition"),a=i.enter("label"),l=i.createTracker(r),c=l.move("[");return c+=l.move(i.safe(i.associationId(t),H({before:c,after:"]"},l.current()))),c+=l.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(i.safe(t.url,H({before:c,after:">"},l.current()))),c+=l.move(">")):(a=i.enter("destinationRaw"),c+=l.move(i.safe(t.url,H({before:c,after:t.title?" ":`
`},l.current())))),a(),t.title&&(a=i.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(i.safe(t.title,H({before:c,after:n},l.current()))),c+=l.move(n),a()),s(),c}function n3(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}$0.peek=$U;function $0(t,e,i,r){let n=n3(i),o=i.enter("emphasis"),s=i.createTracker(r),a=s.move(n);return a+=s.move(i.containerPhrasing(t,H({before:a,after:n},s.current()))),a+=s.move(n),o(),a}function $U(t,e,i){return i.options.emphasis||"*"}function gi(t,e,i,r){let n,o,s;typeof e=="function"&&typeof i!="function"?(o=void 0,s=e,n=i):(o=e,s=i,n=r),Es(t,o,a,n);function a(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return s(l,f,u)}}var AU={};function _c(t,e){let i=e||AU,r=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,n=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return s3(t,r,n)}function s3(t,e,i){if(XU(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return o3(t.children,e,i)}return Array.isArray(t)?o3(t,e,i):""}function o3(t,e,i){let r=[],n=-1;for(;++n<t.length;)r[n]=s3(t[n],e,i);return r.join("")}function XU(t){return!!(t&&typeof t=="object")}function a3(t,e){let i=!1;return gi(t,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return i=!0,Ts}),!!((!t.depth||t.depth<3)&&_c(t)&&(e.options.setext||i))}function l3(t,e,i,r){let n=Math.max(Math.min(6,t.depth||1),1),o=i.createTracker(r);if(a3(t,i)){let u=i.enter("headingSetext"),f=i.enter("phrasing"),d=i.containerPhrasing(t,Pe(H({},o.current()),{before:`
`,after:`
`}));return f(),u(),d+`
`+(n===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
`))+1))}let s="#".repeat(n),a=i.enter("headingAtx"),l=i.enter("phrasing");o.move(s+" ");let c=i.containerPhrasing(t,H({before:"# ",after:`
`},o.current()));return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?s+" "+c:s,i.options.closeAtx&&(c+=" "+s),l(),a(),c}A0.peek=RU;function A0(t){return t.value||""}function RU(){return"<"}X0.peek=LU;function X0(t,e,i,r){let n=qa(i),o=n==='"'?"Quote":"Apostrophe",s=i.enter("image"),a=i.enter("label"),l=i.createTracker(r),c=l.move("![");return c+=l.move(i.safe(t.alt,H({before:c,after:"]"},l.current()))),c+=l.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(i.safe(t.url,H({before:c,after:">"},l.current()))),c+=l.move(">")):(a=i.enter("destinationRaw"),c+=l.move(i.safe(t.url,H({before:c,after:t.title?" ":")"},l.current())))),a(),t.title&&(a=i.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(i.safe(t.title,H({before:c,after:n},l.current()))),c+=l.move(n),a()),c+=l.move(")"),s(),c}function LU(){return"!"}R0.peek=IU;function R0(t,e,i,r){let n=t.referenceType,o=i.enter("imageReference"),s=i.enter("label"),a=i.createTracker(r),l=a.move("!["),c=i.safe(t.alt,H({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=i.stack;i.stack=[],s=i.enter("reference");let f=i.safe(i.associationId(t),H({before:l,after:"]"},a.current()));return s(),i.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function IU(){return"!"}L0.peek=zU;function L0(t,e,i){let r=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(r);)n+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<i.unsafe.length;){let s=i.unsafe[o],a=i.compilePattern(s),l;if(s.atBreak)for(;l=a.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return n+r+n}function zU(){return"`"}function I0(t,e){let i=_c(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(i===t.url||"mailto:"+i===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}z0.peek=DU;function z0(t,e,i,r){let n=qa(i),o=n==='"'?"Quote":"Apostrophe",s=i.createTracker(r),a,l;if(I0(t,i)){let u=i.stack;i.stack=[],a=i.enter("autolink");let f=s.move("<");return f+=s.move(i.containerPhrasing(t,H({before:f,after:">"},s.current()))),f+=s.move(">"),a(),i.stack=u,f}a=i.enter("link"),l=i.enter("label");let c=s.move("[");return c+=s.move(i.containerPhrasing(t,H({before:c,after:"]("},s.current()))),c+=s.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=i.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(i.safe(t.url,H({before:c,after:">"},s.current()))),c+=s.move(">")):(l=i.enter("destinationRaw"),c+=s.move(i.safe(t.url,H({before:c,after:t.title?" ":")"},s.current())))),l(),t.title&&(l=i.enter(`title${o}`),c+=s.move(" "+n),c+=s.move(i.safe(t.title,H({before:c,after:n},s.current()))),c+=s.move(n),l()),c+=s.move(")"),a(),c}function DU(t,e,i){return I0(t,i)?"<":"["}D0.peek=UU;function D0(t,e,i,r){let n=t.referenceType,o=i.enter("linkReference"),s=i.enter("label"),a=i.createTracker(r),l=a.move("["),c=i.containerPhrasing(t,H({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=i.stack;i.stack=[],s=i.enter("reference");let f=i.safe(i.associationId(t),H({before:l,after:"]"},a.current()));return s(),i.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function UU(){return"["}function ja(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 c3(t){let e=ja(t),i=t.options.bulletOther;if(!i)return e==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+i+"`) to be different");return i}function u3(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 ed(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 f3(t,e,i,r){let n=i.enter("list"),o=i.bulletCurrent,s=t.ordered?u3(i):ja(i),a=t.ordered?s==="."?")":".":c3(i),l=e&&i.bulletLastUsed?s===i.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(l=!0),ed(i)===s&&u){let f=-1;for(;++f<t.children.length;){let d=t.children[f];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=a),i.bulletCurrent=s;let c=i.containerFlow(t,r);return i.bulletLastUsed=s,i.bulletCurrent=o,n(),c}function h3(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 d3(t,e,i,r){let n=h3(i),o=i.bulletCurrent||ja(i);e&&e.type==="list"&&e.ordered&&(o=(typeof e.start=="number"&&e.start>-1?e.start:1)+(i.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let s=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(s=Math.ceil(s/4)*4);let a=i.createTracker(r);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=i.enter("listItem"),c=i.indentLines(i.containerFlow(t,a.current()),u);return l(),c;function u(f,d,O){return d?(O?"":" ".repeat(s))+f:(O?o:o+" ".repeat(s-o.length))+f}}function O3(t,e,i,r){let n=i.enter("paragraph"),o=i.enter("phrasing"),s=i.containerPhrasing(t,r);return o(),n(),s}var U0=rn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function p3(t,e,i,r){return(t.children.some(function(s){return U0(s)})?i.containerPhrasing:i.containerFlow).call(i,t,r)}function m3(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}N0.peek=NU;function N0(t,e,i,r){let n=m3(i),o=i.enter("strong"),s=i.createTracker(r),a=s.move(n+n);return a+=s.move(i.containerPhrasing(t,H({before:a,after:n},s.current()))),a+=s.move(n+n),o(),a}function NU(t,e,i){return i.options.strong||"*"}function g3(t,e,i,r){return i.safe(t.value,r)}function b3(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 y3(t,e,i){let r=(ed(i)+(i.options.ruleSpaces?" ":"")).repeat(b3(i));return i.options.ruleSpaces?r.slice(0,-1):r}var $c={blockquote:GT,break:_0,code:i3,definition:r3,emphasis:$0,hardBreak:_0,heading:l3,html:A0,image:X0,imageReference:R0,inlineCode:L0,link:z0,linkReference:D0,list:f3,listItem:d3,paragraph:O3,root:p3,strong:N0,text:g3,thematicBreak:y3};function q0(){return{enter:{table:MU,tableData:x3,tableHeader:x3,tableRow:jU},exit:{codeText:WU,table:qU,tableData:M0,tableHeader:M0,tableRow:M0}}}function MU(t){let e=t._align;this.enter({type:"table",align:e.map(function(i){return i==="none"?null:i}),children:[]},t),this.data.inTable=!0}function qU(t){this.exit(t),this.data.inTable=void 0}function jU(t){this.enter({type:"tableRow",children:[]},t)}function M0(t){this.exit(t)}function x3(t){this.enter({type:"tableCell",children:[]},t)}function WU(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,VU));let i=this.stack[this.stack.length-1];i.type,i.value=e,this.exit(t)}function VU(t,e){return e==="|"?e:t}function j0(t){let e=t||{},i=e.tableCellPadding,r=e.tablePipeAlign,n=e.stringLength,o=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:s,tableCell:l,tableRow:a}};function s(O,g,x,S){return c(u(O,x,S),O.align)}function a(O,g,x,S){let w=f(O,x,S),T=c([w]);return T.slice(0,T.indexOf(`
`))}function l(O,g,x,S){let w=x.enter("tableCell"),T=x.enter("phrasing"),A=x.containerPhrasing(O,Pe(H({},S),{before:o,after:o}));return T(),w(),A}function c(O,g){return FT(O,{align:g,alignDelimiters:r,padding:i,stringLength:n})}function u(O,g,x){let S=O.children,w=-1,T=[],A=g.enter("table");for(;++w<S.length;)T[w]=f(S[w],g,x);return A(),T}function f(O,g,x){let S=O.children,w=-1,T=[],A=g.enter("tableRow");for(;++w<S.length;)T[w]=l(S[w],O,g,x);return A(),T}function d(O,g,x){let S=$c.inlineCode(O,g,x);return x.stack.includes("tableCell")&&(S=S.replace(/\|/g,"\\$&")),S}}function W0(){return{exit:{taskListCheckValueChecked:v3,taskListCheckValueUnchecked:v3,paragraph:ZU}}}function V0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:BU}}}function v3(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function ZU(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let i=this.stack[this.stack.length-1];i.type;let r=i.children[0];if(r&&r.type==="text"){let n=e.children,o=-1,s;for(;++o<n.length;){let a=n[o];if(a.type==="paragraph"){s=a;break}}s===i&&(r.value=r.value.slice(1),r.value.length===0?i.children.shift():i.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,i.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function BU(t,e,i,r){let n=t.children[0],o=typeof t.checked=="boolean"&&n&&n.type==="paragraph",s="["+(t.checked?"x":" ")+"] ",a=i.createTracker(r);o&&a.move(s);let l=$c.listItem(t,e,i,H(H({},r),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+s}}function Z0(){return[k0(),E0(),Q0(),q0(),W0()]}function B0(t){return{extensions:[S0(),P0(),C0(),j0(t),V0()]}}function w3(t,e,i,r){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,i=i>0?i:0,r.length<1e4)s=Array.from(r),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<r.length;)s=r.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var k3={}.hasOwnProperty;function S3(t){let e={},i=-1;for(;++i<t.length;)YU(e,t[i]);return e}function YU(t,e){let i;for(i in e){let n=(k3.call(t,i)?t[i]:void 0)||(t[i]={}),o=e[i],s;if(o)for(s in o){k3.call(n,s)||(n[s]=[]);let a=o[s];FU(n[s],Array.isArray(a)?a:a?[a]:[])}}}function FU(t,e){let i=-1,r=[];for(;++i<e.length;)(e[i].add==="after"?t:r).push(e[i]);w3(t,0,0,r)}var HU=Qo(new RegExp("\\p{P}","u")),Wa=Qo(/[A-Za-z]/),td=Qo(/[\dA-Za-z]/),uOe=Qo(/[#-'*+\--9=?A-Z^-~]/);function T3(t){return t!==null&&(t<32||t===127)}var fOe=Qo(/\d/),hOe=Qo(/[\dA-Fa-f]/),GU=Qo(/[!-/:-@[-`{-~]/);function Ps(t){return t!==null&&(t<0||t===32)}function Y0(t){return GU(t)||HU(t)}var Va=Qo(/\s/);function Qo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}var KU={tokenize:r9,partial:!0},E3={tokenize:n9,partial:!0},P3={tokenize:o9,partial:!0},Q3={tokenize:s9,partial:!0},JU={tokenize:a9,partial:!0},C3={tokenize:t9,previous:$3},_3={tokenize:i9,previous:A3},Cn={tokenize:e9,previous:X3},nn={};function H0(){return{text:nn}}var Qs=48;for(;Qs<123;)nn[Qs]=Cn,Qs++,Qs===58?Qs=65:Qs===91&&(Qs=97);nn[43]=Cn;nn[45]=Cn;nn[46]=Cn;nn[95]=Cn;nn[72]=[Cn,_3];nn[104]=[Cn,_3];nn[87]=[Cn,C3];nn[119]=[Cn,C3];function e9(t,e,i){let r=this,n,o;return s;function s(f){return!F0(f)||!X3.call(r,r.previous)||G0(r.events)?i(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(f))}function a(f){return F0(f)?(t.consume(f),a):f===64?(t.consume(f),l):i(f)}function l(f){return f===46?t.check(JU,u,c)(f):f===45||f===95||td(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&&Wa(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):i(f)}}function t9(t,e,i){let r=this;return n;function n(s){return s!==87&&s!==119||!$3.call(r,r.previous)||G0(r.events)?i(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(KU,t.attempt(E3,t.attempt(P3,o),i),i)(s))}function o(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(s)}}function i9(t,e,i){let r=this,n="",o=!1;return s;function s(f){return(f===72||f===104)&&A3.call(r,r.previous)&&!G0(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),a):i(f)}function a(f){if(Wa(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),a;if(f===58){let d=n.toLowerCase();if(d==="http"||d==="https")return t.consume(f),l}return i(f)}function l(f){return f===47?(t.consume(f),o?c:(o=!0,l)):i(f)}function c(f){return f===null||T3(f)||Ps(f)||Va(f)||Y0(f)?i(f):t.attempt(E3,t.attempt(P3,u),i)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function r9(t,e,i){let r=0;return n;function n(s){return(s===87||s===119)&&r<3?(r++,t.consume(s),n):s===46&&r===3?(t.consume(s),o):i(s)}function o(s){return s===null?i(s):e(s)}}function n9(t,e,i){let r,n,o;return s;function s(c){return c===46||c===95?t.check(Q3,l,a)(c):c===null||Ps(c)||Va(c)||c!==45&&Y0(c)?l(c):(o=!0,t.consume(c),s)}function a(c){return c===95?r=!0:(n=r,r=void 0),t.consume(c),s}function l(c){return n||r||!o?i(c):e(c)}}function o9(t,e){let i=0,r=0;return n;function n(s){return s===40?(i++,t.consume(s),n):s===41&&r<i?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?t.check(Q3,e,o)(s):s===null||Ps(s)||Va(s)?e(s):(t.consume(s),n)}function o(s){return s===41&&r++,t.consume(s),n}}function s9(t,e,i){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(t.consume(a),r):a===38?(t.consume(a),o):a===93?(t.consume(a),n):a===60||a===null||Ps(a)||Va(a)?e(a):i(a)}function n(a){return a===null||a===40||a===91||Ps(a)||Va(a)?e(a):r(a)}function o(a){return Wa(a)?s(a):i(a)}function s(a){return a===59?(t.consume(a),r):Wa(a)?(t.consume(a),s):i(a)}}function a9(t,e,i){return r;function r(o){return t.consume(o),n}function n(o){return td(o)?i(o):e(o)}}function $3(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Ps(t)}function A3(t){return!Wa(t)}function X3(t){return!(t===47||F0(t))}function F0(t){return t===43||t===45||t===46||t===95||td(t)}function G0(t){let e=t.length,i=!1;for(;e--;){let r=t[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){i=!0;break}if(r._gfmAutolinkLiteralWalkedInto){i=!1;break}}return t.length>0&&!i&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}var bOe=Co(new RegExp("\\p{P}","u")),yOe=Co(/[A-Za-z]/),xOe=Co(/[\dA-Za-z]/),vOe=Co(/[#-'*+\--9=?A-Z^-~]/);var wOe=Co(/\d/),kOe=Co(/[\dA-Fa-f]/),SOe=Co(/[!-/:-@[-`{-~]/);function R3(t){return t!==null&&t<-2}function Ac(t){return t!==null&&(t<0||t===32)}function Xc(t){return t===-2||t===-1||t===32}var TOe=Co(/\s/);function Co(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Rc(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Xc(l)?(t.enter(i),a(l)):e(l)}function a(l){return Xc(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var K0={tokenize:l9,partial:!0};function l9(t,e,i){return r;function r(o){return Xc(o)?Rc(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||R3(o)?e(o):i(o)}}function id(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var c9={tokenize:m9,partial:!0};function J0(){return{document:{91:{tokenize:d9,continuation:{tokenize:O9},exit:p9}},text:{91:{tokenize:h9},93:{add:"after",tokenize:u9,resolveTo:f9}}}}function u9(t,e,i){let r=this,n=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),s;for(;n--;){let l=r.events[n][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return i(l);let c=id(r.sliceSerialize({start:s.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?i(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function f9(t,e){let i=t.length,r;for(;i--;)if(t[i][1].type==="labelImage"&&t[i][0]==="enter"){r=t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[t[i+1],t[i+2],["enter",n,e],t[i+3],t[i+4],["enter",o,e],["exit",o,e],["enter",s,e],["enter",a,e],["exit",a,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(i,t.length-i+1,...l),t}function h9(t,e,i){let r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,s;return a;function a(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?i(f):(t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(f){if(o>999||f===93&&!s||f===null||f===91||Ac(f))return i(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(id(r.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):i(f)}return Ac(f)||(s=!0),o++,t.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(t.consume(f),o++,c):c(f)}}function d9(t,e,i){let r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):i(g)}function u(g){if(s>999||g===93&&!a||g===null||g===91||Ac(g))return i(g);if(g===93){t.exit("chunkString");let x=t.exit("gfmFootnoteDefinitionLabelString");return o=id(r.sliceSerialize(x)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return Ac(g)||(a=!0),s++,t.consume(g),g===92?f:u}function f(g){return g===91||g===92||g===93?(t.consume(g),s++,u):u(g)}function d(g){return g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),n.includes(o)||n.push(o),Rc(t,O,"gfmFootnoteDefinitionWhitespace")):i(g)}function O(g){return e(g)}}function O9(t,e,i){return t.check(K0,e,t.attempt(c9,e,i))}function p9(t){t.exit("gfmFootnoteDefinition")}function m9(t,e,i){let r=this;return Rc(t,n,"gfmFootnoteDefinitionIndent",5);function n(o){let s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):i(o)}}function rd(t,e,i,r){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,i=i>0?i:0,r.length<1e4)s=Array.from(r),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<r.length;)s=r.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var g9=_o(new RegExp("\\p{P}","u")),jOe=_o(/[A-Za-z]/),WOe=_o(/[\dA-Za-z]/),VOe=_o(/[#-'*+\--9=?A-Z^-~]/);var ZOe=_o(/\d/),BOe=_o(/[\dA-Fa-f]/),b9=_o(/[!-/:-@[-`{-~]/);function L3(t){return t!==null&&(t<0||t===32)}function I3(t){return b9(t)||g9(t)}var z3=_o(/\s/);function _o(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function eb(t){if(t===null||L3(t)||z3(t))return 1;if(I3(t))return 2}function D3(t,e,i){let r=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!r.includes(o)&&(e=o(e,i),r.push(o))}return e}function tb(t){let i=(t||{}).singleTilde,r={tokenize:o,resolveAll:n};return i==null&&(i=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function n(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},f={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},d=[["enter",u,a],["enter",s[c][1],a],["exit",s[c][1],a],["enter",f,a]],O=a.parser.constructs.insideSpan.null;O&&rd(d,d.length,0,D3(O,s.slice(c+1,l),a)),rd(d,d.length,0,[["exit",f,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",u,a]]),rd(s,c-1,l-c+3,d),l=c+d.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){let c=this.previous,u=this.events,f=0;return d;function d(g){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),O(g))}function O(g){let x=eb(c);if(g===126)return f>1?l(g):(s.consume(g),f++,O);if(f<2&&!i)return l(g);let S=s.exit("strikethroughSequenceTemporary"),w=eb(g);return S._open=!w||w===2&&!!x,S._close=!x||x===2&&!!w,a(g)}}}var npe=$o(new RegExp("\\p{P}","u")),ope=$o(/[A-Za-z]/),spe=$o(/[\dA-Za-z]/),ape=$o(/[#-'*+\--9=?A-Z^-~]/);var lpe=$o(/\d/),cpe=$o(/[\dA-Fa-f]/),upe=$o(/[!-/:-@[-`{-~]/);function Lc(t){return t!==null&&t<-2}function ib(t){return t!==null&&(t<0||t===32)}function _n(t){return t===-2||t===-1||t===32}var fpe=$o(/\s/);function $o(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Za(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return _n(l)?(t.enter(i),a(l)):e(l)}function a(l){return _n(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var nd=class{constructor(){this.map=[]}add(e,i,r){y9(this,e,i,r)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let i=this.map.length,r=[];for(;i>0;)i-=1,r.push(e.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),e.length=this.map[i][0];r.push([...e]),e.length=0;let n=r.pop();for(;n;)e.push(...n),n=r.pop();this.map.length=0}};function y9(t,e,i,r){let n=0;if(!(i===0&&r.length===0)){for(;n<t.map.length;){if(t.map[n][0]===e){t.map[n][1]+=i,t.map[n][2].push(...r);return}n+=1}t.map.push([e,i,r])}}function U3(t,e){let i=!1,r=[];for(;e<t.length;){let n=t[e];if(i){if(n[0]==="enter")n[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(n[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(n[1].type==="tableDelimiterRow")break}else n[0]==="enter"&&n[1].type==="tableDelimiterRow"&&(i=!0);e+=1}return r}function rb(){return{flow:{null:{tokenize:x9,resolveAll:v9}}}}function x9(t,e,i){let r=this,n=0,o=0,s;return a;function a(N){let ie=r.events.length-1;for(;ie>-1;){let de=r.events[ie][1].type;if(de==="lineEnding"||de==="linePrefix")ie--;else break}let ue=ie>-1?r.events[ie][1].type:null,re=ue==="tableHead"||ue==="tableRow"?$:l;return re===$&&r.parser.lazy[r.now().line]?i(N):re(N)}function l(N){return t.enter("tableHead"),t.enter("tableRow"),c(N)}function c(N){return N===124||(s=!0,o+=1),u(N)}function u(N){return N===null?i(N):Lc(N)?o>1?(o=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),O):i(N):_n(N)?Za(t,u,"whitespace")(N):(o+=1,s&&(s=!1,n+=1),N===124?(t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),s=!0,u):(t.enter("data"),f(N)))}function f(N){return N===null||N===124||ib(N)?(t.exit("data"),u(N)):(t.consume(N),N===92?d:f)}function d(N){return N===92||N===124?(t.consume(N),f):f(N)}function O(N){return r.interrupt=!1,r.parser.lazy[r.now().line]?i(N):(t.enter("tableDelimiterRow"),s=!1,_n(N)?Za(t,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):g(N))}function g(N){return N===45||N===58?S(N):N===124?(s=!0,t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),x):C(N)}function x(N){return _n(N)?Za(t,S,"whitespace")(N):S(N)}function S(N){return N===58?(o+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(N),t.exit("tableDelimiterMarker"),w):N===45?(o+=1,w(N)):N===null||Lc(N)?I(N):C(N)}function w(N){return N===45?(t.enter("tableDelimiterFiller"),T(N)):C(N)}function T(N){return N===45?(t.consume(N),T):N===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(N),t.exit("tableDelimiterMarker"),A):(t.exit("tableDelimiterFiller"),A(N))}function A(N){return _n(N)?Za(t,I,"whitespace")(N):I(N)}function I(N){return N===124?g(N):N===null||Lc(N)?!s||n!==o?C(N):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(N)):C(N)}function C(N){return i(N)}function $(N){return t.enter("tableRow"),j(N)}function j(N){return N===124?(t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),j):N===null||Lc(N)?(t.exit("tableRow"),e(N)):_n(N)?Za(t,j,"whitespace")(N):(t.enter("data"),le(N))}function le(N){return N===null||N===124||ib(N)?(t.exit("data"),j(N)):(t.consume(N),N===92?F:le)}function F(N){return N===92||N===124?(t.consume(N),le):le(N)}}function v9(t,e){let i=-1,r=!0,n=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,d=new nd;for(;++i<t.length;){let O=t[i],g=O[1];O[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(N3(d,e,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(i,0,[["enter",c,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],s=[0,i+1,0,0],a&&(a=!1,u={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(i,0,[["enter",u,e]])),n=g.type==="tableDelimiterRow"?2:u?3:1):n&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],f=od(d,e,o,n,void 0,f),o=[0,0,0,0]),s[2]=i)):g.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(s[0]=s[1],f=od(d,e,o,n,void 0,f)),o=s,s=[o[1],i,0,0])):g.type==="tableHead"?(a=!0,l=i):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=i,o[1]!==0?(s[0]=s[1],f=od(d,e,o,n,i,f)):s[1]!==0&&(f=od(d,e,s,n,i,f)),n=0):n&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=i)}for(l!==0&&N3(d,e,l,c,u),d.consume(e.events),i=-1;++i<e.events.length;){let O=e.events[i];O[0]==="enter"&&O[1].type==="table"&&(O[1]._align=U3(e.events,i))}return t}function od(t,e,i,r,n,o){let s=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";i[0]!==0&&(o.end=Object.assign({},Ba(e.events,i[0])),t.add(i[0],0,[["exit",o,e]]));let l=Ba(e.events,i[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},t.add(i[1],0,[["enter",o,e]]),i[2]!==0){let c=Ba(e.events,i[2]),u=Ba(e.events,i[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},u)};if(t.add(i[2],0,[["enter",f,e]]),r!==2){let d=e.events[i[2]],O=e.events[i[3]];if(d[1].end=Object.assign({},O[1].end),d[1].type="chunkText",d[1].contentType="text",i[3]>i[2]+1){let g=i[2]+1,x=i[3]-i[2]-1;t.add(g,x,[])}}t.add(i[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Ba(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function N3(t,e,i,r,n){let o=[],s=Ba(e.events,i);n&&(n.end=Object.assign({},s),o.push(["exit",n,e])),r.end=Object.assign({},s),o.push(["exit",r,e]),t.add(i+1,0,o)}function Ba(t,e){let i=t[e],r=i[0]==="enter"?"start":"end";return i[1][r]}var Spe=Ao(new RegExp("\\p{P}","u")),Tpe=Ao(/[A-Za-z]/),Epe=Ao(/[\dA-Za-z]/),Ppe=Ao(/[#-'*+\--9=?A-Z^-~]/);var Qpe=Ao(/\d/),Cpe=Ao(/[\dA-Fa-f]/),_pe=Ao(/[!-/:-@[-`{-~]/);function M3(t){return t!==null&&t<-2}function q3(t){return t!==null&&(t<0||t===32)}function Ic(t){return t===-2||t===-1||t===32}var $pe=Ao(/\s/);function Ao(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function j3(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Ic(l)?(t.enter(i),a(l)):e(l)}function a(l){return Ic(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var w9={tokenize:k9};function nb(){return{text:{91:w9}}}function k9(t,e,i){let r=this;return n;function n(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?i(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),o)}function o(l){return q3(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),s):i(l)}function s(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),a):i(l)}function a(l){return M3(l)?e(l):Ic(l)?t.check({tokenize:S9},e,i)(l):i(l)}}function S9(t,e,i){return j3(t,r,"whitespace");function r(n){return n===null?i(n):e(n)}}function W3(t){return S3([H0(),J0(),tb(t),rb(),nb()])}var T9={};function sd(t){let e=this,i=t||T9,r=e.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(W3(i)),o.push(Z0()),s.push(B0(i))}function ob(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:n,mathFlowFence:r,mathFlowFenceMeta:i,mathFlowValue:a,mathText:s,mathTextData:a}};function t(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function e(){this.buffer()}function i(){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c;let f=u.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){let c=this.resume(),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c,u.data.hChildren.push({type:"text",value:c})}function a(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function sb(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),r.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:i,inlineMath:r}};function i(o,s,a,l){let c=o.value||"",u=a.createTracker(l),f="$".repeat(Math.max(Jh(c,"$")+1,2)),d=a.enter("mathFlow"),O=u.move(f);if(o.meta){let g=a.enter("mathFlowMeta");O+=u.move(a.safe(o.meta,H({after:`
`,before:O,encode:["$"]},u.current()))),g()}return O+=u.move(`
`),c&&(O+=u.move(c+`
`)),O+=u.move(f),d(),O}function r(o,s,a){let l=o.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let u="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f<a.unsafe.length;){let d=a.unsafe[f];if(!d.atBreak)continue;let O=a.compilePattern(d),g;for(;g=O.exec(l);){let x=g.index;l.codePointAt(x)===10&&l.codePointAt(x-1)===13&&x--,l=l.slice(0,x)+" "+l.slice(g.index+1)}}return u+l+u}function n(){return"$"}}var cme=Xo(new RegExp("\\p{P}","u")),ume=Xo(/[A-Za-z]/),fme=Xo(/[\dA-Za-z]/),hme=Xo(/[#-'*+\--9=?A-Z^-~]/);var dme=Xo(/\d/),Ome=Xo(/[\dA-Fa-f]/),pme=Xo(/[!-/:-@[-`{-~]/);function $n(t){return t!==null&&t<-2}function ab(t){return t===-2||t===-1||t===32}var mme=Xo(/\s/);function Xo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function zc(t,e,i,r){let n=r?r-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return ab(l)?(t.enter(i),a(l)):e(l)}function a(l){return ab(l)&&o++<n?(t.consume(l),a):(t.exit(i),e(l))}}var Z3={tokenize:E9,concrete:!0},V3={tokenize:P9,partial:!0};function E9(t,e,i){let r=this,n=r.events[r.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(T){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(T)}function l(T){return T===36?(t.consume(T),s++,l):s<2?i(T):(t.exit("mathFlowFenceSequence"),zc(t,c,"whitespace")(T))}function c(T){return T===null||$n(T)?f(T):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(T))}function u(T){return T===null||$n(T)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),f(T)):T===36?i(T):(t.consume(T),u)}function f(T){return t.exit("mathFlowFence"),r.interrupt?e(T):t.attempt(V3,d,S)(T)}function d(T){return t.attempt({tokenize:w,partial:!0},S,O)(T)}function O(T){return(o?zc(t,g,"linePrefix",o+1):g)(T)}function g(T){return T===null?S(T):$n(T)?t.attempt(V3,d,S)(T):(t.enter("mathFlowValue"),x(T))}function x(T){return T===null||$n(T)?(t.exit("mathFlowValue"),g(T)):(t.consume(T),x)}function S(T){return t.exit("mathFlow"),e(T)}function w(T,A,I){let C=0;return zc(T,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function $(F){return T.enter("mathFlowFence"),T.enter("mathFlowFenceSequence"),j(F)}function j(F){return F===36?(C++,T.consume(F),j):C<s?I(F):(T.exit("mathFlowFenceSequence"),zc(T,le,"whitespace")(F))}function le(F){return F===null||$n(F)?(T.exit("mathFlowFence"),A(F)):I(F)}}}function P9(t,e,i){let r=this;return n;function n(s){return s===null?e(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?i(s):e(s)}}function B3(t){let i=(t||{}).singleDollarTextMath;return i==null&&(i=!0),{tokenize:r,resolve:Q9,previous:C9};function r(n,o,s){let a=this,l=0,c,u;return f;function f(S){return n.enter("mathText"),n.enter("mathTextSequence"),d(S)}function d(S){return S===36?(n.consume(S),l++,d):l<2&&!i?s(S):(n.exit("mathTextSequence"),O(S))}function O(S){return S===null?s(S):S===36?(u=n.enter("mathTextSequence"),c=0,x(S)):S===32?(n.enter("space"),n.consume(S),n.exit("space"),O):$n(S)?(n.enter("lineEnding"),n.consume(S),n.exit("lineEnding"),O):(n.enter("mathTextData"),g(S))}function g(S){return S===null||S===32||S===36||$n(S)?(n.exit("mathTextData"),O(S)):(n.consume(S),g)}function x(S){return S===36?(n.consume(S),c++,x):c===l?(n.exit("mathTextSequence"),n.exit("mathText"),o(S)):(u.type="mathTextData",g(S))}}}function Q9(t){let e=t.length-4,i=3,r,n;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=i;++r<e;)if(t[r][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[i][1].type="mathTextPadding",i+=2,e-=2;break}}for(r=i-1,e++;++r<=e;)n===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(n=r):(r===e||t[r][1].type==="lineEnding")&&(t[n][1].type="mathTextData",r!==n+2&&(t[n][1].end=t[r-1][1].end,t.splice(n+2,r-n-2),e-=r-n-2,r=n+2),n=void 0);return t}function C9(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function lb(t){return{flow:{36:Z3},text:{36:B3(t)}}}var _9={};function ad(t){let e=this,i=t||_9,r=e.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(lb(i)),o.push(ob()),s.push(sb(i))}function Y3(t,e){let i={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,i),t.applyData(e,i)}function F3(t,e){let i={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,i),[t.applyData(e,i),{type:"text",value:`
`}]}function H3(t,e){let i=e.value?e.value+`
`:"",r={};e.lang&&(r.className=["language-"+e.lang]);let n={type:"element",tagName:"code",properties:r,children:[{type:"text",value:i}]};return e.meta&&(n.data={meta:e.meta}),t.patch(e,n),n=t.applyData(e,n),n={type:"element",tagName:"pre",properties:{},children:[n]},t.patch(e,n),n}function G3(t,e){let i={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function K3(t,e){let i={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}var Nme=Ro(new RegExp("\\p{P}","u")),Mme=Ro(/[A-Za-z]/),cb=Ro(/[\dA-Za-z]/),qme=Ro(/[#-'*+\--9=?A-Z^-~]/);var jme=Ro(/\d/),Wme=Ro(/[\dA-Fa-f]/),Vme=Ro(/[!-/:-@[-`{-~]/);var Zme=Ro(/\s/);function Ro(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function fr(t){let e=[],i=-1,r=0,n=0;for(;++i<t.length;){let o=t.charCodeAt(i),s="";if(o===37&&cb(t.charCodeAt(i+1))&&cb(t.charCodeAt(i+2)))n=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let a=t.charCodeAt(i+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),n=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(t.slice(r,i),encodeURIComponent(s)),r=i+n+1,s=""),n&&(i+=n,n=0)}return e.join("")+t.slice(r)}function J3(t,e){let i=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),n=fr(r.toLowerCase()),o=t.footnoteOrder.indexOf(r),s,a=t.footnoteCounts.get(r);a===void 0?(a=0,t.footnoteOrder.push(r),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(r,a);let l={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+n,id:i+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function e4(t,e){let i={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function t4(t,e){if(t.options.allowDangerousHtml){let i={type:"raw",value:e.value};return t.patch(e,i),t.applyData(e,i)}}function ld(t,e){let i=e.referenceType,r="]";if(i==="collapsed"?r+="[]":i==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];let n=t.all(e),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let s=n[n.length-1];return s&&s.type==="text"?s.value+=r:n.push({type:"text",value:r}),n}function i4(t,e){let i=String(e.identifier).toUpperCase(),r=t.definitionById.get(i);if(!r)return ld(t,e);let n={src:fr(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(n.title=r.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function r4(t,e){let i={src:fr(e.url)};e.alt!==null&&e.alt!==void 0&&(i.alt=e.alt),e.title!==null&&e.title!==void 0&&(i.title=e.title);let r={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,r),t.applyData(e,r)}function n4(t,e){let i={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,i);let r={type:"element",tagName:"code",properties:{},children:[i]};return t.patch(e,r),t.applyData(e,r)}function o4(t,e){let i=String(e.identifier).toUpperCase(),r=t.definitionById.get(i);if(!r)return ld(t,e);let n={href:fr(r.url||"")};r.title!==null&&r.title!==void 0&&(n.title=r.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function s4(t,e){let i={href:fr(e.url)};e.title!==null&&e.title!==void 0&&(i.title=e.title);let r={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function a4(t,e,i){let r=t.all(e),n=i?$9(i):l4(e),o={},s=[];if(typeof e.checked=="boolean"){let u=r[0],f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let u=r[a];(n||a!==0||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
`}),u.type==="element"&&u.tagName==="p"&&!n?s.push(...u.children):s.push(u)}let l=r[r.length-1];l&&(n||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
`});let c={type:"element",tagName:"li",properties:o,children:s};return t.patch(e,c),t.applyData(e,c)}function $9(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let i=t.children,r=-1;for(;!e&&++r<i.length;)e=l4(i[r])}return e}function l4(t){let e=t.spread;return e==null?t.children.length>1:e}function c4(t,e){let i={},r=t.all(e),n=-1;for(typeof e.start=="number"&&e.start!==1&&(i.start=e.start);++n<r.length;){let s=r[n];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}let o={type:"element",tagName:e.ordered?"ol":"ul",properties:i,children:t.wrap(r,!0)};return t.patch(e,o),t.applyData(e,o)}function u4(t,e){let i={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function f4(t,e){let i={type:"root",children:t.wrap(t.all(e))};return t.patch(e,i),t.applyData(e,i)}function h4(t,e){let i={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}var Cs=d4("end"),hr=d4("start");function d4(t){return e;function e(i){let r=i&&i.position&&i.position[t]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Dc(t){let e=hr(t),i=Cs(t);if(e&&i)return{start:e,end:i}}function O4(t,e){let i=t.all(e),r=i.shift(),n=[];if(r){let s={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],s),n.push(s)}if(i.length>0){let s={type:"element",tagName:"tbody",properties:{},children:t.wrap(i,!0)},a=hr(e.children[1]),l=Cs(e.children[e.children.length-1]);a&&l&&(s.position={start:a,end:l}),n.push(s)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function p4(t,e,i){let r=i?i.children:void 0,o=(r?r.indexOf(e):1)===0?"th":"td",s=i&&i.type==="table"?i.align:void 0,a=s?s.length:e.children.length,l=-1,c=[];for(;++l<a;){let f=e.children[l],d={},O=s?s[l]:void 0;O&&(d.align=O);let g={type:"element",tagName:o,properties:d,children:[]};f&&(g.children=t.all(f),t.patch(f,g),g=t.applyData(f,g)),c.push(g)}let u={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,u),t.applyData(e,u)}function m4(t,e){let i={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function b4(t){let e=String(t),i=/\r?\n|\r/g,r=i.exec(e),n=0,o=[];for(;r;)o.push(g4(e.slice(n,r.index),n>0,!0),r[0]),n=r.index+r[0].length,r=i.exec(e);return o.push(g4(e.slice(n),n>0,!1)),o.join("")}function g4(t,e,i){let r=0,n=t.length;if(e){let o=t.codePointAt(r);for(;o===9||o===32;)r++,o=t.codePointAt(r)}if(i){let o=t.codePointAt(n-1);for(;o===9||o===32;)n--,o=t.codePointAt(n-1)}return n>r?t.slice(r,n):""}function y4(t,e){let i={type:"text",value:b4(String(e.value))};return t.patch(e,i),t.applyData(e,i)}function x4(t,e){let i={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,i),t.applyData(e,i)}var v4={blockquote:Y3,break:F3,code:H3,delete:G3,emphasis:K3,footnoteReference:J3,heading:e4,html:t4,imageReference:i4,image:r4,inlineCode:n4,linkReference:o4,link:s4,listItem:a4,list:c4,paragraph:u4,root:f4,strong:h4,table:O4,tableCell:m4,tableRow:p4,text:y4,thematicBreak:x4,toml:cd,yaml:cd,definition:cd,footnoteDefinition:cd};function cd(){}var w4=typeof self=="object"?self:globalThis,A9=(t,e)=>{let i=(n,o)=>(t.set(o,n),n),r=n=>{if(t.has(n))return t.get(n);let[o,s]=e[n];switch(o){case 0:case-1:return i(s,n);case 1:{let a=i([],n);for(let l of s)a.push(r(l));return a}case 2:{let a=i({},n);for(let[l,c]of s)a[r(l)]=r(c);return a}case 3:return i(new Date(s),n);case 4:{let{source:a,flags:l}=s;return i(new RegExp(a,l),n)}case 5:{let a=i(new Map,n);for(let[l,c]of s)a.set(r(l),r(c));return a}case 6:{let a=i(new Set,n);for(let l of s)a.add(r(l));return a}case 7:{let{name:a,message:l}=s;return i(new w4[a](l),n)}case 8:return i(BigInt(s),n);case"BigInt":return i(Object(BigInt(s)),n)}return i(new w4[o](s),n)};return r},db=t=>A9(new Map,t)(0);var Ya="",{toString:X9}={},{keys:R9}=Object,qc=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let i=X9.call(t).slice(8,-1);switch(i){case"Array":return[1,Ya];case"Object":return[2,Ya];case"Date":return[3,Ya];case"RegExp":return[4,Ya];case"Map":return[5,Ya];case"Set":return[6,Ya]}return i.includes("Array")?[1,i]:i.includes("Error")?[7,i]:[2,i]},Od=([t,e])=>t===0&&(e==="function"||e==="symbol"),L9=(t,e,i,r)=>{let n=(s,a)=>{let l=r.push(s)-1;return i.set(a,l),l},o=s=>{if(i.has(s))return i.get(s);let[a,l]=qc(s);switch(a){case 0:{let u=s;switch(l){case"bigint":a=8,u=s.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],s)}return n([a,u],s)}case 1:{if(l)return n([l,[...s]],s);let u=[],f=n([a,u],s);for(let d of s)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,s.toString()],s);case"Boolean":case"Number":case"String":return n([l,s.valueOf()],s)}if(e&&"toJSON"in s)return o(s.toJSON());let u=[],f=n([a,u],s);for(let d of R9(s))(t||!Od(qc(s[d])))&&u.push([o(d),o(s[d])]);return f}case 3:return n([a,s.toISOString()],s);case 4:{let{source:u,flags:f}=s;return n([a,{source:u,flags:f}],s)}case 5:{let u=[],f=n([a,u],s);for(let[d,O]of s)(t||!(Od(qc(d))||Od(qc(O))))&&u.push([o(d),o(O)]);return f}case 6:{let u=[],f=n([a,u],s);for(let d of s)(t||!Od(qc(d)))&&u.push(o(d));return f}}let{message:c}=s;return n([a,{name:l,message:c}],s)};return o},Ob=(t,{json:e,lossy:i}={})=>{let r=[];return L9(!(e||i),!!e,new Map,r)(t),r};var Xr=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?db(Ob(t,e)):structuredClone(t):(t,e)=>db(Ob(t,e));function I9(t,e){let i=[{type:"text",value:"\u21A9"}];return e>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),i}function z9(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function k4(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=t.options.footnoteBackContent||I9,r=t.options.footnoteBackLabel||z9,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},a=[],l=-1;for(;++l<t.footnoteOrder.length;){let c=t.footnoteById.get(t.footnoteOrder[l]);if(!c)continue;let u=t.all(c),f=String(c.identifier).toUpperCase(),d=fr(f.toLowerCase()),O=0,g=[],x=t.footnoteCounts.get(f);for(;x!==void 0&&++O<=x;){g.length>0&&g.push({type:"text",value:" "});let T=typeof i=="string"?i:i(l,O);typeof T=="string"&&(T={type:"text",value:T}),g.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(O>1?"-"+O:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,O),className:["data-footnote-backref"]},children:Array.isArray(T)?T:[T]})}let S=u[u.length-1];if(S&&S.type==="element"&&S.tagName==="p"){let T=S.children[S.children.length-1];T&&T.type==="text"?T.value+=" ":S.children.push({type:"text",value:" "}),S.children.push(...g)}else u.push(...g);let w={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,w),a.push(w)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Pe(H({},Xr(s)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:`
`}]}}var pb={}.hasOwnProperty,D9={};function T4(t,e){let i=e||D9,r=new Map,n=new Map,o=new Map,s=H(H({},v4),i.handlers),a={all:c,applyData:N9,definitionById:r,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:s,one:l,options:i,patch:U9,wrap:q9};return gi(t,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){let f=u.type==="definition"?r:n,d=String(u.identifier).toUpperCase();f.has(d)||f.set(d,u)}}),a;function l(u,f){let d=u.type,O=a.handlers[d];if(pb.call(a.handlers,d)&&O)return O(a,u,f);if(a.options.passThrough&&a.options.passThrough.includes(d)){if("children"in u){let x=u,{children:S}=x,w=pi(x,["children"]),T=Xr(w);return T.children=a.all(u),T}return Xr(u)}return(a.options.unknownHandler||M9)(a,u,f)}function c(u){let f=[];if("children"in u){let d=u.children,O=-1;for(;++O<d.length;){let g=a.one(d[O],u);if(g){if(O&&d[O-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=S4(g.value)),!Array.isArray(g)&&g.type==="element")){let x=g.children[0];x&&x.type==="text"&&(x.value=S4(x.value))}Array.isArray(g)?f.push(...g):f.push(g)}}}return f}}function U9(t,e){t.position&&(e.position=Dc(t))}function N9(t,e){let i=e;if(t&&t.data){let r=t.data.hName,n=t.data.hChildren,o=t.data.hProperties;if(typeof r=="string")if(i.type==="element")i.tagName=r;else{let s="children"in i?i.children:[i];i={type:"element",tagName:r,properties:{},children:s}}i.type==="element"&&o&&Object.assign(i.properties,Xr(o)),"children"in i&&i.children&&n!==null&&n!==void 0&&(i.children=n)}return i}function M9(t,e){let i=e.data||{},r="value"in e&&!(pb.call(i,"hProperties")||pb.call(i,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function q9(t,e){let i=[],r=-1;for(e&&i.push({type:"text",value:`
`});++r<t.length;)r&&i.push({type:"text",value:`
`}),i.push(t[r]);return e&&t.length>0&&i.push({type:"text",value:`
`}),i}function S4(t){let e=0,i=t.charCodeAt(e);for(;i===9||i===32;)e++,i=t.charCodeAt(e);return t.slice(e)}function pd(t,e){let i=T4(t,e),r=i.one(t,void 0),n=k4(i),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return n&&("children"in o,o.children.push({type:"text",value:`
`},n)),o}function md(t,e){return t&&"run"in t?async function(i,r){let n=pd(i,H({file:r},e));await t.run(n,r)}:function(i,r){return pd(i,H({file:r},e||t))}}var An=class{constructor(e,i,r){this.property=e,this.normal=i,r&&(this.space=r)}};An.prototype.property={};An.prototype.normal={};An.prototype.space=null;function mb(t,e){let i={},r={},n=-1;for(;++n<t.length;)Object.assign(i,t[n].property),Object.assign(r,t[n].normal);return new An(i,r,e)}function Xn(t){return t.toLowerCase()}var bi=class{constructor(e,i){this.property=e,this.attribute=i}};bi.prototype.space=null;bi.prototype.boolean=!1;bi.prototype.booleanish=!1;bi.prototype.overloadedBoolean=!1;bi.prototype.number=!1;bi.prototype.commaSeparated=!1;bi.prototype.spaceSeparated=!1;bi.prototype.commaOrSpaceSeparated=!1;bi.prototype.mustUseProperty=!1;bi.prototype.defined=!1;var jc={};sc(jc,{boolean:()=>ze,booleanish:()=>Xt,commaOrSpaceSeparated:()=>Di,commaSeparated:()=>Lo,number:()=>pe,overloadedBoolean:()=>gb,spaceSeparated:()=>lt});var j9=0,ze=_s(),Xt=_s(),gb=_s(),pe=_s(),lt=_s(),Lo=_s(),Di=_s();function _s(){return 2**++j9}var bb=Object.keys(jc),$s=class extends bi{constructor(e,i,r,n){let o=-1;if(super(e,i),E4(this,"space",n),typeof r=="number")for(;++o<bb.length;){let s=bb[o];E4(this,bb[o],(r&jc[s])===jc[s])}}};$s.prototype.defined=!0;function E4(t,e,i){i&&(t[e]=i)}var W9={}.hasOwnProperty;function dr(t){let e={},i={},r;for(r in t.properties)if(W9.call(t.properties,r)){let n=t.properties[r],o=new $s(r,t.transform(t.attributes||{},r),n,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,i[Xn(r)]=r,i[Xn(o.attribute)]=r}return new An(e,i,t.space)}var yb=dr({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});var xb=dr({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function gd(t,e){return e in t?t[e]:e}function bd(t,e){return gd(t,e.toLowerCase())}var vb=dr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:bd,properties:{xmlns:null,xmlnsXLink:null}});var wb=dr({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Xt,ariaAutoComplete:null,ariaBusy:Xt,ariaChecked:Xt,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:lt,ariaCurrent:null,ariaDescribedBy:lt,ariaDetails:null,ariaDisabled:Xt,ariaDropEffect:lt,ariaErrorMessage:null,ariaExpanded:Xt,ariaFlowTo:lt,ariaGrabbed:Xt,ariaHasPopup:null,ariaHidden:Xt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lt,ariaLevel:pe,ariaLive:null,ariaModal:Xt,ariaMultiLine:Xt,ariaMultiSelectable:Xt,ariaOrientation:null,ariaOwns:lt,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:Xt,ariaReadOnly:Xt,ariaRelevant:null,ariaRequired:Xt,ariaRoleDescription:lt,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:Xt,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}});var P4=dr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:bd,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Lo,acceptCharset:lt,accessKey:lt,action:null,allow:null,allowFullScreen:ze,allowPaymentRequest:ze,allowUserMedia:ze,alt:null,as:null,async:ze,autoCapitalize:null,autoComplete:lt,autoFocus:ze,autoPlay:ze,blocking:lt,capture:ze,charSet:null,checked:ze,cite:null,className:lt,cols:pe,colSpan:null,content:null,contentEditable:Xt,controls:ze,controlsList:lt,coords:pe|Lo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ze,defer:ze,dir:null,dirName:null,disabled:ze,download:gb,draggable:Xt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ze,formTarget:null,headers:lt,height:pe,hidden:ze,high:pe,href:null,hrefLang:null,htmlFor:lt,httpEquiv:lt,id:null,imageSizes:null,imageSrcSet:null,inert:ze,inputMode:null,integrity:null,is:null,isMap:ze,itemId:null,itemProp:lt,itemRef:lt,itemScope:ze,itemType:lt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ze,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:ze,muted:ze,name:null,nonce:null,noModule:ze,noValidate:ze,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:ze,optimum:pe,pattern:null,ping:lt,placeholder:null,playsInline:ze,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ze,referrerPolicy:null,rel:lt,required:ze,reversed:ze,rows:pe,rowSpan:pe,sandbox:lt,scope:null,scoped:ze,seamless:ze,selected:ze,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:Xt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:ze,useMap:null,value:Xt,width:pe,wrap:null,align:null,aLink:null,archive:lt,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ze,declare:ze,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:ze,noHref:ze,noShade:ze,noWrap:ze,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:Xt,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ze,disableRemotePlayback:ze,prefix:null,property:null,results:pe,security:null,unselectable:null}});var Q4=dr({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:gd,properties:{about:Di,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:lt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:ze,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,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:Lo,g2:Lo,glyphName:Lo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:Di,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,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:pe,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:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Di,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Di,rev:Di,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Di,requiredFeatures:Di,requiredFonts:Di,requiredFormats:Di,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:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:Di,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Di,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Di,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var V9=/^data[-\w.:]+$/i,C4=/-[a-z]/g,Z9=/[A-Z]/g;function Rn(t,e){let i=Xn(e),r=e,n=bi;if(i in t.normal)return t.property[t.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&V9.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(C4,Y9);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!C4.test(o)){let s=o.replace(Z9,B9);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}n=$s}return new n(r,e)}function B9(t){return"-"+t.toLowerCase()}function Y9(t){return t.charAt(1).toUpperCase()}var Ln=mb([xb,yb,vb,wb,P4],"html"),Or=mb([xb,yb,vb,wb,Q4],"svg");function kb(t){let e=[],i=String(t||""),r=i.indexOf(","),n=0,o=!1;for(;!o;){r===-1&&(r=i.length,o=!0);let s=i.slice(n,r).trim();(s||!o)&&e.push(s),n=r+1,r=i.indexOf(",",n)}return e}function yd(t,e){let i=e||{};return(t[t.length-1]===""?[...t,""]:t).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}var _4=/[#.]/g;function Sb(t,e){let i=t||"",r={},n=0,o,s;for(;n<i.length;){_4.lastIndex=n;let a=_4.exec(i),l=i.slice(n,a?a.index:i.length);l&&(o?o==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:s=l,n+=l.length),a&&(o=a[0],n++)}return{type:"element",tagName:s||e||"div",properties:r,children:[]}}function Tb(t){let e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function xd(t){return t.join(" ").trim()}var F9=new Set(["button","menu","reset","submit"]),Eb={}.hasOwnProperty;function Qb(t,e,i){let r=i&&J9(i);function n(o,s,...a){let l=-1,c;if(o==null){c={type:"root",children:[]};let u=s;a.unshift(u)}else if(c=Sb(o,e),c.tagName=c.tagName.toLowerCase(),r&&Eb.call(r,c.tagName)&&(c.tagName=r[c.tagName]),H9(s,c.tagName)){let u;for(u in s)Eb.call(s,u)&&G9(t,c.properties,u,s[u])}else a.unshift(s);for(;++l<a.length;)Pb(c.children,a[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return n}function H9(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"?F9.has(t.type.toLowerCase()):!("value"in t)}function G9(t,e,i,r){let n=Rn(t,i),o=-1,s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?n.spaceSeparated?s=Tb(r):n.commaSeparated?s=kb(r):n.commaOrSpaceSeparated?s=Tb(kb(r).join(" ")):s=$4(n,n.property,r):Array.isArray(r)?s=r.concat():s=n.property==="style"?K9(r):String(r);if(Array.isArray(s)){let a=[];for(;++o<s.length;){let l=$4(n,n.property,s[o]);a[o]=l}s=a}if(n.property==="className"&&Array.isArray(e.className)){let a=s;s=e.className.concat(a)}e[n.property]=s}}function Pb(t,e){let i=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++i<e.length;)Pb(t,e[i]);else if(typeof e=="object"&&"type"in e)e.type==="root"?Pb(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function $4(t,e,i){if(typeof i=="string"){if(t.number&&i&&!Number.isNaN(Number(i)))return Number(i);if((t.boolean||t.overloadedBoolean)&&(i===""||Xn(i)===Xn(e)))return!0}return i}function K9(t){let e=[],i;for(i in t)Eb.call(t,i)&&e.push([i,t[i]].join(": "));return e.join("; ")}function J9(t){let e={},i=-1;for(;++i<t.length;)e[t[i].toLowerCase()]=t[i];return e}var A4=["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 Wc=Qb(Ln,"div"),Vc=Qb(Or,"g",A4);var Cb=/\r?\n|\r/g;function _b(t){let e=String(t),i=[];for(Cb.lastIndex=0;Cb.test(e);)i.push(Cb.lastIndex);return i.push(e.length+1),{toPoint:r,toOffset:n};function r(o){let s=-1;if(typeof o=="number"&&o>-1&&o<i[i.length-1]){for(;++s<i.length;)if(i[s]>o)return{line:s+1,column:o-(s>0?i[s-1]:0)+1,offset:o}}}function n(o){let s=o&&o.line,a=o&&o.column;if(typeof s=="number"&&typeof a=="number"&&!Number.isNaN(s)&&!Number.isNaN(a)&&s-1 in i){let l=(i[s-2]||0)+a-1||0;if(l>-1&&l<i[i.length-1])return l}}}var Ui={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 R4={}.hasOwnProperty,eN=Object.prototype;function Zc(t,e){let i=e||{};return $b({file:i.file||void 0,location:!1,schema:i.space==="svg"?Or:Ln,verbose:i.verbose||!1},t)}function $b(t,e){let i;switch(e.nodeName){case"#comment":{let r=e;return i={type:"comment",value:r.data},vd(t,r,i),i}case"#document":case"#document-fragment":{let r=e,n="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(i={type:"root",children:L4(t,e.childNodes),data:{quirksMode:n}},t.file&&t.location){let o=String(t.file),s=_b(o),a=s.toPoint(0),l=s.toPoint(o.length);i.position={start:a,end:l}}return i}case"#documentType":{let r=e;return i={type:"doctype"},vd(t,r,i),i}case"#text":{let r=e;return i={type:"text",value:r.value},vd(t,r,i),i}default:return i=tN(t,e),i}}function L4(t,e){let i=-1,r=[];for(;++i<e.length;){let n=$b(t,e[i]);r.push(n)}return r}function tN(t,e){let i=t.schema;t.schema=e.namespaceURI===Ui.svg?Or:Ln;let r=-1,n={};for(;++r<e.attrs.length;){let a=e.attrs[r],l=(a.prefix?a.prefix+":":"")+a.name;R4.call(eN,l)||(n[l]=a.value)}let s=(t.schema.space==="svg"?Vc:Wc)(e.tagName,n,L4(t,e.childNodes));if(vd(t,e,s),s.tagName==="template"){let a=e,l=a.sourceCodeLocation,c=l&&l.startTag&&Fa(l.startTag),u=l&&l.endTag&&Fa(l.endTag),f=$b(t,a.content);c&&u&&t.file&&(f.position={start:c.end,end:u.start}),s.content=f}return t.schema=i,s}function vd(t,e,i){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){let r=iN(t,i,e.sourceCodeLocation);r&&(t.location=!0,i.position=r)}}function iN(t,e,i){let r=Fa(i);if(e.type==="element"){let n=e.children[e.children.length-1];if(r&&!i.endTag&&n&&n.position&&n.position.end&&(r.end=Object.assign({},n.position.end)),t.verbose){let o={},s;if(i.attrs)for(s in i.attrs)R4.call(i.attrs,s)&&(o[Rn(t.schema,s).property]=Fa(i.attrs[s]));i.startTag;let a=Fa(i.startTag),l=i.endTag?Fa(i.endTag):void 0,c={opening:a};l&&(c.closing=l),c.properties=o,e.data={position:c}}}return r}function Fa(t){let e=X4({line:t.startLine,column:t.startCol,offset:t.startOffset}),i=X4({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||i?{start:e,end:i}:void 0}function X4(t){return t.line&&t.column?t:void 0}var rN={},nN={}.hasOwnProperty,I4=Ma("type",{handlers:{root:oN,element:uN,text:lN,comment:cN,doctype:aN}});function Ab(t,e){let r=(e||rN).space;return I4(t,r==="svg"?Or:Ln)}function oN(t,e){let i={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return i.childNodes=Xb(t.children,i,e),Ha(t,i),i}function sN(t,e){let i={nodeName:"#document-fragment",childNodes:[]};return i.childNodes=Xb(t.children,i,e),Ha(t,i),i}function aN(t){let e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ha(t,e),e}function lN(t){let e={nodeName:"#text",value:t.value,parentNode:null};return Ha(t,e),e}function cN(t){let e={nodeName:"#comment",data:t.value,parentNode:null};return Ha(t,e),e}function uN(t,e){let i=e,r=i;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=Or);let n=[],o;if(t.properties){for(o in t.properties)if(o!=="children"&&nN.call(t.properties,o)){let l=fN(r,o,t.properties[o]);l&&n.push(l)}}let s=r.space;let a={nodeName:t.tagName,tagName:t.tagName,attrs:n,namespaceURI:Ui[s],childNodes:[],parentNode:null};return a.childNodes=Xb(t.children,a,r),Ha(t,a),t.tagName==="template"&&t.content&&(a.content=sN(t.content,r)),a}function fN(t,e,i){let r=Rn(t,e);if(i===!1||i===null||i===void 0||typeof i=="number"&&Number.isNaN(i)||!i&&r.boolean)return;Array.isArray(i)&&(i=r.commaSeparated?yd(i):xd(i));let n={name:r.attribute,value:i===!0?"":String(i)};if(r.space&&r.space!=="html"&&r.space!=="svg"){let o=n.name.indexOf(":");o<0?n.prefix="":(n.name=n.name.slice(o+1),n.prefix=r.attribute.slice(0,o)),n.namespace=Ui[r.space]}return n}function Xb(t,e,i){let r=-1,n=[];if(t)for(;++r<t.length;){let o=I4(t[r],i);o.parentNode=e,n.push(o)}return n}function Ha(t,e){let i=t.position;i&&i.start&&i.end&&(i.start.offset,i.end.offset,e.sourceCodeLocation={startLine:i.start.line,startCol:i.start.column,startOffset:i.start.offset,endLine:i.end.line,endCol:i.end.column,endOffset:i.end.offset})}var wd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var hN=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]),gt="\uFFFD",_;(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"})(_=_||(_={}));var Ci={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function kd(t){return t>=55296&&t<=57343}function z4(t){return t>=56320&&t<=57343}function D4(t,e){return(t-55296)*1024+9216+e}function Sd(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function Td(t){return t>=64976&&t<=65007||hN.has(t)}var J;(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"})(J=J||(J={}));var ON=65536,Ed=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=ON,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:i,col:r,offset:n}=this;return{code:e,startLine:i,endLine:i,startCol:r,endCol:r,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let i=this.html.charCodeAt(this.pos+1);if(z4(i))return this.pos++,this._addGap(),D4(e,i)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(J.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,i){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=i}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,i){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(i)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){let i=this.pos+e;if(i>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let r=this.html.charCodeAt(i);return r===_.CARRIAGE_RETURN?_.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let e=this.html.charCodeAt(this.pos);return e===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):e===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,kd(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===_.LINE_FEED||e===_.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Sd(e)?this._err(J.controlCharacterInInputStream):Td(e)&&this._err(J.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}};var In={};sc(In,{TokenType:()=>Ye,getTokenAttr:()=>Bc});var Ye;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(Ye=Ye||(Ye={}));function Bc(t,e){for(let i=t.attrs.length-1;i>=0;i--)if(t.attrs[i].name===e)return t.attrs[i].value;return null}var on=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 U4=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var Rb,pN=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]]),Lb=(Rb=String.fromCodePoint)!==null&&Rb!==void 0?Rb: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 Ib(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=pN.get(t))!==null&&e!==void 0?e:t}var ei;(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"})(ei||(ei={}));var mN=32,Rr;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Rr||(Rr={}));function zb(t){return t>=ei.ZERO&&t<=ei.NINE}function gN(t){return t>=ei.UPPER_A&&t<=ei.UPPER_F||t>=ei.LOWER_A&&t<=ei.LOWER_F}function bN(t){return t>=ei.UPPER_A&&t<=ei.UPPER_Z||t>=ei.LOWER_A&&t<=ei.LOWER_Z||zb(t)}function yN(t){return t===ei.EQUALS||bN(t)}var Jt;(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"})(Jt||(Jt={}));var As;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(As||(As={}));var Db=class{constructor(e,i,r){this.decodeTree=e,this.emitCodePoint=i,this.errors=r,this.state=Jt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=As.Strict}startEntity(e){this.decodeMode=e,this.state=Jt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case Jt.EntityStart:return e.charCodeAt(i)===ei.NUM?(this.state=Jt.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=Jt.NamedEntity,this.stateNamedEntity(e,i));case Jt.NumericStart:return this.stateNumericStart(e,i);case Jt.NumericDecimal:return this.stateNumericDecimal(e,i);case Jt.NumericHex:return this.stateNumericHex(e,i);case Jt.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|mN)===ei.LOWER_X?(this.state=Jt.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=Jt.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,r,n){if(i!==r){let o=r-i;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(i,o),n),this.consumed+=o}}stateNumericHex(e,i){let r=i;for(;i<e.length;){let n=e.charCodeAt(i);if(zb(n)||gN(n))i+=1;else return this.addToNumericResult(e,r,i,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,r,i,16),-1}stateNumericDecimal(e,i){let r=i;for(;i<e.length;){let n=e.charCodeAt(i);if(zb(n))i+=1;else return this.addToNumericResult(e,r,i,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,r,i,10),-1}emitNumericEntity(e,i){var r;if(this.consumed<=i)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===ei.SEMI)this.consumed+=1;else if(this.decodeMode===As.Strict)return 0;return this.emitCodePoint(Ib(this.result),this.consumed),this.errors&&(e!==ei.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,i){let{decodeTree:r}=this,n=r[this.treeIndex],o=(n&Rr.VALUE_LENGTH)>>14;for(;i<e.length;i++,this.excess++){let s=e.charCodeAt(i);if(this.treeIndex=Ub(r,n,this.treeIndex+Math.max(1,o),s),this.treeIndex<0)return this.result===0||this.decodeMode===As.Attribute&&(o===0||yN(s))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],o=(n&Rr.VALUE_LENGTH)>>14,o!==0){if(s===ei.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==As.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:i,decodeTree:r}=this,n=(r[i]&Rr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,r){let{decodeTree:n}=this;return this.emitCodePoint(i===1?n[e]&~Rr.VALUE_LENGTH:n[e+1],r),i===3&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case Jt.NamedEntity:return this.result!==0&&(this.decodeMode!==As.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Jt.NumericDecimal:return this.emitNumericEntity(0,2);case Jt.NumericHex:return this.emitNumericEntity(0,3);case Jt.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Jt.EntityStart:return 0}}};function N4(t){let e="",i=new Db(t,r=>e+=Lb(r));return function(n,o){let s=0,a=0;for(;(a=n.indexOf("&",a))>=0;){e+=n.slice(s,a),i.startEntity(o);let c=i.write(n,a+1);if(c<0){s=a+i.end();break}s=a+c,a=c===0?s+1:s}let l=e+n.slice(s);return e="",l}}function Ub(t,e,i,r){let n=(e&Rr.BRANCH_LENGTH)>>7,o=e&Rr.JUMP_TABLE;if(n===0)return o!==0&&r===o?i:-1;if(o){let l=r-o;return l<0||l>=n?-1:t[i+l]-1}let s=i,a=s+n-1;for(;s<=a;){let l=s+a>>>1,c=t[l];if(c<r)s=l+1;else if(c>r)a=l-1;else return t[l+n]}return-1}var h1e=N4(on),d1e=N4(U4);var Ga={};sc(Ga,{ATTRS:()=>Lr,DOCUMENT_MODE:()=>ai,NS:()=>se,SPECIAL_ELEMENTS:()=>Nb,TAG_ID:()=>m,TAG_NAMES:()=>Z,getTagID:()=>Io,hasUnescapedText:()=>M4,isNumberedHeader:()=>Yc});var se;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})(se=se||(se={}));var Lr;(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"})(Lr=Lr||(Lr={}));var ai;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(ai=ai||(ai={}));var Z;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(Z=Z||(Z={}));var m;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SECTION=94]="SECTION",t[t.SELECT=95]="SELECT",t[t.SOURCE=96]="SOURCE",t[t.SMALL=97]="SMALL",t[t.SPAN=98]="SPAN",t[t.STRIKE=99]="STRIKE",t[t.STRONG=100]="STRONG",t[t.STYLE=101]="STYLE",t[t.SUB=102]="SUB",t[t.SUMMARY=103]="SUMMARY",t[t.SUP=104]="SUP",t[t.TABLE=105]="TABLE",t[t.TBODY=106]="TBODY",t[t.TEMPLATE=107]="TEMPLATE",t[t.TEXTAREA=108]="TEXTAREA",t[t.TFOOT=109]="TFOOT",t[t.TD=110]="TD",t[t.TH=111]="TH",t[t.THEAD=112]="THEAD",t[t.TITLE=113]="TITLE",t[t.TR=114]="TR",t[t.TRACK=115]="TRACK",t[t.TT=116]="TT",t[t.U=117]="U",t[t.UL=118]="UL",t[t.SVG=119]="SVG",t[t.VAR=120]="VAR",t[t.WBR=121]="WBR",t[t.XMP=122]="XMP"})(m=m||(m={}));var xN=new Map([[Z.A,m.A],[Z.ADDRESS,m.ADDRESS],[Z.ANNOTATION_XML,m.ANNOTATION_XML],[Z.APPLET,m.APPLET],[Z.AREA,m.AREA],[Z.ARTICLE,m.ARTICLE],[Z.ASIDE,m.ASIDE],[Z.B,m.B],[Z.BASE,m.BASE],[Z.BASEFONT,m.BASEFONT],[Z.BGSOUND,m.BGSOUND],[Z.BIG,m.BIG],[Z.BLOCKQUOTE,m.BLOCKQUOTE],[Z.BODY,m.BODY],[Z.BR,m.BR],[Z.BUTTON,m.BUTTON],[Z.CAPTION,m.CAPTION],[Z.CENTER,m.CENTER],[Z.CODE,m.CODE],[Z.COL,m.COL],[Z.COLGROUP,m.COLGROUP],[Z.DD,m.DD],[Z.DESC,m.DESC],[Z.DETAILS,m.DETAILS],[Z.DIALOG,m.DIALOG],[Z.DIR,m.DIR],[Z.DIV,m.DIV],[Z.DL,m.DL],[Z.DT,m.DT],[Z.EM,m.EM],[Z.EMBED,m.EMBED],[Z.FIELDSET,m.FIELDSET],[Z.FIGCAPTION,m.FIGCAPTION],[Z.FIGURE,m.FIGURE],[Z.FONT,m.FONT],[Z.FOOTER,m.FOOTER],[Z.FOREIGN_OBJECT,m.FOREIGN_OBJ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,Oe.TH,Oe.THEAD,Oe.TITLE,Oe.TR,Oe.TRACK,Oe.UL,Oe.WBR,Oe.XMP]),[se.MATHML]:new Set([Oe.MI,Oe.MO,Oe.MN,Oe.MS,Oe.MTEXT,Oe.ANNOTATION_XML]),[se.SVG]:new Set([Oe.TITLE,Oe.FOREIGN_OBJECT,Oe.DESC]),[se.XLINK]:new Set,[se.XML]:new Set,[se.XMLNS]:new Set};function Yc(t){return t===Oe.H1||t===Oe.H2||t===Oe.H3||t===Oe.H4||t===Oe.H5||t===Oe.H6}var vN=new Set([Z.STYLE,Z.SCRIPT,Z.XMP,Z.IFRAME,Z.NOEMBED,Z.NOFRAMES,Z.PLAINTEXT]);function M4(t,e){return vN.has(t)||e&&t===Z.NOSCRIPT}var wN=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),L;(function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",t[t.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",t[t.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",t[t.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",t[t.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",t[t.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(L||(L={}));var St={DATA:L.DATA,RCDATA:L.RCDATA,RAWTEXT:L.RAWTEXT,SCRIPT_DATA:L.SCRIPT_DATA,PLAINTEXT:L.PLAINTEXT,CDATA_SECTION:L.CDATA_SECTION};function Hc(t){return t>=_.DIGIT_0&&t<=_.DIGIT_9}function Fc(t){return t>=_.LATIN_CAPITAL_A&&t<=_.LATIN_CAPITAL_Z}function kN(t){return t>=_.LATIN_SMALL_A&&t<=_.LATIN_SMALL_Z}function zo(t){return kN(t)||Fc(t)}function Mb(t){return zo(t)||Hc(t)}function j4(t){return t>=_.LATIN_CAPITAL_A&&t<=_.LATIN_CAPITAL_F}function W4(t){return t>=_.LATIN_SMALL_A&&t<=_.LATIN_SMALL_F}function SN(t){return Hc(t)||j4(t)||W4(t)}function Pd(t){return t+32}function V4(t){return t===_.SPACE||t===_.LINE_FEED||t===_.TABULATION||t===_.FORM_FEED}function TN(t){return t===_.EQUALS_SIGN||Mb(t)}function q4(t){return V4(t)||t===_.SOLIDUS||t===_.GREATER_THAN_SIGN}var Gc=class{constructor(e,i){this.options=e,this.handler=i,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=L.DATA,this.returnState=L.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ed(i),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var i,r;(r=(i=this.handler).onParseError)===null||r===void 0||r.call(i,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,i,r){this.active=!0,this.preprocessor.write(e,i),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,i){this.state=e,this._callState(i)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let i=0;i<e;i++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,i){return this.preprocessor.startsWith(e,i)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ye.START_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ye.END_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Ye.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Ye.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,i){this.currentCharacterToken={type:e,chars:i,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,i;let r=this.currentToken;if(Bc(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){let n=(e=(i=r.location).attrs)!==null&&e!==void 0?e:i.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(J.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=Io(e.tagName),e.type===Ye.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(J.endTagWithAttributes),e.selfClosing&&this._err(J.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case Ye.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ye.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ye.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:Ye.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,i){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=i;return}this._createCharacterToken(e,i)}_emitCodePoint(e){let i=V4(e)?Ye.WHITESPACE_CHARACTER:e===_.NULL?Ye.NULL_CHARACTER:Ye.CHARACTER;this._appendCharToCurrentCharacterToken(i,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Ye.CHARACTER,e)}_matchNamedCharacterReference(e){let i=null,r=0,n=!1;for(let o=0,s=on[0];o>=0&&(o=Ub(on,s,o+1,e),!(o<0));e=this._consume()){r+=1,s=on[o];let a=s&Rr.VALUE_LENGTH;if(a){let l=(a>>14)-1;if(e!==_.SEMICOLON&&this._isCharacterReferenceInAttribute()&&TN(this.preprocessor.peek(1))?(i=[_.AMPERSAND],o+=l):(i=l===0?[on[o]&~Rr.VALUE_LENGTH]:l===1?[on[++o]]:[on[++o],on[++o]],r=0,n=e!==_.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),n&&!this.preprocessor.endOfChunkHit&&this._err(J.missingSemicolonAfterCharacterReference),this._unconsume(1),i}_isCharacterReferenceInAttribute(){return this.returnState===L.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===L.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===L.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case L.DATA:{this._stateData(e);break}case L.RCDATA:{this._stateRcdata(e);break}case L.RAWTEXT:{this._stateRawtext(e);break}case L.SCRIPT_DATA:{this._stateScriptData(e);break}case L.PLAINTEXT:{this._statePlaintext(e);break}case L.TAG_OPEN:{this._stateTagOpen(e);break}case L.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case L.TAG_NAME:{this._stateTagName(e);break}case L.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case L.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case L.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case L.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case L.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case L.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case L.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case L.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case L.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case L.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case L.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case L.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case L.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case L.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case L.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case L.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case L.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case L.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case L.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case L.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case L.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case L.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case L.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case L.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case L.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case L.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case L.BOGUS_COMMENT:{this._stateBogusComment(e);break}case L.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case L.COMMENT_START:{this._stateCommentStart(e);break}case L.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case L.COMMENT:{this._stateComment(e);break}case L.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case L.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case L.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case L.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case L.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case L.COMMENT_END:{this._stateCommentEnd(e);break}case L.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case L.DOCTYPE:{this._stateDoctype(e);break}case L.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case L.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case L.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case L.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case L.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case L.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case L.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case L.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case L.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case L.CDATA_SECTION:{this._stateCdataSection(e);break}case L.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case L.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case L.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case L.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case L.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case L.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case L.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case L.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case L.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case L.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case _.LESS_THAN_SIGN:{this.state=L.TAG_OPEN;break}case _.AMPERSAND:{this.returnState=L.DATA,this.state=L.CHARACTER_REFERENCE;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this._emitCodePoint(e);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case _.AMPERSAND:{this.returnState=L.RCDATA,this.state=L.CHARACTER_REFERENCE;break}case _.LESS_THAN_SIGN:{this.state=L.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this._emitChars(gt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case _.LESS_THAN_SIGN:{this.state=L.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this._emitChars(gt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case _.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this._emitChars(gt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case _.NULL:{this._err(J.unexpectedNullCharacter),this._emitChars(gt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(zo(e))this._createStartTagToken(),this.state=L.TAG_NAME,this._stateTagName(e);else switch(e){case _.EXCLAMATION_MARK:{this.state=L.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=L.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(J.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=L.BOGUS_COMMENT,this._stateBogusComment(e);break}case _.EOF:{this._err(J.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(J.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=L.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(zo(e))this._createEndTagToken(),this.state=L.TAG_NAME,this._stateTagName(e);else switch(e){case _.GREATER_THAN_SIGN:{this._err(J.missingEndTagName),this.state=L.DATA;break}case _.EOF:{this._err(J.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(J.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=L.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=L.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this.state=L.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.tagName+=gt;break}case _.EOF:{this._err(J.eofInTag),this._emitEOFToken();break}default:i.tagName+=String.fromCodePoint(Fc(e)?Pd(e):e)}}_stateRcdataLessThanSign(e){e===_.SOLIDUS?this.state=L.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=L.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){zo(e)?(this.state=L.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=L.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let i=this.currentToken;switch(i.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=L.BEFORE_ATTRIBUTE_NAME,!1;case _.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=L.SELF_CLOSING_START_TAG,!1;case _.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=L.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===_.SOLIDUS?this.state=L.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=L.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){zo(e)?(this.state=L.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=L.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case _.SOLIDUS:{this.state=L.SCRIPT_DATA_END_TAG_OPEN;break}case _.EXCLAMATION_MARK:{this.state=L.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=L.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){zo(e)?(this.state=L.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===_.HYPHEN_MINUS?(this.state=L.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===_.HYPHEN_MINUS?(this.state=L.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=L.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case _.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this._emitChars(gt);break}case _.EOF:{this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case _.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_ESCAPED,this._emitChars(gt);break}case _.EOF:{this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.GREATER_THAN_SIGN:{this.state=L.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_ESCAPED,this._emitChars(gt);break}case _.EOF:{this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===_.SOLIDUS?this.state=L.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:zo(e)?(this._emitChars("<"),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){zo(e)?(this.state=L.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Ci.SCRIPT,!1)&&q4(this.preprocessor.peek(Ci.SCRIPT.length))){this._emitCodePoint(e);for(let i=0;i<Ci.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case _.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(J.unexpectedNullCharacter),this._emitChars(gt);break}case _.EOF:{this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case _.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(gt);break}case _.EOF:{this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.GREATER_THAN_SIGN:{this.state=L.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(gt);break}case _.EOF:{this._err(J.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===_.SOLIDUS?(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Ci.SCRIPT,!1)&&q4(this.preprocessor.peek(Ci.SCRIPT.length))){this._emitCodePoint(e);for(let i=0;i<Ci.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=L.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this.state=L.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case _.EQUALS_SIGN:{this._err(J.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=L.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=L.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this._leaveAttrName(),this.state=L.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case _.EQUALS_SIGN:{this._leaveAttrName(),this.state=L.BEFORE_ATTRIBUTE_VALUE;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:{this._err(J.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.currentAttr.name+=gt;break}default:this.currentAttr.name+=String.fromCodePoint(Fc(e)?Pd(e):e)}}_stateAfterAttributeName(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:{this.state=L.SELF_CLOSING_START_TAG;break}case _.EQUALS_SIGN:{this.state=L.BEFORE_ATTRIBUTE_VALUE;break}case _.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(J.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=L.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{this.state=L.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this.state=L.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(J.missingAttributeValue),this.state=L.DATA,this.emitCurrentTagToken();break}default:this.state=L.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case _.QUOTATION_MARK:{this.state=L.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this.returnState=L.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=L.CHARACTER_REFERENCE;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.currentAttr.value+=gt;break}case _.EOF:{this._err(J.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case _.APOSTROPHE:{this.state=L.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this.returnState=L.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=L.CHARACTER_REFERENCE;break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.currentAttr.value+=gt;break}case _.EOF:{this._err(J.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=L.BEFORE_ATTRIBUTE_NAME;break}case _.AMPERSAND:{this.returnState=L.ATTRIBUTE_VALUE_UNQUOTED,this.state=L.CHARACTER_REFERENCE;break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=L.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(J.unexpectedNullCharacter),this.currentAttr.value+=gt;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:case _.EQUALS_SIGN:case _.GRAVE_ACCENT:{this._err(J.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case _.EOF:{this._err(J.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=L.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this._leaveAttrValue(),this.state=L.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=L.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(J.eofInTag),this._emitEOFToken();break}default:this._err(J.missingWhitespaceBetweenAttributes),this.state=L.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case _.GREATER_THAN_SIGN:{let i=this.currentToken;i.selfClosing=!0,this.state=L.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(J.eofInTag),this._emitEOFToken();break}default:this._err(J.unexpectedSolidusInTag),this.state=L.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let i=this.currentToken;switch(e){case _.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentComment(i);break}case _.EOF:{this.emitCurrentComment(i),this._emitEOFToken();break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.data+=gt;break}default:i.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Ci.DASH_DASH,!0)?(this._createCommentToken(Ci.DASH_DASH.length+1),this.state=L.COMMENT_START):this._consumeSequenceIfMatch(Ci.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ci.DOCTYPE.length+1),this.state=L.DOCTYPE):this._consumeSequenceIfMatch(Ci.CDATA_START,!0)?this.inForeignNode?this.state=L.CDATA_SECTION:(this._err(J.cdataInHtmlContent),this._createCommentToken(Ci.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=L.BOGUS_COMMENT):this._ensureHibernation()||(this._err(J.incorrectlyOpenedComment),this._createCommentToken(2),this.state=L.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case _.HYPHEN_MINUS:{this.state=L.COMMENT_START_DASH;break}case _.GREATER_THAN_SIGN:{this._err(J.abruptClosingOfEmptyComment),this.state=L.DATA;let i=this.currentToken;this.emitCurrentComment(i);break}default:this.state=L.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{this.state=L.COMMENT_END;break}case _.GREATER_THAN_SIGN:{this._err(J.abruptClosingOfEmptyComment),this.state=L.DATA,this.emitCurrentComment(i);break}case _.EOF:{this._err(J.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="-",this.state=L.COMMENT,this._stateComment(e)}}_stateComment(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{this.state=L.COMMENT_END_DASH;break}case _.LESS_THAN_SIGN:{i.data+="<",this.state=L.COMMENT_LESS_THAN_SIGN;break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.data+=gt;break}case _.EOF:{this._err(J.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let i=this.currentToken;switch(e){case _.EXCLAMATION_MARK:{i.data+="!",this.state=L.COMMENT_LESS_THAN_SIGN_BANG;break}case _.LESS_THAN_SIGN:{i.data+="<";break}default:this.state=L.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===_.HYPHEN_MINUS?this.state=L.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=L.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===_.HYPHEN_MINUS?this.state=L.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=L.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==_.GREATER_THAN_SIGN&&e!==_.EOF&&this._err(J.nestedComment),this.state=L.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{this.state=L.COMMENT_END;break}case _.EOF:{this._err(J.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="-",this.state=L.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let i=this.currentToken;switch(e){case _.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentComment(i);break}case _.EXCLAMATION_MARK:{this.state=L.COMMENT_END_BANG;break}case _.HYPHEN_MINUS:{i.data+="-";break}case _.EOF:{this._err(J.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="--",this.state=L.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{i.data+="--!",this.state=L.COMMENT_END_DASH;break}case _.GREATER_THAN_SIGN:{this._err(J.incorrectlyClosedComment),this.state=L.DATA,this.emitCurrentComment(i);break}case _.EOF:{this._err(J.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="--!",this.state=L.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=L.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case _.EOF:{this._err(J.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.missingWhitespaceBeforeDoctypeName),this.state=L.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Fc(e))this._createDoctypeToken(String.fromCharCode(Pd(e))),this.state=L.DOCTYPE_NAME;else switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.NULL:{this._err(J.unexpectedNullCharacter),this._createDoctypeToken(gt),this.state=L.DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this._err(J.missingDoctypeName),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.EOF:{this._err(J.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=L.DOCTYPE_NAME}}_stateDoctypeName(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=L.AFTER_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(i);break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.name+=gt;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.name+=String.fromCodePoint(Fc(e)?Pd(e):e)}}_stateAfterDoctypeName(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ci.PUBLIC,!1)?this.state=L.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ci.SYSTEM,!1)?this.state=L.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(J.invalidCharacterSequenceAfterDoctypeName),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(J.missingWhitespaceAfterDoctypePublicKeyword),i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(J.missingWhitespaceAfterDoctypePublicKeyword),i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(J.missingDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.missingQuoteBeforeDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{i.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(J.missingDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.missingQuoteBeforeDoctypePublicIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let i=this.currentToken;switch(e){case _.QUOTATION_MARK:{this.state=L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.publicId+=gt;break}case _.GREATER_THAN_SIGN:{this._err(J.abruptDoctypePublicIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let i=this.currentToken;switch(e){case _.APOSTROPHE:{this.state=L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.publicId+=gt;break}case _.GREATER_THAN_SIGN:{this._err(J.abruptDoctypePublicIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=L.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case _.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(i);break}case _.QUOTATION_MARK:{this._err(J.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(J.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.QUOTATION_MARK:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(J.missingWhitespaceAfterDoctypeSystemKeyword),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(J.missingWhitespaceAfterDoctypeSystemKeyword),i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(J.missingDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{i.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(J.missingDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let i=this.currentToken;switch(e){case _.QUOTATION_MARK:{this.state=L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.systemId+=gt;break}case _.GREATER_THAN_SIGN:{this._err(J.abruptDoctypeSystemIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let i=this.currentToken;switch(e){case _.APOSTROPHE:{this.state=L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(J.unexpectedNullCharacter),i.systemId+=gt;break}case _.GREATER_THAN_SIGN:{this._err(J.abruptDoctypeSystemIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.EOF:{this._err(J.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(J.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let i=this.currentToken;switch(e){case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=L.DATA;break}case _.NULL:{this._err(J.unexpectedNullCharacter);break}case _.EOF:{this.emitCurrentDoctype(i),this._emitEOFToken();break}default:}}_stateCdataSection(e){switch(e){case _.RIGHT_SQUARE_BRACKET:{this.state=L.CDATA_SECTION_BRACKET;break}case _.EOF:{this._err(J.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===_.RIGHT_SQUARE_BRACKET?this.state=L.CDATA_SECTION_END:(this._emitChars("]"),this.state=L.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case _.GREATER_THAN_SIGN:{this.state=L.DATA;break}case _.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=L.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===_.NUMBER_SIGN?this.state=L.NUMERIC_CHARACTER_REFERENCE:Mb(e)?(this.state=L.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let i=this._matchNamedCharacterReference(e);if(!this._ensureHibernation())if(i){for(let r=0;r<i.length;r++)this._flushCodePointConsumedAsCharacterReference(i[r]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this.state=L.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){Mb(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===_.SEMICOLON&&this._err(J.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===_.LATIN_SMALL_X||e===_.LATIN_CAPITAL_X?this.state=L.HEXADEMICAL_CHARACTER_REFERENCE_START:Hc(e)?(this.state=L.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(J.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(_.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){SN(e)?(this.state=L.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(J.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(_.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){j4(e)?this.charRefCode=this.charRefCode*16+e-55:W4(e)?this.charRefCode=this.charRefCode*16+e-87:Hc(e)?this.charRefCode=this.charRefCode*16+e-48:e===_.SEMICOLON?this.state=L.NUMERIC_CHARACTER_REFERENCE_END:(this._err(J.missingSemicolonAfterCharacterReference),this.state=L.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){Hc(e)?this.charRefCode=this.charRefCode*10+e-48:e===_.SEMICOLON?this.state=L.NUMERIC_CHARACTER_REFERENCE_END:(this._err(J.missingSemicolonAfterCharacterReference),this.state=L.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===_.NULL)this._err(J.nullCharacterReference),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(J.characterReferenceOutsideUnicodeRange),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(kd(this.charRefCode))this._err(J.surrogateCharacterReference),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(Td(this.charRefCode))this._err(J.noncharacterCharacterReference);else if(Sd(this.charRefCode)||this.charRefCode===_.CARRIAGE_RETURN){this._err(J.controlCharacterReference);let i=wN.get(this.charRefCode);i!==void 0&&(this.charRefCode=i)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var B4=new Set([m.DD,m.DT,m.LI,m.OPTGROUP,m.OPTION,m.P,m.RB,m.RP,m.RT,m.RTC]),Z4=new Set([...B4,m.CAPTION,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]),Qd=new Map([[m.APPLET,se.HTML],[m.CAPTION,se.HTML],[m.HTML,se.HTML],[m.MARQUEE,se.HTML],[m.OBJECT,se.HTML],[m.TABLE,se.HTML],[m.TD,se.HTML],[m.TEMPLATE,se.HTML],[m.TH,se.HTML],[m.ANNOTATION_XML,se.MATHML],[m.MI,se.MATHML],[m.MN,se.MATHML],[m.MO,se.MATHML],[m.MS,se.MATHML],[m.MTEXT,se.MATHML],[m.DESC,se.SVG],[m.FOREIGN_OBJECT,se.SVG],[m.TITLE,se.SVG]]),EN=[m.H1,m.H2,m.H3,m.H4,m.H5,m.H6],PN=[m.TR,m.TEMPLATE,m.HTML],QN=[m.TBODY,m.TFOOT,m.THEAD,m.TEMPLATE,m.HTML],CN=[m.TABLE,m.TEMPLATE,m.HTML],_N=[m.TD,m.TH],Cd=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,i,r){this.treeAdapter=i,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=m.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===m.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===se.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,i){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=i,this.currentTagId=i,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,i,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,i){let r=this._indexOf(e);this.items[r]=i,r===this.stackTop&&(this.current=i)}insertAfter(e,i,r){let n=this._indexOf(e)+1;this.items.splice(n,0,i),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let i=this.stackTop+1;do i=this.tagIDs.lastIndexOf(e,i-1);while(i>0&&this.treeAdapter.getNamespaceURI(this.items[i])!==se.HTML);this.shortenToLength(i<0?0:i)}shortenToLength(e){for(;this.stackTop>=e;){let i=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,this.stackTop<e)}}popUntilElementPopped(e){let i=this._indexOf(e);this.shortenToLength(i<0?0:i)}popUntilPopped(e,i){let r=this._indexOfTagNames(e,i);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(EN,se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(_N,se.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,i){for(let r=this.stackTop;r>=0;r--)if(e.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===i)return r;return-1}clearBackTo(e,i){let r=this._indexOfTagNames(e,i);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(CN,se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(QN,se.HTML)}clearBackToTableRowContext(){this.clearBackTo(PN,se.HTML)}remove(e){let i=this._indexOf(e);i>=0&&(i===this.stackTop?this.pop():(this.items.splice(i,1),this.tagIDs.splice(i,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===m.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let i=this._indexOf(e)-1;return i>=0?this.items[i]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===m.HTML}hasInScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i],n=this.treeAdapter.getNamespaceURI(this.items[i]);if(r===e&&n===se.HTML)return!0;if(Qd.get(r)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let i=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(Yc(i)&&r===se.HTML)return!0;if(Qd.get(i)===r)return!1}return!0}hasInListItemScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i],n=this.treeAdapter.getNamespaceURI(this.items[i]);if(r===e&&n===se.HTML)return!0;if((r===m.UL||r===m.OL)&&n===se.HTML||Qd.get(r)===n)return!1}return!0}hasInButtonScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i],n=this.treeAdapter.getNamespaceURI(this.items[i]);if(r===e&&n===se.HTML)return!0;if(r===m.BUTTON&&n===se.HTML||Qd.get(r)===n)return!1}return!0}hasInTableScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i];if(this.treeAdapter.getNamespaceURI(this.items[i])===se.HTML){if(r===e)return!0;if(r===m.TABLE||r===m.TEMPLATE||r===m.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let i=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===se.HTML){if(i===m.TBODY||i===m.THEAD||i===m.TFOOT)return!0;if(i===m.TABLE||i===m.HTML)return!1}}return!0}hasInSelectScope(e){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i];if(this.treeAdapter.getNamespaceURI(this.items[i])===se.HTML){if(r===e)return!0;if(r!==m.OPTION&&r!==m.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;B4.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Z4.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Z4.has(this.currentTagId);)this.pop()}};var pr;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(pr=pr||(pr={}));var Y4={type:pr.Marker},_d=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,i){let r=[],n=i.length,o=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let a=0;a<this.entries.length;a++){let l=this.entries[a];if(l.type===pr.Marker)break;let{element:c}=l;if(this.treeAdapter.getTagName(c)===o&&this.treeAdapter.getNamespaceURI(c)===s){let u=this.treeAdapter.getAttrList(c);u.length===n&&r.push({idx:a,attrs:u})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let i=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,i);if(r.length<3)return;let n=new Map(i.map(s=>[s.name,s.value])),o=0;for(let s=0;s<r.length;s++){let a=r[s];a.attrs.every(l=>n.get(l.name)===l.value)&&(o+=1,o>=3&&this.entries.splice(a.idx,1))}}insertMarker(){this.entries.unshift(Y4)}pushElement(e,i){this._ensureNoahArkCondition(e),this.entries.unshift({type:pr.Element,element:e,token:i})}insertElementAfterBookmark(e,i){let r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:pr.Element,element:e,token:i})}removeEntry(e){let i=this.entries.indexOf(e);i>=0&&this.entries.splice(i,1)}clearToLastMarker(){let e=this.entries.indexOf(Y4);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let i=this.entries.find(r=>r.type===pr.Marker||this.treeAdapter.getTagName(r.element)===e);return i&&i.type===pr.Element?i:null}getElementEntry(e){return this.entries.find(i=>i.type===pr.Element&&i.element===e)}};function F4(t){return{nodeName:"#text",value:t,parentNode:null}}var zn={createDocument(){return{nodeName:"#document",mode:ai.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,i){return{nodeName:t,tagName:t,attrs:i,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(t){return{nodeName:"#comment",data:t,parentNode:null}},appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,i){let r=t.childNodes.indexOf(i);t.childNodes.splice(r,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,i,r){let n=t.childNodes.find(o=>o.nodeName==="#documentType");if(n)n.name=e,n.publicId=i,n.systemId=r;else{let o={nodeName:"#documentType",name:e,publicId:i,systemId:r,parentNode:null};zn.appendChild(t,o)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){let e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){let i=t.childNodes[t.childNodes.length-1];if(zn.isTextNode(i)){i.value+=e;return}}zn.appendChild(t,F4(e))},insertTextBefore(t,e,i){let r=t.childNodes[t.childNodes.indexOf(i)-1];r&&zn.isTextNode(r)?r.value+=e:zn.insertBefore(t,F4(e),i)},adoptAttributes(t,e){let i=new Set(t.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)i.has(e[r].name)||t.attrs.push(e[r])},getFirstChild(t){return t.childNodes[0]},getChildNodes(t){return t.childNodes},getParentNode(t){return t.parentNode},getAttrList(t){return t.attrs},getTagName(t){return t.tagName},getNamespaceURI(t){return t.namespaceURI},getTextNodeContent(t){return t.value},getCommentNodeContent(t){return t.data},getDocumentTypeNodeName(t){return t.name},getDocumentTypeNodePublicId(t){return t.publicId},getDocumentTypeNodeSystemId(t){return t.systemId},isTextNode(t){return t.nodeName==="#text"},isCommentNode(t){return t.nodeName==="#comment"},isDocumentTypeNode(t){return t.nodeName==="#documentType"},isElementNode(t){return Object.prototype.hasOwnProperty.call(t,"tagName")},setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation(t){return t.sourceCodeLocation},updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation=H(H({},t.sourceCodeLocation),e)}};var G4="html",$N="about:legacy-compat",AN="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",K4=["+//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//"],XN=[...K4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],RN=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),J4=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],LN=[...J4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function H4(t,e){return e.some(i=>t.startsWith(i))}function e5(t){return t.name===G4&&t.publicId===null&&(t.systemId===null||t.systemId===$N)}function t5(t){if(t.name!==G4)return ai.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===AN)return ai.QUIRKS;let{publicId:i}=t;if(i!==null){if(i=i.toLowerCase(),RN.has(i))return ai.QUIRKS;let r=e===null?XN:K4;if(H4(i,r))return ai.QUIRKS;if(r=e===null?J4:LN,H4(i,r))return ai.LIMITED_QUIRKS}return ai.NO_QUIRKS}var Xd={};sc(Xd,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>r5,adjustTokenMathMLAttrs:()=>$d,adjustTokenSVGAttrs:()=>Ad,adjustTokenSVGTagName:()=>jb,adjustTokenXMLAttrs:()=>Kc,causesExit:()=>qb,isIntegrationPoint:()=>Wb});var i5={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},zN="definitionurl",DN="definitionURL",UN=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])),NN=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:se.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:se.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:se.XMLNS}]]),r5=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])),MN=new Set([m.B,m.BIG,m.BLOCKQUOTE,m.BODY,m.BR,m.CENTER,m.CODE,m.DD,m.DIV,m.DL,m.DT,m.EM,m.EMBED,m.H1,m.H2,m.H3,m.H4,m.H5,m.H6,m.HEAD,m.HR,m.I,m.IMG,m.LI,m.LISTING,m.MENU,m.META,m.NOBR,m.OL,m.P,m.PRE,m.RUBY,m.S,m.SMALL,m.SPAN,m.STRONG,m.STRIKE,m.SUB,m.SUP,m.TABLE,m.TT,m.U,m.UL,m.VAR]);function qb(t){let e=t.tagID;return e===m.FONT&&t.attrs.some(({name:r})=>r===Lr.COLOR||r===Lr.SIZE||r===Lr.FACE)||MN.has(e)}function $d(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===zN){t.attrs[e].name=DN;break}}function Ad(t){for(let e=0;e<t.attrs.length;e++){let i=UN.get(t.attrs[e].name);i!=null&&(t.attrs[e].name=i)}}function Kc(t){for(let e=0;e<t.attrs.length;e++){let i=NN.get(t.attrs[e].name);i&&(t.attrs[e].prefix=i.prefix,t.attrs[e].name=i.name,t.attrs[e].namespace=i.namespace)}}function jb(t){let e=r5.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=Io(t.tagName))}function qN(t,e){return e===se.MATHML&&(t===m.MI||t===m.MO||t===m.MN||t===m.MS||t===m.MTEXT)}function jN(t,e,i){if(e===se.MATHML&&t===m.ANNOTATION_XML){for(let r=0;r<i.length;r++)if(i[r].name===Lr.ENCODING){let n=i[r].value.toLowerCase();return n===i5.TEXT_HTML||n===i5.APPLICATION_XML}}return e===se.SVG&&(t===m.FOREIGN_OBJECT||t===m.DESC||t===m.TITLE)}function Wb(t,e,i,r){return(!r||r===se.HTML)&&jN(t,e,i)||(!r||r===se.MATHML)&&qN(t,e)}var WN="hidden",VN=8,ZN=3,D;(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"})(D||(D={}));var BN={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},a5=new Set([m.TABLE,m.TBODY,m.TFOOT,m.THEAD,m.TR]),n5={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:zn,onParseError:null},Dn=class{constructor(e,i,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=D.INITIAL,this.originalInsertionMode=D.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=H(H({},n5),e),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=i!=null?i:this.treeAdapter.createDocument(),this.tokenizer=new Gc(this.options,this),this.activeFormattingElements=new _d(this.treeAdapter),this.fragmentContextID=r?Io(this.treeAdapter.getTagName(r)):m.UNKNOWN,this._setContextModes(r!=null?r:this.document,this.fragmentContextID),this.openElements=new Cd(this.document,this.treeAdapter,this)}static parse(e,i){let r=new this(i);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,i){let r=H(H({},n5),i);e!=null||(e=r.treeAdapter.createElement(Z.TEMPLATE,se.HTML,[]));let n=r.treeAdapter.createElement("documentmock",se.HTML,[]),o=new this(r,n,e);return o.fragmentContextID===m.TEMPLATE&&o.tmplInsertionModeStack.unshift(D.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,i),i}_err(e,i,r){var n;if(!this.onParseError)return;let o=(n=e.location)!==null&&n!==void 0?n:BN,s={code:i,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:r?o.startLine:o.endLine,endCol:r?o.startCol:o.endCol,endOffset:r?o.startOffset:o.endOffset};this.onParseError(s)}onItemPush(e,i,r){var n,o;(o=(n=this.treeAdapter).onItemPush)===null||o===void 0||o.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,i)}onItemPop(e,i){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),i){let o,s;this.openElements.stackTop===0&&this.fragmentContext?(o=this.fragmentContext,s=this.fragmentContextID):{current:o,currentTagId:s}=this.openElements,this._setContextModes(o,s)}}_setContextModes(e,i){let r=e===this.document||this.treeAdapter.getNamespaceURI(e)===se.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(i,e)}_switchToTextParsing(e,i){this._insertElement(e,se.HTML),this.tokenizer.state=i,this.originalInsertionMode=this.insertionMode,this.insertionMode=D.TEXT}switchToPlaintextParsing(){this.insertionMode=D.TEXT,this.originalInsertionMode=D.IN_BODY,this.tokenizer.state=St.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Z.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==se.HTML))switch(this.fragmentContextID){case m.TITLE:case m.TEXTAREA:{this.tokenizer.state=St.RCDATA;break}case m.STYLE:case m.XMP:case m.IFRAME:case m.NOEMBED:case m.NOFRAMES:case m.NOSCRIPT:{this.tokenizer.state=St.RAWTEXT;break}case m.SCRIPT:{this.tokenizer.state=St.SCRIPT_DATA;break}case m.PLAINTEXT:{this.tokenizer.state=St.PLAINTEXT;break}default:}}_setDocumentType(e){let i=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,i,r,n),e.location){let s=this.treeAdapter.getChildNodes(this.document).find(a=>this.treeAdapter.isDocumentTypeNode(a));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,i){if(this.options.sourceCodeLocationInfo){let r=i&&Pe(H({},i),{startTag:i});this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,i){let r=this.treeAdapter.createElement(e.tagName,i,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,i){let r=this.treeAdapter.createElement(e.tagName,i,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,i){let r=this.treeAdapter.createElement(e,se.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,i)}_insertTemplate(e){let i=this.treeAdapter.createElement(e.tagName,se.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(i,r),this._attachElementToTree(i,e.location),this.openElements.push(i,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(Z.HTML,se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,m.HTML)}_appendCommentNode(e,i){let r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(i,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let i,r;if(this._shouldFosterParentOnInsertion()?({parent:i,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(i,e.chars,r):this.treeAdapter.insertText(i,e.chars)):(i=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(i,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(i),o=r?n.lastIndexOf(r):n.length,s=n[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){let{endLine:l,endCol:c,endOffset:u}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,i){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(i,r)}_setEndLocation(e,i){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&i.location){let r=i.location,n=this.treeAdapter.getTagName(e),o=i.type===Ye.END_TAG&&n===i.tagName?{endTag:H({},r),endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let i,r;return this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,r=this.fragmentContextID):{current:i,currentTagId:r}=this.openElements,e.tagID===m.SVG&&this.treeAdapter.getTagName(i)===Z.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(i)===se.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===m.MGLYPH||e.tagID===m.MALIGNMARK)&&!this._isIntegrationPoint(r,i,se.HTML)}_processToken(e){switch(e.type){case Ye.CHARACTER:{this.onCharacter(e);break}case Ye.NULL_CHARACTER:{this.onNullCharacter(e);break}case Ye.COMMENT:{this.onComment(e);break}case Ye.DOCTYPE:{this.onDoctype(e);break}case Ye.START_TAG:{this._processStartTag(e);break}case Ye.END_TAG:{this.onEndTag(e);break}case Ye.EOF:{this.onEof(e);break}case Ye.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,i,r){let n=this.treeAdapter.getNamespaceURI(i),o=this.treeAdapter.getAttrList(i);return Wb(e,n,o,r)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let i=this.activeFormattingElements.entries.findIndex(n=>n.type===pr.Marker||this.openElements.contains(n.element)),r=i<0?e-1:i-1;for(let n=r;n>=0;n--){let o=this.activeFormattingElements.entries[n];this._insertElement(o.token,this.treeAdapter.getNamespaceURI(o.element)),o.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=D.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(m.P),this.openElements.popUntilTagNamePopped(m.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case m.TR:{this.insertionMode=D.IN_ROW;return}case m.TBODY:case m.THEAD:case m.TFOOT:{this.insertionMode=D.IN_TABLE_BODY;return}case m.CAPTION:{this.insertionMode=D.IN_CAPTION;return}case m.COLGROUP:{this.insertionMode=D.IN_COLUMN_GROUP;return}case m.TABLE:{this.insertionMode=D.IN_TABLE;return}case m.BODY:{this.insertionMode=D.IN_BODY;return}case m.FRAMESET:{this.insertionMode=D.IN_FRAMESET;return}case m.SELECT:{this._resetInsertionModeForSelect(e);return}case m.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case m.HTML:{this.insertionMode=this.headElement?D.AFTER_HEAD:D.BEFORE_HEAD;return}case m.TD:case m.TH:{if(e>0){this.insertionMode=D.IN_CELL;return}break}case m.HEAD:{if(e>0){this.insertionMode=D.IN_HEAD;return}break}}this.insertionMode=D.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let i=e-1;i>0;i--){let r=this.openElements.tagIDs[i];if(r===m.TEMPLATE)break;if(r===m.TABLE){this.insertionMode=D.IN_SELECT_IN_TABLE;return}}this.insertionMode=D.IN_SELECT}_isElementCausesFosterParenting(e){return a5.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let i=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case m.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(i)===se.HTML)return{parent:this.treeAdapter.getTemplateContent(i),beforeElement:null};break}case m.TABLE:{let r=this.treeAdapter.getParentNode(i);return r?{parent:r,beforeElement:i}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let i=this._findFosterParentingLocation();i.beforeElement?this.treeAdapter.insertBefore(i.parent,e,i.beforeElement):this.treeAdapter.appendChild(i.parent,e)}_isSpecialElement(e,i){let r=this.treeAdapter.getNamespaceURI(e);return Nb[r].has(i)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){kq(this,e);return}switch(this.insertionMode){case D.INITIAL:{Jc(this,e);break}case D.BEFORE_HTML:{tu(this,e);break}case D.BEFORE_HEAD:{iu(this,e);break}case D.IN_HEAD:{ru(this,e);break}case D.IN_HEAD_NO_SCRIPT:{nu(this,e);break}case D.AFTER_HEAD:{ou(this,e);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:{c5(this,e);break}case D.TEXT:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{Vb(this,e);break}case D.IN_TABLE_TEXT:{p5(this,e);break}case D.IN_COLUMN_GROUP:{Ld(this,e);break}case D.AFTER_BODY:{Id(this,e);break}case D.AFTER_AFTER_BODY:{Rd(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){wq(this,e);return}switch(this.insertionMode){case D.INITIAL:{Jc(this,e);break}case D.BEFORE_HTML:{tu(this,e);break}case D.BEFORE_HEAD:{iu(this,e);break}case D.IN_HEAD:{ru(this,e);break}case D.IN_HEAD_NO_SCRIPT:{nu(this,e);break}case D.AFTER_HEAD:{ou(this,e);break}case D.TEXT:{this._insertCharacters(e);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{Vb(this,e);break}case D.IN_COLUMN_GROUP:{Ld(this,e);break}case D.AFTER_BODY:{Id(this,e);break}case D.AFTER_AFTER_BODY:{Rd(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){Zb(this,e);return}switch(this.insertionMode){case D.INITIAL:case D.BEFORE_HTML:case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_TEMPLATE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{Zb(this,e);break}case D.IN_TABLE_TEXT:{eu(this,e);break}case D.AFTER_BODY:{eM(this,e);break}case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{tM(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case D.INITIAL:{iM(this,e);break}case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:{this._err(e,J.misplacedDoctype);break}case D.IN_TABLE_TEXT:{eu(this,e);break}default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,J.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Sq(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case D.INITIAL:{Jc(this,e);break}case D.BEFORE_HTML:{rM(this,e);break}case D.BEFORE_HEAD:{oM(this,e);break}case D.IN_HEAD:{Ir(this,e);break}case D.IN_HEAD_NO_SCRIPT:{lM(this,e);break}case D.AFTER_HEAD:{uM(this,e);break}case D.IN_BODY:{yi(this,e);break}case D.IN_TABLE:{Ka(this,e);break}case D.IN_TABLE_TEXT:{eu(this,e);break}case D.IN_CAPTION:{sq(this,e);break}case D.IN_COLUMN_GROUP:{Hb(this,e);break}case D.IN_TABLE_BODY:{Ud(this,e);break}case D.IN_ROW:{Nd(this,e);break}case D.IN_CELL:{cq(this,e);break}case D.IN_SELECT:{b5(this,e);break}case D.IN_SELECT_IN_TABLE:{fq(this,e);break}case D.IN_TEMPLATE:{dq(this,e);break}case D.AFTER_BODY:{pq(this,e);break}case D.IN_FRAMESET:{mq(this,e);break}case D.AFTER_FRAMESET:{bq(this,e);break}case D.AFTER_AFTER_BODY:{xq(this,e);break}case D.AFTER_AFTER_FRAMESET:{vq(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Tq(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case D.INITIAL:{Jc(this,e);break}case D.BEFORE_HTML:{nM(this,e);break}case D.BEFORE_HEAD:{sM(this,e);break}case D.IN_HEAD:{aM(this,e);break}case D.IN_HEAD_NO_SCRIPT:{cM(this,e);break}case D.AFTER_HEAD:{fM(this,e);break}case D.IN_BODY:{Dd(this,e);break}case D.TEXT:{HM(this,e);break}case D.IN_TABLE:{su(this,e);break}case D.IN_TABLE_TEXT:{eu(this,e);break}case D.IN_CAPTION:{aq(this,e);break}case D.IN_COLUMN_GROUP:{lq(this,e);break}case D.IN_TABLE_BODY:{Bb(this,e);break}case D.IN_ROW:{g5(this,e);break}case D.IN_CELL:{uq(this,e);break}case D.IN_SELECT:{y5(this,e);break}case D.IN_SELECT_IN_TABLE:{hq(this,e);break}case D.IN_TEMPLATE:{Oq(this,e);break}case D.AFTER_BODY:{v5(this,e);break}case D.IN_FRAMESET:{gq(this,e);break}case D.AFTER_FRAMESET:{yq(this,e);break}case D.AFTER_AFTER_BODY:{Rd(this,e);break}default:}}onEof(e){switch(this.insertionMode){case D.INITIAL:{Jc(this,e);break}case D.BEFORE_HTML:{tu(this,e);break}case D.BEFORE_HEAD:{iu(this,e);break}case D.IN_HEAD:{ru(this,e);break}case D.IN_HEAD_NO_SCRIPT:{nu(this,e);break}case D.AFTER_HEAD:{ou(this,e);break}case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{d5(this,e);break}case D.TEXT:{GM(this,e);break}case D.IN_TABLE_TEXT:{eu(this,e);break}case D.IN_TEMPLATE:{x5(this,e);break}case D.AFTER_BODY:case D.IN_FRAMESET:case D.AFTER_FRAMESET:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{Fb(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===_.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 D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.TEXT:case D.IN_COLUMN_GROUP:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{this._insertCharacters(e);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:case D.AFTER_BODY:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{l5(this,e);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{Vb(this,e);break}case D.IN_TABLE_TEXT:{O5(this,e);break}default:}}};function YN(t,e){let i=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return i?t.openElements.contains(i.element)?t.openElements.hasInScope(e.tagID)||(i=null):(t.activeFormattingElements.removeEntry(i),i=null):h5(t,e),i}function FN(t,e){let i=null,r=t.openElements.stackTop;for(;r>=0;r--){let n=t.openElements.items[r];if(n===e.element)break;t._isSpecialElement(n,t.openElements.tagIDs[r])&&(i=n)}return i||(t.openElements.shortenToLength(r<0?0:r),t.activeFormattingElements.removeEntry(e)),i}function HN(t,e,i){let r=e,n=t.openElements.getCommonAncestor(e);for(let o=0,s=n;s!==i;o++,s=n){n=t.openElements.getCommonAncestor(s);let a=t.activeFormattingElements.getElementEntry(s),l=a&&o>=ZN;!a||l?(l&&t.activeFormattingElements.removeEntry(a),t.openElements.remove(s)):(s=GN(t,a),r===e&&(t.activeFormattingElements.bookmark=a),t.treeAdapter.detachNode(r),t.treeAdapter.appendChild(s,r),r=s)}return r}function GN(t,e){let i=t.treeAdapter.getNamespaceURI(e.element),r=t.treeAdapter.createElement(e.token.tagName,i,e.token.attrs);return t.openElements.replace(e.element,r),e.element=r,r}function KN(t,e,i){let r=t.treeAdapter.getTagName(e),n=Io(r);if(t._isElementCausesFosterParenting(n))t._fosterParentElement(i);else{let o=t.treeAdapter.getNamespaceURI(e);n===m.TEMPLATE&&o===se.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,i)}}function JN(t,e,i){let r=t.treeAdapter.getNamespaceURI(i.element),{token:n}=i,o=t.treeAdapter.createElement(n.tagName,r,n.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,n),t.activeFormattingElements.removeEntry(i),t.openElements.remove(i.element),t.openElements.insertAfter(e,o,n.tagID)}function Yb(t,e){for(let i=0;i<VN;i++){let r=YN(t,e);if(!r)break;let n=FN(t,r);if(!n)break;t.activeFormattingElements.bookmark=r;let o=HN(t,n,r.element),s=t.openElements.getCommonAncestor(r.element);t.treeAdapter.detachNode(o),s&&KN(t,s,o),JN(t,n,r)}}function Zb(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function eM(t,e){t._appendCommentNode(e,t.openElements.items[0])}function tM(t,e){t._appendCommentNode(e,t.document)}function Fb(t,e){if(t.stopped=!0,e.location){let i=t.fragmentContext?0:2;for(let r=t.openElements.stackTop;r>=i;r--)t._setEndLocation(t.openElements.items[r],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){let r=t.openElements.items[0],n=t.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(t._setEndLocation(r,e),t.openElements.stackTop>=1)){let o=t.openElements.items[1],s=t.treeAdapter.getNodeSourceCodeLocation(o);s&&!s.endTag&&t._setEndLocation(o,e)}}}}function iM(t,e){t._setDocumentType(e);let i=e.forceQuirks?ai.QUIRKS:t5(e);e5(e)||t._err(e,J.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,i),t.insertionMode=D.BEFORE_HTML}function Jc(t,e){t._err(e,J.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,ai.QUIRKS),t.insertionMode=D.BEFORE_HTML,t._processToken(e)}function rM(t,e){e.tagID===m.HTML?(t._insertElement(e,se.HTML),t.insertionMode=D.BEFORE_HEAD):tu(t,e)}function nM(t,e){let i=e.tagID;(i===m.HTML||i===m.HEAD||i===m.BODY||i===m.BR)&&tu(t,e)}function tu(t,e){t._insertFakeRootElement(),t.insertionMode=D.BEFORE_HEAD,t._processToken(e)}function oM(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.HEAD:{t._insertElement(e,se.HTML),t.headElement=t.openElements.current,t.insertionMode=D.IN_HEAD;break}default:iu(t,e)}}function sM(t,e){let i=e.tagID;i===m.HEAD||i===m.BODY||i===m.HTML||i===m.BR?iu(t,e):t._err(e,J.endTagWithoutMatchingOpenElement)}function iu(t,e){t._insertFakeElement(Z.HEAD,m.HEAD),t.headElement=t.openElements.current,t.insertionMode=D.IN_HEAD,t._processToken(e)}function Ir(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:{t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break}case m.TITLE:{t._switchToTextParsing(e,St.RCDATA);break}case m.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,St.RAWTEXT):(t._insertElement(e,se.HTML),t.insertionMode=D.IN_HEAD_NO_SCRIPT);break}case m.NOFRAMES:case m.STYLE:{t._switchToTextParsing(e,St.RAWTEXT);break}case m.SCRIPT:{t._switchToTextParsing(e,St.SCRIPT_DATA);break}case m.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=D.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(D.IN_TEMPLATE);break}case m.HEAD:{t._err(e,J.misplacedStartTagForHeadElement);break}default:ru(t,e)}}function aM(t,e){switch(e.tagID){case m.HEAD:{t.openElements.pop(),t.insertionMode=D.AFTER_HEAD;break}case m.BODY:case m.BR:case m.HTML:{ru(t,e);break}case m.TEMPLATE:{Xs(t,e);break}default:t._err(e,J.endTagWithoutMatchingOpenElement)}}function Xs(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==m.TEMPLATE&&t._err(e,J.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(m.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,J.endTagWithoutMatchingOpenElement)}function ru(t,e){t.openElements.pop(),t.insertionMode=D.AFTER_HEAD,t._processToken(e)}function lM(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.BASEFONT:case m.BGSOUND:case m.HEAD:case m.LINK:case m.META:case m.NOFRAMES:case m.STYLE:{Ir(t,e);break}case m.NOSCRIPT:{t._err(e,J.nestedNoscriptInHead);break}default:nu(t,e)}}function cM(t,e){switch(e.tagID){case m.NOSCRIPT:{t.openElements.pop(),t.insertionMode=D.IN_HEAD;break}case m.BR:{nu(t,e);break}default:t._err(e,J.endTagWithoutMatchingOpenElement)}}function nu(t,e){let i=e.type===Ye.EOF?J.openElementsLeftAfterEof:J.disallowedContentInNoscriptInHead;t._err(e,i),t.openElements.pop(),t.insertionMode=D.IN_HEAD,t._processToken(e)}function uM(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.BODY:{t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=D.IN_BODY;break}case m.FRAMESET:{t._insertElement(e,se.HTML),t.insertionMode=D.IN_FRAMESET;break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{t._err(e,J.abandonedHeadElementChild),t.openElements.push(t.headElement,m.HEAD),Ir(t,e),t.openElements.remove(t.headElement);break}case m.HEAD:{t._err(e,J.misplacedStartTagForHeadElement);break}default:ou(t,e)}}function fM(t,e){switch(e.tagID){case m.BODY:case m.HTML:case m.BR:{ou(t,e);break}case m.TEMPLATE:{Xs(t,e);break}default:t._err(e,J.endTagWithoutMatchingOpenElement)}}function ou(t,e){t._insertFakeElement(Z.BODY,m.BODY),t.insertionMode=D.IN_BODY,zd(t,e)}function zd(t,e){switch(e.type){case Ye.CHARACTER:{c5(t,e);break}case Ye.WHITESPACE_CHARACTER:{l5(t,e);break}case Ye.COMMENT:{Zb(t,e);break}case Ye.START_TAG:{yi(t,e);break}case Ye.END_TAG:{Dd(t,e);break}case Ye.EOF:{d5(t,e);break}default:}}function l5(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function c5(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function hM(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function dM(t,e){let i=t.openElements.tryPeekProperlyNestedBodyElement();i&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(i,e.attrs))}function OM(t,e){let i=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&i&&(t.treeAdapter.detachNode(i),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,se.HTML),t.insertionMode=D.IN_FRAMESET)}function pM(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML)}function mM(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),Yc(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,se.HTML)}function gM(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function bM(t,e){let i=t.openElements.tmplCount>0;(!t.formElement||i)&&(t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),i||(t.formElement=t.openElements.current))}function yM(t,e){t.framesetOk=!1;let i=e.tagID;for(let r=t.openElements.stackTop;r>=0;r--){let n=t.openElements.tagIDs[r];if(i===m.LI&&n===m.LI||(i===m.DD||i===m.DT)&&(n===m.DD||n===m.DT)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n);break}if(n!==m.ADDRESS&&n!==m.DIV&&n!==m.P&&t._isSpecialElement(t.openElements.items[r],n))break}t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML)}function xM(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.tokenizer.state=St.PLAINTEXT}function vM(t,e){t.openElements.hasInScope(m.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(m.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1}function wM(t,e){let i=t.activeFormattingElements.getElementEntryInScopeWithTagName(Z.A);i&&(Yb(t,e),t.openElements.remove(i.element),t.activeFormattingElements.removeEntry(i)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function kM(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function SM(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(m.NOBR)&&(Yb(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function TM(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function EM(t,e){t.treeAdapter.getDocumentMode(t.document)!==ai.QUIRKS&&t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=D.IN_TABLE}function u5(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function f5(t){let e=Bc(t,Lr.TYPE);return e!=null&&e.toLowerCase()===WN}function PM(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),f5(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function QM(t,e){t._appendElement(e,se.HTML),e.ackSelfClosing=!0}function CM(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function _M(t,e){e.tagName=Z.IMG,e.tagID=m.IMG,u5(t,e)}function $M(t,e){t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.tokenizer.state=St.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=D.TEXT}function AM(t,e){t.openElements.hasInButtonScope(m.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,St.RAWTEXT)}function XM(t,e){t.framesetOk=!1,t._switchToTextParsing(e,St.RAWTEXT)}function o5(t,e){t._switchToTextParsing(e,St.RAWTEXT)}function RM(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===D.IN_TABLE||t.insertionMode===D.IN_CAPTION||t.insertionMode===D.IN_TABLE_BODY||t.insertionMode===D.IN_ROW||t.insertionMode===D.IN_CELL?D.IN_SELECT_IN_TABLE:D.IN_SELECT}function LM(t,e){t.openElements.currentTagId===m.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}function IM(t,e){t.openElements.hasInScope(m.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,se.HTML)}function zM(t,e){t.openElements.hasInScope(m.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(m.RTC),t._insertElement(e,se.HTML)}function DM(t,e){t._reconstructActiveFormattingElements(),$d(e),Kc(e),e.selfClosing?t._appendElement(e,se.MATHML):t._insertElement(e,se.MATHML),e.ackSelfClosing=!0}function UM(t,e){t._reconstructActiveFormattingElements(),Ad(e),Kc(e),e.selfClosing?t._appendElement(e,se.SVG):t._insertElement(e,se.SVG),e.ackSelfClosing=!0}function s5(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}function yi(t,e){switch(e.tagID){case m.I:case m.S:case m.B:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.SMALL:case m.STRIKE:case m.STRONG:{kM(t,e);break}case m.A:{wM(t,e);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{mM(t,e);break}case m.P:case m.DL:case m.OL:case m.UL:case m.DIV:case m.DIR:case m.NAV:case m.MAIN:case m.MENU:case m.ASIDE:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.DETAILS:case m.ADDRESS:case m.ARTICLE:case m.SECTION:case m.SUMMARY:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{pM(t,e);break}case m.LI:case m.DD:case m.DT:{yM(t,e);break}case m.BR:case m.IMG:case m.WBR:case m.AREA:case m.EMBED:case m.KEYGEN:{u5(t,e);break}case m.HR:{CM(t,e);break}case m.RB:case m.RTC:{IM(t,e);break}case m.RT:case m.RP:{zM(t,e);break}case m.PRE:case m.LISTING:{gM(t,e);break}case m.XMP:{AM(t,e);break}case m.SVG:{UM(t,e);break}case m.HTML:{hM(t,e);break}case m.BASE:case m.LINK:case m.META:case m.STYLE:case m.TITLE:case m.SCRIPT:case m.BGSOUND:case m.BASEFONT:case m.TEMPLATE:{Ir(t,e);break}case m.BODY:{dM(t,e);break}case m.FORM:{bM(t,e);break}case m.NOBR:{SM(t,e);break}case m.MATH:{DM(t,e);break}case m.TABLE:{EM(t,e);break}case m.INPUT:{PM(t,e);break}case m.PARAM:case m.TRACK:case m.SOURCE:{QM(t,e);break}case m.IMAGE:{_M(t,e);break}case m.BUTTON:{vM(t,e);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{TM(t,e);break}case m.IFRAME:{XM(t,e);break}case m.SELECT:{RM(t,e);break}case m.OPTION:case m.OPTGROUP:{LM(t,e);break}case m.NOEMBED:{o5(t,e);break}case m.FRAMESET:{OM(t,e);break}case m.TEXTAREA:{$M(t,e);break}case m.NOSCRIPT:{t.options.scriptingEnabled?o5(t,e):s5(t,e);break}case m.PLAINTEXT:{xM(t,e);break}case m.COL:case m.TH:case m.TD:case m.TR:case m.HEAD:case m.FRAME:case m.TBODY:case m.TFOOT:case m.THEAD:case m.CAPTION:case m.COLGROUP:break;default:s5(t,e)}}function NM(t,e){if(t.openElements.hasInScope(m.BODY)&&(t.insertionMode=D.AFTER_BODY,t.options.sourceCodeLocationInfo)){let i=t.openElements.tryPeekProperlyNestedBodyElement();i&&t._setEndLocation(i,e)}}function MM(t,e){t.openElements.hasInScope(m.BODY)&&(t.insertionMode=D.AFTER_BODY,v5(t,e))}function qM(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i))}function jM(t){let e=t.openElements.tmplCount>0,{formElement:i}=t;e||(t.formElement=null),(i||e)&&t.openElements.hasInScope(m.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(m.FORM):i&&t.openElements.remove(i))}function WM(t){t.openElements.hasInButtonScope(m.P)||t._insertFakeElement(Z.P,m.P),t._closePElement()}function VM(t){t.openElements.hasInListItemScope(m.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(m.LI),t.openElements.popUntilTagNamePopped(m.LI))}function ZM(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTagsWithExclusion(i),t.openElements.popUntilTagNamePopped(i))}function BM(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function YM(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i),t.activeFormattingElements.clearToLastMarker())}function FM(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(Z.BR,m.BR),t.openElements.pop(),t.framesetOk=!1}function h5(t,e){let i=e.tagName,r=e.tagID;for(let n=t.openElements.stackTop;n>0;n--){let o=t.openElements.items[n],s=t.openElements.tagIDs[n];if(r===s&&(r!==m.UNKNOWN||t.treeAdapter.getTagName(o)===i)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.stackTop>=n&&t.openElements.shortenToLength(n);break}if(t._isSpecialElement(o,s))break}}function Dd(t,e){switch(e.tagID){case m.A:case m.B:case m.I:case m.S:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.NOBR:case m.SMALL:case m.STRIKE:case m.STRONG:{Yb(t,e);break}case m.P:{WM(t);break}case m.DL:case m.UL:case m.OL:case m.DIR:case m.DIV:case m.NAV:case m.PRE:case m.MAIN:case m.MENU:case m.ASIDE:case m.BUTTON:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.ADDRESS:case m.ARTICLE:case m.DETAILS:case m.SECTION:case m.SUMMARY:case m.LISTING:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{qM(t,e);break}case m.LI:{VM(t);break}case m.DD:case m.DT:{ZM(t,e);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{BM(t);break}case m.BR:{FM(t);break}case m.BODY:{NM(t,e);break}case m.HTML:{MM(t,e);break}case m.FORM:{jM(t);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{YM(t,e);break}case m.TEMPLATE:{Xs(t,e);break}default:h5(t,e)}}function d5(t,e){t.tmplInsertionModeStack.length>0?x5(t,e):Fb(t,e)}function HM(t,e){var i;e.tagID===m.SCRIPT&&((i=t.scriptHandler)===null||i===void 0||i.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function GM(t,e){t._err(e,J.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function Vb(t,e){if(a5.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=D.IN_TABLE_TEXT,e.type){case Ye.CHARACTER:{p5(t,e);break}case Ye.WHITESPACE_CHARACTER:{O5(t,e);break}}else au(t,e)}function KM(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,se.HTML),t.insertionMode=D.IN_CAPTION}function JM(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=D.IN_COLUMN_GROUP}function eq(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(Z.COLGROUP,m.COLGROUP),t.insertionMode=D.IN_COLUMN_GROUP,Hb(t,e)}function tq(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=D.IN_TABLE_BODY}function iq(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(Z.TBODY,m.TBODY),t.insertionMode=D.IN_TABLE_BODY,Ud(t,e)}function rq(t,e){t.openElements.hasInTableScope(m.TABLE)&&(t.openElements.popUntilTagNamePopped(m.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function nq(t,e){f5(e)?t._appendElement(e,se.HTML):au(t,e),e.ackSelfClosing=!0}function oq(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,se.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function Ka(t,e){switch(e.tagID){case m.TD:case m.TH:case m.TR:{iq(t,e);break}case m.STYLE:case m.SCRIPT:case m.TEMPLATE:{Ir(t,e);break}case m.COL:{eq(t,e);break}case m.FORM:{oq(t,e);break}case m.TABLE:{rq(t,e);break}case m.TBODY:case m.TFOOT:case m.THEAD:{tq(t,e);break}case m.INPUT:{nq(t,e);break}case m.CAPTION:{KM(t,e);break}case m.COLGROUP:{JM(t,e);break}default:au(t,e)}}function su(t,e){switch(e.tagID){case m.TABLE:{t.openElements.hasInTableScope(m.TABLE)&&(t.openElements.popUntilTagNamePopped(m.TABLE),t._resetInsertionMode());break}case m.TEMPLATE:{Xs(t,e);break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:au(t,e)}}function au(t,e){let i=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,zd(t,e),t.fosterParentingEnabled=i}function O5(t,e){t.pendingCharacterTokens.push(e)}function p5(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function eu(t,e){let i=0;if(t.hasNonWhitespacePendingCharacterToken)for(;i<t.pendingCharacterTokens.length;i++)au(t,t.pendingCharacterTokens[i]);else for(;i<t.pendingCharacterTokens.length;i++)t._insertCharacters(t.pendingCharacterTokens[i]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}var m5=new Set([m.CAPTION,m.COL,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]);function sq(t,e){let i=e.tagID;m5.has(i)?t.openElements.hasInTableScope(m.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(m.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=D.IN_TABLE,Ka(t,e)):yi(t,e)}function aq(t,e){let i=e.tagID;switch(i){case m.CAPTION:case m.TABLE:{t.openElements.hasInTableScope(m.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(m.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=D.IN_TABLE,i===m.TABLE&&su(t,e));break}case m.BODY:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:Dd(t,e)}}function Hb(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.COL:{t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break}case m.TEMPLATE:{Ir(t,e);break}default:Ld(t,e)}}function lq(t,e){switch(e.tagID){case m.COLGROUP:{t.openElements.currentTagId===m.COLGROUP&&(t.openElements.pop(),t.insertionMode=D.IN_TABLE);break}case m.TEMPLATE:{Xs(t,e);break}case m.COL:break;default:Ld(t,e)}}function Ld(t,e){t.openElements.currentTagId===m.COLGROUP&&(t.openElements.pop(),t.insertionMode=D.IN_TABLE,t._processToken(e))}function Ud(t,e){switch(e.tagID){case m.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,se.HTML),t.insertionMode=D.IN_ROW;break}case m.TH:case m.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(Z.TR,m.TR),t.insertionMode=D.IN_ROW,Nd(t,e);break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=D.IN_TABLE,Ka(t,e));break}default:Ka(t,e)}}function Bb(t,e){let i=e.tagID;switch(e.tagID){case m.TBODY:case m.TFOOT:case m.THEAD:{t.openElements.hasInTableScope(i)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=D.IN_TABLE);break}case m.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=D.IN_TABLE,su(t,e));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:case m.TR:break;default:su(t,e)}}function Nd(t,e){switch(e.tagID){case m.TH:case m.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,se.HTML),t.insertionMode=D.IN_CELL,t.activeFormattingElements.insertMarker();break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{t.openElements.hasInTableScope(m.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=D.IN_TABLE_BODY,Ud(t,e));break}default:Ka(t,e)}}function g5(t,e){switch(e.tagID){case m.TR:{t.openElements.hasInTableScope(m.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=D.IN_TABLE_BODY);break}case m.TABLE:{t.openElements.hasInTableScope(m.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=D.IN_TABLE_BODY,Bb(t,e));break}case m.TBODY:case m.TFOOT:case m.THEAD:{(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(m.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=D.IN_TABLE_BODY,Bb(t,e));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:break;default:su(t,e)}}function cq(t,e){let i=e.tagID;m5.has(i)?(t.openElements.hasInTableScope(m.TD)||t.openElements.hasInTableScope(m.TH))&&(t._closeTableCell(),Nd(t,e)):yi(t,e)}function uq(t,e){let i=e.tagID;switch(i){case m.TD:case m.TH:{t.openElements.hasInTableScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=D.IN_ROW);break}case m.TABLE:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{t.openElements.hasInTableScope(i)&&(t._closeTableCell(),g5(t,e));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:break;default:Dd(t,e)}}function b5(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.OPTION:{t.openElements.currentTagId===m.OPTION&&t.openElements.pop(),t._insertElement(e,se.HTML);break}case m.OPTGROUP:{t.openElements.currentTagId===m.OPTION&&t.openElements.pop(),t.openElements.currentTagId===m.OPTGROUP&&t.openElements.pop(),t._insertElement(e,se.HTML);break}case m.INPUT:case m.KEYGEN:case m.TEXTAREA:case m.SELECT:{t.openElements.hasInSelectScope(m.SELECT)&&(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode(),e.tagID!==m.SELECT&&t._processStartTag(e));break}case m.SCRIPT:case m.TEMPLATE:{Ir(t,e);break}default:}}function y5(t,e){switch(e.tagID){case m.OPTGROUP:{t.openElements.stackTop>0&&t.openElements.currentTagId===m.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===m.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===m.OPTGROUP&&t.openElements.pop();break}case m.OPTION:{t.openElements.currentTagId===m.OPTION&&t.openElements.pop();break}case m.SELECT:{t.openElements.hasInSelectScope(m.SELECT)&&(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode());break}case m.TEMPLATE:{Xs(t,e);break}default:}}function fq(t,e){let i=e.tagID;i===m.CAPTION||i===m.TABLE||i===m.TBODY||i===m.TFOOT||i===m.THEAD||i===m.TR||i===m.TD||i===m.TH?(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode(),t._processStartTag(e)):b5(t,e)}function hq(t,e){let i=e.tagID;i===m.CAPTION||i===m.TABLE||i===m.TBODY||i===m.TFOOT||i===m.THEAD||i===m.TR||i===m.TD||i===m.TH?t.openElements.hasInTableScope(i)&&(t.openElements.popUntilTagNamePopped(m.SELECT),t._resetInsertionMode(),t.onEndTag(e)):y5(t,e)}function dq(t,e){switch(e.tagID){case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{Ir(t,e);break}case m.CAPTION:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{t.tmplInsertionModeStack[0]=D.IN_TABLE,t.insertionMode=D.IN_TABLE,Ka(t,e);break}case m.COL:{t.tmplInsertionModeStack[0]=D.IN_COLUMN_GROUP,t.insertionMode=D.IN_COLUMN_GROUP,Hb(t,e);break}case m.TR:{t.tmplInsertionModeStack[0]=D.IN_TABLE_BODY,t.insertionMode=D.IN_TABLE_BODY,Ud(t,e);break}case m.TD:case m.TH:{t.tmplInsertionModeStack[0]=D.IN_ROW,t.insertionMode=D.IN_ROW,Nd(t,e);break}default:t.tmplInsertionModeStack[0]=D.IN_BODY,t.insertionMode=D.IN_BODY,yi(t,e)}}function Oq(t,e){e.tagID===m.TEMPLATE&&Xs(t,e)}function x5(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(m.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):Fb(t,e)}function pq(t,e){e.tagID===m.HTML?yi(t,e):Id(t,e)}function v5(t,e){var i;if(e.tagID===m.HTML){if(t.fragmentContext||(t.insertionMode=D.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===m.HTML){t._setEndLocation(t.openElements.items[0],e);let r=t.openElements.items[1];r&&!(!((i=t.treeAdapter.getNodeSourceCodeLocation(r))===null||i===void 0)&&i.endTag)&&t._setEndLocation(r,e)}}else Id(t,e)}function Id(t,e){t.insertionMode=D.IN_BODY,zd(t,e)}function mq(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.FRAMESET:{t._insertElement(e,se.HTML);break}case m.FRAME:{t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break}case m.NOFRAMES:{Ir(t,e);break}default:}}function gq(t,e){e.tagID===m.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==m.FRAMESET&&(t.insertionMode=D.AFTER_FRAMESET))}function bq(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.NOFRAMES:{Ir(t,e);break}default:}}function yq(t,e){e.tagID===m.HTML&&(t.insertionMode=D.AFTER_AFTER_FRAMESET)}function xq(t,e){e.tagID===m.HTML?yi(t,e):Rd(t,e)}function Rd(t,e){t.insertionMode=D.IN_BODY,zd(t,e)}function vq(t,e){switch(e.tagID){case m.HTML:{yi(t,e);break}case m.NOFRAMES:{Ir(t,e);break}default:}}function wq(t,e){e.chars=gt,t._insertCharacters(e)}function kq(t,e){t._insertCharacters(e),t.framesetOk=!1}function w5(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==se.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function Sq(t,e){if(qb(e))w5(t),t._startTagOutsideForeignContent(e);else{let i=t._getAdjustedCurrentElement(),r=t.treeAdapter.getNamespaceURI(i);r===se.MATHML?$d(e):r===se.SVG&&(jb(e),Ad(e)),Kc(e),e.selfClosing?t._appendElement(e,r):t._insertElement(e,r),e.ackSelfClosing=!0}}function Tq(t,e){if(e.tagID===m.P||e.tagID===m.BR){w5(t),t._endTagOutsideForeignContent(e);return}for(let i=t.openElements.stackTop;i>0;i--){let r=t.openElements.items[i];if(t.treeAdapter.getNamespaceURI(r)===se.HTML){t._endTagOutsideForeignContent(e);break}let n=t.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,t.openElements.shortenToLength(i);break}}}var Eq=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),N1e=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 Gb(t,e){return function(r){let n,o=0,s="";for(;n=t.exec(r);)o!==n.index&&(s+=r.substring(o,n.index)),s+=e.get(n[0].charCodeAt(0)),o=n.index+1;return s+r.substring(o)}}var M1e=Gb(/[&<>'"]/g,Eq),Pq=Gb(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Qq=Gb(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Z1e=new Set([Z.AREA,Z.BASE,Z.BASEFONT,Z.BGSOUND,Z.BR,Z.COL,Z.EMBED,Z.FRAME,Z.HR,Z.IMG,Z.INPUT,Z.KEYGEN,Z.LINK,Z.META,Z.PARAM,Z.SOURCE,Z.TRACK,Z.WBR]);function k5(t,e){return Dn.parse(t,e)}function S5(t,e,i){typeof t=="string"&&(i=e,e=t,t=null);let r=Dn.getFragmentParser(t,i);return r.tokenizer.write(e,!0),r.getFragment()}var Cq=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),T5={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Md(t,e){let i=Uq(t),r=Ma("type",{handlers:{root:_q,element:$q,text:Aq,comment:P5,doctype:Xq,raw:Lq},unknown:Iq}),n={parser:i?new Dn(T5):Dn.getFragmentParser(void 0,T5),handle(a){r(a,n)},stitches:!1,options:e||{}};r(t,n),Ja(n,hr());let o=i?n.parser.document:n.parser.getFragment(),s=Zc(o,{file:n.options.file});return n.stitches&&gi(s,"comment",function(a,l,c){let u=a;if(u.value.stitch&&c&&l!==void 0){let f=c.children;return f[l]=u.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===t.type?s.children[0]:s}function E5(t,e){let i=-1;if(t)for(;++i<t.length;)e.handle(t[i])}function _q(t,e){E5(t.children,e)}function $q(t,e){zq(t,e),E5(t.children,e),Dq(t,e)}function Aq(t,e){let i={type:In.TokenType.CHARACTER,chars:t.value,location:lu(t)};Ja(e,hr(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function Xq(t,e){let i={type:In.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:lu(t)};Ja(e,hr(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function Rq(t,e){e.stitches=!0;let i=Nq(t);if("children"in t&&"children"in i){let r=Md({type:"root",children:t.children},e.options);i.children=r.children}P5({type:"comment",value:{stitch:i}},e)}function P5(t,e){let i=t.value,r={type:In.TokenType.COMMENT,data:i,location:lu(t)};Ja(e,hr(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function Lq(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,Q5(e,hr(t)),e.parser.tokenizer.write(t.value,!1),e.parser.tokenizer._runParsingLoop(),e.parser.tokenizer.state===72||e.parser.tokenizer.state===78){e.parser.tokenizer.preprocessor.lastChunkWritten=!0;let i=e.parser.tokenizer._consume();e.parser.tokenizer._callState(i)}}function Iq(t,e){let i=t;if(e.options.passThrough&&e.options.passThrough.includes(i.type))Rq(i,e);else{let r="";throw Cq.has(i.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+i.type+"` node"+r)}}function Ja(t,e){Q5(t,e);let i=t.parser.tokenizer.currentCharacterToken;i&&i.location&&(i.location.endLine=t.parser.tokenizer.preprocessor.line,i.location.endCol=t.parser.tokenizer.preprocessor.col+1,i.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken)),t.parser.tokenizer.paused=!1,t.parser.tokenizer.inLoop=!1,t.parser.tokenizer.active=!1,t.parser.tokenizer.returnState=St.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 Q5(t,e){if(e&&e.offset!==void 0){let i={startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:-1,endCol:-1,endOffset:-1};t.parser.tokenizer.preprocessor.lineStartPos=-e.column+1,t.parser.tokenizer.preprocessor.droppedBufferSize=e.offset,t.parser.tokenizer.preprocessor.line=e.line,t.parser.tokenizer.currentLocation=i}}function zq(t,e){if(e.parser.tokenizer.state===St.PLAINTEXT)return;Ja(e,hr(t));let i=e.parser.openElements.current,r="namespaceURI"in i?i.namespaceURI:Ui.html;r===Ui.html&&t.tagName==="svg"&&(r=Ui.svg);let n=Ab(Pe(H({},t),{children:[]}),{space:r===Ui.svg?"svg":"html"}),o="attrs"in n?n.attrs:[],s={type:In.TokenType.START_TAG,tagName:t.tagName,tagID:Ga.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:o,location:lu(t)};e.parser.currentToken=s,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=t.tagName}function Dq(t,e){if(!e.parser.tokenizer.inForeignNode&&wd.includes(t.tagName)||e.parser.tokenizer.state===St.PLAINTEXT)return;Ja(e,Cs(t));let i={type:In.TokenType.END_TAG,tagName:t.tagName,tagID:Ga.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:lu(t)};e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken),i.tagName===e.parser.tokenizer.lastStartTagName&&(e.parser.tokenizer.state===St.RCDATA||e.parser.tokenizer.state===St.RAWTEXT||e.parser.tokenizer.state===St.SCRIPT_DATA)&&(e.parser.tokenizer.state=St.DATA)}function Uq(t){let e=t.type==="root"?t.children[0]:t;return!!(e&&(e.type==="doctype"||e.type==="element"&&e.tagName==="html"))}function lu(t){let e=hr(t)||{line:void 0,column:void 0,offset:void 0},i=Cs(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:i.line,endCol:i.column,endOffset:i.offset}}function Nq(t){return"children"in t?Xr(Pe(H({},t),{children:[]})):Xr(t)}function qd(t){return function(e,i){return Md(e,Pe(H({},t),{file:i}))}}function Kb(t,e){return _5(t,e||{})||{type:"root",children:[]}}function _5(t,e){let i=Mq(t,e);return i&&e.afterTransform&&e.afterTransform(t,i),i}function Mq(t,e){switch(t.nodeType){case 1:return Vq(t,e);case 3:return jq(t);case 8:return Wq(t);case 9:return C5(t,e);case 10:return qq();case 11:return C5(t,e);default:return}}function C5(t,e){return{type:"root",children:$5(t,e)}}function qq(){return{type:"doctype"}}function jq(t){return{type:"text",value:t.nodeValue||""}}function Wq(t){return{type:"comment",value:t.nodeValue||""}}function Vq(t,e){let i=t.namespaceURI,r=i===Ui.svg?Vc:Wc,n=i===Ui.html?t.tagName.toLowerCase():t.tagName,o=i===Ui.html&&n==="template"?t.content:t,s=t.getAttributeNames(),a={},l=-1;for(;++l<s.length;)a[s[l]]=t.getAttribute(s[l])||"";return r(n,a,$5(o,e))}function $5(t,e){let i=t.childNodes,r=[],n=-1;for(;++n<i.length;){let o=_5(i[n],e);o!==void 0&&r.push(o)}return r}var Zq=new DOMParser;function A5(t,e){let i=e!=null&&e.fragment?Bq(t):Zq.parseFromString(t,"text/html");return Kb(i)}function Bq(t){let e=document.createElement("template");return e.innerHTML=t,e.content}var jd=function(t,e,i){let r=rn(i);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(r(t.children[e],e,t))return t.children[e]};var Un=function(t){if(t==null)return Hq;if(typeof t=="string")return Fq(t);if(typeof t=="object")return Yq(t);if(typeof t=="function")return Jb(t);throw new Error("Expected function, string, or array as `test`")};function Yq(t){let e=[],i=-1;for(;++i<t.length;)e[i]=Un(t[i]);return Jb(r);function r(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function Fq(t){return Jb(e);function e(i){return i.tagName===t}}function Jb(t){return e;function e(i,r,n){return!!(Gq(i)&&t.call(this,i,typeof r=="number"?r:void 0,n||void 0))}}function Hq(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function Gq(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}var X5=/\n/g,R5=/[\t ]+/g,e1=Un("br"),L5=Un(nj),Kq=Un("p"),I5=Un("tr"),Jq=Un(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",rj,oj]),z5=Un(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function cu(t,e){let i=e||{},r="children"in t?t.children:[],n=z5(t),o=N5(t,{whitespace:i.whitespace||"normal",breakBefore:!1,breakAfter:!1}),s=[];(t.type==="text"||t.type==="comment")&&s.push(...U5(t,{whitespace:o,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<r.length;)s.push(...D5(r[a],t,{whitespace:o,breakBefore:a?void 0:n,breakAfter:a<r.length-1?e1(r[a+1]):n}));let l=[],c;for(a=-1;++a<s.length;){let u=s[a];typeof u=="number"?c!==void 0&&u>c&&(c=u):u&&(c!==void 0&&c>-1&&l.push(`
`.repeat(c)||" "),c=-1,l.push(u))}return l.join("")}function D5(t,e,i){return t.type==="element"?ej(t,e,i):t.type==="text"?i.whitespace==="normal"?U5(t,i):tj(t):[]}function ej(t,e,i){let r=N5(t,i),n=t.children||[],o=-1,s=[];if(Jq(t))return s;let a,l;for(e1(t)||I5(t)&&jd(e,t,I5)?l=`
`:Kq(t)?(a=2,l=2):z5(t)&&(a=1,l=1);++o<n.length;)s=s.concat(D5(n[o],t,{whitespace:r,breakBefore:o?void 0:a,breakAfter:o<n.length-1?e1(n[o+1]):l}));return L5(t)&&jd(e,t,L5)&&s.push(" "),a&&s.unshift(a),l&&s.push(l),s}function U5(t,e){let i=String(t.value),r=[],n=[],o=0;for(;o<=i.length;){X5.lastIndex=o;let l=X5.exec(i),c=l&&"index"in l?l.index:i.length;r.push(ij(i.slice(o,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),o===0?e.breakBefore:!0,c===i.length?e.breakAfter:!0)),o=c+1}let s=-1,a;for(;++s<r.length;)r[s].charCodeAt(r[s].length-1)===8203||s<r.length-1&&r[s+1].charCodeAt(0)===8203?(n.push(r[s]),a=void 0):r[s]?(typeof a=="number"&&n.push(a),n.push(r[s]),a=0):(s===0||s===r.length-1)&&n.push(0);return n}function tj(t){return[String(t.value)]}function ij(t,e,i){let r=[],n=0,o;for(;n<t.length;){R5.lastIndex=n;let s=R5.exec(t);o=s?s.index:t.length,!n&&!o&&s&&!e&&r.push(""),n!==o&&r.push(t.slice(n,o)),n=s?o+s[0].length:o}return n!==o&&!i&&r.push(""),r.join(" ")}function N5(t,e){if(t.type==="element"){let i=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return i.wrap?"pre-wrap":"pre";case"td":case"th":return i.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap";default:}}return e.whitespace}function rj(t){return!!(t.properties||{}).hidden}function nj(t){return t.tagName==="td"||t.tagName==="th"}function oj(t){return t.tagName==="dialog"&&!(t.properties||{}).open}var sj={},aj=[];function Wd(t){let e=t||sj;return function(i,r){Es(i,"element",function(n,o){let s=Array.isArray(n.properties.className)?n.properties.className:aj,a=s.includes("language-math"),l=s.includes("math-display"),c=s.includes("math-inline"),u=l;if(!a&&!l&&!c)return;let f=o[o.length-1],d=n;if(n.tagName==="code"&&a&&f&&f.type==="element"&&f.tagName==="pre"&&(d=f,f=o[o.length-2],u=!0),!f)return;let O=cu(d,{whitespace:"pre"}),g;try{g=wg.renderToString(O,Pe(H({},e),{displayMode:u,throwOnError:!0}))}catch(S){let w=S,T=w.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...o,n],cause:w,place:n.position,ruleId:T,source:"rehype-katex"}),T==="parseerror"?g=wg.renderToString(O,Pe(H({},e),{displayMode:u,strict:"ignore",throwOnError:!1})):g=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(S)},children:[{type:"text",value:O}]}]}typeof g=="string"&&(g=A5(g,{fragment:!0}).children);let x=f.children.indexOf(d);return f.children.splice(x,1,...g),Na})}}var M5={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 lj="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",cj=/-[a-z]/g,uj=/%c(?:([-+])(\d+))?/g,fj=/%x/g,hj={2:!0,1:!1,0:null},dj={};function t1(t,e){let i=e||dj,r=i.onerror,n=t instanceof ko?t:new ko(t),o=i.fragment?S5:k5,s=String(n),a=o(s,{sourceCodeLocationInfo:!0,onParseError:i.onerror?l:null,scriptingEnabled:!1});return Zc(a,{file:n,space:i.space,verbose:i.verbose});function l(c){let u=c.code,f=Oj(u),d=i[f],O=d==null?!0:d,g=typeof O=="number"?O:O?1:0;if(g){let S=M5[f];let w=new Vt(x(S.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=hj[g],w.note=x(S.description),w.url=S.url===!1?void 0:lj+u,r(w)}function x(S){return S.replace(uj,w).replace(fj,T);function w(A,I,C){let $=(C?Number.parseInt(C,10):0)*(I==="-"?-1:1),j=s.charAt(c.startOffset+$);return mj(j)}function T(){return gj(s.charCodeAt(c.startOffset))}}}}function Oj(t){return t.replace(cj,pj)}function pj(t){return t.charAt(1).toUpperCase()}function mj(t){return t==="`"?"` ` `":t}function gj(t){return"0x"+t.toString(16).toUpperCase()}function Vd(t){let e=this,o=H(H({},e.data("settings")),t),{emitParseErrors:i}=o,r=pi(o,["emitParseErrors"]);e.parser=n;function n(s,a){return t1(s,Pe(H({},r),{onerror:i?function(l){a.path&&(l.name=a.path+":"+l.name,l.file=a.path),a.messages.push(l)}:void 0}))}}var Rs=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],zr={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Rs,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Rs],h2:[["id","footnote-label"],["className","sr-only"]],img:[...Rs,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Rs,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Rs],table:[...Rs],ul:[...Rs,["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 Do={}.hasOwnProperty;function i1(t,e){let i={type:"root",children:[]},r={schema:e?H(H({},zr),e):zr,stack:[]},n=j5(r,t);return n&&(Array.isArray(n)?n.length===1?i=n[0]:i.children=n:i=n),i}function j5(t,e){if(e&&typeof e=="object"){let i=e;switch(typeof i.type=="string"?i.type:""){case"comment":return bj(t,i);case"doctype":return yj(t,i);case"element":return xj(t,i);case"root":return vj(t,i);case"text":return wj(t,i);default:}}}function bj(t,e){if(t.schema.allowComments){let i=typeof e.value=="string"?e.value:"",r=i.indexOf("-->"),o={type:"comment",value:r<0?i:i.slice(0,r)};return uu(o,e),o}}function yj(t,e){if(t.schema.allowDoctypes){let i={type:"doctype"};return uu(i,e),i}}function xj(t,e){let i=typeof e.tagName=="string"?e.tagName:"";t.stack.push(i);let r=W5(t,e.children),n=kj(t,e.properties);t.stack.pop();let o=!1;if(i.length>0&&i!=="*"&&(!t.schema.tagNames||t.schema.tagNames.includes(i))&&(o=!0,t.schema.ancestors&&Do.call(t.schema.ancestors,i))){let a=t.schema.ancestors[i],l=-1;for(o=!1;++l<a.length;)t.stack.includes(a[l])&&(o=!0)}if(!o)return t.schema.strip&&!t.schema.strip.includes(i)?r:void 0;let s={type:"element",tagName:i,properties:n,children:r};return uu(s,e),s}function vj(t,e){let r={type:"root",children:W5(t,e.children)};return uu(r,e),r}function wj(t,e){let r={type:"text",value:typeof e.value=="string"?e.value:""};return uu(r,e),r}function W5(t,e){let i=[];if(Array.isArray(e)){let r=e,n=-1;for(;++n<r.length;){let o=j5(t,r[n]);o&&(Array.isArray(o)?i.push(...o):i.push(o))}}return i}function kj(t,e){let i=t.stack[t.stack.length-1],r=t.schema.attributes,n=t.schema.required,o=r&&Do.call(r,i)?r[i]:void 0,s=r&&Do.call(r,"*")?r["*"]:void 0,a=e&&typeof e=="object"?e:{},l={},c;for(c in a)if(Do.call(a,c)){let u;if(o&&(u=q5(o,c)),!u&&s&&(u=q5(s,c)),u){let f=a[c],d=Array.isArray(f)?Sj(t,u,c,f):V5(t,u,c,f);d!=null&&(l[c]=d)}}if(n&&Do.call(n,i)){let u=n[i];for(c in u)Do.call(u,c)&&!Do.call(l,c)&&(l[c]=u[c])}return l}function Sj(t,e,i,r){let n=-1,o=[];for(;++n<r.length;){let s=V5(t,e,i,r[n]);(typeof s=="number"||typeof s=="string")&&o.push(s)}return o}function V5(t,e,i,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&Tj(t,i,r)){if(typeof e=="object"&&e.length>1){let n=!1,o=0;for(;++o<e.length;){let s=e[o];if(s&&typeof s=="object"&&"flags"in s){if(s.test(String(r))){n=!0;break}}else if(s===r){n=!0;break}}if(!n)return}return t.schema.clobber&&t.schema.clobberPrefix&&t.schema.clobber.includes(i)?t.schema.clobberPrefix+r:r}}function Tj(t,e,i){let r=t.schema.protocols&&Do.call(t.schema.protocols,e)?t.schema.protocols[e]:void 0;if(!r||r.length===0)return!0;let n=String(i),o=n.indexOf(":"),s=n.indexOf("?"),a=n.indexOf("#"),l=n.indexOf("/");if(o<0||l>-1&&o>l||s>-1&&o>s||a>-1&&o>a)return!0;let c=-1;for(;++c<r.length;){let u=r[c];if(o===u.length&&n.slice(0,u.length)===u)return!0}return!1}function uu(t,e){let i=Dc(e);e.data&&(t.data=Xr(e.data)),i&&(t.position=i)}function q5(t,e){let i,r=-1;for(;++r<t.length;){let n=t[r],o=typeof n=="string"?n:n[0];if(o===e)return n;o==="data*"&&(i=n)}if(e.length>4&&e.slice(0,4).toLowerCase()==="data")return i}function Zd(t){return function(e){return i1(e,t)}}function Z5(t,e){if(t=t.replace(e.subset?Ej(e.subset):/["&'<>`]/g,r),e.subset||e.escapeOnly)return t;return t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function i(n,o,s){return e.format((n.charCodeAt(0)-55296)*1024+n.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function r(n,o,s){return e.format(n.charCodeAt(0),s.charCodeAt(o+1),e)}}function Ej(t){let e=[],i=-1;for(;++i<t.length;)e.push(t[i].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}function B5(t,e,i){let r="&#x"+t.toString(16).toUpperCase();return i&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?r:r+";"}function Y5(t,e,i){let r="&#"+String(t);return i&&e&&!/\d/.test(String.fromCharCode(e))?r:r+";"}var F5=["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 Bd={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 H5=["cent","copy","divide","gt","lt","not","para","times"];var G5={}.hasOwnProperty,r1={},Yd;for(Yd in Bd)G5.call(Bd,Yd)&&(r1[Bd[Yd]]=Yd);function K5(t,e,i,r){let n=String.fromCharCode(t);if(G5.call(r1,n)){let o=r1[n],s="&"+o;return i&&F5.includes(o)&&!H5.includes(o)&&(!r||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?s:s+";"}return""}function J5(t,e,i){let r=B5(t,e,i.omitOptionalSemicolons),n;if((i.useNamedReferences||i.useShortestReferences)&&(n=K5(t,e,i.omitOptionalSemicolons,i.attribute)),(i.useShortestReferences||!n)&&i.useShortestReferences){let o=Y5(t,e,i.omitOptionalSemicolons);o.length<r.length&&(r=o)}return n&&(!i.useShortestReferences||n.length<r.length)?n:r}function Nn(t,e){return Z5(t,Object.assign({format:J5},e))}function eE(t,e,i,r){return r.settings.bogusComments?"<?"+Nn(t.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,n)+"-->";function n(o){return Nn(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function tE(t,e,i,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}var Pj=/[ \t\n\f\r]/g;function Ls(t){return typeof t=="object"?t.type==="text"?iE(t.value):!1:iE(t)}function iE(t){return t.replace(Pj,"")===""}var Mt=rE(1),n1=rE(-1),Qj=[];function rE(t){return e;function e(i,r,n){let o=i?i.children:Qj,s=(r||0)+t,a=o[s];if(!n)for(;a&&Ls(a);)s+=t,a=o[s];return a}}var Cj={}.hasOwnProperty;function Fd(t){return e;function e(i,r,n){return Cj.call(t,i.tagName)&&t[i.tagName](i,r,n)}}var fu=Fd({body:$j,caption:o1,colgroup:o1,dd:Lj,dt:Rj,head:o1,html:_j,li:Xj,optgroup:Ij,option:zj,p:Aj,rp:nE,rt:nE,tbody:Uj,td:oE,tfoot:Nj,th:oE,thead:Dj,tr:Mj});function o1(t,e,i){let r=Mt(i,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ls(r.value.charAt(0)))}function _j(t,e,i){let r=Mt(i,e);return!r||r.type!=="comment"}function $j(t,e,i){let r=Mt(i,e);return!r||r.type!=="comment"}function Aj(t,e,i){let r=Mt(i,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!i||!(i.type==="element"&&(i.tagName==="a"||i.tagName==="audio"||i.tagName==="del"||i.tagName==="ins"||i.tagName==="map"||i.tagName==="noscript"||i.tagName==="video"))}function Xj(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&r.tagName==="li"}function Rj(t,e,i){let r=Mt(i,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Lj(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function nE(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Ij(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function zj(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Dj(t,e,i){let r=Mt(i,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Uj(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Nj(t,e,i){return!Mt(i,e)}function Mj(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&r.tagName==="tr"}function oE(t,e,i){let r=Mt(i,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}var sE=Fd({body:Wj,colgroup:Vj,head:jj,html:qj,tbody:Zj});function qj(t){let e=Mt(t,-1);return!e||e.type!=="comment"}function jj(t){let e=t.children,i=[],r=-1;for(;++r<e.length;){let n=e[r];if(n.type==="element"&&(n.tagName==="title"||n.tagName==="base")){if(i.includes(n.tagName))return!1;i.push(n.tagName)}}return e.length>0}function Wj(t){let e=Mt(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ls(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Vj(t,e,i){let r=n1(i,e),n=Mt(t,-1,!0);return i&&r&&r.type==="element"&&r.tagName==="colgroup"&&fu(r,i.children.indexOf(r),i)?!1:!!(n&&n.type==="element"&&n.tagName==="col")}function Zj(t,e,i){let r=n1(i,e),n=Mt(t,-1);return i&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&fu(r,i.children.indexOf(r),i)?!1:!!(n&&n.type==="element"&&n.tagName==="tr")}var Hd={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 aE(t,e,i,r){let n=r.schema,o=n.space==="svg"?!1:r.settings.omitOptionalTags,s=n.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase()),a=[],l;n.space==="html"&&t.tagName==="svg"&&(r.schema=Or);let c=Bj(r,t.properties),u=r.all(n.space==="html"&&t.tagName==="template"?t.content:t);return r.schema=n,u&&(s=!1),(c||!o||!sE(t,e,i))&&(a.push("<",t.tagName,c?" "+c:""),s&&(n.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!s&&(!o||!fu(t,e,i))&&a.push("</"+t.tagName+">"),a.join("")}function Bj(t,e){let i=[],r=-1,n;if(e){for(n in e)if(e[n]!==null&&e[n]!==void 0){let o=Yj(t,n,e[n]);o&&i.push(o)}}for(;++r<i.length;){let o=t.settings.tightAttributes?i[r].charAt(i[r].length-1):void 0;r!==i.length-1&&o!=='"'&&o!=="'"&&(i[r]+=" ")}return i.join("")}function Yj(t,e,i){let r=Rn(t.schema,e),n=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,o=t.settings.allowDangerousCharacters?0:1,s=t.quote,a;if(r.overloadedBoolean&&(i===r.attribute||i==="")?i=!0:(r.boolean||r.overloadedBoolean&&typeof i!="string")&&(i=!!i),i==null||i===!1||typeof i=="number"&&Number.isNaN(i))return"";let l=Nn(r.attribute,Object.assign({},t.settings.characterReferences,{subset:Hd.name[n][o]}));return i===!0||(i=Array.isArray(i)?(r.commaSeparated?yd:xd)(i,{padLeft:!t.settings.tightCommaSeparatedLists}):String(i),t.settings.collapseEmptyAttributes&&!i)?l:(t.settings.preferUnquoted&&(a=Nn(i,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:Hd.unquoted[n][o]}))),a!==i&&(t.settings.quoteSmart&&Ua(i,s)>Ua(i,t.alternative)&&(s=t.alternative),a=s+Nn(i,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?Hd.single:Hd.double)[n][o],attribute:!0}))+s),l+(a&&"="+a))}function Gd(t,e,i,r){return i&&i.type==="element"&&(i.tagName==="script"||i.tagName==="style")?t.value:Nn(t.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function lE(t,e,i,r){return r.settings.allowDangerousHtml?t.value:Gd(t,e,i,r)}function cE(t,e,i,r){return r.all(t)}var uE=Ma("type",{invalid:Fj,unknown:Hj,handlers:{comment:eE,doctype:tE,element:aE,raw:lE,root:cE,text:Gd}});function Fj(t){throw new Error("Expected node, not `"+t+"`")}function Hj(t){let e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}var Gj={},Kj={},Jj=[];function s1(t,e){let i=e||Gj,r=i.quote||'"',n=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:eW,all:tW,settings:{omitOptionalTags:i.omitOptionalTags||!1,allowParseErrors:i.allowParseErrors||!1,allowDangerousCharacters:i.allowDangerousCharacters||!1,quoteSmart:i.quoteSmart||!1,preferUnquoted:i.preferUnquoted||!1,tightAttributes:i.tightAttributes||!1,upperDoctype:i.upperDoctype||!1,tightDoctype:i.tightDoctype||!1,bogusComments:i.bogusComments||!1,tightCommaSeparatedLists:i.tightCommaSeparatedLists||!1,tightSelfClosing:i.tightSelfClosing||!1,collapseEmptyAttributes:i.collapseEmptyAttributes||!1,allowDangerousHtml:i.allowDangerousHtml||!1,voids:i.voids||wd,characterReferences:i.characterReferences||Kj,closeSelfClosing:i.closeSelfClosing||!1,closeEmptyElements:i.closeEmptyElements||!1},schema:i.space==="svg"?Or:Ln,quote:r,alternative:n}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function eW(t,e,i){return uE(t,e,i,this)}function tW(t){let e=[],i=t&&t.children||Jj,r=-1;for(;++r<i.length;)e[r]=this.one(i[r],r,t);return e.join("")}function Kd(t){let e=this,i=H(H({},e.data("settings")),t);e.compiler=r;function r(n){return s1(n,i)}}var iW={inline:["$","$"],display:["$$","$$"]};function rW(t,e){e===void 0&&(e=iW);for(var i=t.querySelectorAll(".katex-mathml + .katex-html"),r=0;r<i.length;r++){var n=i[r];n.remove?n.remove():n.parentNode&&n.parentNode.removeChild(n)}for(var o=t.querySelectorAll(".katex-mathml"),s=0;s<o.length;s++){var a=o[s],l=a.querySelector("annotation");l&&(a.replaceWith?a.replaceWith(l):a.parentNode&&a.parentNode.replaceChild(l,a),l.innerHTML=e.inline[0]+l.innerHTML+e.inline[1])}for(var c=t.querySelectorAll(".katex-display annotation"),u=0;u<c.length;u++){var f=c[u];f.innerHTML=e.display[0]+f.innerHTML.substr(e.inline[0].length,f.innerHTML.length-e.inline[0].length-e.inline[1].length)+e.display[1]}return t}function fE(t){var e=t instanceof Element?t:t.parentElement;return e&&e.closest(".katex")}document.addEventListener("copy",function(t){var e=window.getSelection();if(!(e.isCollapsed||!t.clipboardData)){var i=t.clipboardData,r=e.getRangeAt(0),n=fE(r.startContainer);n&&r.setStartBefore(n);var o=fE(r.endContainer);o&&r.setEndAfter(o);var s=r.cloneContents();if(s.querySelector(".katex-mathml")){var a=Array.prototype.map.call(s.childNodes,l=>l instanceof Text?l.textContent:l.outerHTML).join("");i.setData("text/html",a),i.setData("text/plain",rW(s).textContent),t.preventDefault()}}});function a1(t,e){let r=(e||{}).force||!1;gi(t,n);function n(o){r?delete o.position:o.position=void 0}}var nW=0,Ni=class{constructor(e,i){this.from=e,this.to=i}},_e=class{constructor(e={}){this.id=nW++,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=Qt.match(e)),i=>{let r=e(i);return r===void 0?null:[this,r]}}};_e.closedBy=new _e({deserialize:t=>t.split(" ")});_e.openedBy=new _e({deserialize:t=>t.split(" ")});_e.group=new _e({deserialize:t=>t.split(" ")});_e.isolate=new _e({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});_e.contextHash=new _e({perNode:!0});_e.lookAhead=new _e({perNode:!0});_e.mounted=new _e({perNode:!0});var Is=class{constructor(e,i,r){this.tree=e,this.overlay=i,this.parser=r}static get(e){return e&&e.props&&e.props[_e.mounted.id]}},oW=Object.create(null),Qt=class t{constructor(e,i,r,n=0){this.name=e,this.props=i,this.id=r,this.flags=n}static define(e){let i=e.props&&e.props.length?Object.create(null):oW,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),n=new t(e.name||"",i,e.id,r);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(n)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[o[0].id]=o[1]}}return n}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(_e.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let r in e)for(let n of r.split(" "))i[n]=e[r];return r=>{for(let n=r.prop(_e.group),o=-1;o<(n?n.length:0);o++){let s=i[o<0?r.name:n[o]];if(s)return s}}}};Qt.none=new Qt("",Object.create(null),0,8);var Mn=class t{constructor(e){this.types=e;for(let i=0;i<e.length;i++)if(e[i].id!=i)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let i=[];for(let r of this.types){let n=null;for(let o of e){let s=o(r);s&&(n||(n=Object.assign({},r.props)),n[s[0].id]=s[1])}i.push(n?new Qt(r.name,n,r.id,r.flags):r)}return new t(i)}},Jd=new WeakMap,hE=new WeakMap,nt;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(nt||(nt={}));var We=class t{constructor(e,i,r,n,o){if(this.type=e,this.children=i,this.positions=r,this.length=n,this.props=null,o&&o.length){this.props=Object.create(null);for(let[s,a]of o)this.props[typeof s=="number"?s:s.id]=a}}toString(){let e=Is.get(this);if(e&&!e.overlay)return e.tree.toString();let i="";for(let r of this.children){let n=r.toString();n&&(i&&(i+=","),i+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(i.length?"("+i+")":""):i}cursor(e=0){return new el(this.topNode,e)}cursorAt(e,i=0,r=0){let n=Jd.get(this)||this.topNode,o=new el(n);return o.moveTo(e,i),Jd.set(this,o._tree),o}get topNode(){return new Mi(this,0,0,null)}resolve(e,i=0){let r=hu(Jd.get(this)||this.topNode,e,i,!1);return Jd.set(this,r),r}resolveInner(e,i=0){let r=hu(hE.get(this)||this.topNode,e,i,!0);return hE.set(this,r),r}resolveStack(e,i=0){return sW(this,e,i)}iterate(e){let{enter:i,leave:r,from:n=0,to:o=this.length}=e,s=e.mode||0,a=(s&nt.IncludeAnonymous)>0;for(let l=this.cursor(s|nt.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=n&&(!a&&l.type.isAnonymous||i(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(a||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:b1(Qt.none,this.children,this.positions,0,this.children.length,0,this.length,(i,r,n)=>new t(this.type,i,r,n,this.propValues),e.makeTree||((i,r,n)=>new t(Qt.none,i,r,n)))}static build(e){return aW(e)}};We.empty=new We(Qt.none,[],[],0);var l1=class t{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new t(this.buffer,this.index)}},Uo=class t{constructor(e,i,r){this.buffer=e,this.length=i,this.set=r}get type(){return Qt.none}toString(){let e=[];for(let i=0;i<this.buffer.length;)e.push(this.childString(i)),i=this.buffer[i+3];return e.join(",")}childString(e){let i=this.buffer[e],r=this.buffer[e+3],n=this.set.types[i],o=n.name;if(/\W/.test(o)&&!n.isError&&(o=JSON.stringify(o)),e+=4,r==e)return o;let s=[];for(;e<r;)s.push(this.childString(e)),e=this.buffer[e+3];return o+"("+s.join(",")+")"}findChild(e,i,r,n,o){let{buffer:s}=this,a=-1;for(let l=e;l!=i&&!(yE(o,n,s[l+1],s[l+2])&&(a=l,r>0));l=s[l+3]);return a}slice(e,i,r){let n=this.buffer,o=new Uint16Array(i-e),s=0;for(let a=e,l=0;a<i;){o[l++]=n[a++],o[l++]=n[a++]-r;let c=o[l++]=n[a++]-r;o[l++]=n[a++]-e,s=Math.max(s,c)}return new t(o,s,this.set)}};function yE(t,e,i,r){switch(t){case-2:return i<e;case-1:return r>=e&&i<e;case 0:return i<e&&r>e;case 1:return i<=e&&r>e;case 2:return r>e;case 4:return!0}}function hu(t,e,i,r){for(var n;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to<e);){let s=!r&&t instanceof Mi&&t.index<0?null:t.parent;if(!s)return t;t=s}let o=r?0:nt.IgnoreOverlays;if(r)for(let s=t,a=s.parent;a;s=a,a=s.parent)s instanceof Mi&&s.index<0&&((n=a.enter(e,i,o))===null||n===void 0?void 0:n.from)!=s.from&&(t=a);for(;;){let s=t.enter(e,i,o);if(!s)return t;t=s}}var tO=class{cursor(e=0){return new el(this,e)}getChild(e,i=null,r=null){let n=dE(this,e,i,r);return n.length?n[0]:null}getChildren(e,i=null,r=null){return dE(this,e,i,r)}resolve(e,i=0){return hu(this,e,i,!1)}resolveInner(e,i=0){return hu(this,e,i,!0)}matchContext(e){return c1(this,e)}enterUnfinishedNodesBefore(e){let i=this.childBefore(e),r=this;for(;i;){let n=i.lastChild;if(!n||n.to!=i.to)break;n.type.isError&&n.from==n.to?(r=i,i=n.prevSibling):i=n}return r}get node(){return this}get next(){return this.parent}},Mi=class t extends tO{constructor(e,i,r,n){super(),this._tree=e,this.from=i,this.index=r,this._parent=n}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,i,r,n,o=0){for(let s=this;;){for(let{children:a,positions:l}=s._tree,c=i>0?a.length:-1;e!=c;e+=i){let u=a[e],f=l[e]+s.from;if(yE(n,r,f,f+u.length)){if(u instanceof Uo){if(o&nt.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,i,r-f,n);if(d>-1)return new zs(new u1(s,u,e,f),null,d)}else if(o&nt.IncludeAnonymous||!u.type.isAnonymous||g1(u)){let d;if(!(o&nt.IgnoreMounts)&&(d=Is.get(u))&&!d.overlay)return new t(d.tree,f,e,s);let O=new t(u,f,e,s);return o&nt.IncludeAnonymous||!O.type.isAnonymous?O:O.nextChild(i<0?u.children.length-1:0,i,r,n)}}}if(o&nt.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+i:e=i<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,r=0){let n;if(!(r&nt.IgnoreOverlays)&&(n=Is.get(this._tree))&&n.overlay){let o=e-this.from;for(let{from:s,to:a}of n.overlay)if((i>0?s<=o:s<o)&&(i<0?a>=o:a>o))return new t(n.tree,n.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}};function dE(t,e,i,r){let n=t.cursor(),o=[];if(!n.firstChild())return o;if(i!=null){for(let s=!1;!s;)if(s=n.type.is(i),!n.nextSibling())return o}for(;;){if(r!=null&&n.type.is(r))return o;if(n.type.is(e)&&o.push(n.node),!n.nextSibling())return r==null?o:[]}}function c1(t,e,i=e.length-1){for(let r=t.parent;i>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[i]&&e[i]!=r.name)return!1;i--}}return!0}var u1=class{constructor(e,i,r,n){this.parent=e,this.buffer=i,this.index=r,this.start=n}},zs=class t extends tO{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,r){super(),this.context=e,this._parent=i,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,i,r){let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],e,i-this.context.start,r);return o<0?null:new t(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,r=0){if(r&nt.ExcludeBuffers)return null;let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return o<0?null:new t(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new t(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new t(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:r}=this.context,n=this.index+4,o=r.buffer[this.index+3];if(o>n){let s=r.buffer[this.index+1];e.push(r.slice(n,o,s)),i.push(0)}return new We(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};function xE(t){if(!t.length)return null;let e=0,i=t[0];for(let o=1;o<t.length;o++){let s=t[o];(s.from>i.from||s.to<i.to)&&(i=s,e=o)}let r=i instanceof Mi&&i.index<0?null:i.parent,n=t.slice();return r?n[e]=r:n.splice(e,1),new f1(n,i)}var f1=class{constructor(e,i){this.heads=e,this.node=i}get next(){return xE(this.heads)}};function sW(t,e,i){let r=t.resolveInner(e,i),n=null;for(let o=r instanceof Mi?r:r.context.parent;o;o=o.parent)if(o.index<0){let s=o.parent;(n||(n=[r])).push(s.resolve(e,i)),o=s}else{let s=Is.get(o.tree);if(s&&s.overlay&&s.overlay[0].from<=e&&s.overlay[s.overlay.length-1].to>=e){let a=new Mi(s.tree,s.overlay[0].from+o.from,-1,o);(n||(n=[r])).push(hu(a,e,i,!1))}}return n?xE(n):r}var el=class{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Mi)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:r,buffer:n}=this.buffer;return this.type=i||n.set.types[n.buffer[e]],this.from=r+n.buffer[e+1],this.to=r+n.buffer[e+2],!0}yield(e){return e?e instanceof Mi?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,r,this.mode));let{buffer:n}=this.buffer,o=n.findChild(this.index+4,n.buffer[this.index+3],e,i-this.buffer.start,r);return o<0?!1:(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,r=this.mode){return this.buffer?r&nt.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&nt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&nt.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,r=this.stack.length-1;if(e<0){let n=r<0?0:this.stack[r]+4;if(this.index!=n)return this.yieldBuf(i.findChild(n,this.index,-1,0,4))}else{let n=i.buffer[this.index+3];if(n<(r<0?i.buffer.length:i.buffer[this.stack[r]+3]))return this.yieldBuf(n)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,r,{buffer:n}=this;if(n){if(e>0){if(this.index<n.buffer.buffer.length)return!1}else for(let o=0;o<this.index;o++)if(n.buffer.buffer[o+3]<this.index)return!1;({index:i,parent:r}=n)}else({index:i,_parent:r}=this._tree);for(;r;{index:i,_parent:r}=r)if(i>-1)for(let o=i+e,s=e<0?-1:r._tree.children.length;o!=s;o+=e){let a=r._tree.children[o];if(this.mode&nt.IncludeAnonymous||a instanceof Uo||!a.type.isAnonymous||g1(a))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,i););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,i=null,r=0;if(e&&e.context==this.buffer)e:for(let n=this.index,o=this.stack.length;o>=0;){for(let s=e;s;s=s._parent)if(s.index==n){if(n==this.index)return s;i=s,r=o+1;break e}n=this.stack[--o]}for(let n=r;n<this.stack.length;n++)i=new zs(this.buffer,i,this.stack[n]);return this.bufferNode=new zs(this.buffer,i,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,i){for(let r=0;;){let n=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(n=!0)}for(;n&&i&&i(this),n=this.type.isAnonymous,!this.nextSibling();){if(!r)return;this.parent(),r--,n=!0}}}matchContext(e){if(!this.buffer)return c1(this.node,e);let{buffer:i}=this.buffer,{types:r}=i.set;for(let n=e.length-1,o=this.stack.length-1;n>=0;o--){if(o<0)return c1(this.node,e,n);let s=r[i.buffer[this.stack[o]]];if(!s.isAnonymous){if(e[n]&&e[n]!=s.name)return!1;n--}}return!0}};function g1(t){return t.children.some(e=>e instanceof Uo||!e.type.isAnonymous||g1(e))}function aW(t){var e;let{buffer:i,nodeSet:r,maxBufferLength:n=1024,reused:o=[],minRepeatType:s=r.types.length}=t,a=Array.isArray(i)?new l1(i,i.length):i,l=r.types,c=0,u=0;function f(C,$,j,le,F,N){let{id:ie,start:ue,end:re,size:de}=a,me=u;for(;de<0;)if(a.next(),de==-1){let P=o[ie];j.push(P),le.push(ue-C);return}else if(de==-3){c=ie;return}else if(de==-4){u=ie;return}else throw new RangeError(`Unrecognized record size: ${de}`);let we=l[ie],q,ae,B=ue-C;if(re-ue<=n&&(ae=S(a.pos-$,F))){let P=new Uint16Array(ae.size-ae.skip),V=a.pos-ae.size,ne=P.length;for(;a.pos>V;)ne=w(ae.start,P,ne);q=new Uo(P,re-ae.start,r),B=ae.start-C}else{let P=a.pos-de;a.next();let V=[],ne=[],z=ie>=s?ie:-1,qe=0,Ze=re;for(;a.pos>P;)z>=0&&a.id==z&&a.size>=0?(a.end<=Ze-n&&(g(V,ne,ue,qe,a.end,Ze,z,me),qe=V.length,Ze=a.end),a.next()):N>2500?d(ue,P,V,ne):f(ue,P,V,ne,z,N+1);if(z>=0&&qe>0&&qe<V.length&&g(V,ne,ue,qe,ue,Ze,z,me),V.reverse(),ne.reverse(),z>-1&&qe>0){let Be=O(we);q=b1(we,V,ne,0,V.length,0,re-ue,Be,Be)}else q=x(we,V,ne,re-ue,me-re)}j.push(q),le.push(B)}function d(C,$,j,le){let F=[],N=0,ie=-1;for(;a.pos>$;){let{id:ue,start:re,end:de,size:me}=a;if(me>4)a.next();else{if(ie>-1&&re<ie)break;ie<0&&(ie=de-n),F.push(ue,re,de),N++,a.next()}}if(N){let ue=new Uint16Array(N*4),re=F[F.length-2];for(let de=F.length-3,me=0;de>=0;de-=3)ue[me++]=F[de],ue[me++]=F[de+1]-re,ue[me++]=F[de+2]-re,ue[me++]=me;j.push(new Uo(ue,F[2]-re,r)),le.push(re-C)}}function O(C){return($,j,le)=>{let F=0,N=$.length-1,ie,ue;if(N>=0&&(ie=$[N])instanceof We){if(!N&&ie.type==C&&ie.length==le)return ie;(ue=ie.prop(_e.lookAhead))&&(F=j[N]+ie.length+ue)}return x(C,$,j,le,F)}}function g(C,$,j,le,F,N,ie,ue){let re=[],de=[];for(;C.length>le;)re.push(C.pop()),de.push($.pop()+j-F);C.push(x(r.types[ie],re,de,N-F,ue-N)),$.push(F-j)}function x(C,$,j,le,F=0,N){if(c){let ie=[_e.contextHash,c];N=N?[ie].concat(N):[ie]}if(F>25){let ie=[_e.lookAhead,F];N=N?[ie].concat(N):[ie]}return new We(C,$,j,le,N)}function S(C,$){let j=a.fork(),le=0,F=0,N=0,ie=j.end-n,ue={size:0,start:0,skip:0};e:for(let re=j.pos-C;j.pos>re;){let de=j.size;if(j.id==$&&de>=0){ue.size=le,ue.start=F,ue.skip=N,N+=4,le+=4,j.next();continue}let me=j.pos-de;if(de<0||me<re||j.start<ie)break;let we=j.id>=s?4:0,q=j.start;for(j.next();j.pos>me;){if(j.size<0)if(j.size==-3)we+=4;else break e;else j.id>=s&&(we+=4);j.next()}F=q,le+=de,N+=we}return($<0||le==C)&&(ue.size=le,ue.start=F,ue.skip=N),ue.size>4?ue:void 0}function w(C,$,j){let{id:le,start:F,end:N,size:ie}=a;if(a.next(),ie>=0&&le<s){let ue=j;if(ie>4){let re=a.pos-(ie-4);for(;a.pos>re;)j=w(C,$,j)}$[--j]=ue,$[--j]=N-C,$[--j]=F-C,$[--j]=le}else ie==-3?c=le:ie==-4&&(u=le);return j}let T=[],A=[];for(;a.pos>0;)f(t.start||0,t.bufferStart||0,T,A,-1,0);let I=(e=t.length)!==null&&e!==void 0?e:T.length?A[0]+T[0].length:0;return new We(l[t.topID],T.reverse(),A.reverse(),I)}var OE=new WeakMap;function eO(t,e){if(!t.isAnonymous||e instanceof Uo||e.type!=t)return 1;let i=OE.get(e);if(i==null){i=1;for(let r of e.children){if(r.type!=t||!(r instanceof We)){i=1;break}i+=eO(t,r)}OE.set(e,i)}return i}function b1(t,e,i,r,n,o,s,a,l){let c=0;for(let g=r;g<n;g++)c+=eO(t,e[g]);let u=Math.ceil(c*1.5/8),f=[],d=[];function O(g,x,S,w,T){for(let A=S;A<w;){let I=A,C=x[A],$=eO(t,g[A]);for(A++;A<w;A++){let j=eO(t,g[A]);if($+j>=u)break;$+=j}if(A==I+1){if($>u){let j=g[I];O(j.children,j.positions,0,j.children.length,x[I]+T);continue}f.push(g[I])}else{let j=x[A-1]+g[A-1].length-C;f.push(b1(t,g,x,I,A,C,j,null,l))}d.push(C+T-o)}}return O(e,i,r,n,0),(a||l)(f,d,s)}var No=class{constructor(){this.map=new WeakMap}setBuffer(e,i,r){let n=this.map.get(e);n||this.map.set(e,n=new Map),n.set(i,r)}getBuffer(e,i){let r=this.map.get(e);return r&&r.get(i)}set(e,i){e instanceof zs?this.setBuffer(e.context.buffer,e.index,i):e instanceof Mi&&this.map.set(e.tree,i)}get(e){return e instanceof zs?this.getBuffer(e.context.buffer,e.index):e instanceof Mi?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},qn=class t{constructor(e,i,r,n,o=!1,s=!1){this.from=e,this.to=i,this.tree=r,this.offset=n,this.open=(o?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],r=!1){let n=[new t(0,e.length,e,0,!1,r)];for(let o of i)o.to>e.length&&n.push(o);return n}static applyChanges(e,i,r=128){if(!i.length)return e;let n=[],o=1,s=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a<i.length?i[a]:null,f=u?u.fromA:1e9;if(f-l>=r)for(;s&&s.from<f;){let d=s;if(l>=d.from||f<=d.to||c){let O=Math.max(d.from,l)-c,g=Math.min(d.to,f)-c;d=O>=g?null:new t(O,g,d.tree,d.offset+c,a>0,!!u)}if(d&&n.push(d),s.to>f)break;s=o<e.length?e[o++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return n}},jn=class{startParse(e,i,r){return typeof e=="string"&&(e=new h1(e)),r=r?r.length?r.map(n=>new Ni(n.from,n.to)):[new Ni(0,0)]:[new Ni(0,e.length)],this.createParse(e,i||[],r)}parse(e,i,r){let n=this.startParse(e,i,r);for(;;){let o=n.advance();if(o)return o}}},h1=class{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}};function du(t){return(e,i,r,n)=>new p1(e,t,i,r,n)}var iO=class{constructor(e,i,r,n,o){this.parser=e,this.parse=i,this.overlay=r,this.target=n,this.from=o}};function pE(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}var d1=class{constructor(e,i,r,n,o,s,a){this.parser=e,this.predicate=i,this.mounts=r,this.index=n,this.start=o,this.target=s,this.prev=a,this.depth=0,this.ranges=[]}},O1=new _e({perNode:!0}),p1=class{constructor(e,i,r,n,o){this.nest=i,this.input=r,this.fragments=n,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let n of this.inner)n.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new We(r.type,r.children,r.positions,r.length,r.propValues.concat([[O1,this.stoppedAt]]))),r}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[_e.mounted.id]=new Is(i,e.overlay,e.parser),e.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i<this.inner.length;i++)this.inner[i].from<e&&(e=Math.min(e,this.inner[i].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let i=this.innerDone;i<this.inner.length;i++)this.inner[i].parse.stopAt(e)}startInner(){let e=new m1(this.fragments),i=null,r=null,n=new el(new Mi(this.baseTree,this.ranges[0].from,0,null),nt.IncludeAnonymous|nt.IgnoreMounts);e:for(let o,s;;){let a=!0,l;if(this.stoppedAt!=null&&n.from>=this.stoppedAt)a=!1;else if(e.hasNode(n)){if(i){let c=i.mounts.find(u=>u.frag.from<=n.from&&u.frag.to>=n.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let f=u.from+c.pos,d=u.to+c.pos;f>=n.from&&d<=n.to&&!i.ranges.some(O=>O.from<d&&O.to>f)&&i.ranges.push({from:f,to:d})}}a=!1}else if(r&&(s=lW(r.ranges,n.from,n.to)))a=s!=2;else if(!n.type.isAnonymous&&(o=this.nest(n,this.input))&&(n.from<n.to||!o.overlay)){n.tree||cW(n);let c=e.findMounts(n.from,o.parser);if(typeof o.overlay=="function")i=new d1(o.parser,o.overlay,c,this.inner.length,n.from,n.tree,i);else{let u=gE(this.ranges,o.overlay||(n.from<n.to?[new Ni(n.from,n.to)]:[]));u.length&&pE(u),(u.length||!o.overlay)&&this.inner.push(new iO(o.parser,u.length?o.parser.startParse(this.input,bE(c,u),u):o.parser.startParse(""),o.overlay?o.overlay.map(f=>new Ni(f.from-n.from,f.to-n.from)):null,n.tree,u.length?u[0].from:n.from)),o.overlay?u.length&&(r={ranges:u,depth:0,prev:r}):a=!1}}else i&&(l=i.predicate(n))&&(l===!0&&(l=new Ni(n.from,n.to)),l.from<l.to&&i.ranges.push(l));if(a&&n.firstChild())i&&i.depth++,r&&r.depth++;else for(;!n.nextSibling();){if(!n.parent())break e;if(i&&!--i.depth){let c=gE(this.ranges,i.ranges);c.length&&(pE(c),this.inner.splice(i.index,0,new iO(i.parser,i.parser.startParse(this.input,bE(i.mounts,c),c),i.ranges.map(u=>new Ni(u.from-i.start,u.to-i.start)),i.target,c[0].from))),i=i.prev}r&&!--r.depth&&(r=r.prev)}}}};function lW(t,e,i){for(let r of t){if(r.from>=i)break;if(r.to>e)return r.from<=e&&r.to>=i?2:1}return 0}function mE(t,e,i,r,n,o){if(e<i){let s=t.buffer[e+1];r.push(t.slice(e,i,s)),n.push(s-o)}}function cW(t){let{node:e}=t,i=[],r=e.context.buffer;do i.push(t.index),t.parent();while(!t.tree);let n=t.tree,o=n.children.indexOf(r),s=n.children[o],a=s.buffer,l=[o];function c(u,f,d,O,g,x){let S=i[x],w=[],T=[];mE(s,u,S,w,T,O);let A=a[S+1],I=a[S+2];l.push(w.length);let C=x?c(S+4,a[S+3],s.set.types[a[S]],A,I-A,x-1):e.toTree();return w.push(C),T.push(A-O),mE(s,a[S+3],f,w,T,O),new We(d,w,T,g)}n.children[o]=c(0,a.length,Qt.none,0,s.length,i.length-1);for(let u of l){let f=t.tree.children[u],d=t.tree.positions[u];t.yield(new Mi(f,d+t.from,u,t._tree))}}var rO=class{constructor(e,i){this.offset=i,this.done=!1,this.cursor=e.cursor(nt.IncludeAnonymous|nt.IgnoreMounts)}moveTo(e){let{cursor:i}=this,r=e-this.offset;for(;!this.done&&i.from<r;)i.to>=e&&i.enter(r,1,nt.IgnoreOverlays|nt.ExcludeBuffers)||i.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof We)i=i.children[0];else break}return!1}},m1=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let r=this.curFrag=e[0];this.curTo=(i=r.tree.prop(O1))!==null&&i!==void 0?i:r.to,this.inner=new rO(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(O1))!==null&&e!==void 0?e:i.to,this.inner=new rO(i.tree,-i.offset)}}findMounts(e,i){var r;let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let o=this.inner.cursor.node;o;o=o.parent){let s=(r=o.tree)===null||r===void 0?void 0:r.prop(_e.mounted);if(s&&s.parser==i)for(let a=this.fragI;a<this.fragments.length;a++){let l=this.fragments[a];if(l.from>=o.to)break;l.tree==this.curFrag.tree&&n.push({frag:l,pos:o.from-l.offset,mount:s})}}}return n}};function gE(t,e){let i=null,r=e;for(let n=1,o=0;n<t.length;n++){let s=t[n-1].to,a=t[n].from;for(;o<r.length;o++){let l=r[o];if(l.from>=a)break;l.to<=s||(i||(r=i=e.slice()),l.from<s?(i[o]=new Ni(l.from,s),l.to>a&&i.splice(o+1,0,new Ni(a,l.to))):l.to>a?i[o--]=new Ni(a,l.to):i.splice(o--,1))}}return r}function uW(t,e,i,r){let n=0,o=0,s=!1,a=!1,l=-1e9,c=[];for(;;){let u=n==t.length?1e9:s?t[n].to:t[n].from,f=o==e.length?1e9:a?e[o].to:e[o].from;if(s!=a){let d=Math.max(l,i),O=Math.min(u,f,r);d<O&&c.push(new Ni(d,O))}if(l=Math.min(u,f),l==1e9)break;u==l&&(s?(s=!1,n++):s=!0),f==l&&(a?(a=!1,o++):a=!0)}return c}function bE(t,e){let i=[];for(let{pos:r,mount:n,frag:o}of t){let s=r+(n.overlay?n.overlay[0].from:0),a=s+n.tree.length,l=Math.max(o.from,s),c=Math.min(o.to,a);if(n.overlay){let u=n.overlay.map(d=>new Ni(d.from+r,d.to+r)),f=uW(e,u,l,c);for(let d=0,O=l;;d++){let g=d==f.length,x=g?c:f[d].from;if(x>O&&i.push(new qn(O,x,n.tree,-s,o.from>=O||o.openStart,o.to<=x||o.openEnd)),g)break;O=f[d].to}}else i.push(new qn(l,c,n.tree,-s,o.from>=s||o.openStart,o.to<=a||o.openEnd))}return i}var He=class t{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,r){[e,i]=sl(this,e,i);let n=[];return this.decompose(0,e,n,2),r.length&&r.decompose(0,r.length,n,3),this.decompose(i,this.length,n,1),il.from(n,this.length-(i-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=sl(this,e,i);let r=[];return this.decompose(e,i,r,0),il.from(r,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),n=new Ns(this),o=new Ns(e);for(let s=i,a=i;;){if(n.next(s),o.next(s),s=0,n.lineBreak!=o.lineBreak||n.done!=o.done||n.value!=o.value)return!1;if(a+=n.value.length,n.done||a>=r)return!0}}iter(e=1){return new Ns(this,e)}iterRange(e,i=this.length){return new aO(this,e,i)}iterLines(e,i){let r;if(e==null)r=this.iter();else{i==null&&(i=this.lines+1);let n=this.line(e).from;r=this.iterRange(n,Math.max(n,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new lO(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?t.empty:e.length<=32?new Ki(e):il.from(Ki.split(e,[]))}},Ki=class t extends He{constructor(e,i=fW(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,r,n){for(let o=0;;o++){let s=this.text[o],a=n+s.length;if((i?r:a)>=e)return new x1(n,a,r,s);n=a+1,r++}}decompose(e,i,r,n){let o=e<=0&&i>=this.length?this:new t(vE(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(n&1){let s=r.pop(),a=sO(o.text,s.text.slice(),0,o.length);if(a.length<=32)r.push(new t(a,s.length+o.length));else{let l=a.length>>1;r.push(new t(a.slice(0,l)),new t(a.slice(l)))}}else r.push(o)}replace(e,i,r){if(!(r instanceof t))return super.replace(e,i,r);[e,i]=sl(this,e,i);let n=sO(this.text,sO(r.text,vE(this.text,0,e)),i),o=this.length+r.length-(i-e);return n.length<=32?new t(n,o):il.from(t.split(n,[]),o)}sliceString(e,i=this.length,r=`
`){[e,i]=sl(this,e,i);let n="";for(let o=0,s=0;o<=i&&s<this.text.length;s++){let a=this.text[s],l=o+a.length;o>e&&s&&(n+=r),e<l&&i>o&&(n+=a.slice(Math.max(0,e-o),i-o)),o=l+1}return n}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let r=[],n=-1;for(let o of e)r.push(o),n+=o.length+1,r.length==32&&(i.push(new t(r,n)),r=[],n=-1);return n>-1&&i.push(new t(r,n)),i}},il=class t extends He{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,i,r,n){for(let o=0;;o++){let s=this.children[o],a=n+s.length,l=r+s.lines-1;if((i?l:a)>=e)return s.lineInner(e,i,r,n);n=a+1,r=l+1}}decompose(e,i,r,n){for(let o=0,s=0;s<=i&&o<this.children.length;o++){let a=this.children[o],l=s+a.length;if(e<=l&&i>=s){let c=n&((s<=e?1:0)|(l>=i?2:0));s>=e&&l<=i&&!c?r.push(a):a.decompose(e-s,i-s,r,c)}s=l+1}}replace(e,i,r){if([e,i]=sl(this,e,i),r.lines<this.lines)for(let n=0,o=0;n<this.children.length;n++){let s=this.children[n],a=o+s.length;if(e>=o&&i<=a){let l=s.replace(e-o,i-o,r),c=this.lines-s.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let u=this.children.slice();return u[n]=l,new t(u,this.length-(i-e)+r.length)}return super.replace(o,a,l)}o=a+1}return super.replace(e,i,r)}sliceString(e,i=this.length,r=`
`){[e,i]=sl(this,e,i);let n="";for(let o=0,s=0;o<this.children.length&&s<=i;o++){let a=this.children[o],l=s+a.length;s>e&&o&&(n+=r),e<l&&i>s&&(n+=a.sliceString(e-s,i-s,r)),s=l+1}return n}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof t))return 0;let r=0,[n,o,s,a]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=i,o+=i){if(n==s||o==a)return r;let l=this.children[n],c=e.children[o];if(l!=c)return r+l.scanIdentical(c,i);r+=l.length+1}}static from(e,i=e.reduce((r,n)=>r+n.length+1,-1)){let r=0;for(let O of e)r+=O.lines;if(r<32){let O=[];for(let g of e)g.flatten(O);return new Ki(O,i)}let n=Math.max(32,r>>5),o=n<<1,s=n>>1,a=[],l=0,c=-1,u=[];function f(O){let g;if(O.lines>o&&O instanceof t)for(let x of O.children)f(x);else O.lines>s&&(l>s||!l)?(d(),a.push(O)):O instanceof Ki&&l&&(g=u[u.length-1])instanceof Ki&&O.lines+g.lines<=32?(l+=O.lines,c+=O.length+1,u[u.length-1]=new Ki(g.text.concat(O.text),g.length+1+O.length)):(l+O.lines>n&&d(),l+=O.lines,c+=O.length+1,u.push(O))}function d(){l!=0&&(a.push(u.length==1?u[0]:t.from(u,c)),c=-1,l=u.length=0)}for(let O of e)f(O);return d(),a.length==1?a[0]:new t(a,i)}};He.empty=new Ki([""],0);function fW(t){let e=-1;for(let i of t)e+=i.length+1;return e}function sO(t,e,i=0,r=1e9){for(let n=0,o=0,s=!0;o<t.length&&n<=r;o++){let a=t[o],l=n+a.length;l>=i&&(l>r&&(a=a.slice(0,r-n)),n<i&&(a=a.slice(i-n)),s?(e[e.length-1]+=a,s=!1):e.push(a)),n=l+1}return e}function vE(t,e,i){return sO(t,[""],e,i)}var Ns=class{constructor(e,i=1){this.dir=i,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[i>0?1:(e instanceof Ki?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,n=this.nodes[r],o=this.offsets[r],s=o>>1,a=n instanceof Ki?n.text.length:n.children.length;if(s==(i>0?a:0)){if(r==0)return this.done=!0,this.value="",this;i>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(i>0?0:1)){if(this.offsets[r]+=i,e==0)return this.lineBreak=!0,this.value=`
`,this;e--}else if(n instanceof Ki){let l=n.text[s+(i<0?-1:0)];if(this.offsets[r]+=i,l.length>Math.max(0,e))return this.value=e==0?l:i>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=n.children[s+(i<0?-1:0)];e>l.length?(e-=l.length,this.offsets[r]+=i):(i<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(i>0?1:(l instanceof Ki?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)}},aO=class{constructor(e,i,r){this.value="",this.done=!1,this.cursor=new Ns(e,i>r?-1:1),this.pos=i>r?e.length:0,this.from=Math.min(i,r),this.to=Math.max(i,r)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let r=i<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*i,this.value=n.length<=r?n:i<0?n.slice(n.length-r):n.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}},lO=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:r,value:n}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}};typeof Symbol!="undefined"&&(He.prototype[Symbol.iterator]=function(){return this.iter()},Ns.prototype[Symbol.iterator]=aO.prototype[Symbol.iterator]=lO.prototype[Symbol.iterator]=function(){return this});var x1=class{constructor(e,i,r,n){this.from=e,this.to=i,this.number=r,this.text=n}get length(){return this.to-this.from}};function sl(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}var rl="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,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",").map(t=>t?parseInt(t,36):1);for(let t=1;t<rl.length;t++)rl[t]+=rl[t-1];function hW(t){for(let e=1;e<rl.length;e+=2)if(rl[e]>t)return rl[e-1]<=t;return!1}function wE(t){return t>=127462&&t<=127487}var kE=8205;function Bt(t,e,i=!0,r=!0){return(i?CE:dW)(t,e,r)}function CE(t,e,i){if(e==t.length)return e;e&&_E(t.charCodeAt(e))&&$E(t.charCodeAt(e-1))&&e--;let r=Zt(t,e);for(e+=_i(r);e<t.length;){let n=Zt(t,e);if(r==kE||n==kE||i&&hW(n))e+=_i(n),r=n;else if(wE(n)){let o=0,s=e-2;for(;s>=0&&wE(Zt(t,s));)o++,s-=2;if(o%2==0)break;e+=2}else break}return e}function dW(t,e,i){for(;e>0;){let r=CE(t,e-2,i);if(r<e)return r;e--}return 0}function _E(t){return t>=56320&&t<57344}function $E(t){return t>=55296&&t<56320}function Zt(t,e){let i=t.charCodeAt(e);if(!$E(i)||e+1==t.length)return i;let r=t.charCodeAt(e+1);return _E(r)?(i-55296<<10)+(r-56320)+65536:i}function yu(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function _i(t){return t<65536?1:2}var v1=/\r\n?|\n/,Tt=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(Tt||(Tt={})),Wn=class t{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;i<this.sections.length;i+=2)e+=this.sections[i];return e}get newLength(){let e=0;for(let i=0;i<this.sections.length;i+=2){let r=this.sections[i+1];e+=r<0?this.sections[i]:r}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let i=0,r=0,n=0;i<this.sections.length;){let o=this.sections[i++],s=this.sections[i++];s<0?(e(r,n,o),n+=o):n+=s,r+=o}}iterChangedRanges(e,i=!1){w1(this,e,i)}get invertedDesc(){let e=[];for(let i=0;i<this.sections.length;){let r=this.sections[i++],n=this.sections[i++];n<0?e.push(r,n):e.push(n,r)}return new t(e)}composeDesc(e){return this.empty?e:e.empty?this:AE(this,e)}mapDesc(e,i=!1){return e.empty?this:k1(this,e,i)}mapPos(e,i=-1,r=Tt.Simple){let n=0,o=0;for(let s=0;s<this.sections.length;){let a=this.sections[s++],l=this.sections[s++],c=n+a;if(l<0){if(c>e)return o+(e-n);o+=a}else{if(r!=Tt.Simple&&c>=e&&(r==Tt.TrackDel&&n<e&&c>e||r==Tt.TrackBefore&&n<e||r==Tt.TrackAfter&&c>e))return null;if(c>e||c==e&&i<0&&!a)return e==n||i<0?o:o+l;o+=l}n=c}if(e>n)throw new RangeError(`Position ${e} is out of range for changeset of length ${n}`);return o}touchesRange(e,i=e){for(let r=0,n=0;r<this.sections.length&&n<=i;){let o=this.sections[r++],s=this.sections[r++],a=n+o;if(s>=0&&n<=i&&a>=e)return n<e&&a>i?"cover":!0;n=a}return!1}toString(){let e="";for(let i=0;i<this.sections.length;){let r=this.sections[i++],n=this.sections[i++];e+=(e?" ":"")+r+(n>=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new t(e)}static create(e){return new t(e)}},$i=class t extends Wn{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return w1(this,(i,r,n,o,s)=>e=e.replace(n,n+(r-i),s),!1),e}mapDesc(e,i=!1){return k1(this,e,i,!0)}invert(e){let i=this.sections.slice(),r=[];for(let n=0,o=0;n<i.length;n+=2){let s=i[n],a=i[n+1];if(a>=0){i[n]=a,i[n+1]=s;let l=n>>1;for(;r.length<l;)r.push(He.empty);r.push(s?e.slice(o,o+s):He.empty)}o+=s}return new t(i,r)}compose(e){return this.empty?e:e.empty?this:AE(this,e,!0)}map(e,i=!1){return e.empty?this:k1(this,e,i,!0)}iterChanges(e,i=!1){w1(this,e,i)}get desc(){return Wn.create(this.sections)}filter(e){let i=[],r=[],n=[],o=new Ms(this);e:for(let s=0,a=0;;){let l=s==e.length?1e9:e[s++];for(;a<l||a==l&&o.len==0;){if(o.done)break e;let u=Math.min(o.len,l-a);xi(n,u,-1);let f=o.ins==-1?-1:o.off==0?o.ins:0;xi(i,u,f),f>0&&Mo(r,i,o.text),o.forward(u),a+=u}let c=e[s++];for(;a<c;){if(o.done)break e;let u=Math.min(o.len,c-a);xi(i,u,-1),xi(n,u,o.ins==-1?-1:o.off==0?o.ins:0),o.forward(u),a+=u}}return{changes:new t(i,r),filtered:Wn.create(n)}}toJSON(){let e=[];for(let i=0;i<this.sections.length;i+=2){let r=this.sections[i],n=this.sections[i+1];n<0?e.push(r):n==0?e.push([r]):e.push([r].concat(this.inserted[i>>1].toJSON()))}return e}static of(e,i,r){let n=[],o=[],s=0,a=null;function l(u=!1){if(!u&&!n.length)return;s<i&&xi(n,i-s,-1);let f=new t(n,o);a=a?a.compose(f.map(a)):f,n=[],o=[],s=0}function c(u){if(Array.isArray(u))for(let f of u)c(f);else if(u instanceof t){if(u.length!=i)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${i})`);l(),a=a?a.compose(u.map(a)):u}else{let{from:f,to:d=f,insert:O}=u;if(f>d||f<0||d>i)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${i})`);let g=O?typeof O=="string"?He.of(O.split(r||v1)):O:He.empty,x=g.length;if(f==d&&x==0)return;f<s&&l(),f>s&&xi(n,f-s,-1),xi(n,d-f,x),Mo(o,n,g),s=d}}return c(e),l(!a),a}static empty(e){return new t(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],r=[];for(let n=0;n<e.length;n++){let o=e[n];if(typeof o=="number")i.push(o,-1);else{if(!Array.isArray(o)||typeof o[0]!="number"||o.some((s,a)=>a&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)i.push(o[0],0);else{for(;r.length<n;)r.push(He.empty);r[n]=He.of(o.slice(1)),i.push(o[0],r[n].length)}}}return new t(i,r)}static createSet(e,i){return new t(e,i)}};function xi(t,e,i,r=!1){if(e==0&&i<=0)return;let n=t.length-2;n>=0&&i<=0&&i==t[n+1]?t[n]+=e:e==0&&t[n]==0?t[n+1]+=i:r?(t[n]+=e,t[n+1]+=i):t.push(e,i)}function Mo(t,e,i){if(i.length==0)return;let r=e.length-2>>1;if(r<t.length)t[t.length-1]=t[t.length-1].append(i);else{for(;t.length<r;)t.push(He.empty);t.push(i)}}function w1(t,e,i){let r=t.inserted;for(let n=0,o=0,s=0;s<t.sections.length;){let a=t.sections[s++],l=t.sections[s++];if(l<0)n+=a,o+=a;else{let c=n,u=o,f=He.empty;for(;c+=a,u+=l,l&&r&&(f=f.append(r[s-2>>1])),!(i||s==t.sections.length||t.sections[s+1]<0);)a=t.sections[s++],l=t.sections[s++];e(n,c,o,u,f),n=c,o=u}}}function k1(t,e,i,r=!1){let n=[],o=r?[]:null,s=new Ms(t),a=new Ms(e);for(let l=-1;;)if(s.ins==-1&&a.ins==-1){let c=Math.min(s.len,a.len);xi(n,c,-1),s.forward(c),a.forward(c)}else if(a.ins>=0&&(s.ins<0||l==s.i||s.off==0&&(a.len<s.len||a.len==s.len&&!i))){let c=a.len;for(xi(n,a.ins,-1);c;){let u=Math.min(s.len,c);s.ins>=0&&l<s.i&&s.len<=u&&(xi(n,0,s.ins),o&&Mo(o,n,s.text),l=s.i),s.forward(u),c-=u}a.next()}else if(s.ins>=0){let c=0,u=s.len;for(;u;)if(a.ins==-1){let f=Math.min(u,a.len);c+=f,u-=f,a.forward(f)}else if(a.ins==0&&a.len<u)u-=a.len,a.next();else break;xi(n,c,l<s.i?s.ins:0),o&&l<s.i&&Mo(o,n,s.text),l=s.i,s.forward(s.len-u)}else{if(s.done&&a.done)return o?$i.createSet(n,o):Wn.create(n);throw new Error("Mismatched change set lengths")}}function AE(t,e,i=!1){let r=[],n=i?[]:null,o=new Ms(t),s=new Ms(e);for(let a=!1;;){if(o.done&&s.done)return n?$i.createSet(r,n):Wn.create(r);if(o.ins==0)xi(r,o.len,0,a),o.next();else if(s.len==0&&!s.done)xi(r,0,s.ins,a),n&&Mo(n,r,s.text),s.next();else{if(o.done||s.done)throw new Error("Mismatched change set lengths");{let l=Math.min(o.len2,s.len),c=r.length;if(o.ins==-1){let u=s.ins==-1?-1:s.off?0:s.ins;xi(r,l,u,a),n&&u&&Mo(n,r,s.text)}else s.ins==-1?(xi(r,o.off?0:o.len,l,a),n&&Mo(n,r,o.textBit(l))):(xi(r,o.off?0:o.len,s.off?0:s.ins,a),n&&!s.off&&Mo(n,r,s.text));a=(o.ins>l||s.ins>=0&&s.len>l)&&(a||r.length>c),o.forward2(l),s.forward(l)}}}}var Ms=class{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length?He.empty:e[i]}textBit(e){let{inserted:i}=this.set,r=this.i-2>>1;return r>=i.length&&!e?He.empty:i[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},tl=class t{constructor(e,i,r){this.from=e,this.to=i,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let r,n;return this.empty?r=n=e.mapPos(this.from,i):(r=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),r==this.from&&n==this.to?this:new t(r,n,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return K.range(e,i);let r=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return K.range(this.anchor,r)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return K.range(e.anchor,e.head)}static create(e,i,r){return new t(e,i,r)}},K=class t{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:t.create(this.ranges.map(r=>r.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;r<this.ranges.length;r++)if(!this.ranges[r].eq(e.ranges[r],i))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new t([this.main],0)}addRange(e,i=!0){return t.create([e].concat(this.ranges),i?0:this.mainIndex+1)}replaceRange(e,i=this.mainIndex){let r=this.ranges.slice();return r[i]=e,t.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new t(e.ranges.map(i=>tl.fromJSON(i)),e.main)}static single(e,i=e){return new t([t.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,n=0;n<e.length;n++){let o=e[n];if(o.empty?o.from<=r:o.from<r)return t.normalized(e.slice(),i);r=o.to}return new t(e,i)}static cursor(e,i=0,r,n){return tl.create(e,e,(i==0?0:i<0?8:16)|(r==null?7:Math.min(6,r))|(n!=null?n:16777215)<<6)}static range(e,i,r,n){let o=(r!=null?r:16777215)<<6|(n==null?7:Math.min(6,n));return i<e?tl.create(i,e,48|o):tl.create(e,i,(i>e?8:0)|o)}static normalized(e,i=0){let r=e[i];e.sort((n,o)=>n.from-o.from),i=e.indexOf(r);for(let n=1;n<e.length;n++){let o=e[n],s=e[n-1];if(o.empty?o.from<=s.to:o.from<s.to){let a=s.from,l=Math.max(o.to,s.to);n<=i&&i--,e.splice(--n,2,o.anchor>o.head?t.range(l,a):t.range(a,l))}}return new t(e,i)}};function XE(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}var X1=0,be=class t{constructor(e,i,r,n,o){this.combine=e,this.compareInput=i,this.compare=r,this.isStatic=n,this.id=X1++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new t(e.combine||(i=>i),e.compareInput||((i,r)=>i===r),e.compare||(e.combine?(i,r)=>i===r:R1),!!e.static,e.enables)}of(e){return new nl([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new nl(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new nl(e,this,2,i)}from(e,i){return i||(i=r=>r),this.compute([e],r=>i(r.field(e)))}};function R1(t,e){return t==e||t.length==e.length&&t.every((i,r)=>i===e[r])}var nl=class{constructor(e,i,r,n){this.dependencies=e,this.facet=i,this.type=r,this.value=n,this.id=X1++}dynamicSlot(e){var i;let r=this.value,n=this.facet.compareInput,o=this.id,s=e[o]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((i=e[f.id])!==null&&i!==void 0?i:1)&1||u.push(e[f.id]);return{create(f){return f.values[s]=r(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||S1(f,u)){let O=r(f);if(a?!SE(O,f.values[s],n):!n(O,f.values[s]))return f.values[s]=O,1}return 0},reconfigure:(f,d)=>{let O,g=d.config.address[o];if(g!=null){let x=hO(d,g);if(this.dependencies.every(S=>S instanceof be?d.facet(S)===f.facet(S):S instanceof Ge?d.field(S,!1)==f.field(S,!1):!0)||(a?SE(O=r(f),x,n):n(O=r(f),x)))return f.values[s]=x,0}else O=r(f);return f.values[s]=O,1}}}};function SE(t,e,i){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!i(t[r],e[r]))return!1;return!0}function S1(t,e){let i=!1;for(let r of e)pu(t,r)&1&&(i=!0);return i}function OW(t,e,i){let r=i.map(l=>t[l.id]),n=i.map(l=>l.type),o=r.filter(l=>!(l&1)),s=t[e.id]>>1;function a(l){let c=[];for(let u=0;u<r.length;u++){let f=hO(l,r[u]);if(n[u]==2)for(let d of f)c.push(d);else c.push(f)}return e.combine(c)}return{create(l){for(let c of r)pu(l,c);return l.values[s]=a(l),1},update(l,c){if(!S1(l,o))return 0;let u=a(l);return e.compare(u,l.values[s])?0:(l.values[s]=u,1)},reconfigure(l,c){let u=S1(l,r),f=c.config.facets[e.id],d=c.facet(e);if(f&&!u&&R1(i,f))return l.values[s]=d,0;let O=a(l);return e.compare(O,d)?(l.values[s]=d,0):(l.values[s]=O,1)}}}var TE=be.define({static:!0}),Ge=class t{constructor(e,i,r,n,o){this.id=e,this.createF=i,this.updateF=r,this.compareF=n,this.spec=o,this.provides=void 0}static define(e){let i=new t(X1++,e.create,e.update,e.compare||((r,n)=>r===n),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(TE).find(r=>r.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:r=>(r.values[i]=this.create(r),1),update:(r,n)=>{let o=r.values[i],s=this.updateF(o,n);return this.compareF(o,s)?0:(r.values[i]=s,1)},reconfigure:(r,n)=>n.config.address[this.id]!=null?(r.values[i]=n.field(this),0):(r.values[i]=this.create(r),1)}}init(e){return[this,TE.of({field:this,create:e})]}get extension(){return this}},Ds={lowest:4,low:3,default:2,high:1,highest:0};function Ou(t){return e=>new cO(e,t)}var Rt={highest:Ou(Ds.highest),high:Ou(Ds.high),default:Ou(Ds.default),low:Ou(Ds.low),lowest:Ou(Ds.lowest)},cO=class{constructor(e,i){this.inner=e,this.prec=i}},uO=class t{of(e){return new mu(this,e)}reconfigure(e){return t.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}},mu=class{constructor(e,i){this.compartment=e,this.inner=i}},fO=class t{constructor(e,i,r,n,o,s){for(this.base=e,this.compartments=i,this.dynamicSlots=r,this.address=n,this.staticValues=o,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}staticFacet(e){let i=this.address[e.id];return i==null?e.default:this.staticValues[i>>1]}static resolve(e,i,r){let n=[],o=Object.create(null),s=new Map;for(let d of pW(e,i,s))d instanceof Ge?n.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let a=Object.create(null),l=[],c=[];for(let d of n)a[d.id]=c.length<<1,c.push(O=>d.slot(O));let u=r==null?void 0:r.config.facets;for(let d in o){let O=o[d],g=O[0].facet,x=u&&u[d]||[];if(O.every(S=>S.type==0))if(a[g.id]=l.length<<1|1,R1(x,O))l.push(r.facet(g));else{let S=g.combine(O.map(w=>w.value));l.push(r&&g.compare(S,r.facet(g))?r.facet(g):S)}else{for(let S of O)S.type==0?(a[S.id]=l.length<<1|1,l.push(S.value)):(a[S.id]=c.length<<1,c.push(w=>S.dynamicSlot(w)));a[g.id]=c.length<<1,c.push(S=>OW(S,g,O))}}let f=c.map(d=>d(a));return new t(e,s,f,a,l,o)}};function pW(t,e,i){let r=[[],[],[],[],[]],n=new Map;function o(s,a){let l=n.get(s);if(l!=null){if(l<=a)return;let c=r[l].indexOf(s);c>-1&&r[l].splice(c,1),s instanceof mu&&i.delete(s.compartment)}if(n.set(s,a),Array.isArray(s))for(let c of s)o(c,a);else if(s instanceof mu){if(i.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(s.compartment)||s.inner;i.set(s.compartment,c),o(c,a)}else if(s instanceof cO)o(s.inner,s.prec);else if(s instanceof Ge)r[a].push(s),s.provides&&o(s.provides,a);else if(s instanceof nl)r[a].push(s),s.facet.extensions&&o(s.facet.extensions,Ds.default);else{let c=s.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(c,a)}}return o(t,Ds.default),r.reduce((s,a)=>s.concat(a))}function pu(t,e){if(e&1)return 2;let i=e>>1,r=t.status[i];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[i]=4;let n=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|n}function hO(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}var RE=be.define(),T1=be.define({combine:t=>t.some(e=>e),static:!0}),LE=be.define({combine:t=>t.length?t[0]:void 0,static:!0}),IE=be.define(),zE=be.define(),DE=be.define(),UE=be.define({combine:t=>t.length?t[0]:!1}),vi=class{constructor(e,i){this.type=e,this.value=i}static define(){return new E1}},E1=class{of(e){return new vi(this,e)}},P1=class{constructor(e){this.map=e}of(e){return new ke(this,e)}},ke=class t{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new t(this.type,i)}is(e){return this.type==e}static define(e={}){return new P1(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let r=[];for(let n of e){let o=n.map(i);o&&r.push(o)}return r}};ke.reconfigure=ke.define();ke.appendConfig=ke.define();var Ct=class t{constructor(e,i,r,n,o,s){this.startState=e,this.changes=i,this.selection=r,this.effects=n,this.annotations=o,this.scrollIntoView=s,this._doc=null,this._state=null,r&&XE(r,i.newLength),o.some(a=>a.type==t.time)||(this.annotations=o.concat(t.time.of(Date.now())))}static create(e,i,r,n,o,s){return new t(e,i,r,n,o,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(t.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}};Ct.time=vi.define();Ct.userEvent=vi.define();Ct.addToHistory=vi.define();Ct.remote=vi.define();function mW(t,e){let i=[];for(let r=0,n=0;;){let o,s;if(r<t.length&&(n==e.length||e[n]>=t[r]))o=t[r++],s=t[r++];else if(n<e.length)o=e[n++],s=e[n++];else return i;!i.length||i[i.length-1]<o?i.push(o,s):i[i.length-1]<s&&(i[i.length-1]=s)}}function NE(t,e,i){var r;let n,o,s;return i?(n=e.changes,o=$i.empty(e.changes.length),s=t.changes.compose(e.changes)):(n=e.changes.map(t.changes),o=t.changes.mapDesc(e.changes,!0),s=t.changes.compose(n)),{changes:s,selection:e.selection?e.selection.map(o):(r=t.selection)===null||r===void 0?void 0:r.map(n),effects:ke.mapEffects(t.effects,n).concat(ke.mapEffects(e.effects,o)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function Q1(t,e,i){let r=e.selection,n=ol(e.annotations);return e.userEvent&&(n=n.concat(Ct.userEvent.of(e.userEvent))),{changes:e.changes instanceof $i?e.changes:$i.of(e.changes||[],i,t.facet(LE)),selection:r&&(r instanceof K?r:K.single(r.anchor,r.head)),effects:ol(e.effects),annotations:n,scrollIntoView:!!e.scrollIntoView}}function ME(t,e,i){let r=Q1(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(i=!1);for(let o=1;o<e.length;o++){e[o].filter===!1&&(i=!1);let s=!!e[o].sequential;r=NE(r,Q1(t,e[o],s?r.changes.newLength:t.doc.length),s)}let n=Ct.create(t,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return bW(i?gW(n):n)}function gW(t){let e=t.startState,i=!0;for(let n of e.facet(IE)){let o=n(t);if(o===!1){i=!1;break}Array.isArray(o)&&(i=i===!0?o:mW(i,o))}if(i!==!0){let n,o;if(i===!1)o=t.changes.invertedDesc,n=$i.empty(e.doc.length);else{let s=t.changes.filter(i);n=s.changes,o=s.filtered.mapDesc(s.changes).invertedDesc}t=Ct.create(e,n,t.selection&&t.selection.map(o),ke.mapEffects(t.effects,o),t.annotations,t.scrollIntoView)}let r=e.facet(zE);for(let n=r.length-1;n>=0;n--){let o=r[n](t);o instanceof Ct?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Ct?t=o[0]:t=ME(e,ol(o),!1)}return t}function bW(t){let e=t.startState,i=e.facet(DE),r=t;for(let n=i.length-1;n>=0;n--){let o=i[n](t);o&&Object.keys(o).length&&(r=NE(r,Q1(e,o,t.changes.newLength),!0))}return r==t?t:Ct.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}var yW=[];function ol(t){return t==null?yW:Array.isArray(t)?t:[t]}var dt=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(dt||(dt={})),xW=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,C1;try{C1=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(t){}function vW(t){if(C1)return C1.test(t);for(let e=0;e<t.length;e++){let i=t[e];if(/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||xW.test(i)))return!0}return!1}function wW(t){return e=>{if(!/\S/.test(e))return dt.Space;if(vW(e))return dt.Word;for(let i=0;i<t.length;i++)if(e.indexOf(t[i])>-1)return dt.Word;return dt.Other}}var ot=class t{constructor(e,i,r,n,o,s){this.config=e,this.doc=i,this.selection=r,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=o,s&&(s._state=this);for(let a=0;a<this.config.dynamicSlots.length;a++)pu(this,a<<1);this.computeSlot=null}field(e,i=!0){let r=this.config.address[e.id];if(r==null){if(i)throw new RangeError("Field is not present in this state");return}return pu(this,r),hO(this,r)}update(...e){return ME(this,e,!0)}applyTransaction(e){let i=this.config,{base:r,compartments:n}=i;for(let a of e.effects)a.is(uO.reconfigure)?(i&&(n=new Map,i.compartments.forEach((l,c)=>n.set(c,l)),i=null),n.set(a.value.compartment,a.value.extension)):a.is(ke.reconfigure)?(i=null,r=a.value):a.is(ke.appendConfig)&&(i=null,r=ol(r).concat(a.value));let o;i?o=e.startState.values.slice():(i=fO.resolve(r,n,this),o=new t(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let s=e.startState.facet(T1)?e.newSelection:e.newSelection.asSingle();new t(i,e.newDoc,s,o,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:K.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,r=e(i.ranges[0]),n=this.changes(r.changes),o=[r.range],s=ol(r.effects);for(let a=1;a<i.ranges.length;a++){let l=e(i.ranges[a]),c=this.changes(l.changes),u=c.map(n);for(let d=0;d<a;d++)o[d]=o[d].map(u);let f=n.mapDesc(c,!0);o.push(l.range.map(f)),n=n.compose(u),s=ke.mapEffects(s,u).concat(ke.mapEffects(ol(l.effects),f))}return{changes:n,selection:K.create(o,i.mainIndex),effects:s}}changes(e=[]){return e instanceof $i?e:$i.of(e,this.doc.length,this.facet(t.lineSeparator))}toText(e){return He.of(e.split(this.facet(t.lineSeparator)||v1))}sliceDoc(e=0,i=this.doc.length){return this.doc.sliceString(e,i,this.lineBreak)}facet(e){let i=this.config.address[e.id];return i==null?e.default:(pu(this,i),hO(this,i))}toJSON(e){let i={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let r in e){let n=e[r];n instanceof Ge&&this.config.address[n.id]!=null&&(i[r]=n.spec.toJSON(this.field(e[r]),this))}return i}static fromJSON(e,i={},r){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let n=[];if(r){for(let o in r)if(Object.prototype.hasOwnProperty.call(e,o)){let s=r[o],a=e[o];n.push(s.init(l=>s.spec.fromJSON(a,l)))}}return t.create({doc:e.doc,selection:K.fromJSON(e.selection),extensions:i.extensions?n.concat([i.extensions]):n})}static create(e={}){let i=fO.resolve(e.extensions||[],new Map),r=e.doc instanceof He?e.doc:He.of((e.doc||"").split(i.staticFacet(t.lineSeparator)||v1)),n=e.selection?e.selection instanceof K?e.selection:K.single(e.selection.anchor,e.selection.head):K.single(0);return XE(n,r.length),i.staticFacet(T1)||(n=n.asSingle()),new t(i,r,n,i.dynamicSlots.map(()=>null),(o,s)=>s.create(o),null)}get tabSize(){return this.facet(t.tabSize)}get lineBreak(){return this.facet(t.lineSeparator)||`
`}get readOnly(){return this.facet(UE)}phrase(e,...i){for(let r of this.facet(t.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(r,n)=>{if(n=="$")return"$";let o=+(n||1);return!o||o>i.length?r:i[o-1]})),e}languageDataAt(e,i,r=-1){let n=[];for(let o of this.facet(RE))for(let s of o(this,i,r))Object.prototype.hasOwnProperty.call(s,e)&&n.push(s[e]);return n}charCategorizer(e){return wW(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:r,length:n}=this.doc.lineAt(e),o=this.charCategorizer(e),s=e-r,a=e-r;for(;s>0;){let l=Bt(i,s,!1);if(o(i.slice(l,s))!=dt.Word)break;s=l}for(;a<n;){let l=Bt(i,a);if(o(i.slice(a,l))!=dt.Word)break;a=l}return s==a?null:K.range(s+r,a+r)}};ot.allowMultipleSelections=T1;ot.tabSize=be.define({combine:t=>t.length?t[0]:4});ot.lineSeparator=LE;ot.readOnly=UE;ot.phrases=be.define({compare(t,e){let i=Object.keys(t),r=Object.keys(e);return i.length==r.length&&i.every(n=>t[n]==e[n])}});ot.languageData=RE;ot.changeFilter=IE;ot.transactionFilter=zE;ot.transactionExtender=DE;uO.reconfigure=ke.define();function Et(t,e,i={}){let r={};for(let n of t)for(let o of Object.keys(n)){let s=n[o],a=r[o];if(a===void 0)r[o]=s;else if(!(a===s||s===void 0))if(Object.hasOwnProperty.call(i,o))r[o]=i[o](a,s);else throw new Error("Config merge conflict for field "+o)}for(let n in e)r[n]===void 0&&(r[n]=e[n]);return r}var Dr=class{eq(e){return this==e}range(e,i=e){return gu.create(e,i,this)}};Dr.prototype.startSide=Dr.prototype.endSide=0;Dr.prototype.point=!1;Dr.prototype.mapMode=Tt.TrackDel;var gu=class t{constructor(e,i,r){this.from=e,this.to=i,this.value=r}static create(e,i,r){return new t(e,i,r)}};function _1(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}var $1=class t{constructor(e,i,r,n){this.from=e,this.to=i,this.value=r,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,i,r,n=0){let o=r?this.to:this.from;for(let s=n,a=o.length;;){if(s==a)return s;let l=s+a>>1,c=o[l]-e||(r?this.value[l].endSide:this.value[l].startSide)-i;if(l==s)return c>=0?s:a;c>=0?a=l:s=l+1}}between(e,i,r,n){for(let o=this.findIndex(i,-1e9,!0),s=this.findIndex(r,1e9,!1,o);o<s;o++)if(n(this.from[o]+e,this.to[o]+e,this.value[o])===!1)return!1}map(e,i){let r=[],n=[],o=[],s=-1,a=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],u=this.from[l]+e,f=this.to[l]+e,d,O;if(u==f){let g=i.mapPos(u,c.startSide,c.mapMode);if(g==null||(d=O=g,c.startSide!=c.endSide&&(O=i.mapPos(u,c.endSide),O<d)))continue}else if(d=i.mapPos(u,c.startSide),O=i.mapPos(f,c.endSide),d>O||d==O&&c.startSide>0&&c.endSide<=0)continue;(O-d||c.endSide-c.startSide)<0||(s<0&&(s=d),c.point&&(a=Math.max(a,O-d)),r.push(c),n.push(d-s),o.push(O-s))}return{mapped:r.length?new t(n,o,r,a):null,pos:s}}},Je=class t{constructor(e,i,r,n){this.chunkPos=e,this.chunk=i,this.nextLayer=r,this.maxPoint=n}static create(e,i,r,n){return new t(e,i,r,n)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:r=!1,filterFrom:n=0,filterTo:o=this.length}=e,s=e.filter;if(i.length==0&&!s)return this;if(r&&(i=i.slice().sort(_1)),this.isEmpty)return i.length?t.of(i):this;let a=new dO(this,null,-1).goto(0),l=0,c=[],u=new Ji;for(;a.value||l<i.length;)if(l<i.length&&(a.from-i[l].from||a.startSide-i[l].value.startSide)>=0){let f=i[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else a.rangeIndex==1&&a.chunkIndex<this.chunk.length&&(l==i.length||this.chunkEnd(a.chunkIndex)<i[l].from)&&(!s||n>this.chunkEnd(a.chunkIndex)||o<this.chunkPos[a.chunkIndex])&&u.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!s||n>a.to||o<a.from||s(a.from,a.to,a.value))&&(u.addInner(a.from,a.to,a.value)||c.push(gu.create(a.from,a.to,a.value))),a.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?t.empty:this.nextLayer.update({add:c,filter:s,filterFrom:n,filterTo:o}))}map(e){if(e.empty||this.isEmpty)return this;let i=[],r=[],n=-1;for(let s=0;s<this.chunk.length;s++){let a=this.chunkPos[s],l=this.chunk[s],c=e.touchesRange(a,a+l.length);if(c===!1)n=Math.max(n,l.maxPoint),i.push(l),r.push(e.mapPos(a));else if(c===!0){let{mapped:u,pos:f}=l.map(a,e);u&&(n=Math.max(n,u.maxPoint),i.push(u),r.push(f))}}let o=this.nextLayer.map(e);return i.length==0?o:new t(r,i,o||t.empty,n)}between(e,i,r){if(!this.isEmpty){for(let n=0;n<this.chunk.length;n++){let o=this.chunkPos[n],s=this.chunk[n];if(i>=o&&e<=o+s.length&&s.between(o,e-o,i-o,r)===!1)return}this.nextLayer.between(e,i,r)}}iter(e=0){return bu.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return bu.from(e).goto(i)}static compare(e,i,r,n,o=-1){let s=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),a=i.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=EE(s,a,r),c=new Us(s,l,o),u=new Us(a,l,o);r.iterGaps((f,d,O)=>PE(c,f,u,d,O,n)),r.empty&&r.length==0&&PE(c,0,u,0,0,n)}static eq(e,i,r=0,n){n==null&&(n=999999999);let o=e.filter(u=>!u.isEmpty&&i.indexOf(u)<0),s=i.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=s.length)return!1;if(!o.length)return!0;let a=EE(o,s),l=new Us(o,a,0).goto(r),c=new Us(s,a,0).goto(r);for(;;){if(l.to!=c.to||!A1(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>n)return!0;l.next(),c.next()}}static spans(e,i,r,n,o=-1){let s=new Us(e,null,o).goto(i),a=i,l=s.openStart;for(;;){let c=Math.min(s.to,r);if(s.point){let u=s.activeForPoint(s.to),f=s.pointFrom<i?u.length+1:s.point.startSide<0?u.length:Math.min(u.length,l);n.point(a,c,s.point,u,f,s.pointRank),l=Math.min(s.openEnd(c),u.length)}else c>a&&(n.span(a,c,s.active,l),l=s.openEnd(c));if(s.to>r)return l+(s.point&&s.to>r?1:0);a=s.to,s.next()}}static of(e,i=!1){let r=new Ji;for(let n of e instanceof gu?[e]:i?kW(e):e)r.add(n.from,n.to,n.value);return r.finish()}static join(e){if(!e.length)return t.empty;let i=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let n=e[r];n!=t.empty;n=n.nextLayer)i=new t(n.chunkPos,n.chunk,i,Math.max(n.maxPoint,i.maxPoint));return i}};Je.empty=new Je([],[],null,-1);function kW(t){if(t.length>1)for(let e=t[0],i=1;i<t.length;i++){let r=t[i];if(_1(e,r)>0)return t.slice().sort(_1);e=r}return t}Je.empty.nextLayer=Je.empty;var Ji=class t{finishChunk(e){this.chunks.push(new $1(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,r){this.addInner(e,i,r)||(this.nextLayer||(this.nextLayer=new t)).add(e,i,r)}addInner(e,i,r){let n=e-this.lastTo||r.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return n<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=i,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let r=i.value.length-1;return this.last=i.value[r],this.lastFrom=i.from[r]+e,this.lastTo=i.to[r]+e,!0}finish(){return this.finishInner(Je.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=Je.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}};function EE(t,e,i){let r=new Map;for(let o of t)for(let s=0;s<o.chunk.length;s++)o.chunk[s].maxPoint<=0&&r.set(o.chunk[s],o.chunkPos[s]);let n=new Set;for(let o of e)for(let s=0;s<o.chunk.length;s++){let a=r.get(o.chunk[s]);a!=null&&(i?i.mapPos(a):a)==o.chunkPos[s]&&!(i!=null&&i.touchesRange(a,a+o.chunk[s].length))&&n.add(o.chunk[s])}return n}var dO=class{constructor(e,i,r,n=0){this.layer=e,this.skip=i,this.minPoint=r,this.rank=n}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,i=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,i,!1),this}gotoInner(e,i,r){for(;this.chunkIndex<this.layer.chunk.length;){let n=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(n)||this.layer.chunkEnd(this.chunkIndex)<e||n.maxPoint<this.minPoint))break;this.chunkIndex++,r=!1}if(this.chunkIndex<this.layer.chunk.length){let n=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],i,!0);(!r||this.rangeIndex<n)&&this.setRangeIndex(n)}this.next()}forward(e,i){(this.to-e||this.endSide-i)<0&&this.gotoInner(e,i,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],i=this.layer.chunk[this.chunkIndex],r=e+i.from[this.rangeIndex];if(this.from=r,this.to=e+i.to[this.rangeIndex],this.value=i.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},bu=class t{constructor(e){this.heap=e}static from(e,i=null,r=-1){let n=[];for(let o=0;o<e.length;o++)for(let s=e[o];!s.isEmpty;s=s.nextLayer)s.maxPoint>=r&&n.push(new dO(s,i,r,o));return n.length==1?n[0]:new t(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let r of this.heap)r.goto(e,i);for(let r=this.heap.length>>1;r>=0;r--)y1(this.heap,r);return this.next(),this}forward(e,i){for(let r of this.heap)r.forward(e,i);for(let r=this.heap.length>>1;r>=0;r--)y1(this.heap,r);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),y1(this.heap,0)}}};function y1(t,e){for(let i=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let n=t[r];if(r+1<t.length&&n.compare(t[r+1])>=0&&(n=t[r+1],r++),i.compare(n)<0)break;t[r]=i,t[e]=n,e=r}}var Us=class{constructor(e,i,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=bu.from(e,i,r)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){nO(this.active,e),nO(this.activeTo,e),nO(this.activeRank,e),this.minActive=QE(this.active,this.activeTo)}addActive(e){let i=0,{value:r,to:n,rank:o}=this.cursor;for(;i<this.activeRank.length&&(o-this.activeRank[i]||n-this.activeTo[i])>0;)i++;oO(this.active,i,r),oO(this.activeTo,i,n),oO(this.activeRank,i,o),e&&oO(e,i,this.cursor.from),this.minActive=QE(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let n=this.minActive;if(n>-1&&(this.activeTo[n]-this.cursor.from||this.active[n].endSide-this.cursor.startSide)<0){if(this.activeTo[n]>e){this.to=this.activeTo[n],this.endSide=this.active[n].endSide;break}this.removeActive(n),r&&nO(r,n)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(r),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=o,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=o.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(r){this.openStart=0;for(let n=r.length-1;n>=0&&r[n]<e;n--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let i=[];for(let r=this.active.length-1;r>=0&&!(this.activeRank[r]<this.pointRank);r--)(this.activeTo[r]>e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&i.push(this.active[r]);return i.reverse()}openEnd(e){let i=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)i++;return i}};function PE(t,e,i,r,n,o){t.goto(e),i.goto(r);let s=r+n,a=r,l=r-e;for(;;){let c=t.to+l-i.to||t.endSide-i.endSide,u=c<0?t.to+l:i.to,f=Math.min(u,s);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&A1(t.activeForPoint(t.to),i.activeForPoint(i.to))||o.comparePoint(a,f,t.point,i.point):f>a&&!A1(t.active,i.active)&&o.compareRange(a,f,t.active,i.active),u>s)break;a=u,c<=0&&t.next(),c>=0&&i.next()}}function A1(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!=e[i]&&!t[i].eq(e[i]))return!1;return!0}function nO(t,e){for(let i=e,r=t.length-1;i<r;i++)t[i]=t[i+1];t.pop()}function oO(t,e,i){for(let r=t.length-1;r>=e;r--)t[r+1]=t[r];t[e]=i}function QE(t,e){let i=-1,r=1e9;for(let n=0;n<e.length;n++)(e[n]-r||t[n].endSide-t[i].endSide)<0&&(i=n,r=e[n]);return i}function Ai(t,e,i=t.length){let r=0;for(let n=0;n<i;)t.charCodeAt(n)==9?(r+=e-r%e,n++):(r++,n=Bt(t,n));return r}function OO(t,e,i,r){for(let n=0,o=0;;){if(o>=e)return n;if(n==t.length)break;o+=t.charCodeAt(n)==9?i-o%i:1,n=Bt(t,n)}return r===!0?-1:t.length}var L1="\u037C",qE=typeof Symbol=="undefined"?"__"+L1:Symbol.for(L1),I1=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),jE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{},qi=class{constructor(e,i){this.rules=[];let{finish:r}=i||{};function n(s){return/^@/.test(s)?[s]:s.split(/,\s*/)}function o(s,a,l,c){let u=[],f=/^@(\w+)\b/.exec(s[0]),d=f&&f[1]=="keyframes";if(f&&a==null)return l.push(s[0]+";");for(let O in a){let g=a[O];if(/&/.test(O))o(O.split(/,\s*/).map(x=>s.map(S=>x.replace(/&/,S))).reduce((x,S)=>x.concat(S)),g,l);else if(g&&typeof g=="object"){if(!f)throw new RangeError("The value of a property ("+O+") should be a primitive value.");o(n(O),g,u,d)}else g!=null&&u.push(O.replace(/_.*/,"").replace(/[A-Z]/g,x=>"-"+x.toLowerCase())+": "+g+";")}(u.length||d)&&l.push((r&&!f&&!c?s.map(r):s).join(", ")+" {"+u.join(" ")+"}")}for(let s in e)o(n(s),e[s],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let e=jE[qE]||1;return jE[qE]=e+1,L1+e.toString(36)}static mount(e,i,r){let n=e[I1],o=r&&r.nonce;n?o&&n.setNonce(o):n=new z1(e,o),n.mount(Array.isArray(i)?i:[i])}},WE=new Map,z1=class{constructor(e,i){let r=e.ownerDocument||e,n=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let o=WE.get(r);if(o)return e.adoptedStyleSheets=[o.sheet,...e.adoptedStyleSheets],e[I1]=o;this.sheet=new n.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],WE.set(r,this)}else{this.styleTag=r.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);let o=e.head||e;o.insertBefore(this.styleTag,o.firstChild)}this.modules=[],e[I1]=this}mount(e){let i=this.sheet,r=0,n=0;for(let o=0;o<e.length;o++){let s=e[o],a=this.modules.indexOf(s);if(a<n&&a>-1&&(this.modules.splice(a,1),n--,a=-1),a==-1){if(this.modules.splice(n++,0,s),i)for(let l=0;l<s.rules.length;l++)i.insertRule(s.rules[l],r++)}else{for(;n<a;)r+=this.modules[n++].rules.length;r+=s.rules.length,n++}}if(!i){let o="";for(let s=0;s<this.modules.length;s++)o+=this.modules[s].getRules()+`
`;this.styleTag.textContent=o}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}};var Vn={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:"'"},al={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},SW=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),TW=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(Yt=0;Yt<10;Yt++)Vn[48+Yt]=Vn[96+Yt]=String(Yt);var Yt;for(Yt=1;Yt<=24;Yt++)Vn[Yt+111]="F"+Yt;var Yt;for(Yt=65;Yt<=90;Yt++)Vn[Yt]=String.fromCharCode(Yt+32),al[Yt]=String.fromCharCode(Yt);var Yt;for(pO in Vn)al.hasOwnProperty(pO)||(al[pO]=Vn[pO]);var pO;function VE(t){var e=SW&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||TW&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?al:Vn)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function Xu(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function V1(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function EW(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function TO(t,e){if(!e.anchorNode)return!1;try{return V1(t,e.anchorNode)}catch(i){return!1}}function Ru(t){return t.nodeType==3?Ws(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Eu(t,e,i,r){return i?ZE(t,e,i,r,-1)||ZE(t,e,i,r,1):!1}function js(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function $O(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function ZE(t,e,i,r,n){for(;;){if(t==i&&e==r)return!0;if(e==(n<0?0:Zn(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=js(t)+(n<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(n<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=n<0?Zn(t):0}else return!1}}function Zn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function ZO(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function PW(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function XP(t,e){let i=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:i,scaleY:r}}function QW(t,e,i,r,n,o,s,a){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,f=!1;u&&!f;)if(u.nodeType==1){let d,O=u==l.body,g=1,x=1;if(O)d=PW(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(f=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let T=u.getBoundingClientRect();({scaleX:g,scaleY:x}=XP(u,T)),d={left:T.left,right:T.left+u.clientWidth*g,top:T.top,bottom:T.top+u.clientHeight*x}}let S=0,w=0;if(n=="nearest")e.top<d.top?(w=-(d.top-e.top+s),i>0&&e.bottom>d.bottom+w&&(w=e.bottom-d.bottom+w+s)):e.bottom>d.bottom&&(w=e.bottom-d.bottom+s,i<0&&e.top-w<d.top&&(w=-(d.top+w-e.top+s)));else{let T=e.bottom-e.top,A=d.bottom-d.top;w=(n=="center"&&T<=A?e.top+T/2-A/2:n=="start"||n=="center"&&i<0?e.top-s:e.bottom-A+s)-d.top}if(r=="nearest"?e.left<d.left?(S=-(d.left-e.left+o),i>0&&e.right>d.right+S&&(S=e.right-d.right+S+o)):e.right>d.right&&(S=e.right-d.right+o,i<0&&e.left<d.left+S&&(S=-(d.left+S-e.left+o))):S=(r=="center"?e.left+(e.right-e.left)/2-(d.right-d.left)/2:r=="start"==a?e.left-o:e.right-(d.right-d.left)+o)-d.left,S||w)if(O)c.scrollBy(S,w);else{let T=0,A=0;if(w){let I=u.scrollTop;u.scrollTop+=w/x,A=(u.scrollTop-I)*x}if(S){let I=u.scrollLeft;u.scrollLeft+=S/g,T=(u.scrollLeft-I)*g}e={left:e.left-T,top:e.top-A,right:e.right-T,bottom:e.bottom-A},T&&Math.abs(T-S)<1&&(r="nearest"),A&&Math.abs(A-w)<1&&(n="nearest")}if(O)break;u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function CW(t){let e=t.ownerDocument,i,r;for(let n=t.parentNode;n&&!(n==e.body||i&&r);)if(n.nodeType==1)!r&&n.scrollHeight>n.clientHeight&&(r=n),!i&&n.scrollWidth>n.clientWidth&&(i=n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;return{x:i,y:r}}var Z1=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:r}=e;this.set(i,Math.min(e.anchorOffset,i?Zn(i):0),r,Math.min(e.focusOffset,r?Zn(r):0))}set(e,i,r,n){this.anchorNode=e,this.anchorOffset=i,this.focusNode=r,this.focusOffset=n}},ll=null;function RP(t){if(t.setActive)return t.setActive();if(ll)return t.focus(ll);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(ll==null?{get preventScroll(){return ll={preventScroll:!0},!0}}:void 0),!ll){ll=!1;for(let i=0;i<e.length;){let r=e[i++],n=e[i++],o=e[i++];r.scrollTop!=n&&(r.scrollTop=n),r.scrollLeft!=o&&(r.scrollLeft=o)}}}var BE;function Ws(t,e,i=e){let r=BE||(BE=document.createRange());return r.setEnd(t,i),r.setStart(t,e),r}function hl(t,e,i,r){let n={key:e,code:e,keyCode:i,which:i,cancelable:!0};r&&({altKey:n.altKey,ctrlKey:n.ctrlKey,shiftKey:n.shiftKey,metaKey:n.metaKey}=r);let o=new KeyboardEvent("keydown",n);o.synthetic=!0,t.dispatchEvent(o);let s=new KeyboardEvent("keyup",n);return s.synthetic=!0,t.dispatchEvent(s),o.defaultPrevented||s.defaultPrevented}function _W(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function LP(t){for(;t.attributes.length;)t.removeAttributeNode(t.attributes[0])}function $W(t,e){let i=e.focusNode,r=e.focusOffset;if(!i||e.anchorNode!=i||e.anchorOffset!=r)return!1;for(r=Math.min(r,Zn(i));;)if(r){if(i.nodeType!=1)return!1;let n=i.childNodes[r-1];n.contentEditable=="false"?r--:(i=n,r=Zn(i))}else{if(i==t)return!0;r=js(i),i=i.parentNode}}function IP(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function zP(t,e){for(let i=t,r=e;;){if(i.nodeType==3&&r>0)return{node:i,offset:r};if(i.nodeType==1&&r>0){if(i.contentEditable=="false")return null;i=i.childNodes[r-1],r=Zn(i)}else if(i.parentNode&&!$O(i))r=js(i),i=i.parentNode;else return null}}function DP(t,e){for(let i=t,r=e;;){if(i.nodeType==3&&r<i.nodeValue.length)return{node:i,offset:r};if(i.nodeType==1&&r<i.childNodes.length){if(i.contentEditable=="false")return null;i=i.childNodes[r],r=0}else if(i.parentNode&&!$O(i))r=js(i)+1,i=i.parentNode;else return null}}var Xi=class t{constructor(e,i,r=!0){this.node=e,this.offset=i,this.precise=r}static before(e,i){return new t(e.parentNode,js(e),i)}static after(e,i){return new t(e.parentNode,js(e)+1,i)}},Ry=[],bt=class t{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let i=this.posAtStart;for(let r of this.children){if(r==e)return i;i+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let r=this.dom,n=null,o;for(let s of this.children){if(s.flags&7){if(!s.dom&&(o=n?n.nextSibling:r.firstChild)){let a=t.get(o);(!a||!a.parent&&a.canReuseDOM(s))&&s.reuseDOM(o)}s.sync(e,i),s.flags&=-8}if(o=n?n.nextSibling:r.firstChild,i&&!i.written&&i.node==r&&o!=s.dom&&(i.written=!0),s.dom.parentNode==r)for(;o&&o!=s.dom;)o=YE(o);else r.insertBefore(s.dom,o);n=s.dom}for(o=n?n.nextSibling:r.firstChild,o&&i&&i.node==r&&(i.written=!0);o;)o=YE(o)}else if(this.flags&1)for(let r of this.children)r.flags&7&&(r.sync(e,i),r.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let r;if(e==this.dom)r=this.dom.childNodes[i];else{let n=Zn(e)==0?0:i==0?-1:1;for(;;){let o=e.parentNode;if(o==this.dom)break;n==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?n=-1:n=1),e=o}n<0?r=e:r=e.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!t.get(r);)r=r.nextSibling;if(!r)return this.length;for(let n=0,o=0;;n++){let s=this.children[n];if(s.dom==r)return o;o+=s.length+s.breakAfter}}domBoundsAround(e,i,r=0){let n=-1,o=-1,s=-1,a=-1;for(let l=0,c=r,u=r;l<this.children.length;l++){let f=this.children[l],d=c+f.length;if(c<e&&d>i)return f.domBoundsAround(e,i,c);if(d>=e&&n==-1&&(n=l,o=c),c>i&&f.dom.parentNode==this.dom){s=l,a=u;break}u=d,c=d+f.breakAfter}return{from:o,to:a<0?r+this.length:a,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s<this.children.length&&s>=0?this.children[s].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,r=Ry){this.markDirty();for(let n=e;n<i;n++){let o=this.children[n];o.parent==this&&r.indexOf(o)<0&&o.destroy()}this.children.splice(e,i-e,...r);for(let n=0;n<r.length;n++)r[n].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new AO(this.children,e,this.children.length)}childPos(e,i=1){return this.childCursor().findPos(e,i)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,i,r,n,o,s){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}};bt.prototype.breakAfter=0;function YE(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}var AO=class{constructor(e,i,r){this.children=e,this.pos=i,this.i=r,this.off=0}findPos(e,i=1){for(;;){if(e>this.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}};function UP(t,e,i,r,n,o,s,a,l){let{children:c}=t,u=c.length?c[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:s;if(!(e==r&&u&&!s&&!d&&o.length<2&&u.merge(i,n,o.length?f:null,i==0,a,l))){if(r<c.length){let O=c[r];O&&(n<O.length||O.breakAfter&&(f!=null&&f.breakAfter))?(e==r&&(O=O.split(n),n=0),!d&&f&&O.merge(0,n,f,!0,0,l)?o[o.length-1]=O:((n||O.children.length&&!O.children[0].length)&&O.merge(0,n,null,!1,0,l),o.push(O))):O!=null&&O.breakAfter&&(f?f.breakAfter=1:s=1),r++}for(u&&(u.breakAfter=s,i>0&&(!s&&o.length&&u.merge(i,u.length,o[0],!1,a,0)?u.breakAfter=o.shift().breakAfter:(i<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(i,u.length,null,!1,a,0),e++));e<r&&o.length;)if(c[r-1].become(o[o.length-1]))r--,o.pop(),l=o.length?0:a;else if(c[e].become(o[0]))e++,o.shift(),a=o.length?0:l;else break;!o.length&&e&&r<c.length&&!c[e-1].breakAfter&&c[r].merge(0,0,c[e-1],!1,a,l)&&e--,(e<r||o.length)&&t.replaceChildren(e,r,o)}}function NP(t,e,i,r,n,o){let s=t.childCursor(),{i:a,off:l}=s.findPos(i,1),{i:c,off:u}=s.findPos(e,-1),f=e-i;for(let d of r)f+=d.length;t.length+=f,UP(t,c,u,a,l,r,0,n,o)}var ji=typeof navigator!="undefined"?navigator:{userAgent:"",vendor:"",platform:""},B1=typeof document!="undefined"?document:{documentElement:{style:{}}},Y1=/Edge\/(\d+)/.exec(ji.userAgent),MP=/MSIE \d/.test(ji.userAgent),F1=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ji.userAgent),BO=!!(MP||F1||Y1),FE=!BO&&/gecko\/(\d+)/i.test(ji.userAgent),D1=!BO&&/Chrome\/(\d+)/.exec(ji.userAgent),HE="webkitFontSmoothing"in B1.documentElement.style,qP=!BO&&/Apple Computer/.test(ji.vendor),GE=qP&&(/Mobile\/\w+/.test(ji.userAgent)||ji.maxTouchPoints>2),Se={mac:GE||/Mac/.test(ji.platform),windows:/Win/.test(ji.platform),linux:/Linux|X11/.test(ji.platform),ie:BO,ie_version:MP?B1.documentMode||6:F1?+F1[1]:Y1?+Y1[1]:0,gecko:FE,gecko_version:FE?+(/Firefox\/(\d+)/.exec(ji.userAgent)||[0,0])[1]:0,chrome:!!D1,chrome_version:D1?+D1[1]:0,ios:GE,android:/Android\b/.test(ji.userAgent),webkit:HE,safari:qP,webkit_version:HE?+(/\bAppleWebKit\/(\d+)/.exec(ji.userAgent)||[0,0])[1]:0,tabSize:B1.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"},AW=256,un=class t extends bt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,r){return this.flags&8||r&&(!(r instanceof t)||this.length-(i-e)+r.length>AW||r.flags&8)?!1:(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new t(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new Xi(this.dom,e)}domBoundsAround(e,i,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return XW(this.dom,e,i)}},Vo=class t extends bt{constructor(e,i=[],r=0){super(),this.mark=e,this.children=i,this.length=r;for(let n of i)n.setParent(this)}setAttrs(e){if(LP(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,r,n,o,s){return r&&(!(r instanceof t&&r.mark.eq(this.mark))||e&&o<=0||i<this.length&&s<=0)?!1:(NP(this,e,i,r?r.children.slice():[],o-1,s-1),this.markDirty(),!0)}split(e){let i=[],r=0,n=-1,o=0;for(let a of this.children){let l=r+a.length;l>e&&i.push(r<e?a.split(e-r):a),n<0&&r>=e&&(n=o),r=l,o++}let s=this.length-e;return this.length=e,n>-1&&(this.children.length=n,this.markDirty()),new t(this.mark,i,s)}domAtPos(e){return jP(this,e)}coordsAt(e,i){return VP(this,e,i)}};function XW(t,e,i){let r=t.nodeValue.length;e>r&&(e=r);let n=e,o=e,s=0;e==0&&i<0||e==r&&i>=0?Se.chrome||Se.gecko||(e?(n--,s=1):o<r&&(o++,s=-1)):i<0?n--:o<r&&o++;let a=Ws(t,n,o).getClientRects();if(!a.length)return null;let l=a[(s?s<0:i>=0)?0:a.length-1];return Se.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),s?ZO(l,s<0):l||null}var Lu=class t extends bt{static create(e,i,r){return new t(e,i,r)}constructor(e,i,r){super(),this.widget=e,this.length=i,this.side=r,this.prevWidget=null}split(e){let i=t.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,i,r,n,o,s){return r&&(!(r instanceof t)||!this.widget.compare(r.widget)||e>0&&o<=0||i<this.length&&s<=0)?!1:(this.length=e+(r?r.length:0)+(this.length-i),!0)}become(e){return e instanceof t&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return He.empty;let e=this;for(;e.parent;)e=e.parent;let{view:i}=e,r=i&&i.state.doc,n=this.posAtStart;return r?r.slice(n,n+this.length):He.empty}domAtPos(e){return(this.length?e==0:this.side>0)?Xi.before(this.dom):Xi.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let r=this.widget.coordsAt(this.dom,e,i);if(r)return r;let n=this.dom.getClientRects(),o=null;if(!n.length)return null;let s=this.side?this.side<0:e>0;for(let a=s?n.length-1:0;o=n[a],!(e>0?a==0:a==n.length-1||o.top<o.bottom);a+=s?-1:1);return ZO(o,!s)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},Iu=class t extends bt{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?Xi.before(this.dom):Xi.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return He.empty}get isHidden(){return!0}};un.prototype.children=Lu.prototype.children=Iu.prototype.children=Ry;function jP(t,e){let i=t.dom,{children:r}=t,n=0;for(let o=0;n<r.length;n++){let s=r[n],a=o+s.length;if(!(a==o&&s.getSide()<=0)){if(e>o&&e<a&&s.dom.parentNode==i)return s.domAtPos(e-o);if(e<=o)break;o=a}}for(let o=n;o>0;o--){let s=r[o-1];if(s.dom.parentNode==i)return s.domAtPos(s.length)}for(let o=n;o<r.length;o++){let s=r[o];if(s.dom.parentNode==i)return s.domAtPos(0)}return new Xi(i,0)}function WP(t,e,i){let r,{children:n}=t;i>0&&e instanceof Vo&&n.length&&(r=n[n.length-1])instanceof Vo&&r.mark.eq(e.mark)?WP(r,e.children[0],i-1):(n.push(e),e.setParent(t)),t.length+=e.length}function VP(t,e,i){let r=null,n=-1,o=null,s=-1;function a(c,u){for(let f=0,d=0;f<c.children.length&&d<=u;f++){let O=c.children[f],g=d+O.length;g>=u&&(O.children.length?a(O,u-d):(!o||o.isHidden&&i>0)&&(g>u||d==g&&O.getSide()>0)?(o=O,s=u-d):(d<u||d==g&&O.getSide()<0&&!O.isHidden)&&(r=O,n=u-d)),d=g}}a(t,e);let l=(i<0?r:o)||r||o;return l?l.coordsAt(Math.max(0,l==r?n:s),i):RW(t)}function RW(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let i=Ru(e);return i[i.length-1]||null}function H1(t,e){for(let i in t)i=="class"&&e.class?e.class+=" "+t.class:i=="style"&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}var KE=Object.create(null);function XO(t,e,i){if(t==e)return!0;t||(t=KE),e||(e=KE);let r=Object.keys(t),n=Object.keys(e);if(r.length-(i&&r.indexOf(i)>-1?1:0)!=n.length-(i&&n.indexOf(i)>-1?1:0))return!1;for(let o of r)if(o!=i&&(n.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function G1(t,e,i){let r=!1;if(e)for(let n in e)i&&n in i||(r=!0,n=="style"?t.style.cssText="":t.removeAttribute(n));if(i)for(let n in i)e&&e[n]==i[n]||(r=!0,n=="style"?t.style.cssText=i[n]:t.setAttribute(n,i[n]));return r}function LW(t){let e=Object.create(null);for(let i=0;i<t.attributes.length;i++){let r=t.attributes[i];e[r.name]=r.value}return e}var ti=class{eq(e){return!1}updateDOM(e,i){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,i,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},Ri=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(Ri||(Ri={})),ve=class extends Dr{constructor(e,i,r,n){super(),this.startSide=e,this.endSide=i,this.widget=r,this.spec=n}get heightRelevant(){return!1}static mark(e){return new zu(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),r=!!e.block;return i+=r&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new Zo(e,i,i,r,e.widget||null,!1)}static replace(e){let i=!!e.block,r,n;if(e.isBlockGap)r=-5e8,n=4e8;else{let{start:o,end:s}=ZP(e,i);r=(o?i?-3e8:-1:5e8)-1,n=(s?i?2e8:1:-6e8)+1}return new Zo(e,r,n,i,e.widget||null,!0)}static line(e){return new Du(e)}static set(e,i=!1){return Je.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}};ve.none=Je.empty;var zu=class t extends ve{constructor(e){let{start:i,end:r}=ZP(e);super(i?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,r;return this==e||e instanceof t&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((r=e.attrs)===null||r===void 0?void 0:r.class))&&XO(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}};zu.prototype.point=!1;var Du=class t extends ve{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof t&&this.spec.class==e.spec.class&&XO(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}};Du.prototype.mapMode=Tt.TrackBefore;Du.prototype.point=!0;var Zo=class t extends ve{constructor(e,i,r,n,o,s){super(i,r,o,e),this.block=n,this.isReplace=s,this.mapMode=n?i<=0?Tt.TrackBefore:Tt.TrackAfter:Tt.TrackDel}get type(){return this.startSide!=this.endSide?Ri.WidgetRange:this.startSide<=0?Ri.WidgetBefore:Ri.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof t&&IW(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}};Zo.prototype.point=!0;function ZP(t,e=!1){let{inclusiveStart:i,inclusiveEnd:r}=t;return i==null&&(i=t.inclusive),r==null&&(r=t.inclusive),{start:i!=null?i:e,end:r!=null?r:e}}function IW(t,e){return t==e||!!(t&&e&&t.compare(e))}function K1(t,e,i,r=0){let n=i.length-1;n>=0&&i[n]+r>=t?i[n]=Math.max(i[n],e):i.push(t,e)}var li=class t extends bt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,i,r,n,o,s){if(r){if(!(r instanceof t))return!1;this.dom||r.transferDOM(this)}return n&&this.setDeco(r?r.attrs:null),NP(this,e,i,r?r.children.slice():[],o,s),!0}split(e){let i=new t;if(i.breakAfter=this.breakAfter,this.length==0)return i;let{i:r,off:n}=this.childPos(e);n&&(i.append(this.children[r].split(n),0),this.children[r].merge(n,this.children[r].length,null,!1,0,0),r++);for(let o=r;o<this.children.length;o++)i.append(this.children[o],0);for(;r>0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,i}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){XO(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){WP(this,e,i)}addLineDeco(e){let i=e.spec.attributes,r=e.spec.class;i&&(this.attrs=H1(i,this.attrs||{})),r&&(this.attrs=H1({class:r},this.attrs||{}))}domAtPos(e){return jP(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var r;this.dom?this.flags&4&&(LP(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&&(G1(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let n=this.dom.lastChild;for(;n&&bt.get(n)instanceof Vo;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((r=bt.get(n))===null||r===void 0?void 0:r.isEditable)==!1&&(!Se.ios||!this.children.some(o=>o instanceof un))){let o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,i;for(let r of this.children){if(!(r instanceof un)||/[^ -~]/.test(r.text))return null;let n=Ru(r.dom);if(n.length!=1)return null;e+=n[0].width,i=n[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let r=VP(this,e,i);if(!this.children.length&&r&&this.parent){let{heightOracle:n}=this.parent.view.viewState,o=r.bottom-r.top;if(Math.abs(o-n.lineHeight)<2&&n.textHeight<o){let s=(o-n.textHeight)/2;return{top:r.top+s,bottom:r.bottom-s,left:r.left,right:r.left}}}return r}become(e){return e instanceof t&&this.children.length==0&&e.children.length==0&&XO(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter}covers(){return!0}static find(e,i){for(let r=0,n=0;r<e.children.length;r++){let o=e.children[r],s=n+o.length;if(s>=i){if(o instanceof t)return o;if(s>i)break}n=s+o.breakAfter}return null}},qs=class t extends bt{constructor(e,i,r){super(),this.widget=e,this.length=i,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,i,r,n,o,s){return r&&(!(r instanceof t)||!this.widget.compare(r.widget)||e>0&&o<=0||i<this.length&&s<=0)?!1:(this.length=e+(r?r.length:0)+(this.length-i),!0)}domAtPos(e){return e==0?Xi.before(this.dom):Xi.after(this.dom,e==this.length)}split(e){let i=this.length-e;this.length=e;let r=new t(this.widget,i,this.deco);return r.breakAfter=this.breakAfter,r}get children(){return Ry}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):He.empty}domBoundsAround(){return null}become(e){return e instanceof t&&e.widget.constructor==this.widget.constructor?(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,i){let r=this.widget.coordsAt(this.dom,e,i);return r||(this.widget instanceof Uu?null:ZO(this.dom.getBoundingClientRect(),this.length?e==0:i<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:i,endSide:r}=this.deco;return i==r?!1:e<0?i<0:r>0}},Uu=class extends ti{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}},Pu=class t{constructor(e,i,r,n){this.doc=e,this.pos=i,this.end=r,this.disallowBlockEffectsFor=n,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=i}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof qs&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new li),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(mO(new Iu(-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 qs)&&this.getLine()}buildText(e,i,r){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:s,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(s){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=o,this.textOff=0}let n=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-r)),this.getLine().append(mO(new un(this.text.slice(this.textOff,this.textOff+n)),i),r),this.atCursorPos=!0,this.textOff+=n,e-=n,r=0}}span(e,i,r,n){this.buildText(i-e,r,n),this.pos=i,this.openStart<0&&(this.openStart=n)}point(e,i,r,n,o,s){if(this.disallowBlockEffectsFor[s]&&r instanceof Zo){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=i-e;if(r instanceof Zo)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new qs(r.widget||Bo.block,a,r));else{let l=Lu.create(r.widget||Bo.inline,a,a?0:r.startSide),c=this.atCursorPos&&!l.isEditable&&o<=n.length&&(e<i||r.startSide>0),u=!l.isEditable&&(e<i||o>n.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(n),c&&(f.append(mO(new Iu(1),n),o),o=n.length+Math.max(0,o-n.length)),f.append(mO(l,n),o),this.atCursorPos=u,this.pendingBuffer=u?e<i||o>n.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=n.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=i),this.openStart<0&&(this.openStart=o)}static build(e,i,r,n,o){let s=new t(e,i,r,o);return s.openEnd=Je.spans(n,i,r,s),s.openStart<0&&(s.openStart=s.openEnd),s.finish(s.openEnd),s}};function mO(t,e){for(let i of e)t=new Vo(i,[t],t.length);return t}var Bo=class extends ti{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}};Bo.inline=new Bo("span");Bo.block=new Bo("div");var st=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(st||(st={})),Vs=st.LTR,Ly=st.RTL;function BP(t){let e=[];for(let i=0;i<t.length;i++)e.push(1<<+t[i]);return e}var zW=BP("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),DW=BP("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),J1=Object.create(null),sn=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),i=t.charCodeAt(1);J1[e]=i,J1[i]=-e}function YP(t){return t<=247?zW[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?DW[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}var UW=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,ln=class{get dir(){return this.level%2?Ly:Vs}constructor(e,i,r){this.from=e,this.to=i,this.level=r}side(e,i){return this.dir==i==e?this.to:this.from}forward(e,i){return e==(this.dir==i)}static find(e,i,r,n){let o=-1;for(let s=0;s<e.length;s++){let a=e[s];if(a.from<=i&&a.to>=i){if(a.level==r)return s;(o<0||(n!=0?n<0?a.from<i:a.to>i:e[o].level>a.level))&&(o=s)}}if(o<0)throw new RangeError("Index out of range");return o}};function FP(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],n=e[i];if(r.from!=n.from||r.to!=n.to||r.direction!=n.direction||!FP(r.inner,n.inner))return!1}return!0}var Ot=[];function NW(t,e,i,r,n){for(let o=0;o<=r.length;o++){let s=o?r[o-1].to:e,a=o<r.length?r[o].from:i,l=o?256:n;for(let c=s,u=l,f=l;c<a;c++){let d=YP(t.charCodeAt(c));d==512?d=u:d==8&&f==4&&(d=16),Ot[c]=d==4?2:d,d&7&&(f=d),u=d}for(let c=s,u=l,f=l;c<a;c++){let d=Ot[c];if(d==128)c<a-1&&u==Ot[c+1]&&u&24?d=Ot[c]=u:Ot[c]=256;else if(d==64){let O=c+1;for(;O<a&&Ot[O]==64;)O++;let g=c&&u==8||O<i&&Ot[O]==8?f==1?1:8:256;for(let x=c;x<O;x++)Ot[x]=g;c=O-1}else d==8&&f==1&&(Ot[c]=1);u=d,d&7&&(f=d)}}}function MW(t,e,i,r,n){let o=n==1?2:1;for(let s=0,a=0,l=0;s<=r.length;s++){let c=s?r[s-1].to:e,u=s<r.length?r[s].from:i;for(let f=c,d,O,g;f<u;f++)if(O=J1[d=t.charCodeAt(f)])if(O<0){for(let x=a-3;x>=0;x-=3)if(sn[x+1]==-O){let S=sn[x+2],w=S&2?n:S&4?S&1?o:n:0;w&&(Ot[f]=Ot[sn[x]]=w),a=x;break}}else{if(sn.length==189)break;sn[a++]=f,sn[a++]=d,sn[a++]=l}else if((g=Ot[f])==2||g==1){let x=g==n;l=x?0:1;for(let S=a-3;S>=0;S-=3){let w=sn[S+2];if(w&2)break;if(x)sn[S+2]|=2;else{if(w&4)break;sn[S+2]|=4}}}}}function qW(t,e,i,r){for(let n=0,o=r;n<=i.length;n++){let s=n?i[n-1].to:t,a=n<i.length?i[n].from:e;for(let l=s;l<a;){let c=Ot[l];if(c==256){let u=l+1;for(;;)if(u==a){if(n==i.length)break;u=i[n++].to,a=n<i.length?i[n].from:e}else if(Ot[u]==256)u++;else break;let f=o==1,d=(u<e?Ot[u]:r)==1,O=f==d?f?1:2:r;for(let g=u,x=n,S=x?i[x-1].to:t;g>l;)g==S&&(g=i[--x].from,S=x?i[x-1].to:t),Ot[--g]=O;l=u}else o=c,l++}}}function ey(t,e,i,r,n,o,s){let a=r%2?2:1;if(r%2==n%2)for(let l=e,c=0;l<i;){let u=!0,f=!1;if(c==o.length||l<o[c].from){let x=Ot[l];x!=a&&(u=!1,f=x==16)}let d=!u&&a==1?[]:null,O=u?r:r+1,g=l;e:for(;;)if(c<o.length&&g==o[c].from){if(f)break e;let x=o[c];if(!u)for(let S=x.to,w=c+1;;){if(S==i)break e;if(w<o.length&&o[w].from==S)S=o[w++].to;else{if(Ot[S]==a)break e;break}}if(c++,d)d.push(x);else{x.from>l&&s.push(new ln(l,x.from,O));let S=x.direction==Vs!=!(O%2);ty(t,S?r+1:r,n,x.inner,x.from,x.to,s),l=x.to}g=x.to}else{if(g==i||(u?Ot[g]!=a:Ot[g]==a))break;g++}d?ey(t,l,g,r+1,n,d,s):l<g&&s.push(new ln(l,g,O)),l=g}else for(let l=i,c=o.length;l>e;){let u=!0,f=!1;if(!c||l>o[c-1].to){let x=Ot[l-1];x!=a&&(u=!1,f=x==16)}let d=!u&&a==1?[]:null,O=u?r:r+1,g=l;e:for(;;)if(c&&g==o[c-1].to){if(f)break e;let x=o[--c];if(!u)for(let S=x.from,w=c;;){if(S==e)break e;if(w&&o[w-1].to==S)S=o[--w].from;else{if(Ot[S-1]==a)break e;break}}if(d)d.push(x);else{x.to<l&&s.push(new ln(x.to,l,O));let S=x.direction==Vs!=!(O%2);ty(t,S?r+1:r,n,x.inner,x.from,x.to,s),l=x.from}g=x.from}else{if(g==e||(u?Ot[g-1]!=a:Ot[g-1]==a))break;g--}d?ey(t,g,l,r+1,n,d,s):g<l&&s.push(new ln(g,l,O)),l=g}}function ty(t,e,i,r,n,o,s){let a=e%2?2:1;NW(t,n,o,r,a),MW(t,n,o,r,a),qW(n,o,r,a),ey(t,n,o,e,i,r,s)}function jW(t,e,i){if(!t)return[new ln(0,0,e==Ly?1:0)];if(e==Vs&&!i.length&&!UW.test(t))return HP(t.length);if(i.length)for(;t.length>Ot.length;)Ot[Ot.length]=256;let r=[],n=e==Vs?0:1;return ty(t,n,n,i,0,t.length,r),r}function HP(t){return[new ln(0,t,0)]}var GP="";function WW(t,e,i,r,n){var o;let s=r.head-t.from,a=ln.find(e,s,(o=r.bidiLevel)!==null&&o!==void 0?o:-1,r.assoc),l=e[a],c=l.side(n,i);if(s==c){let d=a+=n?1:-1;if(d<0||d>=e.length)return null;l=e[a=d],s=l.side(!n,i),c=l.side(n,i)}let u=Bt(t.text,s,l.forward(n,i));(u<l.from||u>l.to)&&(u=c),GP=t.text.slice(Math.min(s,u),Math.max(s,u));let f=a==(n?e.length-1:0)?null:e[a+(n?1:-1)];return f&&u==c&&f.level+(n?0:1)<l.level?K.cursor(f.side(!n,i)+t.from,f.forward(n,i)?1:-1,f.level):K.cursor(u+t.from,l.forward(n,i)?-1:1,l.level)}function VW(t,e,i){for(let r=e;r<i;r++){let n=YP(t.charCodeAt(r));if(n==1)return Vs;if(n==2||n==4)return Ly}return Vs}var KP=be.define(),JP=be.define(),eQ=be.define(),tQ=be.define(),iy=be.define(),iQ=be.define(),rQ=be.define(),nQ=be.define({combine:t=>t.some(e=>e)}),oQ=be.define({combine:t=>t.some(e=>e)}),sQ=be.define(),Qu=class t{constructor(e,i="nearest",r="nearest",n=5,o=5,s=!1){this.range=e,this.y=i,this.x=r,this.yMargin=n,this.xMargin=o,this.isSnapshot=s}map(e){return e.empty?this:new t(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new t(K.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},gO=ke.define({map:(t,e)=>t.map(e)}),aQ=ke.define();function ci(t,e,i){let r=t.facet(tQ);r.length?r[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}var qo=be.define({combine:t=>t.length?t[0]:!0}),ZW=0,vu=be.define(),Fe=class t{constructor(e,i,r,n,o){this.id=e,this.create=i,this.domEventHandlers=r,this.domEventObservers=n,this.extension=o(this)}static define(e,i){let{eventHandlers:r,eventObservers:n,provide:o,decorations:s}=i||{};return new t(ZW++,e,r,n,a=>{let l=[vu.of(a)];return s&&l.push(Nu.of(c=>{let u=c.plugin(a);return u?s(u):ve.none})),o&&l.push(o(a)),l})}static fromClass(e,i){return t.define(r=>new e(r),i)}},Cu=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(r){if(ci(i.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(n){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){ci(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(r){ci(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},lQ=be.define(),Iy=be.define(),Nu=be.define(),cQ=be.define(),zy=be.define(),uQ=be.define();function JE(t,e){let i=t.state.facet(uQ);if(!i.length)return i;let r=i.map(o=>o instanceof Function?o(t):o),n=[];return Je.spans(r,e.from,e.to,{point(){},span(o,s,a,l){let c=o-e.from,u=s-e.from,f=n;for(let d=a.length-1;d>=0;d--,l--){let O=a[d].spec.bidiIsolate,g;if(O==null&&(O=VW(e.text,c,u)),l>0&&f.length&&(g=f[f.length-1]).to==c&&g.direction==O)g.to=u,f=g.inner;else{let x={from:c,to:u,direction:O,inner:[]};f.push(x),f=x.inner}}}}),n}var fQ=be.define();function hQ(t){let e=0,i=0,r=0,n=0;for(let o of t.state.facet(fQ)){let s=o(t);s&&(s.left!=null&&(e=Math.max(e,s.left)),s.right!=null&&(i=Math.max(i,s.right)),s.top!=null&&(r=Math.max(r,s.top)),s.bottom!=null&&(n=Math.max(n,s.bottom)))}return{left:e,right:i,top:r,bottom:n}}var wu=be.define(),cn=class t{constructor(e,i,r,n){this.fromA=e,this.toA=i,this.fromB=r,this.toB=n}join(e){return new t(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,r=this;for(;i>0;i--){let n=e[i-1];if(!(n.fromA>r.toA)){if(n.toA<r.fromA)break;r=r.join(n),e.splice(i-1,1)}}return e.splice(i,0,r),e}static extendWithRanges(e,i){if(i.length==0)return e;let r=[];for(let n=0,o=0,s=0,a=0;;n++){let l=n==e.length?null:e[n],c=s-a,u=l?l.fromB:1e9;for(;o<i.length&&i[o]<u;){let f=i[o],d=i[o+1],O=Math.max(a,f),g=Math.min(u,d);if(O<=g&&new t(O+c,g+c,O,g).addToSet(r),d>u)break;o+=2}if(!l)return r;new t(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),s=l.toA,a=l.toB}}},RO=class t{constructor(e,i,r){this.view=e,this.state=i,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=$i.empty(this.startState.doc.length);for(let o of r)this.changes=this.changes.compose(o.changes);let n=[];this.changes.iterChangedRanges((o,s,a,l)=>n.push(new cn(o,s,a,l))),this.changedRanges=n}static create(e,i,r){return new t(e,i,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}},LO=class extends bt{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=ve.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new li],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new cn(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:u})=>u<this.minWidthFrom||c>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let n=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?n=this.domChanged.newSel.head:!JW(e.changes,this.hasComposition)&&!e.selectionSet&&(n=e.state.selection.main.head));let o=n>-1?YW(this.view,e.changes,n):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;r=new cn(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(r.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(Se.ie||Se.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,a=this.updateDeco(),l=GW(s,a,e.changes);return r=cn.extendWithRanges(r,l),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,r);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=Se.chrome||Se.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.flags&=-8,s&&(s.written||n.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(s=>s.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let s of this.children)s instanceof qs&&s.widget instanceof Uu&&o.push(s.dom);n.updateGaps(o)}updateChildren(e,i,r){let n=r?r.range.addToSet(e.slice()):e,o=this.childCursor(i);for(let s=n.length-1;;s--){let a=s>=0?n[s]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:f}=a,d,O,g,x;if(r&&r.range.fromB<f&&r.range.toB>u){let I=Pu.build(this.view.state.doc,u,r.range.fromB,this.decorations,this.dynamicDecorationMap),C=Pu.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);O=I.breakAtStart,g=I.openStart,x=C.openEnd;let $=this.compositionView(r);C.breakAtStart?$.breakAfter=1:C.content.length&&$.merge($.length,$.length,C.content[0],!1,C.openStart,0)&&($.breakAfter=C.content[0].breakAfter,C.content.shift()),I.content.length&&$.merge(0,0,I.content[I.content.length-1],!0,0,I.openEnd)&&I.content.pop(),d=I.content.concat($).concat(C.content)}else({content:d,breakAtStart:O,openStart:g,openEnd:x}=Pu.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:S,off:w}=o.findPos(c,1),{i:T,off:A}=o.findPos(l,-1);UP(this,T,A,S,w,d,O,g,x)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let i of e.transactions)for(let r of i.effects)r.is(aQ)&&(this.editContextFormatting=r.value)}compositionView(e){let i=new un(e.text.nodeValue);i.flags|=8;for(let{deco:n}of e.marks)i=new Vo(n,[i],i.length);let r=new li;return r.append(i,0),r}fixCompositionDOM(e){let i=(o,s)=>{s.flags|=8|(s.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(s);let a=bt.get(o);a&&a!=s&&(a.dom=null),s.setDOM(o)},r=this.childPos(e.range.fromB,1),n=this.children[r.i];i(e.line,n);for(let o=e.marks.length-1;o>=-1;o--)r=n.childPos(r.off,1),n=n.children[r.i],i(o>=0?e.marks[o].node:e.text,n)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,n=r==this.dom,o=!n&&TO(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(n||i||o))return;let s=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),c=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(Se.gecko&&a.empty&&!this.hasComposition&&BW(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new Xi(f,0),s=!0}let u=this.view.observer.selectionRange;(s||!u.focusNode||(!Eu(l.node,l.offset,u.anchorNode,u.anchorOffset)||!Eu(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{Se.android&&Se.chrome&&this.dom.contains(u.focusNode)&&KW(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=Xu(this.view.root);if(f)if(a.empty){if(Se.gecko){let d=FW(l.node,l.offset);if(d&&d!=3){let O=(d==1?zP:DP)(l.node,l.offset);O&&(l=new Xi(O.node,O.offset))}}f.collapse(l.node,l.offset),a.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=a.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(c.node,c.offset)}catch(d){}}else{let d=document.createRange();a.anchor>a.head&&([l,c]=[c,l]),d.setEnd(c.node,c.offset),d.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Xi(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Xi(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&Eu(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,r=Xu(e.root),{anchorNode:n,anchorOffset:o}=e.observer.selectionRange;if(!r||!i.empty||!i.assoc||!r.modify)return;let s=li.find(this,i.head);if(!s)return;let a=s.posAtStart;if(i.head==a||i.head==a+s.length)return;let l=this.coordsAt(i.head,-1),c=this.coordsAt(i.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(i.head+i.assoc);r.collapse(u.node,u.offset),r.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=i.from&&r.collapse(n,o)}moveToLine(e){let i=this.dom,r;if(e.node!=i)return e;for(let n=e.offset;!r&&n<i.childNodes.length;n++){let o=bt.get(i.childNodes[n]);o instanceof li&&(r=o.domAtPos(0))}for(let n=e.offset-1;!r&&n>=0;n--){let o=bt.get(i.childNodes[n]);o instanceof li&&(r=o.domAtPos(o.length))}return r?new Xi(r.node,r.offset,!0):e}nearest(e){for(let i=e;i;){let r=bt.get(i);if(r&&r.rootView==this)return r;i=i.parentNode}return null}posFromDOM(e,i){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,i)+r.posAtStart}domAtPos(e){let{i,off:r}=this.childCursor().findPos(e,-1);for(;i<this.children.length-1;){let n=this.children[i];if(r<n.length||n instanceof li)break;i++,r=0}return this.children[i].domAtPos(r)}coordsAt(e,i){let r=null,n=0;for(let o=this.length,s=this.children.length-1;s>=0;s--){let a=this.children[s],l=o-a.breakAfter,c=l-a.length;if(l<e)break;if(c<=e&&(c<e||a.covers(-1))&&(l>e||a.covers(1))&&(!r||a instanceof li&&!(r instanceof li&&i>=0)))r=a,n=c;else if(r&&c==e&&l==e&&a instanceof qs&&Math.abs(i)<2){if(a.deco.startSide<0)break;s&&(r=null)}o=c}return r?r.coordsAt(e-n,i):null}coordsForChar(e){let{i,off:r}=this.childPos(e,1),n=this.children[i];if(!(n instanceof li))return null;for(;n.children.length;){let{i:a,off:l}=n.childPos(r,1);for(;;a++){if(a==n.children.length)return null;if((n=n.children[a]).length)break}r=l}if(!(n instanceof un))return null;let o=Bt(n.text,r);if(o==r)return null;let s=Ws(n.dom,r,o).getClientRects();for(let a=0;a<s.length;a++){let l=s[a];if(a==s.length-1||l.top<l.bottom&&l.left<l.right)return l}return null}measureVisibleLineHeights(e){let i=[],{from:r,to:n}=e,o=this.view.contentDOM.clientWidth,s=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==st.LTR;for(let c=0,u=0;u<this.children.length;u++){let f=this.children[u],d=c+f.length;if(d>n)break;if(c>=r){let O=f.dom.getBoundingClientRect();if(i.push(O.height),s){let g=f.dom.lastChild,x=g?Ru(g):[];if(x.length){let S=x[x.length-1],w=l?S.right-O.left:O.right-S.left;w>a&&(a=w,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?st.RTL:st.LTR}measureTextSize(){for(let o of this.children)if(o instanceof li){let s=o.measureTextSize();if(s)return s}let e=document.createElement("div"),i,r,n;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=Ru(e.firstChild)[0];i=e.getBoundingClientRect().height,r=o?o.width/27:7,n=o?o.height:i,e.remove()}),{lineHeight:i,charWidth:r,textHeight:n}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new AO(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let r=0,n=0;;n++){let o=n==i.viewports.length?null:i.viewports[n],s=o?o.from-1:this.length;if(s>r){let a=(i.lineBlockAt(s).bottom-i.lineBlockAt(r).top)/this.view.scaleY;e.push(ve.replace({widget:new Uu(a),block:!0,inclusive:!0,isBlockGap:!0}).range(r,s))}if(!o)break;r=o.to+1}return ve.set(e)}updateDeco(){let e=1,i=this.view.state.facet(Nu).map(o=>(this.dynamicDecorationMap[e++]=typeof o=="function")?o(this.view):o),r=!1,n=this.view.state.facet(cQ).map((o,s)=>{let a=typeof o=="function";return a&&(r=!0),a?o(this.view):o});for(n.length&&(this.dynamicDecorationMap[e++]=r,i.push(Je.join(n))),this.decorations=[this.editContextFormatting,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let c of this.view.state.facet(sQ))try{if(c(this.view,e.range,e))return!0}catch(u){ci(this.view.state,u,"scroll handler")}let{range:i}=e,r=this.coordsAt(i.head,i.empty?i.assoc:i.head>i.anchor?-1:1),n;if(!r)return;!i.empty&&(n=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(r={left:Math.min(r.left,n.left),top:Math.min(r.top,n.top),right:Math.max(r.right,n.right),bottom:Math.max(r.bottom,n.bottom)});let o=hQ(this.view),s={left:r.left-o.left,top:r.top-o.top,right:r.right+o.right,bottom:r.bottom+o.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;QW(this.view.scrollDOM,s,i.head<i.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==st.LTR)}};function BW(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")}function dQ(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return null;let r=zP(i.focusNode,i.focusOffset),n=DP(i.focusNode,i.focusOffset),o=r||n;if(n&&r&&n.node!=r.node){let a=bt.get(n.node);if(!a||a instanceof un&&a.text!=n.node.nodeValue)o=n;else if(t.docView.lastCompositionAfterCursor){let l=bt.get(r.node);!l||l instanceof un&&l.text!=r.node.nodeValue||(o=n)}}if(t.docView.lastCompositionAfterCursor=o!=r,!o)return null;let s=e-o.offset;return{from:s,to:s+o.node.nodeValue.length,node:o.node}}function YW(t,e,i){let r=dQ(t,i);if(!r)return null;let{node:n,from:o,to:s}=r,a=n.nodeValue;if(/[\n\r]/.test(a)||t.state.doc.sliceString(r.from,r.to)!=a)return null;let l=e.invertedDesc,c=new cn(l.mapPos(o),l.mapPos(s),o,s),u=[];for(let f=n.parentNode;;f=f.parentNode){let d=bt.get(f);if(d instanceof Vo)u.push({node:f,deco:d.mark});else{if(d instanceof li||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 zu({inclusive:!0,attributes:LW(f),tagName:f.tagName.toLowerCase()})});else return null}}}function FW(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 HW=class{constructor(){this.changes=[]}compareRange(e,i){K1(e,i,this.changes)}comparePoint(e,i){K1(e,i,this.changes)}};function GW(t,e,i){let r=new HW;return Je.compare(t,e,i,r),r.changes}function KW(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(i.nodeType==1&&i.contentEditable=="false")return!0;return!1}function JW(t,e){let i=!1;return e&&t.iterChangedRanges((r,n)=>{r<e.to&&n>e.from&&(i=!0)}),i}function eV(t,e,i=1){let r=t.charCategorizer(e),n=t.doc.lineAt(e),o=e-n.from;if(n.length==0)return K.cursor(e);o==0?i=1:o==n.length&&(i=-1);let s=o,a=o;i<0?s=Bt(n.text,o,!1):a=Bt(n.text,o);let l=r(n.text.slice(s,a));for(;s>0;){let c=Bt(n.text,s,!1);if(r(n.text.slice(c,s))!=l)break;s=c}for(;a<n.length;){let c=Bt(n.text,a);if(r(n.text.slice(a,c))!=l)break;a=c}return K.range(s+n.from,a+n.from)}function tV(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function iV(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function U1(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function eP(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function tP(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function ry(t,e,i){let r,n,o,s,a=!1,l,c,u,f;for(let g=t.firstChild;g;g=g.nextSibling){let x=Ru(g);for(let S=0;S<x.length;S++){let w=x[S];n&&U1(n,w)&&(w=eP(tP(w,n.bottom),n.top));let T=tV(e,w),A=iV(i,w);if(T==0&&A==0)return g.nodeType==3?iP(g,e,i):ry(g,e,i);if(!r||s>A||s==A&&o>T){r=g,n=w,o=T,s=A;let I=A?i<w.top?-1:1:T?e<w.left?-1:1:0;a=!I||(I>0?S<x.length-1:S>0)}T==0?i>w.bottom&&(!u||u.bottom<w.bottom)?(l=g,u=w):i<w.top&&(!f||f.top>w.top)&&(c=g,f=w):u&&U1(u,w)?u=tP(u,w.bottom):f&&U1(f,w)&&(f=eP(f,w.top))}}if(u&&u.bottom>=i?(r=l,n=u):f&&f.top<=i&&(r=c,n=f),!r)return{node:t,offset:0};let d=Math.max(n.left,Math.min(n.right,e));if(r.nodeType==3)return iP(r,d,i);if(a&&r.contentEditable!="false")return ry(r,d,i);let O=Array.prototype.indexOf.call(t.childNodes,r)+(e>=(n.left+n.right)/2?1:0);return{node:t,offset:O}}function iP(t,e,i){let r=t.nodeValue.length,n=-1,o=1e9,s=0;for(let a=0;a<r;a++){let l=Ws(t,a,a+1).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(u.top==u.bottom)continue;s||(s=e-u.left);let f=(u.top>i?u.top-i:i-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&f<o){let d=e>=(u.left+u.right)/2,O=d;if((Se.chrome||Se.gecko)&&Ws(t,a).getBoundingClientRect().left==u.right&&(O=!d),f<=0)return{node:t,offset:a+(O?1:0)};n=a+(O?1:0),o=f}}}return{node:t,offset:n>-1?n:s>0?t.nodeValue.length:0}}function OQ(t,e,i,r=-1){var n,o;let s=t.contentDOM.getBoundingClientRect(),a=s.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:u,y:f}=e,d=f-a;if(d<0)return 0;if(d>c)return t.state.doc.length;for(let I=t.viewState.heightOracle.textHeight/2,C=!1;l=t.elementAtHeight(d),l.type!=Ri.Text;)for(;d=r>0?l.bottom+I:l.top-I,!(d>=0&&d<=c);){if(C)return i?null:0;C=!0,r=-r}f=a+d;let O=l.from;if(O<t.viewport.from)return t.viewport.from==0?0:i?null:rP(t,s,l,u,f);if(O>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:rP(t,s,l,u,f);let g=t.dom.ownerDocument,x=t.root.elementFromPoint?t.root:g,S=x.elementFromPoint(u,f);S&&!t.contentDOM.contains(S)&&(S=null),S||(u=Math.max(s.left+1,Math.min(s.right-1,u)),S=x.elementFromPoint(u,f),S&&!t.contentDOM.contains(S)&&(S=null));let w,T=-1;if(S&&((n=t.docView.nearest(S))===null||n===void 0?void 0:n.isEditable)!=!1){if(g.caretPositionFromPoint){let I=g.caretPositionFromPoint(u,f);I&&({offsetNode:w,offset:T}=I)}else if(g.caretRangeFromPoint){let I=g.caretRangeFromPoint(u,f);I&&({startContainer:w,startOffset:T}=I,(!t.contentDOM.contains(w)||Se.safari&&rV(w,T,u)||Se.chrome&&nV(w,T,u))&&(w=void 0))}}if(!w||!t.docView.dom.contains(w)){let I=li.find(t.docView,O);if(!I)return d>l.top+l.height/2?l.to:l.from;({node:w,offset:T}=ry(I.dom,u,f))}let A=t.docView.nearest(w);if(!A)return null;if(A.isWidget&&((o=A.dom)===null||o===void 0?void 0:o.nodeType)==1){let I=A.dom.getBoundingClientRect();return e.y<I.top||e.y<=I.bottom&&e.x<=(I.left+I.right)/2?A.posAtStart:A.posAtEnd}else return A.localPosFromDOM(w,T)+A.posAtStart}function rP(t,e,i,r,n){let o=Math.round((r-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>t.defaultLineHeight*1.5){let a=t.viewState.heightOracle.textHeight,l=Math.floor((n-i.top-(t.defaultLineHeight-a)*.5)/a);o+=l*t.viewState.heightOracle.lineLength}let s=t.state.sliceDoc(i.from,i.to);return i.from+OO(s,o,t.state.tabSize)}function rV(t,e,i){let r;if(t.nodeType!=3||e!=(r=t.nodeValue.length))return!1;for(let n=t.nextSibling;n;n=n.nextSibling)if(n.nodeType!=1||n.nodeName!="BR")return!1;return Ws(t,r-1,r).getBoundingClientRect().left>i}function nV(t,e,i){if(e!=0)return!1;for(let n=t;;){let o=n.parentNode;if(!o||o.nodeType!=1||o.firstChild!=n)return!1;if(o.classList.contains("cm-line"))break;n=o}let r=t.nodeType==1?t.getBoundingClientRect():Ws(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-r.left>5}function ny(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let r of i.type)if(r.to>e||r.to==e&&(r.to==i.to||r.type==Ri.Text))return r}return i}function oV(t,e,i,r){let n=ny(t,e.head),o=!r||n.type!=Ri.Text||!(t.lineWrapping||n.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>n.from?e.head-1:e.head);if(o){let s=t.dom.getBoundingClientRect(),a=t.textDirectionAt(n.from),l=t.posAtCoords({x:i==(a==st.LTR)?s.right-1:s.left+1,y:(o.top+o.bottom)/2});if(l!=null)return K.cursor(l,i?-1:1)}return K.cursor(i?n.to:n.from,i?-1:1)}function nP(t,e,i,r){let n=t.state.doc.lineAt(e.head),o=t.bidiSpans(n),s=t.textDirectionAt(n.from);for(let a=e,l=null;;){let c=WW(n,o,s,a,i),u=GP;if(!c){if(n.number==(i?t.state.doc.lines:1))return a;u=`
`,n=t.state.doc.line(n.number+(i?1:-1)),o=t.bidiSpans(n),c=t.visualLineSide(n,!i)}if(l){if(!l(u))return a}else{if(!r)return c;l=r(u)}a=c}}function sV(t,e,i){let r=t.state.charCategorizer(e),n=r(i);return o=>{let s=r(o);return n==dt.Space&&(n=s),n==s}}function aV(t,e,i,r){let n=e.head,o=i?1:-1;if(n==(i?t.state.doc.length:0))return K.cursor(n,e.assoc);let s=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(n,e.assoc||-1),u=t.documentTop;if(c)s==null&&(s=c.left-l.left),a=o<0?c.top:c.bottom;else{let O=t.viewState.lineBlockAt(n);s==null&&(s=Math.min(l.right-l.left,t.defaultCharacterWidth*(n-O.from))),a=(o<0?O.top:O.bottom)+u}let f=l.left+s,d=r!=null?r:t.viewState.heightOracle.textHeight>>1;for(let O=0;;O+=10){let g=a+(d+O)*o,x=OQ(t,{x:f,y:g},!1,o);if(g<l.top||g>l.bottom||(o<0?x<n:x>n)){let S=t.docView.coordsForChar(x),w=!S||g<S.top?-1:1;return K.cursor(x,w,void 0,s)}}}function EO(t,e,i){for(;;){let r=0;for(let n of t)n.between(e-1,e+1,(o,s,a)=>{if(e>o&&e<s){let l=r||i||(e-o<s-e?-1:1);e=l<0?o:s,r=l}});if(!r)return e}}function N1(t,e,i){let r=EO(t.state.facet(zy).map(n=>n(t)),i.from,e.head>i.from?-1:1);return r==i.from?i:K.cursor(r,r<i.from?1:-1)}var ku="\uFFFF",oy=class{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(ot.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=ku}readRange(e,i){if(!e)return this;let r=e.parentNode;for(let n=e;;){this.findPointBefore(r,n);let o=this.text.length;this.readNode(n);let s=n.nextSibling;if(s==i)break;let a=bt.get(n),l=bt.get(s);(a&&l?a.breakAfter:(a?a.breakAfter:$O(n))||$O(s)&&(n.nodeName!="BR"||n.cmIgnore)&&this.text.length>o)&&this.lineBreak(),n=s}return this.findPointBefore(r,i),this}readTextNode(e){let i=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,i.length));for(let r=0,n=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,s=1,a;if(this.lineSeparator?(o=i.indexOf(this.lineSeparator,r),s=this.lineSeparator.length):(a=n.exec(i))&&(o=a.index,s=a[0].length),this.append(i.slice(r,o<0?i.length:o)),o<0)break;if(this.lineBreak(),s>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=s-1);r=o+s}}readNode(e){if(e.cmIgnore)return;let i=bt.get(e),r=i&&i.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let n=r.iter();!n.next().done;)n.lineBreak?this.lineBreak():this.append(n.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==i&&(r.pos=this.text.length)}findPointInside(e,i){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(lV(e,r.node,r.offset)?i:0))}};function lV(t,e,i){for(;;){if(!e||i<Zn(e))return!1;if(e==t)return!0;i=js(e)+1,e=e.parentNode}}var IO=class{constructor(e,i){this.node=e,this.offset=i,this.pos=-1}},sy=class{constructor(e,i,r,n){this.typeOver=n,this.bounds=null,this.text="",this.domChanged=i>-1;let{impreciseHead:o,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&i>-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,r,0))){let a=o||s?[]:fV(e),l=new oy(a,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=hV(a,this.bounds.from)}else{let a=e.observer.selectionRange,l=o&&o.node==a.focusNode&&o.offset==a.focusOffset||!V1(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),c=s&&s.node==a.anchorNode&&s.offset==a.anchorOffset||!V1(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=e.viewport;if((Se.ios||Se.chrome)&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.to<e.state.doc.length)){let f=Math.min(l,c),d=Math.max(l,c),O=u.from-f,g=u.to-d;(O==0||O==1||f==0)&&(g==0||g==-1||d==e.state.doc.length)&&(l=0,c=e.state.doc.length)}this.newSel=K.single(c,l)}}};function pQ(t,e){let i,{newSel:r}=e,n=t.state.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:s,to:a}=e.bounds,l=n.from,c=null;(o===8||Se.android&&e.text.length<a-s)&&(l=n.to,c="end");let u=uV(t.state.doc.sliceString(s,a,ku),e.text,l-s,c);u&&(Se.chrome&&o==13&&u.toB==u.from+2&&e.text.slice(u.from,u.toB)==ku+ku&&u.toB--,i={from:s+u.from,to:s+u.toA,insert:He.of(e.text.slice(u.from,u.toB).split(ku))})}else r&&(!t.hasFocus&&t.state.facet(qo)||r.main.eq(n))&&(r=null);if(!i&&!r)return!1;if(!i&&e.typeOver&&!n.empty&&r&&r.main.empty?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,n.to)}:i&&i.from>=n.from&&i.to<=n.to&&(i.from!=n.from||i.to!=n.to)&&n.to-n.from-(i.to-i.from)<=4?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,n.to))}:(Se.mac||Se.android)&&i&&i.from==i.to&&i.from==n.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&i.insert.length==2&&(r=K.single(r.main.anchor-1,r.main.head-1)),i={from:n.from,to:n.to,insert:He.of([" "])}):Se.chrome&&i&&i.from==i.to&&i.from==n.head&&i.insert.toString()==`
`&&t.lineWrapping&&(r&&(r=K.single(r.main.anchor-1,r.main.head-1)),i={from:n.from,to:n.to,insert:He.of([" "])}),i)return Dy(t,i,r,o);if(r&&!r.main.eq(n)){let s=!1,a="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(s=!0),a=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:s,userEvent:a}),!0}else return!1}function Dy(t,e,i,r=-1){if(Se.ios&&t.inputState.flushIOSKey(e))return!0;let n=t.state.selection.main;if(Se.android&&(e.to==n.to&&(e.from==n.from||e.from==n.from-1&&t.state.sliceDoc(e.from,n.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&hl(t.contentDOM,"Enter",13)||(e.from==n.from-1&&e.to==n.to&&e.insert.length==0||r==8&&e.insert.length<e.to-e.from&&e.to>n.head)&&hl(t.contentDOM,"Backspace",8)||e.from==n.from&&e.to==n.to+1&&e.insert.length==0&&hl(t.contentDOM,"Delete",46)))return!0;let o=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let s,a=()=>s||(s=cV(t,e,i));return t.state.facet(iQ).some(l=>l(t,e.from,e.to,o,a))||t.dispatch(a()),!0}function cV(t,e,i){let r,n=t.state,o=n.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=o.from<e.from?n.sliceDoc(o.from,e.from):"",l=o.to>e.to?n.sliceDoc(e.to,o.to):"";r=n.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let a=n.changes(e),l=i&&i.main.to<=a.newLength?i.main:void 0;if(n.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let c=t.state.sliceDoc(e.from,e.to),u,f=i&&dQ(t,i.main.head);if(f){let g=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-g}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,O=o.to-o.from;r=n.changeByRange(g=>{if(g.from==o.from&&g.to==o.to)return{changes:a,range:l||g.map(a)};let x=g.to-d,S=x-c.length;if(g.to-g.from!=O||t.state.sliceDoc(S,x)!=c||g.to>=u.from&&g.from<=u.to)return{range:g};let w=n.changes({from:S,to:x,insert:e.insert}),T=g.to-o.to;return{changes:w,range:l?K.range(Math.max(0,l.anchor+T),Math.max(0,l.head+T)):g.map(w)}})}else r={changes:a,selection:l&&n.selection.replaceRange(l)}}let s="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,s+=".compose",t.inputState.compositionFirstChange&&(s+=".start",t.inputState.compositionFirstChange=!1)),n.update(r,{userEvent:s,scrollIntoView:!0})}function uV(t,e,i,r){let n=Math.min(t.length,e.length),o=0;for(;o<n&&t.charCodeAt(o)==e.charCodeAt(o);)o++;if(o==n&&t.length==e.length)return null;let s=t.length,a=e.length;for(;s>0&&a>0&&t.charCodeAt(s-1)==e.charCodeAt(a-1);)s--,a--;if(r=="end"){let l=Math.max(0,o-Math.min(s,a));i-=s+l-o}if(s<o&&t.length<e.length){let l=i<=o&&i>=s?o-i:0;o-=l,a=o+(a-s),s=o}else if(a<o){let l=i<=o&&i>=a?o-i:0;o-=l,s=o+(s-a),a=o}return{from:o,toA:s,toB:a}}function fV(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:r,focusNode:n,focusOffset:o}=t.observer.selectionRange;return i&&(e.push(new IO(i,r)),(n!=i||o!=r)&&e.push(new IO(n,o))),e}function hV(t,e){if(t.length==0)return null;let i=t[0].pos,r=t.length==2?t[1].pos:i;return i>-1&&r>-1?K.single(i+e,r+e):null}var ay=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,Se.safari&&e.contentDOM.addEventListener("input",()=>null),Se.gecko&&PV(e.contentDOM.ownerDocument)}handleEvent(e){!yV(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,i){let r=this.handlers[e];if(r){for(let n of r.observers)n(this.view,i);for(let n of r.handlers){if(i.defaultPrevented)break;if(n(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=dV(e),r=this.handlers,n=this.view.contentDOM;for(let o in i)if(o!="scroll"){let s=!i[o].handlers.length,a=r[o];a&&s!=!a.handlers.length&&(n.removeEventListener(o,this.handleEvent),a=null),a||n.addEventListener(o,this.handleEvent,{passive:s})}for(let o in r)o!="scroll"&&!i[o]&&n.removeEventListener(o,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&gQ.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),Se.android&&Se.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let i;return Se.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((i=mQ.find(r=>r.keyCode==e.keyCode))&&!e.ctrlKey||OV.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let i=this.pendingIOSKey;return!i||i.key=="Enter"&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,hl(this.view.contentDOM,i.key,i.keyCode,i instanceof KeyboardEvent?i:void 0))}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Se.safari&&!Se.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.view.observer.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 oP(t,e){return(i,r)=>{try{return e.call(t,r,i)}catch(n){ci(i.state,n)}}}function dV(t){let e=Object.create(null);function i(r){return e[r]||(e[r]={observers:[],handlers:[]})}for(let r of t){let n=r.spec;if(n&&n.domEventHandlers)for(let o in n.domEventHandlers){let s=n.domEventHandlers[o];s&&i(o).handlers.push(oP(r.value,s))}if(n&&n.domEventObservers)for(let o in n.domEventObservers){let s=n.domEventObservers[o];s&&i(o).observers.push(oP(r.value,s))}}for(let r in Ur)i(r).handlers.push(Ur[r]);for(let r in gr)i(r).observers.push(gr[r]);return e}var mQ=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],OV="dthko",gQ=[16,17,18,20,91,92,224,225],bO=6;function yO(t){return Math.max(0,t)*.7+8}function pV(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}var ly=class{constructor(e,i,r,n){this.view=e,this.startEvent=i,this.style=r,this.mustSelect=n,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParents=CW(e.contentDOM),this.atoms=e.state.facet(zy).map(s=>s(e));let o=e.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(ot.allowMultipleSelections)&&mV(e,i),this.dragging=bV(e,i)&&xQ(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&pV(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,r=0,n=0,o=0,s=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:n,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:o,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=hQ(this.view);e.clientX-l.left<=n+bO?i=-yO(n-e.clientX):e.clientX+l.right>=s-bO&&(i=yO(e.clientX-s)),e.clientY-l.top<=o+bO?r=-yO(o-e.clientY):e.clientY+l.bottom>=a-bO&&(r=yO(e.clientY-a)),this.setScrollSpeed(i,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:i}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),i&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=i,i=0),(e||i)&&this.view.win.scrollBy(e,i),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let r=0;r<e.ranges.length;r++){let n=e.ranges[r],o=null;if(n.empty){let s=EO(this.atoms,n.from,0);s!=n.from&&(o=K.cursor(s,-1))}else{let s=EO(this.atoms,n.from,-1),a=EO(this.atoms,n.to,1);(s!=n.from||a!=n.to)&&(o=K.range(n.from==n.anchor?s:a,n.from==n.head?s:a))}o&&(i||(i=e.ranges.slice()),i[r]=o)}return i?K.create(i,e.mainIndex):e}select(e){let{view:i}=this,r=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!r.eq(i.state.selection,this.dragging===!1))&&this.view.dispatch({selection:r,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(i=>i.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};function mV(t,e){let i=t.state.facet(KP);return i.length?i[0](e):Se.mac?e.metaKey:e.ctrlKey}function gV(t,e){let i=t.state.facet(JP);return i.length?i[0](e):Se.mac?!e.altKey:!e.ctrlKey}function bV(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let r=Xu(t.root);if(!r||r.rangeCount==0)return!0;let n=r.getRangeAt(0).getClientRects();for(let o=0;o<n.length;o++){let s=n[o];if(s.left<=e.clientX&&s.right>=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}function yV(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,r;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(r=bt.get(i))&&r.ignoreEvent(e))return!1;return!0}var Ur=Object.create(null),gr=Object.create(null),bQ=Se.ie&&Se.ie_version<15||Se.ios&&Se.webkit_version<604;function xV(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),yQ(t,i.value)},50)}function yQ(t,e){let{state:i}=t,r,n=1,o=i.toText(e),s=o.lines==i.selection.ranges.length;if(cy!=null&&i.selection.ranges.every(l=>l.empty)&&cy==o.toString()){let l=-1;r=i.changeByRange(c=>{let u=i.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=i.toText((s?o.line(n++).text:e)+i.lineBreak);return{changes:{from:u.from,insert:f},range:K.cursor(c.from+f.length)}})}else s?r=i.changeByRange(l=>{let c=o.line(n++);return{changes:{from:l.from,to:l.to,insert:c.text},range:K.cursor(l.from+c.length)}}):r=i.replaceSelection(o);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}gr.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Ur.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);gr.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};gr.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Ur.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let r of t.state.facet(eQ))if(i=r(t,e),i)break;if(!i&&e.button==0&&(i=kV(t,e)),i){let r=!t.hasFocus;t.inputState.startMouseSelection(new ly(t,e,i,r)),r&&t.observer.ignore(()=>{RP(t.contentDOM);let o=t.root.activeElement;o&&!o.contains(t.contentDOM)&&o.blur()});let n=t.inputState.mouseSelection;if(n)return n.start(e),n.dragging===!1}return!1};function sP(t,e,i,r){if(r==1)return K.cursor(e,i);if(r==2)return eV(t.state,e,i);{let n=li.find(t.docView,e),o=t.state.doc.lineAt(n?n.posAtEnd:e),s=n?n.posAtStart:o.from,a=n?n.posAtEnd:o.to;return a<t.state.doc.length&&a==o.to&&a++,K.range(s,a)}}var aP=(t,e,i)=>e>=i.top&&e<=i.bottom&&t>=i.left&&t<=i.right;function vV(t,e,i,r){let n=li.find(t.docView,e);if(!n)return 1;let o=e-n.posAtStart;if(o==0)return 1;if(o==n.length)return-1;let s=n.coordsAt(o,-1);if(s&&aP(i,r,s))return-1;let a=n.coordsAt(o,1);return a&&aP(i,r,a)?1:s&&s.bottom>=r?-1:1}function lP(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:vV(t,i,e.clientX,e.clientY)}}var wV=Se.ie&&Se.ie_version<=11,cP=null,uP=0,fP=0;function xQ(t){if(!wV)return t.detail;let e=cP,i=fP;return cP=t,fP=Date.now(),uP=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(uP+1)%3:1}function kV(t,e){let i=lP(t,e),r=xQ(e),n=t.state.selection;return{update(o){o.docChanged&&(i.pos=o.changes.mapPos(i.pos),n=n.map(o.changes))},get(o,s,a){let l=lP(t,o),c,u=sP(t,l.pos,l.bias,r);if(i.pos!=l.pos&&!s){let f=sP(t,i.pos,i.bias,r),d=Math.min(f.from,u.from),O=Math.max(f.to,u.to);u=d<u.from?K.range(d,O):K.range(O,d)}return s?n.replaceRange(n.main.extend(u.from,u.to)):a&&r==1&&n.ranges.length>1&&(c=SV(n,l.pos))?c:a?n.addRange(u):K.create([u])}}}function SV(t,e){for(let i=0;i<t.ranges.length;i++){let{from:r,to:n}=t.ranges[i];if(r<=e&&n>=e)return K.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Ur.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let n=t.docView.nearest(e.target);if(n&&n.isWidget){let o=n.posAtStart,s=o+n.length;(o>=i.to||s<=i.from)&&(i=K.range(o,s))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Ur.dragend=t=>(t.inputState.draggedContent=null,!1);function hP(t,e,i,r){if(!i)return;let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,s=r&&o&&gV(t,e)?{from:o.from,to:o.to}:null,a={from:n,insert:i},l=t.state.changes(s?[s,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(n,-1),head:l.mapPos(n,1)},userEvent:s?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Ur.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let r=Array(i.length),n=0,o=()=>{++n==i.length&&hP(t,e,r.filter(s=>s!=null).join(t.state.lineBreak),!1)};for(let s=0;s<i.length;s++){let a=new FileReader;a.onerror=o,a.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(r[s]=a.result),o()},a.readAsText(i[s])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return hP(t,e,r,!0),!0}return!1};Ur.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=bQ?null:e.clipboardData;return i?(yQ(t,i.getData("text/plain")||i.getData("text/uri-list")),!0):(xV(t),!1)};function TV(t,e){let i=t.dom.parentNode;if(!i)return;let r=i.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}function EV(t){let e=[],i=[],r=!1;for(let n of t.selection.ranges)n.empty||(e.push(t.sliceDoc(n.from,n.to)),i.push(n));if(!e.length){let n=-1;for(let{from:o}of t.selection.ranges){let s=t.doc.lineAt(o);s.number>n&&(e.push(s.text),i.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),n=s.number}r=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:r}}var cy=null;Ur.copy=Ur.cut=(t,e)=>{let{text:i,ranges:r,linewise:n}=EV(t.state);if(!i&&!n)return!1;cy=n?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=bQ?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",i),!0):(TV(t,i),!1)};var vQ=vi.define();function wQ(t,e){let i=[];for(let r of t.facet(rQ)){let n=r(t,e);n&&i.push(n)}return i?t.update({effects:i,annotations:vQ.of(!0)}):null}function kQ(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=wQ(t.state,e);i?t.dispatch(i):t.update([])}},10)}gr.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),kQ(t)};gr.blur=t=>{t.observer.clearSelectionRange(),kQ(t)};gr.compositionstart=gr.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};gr.compositionend=t=>{t.observer.editContext||(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,Se.chrome&&Se.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};gr.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Ur.beforeinput=(t,e)=>{var i,r;if(e.inputType=="insertReplacementText"&&t.observer.editContext){let o=(i=e.dataTransfer)===null||i===void 0?void 0:i.getData("text/plain"),s=e.getTargetRanges();if(o&&s.length){let a=s[0],l=t.posAtDOM(a.startContainer,a.startOffset),c=t.posAtDOM(a.endContainer,a.endOffset);return Dy(t,{from:l,to:c,insert:t.state.toText(o)},null),!0}}let n;if(Se.chrome&&Se.android&&(n=mQ.find(o=>o.inputType==e.inputType))&&(t.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let o=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>o+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return Se.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),Se.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>gr.compositionend(t,e),20),!1};var dP=new Set;function PV(t){dP.has(t)||(dP.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}var OP=["pre-wrap","normal","pre-line","break-spaces"],dl=!1;function pP(){dl=!1}var uy=class{constructor(e){this.lineWrapping=e,this.doc=He.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,i){let r=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((i-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return OP.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let r=0;r<e.length;r++){let n=e[r];n<0?r++:this.heightSamples[Math.floor(n*10)]||(i=!0,this.heightSamples[Math.floor(n*10)]=!0)}return i}refresh(e,i,r,n,o,s){let a=OP.indexOf(e)>-1,l=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=i,this.charWidth=r,this.textHeight=n,this.lineLength=o,l){this.heightSamples={};for(let c=0;c<s.length;c++){let u=s[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}},fy=class{constructor(e,i){this.from=e,this.heights=i,this.index=0}get more(){return this.index<this.heights.length}},an=class t{constructor(e,i,r,n,o){this.from=e,this.length=i,this.top=r,this.height=n,this._content=o}get type(){return typeof this._content=="number"?Ri.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 Zo?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let i=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new t(this.from,this.length+e.length,this.top,this.height+e.height,i)}},vt=function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t}(vt||(vt={})),PO=.001,er=class t{constructor(e,i,r=2){this.length=e,this.height=i,this.flags=r}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>PO&&(dl=!0),this.height=e)}replace(e,i,r){return t.of(r)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,r,n){let o=this,s=r.doc;for(let a=n.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:f}=n[a],d=o.lineAt(l,vt.ByPosNoHeight,r.setDoc(i),0,0),O=d.to>=c?d:o.lineAt(c,vt.ByPosNoHeight,r,0,0);for(f+=O.to-c,c=O.to;a>0&&d.from<=n[a-1].toA;)l=n[a-1].fromA,u=n[a-1].fromB,a--,l<d.from&&(d=o.lineAt(l,vt.ByPosNoHeight,r,0,0));u+=d.from-l,l=d.from;let g=dy.build(r.setDoc(s),e,u,f);o=zO(o,o.replace(l,c,g))}return o.updateHeight(r,0)}static empty(){return new mr(0,0)}static of(e){if(e.length==1)return e[0];let i=0,r=e.length,n=0,o=0;for(;;)if(i==r)if(n>o*2){let a=e[i-1];a.break?e.splice(--i,1,a.left,null,a.right):e.splice(--i,1,a.left,a.right),r+=1+a.break,n-=a.size}else if(o>n*2){let a=e[r];a.break?e.splice(r,1,a.left,null,a.right):e.splice(r,1,a.left,a.right),r+=2+a.break,o-=a.size}else break;else if(n<o){let a=e[i++];a&&(n+=a.size)}else{let a=e[--r];a&&(o+=a.size)}let s=0;return e[i-1]==null?(s=1,i--):e[i]==null&&(s=1,r++),new hy(t.of(e.slice(0,i)),s,t.of(e.slice(r)))}};function zO(t,e){return t==e?t:(t.constructor!=e.constructor&&(dl=!0),e)}er.prototype.size=1;var DO=class extends er{constructor(e,i,r){super(e,i),this.deco=r}blockAt(e,i,r,n){return new an(n,this.length,r,this.height,this.deco||0)}lineAt(e,i,r,n,o){return this.blockAt(0,r,n,o)}forEachLine(e,i,r,n,o,s){e<=o+this.length&&i>=o&&s(this.blockAt(0,r,n,o))}updateHeight(e,i=0,r=!1,n){return n&&n.from<=i&&n.more&&this.setHeight(n.heights[n.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},mr=class t extends DO{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,r,n){return new an(n,this.length,r,this.height,this.breaks)}replace(e,i,r){let n=r[0];return r.length==1&&(n instanceof t||n instanceof Wo&&n.flags&4)&&Math.abs(this.length-n.length)<10?(n instanceof Wo?n=new t(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):er.of(r)}updateHeight(e,i=0,r=!1,n){return n&&n.from<=i&&n.more?this.setHeight(n.heights[n.index++]):(r||this.outdated)&&this.setHeight(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:""})`}},Wo=class t extends er{constructor(e){super(e,0)}heightMetrics(e,i){let r=e.doc.lineAt(i).number,n=e.doc.lineAt(i+this.length).number,o=n-r+1,s,a=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);s=l/o,this.length>o+1&&(a=(this.height-l)/(this.length-o-1))}else s=this.height/o;return{firstLine:r,lastLine:n,perLine:s,perChar:a}}blockAt(e,i,r,n){let{firstLine:o,lastLine:s,perLine:a,perChar:l}=this.heightMetrics(i,n);if(i.lineWrapping){let c=n+(e<i.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-r)/this.height))*this.length)),u=i.doc.lineAt(c),f=a+u.length*l,d=Math.max(r,e-f/2);return new an(u.from,u.length,d,f,0)}else{let c=Math.max(0,Math.min(s-o,Math.floor((e-r)/a))),{from:u,length:f}=i.doc.line(o+c);return new an(u,f,r+a*c,a,0)}}lineAt(e,i,r,n,o){if(i==vt.ByHeight)return this.blockAt(e,r,n,o);if(i==vt.ByPosNoHeight){let{from:O,to:g}=r.doc.lineAt(e);return new an(O,g-O,0,0,0)}let{firstLine:s,perLine:a,perChar:l}=this.heightMetrics(r,o),c=r.doc.lineAt(e),u=a+c.length*l,f=c.number-s,d=n+a*f+l*(c.from-o-f);return new an(c.from,c.length,Math.max(n,Math.min(d,n+this.height-u)),u,0)}forEachLine(e,i,r,n,o,s){e=Math.max(e,o),i=Math.min(i,o+this.length);let{firstLine:a,perLine:l,perChar:c}=this.heightMetrics(r,o);for(let u=e,f=n;u<=i;){let d=r.doc.lineAt(u);if(u==e){let g=d.number-a;f+=l*g+c*(e-o-g)}let O=l+c*d.length;s(new an(d.from,d.length,f,O,0)),f+=O,u=d.to+1}}replace(e,i,r){let n=this.length-i;if(n>0){let o=r[r.length-1];o instanceof t?r[r.length-1]=new t(o.length+n):r.push(null,new t(n-1))}if(e>0){let o=r[0];o instanceof t?r[0]=new t(e+o.length):r.unshift(new t(e-1),null)}return er.of(r)}decomposeLeft(e,i){i.push(new t(e-1),null)}decomposeRight(e,i){i.push(null,new t(this.length-e-1))}updateHeight(e,i=0,r=!1,n){let o=i+this.length;if(n&&n.from<=i+this.length&&n.more){let s=[],a=Math.max(i,n.from),l=-1;for(n.from>i&&s.push(new t(n.from-i-1).updateHeight(e,i));a<=o&&n.more;){let u=e.doc.lineAt(a).length;s.length&&s.push(null);let f=n.heights[n.index++];l==-1?l=f:Math.abs(f-l)>=PO&&(l=-2);let d=new mr(u,f);d.outdated=!1,s.push(d),a+=u+1}a<=o&&s.push(null,new t(o-a).updateHeight(e,a));let c=er.of(s);return(l<0||Math.abs(c.height-this.height)>=PO||Math.abs(l-this.heightMetrics(e,i).perLine)>=PO)&&(dl=!0),zO(this,c)}else(r||this.outdated)&&(this.setHeight(e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},hy=class extends er{constructor(e,i,r){super(e.length+i+r.length,e.height+r.height,i|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,i,r,n){let o=r+this.left.height;return e<o?this.left.blockAt(e,i,r,n):this.right.blockAt(e,i,o,n+this.left.length+this.break)}lineAt(e,i,r,n,o){let s=n+this.left.height,a=o+this.left.length+this.break,l=i==vt.ByHeight?e<s:e<a,c=l?this.left.lineAt(e,i,r,n,o):this.right.lineAt(e,i,r,s,a);if(this.break||(l?c.to<a:c.from>a))return c;let u=i==vt.ByPosNoHeight?vt.ByPosNoHeight:vt.ByPos;return l?c.join(this.right.lineAt(a,u,r,s,a)):this.left.lineAt(a,u,r,n,o).join(c)}forEachLine(e,i,r,n,o,s){let a=n+this.left.height,l=o+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,i,r,n,o,s),i>=l&&this.right.forEachLine(e,i,r,a,l,s);else{let c=this.lineAt(l,vt.ByPos,r,n,o);e<c.from&&this.left.forEachLine(e,c.from-1,r,n,o,s),c.to>=e&&c.from<=i&&s(c),i>c.to&&this.right.forEachLine(c.to+1,i,r,a,l,s)}}replace(e,i,r){let n=this.left.length+this.break;if(i<n)return this.balanced(this.left.replace(e,i,r),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-n,i-n,r));let o=[];e>0&&this.decomposeLeft(e,o);let s=o.length;for(let a of r)o.push(a);if(e>0&&mP(o,s-1),i<this.length){let a=o.length;this.decomposeRight(i,o),mP(o,a)}return er.of(o)}decomposeLeft(e,i){let r=this.left.length;if(e<=r)return this.left.decomposeLeft(e,i);i.push(this.left),this.break&&(r++,e>=r&&i.push(null)),e>r&&this.right.decomposeLeft(e-r,i)}decomposeRight(e,i){let r=this.left.length,n=r+this.break;if(e>=n)return this.right.decomposeRight(e-n,i);e<r&&this.left.decomposeRight(e,i),this.break&&e<n&&i.push(null),i.push(this.right)}balanced(e,i){return e.size>2*i.size||i.size>2*e.size?er.of(this.break?[e,null,i]:[e,i]):(this.left=zO(this.left,e),this.right=zO(this.right,i),this.setHeight(e.height+i.height),this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,r=!1,n){let{left:o,right:s}=this,a=i+o.length+this.break,l=null;return n&&n.from<=i+o.length&&n.more?l=o=o.updateHeight(e,i,r,n):o.updateHeight(e,i,r),n&&n.from<=a+s.length&&n.more?l=s=s.updateHeight(e,a,r,n):s.updateHeight(e,a,r),l?this.balanced(o,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}};function mP(t,e){let i,r;t[e]==null&&(i=t[e-1])instanceof Wo&&(r=t[e+1])instanceof Wo&&t.splice(e-1,3,new Wo(i.length+1+r.length))}var QV=5,dy=class t{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let r=Math.min(i,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof mr?n.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new mr(r-this.pos,-1)),this.writtenTo=r,i>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,r){if(e<i||r.heightRelevant){let n=r.widget?r.widget.estimatedHeight:0,o=r.widget?r.widget.lineBreaks:0;n<0&&(n=this.oracle.lineHeight);let s=i-e;r.block?this.addBlock(new DO(s,n,r)):(s||o||n>=QV)&&this.addLineDeco(n,o,s)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new mr(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let r=new Wo(i-e);return this.oracle.doc.lineAt(e).to==i&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof mr)return e;let i=new mr(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,r){let n=this.ensureLine();n.length+=r,n.collapsed+=r,n.widgetHeight=Math.max(n.widgetHeight,e),n.breaks+=i,this.writtenTo=this.pos=this.pos+r}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof mr)&&!this.isCovered?this.nodes.push(new mr(0,-1)):(this.writtenTo<this.pos||i==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let r=e;for(let n of this.nodes)n instanceof mr&&n.updateHeight(this.oracle,r),r+=n?n.length:1;return this.nodes}static build(e,i,r,n){let o=new t(r,e);return Je.spans(i,r,n,o,0),o.finish(r)}};function CV(t,e,i){let r=new Oy;return Je.compare(t,e,i,r,0),r.changes}var Oy=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,i,r,n){(e<i||r&&r.heightRelevant||n&&n.heightRelevant)&&K1(e,i,this.changes,5)}};function _V(t,e){let i=t.getBoundingClientRect(),r=t.ownerDocument,n=r.defaultView||window,o=Math.max(0,i.left),s=Math.min(n.innerWidth,i.right),a=Math.max(0,i.top),l=Math.min(n.innerHeight,i.bottom);for(let c=t.parentNode;c&&c!=r.body;)if(c.nodeType==1){let u=c,f=window.getComputedStyle(u);if((u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth)&&f.overflow!="visible"){let d=u.getBoundingClientRect();o=Math.max(o,d.left),s=Math.min(s,d.right),a=Math.max(a,d.top),l=Math.min(c==t.parentNode?n.innerHeight:l,d.bottom)}c=f.position=="absolute"||f.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:o-i.left,right:Math.max(o,s)-i.left,top:a-(i.top+e),bottom:Math.max(a,l)-(i.top+e)}}function $V(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}var _u=class{constructor(e,i,r){this.from=e,this.to=i,this.size=r}static same(e,i){if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],o=i[r];if(n.from!=o.from||n.to!=o.to||n.size!=o.size)return!1}return!0}draw(e,i){return ve.replace({widget:new py(this.size*(i?e.scaleY:e.scaleX),i)}).range(this.from,this.to)}},py=class extends ti{constructor(e,i){super(),this.size=e,this.vertical=i}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}},UO=class{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=gP,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=st.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let i=e.facet(Iy).some(r=>typeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new uy(i),this.stateDeco=e.facet(Nu).filter(r=>typeof r!="function"),this.heightMap=er.empty().applyChanges(this.stateDeco,He.empty,this.heightOracle.setDoc(e.doc),[new cn(0,0,0,e.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ve.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let r=0;r<=1;r++){let n=r?i.head:i.anchor;if(!e.some(({from:o,to:s})=>n>=o&&n<=s)){let{from:o,to:s}=this.lineBlockAt(n);e.push(new cl(o,s))}}return this.viewports=e.sort((r,n)=>r.from-n.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?gP:new my(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(Su(e,this.scaler))})}update(e,i=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(Nu).filter(u=>typeof u!="function");let n=e.changedRanges,o=cn.extendWithRanges(n,CV(r,this.stateDeco,e?e.changes:$i.empty(this.state.doc.length))),s=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);pP(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),(this.heightMap.height!=s||dl)&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.head<l.from||i.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,i));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(oQ)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let i=e.contentDOM,r=window.getComputedStyle(i),n=this.heightOracle,o=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?st.RTL:st.LTR;let s=this.heightOracle.mustRefreshForWrapping(o),a=i.getBoundingClientRect(),l=s||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:I,scaleY:C}=XP(i,a);(I>.005&&Math.abs(this.scaleX-I)>.005||C>.005&&Math.abs(this.scaleY-C)>.005)&&(this.scaleX=I,this.scaleY=C,c|=8,s=l=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,d=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(n.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let O=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=O&&(this.scrollAnchorHeight=-1,this.scrollTop=O),this.scrolledToBottom=IP(e.scrollDOM);let g=(this.printing?$V:_V)(i,this.paddingTop),x=g.top-this.pixelViewport.top,S=g.bottom-this.pixelViewport.bottom;this.pixelViewport=g;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 T=a.width;if((this.contentDOMWidth!=T||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let I=e.docView.measureVisibleLineHeights(this.viewport);if(n.mustRefreshForHeights(I)&&(s=!0),s||n.lineWrapping&&Math.abs(T-this.contentDOMWidth)>n.charWidth){let{lineHeight:C,charWidth:$,textHeight:j}=e.docView.measureTextSize();s=C>0&&n.refresh(o,C,$,j,T/$,I),s&&(e.docView.minWidth=0,c|=8)}x>0&&S>0?u=Math.max(x,S):x<0&&S<0&&(u=Math.min(x,S)),pP();for(let C of this.viewports){let $=C.from==this.viewport.from?I:e.docView.measureVisibleLineHeights(C);this.heightMap=(s?er.empty().applyChanges(this.stateDeco,He.empty,this.heightOracle,[new cn(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(n,0,s,new fy(C.from,$))}dl&&(c|=2)}let A=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return A&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||A)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),n=this.heightMap,o=this.heightOracle,{visibleTop:s,visibleBottom:a}=this,l=new cl(n.lineAt(s-r*1e3,vt.ByHeight,o,0,0).from,n.lineAt(a+(1-r)*1e3,vt.ByHeight,o,0,0).to);if(i){let{head:c}=i.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=n.lineAt(c,vt.ByPos,o,0,0),d;i.y=="center"?d=(f.top+f.bottom)/2-u/2:i.y=="start"||i.y=="nearest"&&c<l.from?d=f.top:d=f.bottom-u,l=new cl(n.lineAt(d-1e3/2,vt.ByHeight,o,0,0).from,n.lineAt(d+u+1e3/2,vt.ByHeight,o,0,0).to)}}return l}mapViewport(e,i){let r=i.mapPos(e.from,-1),n=i.mapPos(e.to,1);return new cl(this.heightMap.lineAt(r,vt.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(n,vt.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:i},r=0){if(!this.inView)return!0;let{top:n}=this.heightMap.lineAt(e,vt.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(i,vt.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:a}=this;return(e==0||n<=s-Math.max(10,Math.min(-r,250)))&&(i==this.state.doc.length||o>=a+Math.max(10,Math.min(r,250)))&&n>s-2*1e3&&o<a+2*1e3}mapLineGaps(e,i){if(!e.length||i.empty)return e;let r=[];for(let n of e)i.touchesRange(n.from,n.to)||r.push(new _u(i.mapPos(n.from),i.mapPos(n.to),n.size));return r}ensureLineGaps(e,i){let r=this.heightOracle.lineWrapping,n=r?1e4:2e3,o=n>>1,s=n<<1;if(this.defaultTextDirection!=st.LTR&&!r)return[];let a=[],l=(u,f,d,O)=>{if(f-u<o)return;let g=this.state.selection.main,x=[g.from];g.empty||x.push(g.to);for(let w of x)if(w>u&&w<f){l(u,w-10,d,O),l(w+10,f,d,O);return}let S=XV(e,w=>w.from>=d.from&&w.to<=d.to&&Math.abs(w.from-u)<o&&Math.abs(w.to-f)<o&&!x.some(T=>w.from<T&&w.to>T));if(!S){if(f<d.to&&i&&r&&i.visibleRanges.some(w=>w.from<=f&&w.to>=f)){let w=i.moveToLineBoundary(K.cursor(f),!1,!0).head;w>u&&(f=w)}S=new _u(u,f,this.gapSize(d,u,f,O))}a.push(S)},c=u=>{if(u.length<s||u.type!=Ri.Text)return;let f=AV(u.from,u.to,this.stateDeco);if(f.total<s)return;let d=this.scrollTarget?this.scrollTarget.range.head:null,O,g;if(r){let x=n/this.heightOracle.lineLength*this.heightOracle.lineHeight,S,w;if(d!=null){let T=vO(f,d),A=((this.visibleBottom-this.visibleTop)/2+x)/u.height;S=T-A,w=T+A}else S=(this.visibleTop-u.top-x)/u.height,w=(this.visibleBottom-u.top+x)/u.height;O=xO(f,S),g=xO(f,w)}else{let x=f.total*this.heightOracle.charWidth,S=n*this.heightOracle.charWidth,w,T;if(d!=null){let A=vO(f,d),I=((this.pixelViewport.right-this.pixelViewport.left)/2+S)/x;w=A-I,T=A+I}else w=(this.pixelViewport.left-S)/x,T=(this.pixelViewport.right+S)/x;O=xO(f,w),g=xO(f,T)}O>u.from&&l(u.from,O,u,f),g<u.to&&l(g,u.to,u,f)};for(let u of this.viewportLines)Array.isArray(u.type)?u.type.forEach(c):c(u);return a}gapSize(e,i,r,n){let o=vO(n,r)-vO(n,i);return this.heightOracle.lineWrapping?e.height*o:n.total*this.heightOracle.charWidth*o}updateLineGaps(e){_u.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=ve.set(e.map(i=>i.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];Je.spans(e,this.viewport.from,this.viewport.to,{span(n,o){i.push({from:n,to:o})},point(){}},20);let r=i.length!=this.visibleRanges.length||this.visibleRanges.some((n,o)=>n.from!=i[o].from||n.to!=i[o].to);return this.visibleRanges=i,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||Su(this.heightMap.lineAt(e,vt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(i=>i.top<=e&&i.bottom>=e)||Su(this.heightMap.lineAt(this.scaler.fromDOM(e),vt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return Su(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}},cl=class{constructor(e,i){this.from=e,this.to=i}};function AV(t,e,i){let r=[],n=t,o=0;return Je.spans(i,t,e,{span(){},point(s,a){s>n&&(r.push({from:n,to:s}),o+=s-n),n=a}},20),n<e&&(r.push({from:n,to:e}),o+=e-n),{total:o,ranges:r}}function xO({total:t,ranges:e},i){if(i<=0)return e[0].from;if(i>=1)return e[e.length-1].to;let r=Math.floor(t*i);for(let n=0;;n++){let{from:o,to:s}=e[n],a=s-o;if(r<=a)return o+r;r-=a}}function vO(t,e){let i=0;for(let{from:r,to:n}of t.ranges){if(e<=n){i+=e-r;break}i+=n-r}return i/t.total}function XV(t,e){for(let i of t)if(e(i))return i}var gP={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}},my=class t{constructor(e,i,r){let n=0,o=0,s=0;this.viewports=r.map(({from:a,to:l})=>{let c=i.lineAt(a,vt.ByPos,e,0,0).top,u=i.lineAt(l,vt.ByPos,e,0,0).bottom;return n+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-n)/(i.height-n);for(let a of this.viewports)a.domTop=s+(a.top-o)*this.scale,s=a.domBottom=a.domTop+(a.bottom-a.top),o=a.bottom}toDOM(e){for(let i=0,r=0,n=0;;i++){let o=i<this.viewports.length?this.viewports[i]:null;if(!o||e<o.top)return n+(e-r)*this.scale;if(e<=o.bottom)return o.domTop+(e-o.top);r=o.bottom,n=o.domBottom}}fromDOM(e){for(let i=0,r=0,n=0;;i++){let o=i<this.viewports.length?this.viewports[i]:null;if(!o||e<o.domTop)return r+(e-n)/this.scale;if(e<=o.domBottom)return o.top+(e-o.domTop);r=o.bottom,n=o.domBottom}}eq(e){return e instanceof t?this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((i,r)=>i.from==e.viewports[r].from&&i.to==e.viewports[r].to):!1}};function Su(t,e){if(e.scale==1)return t;let i=e.toDOM(t.top),r=e.toDOM(t.bottom);return new an(t.from,t.length,i,r-i,Array.isArray(t._content)?t._content.map(n=>Su(n,e)):t._content)}var wO=be.define({combine:t=>t.join(" ")}),gy=be.define({combine:t=>t.indexOf(!0)>-1}),by=qi.newName(),SQ=qi.newName(),TQ=qi.newName(),EQ={"&light":"."+SQ,"&dark":"."+TQ};function yy(t,e,i){return new qi(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,n=>{if(n=="&")return t;if(!i||!i[n])throw new RangeError(`Unsupported selector: ${n}`);return i[n]}):t+" "+r}})}var RV=yy("."+by,{"&":{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,overflowAnchor:"none"},".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,zIndex:300},"&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"}},EQ),LV={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},M1=Se.ie&&Se.ie_version<=11,xy=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new Z1,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let r of i)this.queue.push(r);(Se.ie&&Se.ie_version<=11||Se.ios&&e.composing)&&i.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&!(Se.chrome&&Se.chrome_version<126)&&(this.editContext=new vy(e),e.state.facet(qo)&&(e.contentDOM.editContext=this.editContext.editContext)),M1&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(i=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,r)=>i!=e[r]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,n=this.selectionRange;if(r.state.facet(qo)?r.root.activeElement!=this.dom:!TO(r.dom,n))return;let o=n.anchorNode&&r.docView.nearest(n.anchorNode);if(o&&o.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(Se.ie&&Se.ie_version<=11||Se.android&&Se.chrome)&&!r.state.selection.main.empty&&n.focusNode&&Eu(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=Xu(e.root);if(!i)return!1;let r=Se.safari&&e.root.nodeType==11&&EW(this.dom.ownerDocument)==this.dom&&IV(this.view,i)||i;if(!r||this.selectionRange.eq(r))return!1;let n=TO(this.dom,r);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&$W(this.dom,r)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(r),n&&(this.selectionChanged=!0),!0)}setSelectionRange(e,i){this.selectionRange.set(e.node,e.offset,i.node,i.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,i=null;for(let r=this.dom;r;)if(r.nodeType==1)!i&&e<this.scrollTargets.length&&this.scrollTargets[e]==r?e++:i||(i=this.scrollTargets.slice(0,e)),i&&i.push(r),r=r.assignedSlot||r.parentNode;else if(r.nodeType==11)r=r.host;else break;if(e<this.scrollTargets.length&&!i&&(i=this.scrollTargets.slice(0,e)),i){for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);for(let r of this.scrollTargets=i)r.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,LV),M1&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),M1&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,i){var r;if(!this.delayedAndroidKey){let n=()=>{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&hl(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(n)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange<Date.now()-50||!!(!((r=this.delayedAndroidKey)===null||r===void 0)&&r.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,r=-1,n=!1;for(let o of e){let s=this.readMutation(o);s&&(s.typeOver&&(n=!0),i==-1?{from:i,to:r}=s:(i=Math.min(s.from,i),r=Math.max(s.to,r)))}return{from:i,to:r,typeOver:n}}readChange(){let{from:e,to:i,typeOver:r}=this.processRecords(),n=this.selectionChanged&&TO(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 sy(this.view,e,i,r);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let r=this.view.state,n=pQ(this.view,i);return this.view.state==r&&(i.domChanged||i.newSel&&!i.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),n}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let r=bP(i,e.previousSibling||e.target.previousSibling,-1),n=bP(i,e.nextSibling||e.target.nextSibling,1);return{from:r?i.posAfter(r):i.posAtStart,to:n?i.posBefore(n):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(qo)!=e.state.facet(qo)&&(e.view.contentDOM.editContext=e.state.facet(qo)?this.editContext.editContext:null))}destroy(){var e,i,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}};function bP(t,e,i){for(;e;){let r=bt.get(e);if(r&&r.parent==t)return r;let n=e.parentNode;e=n!=t.dom?n:i>0?e.nextSibling:e.previousSibling}return null}function yP(t,e){let i=e.startContainer,r=e.startOffset,n=e.endContainer,o=e.endOffset,s=t.docView.domAtPos(t.state.selection.main.anchor);return Eu(s.node,s.offset,n,o)&&([i,r,n,o]=[n,o,i,r]),{anchorNode:i,anchorOffset:r,focusNode:n,focusOffset:o}}function IV(t,e){if(e.getComposedRanges){let n=e.getComposedRanges(t.root)[0];if(n)return yP(t,n)}let i=null;function r(n){n.preventDefault(),n.stopImmediatePropagation(),i=n.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),i?yP(t,i):null}var vy=class{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.resetRange(e.state);let i=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=r=>{let{anchor:n}=e.state.selection.main,o={from:this.toEditorPos(r.updateRangeStart),to:this.toEditorPos(r.updateRangeEnd),insert:He.of(r.text.split(`
`))};o.from==this.from&&n<this.from?o.from=n:o.to==this.to&&n>this.to&&(o.to=n),!(o.from==o.to&&!o.insert.length)&&(this.pendingContextChange=o,e.state.readOnly||Dy(e,o,K.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd))),this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)))},this.handlers.characterboundsupdate=r=>{let n=[],o=null;for(let s=this.toEditorPos(r.rangeStart),a=this.toEditorPos(r.rangeEnd);s<a;s++){let l=e.coordsForChar(s);o=l&&new DOMRect(l.left,l.top,l.right-l.left,l.bottom-l.top)||o||new DOMRect,n.push(o)}i.updateCharacterBounds(r.rangeStart,n)},this.handlers.textformatupdate=r=>{let n=[];for(let o of r.getTextFormats()){let s=o.underlineStyle,a=o.underlineThickness;if(s!="None"&&a!="None"){let l=`text-decoration: underline ${s=="Dashed"?"dashed ":s=="Squiggle"?"wavy ":""}${a=="Thin"?1:2}px`;n.push(ve.mark({attributes:{style:l}}).range(this.toEditorPos(o.rangeStart),this.toEditorPos(o.rangeEnd)))}}e.dispatch({effects:aQ.of(ve.set(n))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{e.inputState.composing=-1,e.inputState.compositionFirstChange=null};for(let r in this.handlers)i.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let n=Xu(r.root);n&&n.rangeCount&&this.editContext.updateSelectionBounds(n.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let i=0,r=!1,n=this.pendingContextChange;return e.changes.iterChanges((o,s,a,l,c)=>{if(r)return;let u=c.length-(s-o);if(n&&s>=n.to)if(n.from==o&&n.to==s&&n.insert.eq(c)){n=this.pendingContextChange=null,i+=u,this.to+=u;return}else n=null,this.revertPending(e.state);if(o+=i,s+=i,s<=this.from)this.from+=u,this.to+=u;else if(o<this.to){if(o<this.from||s>this.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(o),this.toContextPos(s),c.toString()),this.to+=u}i+=u}),n&&!r&&this.revertPending(e.state),!r}update(e){let i=this.pendingContextChange;!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.resetRange(e.state),this.editContext.updateText(0,this.editContext.text.length,e.state.doc.sliceString(this.from,this.to)),this.setSelection(e.state)):(e.docChanged||e.selectionSet||i)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:i}=e.selection.main;this.from=Math.max(0,i-1e4),this.to=Math.min(e.doc.length,i+1e4)}revertPending(e){let i=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(i.from),this.toContextPos(i.from+i.insert.length),e.doc.sliceString(i.from,i.to))}setSelection(e){let{main:i}=e.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,i.anchor))),n=this.toContextPos(i.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=n)&&this.editContext.updateSelection(r,n)}rangeIsValid(e){let{head:i}=e.selection.main;return!(this.from>0&&i-this.from<500||this.to<e.doc.length&&this.to-i<500||this.to-this.from>1e4*3)}toEditorPos(e){return e+this.from}toContextPos(e){return e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}},he=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={}){var i;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&&(n=>n.forEach(o=>r(o,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||_W(e.parent)||document,this.viewState=new UO(e.state||ot.create(e)),e.scrollTo&&e.scrollTo.is(gO)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(vu).map(n=>new Cu(n));for(let n of this.plugins)n.update(this);this.observer=new xy(this),this.inputState=new ay(this),this.inputState.ensureHandlers(this.plugins),this.docView=new LO(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((i=document.fonts)===null||i===void 0)&&i.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let i=e.length==1&&e[0]instanceof Ct?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,r=!1,n,o=this.state;for(let d of e){if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=d.state}if(this.destroyed){this.viewState.state=o;return}let s=this.hasFocus,a=0,l=null;e.some(d=>d.annotation(vQ))?(this.inputState.notifiedFocused=s,a=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=wQ(o,s),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(u=null)):this.observer.clear(),o.facet(ot.phrases)!=this.state.facet(ot.phrases))return this.setState(o);n=RO.create(this,o,e),n.flags|=a;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(f&&(f=f.map(d.changes)),d.scrollIntoView){let{main:O}=d.state.selection;f=new Qu(O.empty?O:K.cursor(O.head,O.head>O.anchor?-1:1))}for(let O of d.effects)O.is(gO)&&(f=O.value.clip(this.state))}this.viewState.update(n,f),this.bidiCache=NO.update(this.bidiCache,n.changes),n.empty||(this.updatePlugins(n),this.inputState.update(n)),i=this.docView.update(n),this.state.facet(wu)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(n.startState.facet(wO)!=n.state.facet(wO)&&(this.viewState.mustMeasureContent=!0),(i||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!n.empty)for(let d of this.state.facet(iy))try{d(n)}catch(O){ci(this.state,O,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!pQ(this,u)&&c.force&&hl(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new UO(e),this.plugins=e.facet(vu).map(r=>new Cu(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new LO(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(vu),r=e.state.facet(vu);if(i!=r){let n=[];for(let o of r){let s=i.indexOf(o);if(s<0)n.push(new Cu(o));else{let a=this.plugins[s];a.mustUpdate=e,n.push(a)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=n,this.pluginMap.clear()}else for(let n of this.plugins)n.mustUpdate=e;for(let n=0;n<this.plugins.length;n++)this.plugins[n].update(this);i!=r&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let i=e.value;if(i&&i.docViewUpdate)try{i.docViewUpdate(this)}catch(r){ci(this.state,r,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,r=this.scrollDOM,n=r.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:s}=this.viewState;Math.abs(n-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(s<0)if(IP(r))o=-1,s=this.viewState.heightMap.height;else{let O=this.viewState.scrollAnchorAt(n);o=O.from,s=O.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(O=>{try{return O.read(this)}catch(g){return ci(this.state,g),xP}}),f=RO.create(this,this.state,[]),d=!1;f.flags|=l,i?i.flags|=l:i=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f),d&&this.docViewUpdate());for(let O=0;O<c.length;O++)if(u[O]!=xP)try{let g=c[O];g.write&&g.write(u[O],this)}catch(g){ci(this.state,g)}if(d&&this.docView.updateSelection(!0),!f.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}else{let g=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-s;if(g>1||g<-1){n=n+g,r.scrollTop=n/this.scaleY,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let a of this.state.facet(iy))a(i)}get themeClasses(){return by+" "+(this.state.facet(gy)?TQ:SQ)+" "+this.state.facet(wO)}updateAttrs(){let e=vP(this,lQ,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(qo)?"true":"false",class:"cm-content",style:`${Se.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),vP(this,Iy,i);let r=this.observer.ignore(()=>{let n=G1(this.contentDOM,this.contentAttrs,i),o=G1(this.dom,this.editorAttrs,e);return n||o});return this.editorAttrs=e,this.contentAttrs=i,r}showAnnouncements(e){let i=!0;for(let r of e)for(let n of r.effects)if(n.is(t.announce)){i&&(this.announceDOM.textContent=""),i=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=n.value}}mountStyles(){this.styleModules=this.state.facet(wu);let e=this.state.facet(t.cspNonce);qi.mount(this.root,this.styleModules.concat(RV).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;i<this.measureRequests.length;i++)if(this.measureRequests[i].key===e.key){this.measureRequests[i]=e;return}}this.measureRequests.push(e)}}plugin(e){let i=this.pluginMap.get(e);return(i===void 0||i&&i.spec!=e)&&this.pluginMap.set(e,i=this.plugins.find(r=>r.spec==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,r){return N1(this,e,nP(this,e,i,r))}moveByGroup(e,i){return N1(this,e,nP(this,e,i,r=>sV(this,e.head,r)))}visualLineSide(e,i){let r=this.bidiSpans(e),n=this.textDirectionAt(e.from),o=r[i?r.length-1:0];return K.cursor(o.side(i,n)+e.from,o.forward(!i,n)?1:-1)}moveToLineBoundary(e,i,r=!0){return oV(this,e,i,r)}moveVertically(e,i,r){return N1(this,e,aV(this,e,i,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),OQ(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let r=this.docView.coordsAt(e,i);if(!r||r.left==r.right)return r;let n=this.state.doc.lineAt(e),o=this.bidiSpans(n),s=o[ln.find(o,e-n.from,-1,i)];return ZO(r,s.dir==st.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(nQ)||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>zV)return HP(e.length);let i=this.textDirectionAt(e.from),r;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==i&&(o.fresh||FP(o.isolates,r=JE(this,e))))return o.order;r||(r=JE(this,e));let n=jW(e.text,i,r);return this.bidiCache.push(new NO(e.from,e.to,i,r,!0,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Se.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{RP(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(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return gO.of(new Qu(typeof e=="number"?K.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return gO.of(new Qu(K.cursor(r.from),"start","start",r.top-e,i,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Fe.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Fe.define(()=>({}),{eventObservers:e})}static theme(e,i){let r=qi.newName(),n=[wO.of(r),wu.of(yy(`.${r}`,e))];return i&&i.dark&&n.push(gy.of(!0)),n}static baseTheme(e){return Rt.lowest(wu.of(yy("."+by,e,EQ)))}static findFromDOM(e){var i;let r=e.querySelector(".cm-content"),n=r&&bt.get(r)||bt.get(e);return((i=n==null?void 0:n.rootView)===null||i===void 0?void 0:i.view)||null}};he.styleModule=wu;he.inputHandler=iQ;he.scrollHandler=sQ;he.focusChangeEffect=rQ;he.perLineTextDirection=nQ;he.exceptionSink=tQ;he.updateListener=iy;he.editable=qo;he.mouseSelectionStyle=eQ;he.dragMovesSelection=JP;he.clickAddsSelectionRange=KP;he.decorations=Nu;he.outerDecorations=cQ;he.atomicRanges=zy;he.bidiIsolatedRanges=uQ;he.scrollMargins=fQ;he.darkTheme=gy;he.cspNonce=be.define({combine:t=>t.length?t[0]:""});he.contentAttributes=Iy;he.editorAttributes=lQ;he.lineWrapping=he.contentAttributes.of({class:"cm-lineWrapping"});he.announce=ke.define();var zV=4096,xP={},NO=class t{constructor(e,i,r,n,o,s){this.from=e,this.to=i,this.dir=r,this.isolates=n,this.fresh=o,this.order=s}static update(e,i){if(i.empty&&!e.some(o=>o.fresh))return e;let r=[],n=e.length?e[e.length-1].dir:st.LTR;for(let o=Math.max(0,e.length-10);o<e.length;o++){let s=e[o];s.dir==n&&!i.touchesRange(s.from,s.to)&&r.push(new t(i.mapPos(s.from,1),i.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return r}};function vP(t,e,i){for(let r=t.state.facet(e),n=r.length-1;n>=0;n--){let o=r[n],s=typeof o=="function"?o(t):o;s&&H1(s,i)}return i}var DV=Se.mac?"mac":Se.windows?"win":Se.linux?"linux":"key";function UV(t,e){let i=t.split(/-(?!$)/),r=i[i.length-1];r=="Space"&&(r=" ");let n,o,s,a;for(let l=0;l<i.length-1;++l){let c=i[l];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))n=!0;else if(/^(c|ctrl|control)$/i.test(c))o=!0;else if(/^s(hift)?$/i.test(c))s=!0;else if(/^mod$/i.test(c))e=="mac"?a=!0:o=!0;else throw new Error("Unrecognized modifier name: "+c)}return n&&(r="Alt-"+r),o&&(r="Ctrl-"+r),a&&(r="Meta-"+r),s&&(r="Shift-"+r),r}function kO(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),i!==!1&&e.shiftKey&&(t="Shift-"+t),t}var NV=Rt.default(he.domEventHandlers({keydown(t,e){return QQ(PQ(e.state),t,e,"editor")}})),Gt=be.define({enables:NV}),wP=new WeakMap;function PQ(t){let e=t.facet(Gt),i=wP.get(e);return i||wP.set(e,i=qV(e.reduce((r,n)=>r.concat(n),[]))),i}function Uy(t,e,i){return QQ(PQ(t.state),e,t,i)}var jo=null,MV=4e3;function qV(t,e=DV){let i=Object.create(null),r=Object.create(null),n=(s,a)=>{let l=r[s];if(l==null)r[s]=a;else if(l!=a)throw new Error("Key binding "+s+" is used both as a regular binding and as a multi-stroke prefix")},o=(s,a,l,c,u)=>{var f,d;let O=i[s]||(i[s]=Object.create(null)),g=a.split(/ (?!$)/).map(w=>UV(w,e));for(let w=1;w<g.length;w++){let T=g.slice(0,w).join(" ");n(T,!0),O[T]||(O[T]={preventDefault:!0,stopPropagation:!1,run:[A=>{let I=jo={view:A,prefix:T,scope:s};return setTimeout(()=>{jo==I&&(jo=null)},MV),!0}]})}let x=g.join(" ");n(x,!1);let S=O[x]||(O[x]={preventDefault:!1,stopPropagation:!1,run:((d=(f=O._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&S.run.push(l),c&&(S.preventDefault=!0),u&&(S.stopPropagation=!0)};for(let s of t){let a=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let c of a){let u=i[c]||(i[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=s;for(let d in u)u[d].run.push(O=>f(O,wy))}let l=s[e]||s.key;if(l)for(let c of a)o(c,l,s.run,s.preventDefault,s.stopPropagation),s.shift&&o(c,"Shift-"+l,s.shift,s.preventDefault,s.stopPropagation)}return i}var wy=null;function QQ(t,e,i,r){wy=e;let n=VE(e),o=Zt(n,0),s=_i(o)==n.length&&n!=" ",a="",l=!1,c=!1,u=!1;jo&&jo.view==i&&jo.scope==r&&(a=jo.prefix+" ",gQ.indexOf(e.keyCode)<0&&(c=!0,jo=null));let f=new Set,d=S=>{if(S){for(let w of S.run)if(!f.has(w)&&(f.add(w),w(i)))return S.stopPropagation&&(u=!0),!0;S.preventDefault&&(S.stopPropagation&&(u=!0),c=!0)}return!1},O=t[r],g,x;return O&&(d(O[a+kO(n,e,!s)])?l=!0:s&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Se.windows&&e.ctrlKey&&e.altKey)&&(g=Vn[e.keyCode])&&g!=n?(d(O[a+kO(g,e,!0)])||e.shiftKey&&(x=al[e.keyCode])!=n&&x!=g&&d(O[a+kO(x,e,!1)]))&&(l=!0):s&&e.shiftKey&&d(O[a+kO(n,e,!0)])&&(l=!0),!l&&d(O._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),wy=null,l}var Mu=class t{constructor(e,i,r,n,o){this.className=e,this.left=i,this.top=r,this.width=n,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,i){return i.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,i,r){if(r.empty){let n=e.coordsAtPos(r.head,r.assoc||1);if(!n)return[];let o=CQ(e);return[new t(i,n.left-o.left,n.top-o.top,null,n.bottom-n.top)]}else return jV(e,i,r)}};function CQ(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==st.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function kP(t,e,i,r){let n=t.coordsAtPos(e,i*2);if(!n)return r;let o=t.dom.getBoundingClientRect(),s=(n.top+n.bottom)/2,a=t.posAtCoords({x:o.left+1,y:s}),l=t.posAtCoords({x:o.right-1,y:s});return a==null||l==null?r:{from:Math.max(r.from,Math.min(a,l)),to:Math.min(r.to,Math.max(a,l))}}function jV(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let r=Math.max(i.from,t.viewport.from),n=Math.min(i.to,t.viewport.to),o=t.textDirection==st.LTR,s=t.contentDOM,a=s.getBoundingClientRect(),l=CQ(t),c=s.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),f=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=a.right-(u?parseInt(u.paddingRight):0),O=ny(t,r),g=ny(t,n),x=O.type==Ri.Text?O:null,S=g.type==Ri.Text?g:null;if(x&&(t.lineWrapping||O.widgetLineBreaks)&&(x=kP(t,r,1,x)),S&&(t.lineWrapping||g.widgetLineBreaks)&&(S=kP(t,n,-1,S)),x&&S&&x.from==S.from&&x.to==S.to)return T(A(i.from,i.to,x));{let C=x?A(i.from,null,x):I(O,!1),$=S?A(null,i.to,S):I(g,!0),j=[];return(x||O).to<(S||g).from-(x&&S?1:0)||O.widgetLineBreaks>1&&C.bottom+t.defaultLineHeight/2<$.top?j.push(w(f,C.bottom,d,$.top)):C.bottom<$.top&&t.elementAtHeight((C.bottom+$.top)/2).type==Ri.Text&&(C.bottom=$.top=(C.bottom+$.top)/2),T(C).concat(j).concat(T($))}function w(C,$,j,le){return new Mu(e,C-l.left,$-l.top-.01,j-C,le-$+.01)}function T({top:C,bottom:$,horizontal:j}){let le=[];for(let F=0;F<j.length;F+=2)le.push(w(j[F],C,j[F+1],$));return le}function A(C,$,j){let le=1e9,F=-1e9,N=[];function ie(de,me,we,q,ae){let B=t.coordsAtPos(de,de==j.to?-2:2),P=t.coordsAtPos(we,we==j.from?2:-2);!B||!P||(le=Math.min(B.top,P.top,le),F=Math.max(B.bottom,P.bottom,F),ae==st.LTR?N.push(o&&me?f:B.left,o&&q?d:P.right):N.push(!o&&q?f:P.left,!o&&me?d:B.right))}let ue=C!=null?C:j.from,re=$!=null?$:j.to;for(let de of t.visibleRanges)if(de.to>ue&&de.from<re)for(let me=Math.max(de.from,ue),we=Math.min(de.to,re);;){let q=t.state.doc.lineAt(me);for(let ae of t.bidiSpans(q)){let B=ae.from+q.from,P=ae.to+q.from;if(B>=we)break;P>me&&ie(Math.max(B,me),C==null&&B<=ue,Math.min(P,we),$==null&&P>=re,ae.dir)}if(me=q.to+1,me>=we)break}return N.length==0&&ie(ue,C==null,re,$==null,t.textDirection),{top:le,bottom:F,horizontal:N}}function I(C,$){let j=a.top+($?C.top:C.bottom);return{top:j,bottom:j,horizontal:[]}}}function WV(t,e){return t.constructor==e.constructor&&t.eq(e)}var ky=class{constructor(e,i){this.view=e,this.layer=i,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),i.above&&this.dom.classList.add("cm-layer-above"),i.class&&this.dom.classList.add(i.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),i.mount&&i.mount(this.dom,e)}update(e){e.startState.facet(QO)!=e.state.facet(QO)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let i=0,r=e.facet(QO);for(;i<r.length&&r[i]!=this.layer;)i++;this.dom.style.zIndex=String((this.layer.above?150:-1)-i)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:i}=this.view;(e!=this.scaleX||i!=this.scaleY)&&(this.scaleX=e,this.scaleY=i,this.dom.style.transform=`scale(${1/e}, ${1/i})`)}draw(e){if(e.length!=this.drawn.length||e.some((i,r)=>!WV(i,this.drawn[r]))){let i=this.dom.firstChild,r=0;for(let n of e)n.update&&i&&n.constructor&&this.drawn[r].constructor&&n.update(i,this.drawn[r])?(i=i.nextSibling,r++):this.dom.insertBefore(n.draw(),i);for(;i;){let n=i.nextSibling;i.remove(),i=n}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}},QO=be.define();function _Q(t){return[Fe.define(e=>new ky(e,t)),QO.of(t)]}var $Q=!Se.ios,Ol=be.define({combine(t){return Et(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,i)=>Math.min(e,i),drawRangeCursor:(e,i)=>e||i})}});function AQ(t={}){return[Ol.of(t),VV,ZV,BV,oQ.of(!0)]}function XQ(t){return t.facet(Ol)}function RQ(t){return t.startState.facet(Ol)!=t.state.facet(Ol)}var VV=_Q({above:!0,markers(t){let{state:e}=t,i=e.facet(Ol),r=[];for(let n of e.selection.ranges){let o=n==e.selection.main;if(n.empty?!o||$Q:i.drawRangeCursor){let s=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=n.empty?n:K.cursor(n.head,n.head>n.anchor?-1:1);for(let l of Mu.forRange(t,s,a))r.push(l)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let i=RQ(t);return i&&SP(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){SP(e.state,t)},class:"cm-cursorLayer"});function SP(t,e){e.style.animationDuration=t.facet(Ol).cursorBlinkRate+"ms"}var ZV=_Q({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:Mu.forRange(t,"cm-selectionBackground",e)).reduce((e,i)=>e.concat(i))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||RQ(t)},class:"cm-selectionLayer"}),Sy={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};$Q&&(Sy[".cm-line"].caretColor=Sy[".cm-content"].caretColor="transparent !important");var BV=Rt.highest(he.theme(Sy)),LQ=ke.define({map(t,e){return t==null?null:e.mapPos(t)}}),Tu=Ge.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((i,r)=>r.is(LQ)?r.value:i,t)}}),YV=Fe.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let i=t.state.field(Tu);i==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(Tu)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(Tu),i=e!=null&&t.coordsAtPos(e);if(!i)return null;let r=t.scrollDOM.getBoundingClientRect();return{left:i.left-r.left+t.scrollDOM.scrollLeft*t.scaleX,top:i.top-r.top+t.scrollDOM.scrollTop*t.scaleY,height:i.bottom-i.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:i}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/i+"px",this.cursor.style.height=t.height/i+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(Tu)!=t&&this.view.dispatch({effects:LQ.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 IQ(){return[Tu,YV]}function TP(t,e,i,r,n){e.lastIndex=0;for(let o=t.iterRange(i,r),s=i,a;!o.next().done;s+=o.value.length)if(!o.lineBreak)for(;a=e.exec(o.value);)n(s+a.index,a)}function FV(t,e){let i=t.visibleRanges;if(i.length==1&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let r=[];for(let{from:n,to:o}of i)n=Math.max(t.state.doc.lineAt(n).from,n-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),r.length&&r[r.length-1].to>=n?r[r.length-1].to=o:r.push({from:n,to:o});return r}var Ty=class{constructor(e){let{regexp:i,decoration:r,decorate:n,boundary:o,maxLength:s=1e3}=e;if(!i.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=i,n)this.addMatch=(a,l,c,u)=>n(u,c,c+a[0].length,a,l);else if(typeof r=="function")this.addMatch=(a,l,c,u)=>{let f=r(a,l,c);f&&u(c,c+a[0].length,f)};else if(r)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=s}createDeco(e){let i=new Ji,r=i.add.bind(i);for(let{from:n,to:o}of FV(e,this.maxLength))TP(e.state.doc,this.regexp,n,o,(s,a)=>this.addMatch(a,e,s,r));return i.finish()}updateDeco(e,i){let r=1e9,n=-1;return e.docChanged&&e.changes.iterChanges((o,s,a,l)=>{l>e.view.viewport.from&&a<e.view.viewport.to&&(r=Math.min(a,r),n=Math.max(l,n))}),e.viewportChanged||n-r>1e3?this.createDeco(e.view):n>-1?this.updateRange(e.view,i.map(e.changes),r,n):i}updateRange(e,i,r,n){for(let o of e.visibleRanges){let s=Math.max(o.from,r),a=Math.min(o.to,n);if(a>s){let l=e.state.doc.lineAt(s),c=l.to<a?e.state.doc.lineAt(a):l,u=Math.max(o.from,l.from),f=Math.min(o.to,c.to);if(this.boundary){for(;s>l.from;s--)if(this.boundary.test(l.text[s-1-l.from])){u=s;break}for(;a<c.to;a++)if(this.boundary.test(c.text[a-c.from])){f=a;break}}let d=[],O,g=(x,S,w)=>d.push(w.range(x,S));if(l==c)for(this.regexp.lastIndex=u-l.from;(O=this.regexp.exec(l.text))&&O.index<f-l.from;)this.addMatch(O,e,O.index+l.from,g);else TP(e.state.doc,this.regexp,u,f,(x,S)=>this.addMatch(S,e,x,g));i=i.update({filterFrom:u,filterTo:f,filter:(x,S)=>x<u||S>f,add:d})}}return i}},Ey=/x/.unicode!=null?"gu":"g",HV=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,Ey),GV={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"},q1=null;function KV(){var t;if(q1==null&&typeof document!="undefined"&&document.body){let e=document.body.style;q1=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return q1||!1}var CO=be.define({combine(t){let e=Et(t,{render:null,specialChars:HV,addSpecialChars:null});return(e.replaceTabs=!KV())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Ey)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Ey)),e}});function zQ(t={}){return[CO.of(t),JV()]}var EP=null;function JV(){return EP||(EP=Fe.fromClass(class{constructor(t){this.view=t,this.decorations=ve.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(CO)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Ty({regexp:t.specialChars,decoration:(e,i,r)=>{let{doc:n}=i.state,o=Zt(e[0],0);if(o==9){let s=n.lineAt(r),a=i.state.tabSize,l=Ai(s.text,a,r-s.from);return ve.replace({widget:new Qy((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=ve.replace({widget:new Py(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(CO);t.startState.facet(CO)!=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 eZ="\u2022";function tZ(t){return t>=32?eZ:t==10?"\u2424":String.fromCharCode(9216+t)}var Py=class extends ti{constructor(e,i){super(),this.options=e,this.code=i}eq(e){return e.code==this.code}toDOM(e){let i=tZ(this.code),r=e.state.phrase("Control character")+" "+(GV[this.code]||"0x"+this.code.toString(16)),n=this.options.render&&this.options.render(this.code,r,i);if(n)return n;let o=document.createElement("span");return o.textContent=i,o.title=r,o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){return!1}},Qy=class extends ti{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 DQ(){return rZ}var iZ=ve.line({class:"cm-activeLine"}),rZ=Fe.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(let r of t.state.selection.ranges){let n=t.lineBlockAt(r.head);n.from>e&&(i.push(iZ.range(n.from)),e=n.from)}return ve.set(i)}},{decorations:t=>t.decorations});var Cy=2e3;function nZ(t,e,i){let r=Math.min(e.line,i.line),n=Math.max(e.line,i.line),o=[];if(e.off>Cy||i.off>Cy||e.col<0||i.col<0){let s=Math.min(e.off,i.off),a=Math.max(e.off,i.off);for(let l=r;l<=n;l++){let c=t.doc.line(l);c.length<=a&&o.push(K.range(c.from+s,c.to+a))}}else{let s=Math.min(e.col,i.col),a=Math.max(e.col,i.col);for(let l=r;l<=n;l++){let c=t.doc.line(l),u=OO(c.text,s,t.tabSize,!0);if(u<0)o.push(K.cursor(c.to));else{let f=OO(c.text,a,t.tabSize);o.push(K.range(c.from+u,c.from+f))}}}return o}function oZ(t,e){let i=t.coordsAtPos(t.viewport.from);return i?Math.round(Math.abs((i.left-e)/t.defaultCharacterWidth)):-1}function PP(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(i),n=i-r.from,o=n>Cy?-1:n==r.length?oZ(t,e.clientX):Ai(r.text,t.state.tabSize,i-r.from);return{line:r.number,col:o,off:n}}function sZ(t,e){let i=PP(t,e),r=t.state.selection;return i?{update(n){if(n.docChanged){let o=n.changes.mapPos(n.startState.doc.line(i.line).from),s=n.state.doc.lineAt(o);i={line:s.number,col:i.col,off:Math.min(i.off,s.length)},r=r.map(n.changes)}},get(n,o,s){let a=PP(t,n);if(!a)return r;let l=nZ(t.state,i,a);return l.length?s?K.create(l.concat(r.ranges)):K.create(l):r}}:null}function UQ(t){let e=(t==null?void 0:t.eventFilter)||(i=>i.altKey&&i.button==0);return he.mouseSelectionStyle.of((i,r)=>e(r)?sZ(i,r):null)}var aZ={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},lZ={style:"cursor: crosshair"};function NQ(t={}){let[e,i]=aZ[t.key||"Alt"],r=Fe.fromClass(class{constructor(n){this.view=n,this.isDown=!1}set(n){this.isDown!=n&&(this.isDown=n,this.view.update([]))}},{eventObservers:{keydown(n){this.set(n.keyCode==e||i(n))},keyup(n){(n.keyCode==e||!i(n))&&this.set(!1)},mousemove(n){this.set(i(n))}}});return[r,he.contentAttributes.of(n=>{var o;return!((o=n.plugin(r))===null||o===void 0)&&o.isDown?lZ:null})]}var xu="-10000px",MO=class{constructor(e,i,r,n){this.facet=i,this.createTooltipView=r,this.removeTooltipView=n,this.input=e.state.facet(i),this.tooltips=this.input.filter(s=>s);let o=null;this.tooltipViews=this.tooltips.map(s=>o=r(s,o))}update(e,i){var r;let n=e.state.facet(this.facet),o=n.filter(l=>l);if(n===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[],a=i?[]:null;for(let l=0;l<o.length;l++){let c=o[l],u=-1;if(c){for(let f=0;f<this.tooltips.length;f++){let d=this.tooltips[f];d&&d.create==c.create&&(u=f)}if(u<0)s[l]=this.createTooltipView(c,l?s[l-1]:null),a&&(a[l]=!!c.above);else{let f=s[l]=this.tooltipViews[u];a&&(a[l]=i[u]),f.update&&f.update(e)}}}for(let l of this.tooltipViews)s.indexOf(l)<0&&(this.removeTooltipView(l),(r=l.destroy)===null||r===void 0||r.call(l));return i&&(a.forEach((l,c)=>i[c]=l),i.length=a.length),this.input=n,this.tooltips=o,this.tooltipViews=s,!0}};function cZ(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}var j1=be.define({combine:t=>{var e,i,r;return{position:Se.ios?"absolute":((e=t.find(n=>n.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(n=>n.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((r=t.find(n=>n.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||cZ}}}),QP=new WeakMap,Ny=Fe.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(j1);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 MO(t,Bn,(i,r)=>this.createTooltip(i,r),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,r=t.state.facet(j1);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let n of this.manager.tooltipViews)n.dom.style.position=this.position;i=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let n of this.manager.tooltipViews)this.container.appendChild(n.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),r=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let n=document.createElement("div");n.className="cm-tooltip-arrow",i.dom.appendChild(n)}return i.dom.style.position=this.position,i.dom.style.top=xu,i.dom.style.left="0px",this.container.insertBefore(i.dom,r),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,i=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:n}=this.manager.tooltipViews[0];if(Se.gecko)r=n.offsetParent!=this.container.ownerDocument.body;else if(n.style.top==xu&&n.style.left=="0px"){let o=n.getBoundingClientRect();r=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}}if(r||this.position=="absolute")if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,i=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:i}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((n,o)=>{let s=this.manager.tooltipViews[o];return s.getCoords?s.getCoords(n.pos):this.view.coordsAtPos(n.pos)}),size:this.manager.tooltipViews.map(({dom:n})=>n.getBoundingClientRect()),space:this.view.state.facet(j1).tooltipSpace(this.view),scaleX:e,scaleY:i,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{editor:i,space:r,scaleX:n,scaleY:o}=t,s=[];for(let a=0;a<this.manager.tooltips.length;a++){let l=this.manager.tooltips[a],c=this.manager.tooltipViews[a],{dom:u}=c,f=t.pos[a],d=t.size[a];if(!f||f.bottom<=Math.max(i.top,r.top)||f.top>=Math.min(i.bottom,r.bottom)||f.right<Math.max(i.left,r.left)-.1||f.left>Math.min(i.right,r.right)+.1){u.style.top=xu;continue}let O=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,g=O?7:0,x=d.right-d.left,S=(e=QP.get(c))!==null&&e!==void 0?e:d.bottom-d.top,w=c.offset||fZ,T=this.view.textDirection==st.LTR,A=d.width>r.right-r.left?T?r.left:r.right-d.width:T?Math.max(r.left,Math.min(f.left-(O?14:0)+w.x,r.right-x)):Math.min(Math.max(r.left,f.left-x+(O?14:0)-w.x),r.right-x),I=this.above[a];!l.strictSide&&(I?f.top-(d.bottom-d.top)-w.y<r.top:f.bottom+(d.bottom-d.top)+w.y>r.bottom)&&I==r.bottom-f.bottom>f.top-r.top&&(I=this.above[a]=!I);let C=(I?f.top-r.top:r.bottom-f.bottom)-g;if(C<S&&c.resize!==!1){if(C<this.view.defaultLineHeight){u.style.top=xu;continue}QP.set(c,S),u.style.height=(S=C)/o+"px"}else u.style.height&&(u.style.height="");let $=I?f.top-S-g-w.y:f.bottom+g+w.y,j=A+x;if(c.overlap!==!0)for(let le of s)le.left<j&&le.right>A&&le.top<$+S&&le.bottom>$&&($=I?le.top-S-2-g:le.bottom+g+2);if(this.position=="absolute"?(u.style.top=($-t.parent.top)/o+"px",u.style.left=(A-t.parent.left)/n+"px"):(u.style.top=$/o+"px",u.style.left=A/n+"px"),O){let le=f.left+(T?w.x:-w.x)-(A+14-7);O.style.left=le/n+"px"}c.overlap!==!0&&s.push({left:A,top:$,right:j,bottom:$+S}),u.classList.toggle("cm-tooltip-above",I),u.classList.toggle("cm-tooltip-below",!I),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=xu}},{eventObservers:{scroll(){this.maybeMeasure()}}}),uZ=he.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"}}}),fZ={x:0,y:0},Bn=be.define({enables:[Ny,uZ]}),qO=be.define({combine:t=>t.reduce((e,i)=>e.concat(i),[])}),jO=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 MO(e,qO,(i,r)=>this.createHostedView(i,r),i=>i.dom.remove())}createHostedView(e,i){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,i?i.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let i of this.manager.tooltipViews)i.mount&&i.mount(e);this.mounted=!0}positioned(e){for(let i of this.manager.tooltipViews)i.positioned&&i.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let i of this.manager.tooltipViews)(e=i.destroy)===null||e===void 0||e.call(i)}passProp(e){let i;for(let r of this.manager.tooltipViews){let n=r[e];if(n!==void 0){if(i===void 0)i=n;else if(i!==n)return}}return i}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}},hZ=Bn.compute([qO],t=>{let e=t.facet(qO);return e.length===0?null:{pos:Math.min(...e.map(i=>i.pos)),end:Math.max(...e.map(i=>{var r;return(r=i.end)!==null&&r!==void 0?r:i.pos})),create:jO.create,above:e[0].above,arrow:e.some(i=>i.arrow)}}),_y=class{constructor(e,i,r,n,o){this.view=e,this.source=i,this.field=r,this.setHover=n,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:i}=this,r=e.docView.nearest(i.target);if(!r)return;let n,o=1;if(r instanceof Lu)n=r.posAtStart;else{if(n=e.posAtCoords(i),n==null)return;let a=e.coordsAtPos(n);if(!a||i.y<a.top||i.y>a.bottom||i.x<a.left-e.defaultCharacterWidth||i.x>a.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(n)).find(u=>u.from<=n&&u.to>=n),c=l&&l.dir==st.RTL?-1:1;o=i.x<a.left?-c:c}let s=this.source(e,n,o);if(s!=null&&s.then){let a=this.pending={pos:n};s.then(l=>{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>ci(e.state,l,"hover tooltip"))}else s&&!(Array.isArray(s)&&!s.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let e=this.view.plugin(Ny),i=e?e.manager.tooltips.findIndex(r=>r.create==jO.create):-1;return i>-1?e.manager.tooltipViews[i]:null}mousemove(e){var i,r;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:n,tooltip:o}=this;if(n.length&&o&&!dZ(o.dom,e)||this.pending){let{pos:s}=n[0]||this.pending,a=(r=(i=n[0])===null||i===void 0?void 0:i.end)!==null&&r!==void 0?r:s;(s==a?this.view.posAtCoords(this.lastMove)!=s:!OZ(this.view,s,a,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:i}=this;if(i.length){let{tooltip:r}=this;r&&r.dom.contains(e.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let i=r=>{e.removeEventListener("mouseleave",i),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",i)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}},SO=4;function dZ(t,e){let i=t.getBoundingClientRect();return e.clientX>=i.left-SO&&e.clientX<=i.right+SO&&e.clientY>=i.top-SO&&e.clientY<=i.bottom+SO}function OZ(t,e,i,r,n,o){let s=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(s.left>r||s.right<r||s.top>n||Math.min(s.bottom,a)<n)return!1;let l=t.posAtCoords({x:r,y:n},!1);return l>=e&&l<=i}function YO(t,e={}){let i=ke.define(),r=Ge.define({create(){return[]},update(n,o){if(n.length&&(e.hideOnChange&&(o.docChanged||o.selection)?n=[]:e.hideOn&&(n=n.filter(s=>!e.hideOn(o,s))),o.docChanged)){let s=[];for(let a of n){let l=o.changes.mapPos(a.pos,-1,Tt.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),a);c.pos=l,c.end!=null&&(c.end=o.changes.mapPos(c.end)),s.push(c)}}n=s}for(let s of o.effects)s.is(i)&&(n=s.value),s.is(pZ)&&(n=[]);return n},provide:n=>qO.from(n)});return{active:r,extension:[r,Fe.define(n=>new _y(n,t,r,i,e.hoverTime||300)),hZ]}}function My(t,e){let i=t.plugin(Ny);if(!i)return null;let r=i.manager.tooltips.indexOf(e);return r<0?null:i.manager.tooltipViews[r]}var pZ=ke.define();var CP=be.define({combine(t){let e,i;for(let r of t)e=e||r.topContainer,i=i||r.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Zs(t,e){let i=t.plugin(MQ),r=i?i.specs.indexOf(e):-1;return r>-1?i.panels[r]:null}var MQ=Fe.fromClass(class{constructor(t){this.input=t.state.facet(br),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(CP);this.top=new ul(t,!0,e.topContainer),this.bottom=new ul(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(CP);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new ul(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new ul(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(br);if(i!=this.input){let r=i.filter(l=>l),n=[],o=[],s=[],a=[];for(let l of r){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),a.push(u)):(u=this.panels[c],u.update&&u.update(t)),n.push(u),(u.top?o:s).push(u)}this.specs=r,this.panels=n,this.top.sync(o),this.bottom.sync(s);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>he.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})}),ul=class{constructor(e,i,r){this.view=e,this.top=i,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=_P(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=_P(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 _P(t){let e=t.nextSibling;return t.remove(),e}var br=be.define({enables:MQ}),tr=class extends Dr{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};tr.prototype.elementClass="";tr.prototype.toDOM=void 0;tr.prototype.mapMode=Tt.TrackBefore;tr.prototype.startSide=tr.prototype.endSide=-1;tr.prototype.point=!0;var _O=be.define(),mZ=be.define(),gZ={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Je.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},$u=be.define();function qy(t){return[qQ(),$u.of(Object.assign(Object.assign({},gZ),t))]}var $y=be.define({combine:t=>t.some(e=>e)});function qQ(t){let e=[bZ];return t&&t.fixed===!1&&e.push($y.of(!0)),e}var bZ=Fe.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet($u).map(e=>new WO(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet($y),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,r=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(r<(i.to-i.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet($y)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let i=Je.iter(this.view.state.facet(_O),this.view.viewport.from),r=[],n=this.gutters.map(o=>new Xy(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(o.type)){let s=!0;for(let a of o.type)if(a.type==Ri.Text&&s){Ay(i,r,a.from);for(let l of n)l.line(this.view,a,r);s=!1}else if(a.widget)for(let l of n)l.widget(this.view,a)}else if(o.type==Ri.Text){Ay(i,r,o.from);for(let s of n)s.line(this.view,o,r)}else if(o.widget)for(let s of n)s.widget(this.view,o);for(let o of n)o.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet($u),i=t.state.facet($u),r=t.docChanged||t.heightChanged||t.viewportChanged||!Je.eq(t.startState.facet(_O),t.state.facet(_O),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let n of this.gutters)n.update(t)&&(r=!0);else{r=!0;let n=[];for(let o of i){let s=e.indexOf(o);s<0?n.push(new WO(this.view,o)):(this.gutters[s].update(t),n.push(this.gutters[s]))}for(let o of this.gutters)o.dom.remove(),n.indexOf(o)<0&&o.destroy();for(let o of n)this.dom.appendChild(o.dom);this.gutters=n}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>he.scrollMargins.of(e=>{let i=e.plugin(t);return!i||i.gutters.length==0||!i.fixed?null:e.textDirection==st.LTR?{left:i.dom.offsetWidth*e.scaleX}:{right:i.dom.offsetWidth*e.scaleX}})});function $P(t){return Array.isArray(t)?t:[t]}function Ay(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}var Xy=class{constructor(e,i,r){this.gutter=e,this.height=r,this.i=0,this.cursor=Je.iter(e.markers,i.from)}addElement(e,i,r){let{gutter:n}=this,o=(i.top-this.height)/e.scaleY,s=i.height/e.scaleY;if(this.i==n.elements.length){let a=new VO(e,s,o,r);n.elements.push(a),n.dom.appendChild(a.dom)}else n.elements[this.i].update(e,s,o,r);this.height=i.bottom,this.i++}line(e,i,r){let n=[];Ay(this.cursor,n,i.from),r.length&&(n=n.concat(r));let o=this.gutter.config.lineMarker(e,i,n);o&&n.unshift(o);let s=this.gutter;n.length==0&&!s.config.renderEmptyElements||this.addElement(e,i,n)}widget(e,i){let r=this.gutter.config.widgetMarker(e,i.widget,i),n=r?[r]:null;for(let o of e.state.facet(mZ)){let s=o(e,i.widget,i);s&&(n||(n=[])).push(s)}n&&this.addElement(e,i,n)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let i=e.elements.pop();e.dom.removeChild(i.dom),i.destroy()}}},WO=class{constructor(e,i){this.view=e,this.config=i,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in i.domEventHandlers)this.dom.addEventListener(r,n=>{let o=n.target,s;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();s=(l.top+l.bottom)/2}else s=n.clientY;let a=e.lineBlockAtHeight(s-e.documentTop);i.domEventHandlers[r](e,a,n)&&n.preventDefault()});this.markers=$P(i.markers(e)),i.initialSpacer&&(this.spacer=new VO(e,0,0,[i.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let i=this.markers;if(this.markers=$P(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let n=this.config.updateSpacer(this.spacer.markers[0],e);n!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[n])}let r=e.view.viewport;return!Je.eq(this.markers,i,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},VO=class{constructor(e,i,r,n){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,i,r,n)}update(e,i,r,n){this.height!=i&&(this.height=i,this.dom.style.height=i+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),yZ(this.markers,n)||this.setMarkers(e,n)}setMarkers(e,i){let r="cm-gutterElement",n=this.dom.firstChild;for(let o=0,s=0;;){let a=s,l=o<i.length?i[o++]:null,c=!1;if(l){let u=l.elementClass;u&&(r+=" "+u);for(let f=s;f<this.markers.length;f++)if(this.markers[f].compare(l)){a=f,c=!0;break}}else a=this.markers.length;for(;s<a;){let u=this.markers[s++];if(u.toDOM){u.destroy(n);let f=n.nextSibling;n.remove(),n=f}}if(!l)break;l.toDOM&&(c?n=n.nextSibling:this.dom.insertBefore(l.toDOM(e),n)),c&&s++}this.dom.className=r,this.markers=i}destroy(){this.setMarkers(null,[])}};function yZ(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!t[i].compare(e[i]))return!1;return!0}var xZ=be.define(),vZ=be.define(),fl=be.define({combine(t){return Et(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,i){let r=Object.assign({},e);for(let n in i){let o=r[n],s=i[n];r[n]=o?(a,l,c)=>o(a,l,c)||s(a,l,c):s}return r}})}}),Au=class extends tr{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};function W1(t,e){return t.state.facet(fl).formatNumber(e,t.state)}var wZ=$u.compute([fl],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(xZ)},lineMarker(e,i,r){return r.some(n=>n.toDOM)?null:new Au(W1(e,e.state.doc.lineAt(i.from).number))},widgetMarker:(e,i,r)=>{for(let n of e.state.facet(vZ)){let o=n(e,i,r);if(o)return o}return null},lineMarkerChange:e=>e.startState.facet(fl)!=e.state.facet(fl),initialSpacer(e){return new Au(W1(e,AP(e.state.doc.lines)))},updateSpacer(e,i){let r=W1(i.view,AP(i.view.state.doc.lines));return r==e.number?e:new Au(r)},domEventHandlers:t.facet(fl).domEventHandlers}));function jQ(t={}){return[fl.of(t),qQ(),wZ]}function AP(t){let e=9;for(;e<t;)e=e*10+9;return e}var kZ=new class extends tr{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},SZ=_O.compute(["selection"],t=>{let e=[],i=-1;for(let r of t.selection.ranges){let n=t.doc.lineAt(r.head).from;n>i&&(i=n,e.push(kZ.range(n)))}return Je.of(e)});function WQ(){return SZ}var EZ=0,yr=class t{constructor(e,i,r){this.set=e,this.base=i,this.modified=r,this.id=EZ++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new t([],null,[]);if(i.set.push(i),e)for(let r of e.set)i.set.push(r);return i}static defineModifier(){let e=new KO;return i=>i.modified.indexOf(e)>-1?i:KO.get(i.base||i,i.modified.concat(e).sort((r,n)=>r.id-n.id))}},PZ=0,KO=class t{constructor(){this.instances=[],this.id=PZ++}static get(e,i){if(!i.length)return e;let r=i[0].instances.find(a=>a.base==e&&QZ(i,a.modified));if(r)return r;let n=[],o=new yr(n,e,i);for(let a of i)a.instances.push(o);let s=CZ(i);for(let a of e.set)if(!a.modified.length)for(let l of s)n.push(t.get(a,l));return o}};function QZ(t,e){return t.length==e.length&&t.every((i,r)=>i==e[r])}function CZ(t){let e=[[]];for(let i=0;i<t.length;i++)for(let r=0,n=e.length;r<n;r++)e.push(e[r].concat(t[i]));return e.sort((i,r)=>r.length-i.length)}function wt(t){let e=Object.create(null);for(let i in t){let r=t[i];Array.isArray(r)||(r=[r]);for(let n of i.split(" "))if(n){let o=[],s=2,a=n;for(let f=0;;){if(a=="..."&&f>0&&f+3==n.length){s=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!d)throw new RangeError("Invalid path: "+n);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==n.length)break;let O=n[f++];if(f==n.length&&O=="!"){s=0;break}if(O!="/")throw new RangeError("Invalid path: "+n);a=n.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+n);let u=new pl(r,s,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return BQ.add(e)}var BQ=new _e,pl=class{constructor(e,i,r,n){this.tags=e,this.mode=i,this.context=r,this.next=n}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}};pl.empty=new pl([],2,null);function Zy(t,e){let i=Object.create(null);for(let o of t)if(!Array.isArray(o.tag))i[o.tag.id]=o.class;else for(let s of o.tag)i[s.id]=o.class;let{scope:r,all:n=null}=e||{};return{style:o=>{let s=n;for(let a of o)for(let l of a.set){let c=i[l.id];if(c){s=s?s+" "+c:c;break}}return s},scope:r}}function _Z(t,e){let i=null;for(let r of t){let n=r.style(e);n&&(i=i?i+" "+n:n)}return i}function By(t,e,i,r=0,n=t.length){let o=new Wy(r,Array.isArray(e)?e:[e],i);o.highlightRange(t.cursor(),r,n,"",o.highlighters),o.flush(n)}function YQ(t,e,i,r,n,o=0,s=t.length){let a=o;function l(c,u){if(!(c<=a)){for(let f=t.slice(a,c),d=0;;){let O=f.indexOf(`
`,d),g=O<0?f.length:O;if(g>d&&r(f.slice(d,g),u),O<0)break;n(),d=O+1}a=c}}By(e,i,(c,u,f)=>{l(c,""),l(u,f)},o,s),l(s,"")}var Wy=class{constructor(e,i,r){this.at=e,this.highlighters=i,this.span=r,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,r,n,o){let{type:s,from:a,to:l}=e;if(a>=r||l<=i)return;s.isTop&&(o=this.highlighters.filter(O=>!O.scope||O.scope(s)));let c=n,u=$Z(e)||pl.empty,f=_Z(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(n+=(n?" ":"")+f)),this.startSpan(Math.max(i,a),c),u.opaque)return;let d=e.tree&&e.tree.prop(_e.mounted);if(d&&d.overlay){let O=e.node.enter(d.overlay[0].from+a,1),g=this.highlighters.filter(S=>!S.scope||S.scope(d.tree.type)),x=e.firstChild();for(let S=0,w=a;;S++){let T=S<d.overlay.length?d.overlay[S]:null,A=T?T.from+a:l,I=Math.max(i,w),C=Math.min(r,A);if(I<C&&x)for(;e.from<C&&(this.highlightRange(e,I,C,n,o),this.startSpan(Math.min(C,e.to),c),!(e.to>=A||!e.nextSibling())););if(!T||A>r)break;w=T.to+a,w>i&&(this.highlightRange(O.cursor(),Math.max(i,T.from+a),Math.min(r,w),"",g),this.startSpan(Math.min(r,w),c))}x&&e.parent()}else if(e.firstChild()){d&&(n="");do if(!(e.to<=i)){if(e.from>=r)break;this.highlightRange(e,i,r,n,o),this.startSpan(Math.min(r,e.to),c)}while(e.nextSibling());e.parent()}}};function $Z(t){let e=t.type.prop(BQ);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}var xe=yr.define,FO=xe(),Yo=xe(),VQ=xe(Yo),ZQ=xe(Yo),Fo=xe(),HO=xe(Fo),jy=xe(Fo),dn=xe(),Bs=xe(dn),fn=xe(),hn=xe(),Vy=xe(),qu=xe(Vy),GO=xe(),E={comment:FO,lineComment:xe(FO),blockComment:xe(FO),docComment:xe(FO),name:Yo,variableName:xe(Yo),typeName:VQ,tagName:xe(VQ),propertyName:ZQ,attributeName:xe(ZQ),className:xe(Yo),labelName:xe(Yo),namespace:xe(Yo),macroName:xe(Yo),literal:Fo,string:HO,docString:xe(HO),character:xe(HO),attributeValue:xe(HO),number:jy,integer:xe(jy),float:xe(jy),bool:xe(Fo),regexp:xe(Fo),escape:xe(Fo),color:xe(Fo),url:xe(Fo),keyword:fn,self:xe(fn),null:xe(fn),atom:xe(fn),unit:xe(fn),modifier:xe(fn),operatorKeyword:xe(fn),controlKeyword:xe(fn),definitionKeyword:xe(fn),moduleKeyword:xe(fn),operator:hn,derefOperator:xe(hn),arithmeticOperator:xe(hn),logicOperator:xe(hn),bitwiseOperator:xe(hn),compareOperator:xe(hn),updateOperator:xe(hn),definitionOperator:xe(hn),typeOperator:xe(hn),controlOperator:xe(hn),punctuation:Vy,separator:xe(Vy),bracket:qu,angleBracket:xe(qu),squareBracket:xe(qu),paren:xe(qu),brace:xe(qu),content:dn,heading:Bs,heading1:xe(Bs),heading2:xe(Bs),heading3:xe(Bs),heading4:xe(Bs),heading5:xe(Bs),heading6:xe(Bs),contentSeparator:xe(dn),list:xe(dn),quote:xe(dn),emphasis:xe(dn),strong:xe(dn),link:xe(dn),monospace:xe(dn),strikethrough:xe(dn),inserted:xe(),deleted:xe(),changed:xe(),invalid:xe(),meta:GO,documentMeta:xe(GO),annotation:xe(GO),processingInstruction:xe(GO),definition:yr.defineModifier(),constant:yr.defineModifier(),function:yr.defineModifier(),standard:yr.defineModifier(),local:yr.defineModifier(),special:yr.defineModifier()},nwe=Zy([{tag:E.link,class:"tok-link"},{tag:E.heading,class:"tok-heading"},{tag:E.emphasis,class:"tok-emphasis"},{tag:E.strong,class:"tok-strong"},{tag:E.keyword,class:"tok-keyword"},{tag:E.atom,class:"tok-atom"},{tag:E.bool,class:"tok-bool"},{tag:E.url,class:"tok-url"},{tag:E.labelName,class:"tok-labelName"},{tag:E.inserted,class:"tok-inserted"},{tag:E.deleted,class:"tok-deleted"},{tag:E.literal,class:"tok-literal"},{tag:E.string,class:"tok-string"},{tag:E.number,class:"tok-number"},{tag:[E.regexp,E.escape,E.special(E.string)],class:"tok-string2"},{tag:E.variableName,class:"tok-variableName"},{tag:E.local(E.variableName),class:"tok-variableName tok-local"},{tag:E.definition(E.variableName),class:"tok-variableName tok-definition"},{tag:E.special(E.variableName),class:"tok-variableName2"},{tag:E.definition(E.propertyName),class:"tok-propertyName tok-definition"},{tag:E.typeName,class:"tok-typeName"},{tag:E.namespace,class:"tok-namespace"},{tag:E.className,class:"tok-className"},{tag:E.macroName,class:"tok-macroName"},{tag:E.propertyName,class:"tok-propertyName"},{tag:E.operator,class:"tok-operator"},{tag:E.comment,class:"tok-comment"},{tag:E.meta,class:"tok-meta"},{tag:E.invalid,class:"tok-invalid"},{tag:E.punctuation,class:"tok-punctuation"}]);var Yy,Yn=new _e;function bl(t){return be.define({combine:t?e=>e.concat(t):void 0})}var ip=new _e,ui=class{constructor(e,i,r=[],n=""){this.data=e,this.name=n,ot.prototype.hasOwnProperty("tree")||Object.defineProperty(ot.prototype,"tree",{get(){return De(this)}}),this.parser=i,this.extension=[Ho.of(this),ot.languageData.of((o,s,a)=>{let l=FQ(o,s,a),c=l.type.prop(Yn);if(!c)return[];let u=o.facet(c),f=l.type.prop(ip);if(f){let d=l.resolve(s-l.from,a);for(let O of f)if(O.test(d,o)){let g=o.facet(O.facet);return O.type=="replace"?g:g.concat(u)}}return u})].concat(r)}isActiveAt(e,i,r=-1){return FQ(e,i,r).type.prop(Yn)==this.data}findRegions(e){let i=e.facet(Ho);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let r=[],n=(o,s)=>{if(o.prop(Yn)==this.data){r.push({from:s,to:s+o.length});return}let a=o.prop(_e.mounted);if(a){if(a.tree.prop(Yn)==this.data){if(a.overlay)for(let l of a.overlay)r.push({from:l.from+s,to:l.to+s});else r.push({from:s,to:s+o.length});return}else if(a.overlay){let l=r.length;if(n(a.tree,a.overlay[0].from+s),r.length>l)return}}for(let l=0;l<o.children.length;l++){let c=o.children[l];c instanceof We&&n(c,o.positions[l]+s)}};return n(De(e),0),r}get allowsNesting(){return!0}};ui.setState=ke.define();function FQ(t,e,i){let r=t.facet(Ho),n=De(t).topNode;if(!r||r.allowsNesting)for(let o=n;o;o=o.enter(e,i,nt.ExcludeBuffers))o.type.isTop&&(n=o);return n}var qt=class t extends ui{constructor(e,i,r){super(e,i,[],r),this.parser=i}static define(e){let i=bl(e.languageData);return new t(i,e.parser.configure({props:[Yn.add(r=>r.isTop?i:void 0)]}),e.name)}configure(e,i){return new t(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function De(t){let e=t.field(ui.state,!1);return e?e.tree:We.empty}function sx(t,e,i=50){var r;let n=(r=t.field(ui.state,!1))===null||r===void 0?void 0:r.context;if(!n)return null;let o=n.viewport;n.updateViewport({from:0,to:e});let s=n.isDone(e)||n.work(i,e)?n.tree:null;return n.updateViewport(o),s}var Ky=class{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let r=this.cursorPos-this.string.length;return e<r||i>=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-r,i-r)}},ju=null,Ys=class t{constructor(e,i,r=[],n,o,s,a,l){this.parser=e,this.state=i,this.fragments=r,this.tree=n,this.treeLen=o,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,i,r){return new t(e,i,[],We.empty,0,r,[],null)}startParse(){return this.parser.startParse(new Ky(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=We.empty&&this.isDone(i!=null?i:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let n=Date.now()+e;e=()=>Date.now()>n}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i<this.state.doc.length&&this.parse.stopAt(i);;){let n=this.parse.advance();if(n)if(this.fragments=this.withoutTempSkipped(qn.addTree(n,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(r=this.parse.stoppedAt)!==null&&r!==void 0?r:this.state.doc.length,this.tree=n,this.parse=null,this.treeLen<(i!=null?i:this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,i;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(qn.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=ju;ju=this;try{return e()}finally{ju=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=HQ(e,i.from,i.to);return e}changes(e,i){let{fragments:r,tree:n,treeLen:o,viewport:s,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,f,d)=>l.push({fromA:c,toA:u,fromB:f,toB:d})),r=qn.applyChanges(r,l),n=We.empty,o=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);u<f&&a.push({from:u,to:f})}}}return new t(this.parser,i,r,n,o,s,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let i=this.skipped.length;for(let r=0;r<this.skipped.length;r++){let{from:n,to:o}=this.skipped[r];n<e.to&&o>e.from&&(this.fragments=HQ(this.fragments,n,o),this.skipped.splice(r--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends jn{createParse(i,r,n){let o=n[0].from,s=n[n.length-1].to;return{parsedPos:o,advance(){let l=ju;if(l){for(let c of n)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=s,new We(Qt.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return ju}};function HQ(t,e,i){return qn.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}var Vu=class t{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,r)||i.takeTree(),new t(i)}static init(e){let i=Math.min(3e3,e.doc.length),r=Ys.create(e.facet(Ho).parser,e,{from:0,to:i});return r.work(20,i)||r.takeTree(),new t(r)}};ui.state=Ge.define({create:Vu.init,update(t,e){for(let i of e.effects)if(i.is(ui.setState))return i.value;return e.startState.facet(Ho)!=e.state.facet(Ho)?Vu.init(e.state):t.apply(e)}});var iC=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback!="undefined"&&(iC=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});var Fy=typeof navigator!="undefined"&&(!((Yy=navigator.scheduling)===null||Yy===void 0)&&Yy.isInputPending)?()=>navigator.scheduling.isInputPending():null,AZ=Fe.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(ui.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(ui.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=iC(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEnd<i&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=i+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:r,viewport:{to:n}}=this.view,o=r.field(ui.state);if(o.tree==o.context.tree&&o.context.isDone(n+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!Fy?Math.max(25,e.timeRemaining()-5):1e9),a=o.context.treeLen<n&&r.doc.length>n+1e3,l=o.context.work(()=>Fy&&Fy()||Date.now()>s,n+(a?0:1e5));this.chunkBudget-=Date.now()-i,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:ui.setState.of(new Vu(o.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>ci(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Ho=be.define({combine(t){return t.length?t[0]:null},enables:t=>[ui.state,AZ,he.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]}),yt=class{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}},Lt=class t{constructor(e,i,r,n,o,s=void 0){this.name=e,this.alias=i,this.extensions=r,this.filename=n,this.loadFunc=o,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:r}=e;if(!i){if(!r)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(r)}return new t(e.name,(e.alias||[]).concat(e.name).map(n=>n.toLowerCase()),e.extensions||[],e.filename,i,r)}static matchFilename(e,i){for(let n of e)if(n.filename&&n.filename.test(i))return n;let r=/\.([^.]+)$/.exec(i);if(r){for(let n of e)if(n.extensions.indexOf(r[1])>-1)return n}return null}static matchLanguageName(e,i,r=!0){i=i.toLowerCase();for(let n of e)if(n.alias.some(o=>o==i))return n;if(r)for(let n of e)for(let o of n.alias){let s=i.indexOf(o);if(s>-1&&(o.length>2||!/\w/.test(i[s-1])&&!/\w/.test(i[s+o.length])))return n}return null}},rC=be.define(),Nr=be.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function On(t){let e=t.facet(Nr);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Fn(t,e){let i="",r=t.tabSize,n=t.facet(Nr)[0];if(n==" "){for(;e>=r;)i+=" ",e-=r;n=" "}for(let o=0;o<e;o++)i+=n;return i}function yl(t,e){t instanceof ot&&(t=new Fs(t));for(let r of t.state.facet(rC)){let n=r(t,e);if(n!==void 0)return n}let i=De(t.state);return i.length>=e?XZ(t,i,e):null}var Fs=class{constructor(e,i={}){this.state=e,this.options=i,this.unit=On(e)}lineAt(e,i=1){let r=this.state.doc.lineAt(e),{simulateBreak:n,simulateDoubleBreak:o}=this.options;return n!=null&&n>=r.from&&n<=r.to?o&&n==e?{text:"",from:e}:(i<0?n<e:n<=e)?{text:r.text.slice(n-r.from),from:n}:{text:r.text.slice(0,n-r.from),from:r.from}:r}textAfterPos(e,i=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:r,from:n}=this.lineAt(e,i);return r.slice(e-n,Math.min(r.length,e+100-n))}column(e,i=1){let{text:r,from:n}=this.lineAt(e,i),o=this.countColumn(r,e-n),s=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return s>-1&&(o+=s-this.countColumn(r,r.search(/\S|$/))),o}countColumn(e,i=e.length){return Ai(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:r,from:n}=this.lineAt(e,i),o=this.options.overrideIndentation;if(o){let s=o(n);if(s>-1)return s}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},jt=new _e;function XZ(t,e,i){let r=e.resolveStack(i),n=r.node.enterUnfinishedNodesBefore(i);if(n!=r.node){let o=[];for(let s=n;s!=r.node;s=s.parent)o.push(s);for(let s=o.length-1;s>=0;s--)r={node:o[s],next:r}}return nC(r,t,i)}function nC(t,e,i){for(let r=t;r;r=r.next){let n=LZ(r.node);if(n)return n(Jy.create(e,i,r))}return 0}function RZ(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function LZ(t){let e=t.type.prop(jt);if(e)return e;let i=t.firstChild,r;if(i&&(r=i.type.prop(_e.closedBy))){let n=t.lastChild,o=n&&r.indexOf(n.name)>-1;return s=>oC(s,!0,1,void 0,o&&!RZ(s)?n.from:void 0)}return t.parent==null?IZ:null}function IZ(){return 0}var Jy=class t extends Fs{constructor(e,i,r){super(e.state,e.options),this.base=e,this.pos=i,this.context=r}get node(){return this.context.node}static create(e,i,r){return new t(e,i,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(i.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(zZ(r,e))break;i=this.state.doc.lineAt(r.from)}return this.lineIndent(i.from)}continue(){return nC(this.context.next,this.base,this.pos)}};function zZ(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function DZ(t){let e=t.node,i=e.childAfter(e.from),r=e.lastChild;if(!i)return null;let n=t.options.simulateBreak,o=t.state.doc.lineAt(i.from),s=n==null||n<=o.from?o.to:Math.min(o.to,n);for(let a=i.to;;){let l=e.childAfter(a);if(!l||l==r)return null;if(!l.type.isSkipped)return l.from<s?i:null;a=l.to}}function fi({closing:t,align:e=!0,units:i=1}){return r=>oC(r,e,i,t)}function oC(t,e,i,r,n){let o=t.textAfter,s=o.match(/^\s*/)[0].length,a=r&&o.slice(s,s+r.length)==r||n==t.pos+s,l=e?DZ(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*i)}var rp=t=>t.baseIndent;function wi({except:t,units:e=1}={}){return i=>{let r=t&&t.test(i.textAfter);return i.baseIndent+(r?0:e*i.unit)}}var UZ=200;function sC(){return ot.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let i=t.newDoc,{head:r}=t.newSelection.main,n=i.lineAt(r);if(r>n.from+UZ)return t;let o=i.sliceString(n.from,r);if(!e.some(c=>c.test(o)))return t;let{state:s}=t,a=-1,l=[];for(let{head:c}of s.selection.ranges){let u=s.doc.lineAt(c);if(u.from==a)continue;a=u.from;let f=yl(s,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],O=Fn(s,f);d!=O&&l.push({from:u.from,to:u.from+d.length,insert:O})}return l.length?[t,{changes:l,sequential:!0}]:t})}var ax=be.define(),It=new _e;function vr(t){let e=t.firstChild,i=t.lastChild;return e&&e.to<i.from?{from:e.to,to:i.type.isError?t.to:i.from}:null}function NZ(t,e,i){let r=De(t);if(r.length<i)return null;let n=r.resolveStack(i,1),o=null;for(let s=n;s;s=s.next){let a=s.node;if(a.to<=i||a.from>i)continue;if(o&&a.from<e)break;let l=a.type.prop(It);if(l&&(a.to<r.length-50||r.length==t.doc.length||!MZ(a))){let c=l(a,t);c&&c.from<=i&&c.from>=e&&c.to>i&&(o=c)}}return o}function MZ(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function JO(t,e,i){for(let r of t.facet(ax)){let n=r(t,e,i);if(n)return n}return NZ(t,e,i)}function aC(t,e){let i=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return i>=r?void 0:{from:i,to:r}}var np=ke.define({map:aC}),Yu=ke.define({map:aC});function lC(t){let e=[];for(let{head:i}of t.state.selection.ranges)e.some(r=>r.from<=i&&r.to>=i)||e.push(t.lineBlockAt(i));return e}var Hs=Ge.define({create(){return ve.none},update(t,e){t=t.map(e.changes);for(let i of e.effects)if(i.is(np)&&!qZ(t,i.value.from,i.value.to)){let{preparePlaceholder:r}=e.state.facet(lx),n=r?ve.replace({widget:new ex(r(e.state,i.value))}):GQ;t=t.update({add:[n.range(i.value.from,i.value.to)]})}else i.is(Yu)&&(t=t.update({filter:(r,n)=>i.value.from!=r||i.value.to!=n,filterFrom:i.value.from,filterTo:i.value.to}));if(e.selection){let i=!1,{head:r}=e.selection.main;t.between(r,r,(n,o)=>{n<r&&o>r&&(i=!0)}),i&&(t=t.update({filterFrom:r,filterTo:r,filter:(n,o)=>o<=r||n>=r}))}return t},provide:t=>he.decorations.from(t),toJSON(t,e){let i=[];return t.between(0,e.doc.length,(r,n)=>{i.push(r,n)}),i},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let i=0;i<t.length;){let r=t[i++],n=t[i++];if(typeof r!="number"||typeof n!="number")throw new RangeError("Invalid JSON for fold state");e.push(GQ.range(r,n))}return ve.set(e,!0)}});function ep(t,e,i){var r;let n=null;return(r=t.field(Hs,!1))===null||r===void 0||r.between(e,i,(o,s)=>{(!n||n.from>o)&&(n={from:o,to:s})}),n}function qZ(t,e,i){let r=!1;return t.between(e,e,(n,o)=>{n==e&&o==i&&(r=!0)}),r}function cC(t,e){return t.field(Hs,!1)?e:e.concat(ke.appendConfig.of(sp()))}var op=t=>{for(let e of lC(t)){let i=JO(t.state,e.from,e.to);if(i)return t.dispatch({effects:cC(t.state,[np.of(i),fC(t,i)])}),!0}return!1},uC=t=>{if(!t.state.field(Hs,!1))return!1;let e=[];for(let i of lC(t)){let r=ep(t.state,i.from,i.to);r&&e.push(Yu.of(r),fC(t,r,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function fC(t,e,i=!0){let r=t.state.doc.lineAt(e.from).number,n=t.state.doc.lineAt(e.to).number;return he.announce.of(`${t.state.phrase(i?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${n}.`)}var hC=t=>{let{state:e}=t,i=[];for(let r=0;r<e.doc.length;){let n=t.lineBlockAt(r),o=JO(e,n.from,n.to);o&&i.push(np.of(o)),r=(o?t.lineBlockAt(o.to):n).to+1}return i.length&&t.dispatch({effects:cC(t.state,i)}),!!i.length},dC=t=>{let e=t.state.field(Hs,!1);if(!e||!e.size)return!1;let i=[];return e.between(0,t.state.doc.length,(r,n)=>{i.push(Yu.of({from:r,to:n}))}),t.dispatch({effects:i}),!0};var jZ={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},lx=be.define({combine(t){return Et(t,jZ)}});function sp(t){let e=[Hs,VZ];return t&&e.push(lx.of(t)),e}function OC(t,e){let{state:i}=t,r=i.facet(lx),n=s=>{let a=t.lineBlockAt(t.posAtDOM(s.target)),l=ep(t.state,a.from,a.to);l&&t.dispatch({effects:Yu.of(l)}),s.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,n,e);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",i.phrase("folded code")),o.title=i.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=n,o}var GQ=ve.replace({widget:new class extends ti{toDOM(t){return OC(t,null)}}}),ex=class extends ti{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return OC(e,this.value)}},WZ={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},Wu=class extends tr{constructor(e,i){super(),this.config=e,this.open=i}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let i=document.createElement("span");return i.textContent=this.open?this.config.openText:this.config.closedText,i.title=e.state.phrase(this.open?"Fold line":"Unfold line"),i}};function pC(t={}){let e=Object.assign(Object.assign({},WZ),t),i=new Wu(e,!0),r=new Wu(e,!1),n=Fe.fromClass(class{constructor(s){this.from=s.viewport.from,this.markers=this.buildMarkers(s)}update(s){(s.docChanged||s.viewportChanged||s.startState.facet(Ho)!=s.state.facet(Ho)||s.startState.field(Hs,!1)!=s.state.field(Hs,!1)||De(s.startState)!=De(s.state)||e.foldingChanged(s))&&(this.markers=this.buildMarkers(s.view))}buildMarkers(s){let a=new Ji;for(let l of s.viewportLineBlocks){let c=ep(s.state,l.from,l.to)?r:JO(s.state,l.from,l.to)?i:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:o}=e;return[n,qy({class:"cm-foldGutter",markers(s){var a;return((a=s.plugin(n))===null||a===void 0?void 0:a.markers)||Je.empty},initialSpacer(){return new Wu(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(s,a,l)=>{if(o.click&&o.click(s,a,l))return!0;let c=ep(s.state,a.from,a.to);if(c)return s.dispatch({effects:Yu.of(c)}),!0;let u=JO(s.state,a.from,a.to);return u?(s.dispatch({effects:np.of(u)}),!0):!1}})}),sp()]}var VZ=he.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"}}),ml=class t{constructor(e,i){this.specs=e;let r;function n(a){let l=qi.newName();return(r||(r=Object.create(null)))["."+l]=a,l}let o=typeof i.all=="string"?i.all:i.all?n(i.all):void 0,s=i.scope;this.scope=s instanceof ui?a=>a.prop(Yn)==s.data:s?a=>a==s:void 0,this.style=Zy(e.map(a=>({tag:a.tag,class:a.class||n(Object.assign({},a,{tag:null}))})),{all:o}).style,this.module=r?new qi(r):null,this.themeType=i.themeType}static define(e,i){return new t(e,i||{})}},tx=be.define(),mC=be.define({combine(t){return t.length?[t[0]]:null}});function Hy(t){let e=t.facet(tx);return e.length?e:t.facet(mC)}function cx(t,e){let i=[ZZ],r;return t instanceof ml&&(t.module&&i.push(he.styleModule.of(t.module)),r=t.themeType),e!=null&&e.fallback?i.push(mC.of(t)):r?i.push(tx.computeN([he.darkTheme],n=>n.facet(he.darkTheme)==(r=="dark")?[t]:[])):i.push(tx.of(t)),i}var ix=class{constructor(e){this.markCache=Object.create(null),this.tree=De(e.state),this.decorations=this.buildDeco(e,Hy(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=De(e.state),r=Hy(e.state),n=r!=Hy(e.startState),{viewport:o}=e.view,s=e.changes.mapPos(this.decoratedTo,1);i.length<o.to&&!n&&i.type==this.tree.type&&s>=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(i!=this.tree||e.viewportChanged||n)&&(this.tree=i,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=o.to)}buildDeco(e,i){if(!i||!this.tree.length)return ve.none;let r=new Ji;for(let{from:n,to:o}of e.visibleRanges)By(this.tree,i,(s,a,l)=>{r.add(s,a,this.markCache[l]||(this.markCache[l]=ve.mark({class:l})))},n,o);return r.finish()}},ZZ=Rt.high(Fe.fromClass(ix,{decorations:t=>t.decorations})),hwe=ml.define([{tag:E.meta,color:"#404740"},{tag:E.link,textDecoration:"underline"},{tag:E.heading,textDecoration:"underline",fontWeight:"bold"},{tag:E.emphasis,fontStyle:"italic"},{tag:E.strong,fontWeight:"bold"},{tag:E.strikethrough,textDecoration:"line-through"},{tag:E.keyword,color:"#708"},{tag:[E.atom,E.bool,E.url,E.contentSeparator,E.labelName],color:"#219"},{tag:[E.literal,E.inserted],color:"#164"},{tag:[E.string,E.deleted],color:"#a11"},{tag:[E.regexp,E.escape,E.special(E.string)],color:"#e40"},{tag:E.definition(E.variableName),color:"#00f"},{tag:E.local(E.variableName),color:"#30a"},{tag:[E.typeName,E.namespace],color:"#085"},{tag:E.className,color:"#167"},{tag:[E.special(E.variableName),E.macroName],color:"#256"},{tag:E.definition(E.propertyName),color:"#00c"},{tag:E.comment,color:"#940"},{tag:E.invalid,color:"#f00"}]),BZ=he.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),gC=1e4,bC="()[]{}",yC=be.define({combine(t){return Et(t,{afterCursor:!0,brackets:bC,maxScanDistance:gC,renderMatch:HZ})}}),YZ=ve.mark({class:"cm-matchingBracket"}),FZ=ve.mark({class:"cm-nonmatchingBracket"});function HZ(t){let e=[],i=t.matched?YZ:FZ;return e.push(i.range(t.start.from,t.start.to)),t.end&&e.push(i.range(t.end.from,t.end.to)),e}var GZ=Ge.define({create(){return ve.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let i=[],r=e.state.facet(yC);for(let n of e.state.selection.ranges){if(!n.empty)continue;let o=xr(e.state,n.head,-1,r)||n.head>0&&xr(e.state,n.head-1,1,r)||r.afterCursor&&(xr(e.state,n.head,1,r)||n.head<e.state.doc.length&&xr(e.state,n.head+1,-1,r));o&&(i=i.concat(r.renderMatch(o,e.state)))}return ve.set(i,!0)},provide:t=>he.decorations.from(t)}),KZ=[GZ,BZ];function xC(t={}){return[yC.of(t),KZ]}var Fu=new _e;function rx(t,e,i){let r=t.prop(e<0?_e.openedBy:_e.closedBy);if(r)return r;if(t.name.length==1){let n=i.indexOf(t.name);if(n>-1&&n%2==(e<0?1:0))return[i[n+e]]}return null}function nx(t){let e=t.type.prop(Fu);return e?e(t.node):t}function xr(t,e,i,r={}){let n=r.maxScanDistance||gC,o=r.brackets||bC,s=De(t),a=s.resolveInner(e,i);for(let l=a;l;l=l.parent){let c=rx(l.type,i,o);if(c&&l.from<l.to){let u=nx(l);if(u&&(i>0?e>=u.from&&e<u.to:e>u.from&&e<=u.to))return JZ(t,e,i,l,u,c,o)}}return eB(t,e,i,s,a.type,n,o)}function JZ(t,e,i,r,n,o,s){let a=r.parent,l={from:n.from,to:n.to},c=0,u=a==null?void 0:a.cursor();if(u&&(i<0?u.childBefore(r.from):u.childAfter(r.to)))do if(i<0?u.to<=r.from:u.from>=r.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from<u.to){let f=nx(u);return{start:l,end:f?{from:f.from,to:f.to}:void 0,matched:!0}}else if(rx(u.type,i,s))c++;else if(rx(u.type,-i,s)){if(c==0){let f=nx(u);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}c--}}while(i<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function eB(t,e,i,r,n,o,s){let a=i<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=s.indexOf(a);if(l<0||l%2==0!=i>0)return null;let c={from:i<0?e-1:e,to:i>0?e+1:e},u=t.doc.iterRange(e,i>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let O=u.value;i<0&&(d+=O.length);let g=e+d*i;for(let x=i>0?0:O.length-1,S=i>0?O.length:-1;x!=S;x+=i){let w=s.indexOf(O[x]);if(!(w<0||r.resolveInner(g+x,1).type!=n))if(w%2==0==i>0)f++;else{if(f==1)return{start:c,end:{from:g+x,to:g+x+1},matched:w>>1==l>>1};f--}}i>0&&(d+=O.length)}return u.done?{start:c,matched:!1}:null}function KQ(t,e,i,r=0,n=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let o=n;for(let s=r;s<e;s++)t.charCodeAt(s)==9?o+=i-o%i:o++;return o}var gl=class{constructor(e,i,r,n){this.string=e,this.tabSize=i,this.indentUnit=r,this.overrideIndent=n,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let i=this.string.charAt(this.pos),r;if(typeof e=="string"?r=i==e:r=i&&(e instanceof RegExp?e.test(i):e(i)),r)return++this.pos,i}eatWhile(e){let i=this.pos;for(;this.eat(e););return this.pos>i}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=KQ(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:KQ(this.string,null,this.tabSize)}match(e,i,r){if(typeof e=="string"){let n=s=>r?s.toLowerCase():s,o=this.string.substr(this.pos,e.length);return n(o)==n(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&i!==!1&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}};function tB(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||iB,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||fx}}function iB(t){if(typeof t!="object")return t;let e={};for(let i in t){let r=t[i];e[i]=r instanceof Array?r.slice():r}return e}var JQ=new WeakMap,Zu=class t extends ui{constructor(e){let i=bl(e.languageData),r=tB(e),n,o=new class extends jn{createParse(s,a,l){return new ox(n,s,a,l)}};super(i,o,[rC.of((s,a)=>this.getIndent(s,a))],e.name),this.topNode=sB(i),n=this,this.streamParser=r,this.stateAfter=new _e({perNode:!0}),this.tokenTable=e.tokenTable?new tp(r.tokenTable):oB}static define(e){return new t(e)}getIndent(e,i){let r=De(e.state),n=r.resolve(i);for(;n&&n.type!=this.topNode;)n=n.parent;if(!n)return null;let o,{overrideIndentation:s}=e.options;s&&(o=JQ.get(e.state),o!=null&&o<i-1e4&&(o=void 0));let a=ux(this,r,0,n.from,o!=null?o:i),l,c;if(a?(c=a.state,l=a.pos+1):(c=this.streamParser.startState(e.unit),l=0),i-l>1e4)return null;for(;l<i;){let f=e.state.doc.lineAt(l),d=Math.min(i,f.to);if(f.length){let O=s?s(f.from):-1,g=new gl(f.text,e.state.tabSize,e.unit,O<0?void 0:O);for(;g.pos<d-f.from;)wC(this.streamParser.token,g,c)}else this.streamParser.blankLine(c,e.unit);if(d==i)break;l=f.to+1}let u=e.lineAt(i);return s&&o==null&&JQ.set(e.state,u.from),this.streamParser.indent(c,/^\s*(.*)/.exec(u.text)[1],e)}get allowsNesting(){return!1}};function ux(t,e,i,r,n){let o=i>=r&&i+e.length<=n&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:i+e.length};for(let s=e.children.length-1;s>=0;s--){let a=e.children[s],l=i+e.positions[s],c=a instanceof We&&l<n&&ux(t,a,l,r,n);if(c)return c}return null}function vC(t,e,i,r,n){if(n&&i<=0&&r>=e.length)return e;!n&&e.type==t.topNode&&(n=!0);for(let o=e.children.length-1;o>=0;o--){let s=e.positions[o],a=e.children[o],l;if(s<r&&a instanceof We){if(!(l=vC(t,a,i-s,r-s,n)))break;return n?new We(e.type,e.children.slice(0,o).concat(l),e.positions.slice(0,o+1),s+l.length):l}}return null}function rB(t,e,i,r){for(let n of e){let o=n.from+(n.openStart?25:0),s=n.to-(n.openEnd?25:0),a=o<=i&&s>i&&ux(t,n.tree,0-n.offset,i,s),l;if(a&&(l=vC(t,n.tree,i+n.offset,a.pos+n.offset,!1)))return{state:a.state,tree:l}}return{state:t.streamParser.startState(r?On(r):4),tree:We.empty}}var ox=class{constructor(e,i,r,n){this.lang=e,this.input=i,this.fragments=r,this.ranges=n,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=n[n.length-1].to;let o=Ys.get(),s=n[0].from,{state:a,tree:l}=rB(e,r,s,o==null?void 0:o.state);this.state=a,this.parsedPos=this.chunkStart=s+l.length;for(let c=0;c<l.children.length;c++)this.chunks.push(l.children[c]),this.chunkPos.push(l.positions[c]);o&&this.parsedPos<o.viewport.from-1e5&&(this.state=this.lang.streamParser.startState(On(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}advance(){let e=Ys.get(),i=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),r=Math.min(i,this.chunkStart+2048);for(e&&(r=Math.min(r,e.viewport.to));this.parsedPos<r;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==`
`&&(i="");else{let r=i.indexOf(`
`);r>-1&&(i=i.slice(0,r))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),r=e+i.length;for(let n=this.rangeIndex;;){let o=this.ranges[n].to;if(o>=r||(i=i.slice(0,o-(r-i.length)),n++,n==this.ranges.length))break;let s=this.ranges[n].from,a=this.lineAfter(s);i+=a,r=s+a.length}return{line:i,end:r}}skipGapsTo(e,i,r){for(;;){let n=this.ranges[this.rangeIndex].to,o=e+i;if(r>0?n>o:n>=o)break;let s=this.ranges[++this.rangeIndex].from;i+=s-n}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,i,r,n,o){if(this.ranges.length>1){o=this.skipGapsTo(i,o,1),i+=o;let s=this.chunk.length;o=this.skipGapsTo(r,o,-1),r+=o,n+=this.chunk.length-s}return this.chunk.push(e,i,r,n),o}parseLine(e){let{line:i,end:r}=this.nextLine(),n=0,{streamParser:o}=this.lang,s=new gl(i,e?e.state.tabSize:4,e?On(e.state):2);if(s.eol())o.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let a=wC(o.token,s,this.state);if(a&&(n=this.emitToken(this.lang.tokenTable.resolve(a),this.parsedPos+s.start,this.parsedPos+s.pos,4,n)),s.start>1e4)break}this.parsedPos=r,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=We.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:nB,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new We(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 We(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}};function wC(t,e,i){e.start=e.pos;for(let r=0;r<10;r++){let n=t(e,i);if(e.pos>e.start)return n}throw new Error("Stream parser failed to advance stream.")}var fx=Object.create(null),Bu=[Qt.none],nB=new Mn(Bu),eC=[],tC=Object.create(null),kC=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"]])kC[t]=SC(fx,e);var tp=class{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),kC)}resolve(e){return e?this.table[e]||(this.table[e]=SC(this.extra,e)):0}},oB=new tp(fx);function Gy(t,e){eC.indexOf(t)>-1||(eC.push(t),console.warn(e))}function SC(t,e){let i=[];for(let a of e.split(" ")){let l=[];for(let c of a.split(".")){let u=t[c]||E[c];u?typeof u=="function"?l.length?l=l.map(u):Gy(c,`Modifier ${c} used at start of tag`):l.length?Gy(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:Gy(c,`Unknown highlighting tag ${c}`)}for(let c of l)i.push(c)}if(!i.length)return 0;let r=e.replace(/ /g,"_"),n=r+" "+i.map(a=>a.id),o=tC[n];if(o)return o.id;let s=tC[n]=Qt.define({id:Bu.length,name:r,props:[wt({[r]:i})]});return Bu.push(s),s.id}function sB(t){let e=Qt.define({id:Bu.length,name:"Document",props:[Yn.add(()=>t)],top:!0});return Bu.push(e),e}var dwe={rtl:ve.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:st.RTL}),ltr:ve.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:st.LTR}),auto:ve.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})};var xl=class{constructor(e,i,r){this.state=e,this.pos=i,this.explicit=r,this.abortListeners=[]}tokenBefore(e){let i=De(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),r=Math.max(i.from,this.pos-250),n=i.text.slice(r-i.from,this.pos-i.from),o=n.search(XC(e,!1));return o<0?null:{from:r+o,to:this.pos,text:n.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,i){e=="abort"&&this.abortListeners&&this.abortListeners.push(i)}};function TC(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function aB(t){let e=Object.create(null),i=Object.create(null);for(let{label:n}of t){e[n[0]]=!0;for(let o=1;o<n.length;o++)i[n[o]]=!0}let r=TC(e)+TC(i)+"*$";return[new RegExp("^"+r),new RegExp(r)]}function Ks(t){let e=t.map(n=>typeof n=="string"?{label:n}:n),[i,r]=e.every(n=>/^\w+$/.test(n.label))?[/\w*$/,/\w+$/]:aB(e);return n=>{let o=n.matchBefore(r);return o||n.explicit?{from:o?o.from:n.pos,options:e,validFor:i}:null}}function wl(t,e){return i=>{for(let r=De(i.state).resolveInner(i.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(i)}}var ap=class{constructor(e,i,r,n){this.completion=e,this.source=i,this.match=r,this.score=n}};function Go(t){return t.selection.main.from}function XC(t,e){var i;let{source:r}=t,n=e&&r[0]!="^",o=r[r.length-1]!="$";return!n&&!o?t:new RegExp(`${n?"^":""}(?:${r})${o?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}var Sx=vi.define();function lB(t,e,i,r){let{main:n}=t.selection,o=i-n.from,s=r-n.from;return Object.assign(Object.assign({},t.changeByRange(a=>a!=n&&i!=r&&t.sliceDoc(a.from+o,a.from+s)!=t.sliceDoc(i,r)?{range:a}:{changes:{from:a.from+o,to:r==n.from?a.to:a.from+s,insert:e},range:K.cursor(a.from+o+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}var EC=new WeakMap;function cB(t){if(!Array.isArray(t))return t;let e=EC.get(t);return e||EC.set(t,e=Ks(t)),e}var lp=ke.define(),Hu=ke.define(),Ox=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i<e.length;){let r=Zt(e,i),n=_i(r);this.chars.push(r);let o=e.slice(i,i+n),s=o.toUpperCase();this.folded.push(Zt(s==o?o.toLowerCase():s,0)),i+=n}this.astral=e.length!=this.chars.length}ret(e,i){return this.score=e,this.matched=i,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:i,folded:r,any:n,precise:o,byWord:s}=this;if(i.length==1){let T=Zt(e,0),A=_i(T),I=A==e.length?0:-100;if(T!=i[0])if(T==r[0])I+=-200;else return null;return this.ret(I,[0,A])}let a=e.indexOf(this.pattern);if(a==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=i.length,c=0;if(a<0){for(let T=0,A=Math.min(e.length,200);T<A&&c<l;){let I=Zt(e,T);(I==i[c]||I==r[c])&&(n[c++]=T),T+=_i(I)}if(c<l)return null}let u=0,f=0,d=!1,O=0,g=-1,x=-1,S=/[a-z]/.test(e),w=!0;for(let T=0,A=Math.min(e.length,200),I=0;T<A&&f<l;){let C=Zt(e,T);a<0&&(u<l&&C==i[u]&&(o[u++]=T),O<l&&(C==i[O]||C==r[O]?(O==0&&(g=T),x=T+1,O++):O=0));let $,j=C<255?C>=48&&C<=57||C>=97&&C<=122?2:C>=65&&C<=90?1:0:($=yu(C))!=$.toLowerCase()?1:$!=$.toUpperCase()?2:0;(!T||j==1&&S||I==0&&j!=0)&&(i[f]==C||r[f]==C&&(d=!0)?s[f++]=T:s.length&&(w=!1)),I=j,T+=_i(C)}return f==l&&s[0]==0&&w?this.result(-100+(d?-200:0),s,e):O==l&&g==0?this.ret(-200-e.length+(x==e.length?0:-100),[0,x]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):O==l?this.ret(-900-e.length,[g,x]):f==l?this.result(-100+(d?-200:0)+-700+(w?0:-1100),s,e):i.length==2?null:this.result((n[0]?-700:0)+-200+-1100,n,e)}result(e,i,r){let n=[],o=0;for(let s of i){let a=s+(this.astral?_i(Zt(r,s)):1);o&&n[o-1]==s?n[o-1]=a:(n[o++]=s,n[o++]=a)}return this.ret(e-r.length,n)}},px=class{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let i=e.slice(0,this.pattern.length),r=i==this.pattern?0:i.toLowerCase()==this.folded?-200:null;return r==null?null:(this.matched=[0,i.length],this.score=r+(e.length==this.pattern.length?0:-100),this)}},hi=be.define({combine(t){return Et(t,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:uB,filterStrict:!1,compareCompletions:(e,i)=>e.label.localeCompare(i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>r=>PC(e(r),i(r)),optionClass:(e,i)=>r=>PC(e(r),i(r)),addToOptions:(e,i)=>e.concat(i),filterStrict:(e,i)=>e||i})}});function PC(t,e){return t?e?t+" "+e:t:e}function uB(t,e,i,r,n,o){let s=t.textDirection==st.RTL,a=s,l=!1,c="top",u,f,d=e.left-n.left,O=n.right-e.right,g=r.right-r.left,x=r.bottom-r.top;if(a&&d<Math.min(g,O)?a=!1:!a&&O<Math.min(g,d)&&(a=!0),g<=(a?d:O))u=Math.max(n.top,Math.min(i.top,n.bottom-x))-e.top,f=Math.min(400,a?d:O);else{l=!0,f=Math.min(400,(s?e.right:n.right-e.left)-30);let T=n.bottom-e.bottom;T>=x||T>e.top?u=i.bottom-e.top:(c="bottom",u=e.bottom-i.top)}let S=(e.bottom-e.top)/o.offsetHeight,w=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/S}px; max-width: ${f/w}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function fB(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),i.type&&r.classList.add(...i.type.split(/\s+/g).map(n=>"cm-completionIcon-"+n)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(i,r,n,o){let s=document.createElement("span");s.className="cm-completionLabel";let a=i.displayLabel||i.label,l=0;for(let c=0;c<o.length;){let u=o[c++],f=o[c++];u>l&&s.appendChild(document.createTextNode(a.slice(l,u)));let d=s.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(a.slice(u,f))),d.className="cm-completionMatchedText",l=f}return l<a.length&&s.appendChild(document.createTextNode(a.slice(l))),s},position:50},{render(i){if(!i.detail)return null;let r=document.createElement("span");return r.className="cm-completionDetail",r.textContent=i.detail,r},position:80}),e.sort((i,r)=>i.position-r.position).map(i=>i.render)}function hx(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let n=Math.floor(e/i);return{from:n*i,to:(n+1)*i}}let r=Math.floor((t-e)/i);return{from:t-(r+1)*i,to:t-r*i}}var mx=class{constructor(e,i,r){this.view=e,this.stateField=i,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let n=e.state.field(i),{options:o,selected:s}=n.open,a=e.state.facet(hi);this.optionContent=fB(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=hx(o.length,s,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(i).open;for(let u=l.target,f;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(f=/-(\d+)$/.exec(u.id))&&+f[1]<c.length){this.applyCompletion(e,c[+f[1]]),l.preventDefault();return}}),this.dom.addEventListener("focusout",l=>{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(hi).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:Hu.of(null)})}),this.showOptions(o,n.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let r=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=n){let{options:o,selected:s,disabled:a}=r.open;(!n.open||n.open.options!=o)&&(this.range=hx(o.length,s,e.state.facet(hi).maxRenderedOptions),this.showOptions(o,r.id)),this.updateSel(),a!=((i=n.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of i.split(" "))r&&this.dom.classList.add(r);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;if((i.selected>-1&&i.selected<this.range.from||i.selected>=this.range.to)&&(this.range=hx(i.options.length,i.selected,this.view.state.facet(hi).maxRenderedOptions),this.showOptions(i.options,e.id)),this.updateSelectedOption(i.selected)){this.destroyInfo();let{completion:r}=i.options[i.selected],{info:n}=r;if(!n)return;let o=typeof n=="string"?document.createTextNode(n):n(r);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(s,r)}).catch(s=>ci(this.view.state,s,"completion info")):this.addInfoPane(o,r)}}addInfoPane(e,i){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:n,destroy:o}=e;r.appendChild(n),this.infoDestroy=o||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let r=this.list.firstChild,n=this.range.from;r;r=r.nextSibling,n++)r.nodeName!="LI"||!r.id?n--:n==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),i=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return i&&dB(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),o=this.space;if(!o){let s=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,right:s.innerWidth,bottom:s.innerHeight}}return n.top>Math.min(o.bottom,i.bottom)-10||n.bottom<Math.max(o.top,i.top)+10?null:this.view.state.facet(hi).positionInfo(this.view,i,n,r,o,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,i,r){let n=document.createElement("ul");n.id=i,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions"));let o=null;for(let s=r.from;s<r.to;s++){let{completion:a,match:l}=e[s],{section:c}=a;if(c){let d=typeof c=="string"?c:c.name;if(d!=o&&(s>r.from||r.from==0))if(o=d,typeof c!="string"&&c.header)n.appendChild(c.header(c));else{let O=n.appendChild(document.createElement("completion-section"));O.textContent=d}}let u=n.appendChild(document.createElement("li"));u.id=i+"-"+s,u.setAttribute("role","option");let f=this.optionClass(a);f&&(u.className=f);for(let d of this.optionContent){let O=d(a,this.view.state,this.view,l);O&&u.appendChild(O)}}return r.from&&n.classList.add("cm-completionListIncompleteTop"),r.to<e.length&&n.classList.add("cm-completionListIncompleteBottom"),n}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}};function hB(t,e){return i=>new mx(i,t,e)}function dB(t,e){let i=t.getBoundingClientRect(),r=e.getBoundingClientRect(),n=i.height/t.offsetHeight;r.top<i.top?t.scrollTop-=(i.top-r.top)/n:r.bottom>i.bottom&&(t.scrollTop+=(r.bottom-i.bottom)/n)}function QC(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function OB(t,e){let i=[],r=null,n=c=>{i.push(c);let{section:u}=c.completion;if(u){r||(r=[]);let f=typeof u=="string"?u:u.name;r.some(d=>d.name==f)||r.push(typeof u=="string"?{name:f}:u)}},o=e.facet(hi);for(let c of t)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)n(new ap(f,c.source,u?u(f):[],1e9-i.length));else{let f=e.sliceDoc(c.from,c.to),d,O=o.filterStrict?new px(f):new Ox(f);for(let g of c.result.options)if(d=O.match(g.label)){let x=g.displayLabel?u?u(g,d.matched):[]:d.matched;n(new ap(g,c.source,x,d.score+(g.boost||0)))}}}if(r){let c=Object.create(null),u=0,f=(d,O)=>{var g,x;return((g=d.rank)!==null&&g!==void 0?g:1e9)-((x=O.rank)!==null&&x!==void 0?x:1e9)||(d.name<O.name?-1:1)};for(let d of r.sort(f))u-=1e5,c[d.name]=u;for(let d of i){let{section:O}=d.completion;O&&(d.score+=c[typeof O=="string"?O:O.name])}}let s=[],a=null,l=o.compareCompletions;for(let c of i.sort((u,f)=>f.score-u.score||l(u.completion,f.completion))){let u=c.completion;!a||a.label!=u.label||a.detail!=u.detail||a.type!=null&&u.type!=null&&a.type!=u.type||a.apply!=u.apply||a.boost!=u.boost?s.push(c):QC(c.completion)>QC(a)&&(s[s.length-1]=c),a=c.completion}return s}var gx=class t{constructor(e,i,r,n,o,s){this.options=e,this.attrs=i,this.tooltip=r,this.timestamp=n,this.selected=o,this.disabled=s}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new t(this.options,CC(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,r,n,o){let s=OB(e,i);if(!s.length)return n&&e.some(l=>l.state==1)?new t(n.options,n.attrs,n.tooltip,n.timestamp,n.selected,!0):null;let a=i.facet(hi).selectOnOpen?0:-1;if(n&&n.selected!=a&&n.selected!=-1){let l=n.options[n.selected].completion;for(let c=0;c<s.length;c++)if(s[c].completion==l){a=c;break}}return new t(s,CC(r,a),{pos:e.reduce((l,c)=>c.hasResult()?Math.min(l,c.from):l,1e8),create:yB,above:o.aboveCursor},n?n.timestamp:Date.now(),a,!1)}map(e){return new t(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}},bx=class t{constructor(e,i,r){this.active=e,this.id=i,this.open=r}static start(){return new t(gB,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,r=i.facet(hi),o=(r.override||i.languageDataAt("autocomplete",Go(i)).map(cB)).map(a=>(this.active.find(c=>c.source==a)||new pn(a,this.active.some(c=>c.state!=0)?1:0)).update(e,r));o.length==this.active.length&&o.every((a,l)=>a==this.active[l])&&(o=this.active);let s=this.open;s&&e.docChanged&&(s=s.map(e.changes)),e.selection||o.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!pB(o,this.active)?s=gx.build(o,i,this.id,s,r):s&&s.disabled&&!o.some(a=>a.state==1)&&(s=null),!s&&o.every(a=>a.state!=1)&&o.some(a=>a.hasResult())&&(o=o.map(a=>a.hasResult()?new pn(a.source,0):a));for(let a of e.effects)a.is(LC)&&(s=s&&s.setSelected(a.value,this.id));return o==this.active&&s==this.open?this:new t(o,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:mB}};function pB(t,e){if(t==e)return!0;for(let i=0,r=0;;){for(;i<t.length&&!t[i].hasResult;)i++;for(;r<e.length&&!e[r].hasResult;)r++;let n=i==t.length,o=r==e.length;if(n||o)return n==o;if(t[i++].result!=e[r++].result)return!1}}var mB={"aria-autocomplete":"list"};function CC(t,e){let i={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(i["aria-activedescendant"]=t+"-"+e),i}var gB=[];function yx(t,e){if(t.isUserEvent("input.complete")){let i=t.annotation(Sx);if(i&&e.activateOnCompletion(i))return"input"}return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}var pn=class t{constructor(e,i,r=-1){this.source=e,this.state=i,this.explicitPos=r}hasResult(){return!1}update(e,i){let r=yx(e,i),n=this;r?n=n.handleUserEvent(e,r,i):e.docChanged?n=n.handleChange(e):e.selection&&n.state!=0&&(n=new t(n.source,0));for(let o of e.effects)if(o.is(lp))n=new t(n.source,1,o.value?Go(e.state):-1);else if(o.is(Hu))n=new t(n.source,0);else if(o.is(RC))for(let s of o.value)s.source==n.source&&(n=s);return n}handleUserEvent(e,i,r){return i=="delete"||!r.activateOnTyping?this.map(e.changes):new t(this.source,1)}handleChange(e){return e.changes.touchesRange(Go(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))}},cp=class t extends pn{constructor(e,i,r,n,o){super(e,2,i),this.result=r,this.from=n,this.to=o}hasResult(){return!0}handleUserEvent(e,i,r){var n;let o=this.result;o.map&&!e.changes.empty&&(o=o.map(o,e.changes));let s=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),l=Go(e.state);if((this.explicitPos<0?l<=s:l<this.from)||l>a||!o||i=="delete"&&Go(e.startState)==this.from)return new pn(this.source,i=="input"&&r.activateOnTyping?1:0);let c=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return bB(o.validFor,e.state,s,a)?new t(this.source,c,o,s,a):o.update&&(o=o.update(o,s,a,new xl(e.state,l,c>=0)))?new t(this.source,c,o,o.from,(n=o.to)!==null&&n!==void 0?n:Go(e.state)):new pn(this.source,1,c)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new pn(this.source,0):this.map(e.changes)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new t(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new pn(this.source,0)}};function bB(t,e,i,r){if(!t)return!1;let n=e.sliceDoc(i,r);return typeof t=="function"?t(n,i,r,e):XC(t,!0).test(n)}var RC=ke.define({map(t,e){return t.map(i=>i.map(e))}}),LC=ke.define(),Wi=Ge.define({create(){return bx.start()},update(t,e){return t.update(e)},provide:t=>[Bn.from(t,e=>e.tooltip),he.contentAttributes.from(t,e=>e.attrs)]});function Tx(t,e){let i=e.completion.apply||e.completion.label,r=t.state.field(Wi).active.find(n=>n.source==e.source);return r instanceof cp?(typeof i=="string"?t.dispatch(Object.assign(Object.assign({},lB(t.state,i,r.from,r.to)),{annotations:Sx.of(e.completion)})):i(t,e.completion,r.from,r.to),!0):!1}var yB=hB(Wi,Tx);function Hn(t,e="option"){return i=>{let r=i.state.field(Wi,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<i.state.facet(hi).interactionDelay)return!1;let n=1,o;e=="page"&&(o=My(i,r.open.tooltip))&&(n=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=r.open.options,a=r.open.selected>-1?r.open.selected+n*(t?1:-1):t?0:s-1;return a<0?a=e=="page"?0:s-1:a>=s&&(a=e=="page"?s-1:0),i.dispatch({effects:LC.of(a)}),!0}}var up=t=>{let e=t.state.field(Wi,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(hi).interactionDelay?!1:Tx(t,e.open.options[e.open.selected])},Ju=t=>t.state.field(Wi,!1)?(t.dispatch({effects:lp.of(!0)}),!0):!1,ef=t=>{let e=t.state.field(Wi,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:Hu.of(null)}),!0)},xx=class{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}},xB=50,vB=1e3,wB=Fe.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Wi).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(Wi),i=t.state.facet(hi);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Wi)==e)return;let r=t.transactions.some(o=>(o.selection||o.docChanged)&&!yx(o,i));for(let o=0;o<this.running.length;o++){let s=this.running[o];if(r||s.updates.length+t.transactions.length>xB&&Date.now()-s.time>vB){for(let a of s.context.abortListeners)try{a()}catch(l){ci(this.view.state,l)}s.context.abortListeners=null,this.running.splice(o--,1)}else s.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(o=>o.effects.some(s=>s.is(lp)))&&(this.pendingStart=!0);let n=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(o=>o.state==1&&!this.running.some(s=>s.active.source==o.source))?setTimeout(()=>this.startUpdate(),n):-1,this.composing!=0)for(let o of t.transactions)yx(o,i)=="input"?this.composing=2:this.composing==2&&o.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Wi);for(let i of e.active)i.state==1&&!this.running.some(r=>r.active.source==i.source)&&this.startQuery(i)}startQuery(t){let{state:e}=this.view,i=Go(e),r=new xl(e,i,t.explicitPos==i),n=new xx(t,r);this.running.push(n),Promise.resolve(t.source(r)).then(o=>{n.context.aborted||(n.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:Hu.of(null)}),ci(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(hi).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(hi);for(let r=0;r<this.running.length;r++){let n=this.running[r];if(n.done===void 0)continue;if(this.running.splice(r--,1),n.done){let s=new cp(n.active.source,n.active.explicitPos,n.done,n.done.from,(t=n.done.to)!==null&&t!==void 0?t:Go(n.updates.length?n.updates[0].startState:this.view.state));for(let a of n.updates)s=s.update(a,i);if(s.hasResult()){e.push(s);continue}}let o=this.view.state.field(Wi).active.find(s=>s.source==n.active.source);if(o&&o.state==1)if(n.done==null){let s=new pn(n.active.source,0);for(let a of n.updates)s=s.update(a,i);s.state!=1&&e.push(s)}else this.startQuery(o)}e.length&&this.view.dispatch({effects:RC.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Wi,!1);if(e&&e.tooltip&&this.view.state.facet(hi).closeOnBlur){let i=e.open&&My(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Hu.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:lp.of(!1)}),20),this.composing=0}}}),kB=typeof navigator=="object"&&/Win/.test(navigator.platform),SB=Rt.highest(he.domEventHandlers({keydown(t,e){let i=e.state.field(Wi,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(kB&&t.altKey)||t.metaKey)return!1;let r=i.open.options[i.open.selected],n=i.active.find(s=>s.source==r.source),o=r.completion.commitCharacters||n.result.commitCharacters;return o&&o.indexOf(t.key)>-1&&Tx(e,r),!1}})),IC=he.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"}}}),vx=class{constructor(e,i,r,n){this.field=e,this.line=i,this.from=r,this.to=n}},wx=class t{constructor(e,i,r){this.field=e,this.from=i,this.to=r}map(e){let i=e.mapPos(this.from,-1,Tt.TrackDel),r=e.mapPos(this.to,1,Tt.TrackDel);return i==null||r==null?null:new t(this.field,i,r)}},kx=class t{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let r=[],n=[i],o=e.doc.lineAt(i),s=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(r.length){let c=s,u=/^\t*/.exec(l)[0].length;for(let f=0;f<u;f++)c+=e.facet(Nr);n.push(i+c.length-u),l=c+l.slice(u)}r.push(l),i+=l.length+1}let a=this.fieldPositions.map(l=>new wx(l.field,n[l.line]+l.from,n[l.line]+l.to));return{text:r,ranges:a}}static parse(e){let i=[],r=[],n=[],o;for(let s of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(s);){let a=o[1]?+o[1]:null,l=o[2]||o[3]||"",c=-1,u=l.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f<i.length;f++)(a!=null?i[f].seq==a:u&&i[f].name==u)&&(c=f);if(c<0){let f=0;for(;f<i.length&&(a==null||i[f].seq!=null&&i[f].seq<a);)f++;i.splice(f,0,{seq:a,name:u}),c=f;for(let d of n)d.field>=c&&d.field++}n.push(new vx(c,r.length,o.index,o.index+u.length)),s=s.slice(0,o.index)+l+s.slice(o.index+o[0].length)}s=s.replace(/\\([{}])/g,(a,l,c)=>{for(let u of n)u.line==r.length&&u.from>c&&(u.from--,u.to--);return l}),r.push(s)}return new t(r,n)}},TB=ve.widget({widget:new class extends ti{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),EB=ve.mark({class:"cm-snippetField"}),vl=class t{constructor(e,i){this.ranges=e,this.active=i,this.deco=ve.set(e.map(r=>(r.from==r.to?TB:EB).range(r.from,r.to)))}map(e){let i=[];for(let r of this.ranges){let n=r.map(e);if(!n)return null;i.push(n)}return new t(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(r=>r.field==this.active&&r.from<=i.from&&r.to>=i.to))}},tf=ke.define({map(t,e){return t&&t.map(e)}}),PB=ke.define(),Gu=Ge.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(tf))return i.value;if(i.is(PB)&&t)return new vl(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>he.decorations.from(t,e=>e?e.deco:ve.none)});function Ex(t,e){return K.create(t.filter(i=>i.field==e).map(i=>K.range(i.from,i.to)))}function QB(t){let e=kx.parse(t);return(i,r,n,o)=>{let{text:s,ranges:a}=e.instantiate(i.state,n),l={changes:{from:n,to:o,insert:He.of(s)},scrollIntoView:!0,annotations:r?[Sx.of(r),Ct.userEvent.of("input.complete")]:void 0};if(a.length&&(l.selection=Ex(a,0)),a.some(c=>c.field>0)){let c=new vl(a,0),u=l.effects=[tf.of(c)];i.state.field(Gu,!1)===void 0&&u.push(ke.appendConfig.of([Gu,XB,RB,IC]))}i.dispatch(i.state.update(l))}}function zC(t){return({state:e,dispatch:i})=>{let r=e.field(Gu,!1);if(!r||t<0&&r.active==0)return!1;let n=r.active+t,o=t>0&&!r.ranges.some(s=>s.field==n+t);return i(e.update({selection:Ex(r.ranges,n),effects:tf.of(o?null:new vl(r.ranges,n)),scrollIntoView:!0})),!0}}var CB=({state:t,dispatch:e})=>t.field(Gu,!1)?(e(t.update({effects:tf.of(null)})),!0):!1,_B=zC(1),$B=zC(-1);var AB=[{key:"Tab",run:_B,shift:$B},{key:"Escape",run:CB}],_C=be.define({combine(t){return t.length?t[0]:AB}}),XB=Rt.highest(Gt.compute([_C],t=>t.facet(_C)));function pt(t,e){return Object.assign(Object.assign({},e),{apply:QB(t)})}var RB=he.domEventHandlers({mousedown(t,e){let i=e.state.field(Gu,!1),r;if(!i||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let n=i.ranges.find(o=>o.from<=r&&o.to>=r);return!n||n.field==i.active?!1:(e.dispatch({selection:Ex(i.ranges,n.field),effects:tf.of(i.ranges.some(o=>o.field>n.field)?new vl(i.ranges,n.field):null),scrollIntoView:!0}),!0)}});var Ku={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Gs=ke.define({map(t,e){let i=e.mapPos(t,-1,Tt.TrackAfter);return i==null?void 0:i}}),Px=new class extends Dr{};Px.startSide=1;Px.endSide=-1;var DC=Ge.define({create(){return Je.empty},update(t,e){if(t=t.map(e.changes),e.selection){let i=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=i.from&&r<=i.to})}for(let i of e.effects)i.is(Gs)&&(t=t.update({add:[Px.range(i.value,i.value+1)]}));return t}});function UC(){return[IB,DC]}var dx="()[]{}<>";function NC(t){for(let e=0;e<dx.length;e+=2)if(dx.charCodeAt(e)==t)return dx.charAt(e+1);return yu(t<128?t:t+1)}function MC(t,e){return t.languageDataAt("closeBrackets",e)[0]||Ku}var LB=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),IB=he.inputHandler.of((t,e,i,r)=>{if((LB?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let n=t.state.selection.main;if(r.length>2||r.length==2&&_i(Zt(r,0))==1||e!=n.from||i!=n.to)return!1;let o=zB(t.state,r);return o?(t.dispatch(o),!0):!1}),qC=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=MC(t,t.selection.main.head).brackets||Ku.brackets,n=null,o=t.changeByRange(s=>{if(s.empty){let a=DB(t.doc,s.head);for(let l of r)if(l==a&&fp(t.doc,s.head)==NC(Zt(l,0)))return{changes:{from:s.head-l.length,to:s.head+l.length},range:K.cursor(s.head-l.length)}}return{range:n=s}});return n||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!n};function zB(t,e){let i=MC(t,t.selection.main.head),r=i.brackets||Ku.brackets;for(let n of r){let o=NC(Zt(n,0));if(e==n)return o==n?MB(t,n,r.indexOf(n+n+n)>-1,i):UB(t,n,o,i.before||Ku.before);if(e==o&&jC(t,t.selection.main.from))return NB(t,n,o)}return null}function jC(t,e){let i=!1;return t.field(DC).between(0,t.doc.length,r=>{r==e&&(i=!0)}),i}function fp(t,e){let i=t.sliceString(e,e+2);return i.slice(0,_i(Zt(i,0)))}function DB(t,e){let i=t.sliceString(e-2,e);return _i(Zt(i,0))==i.length?i:i.slice(1)}function UB(t,e,i,r){let n=null,o=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:i,from:s.to}],effects:Gs.of(s.to+e.length),range:K.range(s.anchor+e.length,s.head+e.length)};let a=fp(t.doc,s.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:e+i,from:s.head},effects:Gs.of(s.head+e.length),range:K.cursor(s.head+e.length)}:{range:n=s}});return n?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function NB(t,e,i){let r=null,n=t.changeByRange(o=>o.empty&&fp(t.doc,o.head)==i?{changes:{from:o.head,to:o.head+i.length,insert:i},range:K.cursor(o.head+i.length)}:r={range:o});return r?null:t.update(n,{scrollIntoView:!0,userEvent:"input.type"})}function MB(t,e,i,r){let n=r.stringPrefixes||Ku.stringPrefixes,o=null,s=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:Gs.of(a.to+e.length),range:K.range(a.anchor+e.length,a.head+e.length)};let l=a.head,c=fp(t.doc,l),u;if(c==e){if($C(t,l))return{changes:{insert:e+e,from:l},effects:Gs.of(l+e.length),range:K.cursor(l+e.length)};if(jC(t,l)){let d=i&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:K.cursor(l+d.length)}}}else{if(i&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=AC(t,l-2*e.length,n))>-1&&$C(t,u))return{changes:{insert:e+e+e+e,from:l},effects:Gs.of(l+e.length),range:K.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=dt.Word&&AC(t,l,n)>-1&&!qB(t,l,e,n))return{changes:{insert:e+e,from:l},effects:Gs.of(l+e.length),range:K.cursor(l+e.length)}}return{range:o=a}});return o?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function $C(t,e){let i=De(t).resolveInner(e+1);return i.parent&&i.from==e}function qB(t,e,i,r){let n=De(t).resolveInner(e,-1),o=r.reduce((s,a)=>Math.max(s,a.length),0);for(let s=0;s<5;s++){let a=t.sliceDoc(n.from,Math.min(n.to,n.from+i.length+o)),l=a.indexOf(i);if(!l||l>-1&&r.indexOf(a.slice(0,l))>-1){let u=n.firstChild;for(;u&&u.from==n.from&&u.to-u.from>i.length+l;){if(t.sliceDoc(u.to-i.length,u.to)==i)return!1;u=u.firstChild}return!0}let c=n.to==e&&n.parent;if(!c)break;n=c}return!1}function AC(t,e,i){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=dt.Word)return e;for(let n of i){let o=e-n.length;if(t.sliceDoc(o,e)==n&&r(t.sliceDoc(o-1,o))!=dt.Word)return o}return-1}function Qx(t={}){return[SB,Wi,hi.of(t),wB,WB,IC]}var jB=[{key:"Ctrl-Space",run:Ju},{key:"Escape",run:ef},{key:"ArrowDown",run:Hn(!0)},{key:"ArrowUp",run:Hn(!1)},{key:"PageDown",run:Hn(!0,"page")},{key:"PageUp",run:Hn(!1,"page")},{key:"Enter",run:up}],WB=Rt.highest(Gt.computeN([hi],t=>t.facet(hi).defaultKeymap?[jB]:[]));var Op=class t{static create(e,i,r,n,o){let s=n+(n<<8)+e+(i<<4)|0;return new t(e,i,r,s,o,[],[])}constructor(e,i,r,n,o,s,a){this.type=e,this.value=i,this.from=r,this.hash=n,this.end=o,this.children=s,this.positions=a,this.hashProp=[[_e.contextHash,n]]}addChild(e,i){e.prop(_e.contextHash)!=this.hash&&(e=new We(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let r=this.children.length-1;return r>=0&&(i=Math.max(i,this.positions[r]+this.children[r].length+this.from)),new We(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(n,o,s)=>new We(Qt.none,n,o,s,this.hashProp)})}},ge;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(ge||(ge={}));var $x=class{constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}},Ax=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 of(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,i=0,r=0){for(let n=i;n<e;n++)r+=this.text.charCodeAt(n)==9?4-r%4:1;return r}findColumn(e){let i=0;for(let r=0;i<this.text.length&&r<e;i++)r+=this.text.charCodeAt(i)==9?4-r%4:1;return i}scrub(){if(!this.baseIndent)return this.text;let e="";for(let i=0;i<this.basePos;i++)e+=" ";return e+this.text.slice(this.basePos)}};function WC(t,e,i){if(i.pos==i.text.length||t!=e.block&&i.indent>=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let r=(t.type==ge.OrderedList?Vx:Wx)(i,e,!1);return r>0&&(t.type!=ge.BulletList||jx(i,e,!1)<0)&&i.text.charCodeAt(i.pos+r-1)==t.value}var i_={[ge.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(et(ge.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+(wr(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[ge.ListItem](t,e,i){return i.indent<i.baseIndent+t.value&&i.next>-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[ge.OrderedList]:WC,[ge.BulletList]:WC,[ge.Document](){return!0}};function wr(t){return t==32||t==9||t==10||t==13}function of(t,e=0){for(;e<t.length&&wr(t.charCodeAt(e));)e++;return e}function VC(t,e,i){for(;e>i&&wr(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 i=e;i<t.text.length;i++)if(t.text.charCodeAt(i)==96)return-1}return e}function n_(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function jx(t,e,i){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let r=1;for(let n=t.pos+1;n<t.text.length;n++){let o=t.text.charCodeAt(n);if(o==t.next)r++;else if(!wr(o))return-1}return i&&t.next==45&&a_(t)>-1&&t.depth==e.stack.length||r<3?-1:1}function o_(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function Wx(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||wr(t.text.charCodeAt(t.pos+1)))&&(!i||o_(e,ge.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function Vx(t,e,i){let r=t.pos,n=t.next;for(;n>=48&&n<=57;){r++;if(r==t.text.length)return-1;n=t.text.charCodeAt(r)}return r==t.pos||r>t.pos+9||n!=46&&n!=41||r<t.text.length-1&&!wr(t.text.charCodeAt(r+1))||i&&!o_(e,ge.OrderedList)&&(t.skipSpace(r+1)==t.text.length||r>t.pos+1||t.next!=49)?-1:r+1-t.pos}function s_(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let i=e-t.pos;return i>6?-1:i}function a_(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let i=e;for(;e<t.text.length&&wr(t.text.charCodeAt(e));)e++;return e==t.text.length?i:-1}var Xx=/^[ \t]*$/,l_=/-->/,c_=/\?>/,Rx=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,l_],[/^\s*<\?/,c_],[/^\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,Xx],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,Xx]];function u_(t,e,i){if(t.next!=60)return-1;let r=t.text.slice(t.pos);for(let n=0,o=Rx.length-(i?1:0);n<o;n++)if(Rx[n][0].test(r))return n;return-1}function ZC(t,e){let i=t.countIndent(e,t.pos,t.indent),r=t.countIndent(t.skipSpace(e),e,i);return r>=i+5?i+1:r}function Js(t,e,i){let r=t.length-1;r>=0&&t[r].to==e&&t[r].type==ge.CodeText?t[r].to=i:t.push(et(ge.CodeText,e,i))}var hp={LinkReference:void 0,IndentedCode(t,e){let i=e.baseIndent+4;if(e.indent<i)return!1;let r=e.findColumn(i),n=t.lineStart+r,o=t.lineStart+e.text.length,s=[],a=[];for(Js(s,n,o);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){Js(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<i)break;{if(a.length){for(let c of a)c.type==ge.CodeText?Js(s,c.from,c.to):s.push(c);a=[]}Js(s,t.lineStart-1,t.lineStart);for(let c of e.markers)s.push(c);o=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<o&&Js(s,l,o)}}return a.length&&(a=a.filter(l=>l.type!=ge.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(s,-n).finish(ge.CodeBlock,o-n),n),!0},FencedCode(t,e){let i=r_(e);if(i<0)return!1;let r=t.lineStart+e.pos,n=e.next,o=i-e.pos,s=e.skipSpace(i),a=VC(e.text,e.text.length,s),l=[et(ge.CodeMark,r,r+o)];s<a&&l.push(et(ge.CodeInfo,t.lineStart+s,t.lineStart+a));for(let c=!0;t.nextLine()&&e.depth>=t.stack.length;c=!1){let u=e.pos;if(e.indent-e.baseIndent<4)for(;u<e.text.length&&e.text.charCodeAt(u)==n;)u++;if(u-e.pos>=o&&e.skipSpace(u)==e.text.length){for(let f of e.markers)l.push(f);l.push(et(ge.CodeMark,t.lineStart+e.pos,t.lineStart+u)),t.nextLine();break}else{c||Js(l,t.lineStart-1,t.lineStart);for(let O of e.markers)l.push(O);let f=t.lineStart+e.basePos,d=t.lineStart+e.text.length;f<d&&Js(l,f,d)}}return t.addNode(t.buffer.writeElements(l,-r).finish(ge.FencedCode,t.prevLineEnd()-r),r),!0},Blockquote(t,e){let i=n_(e);return i<0?!1:(t.startContext(ge.Blockquote,e.pos),t.addNode(ge.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+i),null)},HorizontalRule(t,e){if(jx(e,t,!1)<0)return!1;let i=t.lineStart+e.pos;return t.nextLine(),t.addNode(ge.HorizontalRule,i),!0},BulletList(t,e){let i=Wx(e,t,!1);if(i<0)return!1;t.block.type!=ge.BulletList&&t.startContext(ge.BulletList,e.basePos,e.next);let r=ZC(e,e.pos+1);return t.startContext(ge.ListItem,e.basePos,r-e.baseIndent),t.addNode(ge.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+i),e.moveBaseColumn(r),null},OrderedList(t,e){let i=Vx(e,t,!1);if(i<0)return!1;t.block.type!=ge.OrderedList&&t.startContext(ge.OrderedList,e.basePos,e.text.charCodeAt(e.pos+i-1));let r=ZC(e,e.pos+i);return t.startContext(ge.ListItem,e.basePos,r-e.baseIndent),t.addNode(ge.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+i),e.moveBaseColumn(r),null},ATXHeading(t,e){let i=s_(e);if(i<0)return!1;let r=e.pos,n=t.lineStart+r,o=VC(e.text,e.text.length,r),s=o;for(;s>r&&e.text.charCodeAt(s-1)==e.next;)s--;(s==o||s==r||!wr(e.text.charCodeAt(s-1)))&&(s=e.text.length);let a=t.buffer.write(ge.HeaderMark,0,i).writeElements(t.parser.parseInline(e.text.slice(r+i+1,s),n+i+1),-n);s<e.text.length&&a.write(ge.HeaderMark,s-r,o-r);let l=a.finish(ge.ATXHeading1-1+i,e.text.length-r);return t.nextLine(),t.addNode(l,n),!0},HTMLBlock(t,e){let i=u_(e,t,!1);if(i<0)return!1;let r=t.lineStart+e.pos,n=Rx[i][1],o=[],s=n!=Xx;for(;!n.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){s=!1;break}for(let c of e.markers)o.push(c)}s&&t.nextLine();let a=n==l_?ge.CommentBlock:n==c_?ge.ProcessingInstructionBlock:ge.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(o,-r).finish(a,l-r),r),!0},SetextHeading:void 0},Lx=class{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,i,r){if(this.stage==-1)return!1;let n=r.content+`
`+i.scrub(),o=this.advance(n);return o>-1&&o<n.length?this.complete(e,r,o):!1}finish(e,i){return(this.stage==2||this.stage==3)&&of(i.content,this.pos)==i.content.length?this.complete(e,i,i.content.length):!1}complete(e,i,r){return e.addLeafElement(i,et(ge.LinkReference,this.start,this.start+r,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;){if(this.stage==-1)return-1;if(this.stage==0){if(!this.nextStage(g_(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(et(ge.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(p_(e,of(e,this.pos),this.start)))return-1}else if(this.stage==2){let i=of(e,this.pos),r=0;if(i>this.pos){let n=m_(e,i,this.start);if(n){let o=Cx(e,n.to-this.start);o>0&&(this.nextStage(n),r=o)}}return r||(r=Cx(e,this.pos)),r>0&&r<e.length?r:-1}else return Cx(e,this.pos)}}};function Cx(t,e){for(;e<t.length;e++){let i=t.charCodeAt(e);if(i==10)break;if(!wr(i))return-1}return e}var Ix=class{nextLine(e,i,r){let n=i.depth<e.stack.length?-1:a_(i),o=i.next;if(n<0)return!1;let s=et(ge.HeaderMark,e.lineStart+i.pos,e.lineStart+n);return e.nextLine(),e.addLeafElement(r,et(o==61?ge.SetextHeading1:ge.SetextHeading2,r.start,e.prevLineEnd(),[...e.parser.parseInline(r.content,r.start),s])),!0}finish(){return!1}},VB={LinkReference(t,e){return e.content.charCodeAt(0)==91?new Lx(e):null},SetextHeading(){return new Ix}},ZB=[(t,e)=>s_(e)>=0,(t,e)=>r_(e)>=0,(t,e)=>n_(e)>=0,(t,e)=>Wx(e,t,!0)>=0,(t,e)=>Vx(e,t,!0)>=0,(t,e)=>jx(e,t,!0)>=0,(t,e)=>u_(e,t,!0)>=0],BB={text:"",end:0},zx=class{constructor(e,i,r,n){this.parser=e,this.input=i,this.ranges=n,this.line=new Ax,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=Op.create(ge.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=r.length?new Mx(r,i):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let r=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;r<e.markers.length&&(!n||e.markers[r].from<n.end);){let o=e.markers[r++];this.addNode(o.type,o.from,o.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let r of this.parser.blockParsers)if(r){let n=r(this,e);if(n!=!1){if(n==!0)return null;e.forward();continue e}}break}let i=new $x(this.lineStart+e.pos,e.text.slice(e.pos));for(let r of this.parser.leafBlockParsers)if(r){let n=r(this,i);n&&i.parsers.push(n)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let r of this.parser.endLeafBlock)if(r(this,e,i))break e}for(let r of i.parsers)if(r.nextLine(this,e,i))return null;i.content+=`
`+e.scrub();for(let r of e.markers)i.marks.push(r)}return this.finishLeaf(i),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let i=this.fragments.takeNodes(this);return i?(this.absoluteLineStart+=i,this.lineStart=b_(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let i=BB;if(i.end=e,e>=this.to)i.text="";else if(i.text=this.lineChunkAt(e),i.end+=i.text.length,this.ranges.length>1){let r=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<i.end;){n++;let o=this.ranges[n].from,s=this.lineChunkAt(o);i.end=o+s.length,i.text=i.text.slice(0,this.ranges[n-1].to-r)+s,r=i.end-i.text.length}}return i}readLine(){let{line:e}=this,{text:i,end:r}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=r,e.reset(i);e.depth<this.stack.length;e.depth++){let n=this.stack[e.depth],o=this.parser.skipContextMarkup[n.type];if(!o)throw new Error("Unhandled block context "+ge[n.type]);if(!o(n,this,e))break;e.forward()}}lineChunkAt(e){let i=this.input.chunk(e),r;if(this.input.lineChunks)r=i==`
`?"":i;else{let n=i.indexOf(`
`);r=n<0?i:i.slice(0,n)}return e+r.length>this.to?r.slice(0,this.to-e):r}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,i,r=0){this.block=Op.create(e,r,this.lineStart+i,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,i,r=0){this.startContext(this.parser.getNodeType(e),i,r)}addNode(e,i,r){typeof e=="number"&&(e=new We(this.parser.nodeSet.types[e],kl,kl,(r!=null?r:this.prevLineEnd())-i)),this.block.addChild(e,i-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,i){this.addNode(this.buffer.writeElements(Nx(i.children,e.marks),-i.from).finish(i.type,i.to-i.from),i.from)}finishContext(){let e=this.stack.pop(),i=this.stack[this.stack.length-1];i.addChild(e.toTree(this.parser.nodeSet),e.from-i.from),this.block=i}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?f_(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let r of e.parsers)if(r.finish(this,e))return;let i=Nx(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(i,-e.start).finish(ge.Paragraph,e.content.length),e.start)}elt(e,i,r,n){return typeof e=="string"?et(this.parser.getNodeType(e),i,r,n):new mp(e,i)}get buffer(){return new pp(this.parser.nodeSet)}};function f_(t,e,i,r,n){let o=t[e].to,s=[],a=[],l=i.from+r;function c(u,f){for(;f?u>=o:u>o;){let d=t[e+1].from-o;r+=d,u+=d,e++,o=t[e].to}}for(let u=i.firstChild;u;u=u.nextSibling){c(u.from+r,!0);let f=u.from+r,d,O=n.get(u.tree);O?d=O:u.to+r>o?(d=f_(t,e,u,r,n),c(u.to+r,!1)):d=u.toTree(),s.push(d),a.push(f-l)}return c(i.to+r,!1),new We(i.type,s,a,i.to+r-l,i.tree?i.tree.propValues:void 0)}var af=class t extends jn{constructor(e,i,r,n,o,s,a,l,c){super(),this.nodeSet=e,this.blockParsers=i,this.leafBlockParsers=r,this.blockNames=n,this.endLeafBlock=o,this.skipContextMarkup=s,this.inlineParsers=a,this.inlineNames=l,this.wrappers=c,this.nodeTypes=Object.create(null);for(let u of e.types)this.nodeTypes[u.name]=u.id}createParse(e,i,r){let n=new zx(this,e,i,r);for(let o of this.wrappers)n=o(n,e,i,r);return n}configure(e){let i=Dx(e);if(!i)return this;let{nodeSet:r,skipContextMarkup:n}=this,o=this.blockParsers.slice(),s=this.leafBlockParsers.slice(),a=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),f=this.wrappers;if(rf(i.defineNodes)){n=Object.assign({},n);let d=r.types.slice(),O;for(let g of i.defineNodes){let{name:x,block:S,composite:w,style:T}=typeof g=="string"?{name:g}:g;if(d.some(C=>C.name==x))continue;w&&(n[d.length]=(C,$,j)=>w($,j,C.value));let A=d.length,I=w?["Block","BlockContext"]:S?A>=ge.ATXHeading1&&A<=ge.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;d.push(Qt.define({id:A,name:x,props:I&&[[_e.group,I]]})),T&&(O||(O={}),Array.isArray(T)||T instanceof yr?O[x]=T:Object.assign(O,T))}r=new Mn(d),O&&(r=r.extend(wt(O)))}if(rf(i.props)&&(r=r.extend(...i.props)),rf(i.remove))for(let d of i.remove){let O=this.blockNames.indexOf(d),g=this.inlineNames.indexOf(d);O>-1&&(o[O]=s[O]=void 0),g>-1&&(l[g]=void 0)}if(rf(i.parseBlock))for(let d of i.parseBlock){let O=a.indexOf(d.name);if(O>-1)o[O]=d.parse,s[O]=d.leaf;else{let g=d.before?dp(a,d.before):d.after?dp(a,d.after)+1:a.length-1;o.splice(g,0,d.parse),s.splice(g,0,d.leaf),a.splice(g,0,d.name)}d.endLeaf&&u.push(d.endLeaf)}if(rf(i.parseInline))for(let d of i.parseInline){let O=c.indexOf(d.name);if(O>-1)l[O]=d.parse;else{let g=d.before?dp(c,d.before):d.after?dp(c,d.after)+1:c.length-1;l.splice(g,0,d.parse),c.splice(g,0,d.name)}}return i.wrap&&(f=f.concat(i.wrap)),new t(r,o,s,a,u,n,l,c,f)}getNodeType(e){let i=this.nodeTypes[e];if(i==null)throw new RangeError(`Unknown node type '${e}'`);return i}parseInline(e,i){let r=new Ux(this,e,i);e:for(let n=i;n<r.end;){let o=r.char(n);for(let s of this.inlineParsers)if(s){let a=s(r,o,n);if(a>=0){n=a;continue e}}n++}return r.resolveMarkers(0)}};function rf(t){return t!=null&&t.length>0}function Dx(t){if(!Array.isArray(t))return t;if(t.length==0)return null;let e=Dx(t[0]);if(t.length==1)return e;let i=Dx(t.slice(1));if(!i||!e)return e||i;let r=(s,a)=>(s||kl).concat(a||kl),n=e.wrap,o=i.wrap;return{props:r(e.props,i.props),defineNodes:r(e.defineNodes,i.defineNodes),parseBlock:r(e.parseBlock,i.parseBlock),parseInline:r(e.parseInline,i.parseInline),remove:r(e.remove,i.remove),wrap:n?o?(s,a,l,c)=>n(o(s,a,l,c),a,l,c):n:o}}function dp(t,e){let i=t.indexOf(e);if(i<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return i}var h_=[Qt.none];for(let t=1,e;e=ge[t];t++)h_[t]=Qt.define({id:t,name:e,props:t>=ge.Escape?[]:[[_e.group,t in i_?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});var kl=[],pp=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,i,r,n=0){return this.content.push(e,i,r,4+n*4),this}writeElements(e,i=0){for(let r of e)r.writeTo(this,i);return this}finish(e,i){return We.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:i})}},ea=class{constructor(e,i,r,n=kl){this.type=e,this.from=i,this.to=r,this.children=n}writeTo(e,i){let r=e.content.length;e.writeElements(this.children,i),e.content.push(this.type,this.from+i,this.to+i,e.content.length+4-r)}toTree(e){return new pp(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},mp=class{constructor(e,i){this.tree=e,this.from=i}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return kl}writeTo(e,i){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+i,this.to+i,-1)}toTree(){return this.tree}};function et(t,e,i,r){return new ea(t,e,i,r)}var d_={resolve:"Emphasis",mark:"EmphasisMark"},O_={resolve:"Emphasis",mark:"EmphasisMark"},nf={},BC={},ir=class{constructor(e,i,r,n){this.type=e,this.from=i,this.to=r,this.side=n}},YC="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",lf=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{lf=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(t){}var _x={Escape(t,e,i){if(e!=92||i==t.end-1)return-1;let r=t.char(i+1);for(let n=0;n<YC.length;n++)if(YC.charCodeAt(n)==r)return t.append(et(ge.Escape,i,i+2));return-1},Entity(t,e,i){if(e!=38)return-1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(t.slice(i+1,i+31));return r?t.append(et(ge.Entity,i,i+1+r[0].length)):-1},InlineCode(t,e,i){if(e!=96||i&&t.char(i-1)==96)return-1;let r=i+1;for(;r<t.end&&t.char(r)==96;)r++;let n=r-i,o=0;for(;r<t.end;r++)if(t.char(r)==96){if(o++,o==n&&t.char(r+1)!=96)return t.append(et(ge.InlineCode,i,r+1,[et(ge.CodeMark,i,i+n),et(ge.CodeMark,r+1-n,r+1)]))}else o=0;return-1},HTMLTag(t,e,i){if(e!=60||i==t.end-1)return-1;let r=t.slice(i+1,t.end),n=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(n)return t.append(et(ge.Autolink,i,i+1+n[0].length,[et(ge.LinkMark,i,i+1),et(ge.URL,i+1,i+n[0].length),et(ge.LinkMark,i+n[0].length,i+1+n[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(o)return t.append(et(ge.Comment,i,i+1+o[0].length));let s=/^\?[^]*?\?>/.exec(r);if(s)return t.append(et(ge.ProcessingInstruction,i,i+1+s[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return a?t.append(et(ge.HTMLTag,i,i+1+a[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let r=i+1;for(;t.char(r)==e;)r++;let n=t.slice(i-1,i),o=t.slice(r,r+1),s=lf.test(n),a=lf.test(o),l=/\s|^$/.test(n),c=/\s|^$/.test(o),u=!c&&(!a||l||s),f=!l&&(!s||c||a),d=u&&(e==42||!f||s),O=f&&(e==42||!u||a);return t.append(new ir(e==95?d_:O_,i,r,(d?1:0)|(O?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(et(ge.HardBreak,i,i+2));if(e==32){let r=i+1;for(;t.char(r)==32;)r++;if(t.char(r)==10&&r>=i+2)return t.append(et(ge.HardBreak,i,r+1))}return-1},Link(t,e,i){return e==91?t.append(new ir(nf,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new ir(BC,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let r=t.parts.length-1;r>=0;r--){let n=t.parts[r];if(n instanceof ir&&(n.type==nf||n.type==BC)){if(!n.side||t.skipSpace(n.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[r]=null,-1;let o=t.takeContent(r),s=t.parts[r]=YB(t,o,n.type==nf?ge.Link:ge.Image,n.from,i+1);if(n.type==nf)for(let a=0;a<r;a++){let l=t.parts[a];l instanceof ir&&l.type==nf&&(l.side=0)}return s.to}}return-1}};function YB(t,e,i,r,n){let{text:o}=t,s=t.char(n),a=n;if(e.unshift(et(ge.LinkMark,r,r+(i==ge.Image?2:1))),e.push(et(ge.LinkMark,n-1,n)),s==40){let l=t.skipSpace(n+1),c=p_(o,l-t.offset,t.offset),u;c&&(l=t.skipSpace(c.to),l!=c.to&&(u=m_(o,l-t.offset,t.offset),u&&(l=t.skipSpace(u.to)))),t.char(l)==41&&(e.push(et(ge.LinkMark,n,n+1)),a=l+1,c&&e.push(c),u&&e.push(u),e.push(et(ge.LinkMark,l,a)))}else if(s==91){let l=g_(o,n-t.offset,t.offset,!1);l&&(e.push(l),a=l.to)}return et(i,r,a,e)}function p_(t,e,i){if(t.charCodeAt(e)==60){for(let n=e+1;n<t.length;n++){let o=t.charCodeAt(n);if(o==62)return et(ge.URL,e+i,n+1+i);if(o==60||o==10)return!1}return null}else{let n=0,o=e;for(let s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(wr(a))break;if(s)s=!1;else if(a==40)n++;else if(a==41){if(!n)break;n--}else a==92&&(s=!0)}return o>e?et(ge.URL,e+i,o+i):o==t.length?null:!1}}function m_(t,e,i){let r=t.charCodeAt(e);if(r!=39&&r!=34&&r!=40)return!1;let n=r==40?41:r;for(let o=e+1,s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(s)s=!1;else{if(a==n)return et(ge.LinkTitle,e+i,o+1+i);a==92&&(s=!0)}}return null}function g_(t,e,i,r){for(let n=!1,o=e+1,s=Math.min(t.length,o+999);o<s;o++){let a=t.charCodeAt(o);if(n)n=!1;else{if(a==93)return r?!1:et(ge.LinkLabel,e+i,o+1+i);if(r&&!wr(a)&&(r=!1),a==91)return!1;a==92&&(n=!0)}}return null}var Ux=class{constructor(e,i,r){this.parser=e,this.text=i,this.offset=r,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,r,n,o){return this.append(new ir(e,i,r,(n?1:0)|(o?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let r=e;r<this.parts.length;r++){let n=this.parts[r];if(!(n instanceof ir&&n.type.resolve&&n.side&2))continue;let o=n.type==d_||n.type==O_,s=n.to-n.from,a,l=r-1;for(;l>=e;l--){let x=this.parts[l];if(x instanceof ir&&x.side&1&&x.type==n.type&&!(o&&(n.side&1||x.side&2)&&(x.to-x.from+s)%3==0&&((x.to-x.from)%3||s%3))){a=x;break}}if(!a)continue;let c=n.type.resolve,u=[],f=a.from,d=n.to;if(o){let x=Math.min(2,a.to-a.from,s);f=a.to-x,d=n.from+x,c=x==1?"Emphasis":"StrongEmphasis"}a.type.mark&&u.push(this.elt(a.type.mark,f,a.to));for(let x=l+1;x<r;x++)this.parts[x]instanceof ea&&u.push(this.parts[x]),this.parts[x]=null;n.type.mark&&u.push(this.elt(n.type.mark,n.from,d));let O=this.elt(c,f,d,u);this.parts[l]=o&&a.from!=f?new ir(a.type,a.from,f,a.side):null,(this.parts[r]=o&&n.to!=d?new ir(n.type,d,n.to,n.side):null)?this.parts.splice(r,0,O):this.parts[r]=O}let i=[];for(let r=e;r<this.parts.length;r++){let n=this.parts[r];n instanceof ea&&i.push(n)}return i}findOpeningDelimiter(e){for(let i=this.parts.length-1;i>=0;i--){let r=this.parts[i];if(r instanceof ir&&r.type==e)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}skipSpace(e){return of(this.text,e-this.offset)+this.offset}elt(e,i,r,n){return typeof e=="string"?et(this.parser.getNodeType(e),i,r,n):new mp(e,i)}};function Nx(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),r=0;for(let n of e){for(;r<i.length&&i[r].to<n.to;)r++;if(r<i.length&&i[r].from<n.from){let o=i[r];o instanceof ea&&(i[r]=new ea(o.type,o.from,o.to,Nx(o.children,[n])))}else i.splice(r++,0,n)}return i}var FB=[ge.CodeBlock,ge.ListItem,ge.OrderedList,ge.BulletList],Mx=class{constructor(e,i){this.fragments=e,this.input=i,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,i){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let o=this.fragment.to;for(;o>0&&this.input.read(o-1,o)!=`
`;)o--;this.fragmentEnd=o?o-1:0}let r=this.cursor;r||(r=this.cursor=this.fragment.tree.cursor(),r.firstChild());let n=e+this.fragment.offset;for(;r.to<=n;)if(!r.parent())return!1;for(;;){if(r.from>=n)return this.fragment.from<=i;if(!r.childAfter(n))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(_e.contextHash)==e}takeNodes(e){let i=this.cursor,r=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),o=e.absoluteLineStart,s=o,a=e.block.children.length,l=s,c=a;for(;;){if(i.to-r>n){if(i.type.isAnonymous&&i.firstChild())continue;break}let u=b_(i.from-r,e.ranges);if(i.to-r<=e.ranges[e.rangeI].to)e.addNode(i.tree,u);else{let f=new We(e.parser.nodeSet.types[ge.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,i.tree),e.addNode(f,u)}if(i.type.is("Block")&&(FB.indexOf(i.type.id)<0?(s=i.to-r,a=e.block.children.length):(s=l,a=c,l=i.to-r,c=e.block.children.length)),!i.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return s-o}};function b_(t,e){let i=t;for(let r=1;r<e.length;r++){let n=e[r-1].to,o=e[r].from;n<t&&(i-=o-n)}return i}var HB=wt({"Blockquote/...":E.quote,HorizontalRule:E.contentSeparator,"ATXHeading1/... SetextHeading1/...":E.heading1,"ATXHeading2/... SetextHeading2/...":E.heading2,"ATXHeading3/...":E.heading3,"ATXHeading4/...":E.heading4,"ATXHeading5/...":E.heading5,"ATXHeading6/...":E.heading6,"Comment CommentBlock":E.comment,Escape:E.escape,Entity:E.character,"Emphasis/...":E.emphasis,"StrongEmphasis/...":E.strong,"Link/... Image/...":E.link,"OrderedList/... BulletList/...":E.list,"BlockQuote/...":E.quote,"InlineCode CodeText":E.monospace,"URL Autolink":E.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":E.processingInstruction,"CodeInfo LinkLabel":E.labelName,LinkTitle:E.string,Paragraph:E.content}),y_=new af(new Mn(h_).extend(HB),Object.keys(hp).map(t=>hp[t]),Object.keys(hp).map(t=>VB[t]),Object.keys(hp),ZB,i_,Object.keys(_x).map(t=>_x[t]),Object.keys(_x),[]);function GB(t,e,i){let r=[];for(let n=t.firstChild,o=e;;n=n.nextSibling){let s=n?n.from:i;if(s>o&&r.push({from:o,to:s}),!n)break;o=n.to}return r}function x_(t){let{codeParser:e,htmlParser:i}=t;return{wrap:du((n,o)=>{let s=n.type.id;if(e&&(s==ge.CodeBlock||s==ge.FencedCode)){let a="";if(s==ge.FencedCode){let c=n.node.getChild(ge.CodeInfo);c&&(a=o.read(c.from,c.to))}let l=e(a);if(l)return{parser:l,overlay:c=>c.type.id==ge.CodeText}}else if(i&&(s==ge.HTMLBlock||s==ge.HTMLTag))return{parser:i,overlay:GB(n.node,n.from,n.to)};return null})}}var KB={resolve:"Strikethrough",mark:"StrikethroughMark"},JB={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":E.strikethrough}},{name:"StrikethroughMark",style:E.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let r=t.slice(i-1,i),n=t.slice(i+2,i+3),o=/\s|^$/.test(r),s=/\s|^$/.test(n),a=lf.test(r),l=lf.test(n);return t.addDelimiter(KB,i,i+2,!s&&(!l||o||a),!o&&(!a||s||l))},after:"Emphasis"}]};function sf(t,e,i=0,r,n=0){let o=0,s=!0,a=-1,l=-1,c=!1,u=()=>{r.push(t.elt("TableCell",n+a,n+l,t.parser.parseInline(e.slice(a,l),n+a)))};for(let f=i;f<e.length;f++){let d=e.charCodeAt(f);d==124&&!c?((!s||a>-1)&&o++,s=!1,r&&(a>-1&&u(),r.push(t.elt("TableDelimiter",f+n,f+n+1))),a=l=-1):(c||d!=32&&d!=9)&&(a<0&&(a=f),l=f+1),c=!c&&d==92}return a>-1&&(o++,r&&u()),o}function FC(t,e){for(let i=e;i<t.length;i++){let r=t.charCodeAt(i);if(r==124)return!0;r==92&&i++}return!1}var v_=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,gp=class{constructor(){this.rows=null}nextLine(e,i,r){if(this.rows==null){this.rows=!1;let n;if((i.next==45||i.next==58||i.next==124)&&v_.test(n=i.text.slice(i.pos))){let o=[];sf(e,r.content,0,o,r.start)==sf(e,n,i.pos)&&(this.rows=[e.elt("TableHeader",r.start,r.start+r.content.length,o),e.elt("TableDelimiter",e.lineStart+i.pos,e.lineStart+i.text.length)])}}else if(this.rows){let n=[];sf(e,i.text,i.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+i.pos,e.lineStart+i.text.length,n))}return!1}finish(e,i){return this.rows?(e.addLeafElement(i,e.elt("Table",i.start,i.start+i.content.length,this.rows)),!0):!1}},eY={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":E.heading}},"TableRow",{name:"TableCell",style:E.content},{name:"TableDelimiter",style:E.processingInstruction}],parseBlock:[{name:"Table",leaf(t,e){return FC(e.content,0)?new gp:null},endLeaf(t,e,i){if(i.parsers.some(n=>n instanceof gp)||!FC(e.text,e.basePos))return!1;let r=t.scanLine(t.absoluteLineEnd+1).text;return v_.test(r)&&sf(t,e.text,e.basePos)==sf(t,r,e.basePos)},before:"SetextHeading"}]},qx=class{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}},tY={defineNodes:[{name:"Task",block:!0,style:E.list},{name:"TaskMarker",style:E.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new qx:null},after:"SetextHeading"}]},HC=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,GC=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,iY=/[\w-]+\.[\w-]+($|\/)/,KC=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,JC=/\/[a-zA-Z\d@.]+/gy;function e_(t,e,i,r){let n=0;for(let o=e;o<i;o++)t[o]==r&&n++;return n}function rY(t,e){GC.lastIndex=e;let i=GC.exec(t);if(!i||iY.exec(i[0])[0].indexOf("_")>-1)return-1;let r=e+i[0].length;for(;;){let n=t[r-1],o;if(/[?!.,:*_~]/.test(n)||n==")"&&e_(t,e,r,")")>e_(t,e,r,"("))r--;else if(n==";"&&(o=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,r))))r=e+o.index;else break}return r}function t_(t,e){KC.lastIndex=e;let i=KC.exec(t);if(!i)return-1;let r=i[0][i[0].length-1];return r=="_"||r=="-"?-1:e+i[0].length-(r=="."?1:0)}var nY={parseInline:[{name:"Autolink",parse(t,e,i){let r=i-t.offset;HC.lastIndex=r;let n=HC.exec(t.text),o=-1;return!n||(n[1]||n[2]?o=rY(t.text,r+n[0].length):n[3]?o=t_(t.text,r):(o=t_(t.text,r+n[0].length),o>-1&&n[0]=="xmpp:"&&(JC.lastIndex=o,n=JC.exec(t.text),n&&(o=n.index+n[0].length))),o<0)?-1:(t.addElement(t.elt("URL",i,o+t.offset)),o+t.offset)}}]},w_=[eY,tY,JB,nY];function k_(t,e,i){return(r,n,o)=>{if(n!=t||r.char(o+1)==t)return-1;let s=[r.elt(i,o,o+1)];for(let a=o+1;a<r.end;a++){let l=r.char(a);if(l==t)return r.addElement(r.elt(e,o,a+1,s.concat(r.elt(i,a,a+1))));if(l==92&&s.push(r.elt("Escape",a,a+++2)),wr(l))break}return-1}}var S_={defineNodes:[{name:"Superscript",style:E.special(E.content)},{name:"SuperscriptMark",style:E.processingInstruction}],parseInline:[{name:"Superscript",parse:k_(94,"Superscript","SuperscriptMark")}]},T_={defineNodes:[{name:"Subscript",style:E.special(E.content)},{name:"SubscriptMark",style:E.processingInstruction}],parseInline:[{name:"Subscript",parse:k_(126,"Subscript","SubscriptMark")}]},E_={defineNodes:[{name:"Emoji",style:E.character}],parseInline:[{name:"Emoji",parse(t,e,i){let r;return e!=58||!(r=/^[a-zA-Z_0-9]+:/.exec(t.slice(i+1,t.end)))?-1:t.addElement(t.elt("Emoji",i,i+1+r[0].length))}}]};var Yx=class t{constructor(e,i,r,n,o,s,a,l,c,u=0,f){this.p=e,this.stack=i,this.state=r,this.reducePos=n,this.pos=o,this.score=s,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=f}toString(){return`[${this.stack.filter((e,i)=>i%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,r=0){let n=e.parser.context;return new t(e,[],i,r,r,0,[],0,n?new bp(n,n.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let r=e>>19,n=e&65535,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let s=o.dynamicPrecedence(n);if(s&&(this.score+=s),r==0){this.pushState(o.getGoto(this.state,n,!0),this.reducePos),n<o.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,4,!0),this.reduceContext(n,this.reducePos);return}let a=this.stack.length-(r-1)*3-(e&262144?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((i=this.p.parser.nodeSet.types[n])===null||i===void 0)&&i.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let u=a?this.stack[a-1]:0,f=this.bufferBase+this.buffer.length-u;if(n<o.minRepeatTerm||e&131072){let d=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,l,d,f+4,!0)}if(e&262144)this.state=this.stack[a];else{let d=this.stack[a-3];this.state=o.getGoto(d,n,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(n,l)}storeNode(e,i,r,n=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let s=this,a=this.buffer.length;if(a==0&&s.parent&&(a=s.bufferBase-s.parent.bufferBase,s=s.parent),a>0&&s.buffer[a-4]==0&&s.buffer[a-1]>-1){if(i==r)return;if(s.buffer[a-2]>=i){s.buffer[a-2]=r;return}}}if(!o||this.pos==r)this.buffer.push(e,i,r,n);else{let s=this.buffer.length;if(s>0&&this.buffer[s-4]!=0)for(;s>0&&this.buffer[s-2]>r;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,n>4&&(n-=4);this.buffer[s]=e,this.buffer[s+1]=i,this.buffer[s+2]=r,this.buffer[s+3]=n}}shift(e,i,r,n){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(i,r),i<=this.p.parser.maxNode&&this.buffer.push(i,r,n,4);else{let o=e,{parser:s}=this.p;(n>this.pos||i<=s.maxNode)&&(this.pos=n,s.stateFlag(o,1)||(this.reducePos=n)),this.pushState(o,r),this.shiftContext(i,r),i<=s.maxNode&&this.buffer.push(i,r,n,4)}}apply(e,i,r,n){e&65536?this.reduce(e):this.shift(e,i,r,n)}useNode(e,i){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(i,n),this.buffer.push(r,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let r=e.buffer.slice(i),n=e.bufferBase+i;for(;e&&n==e.bufferBase;)e=e.parent;return new t(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,n,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,r?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new Fx(this);;){let r=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(r==0)return!1;if(!(r&65536))return!0;i.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let n=[];for(let o=0,s;o<i.length;o+=2)(s=i[o+1])!=this.state&&this.p.parser.hasAction(s,e)&&n.push(i[o],s);if(this.stack.length<120)for(let o=0;n.length<8&&o<i.length;o+=2){let s=i[o+1];n.some((a,l)=>l&1&&a==s)||n.push(i[o],s)}i=n}let r=[];for(let n=0;n<i.length&&r.length<4;n+=2){let o=i[n+1];if(o==this.state)continue;let s=this.split();s.pushState(o,this.pos),s.storeNode(0,s.pos,s.pos,4,!0),s.shiftContext(i[n],this.pos),s.reducePos=this.pos,s.score-=200,r.push(s)}return r}forceReduce(){let{parser:e}=this.p,i=e.stateSlot(this.state,5);if(!(i&65536))return!1;if(!e.validAction(this.state,i)){let r=i>>19,n=i&65535,o=this.stack.length-r*3;if(o<0||e.getGoto(this.stack[o],n,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;i=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],r=(n,o)=>{if(!i.includes(n))return i.push(n),e.allActions(n,s=>{if(!(s&393216))if(s&65536){let a=(s>>19)-o;if(a>1){let l=s&65535,c=this.stack.length-a*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return a<<19|65536|l}}else{let a=r(s,o+1);if(a!=null)return a}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;i<this.stack.length;i+=3)if(this.stack[i]!=e.stack[i])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(i)))}reduceContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(i)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let i=new bp(this.curContext.tracker,e);i.hash!=this.curContext.hash&&this.emitContext(),this.curContext=i}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},bp=class{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}},Fx=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,r=e>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=n}},Hx=class t{constructor(e,i,r){this.stack=e,this.pos=i,this.index=r,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new t(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new t(this.stack,this.pos,this.index)}};function cf(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let r=0,n=0;r<t.length;){let o=0;for(;;){let s=t.charCodeAt(r++),a=!1;if(s==126){o=65535;break}s>=92&&s--,s>=34&&s--;let l=s-32;if(l>=46&&(l-=46,a=!0),o+=l,a)break;o*=46}i?i[n++]=o:i=new e(o)}return i}var Sl=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},P_=new Sl,Gx=class{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=P_,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let r=this.range,n=this.rangeIndex,o=this.pos+e;for(;o<r.from;){if(!n)return null;let s=this.ranges[--n];o-=r.from-s.to,r=s}for(;i<0?o>r.to:o>=r.to;){if(n==this.ranges.length-1)return null;let s=this.ranges[++n];o+=s.from-r.to,r=s}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let i of this.ranges)if(i.to>e)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,r,n;if(i>=0&&i<this.chunk.length)r=this.pos+e,n=this.chunk.charCodeAt(i);else{let o=this.resolveOffset(e,1);if(o==null)return-1;if(r=o,r>=this.chunk2Pos&&r<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(r-this.chunk2Pos);else{let s=this.rangeIndex,a=this.range;for(;a.to<=r;)a=this.ranges[++s];this.chunk2=this.input.chunk(this.chunk2Pos=r),r+this.chunk2.length>a.to&&(this.chunk2=this.chunk2.slice(0,a.to-r)),n=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),n}acceptToken(e,i=0){let r=i?this.resolveOffset(i,-1):this.pos;if(r==null||r<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=r}acceptTokenTo(e,i){this.token.value=e,this.token.end=i}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:i}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=i,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),i=this.pos+e.length;this.chunk=i>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=P_,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,i){if(e>=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let r="";for(let n of this.ranges){if(n.from>=i)break;n.to>e&&(r+=this.input.read(Math.max(n.from,e),Math.min(n.to,i)))}return r}},Ko=class{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:r}=i.p;A_(this.data,e,i,this.id,r.data,r.tokenPrecTable)}};Ko.prototype.contextual=Ko.prototype.fallback=Ko.prototype.extend=!1;var Jo=class{constructor(e,i,r){this.precTable=i,this.elseToken=r,this.data=typeof e=="string"?cf(e):e}token(e,i){let r=e.pos,n=0;for(;;){let o=e.next<0,s=e.resolveOffset(1,1);if(A_(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(o||n++,s==null)break;e.reset(s,e.token)}n&&(e.reset(r,e.token),e.acceptToken(this.elseToken,n))}};Jo.prototype.contextual=Ko.prototype.fallback=Ko.prototype.extend=!1;var Ue=class{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}};function A_(t,e,i,r,n,o){let s=0,a=1<<r,{dialect:l}=i.p.parser;e:for(;a&t[s];){let c=t[s+1];for(let O=s+3;O<c;O+=2)if((t[O+1]&a)>0){let g=t[O];if(l.allows(g)&&(e.token.value==-1||e.token.value==g||sY(g,e.token.value,n,o))){e.acceptToken(g);break}}let u=e.next,f=0,d=t[s+2];if(e.next<0&&d>f&&t[c+d*3-3]==65535){s=t[c+d*3-1];continue e}for(;f<d;){let O=f+d>>1,g=c+O+(O<<1),x=t[g],S=t[g+1]||65536;if(u<x)d=O;else if(u>=S)f=O+1;else{s=t[g+2],e.advance();continue e}}break}}function Q_(t,e,i){for(let r=e,n;(n=t[r])!=65535;r++)if(n==i)return r-e;return-1}function sY(t,e,i,r){let n=Q_(i,r,e);return n<0||Q_(i,r,t)<n}var rr=typeof process!="undefined"&&process.env&&/\bparse\b/.test(process.env.LOG),Zx=null;function C_(t,e,i){let r=t.cursor(nt.IncludeAnonymous);for(r.moveTo(e);;)if(!(i<0?r.childBefore(e):r.childAfter(e)))for(;;){if((i<0?r.to<e:r.from>e)&&!r.type.isError)return i<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(i<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return i<0?0:t.length}}var Kx=class{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?C_(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?C_(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let i=this.trees.length-1;if(i<0)return this.nextFragment(),null;let r=this.trees[i],n=this.index[i];if(n==r.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=r.children[n],s=this.start[i]+r.positions[n];if(s>e)return this.nextStart=s,null;if(o instanceof We){if(s==e){if(s<this.safeFrom)return null;let a=s+o.length;if(a<=this.safeTo){let l=o.prop(_e.lookAhead);if(!l||a+l<this.fragment.to)return o}}this.index[i]++,s+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[i]++,this.nextStart=s+o.length}}},Jx=class{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(r=>new Sl)}getActions(e){let i=0,r=null,{parser:n}=e.p,{tokenizers:o}=n,s=n.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let c=0;c<o.length;c++){if(!(1<<c&s))continue;let u=o[c],f=this.tokens[c];if(!(r&&!u.fallback)&&((u.contextual||f.start!=e.pos||f.mask!=s||f.context!=a)&&(this.updateCachedToken(f,u,e),f.mask=s,f.context=a),f.lookAhead>f.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=i;if(f.extended>-1&&(i=this.addActions(e,f.extended,f.end,i)),i=this.addActions(e,f.value,f.end,i),!u.extend&&(r=f,i>d))break}}for(;this.actions.length>i;)this.actions.pop();return l&&e.setLookAhead(l),!r&&e.pos==this.stream.end&&(r=new Sl,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,i=this.addActions(e,r.value,r.end,i)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Sl,{pos:r,p:n}=e;return i.start=r,i.end=Math.min(r+1,n.stream.end),i.value=r==n.stream.end?n.parser.eofTerm:0,i}updateCachedToken(e,i,r){let n=this.stream.clipPos(r.pos);if(i.token(this.stream.reset(n,e),r),e.value>-1){let{parser:o}=r.p;for(let s=0;s<o.specialized.length;s++)if(o.specialized[s]==e.value){let a=o.specializers[s](this.stream.read(e.start,e.end),r);if(a>=0&&r.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,i,r,n){for(let o=0;o<n;o+=3)if(this.actions[o]==e)return n;return this.actions[n++]=e,this.actions[n++]=i,this.actions[n++]=r,n}addActions(e,i,r,n){let{state:o}=e,{parser:s}=e.p,{data:a}=s;for(let l=0;l<2;l++)for(let c=s.stateSlot(o,l?2:1);;c+=3){if(a[c]==65535)if(a[c+1]==1)c=Gn(a,c+2);else{n==0&&a[c+1]==2&&(n=this.putAction(Gn(a,c+2),i,r,n));break}a[c]==i&&(n=this.putAction(Gn(a,c+1),i,r,n))}return n}},ev=class{constructor(e,i,r,n){this.parser=e,this.input=i,this.ranges=n,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new Gx(i,n),this.tokens=new Jx(e,this.stream),this.topTerm=e.top[1];let{from:o}=n[0];this.stacks=[Yx.start(this,e.top[0],o)],this.fragments=r.length&&this.stream.end-o>e.bufferLength*4?new Kx(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,r=this.stacks=[],n,o;if(this.bigReductionCount>300&&e.length==1){let[s]=e;for(;s.forceReduce()&&s.stack.length&&s.stack[s.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<e.length;s++){let a=e[s];for(;;){if(this.tokens.mainToken=null,a.pos>i)r.push(a);else{if(this.advanceStack(a,r,e))continue;{n||(n=[],o=[]),n.push(a);let l=this.tokens.getMainToken(a);o.push(l.value,l.end)}}break}}if(!r.length){let s=n&&aY(n);if(s)return rr&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw rr&&n&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&n){let s=this.stoppedAt!=null&&n[0].pos>this.stoppedAt?n[0]:this.runRecovery(n,o,r);if(s)return rr&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(r.length>s)for(r.sort((a,l)=>l.score-a.score);r.length>s;)r.pop();r.some(a=>a.reducePos>i)&&this.recovering--}else if(r.length>1){e:for(let s=0;s<r.length-1;s++){let a=r[s];for(let l=s+1;l<r.length;l++){let c=r[l];if(a.sameState(c)||a.buffer.length>500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(s--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let s=1;s<r.length;s++)r[s].pos<this.minStackPos&&(this.minStackPos=r[s].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,i,r){let n=e.pos,{parser:o}=this,s=rr?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&n>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(n);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?o.getGoto(e.state,f.type.id):-1;if(d>-1&&f.length&&(!c||(f.prop(_e.contextHash)||0)==u))return e.useNode(f,d),rr&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof We)||f.children.length==0||f.positions[0]>0)break;let O=f.children[0];if(O instanceof We&&f.positions[0]==0)f=O;else break}}let a=o.stateSlot(e.state,4);if(a>0)return e.reduce(a),rr&&console.log(s+this.stackID(e)+` (via always-reduce ${o.getName(a&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;c<l.length;){let u=l[c++],f=l[c++],d=l[c++],O=c==l.length||!r,g=O?e:e.split(),x=this.tokens.mainToken;if(g.apply(u,f,x?x.start:g.pos,d),rr&&console.log(s+this.stackID(g)+` (via ${u&65536?`reduce of ${o.getName(u&65535)}`:"shift"} for ${o.getName(f)} @ ${n}${g==e?"":", split"})`),O)return!0;g.pos>n?i.push(g):r.push(g)}return!1}advanceFully(e,i){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return __(e,i),!0}}runRecovery(e,i,r){let n=null,o=!1;for(let s=0;s<e.length;s++){let a=e[s],l=i[s<<1],c=i[(s<<1)+1],u=rr?this.stackID(a)+" -> ":"";if(a.deadEnd&&(o||(o=!0,a.restart(),rr&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,r))))continue;let f=a.split(),d=u;for(let O=0;f.forceReduce()&&O<10&&(rr&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));O++)rr&&(d=this.stackID(f)+" -> ");for(let O of a.recoverByInsert(l))rr&&console.log(u+this.stackID(O)+" (via recover-insert)"),this.advanceFully(O,r);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),rr&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),__(a,r)):(!n||n.score<a.score)&&(n=a)}return n}stackToTree(e){return e.close(),We.build({buffer:Hx.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let i=(Zx||(Zx=new WeakMap)).get(e);return i||Zx.set(e,i=String.fromCodePoint(this.nextStackID++)),i+e}};function __(t,e){for(let i=0;i<e.length;i++){let r=e[i];if(r.pos==t.pos&&r.sameState(t)){e[i].score<t.score&&(e[i]=t);return}}e.push(t)}var tv=class{constructor(e,i,r){this.source=e,this.flags=i,this.disabled=r}allows(e){return!this.disabled||this.disabled[e]==0}},Bx=t=>t,kr=class{constructor(e){this.start=e.start,this.shift=e.shift||Bx,this.reduce=e.reduce||Bx,this.reuse=e.reuse||Bx,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},zt=class t extends jn{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let a=0;a<e.repeatNodeCount;a++)i.push("");let r=Object.keys(e.topRules).map(a=>e.topRules[a][1]),n=[];for(let a=0;a<i.length;a++)n.push([]);function o(a,l,c){n[a].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let a of e.nodeProps){let l=a[0];typeof l=="string"&&(l=_e[l]);for(let c=1;c<a.length;){let u=a[c++];if(u>=0)o(u,l,a[c++]);else{let f=a[c+-u];for(let d=-u;d>0;d--)o(a[c++],l,f);c++}}}this.nodeSet=new Mn(i.map((a,l)=>Qt.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:n[l],top:r.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=1024;let s=cf(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;a<this.specializerSpecs.length;a++)this.specialized[a]=this.specializerSpecs[a].term;this.specializers=this.specializerSpecs.map($_),this.states=cf(e.states,Uint32Array),this.data=cf(e.stateData),this.goto=cf(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(a=>typeof a=="number"?new Ko(s,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,r){let n=new ev(this,e,i,r);for(let o of this.wrappers)n=o(n,e,i,r);return n}getGoto(e,i,r=!1){let n=this.goto;if(i>=n[0])return-1;for(let o=n[i+1];;){let s=n[o++],a=s&1,l=n[o++];if(a&&r)return l;for(let c=o+(s>>1);o<c;o++)if(n[o]==e)return l;if(a)return-1}}hasAction(e,i){let r=this.data;for(let n=0;n<2;n++)for(let o=this.stateSlot(e,n?2:1),s;;o+=3){if((s=r[o])==65535)if(r[o+1]==1)s=r[o=Gn(r,o+2)];else{if(r[o+1]==2)return Gn(r,o+2);break}if(s==i||s==0)return Gn(r,o+1)}return 0}stateSlot(e,i){return this.states[e*6+i]}stateFlag(e,i){return(this.stateSlot(e,0)&i)>0}validAction(e,i){return!!this.allActions(e,r=>r==i?!0:null)}allActions(e,i){let r=this.stateSlot(e,4),n=r?i(r):void 0;for(let o=this.stateSlot(e,1);n==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=Gn(this.data,o+2);else break;n=i(Gn(this.data,o+1))}return n}nextStates(e){let i=[];for(let r=this.stateSlot(e,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Gn(this.data,r+2);else break;if(!(this.data[r+2]&1)){let n=this.data[r+1];i.some((o,s)=>s&1&&o==n)||i.push(this.data[r],n)}}return i}configure(e){let i=Object.assign(Object.create(t.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=r}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(r=>{let n=e.tokenizers.find(o=>o.from==r);return n?n.to:r})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((r,n)=>{let o=e.specializers.find(a=>a.from==r.external);if(!o)return r;let s=Object.assign(Object.assign({},r),{external:o.to});return i.specializers[n]=$_(s),s})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),r=i.map(()=>!1);if(e)for(let o of e.split(" ")){let s=i.indexOf(o);s>=0&&(r[s]=!0)}let n=null;for(let o=0;o<i.length;o++)if(!r[o])for(let s=this.dialects[i[o]],a;(a=this.data[s++])!=65535;)(n||(n=new Uint8Array(this.maxTerm+1)))[a]=1;return new tv(e,r,n)}static deserialize(e){return new t(e)}};function Gn(t,e){return t[e]|t[e+1]<<16}function aY(t){let e=null;for(let i of t){let r=i.p.stoppedAt;(i.pos==i.p.stream.end||r!=null&&i.pos>r)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.score<i.score)&&(e=i)}return e}function $_(t){if(t.external){let e=t.extend?1:0;return(i,r)=>t.external(i,r)<<1|e}return t.get}var lY=54,cY=1,uY=55,fY=2,hY=56,dY=3,X_=4,OY=5,yp=6,M_=7,q_=8,j_=9,W_=10,pY=11,mY=12,gY=13,iv=57,bY=14,R_=58,V_=20,yY=22,Z_=23,xY=24,nv=26,B_=27,vY=28,wY=31,kY=34,SY=36,TY=37,EY=0,PY=1,QY={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},CY={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},L_={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 _Y(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Y_(t){return t==9||t==10||t==13||t==32}var I_=null,z_=null,D_=0;function ov(t,e){let i=t.pos+e;if(D_==i&&z_==t)return I_;let r=t.peek(e);for(;Y_(r);)r=t.peek(++e);let n="";for(;_Y(r);)n+=String.fromCharCode(r),r=t.peek(++e);return z_=t,D_=i,I_=n?n.toLowerCase():r==$Y||r==AY?void 0:null}var F_=60,xp=62,sv=47,$Y=63,AY=33,XY=45;function U_(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i<t.length;i++)this.hash+=(this.hash<<4)+t.charCodeAt(i)+(t.charCodeAt(i)<<8)}var RY=[yp,W_,M_,q_,j_],LY=new kr({start:null,shift(t,e,i,r){return RY.indexOf(e)>-1?new U_(ov(r,1)||"",t):t},reduce(t,e){return e==V_&&t?t.parent:t},reuse(t,e,i,r){let n=e.type.id;return n==yp||n==SY?new U_(ov(r,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),IY=new Ue((t,e)=>{if(t.next!=F_){t.next<0&&e.context&&t.acceptToken(iv);return}t.advance();let i=t.next==sv;i&&t.advance();let r=ov(t,0);if(r===void 0)return;if(!r)return t.acceptToken(i?bY:yp);let n=e.context?e.context.name:null;if(i){if(r==n)return t.acceptToken(pY);if(n&&CY[n])return t.acceptToken(iv,-2);if(e.dialectEnabled(EY))return t.acceptToken(mY);for(let o=e.context;o;o=o.parent)if(o.name==r)return;t.acceptToken(gY)}else{if(r=="script")return t.acceptToken(M_);if(r=="style")return t.acceptToken(q_);if(r=="textarea")return t.acceptToken(j_);if(QY.hasOwnProperty(r))return t.acceptToken(W_);n&&L_[n]&&L_[n][r]?t.acceptToken(iv,-1):t.acceptToken(yp)}},{contextual:!0}),zY=new Ue(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(R_);break}if(t.next==XY)e++;else if(t.next==xp&&e>=2){i>=3&&t.acceptToken(R_,-2);break}else e=0;t.advance()}});function DY(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}var UY=new Ue((t,e)=>{if(t.next==sv&&t.peek(1)==xp){let i=e.dialectEnabled(PY)||DY(e.context);t.acceptToken(i?OY:X_,2)}else t.next==xp&&t.acceptToken(X_,1)});function av(t,e,i){let r=2+t.length;return new Ue(n=>{for(let o=0,s=0,a=0;;a++){if(n.next<0){a&&n.acceptToken(e);break}if(o==0&&n.next==F_||o==1&&n.next==sv||o>=2&&o<r&&n.next==t.charCodeAt(o-2))o++,s++;else if((o==2||o==r)&&Y_(n.next))s++;else if(o==r&&n.next==xp){a>s?n.acceptToken(e,-s):n.acceptToken(i,-(s-2));break}else if((n.next==10||n.next==13)&&a){n.acceptToken(e,1);break}else o=s=0;n.advance()}})}var NY=av("script",lY,cY),MY=av("style",uY,fY),qY=av("textarea",hY,dY),jY=wt({"Text RawText":E.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":E.angleBracket,TagName:E.tagName,"MismatchedCloseTag/TagName":[E.tagName,E.invalid],AttributeName:E.attributeName,"AttributeValue UnquotedAttributeValue":E.attributeValue,Is:E.definitionOperator,"EntityReference CharacterReference":E.character,Comment:E.blockComment,ProcessingInst:E.processingInstruction,DoctypeDecl:E.documentMeta}),H_=zt.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.w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~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:LY,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:[jY],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!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:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[NY,MY,qY,UY,IY,zY,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function G_(t,e){let i=Object.create(null);for(let r of t.getChildren(Z_)){let n=r.getChild(xY),o=r.getChild(nv)||r.getChild(B_);n&&(i[e.read(n.from,n.to)]=o?o.type.id==nv?e.read(o.from+1,o.to-1):e.read(o.from,o.to):"")}return i}function N_(t,e){let i=t.getChild(yY);return i?e.read(i.from,i.to):" "}function rv(t,e,i){let r;for(let n of i)if(!n.attrs||n.attrs(r||(r=G_(t.node.parent.firstChild,e))))return{parser:n.parser};return null}function lv(t=[],e=[]){let i=[],r=[],n=[],o=[];for(let a of t)(a.tag=="script"?i:a.tag=="style"?r:a.tag=="textarea"?n:o).push(a);let s=e.length?Object.create(null):null;for(let a of e)(s[a.name]||(s[a.name]=[])).push(a);return du((a,l)=>{let c=a.type.id;if(c==vY)return rv(a,l,i);if(c==wY)return rv(a,l,r);if(c==kY)return rv(a,l,n);if(c==V_&&o.length){let u=a.node,f=u.firstChild,d=f&&N_(f,l),O;if(d){for(let g of o)if(g.tag==d&&(!g.attrs||g.attrs(O||(O=G_(u,l))))){let x=u.lastChild,S=x.type.id==TY?x.from:u.to;if(S>f.to)return{parser:g.parser,overlay:[{from:f.to,to:S}]}}}}if(s&&c==Z_){let u=a.node,f;if(f=u.firstChild){let d=s[l.read(f.from,f.to)];if(d)for(let O of d){if(O.tagName&&O.tagName!=N_(u.parent,l))continue;let g=u.lastChild;if(g.type.id==nv){let x=g.from+1,S=g.lastChild,w=g.to-(S&&S.isError?0:1);if(w>x)return{parser:O.parser,overlay:[{from:x,to:w}]}}else if(g.type.id==B_)return{parser:O.parser,overlay:[{from:g.from,to:g.to}]}}}}return null})}var WY=99,K_=1,VY=100,ZY=101,J_=2,e$=[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],BY=58,YY=40,t$=95,FY=91,vp=45,HY=46,GY=35,KY=37,JY=38,eF=92,tF=10;function uf(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function iF(t){return t>=48&&t<=57}var rF=new Ue((t,e)=>{for(let i=!1,r=0,n=0;;n++){let{next:o}=t;if(uf(o)||o==vp||o==t$||i&&iF(o))!i&&(o!=vp||n>0)&&(i=!0),r===n&&o==vp&&r++,t.advance();else if(o==eF&&t.peek(1)!=tF)t.advance(),t.next>-1&&t.advance(),i=!0;else{i&&t.acceptToken(o==YY?VY:r==2&&e.canShift(J_)?J_:ZY);break}}}),nF=new Ue(t=>{if(e$.includes(t.peek(-1))){let{next:e}=t;(uf(e)||e==t$||e==GY||e==HY||e==FY||e==BY&&uf(t.peek(1))||e==vp||e==JY)&&t.acceptToken(WY)}}),oF=new Ue(t=>{if(!e$.includes(t.peek(-1))){let{next:e}=t;if(e==KY&&(t.advance(),t.acceptToken(K_)),uf(e)){do t.advance();while(uf(t.next));t.acceptToken(K_)}}}),sF=wt({"AtKeyword import charset namespace keyframes media supports":E.definitionKeyword,"from to selector":E.keyword,NamespaceName:E.namespace,KeyframeName:E.labelName,KeyframeRangeName:E.operatorKeyword,TagName:E.tagName,ClassName:E.className,PseudoClassName:E.constant(E.className),IdName:E.labelName,"FeatureName PropertyName":E.propertyName,AttributeName:E.attributeName,NumberLiteral:E.number,KeywordQuery:E.keyword,UnaryQueryOp:E.operatorKeyword,"CallTag ValueName":E.atom,VariableName:E.variableName,Callee:E.operatorKeyword,Unit:E.unit,"UniversalSelector NestingSelector":E.definitionOperator,MatchOp:E.compareOperator,"ChildOp SiblingOp, LogicOp":E.logicOperator,BinOp:E.arithmeticOperator,Important:E.modifier,Comment:E.blockComment,ColorLiteral:E.color,"ParenthesizedContent StringLiteral":E.string,":":E.punctuation,"PseudoOp #":E.derefOperator,"; ,":E.separator,"( )":E.paren,"[ ]":E.squareBracket,"{ }":E.brace}),aF={__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},lF={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},cF={__proto__:null,not:132,only:132},i$=zt.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOO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PR#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:[sF],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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HR#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:[nF,oF,rF,1,2,3,4,new Jo("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>aF[t]||-1},{term:58,get:t=>lF[t]||-1},{term:101,get:t=>cF[t]||-1}],tokenPrec:1200});var cv=null;function uv(){if(!cv&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let r in t)r!="cssText"&&r!="cssFloat"&&typeof t[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())),i.has(r)||(e.push(r),i.add(r)));cv=e.sort().map(r=>({type:"property",label:r}))}return cv||[]}var r$=["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})),n$=["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}))),uF=["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})),es=/^(\w[\w-]*|-\w[\w-]*|)$/,fF=/^-(-[\w-]*)?$/;function hF(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let r=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(r==null?void 0:r.name)!="Callee"?!1:e.sliceString(r.from,r.to)=="var"}var o$=new No,dF=["Declaration"];function OF(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function s$(t,e,i){if(e.to-e.from>4096){let r=o$.get(e);if(r)return r;let n=[],o=new Set,s=e.cursor(nt.IncludeAnonymous);if(s.firstChild())do for(let a of s$(t,s.node,i))o.has(a.label)||(o.add(a.label),n.push(a));while(s.nextSibling());return o$.set(e,n),n}else{let r=[],n=new Set;return e.cursor().iterate(o=>{var s;if(i(o)&&o.matchContext(dF)&&((s=o.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let a=t.sliceString(o.from,o.to);n.has(a)||(n.add(a),r.push({label:a,type:"variable"}))}}),r}}var pF=t=>e=>{let{state:i,pos:r}=e,n=De(i).resolveInner(r,-1),o=n.type.isError&&n.from==n.to-1&&i.doc.sliceString(n.from,n.to)=="-";if(n.name=="PropertyName"||(o||n.name=="TagName")&&/^(Block|Styles)$/.test(n.resolve(n.to).name))return{from:n.from,options:uv(),validFor:es};if(n.name=="ValueName")return{from:n.from,options:n$,validFor:es};if(n.name=="PseudoClassName")return{from:n.from,options:r$,validFor:es};if(t(n)||(e.explicit||o)&&hF(n,i.doc))return{from:t(n)||o?n.from:r,options:s$(i.doc,OF(n),t),validFor:fF};if(n.name=="TagName"){for(let{parent:l}=n;l;l=l.parent)if(l.name=="Block")return{from:n.from,options:uv(),validFor:es};return{from:n.from,options:uF,validFor:es}}if(!e.explicit)return null;let s=n.resolve(r),a=s.childBefore(r);return a&&a.name==":"&&s.name=="PseudoClassSelector"?{from:r,options:r$,validFor:es}:a&&a.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:r,options:n$,validFor:es}:s.name=="Block"||s.name=="Styles"?{from:r,options:uv(),validFor:es}:null},mF=pF(t=>t.name=="VariableName"),ff=qt.define({name:"css",parser:i$.configure({props:[jt.add({Declaration:wi()}),It.add({"Block KeyframeList":vr})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function wp(){return new yt(ff,ff.data.of({autocomplete:mF}))}var gF=309,a$=1,bF=2,yF=3,xF=310,vF=312,wF=313,kF=4,SF=5,TF=0,hv=[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],l$=125,EF=59,dv=47,PF=42,QF=43,CF=45,_F=60,$F=44,AF=new kr({start:!1,shift(t,e){return e==kF||e==SF||e==vF?t:e==wF},strict:!1}),XF=new Ue((t,e)=>{let{next:i}=t;(i==l$||i==-1||e.context)&&t.acceptToken(xF)},{contextual:!0,fallback:!0}),RF=new Ue((t,e)=>{let{next:i}=t,r;hv.indexOf(i)>-1||i==dv&&((r=t.peek(1))==dv||r==PF)||i!=l$&&i!=EF&&i!=-1&&!e.context&&t.acceptToken(gF)},{contextual:!0}),LF=new Ue((t,e)=>{let{next:i}=t;if((i==QF||i==CF)&&(t.advance(),i==t.next)){t.advance();let r=!e.context&&e.canShift(a$);t.acceptToken(r?a$:bF)}},{contextual:!0});function fv(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}var IF=new Ue((t,e)=>{if(t.next!=_F||!e.dialectEnabled(TF)||(t.advance(),t.next==dv))return;let i=0;for(;hv.indexOf(t.next)>-1;)t.advance(),i++;if(fv(t.next,!0)){for(t.advance(),i++;fv(t.next,!1);)t.advance(),i++;for(;hv.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==$F)return;for(let r=0;;r++){if(r==7){if(!fv(t.next,!0))return;break}if(t.next!="extends".charCodeAt(r))break;t.advance(),i++}}t.acceptToken(yF,-i)}),zF=wt({"get set async static":E.modifier,"for while do if else switch try catch finally return throw break continue default case":E.controlKeyword,"in of await yield void typeof delete instanceof":E.operatorKeyword,"let var const using function class extends":E.definitionKeyword,"import export from":E.moduleKeyword,"with debugger as new":E.keyword,TemplateString:E.special(E.string),super:E.atom,BooleanLiteral:E.bool,this:E.self,null:E.null,Star:E.modifier,VariableName:E.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":E.function(E.variableName),VariableDefinition:E.definition(E.variableName),Label:E.labelName,PropertyName:E.propertyName,PrivatePropertyName:E.special(E.propertyName),"CallExpression/MemberExpression/PropertyName":E.function(E.propertyName),"FunctionDeclaration/VariableDefinition":E.function(E.definition(E.variableName)),"ClassDeclaration/VariableDefinition":E.definition(E.className),PropertyDefinition:E.definition(E.propertyName),PrivatePropertyDefinition:E.definition(E.special(E.propertyName)),UpdateOp:E.updateOperator,"LineComment Hashbang":E.lineComment,BlockComment:E.blockComment,Number:E.number,String:E.string,Escape:E.escape,ArithOp:E.arithmeticOperator,LogicOp:E.logicOperator,BitOp:E.bitwiseOperator,CompareOp:E.compareOperator,RegExp:E.regexp,Equals:E.definitionOperator,Arrow:E.function(E.punctuation),": Spread":E.punctuation,"( )":E.paren,"[ ]":E.squareBracket,"{ }":E.brace,"InterpolationStart InterpolationEnd":E.special(E.brace),".":E.derefOperator,", ;":E.separator,"@":E.meta,TypeName:E.typeName,TypeDefinition:E.definition(E.typeName),"type enum interface implements namespace module declare":E.definitionKeyword,"abstract global Privacy readonly override":E.modifier,"is keyof unique infer":E.operatorKeyword,JSXAttributeValue:E.attributeValue,JSXText:E.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":E.angleBracket,"JSXIdentifier JSXNameSpacedName":E.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":E.attributeName,"JSXBuiltin/JSXIdentifier":E.standard(E.tagName)}),DF={__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},UF={__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},NF={__proto__:null,"<":143},c$=zt.deserialize({version:14,states:"$<UO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ08SO'#ChO+RO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Q.S2w2x6dQ1q,dQ2X,zQ6Q2PQ8`6RT;w'S+RT#`W%eS#_W%eS(O#V(WS(T#Y+QS-P'S+RT-s'}-xT'X!e%fQ$kfR)s$pT)h$k)iR3r.zT*X$x*ZR*a${Q0g+]Q2z.ZQ5`1^Q6h3OQ7z5cQ8k6gQ9Y7yQ9l8jQ9}9[Q:V9nQ:[:OR:_:WnqOXst!Z#c%j&m&o&p&r,h,m1w1zQ&g!VR,]&dtmOXst!U!V!Z#c%j&d&m&o&p&r,h,m1w1zR,d&jT%im,dR1W+|R,[&bQ&Q|R+t&RR+j%{T&k!W&nT&l!W&nT1y,m1z",nodeNames:"\u26A0 ArithOp ArithOp JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:AF,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:[zF],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq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Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(CS$Duk$f&j(Op(R!b'u(;d$Y#t'{&;d([!LYOY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[RF,LF,IF,2,3,4,5,6,7,8,9,10,11,12,13,XF,new Jo("$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 Jo("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=>DF[t]||-1},{term:334,get:t=>UF[t]||-1},{term:70,get:t=>NF[t]||-1}],tokenPrec:14626});var d$=[pt("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),pt("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),pt("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),pt("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),pt("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),pt(`try {
\${}
} catch (\${error}) {
\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),pt("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),pt(`if (\${}) {
\${}
} else {
\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),pt(`class \${name} {
constructor(\${params}) {
\${}
}
}`,{label:"class",detail:"definition",type:"keyword"}),pt('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),pt('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],MF=d$.concat([pt("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),pt("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),pt("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),u$=new No,O$=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function hf(t){return(e,i)=>{let r=e.node.getChild("VariableDefinition");return r&&i(r,t),!0}}var qF=["FunctionDeclaration"],jF={FunctionDeclaration:hf("function"),ClassDeclaration:hf("class"),ClassExpression:()=>!0,EnumDeclaration:hf("constant"),TypeAliasDeclaration:hf("type"),NamespaceDeclaration:hf("namespace"),VariableDefinition(t,e){t.matchContext(qF)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function p$(t,e){let i=u$.get(e);if(i)return i;let r=[],n=!0;function o(s,a){let l=t.sliceString(s.from,s.to);r.push({label:l,type:a})}return e.cursor(nt.IncludeAnonymous).iterate(s=>{if(n)n=!1;else if(s.name){let a=jF[s.name];if(a&&a(s,o)||O$.has(s.name))return!1}else if(s.to-s.from>8192){for(let a of p$(t,s.node))r.push(a);return!1}}),u$.set(e,r),r}var f$=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,m$=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function WF(t){let e=De(t.state).resolveInner(t.pos,-1);if(m$.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&f$.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let r=[];for(let n=e;n;n=n.parent)O$.has(n.name)&&(r=r.concat(p$(t.state.doc,n)));return{options:r,from:i?e.from:t.pos,validFor:f$}}var Mr=qt.define({name:"javascript",parser:c$.configure({props:[jt.add({IfStatement:wi({except:/^\s*({|else\b)/}),TryStatement:wi({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:rp,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),r=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:r?1:2)*t.unit},Block:fi({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":wi({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}}),It.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":vr,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),g$={test:t=>/^JSX/.test(t.name),facet:bl({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Ov=Mr.configure({dialect:"ts"},"typescript"),pv=Mr.configure({dialect:"jsx",props:[ip.add(t=>t.isTop?[g$]:void 0)]}),mv=Mr.configure({dialect:"jsx ts",props:[ip.add(t=>t.isTop?[g$]:void 0)]},"typescript"),b$=t=>({label:t,type:"keyword"}),y$="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(b$),VF=y$.concat(["declare","implements","private","protected","public"].map(b$));function kp(t={}){let e=t.jsx?t.typescript?mv:pv:t.typescript?Ov:Mr,i=t.typescript?MF.concat(VF):d$.concat(y$);return new yt(e,[Mr.data.of({autocomplete:wl(m$,Ks(i))}),Mr.data.of({autocomplete:WF}),t.jsx?YF:[]])}function ZF(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 h$(t,e,i=t.length){for(let r=e==null?void 0:e.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return t.sliceString(r.from,Math.min(r.to,i));return""}var BF=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),YF=he.inputHandler.of((t,e,i,r,n)=>{if((BF?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||r!=">"&&r!="/"||!Mr.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c;let{head:u}=l,f=De(s).resolveInner(u-1,-1),d;if(f.name=="JSXStartTag"&&(f=f.parent),!(s.doc.sliceString(u-1,u)!=r||f.name=="JSXAttributeValue"&&f.to>u)){if(r==">"&&f.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(r=="/"&&f.name=="JSXStartCloseTag"){let O=f.parent,g=O.parent;if(g&&O.from==u-2&&((d=h$(s.doc,g.firstChild,u))||((c=g.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let x=`${d}>`;return{range:K.cursor(u+x.length,-1),changes:{from:u,insert:x}}}}else if(r==">"){let O=ZF(f);if(O&&O.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(s.doc.sliceString(u,u+2))&&(d=h$(s.doc,O,u)))return{range:l,changes:{from:u,insert:`</${d}>`}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var df=["_blank","_self","_top","_parent"],gv=["ascii","utf-8","utf-16","latin1","latin1"],bv=["get","post","put","delete"],yv=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],nr=["true","false"],Qe={},FF={a:{attrs:{href:null,ping:null,type:null,media:null,target:df,hreflang:null}},abbr:Qe,address:Qe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Qe,aside:Qe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Qe,base:{attrs:{href:null,target:df}},bdi:Qe,bdo:Qe,blockquote:{attrs:{cite:null}},body:Qe,br:Qe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:yv,formmethod:bv,formnovalidate:["novalidate"],formtarget:df,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Qe,center:Qe,cite:Qe,code:Qe,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:Qe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Qe,div:Qe,dl:Qe,dt:Qe,em:Qe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Qe,figure:Qe,footer:Qe,form:{attrs:{action:null,name:null,"accept-charset":gv,autocomplete:["on","off"],enctype:yv,method:bv,novalidate:["novalidate"],target:df}},h1:Qe,h2:Qe,h3:Qe,h4:Qe,h5:Qe,h6:Qe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Qe,hgroup:Qe,hr:Qe,html:{attrs:{manifest:null}},i:Qe,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:yv,formmethod:bv,formnovalidate:["novalidate"],formtarget:df,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:Qe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Qe,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:Qe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:gv,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:Qe,noscript:Qe,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:Qe,param:{attrs:{name:null,value:null}},pre:Qe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Qe,rt:Qe,ruby:Qe,samp:Qe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:gv}},section:Qe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Qe,source:{attrs:{src:null,type:null,media:null}},span:Qe,strong:Qe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Qe,summary:Qe,sup:Qe,table:Qe,tbody:Qe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Qe,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:Qe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Qe,time:{attrs:{datetime:null}},title:Qe,tr:Qe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Qe,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:Qe},k$={accesskey:null,class:null,contenteditable:nr,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:nr,autocorrect:nr,autocapitalize:nr,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":nr,"aria-autocomplete":["inline","list","both","none"],"aria-busy":nr,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":nr,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":nr,"aria-hidden":nr,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":nr,"aria-multiselectable":nr,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":nr,"aria-relevant":null,"aria-required":nr,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},S$="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 S$)k$[t]=null;var ta=class{constructor(e,i){this.tags=Object.assign(Object.assign({},FF),e),this.globalAttrs=Object.assign(Object.assign({},k$),i),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};ta.default=new ta;function Tl(t,e,i=t.length){if(!e)return"";let r=e.firstChild,n=r&&r.getChild("TagName");return n?t.sliceString(n.from,Math.min(n.to,i)):""}function El(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function T$(t,e,i){let r=i.tags[Tl(t,El(e))];return(r==null?void 0:r.children)||i.allTags}function xv(t,e){let i=[];for(let r=El(e);r&&!r.type.isTop;r=El(r.parent)){let n=Tl(t,r);if(n&&r.lastChild.name=="CloseTag")break;n&&i.indexOf(n)<0&&(e.name=="EndTag"||e.from>=r.firstChild.to)&&i.push(n)}return i}var E$=/^[:\-\.\w\u00b7-\uffff]*$/;function x$(t,e,i,r,n){let o=/\s*>/.test(t.sliceDoc(n,n+5))?"":">",s=El(i,!0);return{from:r,to:n,options:T$(t.doc,s,e).map(a=>({label:a,type:"type"})).concat(xv(t.doc,i).map((a,l)=>({label:"/"+a,apply:"/"+a+o,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function v$(t,e,i,r){let n=/\s*>/.test(t.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:xv(t.doc,e).map((o,s)=>({label:o,apply:o+n,type:"type",boost:99-s})),validFor:E$}}function HF(t,e,i,r){let n=[],o=0;for(let s of T$(t.doc,i,e))n.push({label:"<"+s,type:"type"});for(let s of xv(t.doc,i))n.push({label:"</"+s+">",type:"type",boost:99-o++});return{from:r,to:r,options:n,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function GF(t,e,i,r,n){let o=El(i),s=o?e.tags[Tl(t.doc,o)]:null,a=s&&s.attrs?Object.keys(s.attrs):[],l=s&&s.globalAttrs===!1?a:a.length?a.concat(e.globalAttrNames):e.globalAttrNames;return{from:r,to:n,options:l.map(c=>({label:c,type:"property"})),validFor:E$}}function KF(t,e,i,r,n){var o;let s=(o=i.parent)===null||o===void 0?void 0:o.getChild("AttributeName"),a=[],l;if(s){let c=t.sliceDoc(s.from,s.to),u=e.globalAttrs[c];if(!u){let f=El(i),d=f?e.tags[Tl(t.doc,f)]:null;u=(d==null?void 0:d.attrs)&&d.attrs[c]}if(u){let f=t.sliceDoc(r,n).toLowerCase(),d='"',O='"';/^['"]/.test(f)?(l=f[0]=='"'?/^[^"]*$/:/^[^']*$/,d="",O=t.sliceDoc(n,n+1)==f[0]?"":f[0],f=f.slice(1),r++):l=/^[^\s<>='"]*$/;for(let g of u)a.push({label:g,apply:d+g+O,type:"constant"})}}return{from:r,to:n,options:a,validFor:l}}function P$(t,e){let{state:i,pos:r}=e,n=De(i).resolveInner(r,-1),o=n.resolve(r);for(let s=r,a;o==n&&(a=n.childBefore(s));){let l=a.lastChild;if(!l||!l.type.isError||l.from<l.to)break;o=n=a,s=l.from}return n.name=="TagName"?n.parent&&/CloseTag$/.test(n.parent.name)?v$(i,n,n.from,r):x$(i,t,n,n.from,r):n.name=="StartTag"?x$(i,t,n,r,r):n.name=="StartCloseTag"||n.name=="IncompleteCloseTag"?v$(i,n,r,r):n.name=="OpenTag"||n.name=="SelfClosingTag"||n.name=="AttributeName"?GF(i,t,n,n.name=="AttributeName"?n.from:r,r):n.name=="Is"||n.name=="AttributeValue"||n.name=="UnquotedAttributeValue"?KF(i,t,n,n.name=="Is"?r:n.from,r):e.explicit&&(o.name=="Element"||o.name=="Text"||o.name=="Document")?HF(i,t,n,r):null}function Q$(t){return P$(ta.default,t)}function JF(t){let{extraTags:e,extraGlobalAttributes:i}=t,r=i||e?new ta(e,i):ta.default;return n=>P$(r,n)}var eH=Mr.parser.configure({top:"SingleExpression"}),C$=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:Ov.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:pv.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:mv.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:eH},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:Mr.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:ff.parser}],_$=[{name:"style",parser:ff.parser.configure({top:"Styles"})}].concat(S$.map(t=>({name:t,parser:Mr.parser}))),$$=qt.define({name:"html",parser:H_.configure({props:[jt.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length<t.node.to)return t.continue();let e=null,i;for(let r=t.node;;){let n=r.lastChild;if(!n||n.name!="Element"||n.to!=r.to)break;e=r=n}return e&&!((i=e.lastChild)&&(i.name=="CloseTag"||i.name=="SelfClosingTag"))?t.lineIndent(e.from)+t.unit:null}}),It.add({Element(t){let e=t.firstChild,i=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:i.name=="CloseTag"?i.from:t.to}}}),Fu.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Sp=$$.configure({wrap:lv(C$,_$)});function Tp(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=lv((t.nestedLanguages||[]).concat(C$),(t.nestedAttributes||[]).concat(_$)));let r=i?$$.configure({wrap:i,dialect:e}):e?Sp.configure({dialect:e}):Sp;return new yt(r,[Sp.data.of({autocomplete:JF(t)}),t.autoCloseTags!==!1?tH:[],kp().support,wp().support])}var w$=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),tH=he.inputHandler.of((t,e,i,r,n)=>{if(t.composing||t.state.readOnly||e!=i||r!=">"&&r!="/"||!Sp.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c,u,f;let d=s.doc.sliceString(l.from-1,l.to)==r,{head:O}=l,g=De(s).resolveInner(O,-1),x;if(d&&r==">"&&g.name=="EndTag"){let S=g.parent;if(((u=(c=S.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(x=Tl(s.doc,S.parent,O))&&!w$.has(x)){let w=O+(s.doc.sliceString(O,O+1)===">"?1:0),T=`</${x}>`;return{range:l,changes:{from:O,to:w,insert:T}}}}else if(d&&r=="/"&&g.name=="IncompleteCloseTag"){let S=g.parent;if(g.from==O-2&&((f=S.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(x=Tl(s.doc,S,O))&&!w$.has(x)){let w=O+(s.doc.sliceString(O,O+1)===">"?1:0),T=`${x}>`;return{range:K.cursor(O+T.length,-1),changes:{from:O,to:w,insert:T}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var R$=bl({commentTokens:{block:{open:"<!--",close:"-->"}}}),L$=new _e,I$=y_.configure({props:[It.add(t=>!t.is("Block")||t.is("Document")||kv(t)!=null||iH(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),L$.add(kv),jt.add({Document:()=>null}),Yn.add({Document:R$})]});function kv(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function iH(t){return t.name=="OrderedList"||t.name=="BulletList"}function rH(t,e){let i=t;for(;;){let r=i.nextSibling,n;if(!r||(n=kv(r.type))!=null&&n<=e)break;i=r}return i.to}var nH=ax.of((t,e,i)=>{for(let r=De(t).resolveInner(i,-1);r&&!(r.from<e);r=r.parent){let n=r.type.prop(L$);if(n==null)continue;let o=rH(r,n);if(o>i)return{from:i,to:o}}return null});function Tv(t){return new ui(R$,t,[nH],"markdown")}var oH=Tv(I$),sH=I$.configure([w_,T_,S_,E_,{props:[It.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Ep=Tv(sH);function aH(t,e){return i=>{if(i&&t){let r=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?r=t(i):r=Lt.matchLanguageName(t,i,!0),r instanceof Lt)return r.support?r.support.language.parser:Ys.getSkippingParser(r.load());if(r)return r.parser}return e?e.parser:null}}var Pl=class{constructor(e,i,r,n,o,s,a){this.node=e,this.from=i,this.to=r,this.spaceBefore=n,this.spaceAfter=o,this.type=s,this.item=a}blank(e,i=!0){let r=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;r.length<e;)r+=" ";return r}else{for(let n=this.to-this.from-r.length-this.spaceAfter.length;n>0;n--)r+=" ";return r+(i?this.spaceAfter:"")}}marker(e,i){let r=this.node.name=="OrderedList"?String(+D$(this.item,e)[2]+i):"";return this.spaceBefore+r+this.type+this.spaceAfter}};function z$(t,e){let i=[];for(let n=t;n&&n.name!="Document";n=n.parent)(n.name=="ListItem"||n.name=="Blockquote"||n.name=="FencedCode")&&i.push(n);let r=[];for(let n=i.length-1;n>=0;n--){let o=i[n],s,a=e.lineAt(o.from),l=o.from-a.from;if(o.name=="FencedCode")r.push(new Pl(o,l,l,"","","",null));else if(o.name=="Blockquote"&&(s=/^ *>( ?)/.exec(a.text.slice(l))))r.push(new Pl(o,l,l+s[0].length,"",s[1],">",null));else if(o.name=="ListItem"&&o.parent.name=="OrderedList"&&(s=/^( *)\d+([.)])( *)/.exec(a.text.slice(l)))){let c=s[3],u=s[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),r.push(new Pl(o.parent,l,l+u,s[1],c,s[2],o))}else if(o.name=="ListItem"&&o.parent.name=="BulletList"&&(s=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(a.text.slice(l)))){let c=s[4],u=s[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let f=s[2];s[3]&&(f+=s[3].replace(/[xX]/," ")),r.push(new Pl(o.parent,l,l+u,s[1],c,f,o))}}return r}function D$(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function vv(t,e,i,r=0){for(let n=-1,o=t;;){if(o.name=="ListItem"){let a=D$(o,e),l=+a[2];if(n>=0){if(l!=n+1)return;i.push({from:o.from+a[1].length,to:o.from+a[0].length,insert:String(n+2+r)})}n=l}let s=o.nextSibling;if(!s)break;o=s}}function Ev(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(Nr)!=" ")return t;let r=Ai(t,4,i),n="";for(let o=r;o>0;)o>=4?(n+=" ",o-=4):(n+=" ",o--);return n+t.slice(i)}var lH=({state:t,dispatch:e})=>{let i=De(t),{doc:r}=t,n=null,o=t.changeByRange(s=>{if(!s.empty||!Ep.isActiveAt(t,s.from))return n={range:s};let a=s.from,l=r.lineAt(a),c=z$(i.resolveInner(a,-1),r);for(;c.length&&c[c.length-1].from>a-l.from;)c.pop();if(!c.length)return n={range:s};let u=c[c.length-1];if(u.to-u.spaceAfter.length>a-l.from)return n={range:s};let f=a>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&f){let S=u.node.firstChild,w=u.node.getChild("ListItem","ListItem");if(S.to>=a||w&&w.to<a||l.from>0&&!/[^\s>]/.test(r.lineAt(l.from-1).text)){let T=c.length>1?c[c.length-2]:null,A,I="";T&&T.item?(A=l.from+T.from,I=T.marker(r,1)):A=l.from+(T?T.to:0);let C=[{from:A,to:a,insert:I}];return u.node.name=="OrderedList"&&vv(u.item,r,C,-2),T&&T.node.name=="OrderedList"&&vv(T.item,r,C),{range:K.cursor(A+I.length),changes:C}}else{let T=X$(c,t,l);return{range:K.cursor(a+T.length+1),changes:{from:l.from,insert:T+t.lineBreak}}}}if(u.node.name=="Blockquote"&&f&&l.from){let S=r.lineAt(l.from-1),w=/>\s*$/.exec(S.text);if(w&&w.index==u.from){let T=t.changes([{from:S.from+w.index,to:S.to},{from:l.from+u.from,to:l.to}]);return{range:s.map(T),changes:T}}}let d=[];u.node.name=="OrderedList"&&vv(u.item,r,d);let O=u.item&&u.item.from<l.from,g="";if(!O||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=u.to)for(let S=0,w=c.length-1;S<=w;S++)g+=S==w&&!O?c[S].marker(r,1):c[S].blank(S<w?Ai(l.text,4,c[S+1].from)-g.length:null);let x=a;for(;x>l.from&&/\s/.test(l.text.charAt(x-l.from-1));)x--;return g=Ev(g,t),cH(u.node,t.doc)&&(g=X$(c,t,l)+t.lineBreak+g),d.push({from:x,to:a,insert:t.lineBreak+g}),{range:K.cursor(x+g.length+1),changes:d}});return n?!1:(e(t.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function A$(t){return t.name=="QuoteMark"||t.name=="ListMark"}function cH(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,r=t.getChild("ListItem","ListItem");if(!r)return!1;let n=e.lineAt(i.to),o=e.lineAt(r.from),s=/^[\s>]*$/.test(n.text);return n.number+(s?0:1)<o.number}function X$(t,e,i){let r="";for(let n=0,o=t.length-2;n<=o;n++)r+=t[n].blank(n<o?Ai(i.text,4,t[n+1].from)-r.length:null,n<o);return Ev(r,e)}function uH(t,e){let i=t.resolveInner(e,-1),r=e;A$(i)&&(r=i.from,i=i.parent);for(let n;n=i.childBefore(r);)if(A$(n))r=n.from;else if(n.name=="OrderedList"||n.name=="BulletList")i=n.lastChild,r=i.to;else break;return i}var fH=({state:t,dispatch:e})=>{let i=De(t),r=null,n=t.changeByRange(o=>{let s=o.from,{doc:a}=t;if(o.empty&&Ep.isActiveAt(t,o.from)){let l=a.lineAt(s),c=z$(uH(i,s),a);if(c.length){let u=c[c.length-1],f=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(s-l.from>f&&!/\S/.test(l.text.slice(f,s-l.from)))return{range:K.cursor(l.from+f),changes:{from:l.from+f,to:s}};if(s-l.from==f&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let d=l.from+u.from;if(u.item&&u.node.from<u.item.from&&/\S/.test(l.text.slice(u.from,u.to))){let O=u.blank(Ai(l.text,4,u.to)-Ai(l.text,4,u.from));return d==l.from&&(O=Ev(O,t)),{range:K.cursor(d+O.length),changes:{from:d,to:l.from+u.to,insert:O}}}if(d<s)return{range:K.cursor(d),changes:{from:d,to:s}}}}}return r={range:o}});return r?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"delete"})),!0)},hH=[{key:"Enter",run:lH},{key:"Backspace",run:fH}],Sv=Tp({matchClosingTags:!1});function U$(t={}){let{codeLanguages:e,defaultCodeLanguage:i,addKeymap:r=!0,base:{parser:n}=oH,completeHTMLTags:o=!0}=t;if(!(n instanceof af))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let s=t.extensions?[t.extensions]:[],a=[Sv.support],l;i instanceof yt?(a.push(i.support),l=i.language):i&&(l=i);let c=e||l?aH(e,l):void 0;s.push(x_({codeParser:c,htmlParser:Sv.language.parser})),r&&a.push(Rt.high(Gt.of(hH)));let u=Tv(n.configure(s));return o&&a.push(u.data.of({autocomplete:dH})),new yt(u,a)}function dH(t){let{state:e,pos:i}=t,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(e.sliceDoc(i-25,i));if(!r)return null;let n=De(e).resolveInner(i,-1);for(;n&&!n.type.isTop;){if(n.name=="CodeBlock"||n.name=="FencedCode"||n.name=="ProcessingInstructionBlock"||n.name=="CommentBlock"||n.name=="Link"||n.name=="Image")return null;n=n.parent}return{from:i-r[0].length,to:i,options:OH(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var wv=null;function OH(){if(wv)return wv;let t=Q$(new xl(ot.create({extensions:Sv}),0,!0));return wv=t?t.options:[]}var pH=36,N$=1,mH=2,Of=3,Pv=4,gH=5,bH=6,yH=7,xH=8,vH=9,wH=10,kH=11,SH=12,TH=13,EH=14,PH=15,QH=16,CH=17,M$=18,_H=19,F$=20,H$=21,q$=22,$H=23,AH=24;function Cv(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function XH(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function ra(t,e,i){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=i&&!r&&t.next==92,t.advance()}}function RH(t,e){e:for(;;){if(t.next<0)return console.log("exit at end",t.pos);if(t.next==36){t.advance();for(let i=0;i<e.length;i++){if(t.next!=e.charCodeAt(i))continue e;t.advance()}if(t.next==36){t.advance();return}}else t.advance()}}function LH(t,e){let i="[{<(".indexOf(String.fromCharCode(e)),r=i<0?e:"]}>)".charCodeAt(i);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function _v(t,e){for(;!(t.next!=95&&!Cv(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function IH(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),ra(t,e,!1)}else _v(t)}function j$(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function W$(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 V$(t){for(;!(t.next<0||t.next==10);)t.advance()}function ia(t,e){for(let i=0;i<e.length;i++)if(e.charCodeAt(i)==t)return!0;return!1}var Qv=` \r
`;function G$(t,e,i){let r=Object.create(null);r.true=r.false=gH,r.null=r.unknown=bH;for(let n of t.split(" "))n&&(r[n]=F$);for(let n of e.split(" "))n&&(r[n]=H$);for(let n of(i||"").split(" "))n&&(r[n]=AH);return r}var na="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 ",oa="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 ",$v={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',words:G$(oa,na)};function zH(t,e,i,r){let n={};for(let o in $v)n[o]=(t.hasOwnProperty(o)?t:$v)[o];return e&&(n.words=G$(e,i||"",r)),n}function K$(t){return new Ue(e=>{var i;let{next:r}=e;if(e.advance(),ia(r,Qv)){for(;ia(e.next,Qv);)e.advance();e.acceptToken(pH)}else if(r==36&&t.doubleDollarQuotedStrings){let n=_v(e,"");e.next==36&&(e.advance(),RH(e,n),e.acceptToken(Of))}else if(r==39||r==34&&t.doubleQuotedStrings)ra(e,r,t.backslashEscapes),e.acceptToken(Of);else if(r==35&&t.hashComments||r==47&&e.next==47&&t.slashComments)V$(e),e.acceptToken(N$);else if(r==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))V$(e),e.acceptToken(N$);else if(r==47&&e.next==42){e.advance();for(let n=1;;){let o=e.next;if(e.next<0)break;if(e.advance(),o==42&&e.next==47){if(n--,e.advance(),!n)break}else o==47&&e.next==42&&(n++,e.advance())}e.acceptToken(mH)}else if((r==101||r==69)&&e.next==39)e.advance(),ra(e,39,!0);else if((r==110||r==78)&&e.next==39&&t.charSetCasts)e.advance(),ra(e,39,t.backslashEscapes),e.acceptToken(Of);else if(r==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),ra(e,39,t.backslashEscapes),e.acceptToken(Of);break}if(!Cv(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(r==113||r==81)&&e.next==39&&e.peek(1)>0&&!ia(e.peek(1),Qv)){let n=e.peek(1);e.advance(2),LH(e,n),e.acceptToken(Of)}else if(r==40)e.acceptToken(yH);else if(r==41)e.acceptToken(xH);else if(r==123)e.acceptToken(vH);else if(r==125)e.acceptToken(wH);else if(r==91)e.acceptToken(kH);else if(r==93)e.acceptToken(SH);else if(r==59)e.acceptToken(TH);else if(t.unquotedBitLiterals&&r==48&&e.next==98)e.advance(),j$(e),e.acceptToken(q$);else if((r==98||r==66)&&(e.next==39||e.next==34)){let n=e.next;e.advance(),t.treatBitsAsBytes?(ra(e,n,t.backslashEscapes),e.acceptToken($H)):(j$(e,n),e.acceptToken(q$))}else if(r==48&&(e.next==120||e.next==88)||(r==120||r==88)&&e.next==39){let n=e.next==39;for(e.advance();XH(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(Pv)}else if(r==46&&e.next>=48&&e.next<=57)W$(e,!0),e.acceptToken(Pv);else if(r==46)e.acceptToken(EH);else if(r>=48&&r<=57)W$(e,!1),e.acceptToken(Pv);else if(ia(r,t.operatorChars)){for(;ia(e.next,t.operatorChars);)e.advance();e.acceptToken(PH)}else if(ia(r,t.specialVar))e.next==r&&e.advance(),IH(e),e.acceptToken(CH);else if(ia(r,t.identifierQuotes))ra(e,r,!1),e.acceptToken(_H);else if(r==58||r==44)e.acceptToken(QH);else if(Cv(r)){let n=_v(e,String.fromCharCode(r));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?M$:(i=t.words[n.toLowerCase()])!==null&&i!==void 0?i:M$)}})}var J$=K$($v),DH=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Ql_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,J$],topRules:{Script:[0,25]},tokenPrec:0});function Av(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function pf(t,e){let i=t.sliceString(e.from,e.to),r=/^([`'"])(.*)\1$/.exec(i);return r?r[2]:i}function Pp(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function UH(t,e){if(e.name=="CompositeIdentifier"){let i=[];for(let r=e.firstChild;r;r=r.nextSibling)Pp(r)&&i.push(pf(t,r));return i}return[pf(t,e)]}function Z$(t,e){for(let i=[];;){if(!e||e.name!=".")return i;let r=Av(e);if(!Pp(r))return i;i.unshift(pf(t,r)),e=Av(r)}}function NH(t,e){let i=De(t).resolveInner(e,-1),r=qH(t.doc,i);return i.name=="Identifier"||i.name=="QuotedIdentifier"||i.name=="Keyword"?{from:i.from,quoted:i.name=="QuotedIdentifier"?t.doc.sliceString(i.from,i.from+1):null,parents:Z$(t.doc,Av(i)),aliases:r}:i.name=="."?{from:e,quoted:null,parents:Z$(t.doc,i),aliases:r}:{from:e,quoted:null,parents:[],empty:!0,aliases:r}}var MH=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function qH(t,e){let i;for(let n=e;!i;n=n.parent){if(!n)return null;n.name=="Statement"&&(i=n)}let r=null;for(let n=i.firstChild,o=!1,s=null;n;n=n.nextSibling){let a=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,l=null;if(!o)o=a=="from";else if(a=="as"&&s&&Pp(n.nextSibling))l=pf(t,n.nextSibling);else{if(a&&MH.has(a))break;s&&Pp(n)&&(l=pf(t,n))}l&&(r||(r=Object.create(null)),r[l]=UH(t,s)),s=/Identifier$/.test(n.name)?n:null}return r}function jH(t,e){return t?e.map(i=>Object.assign(Object.assign({},i),{label:i.label[0]==t?i.label:t+i.label+t,apply:void 0})):e}var WH=/^\w*$/,VH=/^[`'"]?\w*[`'"]?$/;function B$(t){return t.self&&typeof t.self.label=="string"}var Xv=class t{constructor(e){this.idQuote=e,this.list=[],this.children=void 0}child(e){let i=this.children||(this.children=Object.create(null)),r=i[e];return r||(e&&!this.list.some(n=>n.label==e)&&this.list.push(Y$(e,"type",this.idQuote)),i[e]=new t(this.idQuote))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let i=this.list.findIndex(r=>r.label==e.label);i>-1?this.list[i]=e:this.list.push(e)}addCompletions(e){for(let i of e)this.addCompletion(typeof i=="string"?Y$(i,"property",this.idQuote):i)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):B$(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let i of Object.keys(e)){let r=e[i],n=null,o=i.replace(/\\?\./g,a=>a=="."?"\0":a).split("\0"),s=this;B$(r)&&(n=r.self,r=r.children);for(let a=0;a<o.length;a++)n&&a==o.length-1&&s.addCompletion(n),s=s.child(o[a].replace(/\\\./g,"."));s.addNamespace(r)}}};function Y$(t,e,i){return/^[a-z_][a-z_\d]*$/.test(t)?{label:t,type:e}:{label:t,type:e,apply:i+t+i}}function ZH(t,e,i,r,n,o){var s;let a=((s=o==null?void 0:o.spec.identifierQuotes)===null||s===void 0?void 0:s[0])||'"',l=new Xv(a),c=n?l.child(n):null;return l.addNamespace(t),e&&(c||l).addCompletions(e),i&&l.addCompletions(i),c&&l.addCompletions(c.list),r&&l.addCompletions((c||l).child(r).list),u=>{let{parents:f,from:d,quoted:O,empty:g,aliases:x}=NH(u.state,u.pos);if(g&&!u.explicit)return null;x&&f.length==1&&(f=x[f[0]]||f);let S=l;for(let A of f){for(;!S.children||!S.children[A];)if(S==l&&c)S=c;else if(S==c&&r)S=S.child(r);else return null;let I=S.maybeChild(A);if(!I)return null;S=I}let w=O&&u.state.sliceDoc(u.pos,u.pos+1)==O,T=S.list;return S==l&&x&&(T=T.concat(Object.keys(x).map(A=>({label:A,type:"constant"})))),{from:d,to:w?u.pos+1:void 0,options:jH(O,T),validFor:O?VH:WH}}}function BH(t,e){let i=Object.keys(t).map(r=>({label:e?r.toUpperCase():r,type:t[r]==H$?"type":t[r]==F$?"keyword":"variable",boost:-1}));return wl(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],Ks(i))}var YH=DH.configure({props:[jt.add({Statement:wi()}),It.add({Statement(t,e){return{from:Math.min(t.from+100,e.doc.lineAt(t.from).to),to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),wt({Keyword:E.keyword,Type:E.typeName,Builtin:E.standard(E.name),Bits:E.number,Bytes:E.string,Bool:E.bool,Null:E.null,Number:E.number,String:E.string,Identifier:E.name,QuotedIdentifier:E.special(E.string),SpecialVar:E.special(E.name),LineComment:E.lineComment,BlockComment:E.blockComment,Operator:E.operator,"Semi Punctuation":E.punctuation,"( )":E.paren,"{ }":E.brace,"[ ]":E.squareBracket})]}),mn=class t{constructor(e,i,r){this.dialect=e,this.language=i,this.spec=r}get extension(){return this.language.extension}static define(e){let i=zH(e,e.keywords,e.types,e.builtin),r=qt.define({name:"sql",parser:YH.configure({tokenizers:[{from:J$,to:K$(i)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new t(i,r,e)}};function FH(t,e=!1){return BH(t.dialect.words,e)}function HH(t,e=!1){return t.language.data.of({autocomplete:FH(t,e)})}function GH(t){return t.schema?ZH(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||Rv):()=>null}function KH(t){return t.schema?(t.dialect||Rv).language.data.of({autocomplete:GH(t)}):[]}function eA(t={}){let e=t.dialect||Rv;return new yt(e.language,[KH(t),HH(e,!!t.upperCaseKeywords)])}var Rv=mn.define({}),gke=mn.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:oa+"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:na+"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"}),tA="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",iA=na+"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",rA="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",bke=mn.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:oa+"group_concat "+tA,types:iA,builtin:rA}),yke=mn.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:oa+"always generated groupby_concat hard persistent shutdown soft virtual "+tA,types:iA,builtin:rA}),xke=mn.define({keywords:oa+"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:na+"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:"@"}),vke=mn.define({keywords:oa+"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:na+"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:"@:?$"}),wke=mn.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:na+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),kke=mn.define({keywords:oa+"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:na+"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 JH=wt({String:E.string,Number:E.number,"True False":E.bool,PropertyName:E.propertyName,Null:E.null,",":E.separator,"[ ]":E.squareBracket,"{ }":E.brace}),nA=zt.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:[JH],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 eG=qt.define({name:"json",parser:nA.configure({props:[jt.add({Object:wi({except:/^\s*\}/}),Array:wi({except:/^\s*\]/})}),It.add({"Object Array":vr})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function oA(){return new yt(eG)}var Lv=1,tG=2,iG=3,rG=4,nG=5,oG=35,sG=36,aG=37,lG=11,cG=13;function uG(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function fG(t){return t==9||t==10||t==13||t==32}var sA=null,aA=null,lA=0;function Iv(t,e){let i=t.pos+e;if(aA==t&&lA==i)return sA;for(;fG(t.peek(e));)e++;let r="";for(;;){let n=t.peek(e);if(!uG(n))break;r+=String.fromCharCode(n),e++}return aA=t,lA=i,sA=r||null}function cA(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i<t.length;i++)this.hash+=(this.hash<<4)+t.charCodeAt(i)+(t.charCodeAt(i)<<8)}var hG=new kr({start:null,shift(t,e,i,r){return e==Lv?new cA(Iv(r,1)||"",t):t},reduce(t,e){return e==lG&&t?t.parent:t},reuse(t,e,i,r){let n=e.type.id;return n==Lv||n==cG?new cA(Iv(r,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),dG=new Ue((t,e)=>{if(t.next==60){if(t.advance(),t.next==47){t.advance();let i=Iv(t,0);if(!i)return t.acceptToken(nG);if(e.context&&i==e.context.name)return t.acceptToken(tG);for(let r=e.context;r;r=r.parent)if(r.name==i)return t.acceptToken(iG,-2);t.acceptToken(rG)}else if(t.next!=33&&t.next!=63)return t.acceptToken(Lv)}},{contextual:!0});function zv(t,e){return new Ue(i=>{let r=0,n=e.charCodeAt(0);e:for(;!(i.next<0);i.advance(),r++)if(i.next==n){for(let o=1;o<e.length;o++)if(i.peek(o)!=e.charCodeAt(o))continue e;break}r&&i.acceptToken(t)})}var OG=zv(oG,"-->"),pG=zv(sG,"?>"),mG=zv(aG,"]]>"),gG=wt({Text:E.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":E.angleBracket,TagName:E.tagName,"MismatchedCloseTag/Tagname":[E.tagName,E.invalid],AttributeName:E.attributeName,AttributeValue:E.attributeValue,Is:E.definitionOperator,"EntityReference CharacterReference":E.character,Comment:E.blockComment,ProcessingInst:E.processingInstruction,DoctypeDecl:E.documentMeta,Cdata:E.special(E.string)}),uA=zt.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!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:hG,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:[gG],skippedNodes:[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Or%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[dG,OG,pG,mG,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function Qp(t,e){let i=e&&e.getChild("TagName");return i?t.sliceString(i.from,i.to):""}function Dv(t,e){let i=e&&e.firstChild;return!i||i.name!="OpenTag"?"":Qp(t,i)}function bG(t,e,i){let r=e&&e.getChildren("Attribute").find(o=>o.from<=i&&o.to>=i),n=r&&r.getChild("AttributeName");return n?t.sliceString(n.from,n.to):""}function Uv(t){for(let e=t&&t.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function yG(t,e){var i;let r=De(t).resolveInner(e,-1),n=null;for(let o=r;!n&&o.parent;o=o.parent)(o.name=="OpenTag"||o.name=="CloseTag"||o.name=="SelfClosingTag"||o.name=="MismatchedCloseTag")&&(n=o);if(n&&(n.to>e||n.lastChild.type.isError)){let o=n.parent;if(r.name=="TagName")return n.name=="CloseTag"||n.name=="MismatchedCloseTag"?{type:"closeTag",from:r.from,context:o}:{type:"openTag",from:r.from,context:Uv(o)};if(r.name=="AttributeName")return{type:"attrName",from:r.from,context:n};if(r.name=="AttributeValue")return{type:"attrValue",from:r.from,context:n};let s=r==n||r.name=="Attribute"?r.childBefore(e):r;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:e,context:Uv(o)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=e?{type:"closeTag",from:e,context:o}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:e,context:n}:s?{type:"attrName",from:e,context:n}:null}else if(r.name=="StartCloseTag")return{type:"closeTag",from:e,context:r.parent};for(;r.parent&&r.to==e&&!(!((i=r.lastChild)===null||i===void 0)&&i.type.isError);)r=r.parent;return r.name=="Element"||r.name=="Text"||r.name=="Document"?{type:"tag",from:e,context:r.name=="Element"?r:Uv(r)}:null}var Mv=class{constructor(e,i,r){this.attrs=i,this.attrValues=r,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(n=>({label:n,type:"text"})):[]}},Nv=/^[:\-\.\w\u00b7-\uffff]*$/;function fA(t){return Object.assign(Object.assign({type:"property"},t.completion||{}),{label:t.name})}function hA(t){return typeof t=="string"?{label:`"${t}"`,type:"constant"}:/^"/.test(t.label)?t:Object.assign(Object.assign({},t),{label:`"${t.label}"`})}function xG(t,e){let i=[],r=[],n=Object.create(null);for(let l of e){let c=fA(l);i.push(c),l.global&&r.push(c),l.values&&(n[l.name]=l.values.map(hA))}let o=[],s=[],a=Object.create(null);for(let l of t){let c=r,u=n;l.attributes&&(c=c.concat(l.attributes.map(d=>typeof d=="string"?i.find(O=>O.label==d)||{label:d,type:"property"}:(d.values&&(u==n&&(u=Object.create(u)),u[d.name]=d.values.map(hA)),fA(d)))));let f=new Mv(l,c,u);a[f.name]=f,o.push(f),l.top&&s.push(f)}s.length||(s=o);for(let l=0;l<o.length;l++){let c=t[l],u=o[l];if(c.children)for(let f of c.children)a[f]&&u.children.push(a[f]);else u.children=o}return l=>{var c;let{doc:u}=l.state,f=yG(l.state,l.pos);if(!f||f.type=="tag"&&!l.explicit)return null;let{type:d,from:O,context:g}=f;if(d=="openTag"){let x=s,S=Dv(u,g);if(S){let w=a[S];x=(w==null?void 0:w.children)||o}return{from:O,options:x.map(w=>w.completion),validFor:Nv}}else if(d=="closeTag"){let x=Dv(u,g);return x?{from:O,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=a[x])===null||c===void 0?void 0:c.closeNameCompletion)||{label:x+">",type:"type"}],validFor:Nv}:null}else if(d=="attrName"){let x=a[Qp(u,g)];return{from:O,options:(x==null?void 0:x.attrs)||r,validFor:Nv}}else if(d=="attrValue"){let x=bG(u,g,O);if(!x)return null;let S=a[Qp(u,g)],w=((S==null?void 0:S.attrValues)||n)[x];return!w||!w.length?null:{from:O,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:w,validFor:/^"[^"]*"?$/}}else if(d=="tag"){let x=Dv(u,g),S=a[x],w=[],T=g&&g.lastChild;x&&(!T||T.name!="CloseTag"||Qp(u,T)!=x)&&w.push(S?S.closeCompletion:{label:"</"+x+">",type:"type",boost:2});let A=w.concat(((S==null?void 0:S.children)||(g?o:s)).map(I=>I.openCompletion));if(g&&(S!=null&&S.text.length)){let I=g.firstChild;I.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(I.to,l.pos))&&(A=A.concat(S.text))}return{from:O,options:A,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}var qv=qt.define({name:"xml",parser:uA.configure({props:[jt.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}}),It.add({Element(t){let e=t.firstChild,i=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:i.name=="CloseTag"?i.from:t.to}}}),Fu.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function OA(t={}){let e=[qv.data.of({autocomplete:xG(t.elements||[],t.attributes||[])})];return t.autoCloseTags!==!1&&e.push(vG),new yt(qv,e)}function dA(t,e,i=t.length){if(!e)return"";let r=e.firstChild,n=r&&r.getChild("TagName");return n?t.sliceString(n.from,Math.min(n.to,i)):""}var vG=he.inputHandler.of((t,e,i,r,n)=>{if(t.composing||t.state.readOnly||e!=i||r!=">"&&r!="/"||!qv.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c,u,f;let{head:d}=l,O=s.doc.sliceString(d-1,d)==r,g=De(s).resolveInner(d,-1),x;if(O&&r==">"&&g.name=="EndTag"){let S=g.parent;if(((u=(c=S.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(x=dA(s.doc,S.parent,d))){let w=d+(s.doc.sliceString(d,d+1)===">"?1:0),T=`</${x}>`;return{range:l,changes:{from:d,to:w,insert:T}}}}else if(O&&r=="/"&&g.name=="StartCloseTag"){let S=g.parent;if(g.from==d-2&&((f=S.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(x=dA(s.doc,S,d))){let w=d+(s.doc.sliceString(d,d+1)===">"?1:0),T=`${x}>`;return{range:K.cursor(d+T.length,-1),changes:{from:d,to:w,insert:T}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var wG=1,yA=194,xA=195,kG=196,pA=197,SG=198,TG=199,EG=200,PG=2,vA=3,mA=201,QG=24,CG=25,_G=49,$G=50,AG=55,XG=56,RG=57,LG=59,IG=60,zG=61,DG=62,UG=63,NG=65,MG=238,qG=71,jG=241,WG=242,VG=243,ZG=244,BG=245,YG=246,FG=247,HG=248,wA=72,GG=249,KG=250,JG=251,eK=252,tK=253,iK=254,rK=255,nK=256,oK=73,sK=77,aK=263,lK=112,cK=130,uK=151,fK=152,hK=155,sa=10,mf=13,Zv=32,$p=9,Bv=35,dK=40,OK=46,Vv=123,gA=125,kA=39,SA=34,pK=92,mK=111,gK=120,bK=78,yK=117,xK=85,vK=new Set([CG,_G,$G,aK,NG,cK,XG,RG,MG,DG,UG,wA,oK,sK,IG,zG,uK,fK,hK,lK]);function jv(t){return t==sa||t==mf}function Wv(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}var wK=new Ue((t,e)=>{let i;if(t.next<0)t.acceptToken(TG);else if(e.context.flags&Cp)jv(t.next)&&t.acceptToken(SG,1);else if(((i=t.peek(-1))<0||jv(i))&&e.canShift(pA)){let r=0;for(;t.next==Zv||t.next==$p;)t.advance(),r++;(t.next==sa||t.next==mf||t.next==Bv)&&t.acceptToken(pA,-r)}else jv(t.next)&&t.acceptToken(kG,1)},{contextual:!0}),kK=new Ue((t,e)=>{let i=e.context;if(i.flags)return;let r=t.peek(-1);if(r==sa||r==mf){let n=0,o=0;for(;;){if(t.next==Zv)n++;else if(t.next==$p)n+=8-n%8;else break;t.advance(),o++}n!=i.indent&&t.next!=sa&&t.next!=mf&&t.next!=Bv&&(n<i.indent?t.acceptToken(xA,-o):t.acceptToken(yA))}}),Cp=1,TA=2,Kn=4,Jn=8,eo=16,to=32;function _p(t,e,i){this.parent=t,this.indent=e,this.flags=i,this.hash=(t?t.hash+t.hash<<8:0)+e+(e<<4)+i+(i<<6)}var SK=new _p(null,0,0);function TK(t){let e=0;for(let i=0;i<t.length;i++)e+=t.charCodeAt(i)==$p?8-e%8:1;return e}var bA=new Map([[jG,0],[WG,Kn],[VG,Jn],[ZG,Jn|Kn],[BG,eo],[YG,eo|Kn],[FG,eo|Jn],[HG,eo|Jn|Kn],[GG,to],[KG,to|Kn],[JG,to|Jn],[eK,to|Jn|Kn],[tK,to|eo],[iK,to|eo|Kn],[rK,to|eo|Jn],[nK,to|eo|Jn|Kn]].map(([t,e])=>[t,e|TA])),EK=new kr({start:SK,reduce(t,e,i,r){return t.flags&Cp&&vK.has(e)||(e==qG||e==wA)&&t.flags&TA?t.parent:t},shift(t,e,i,r){return e==yA?new _p(t,TK(r.read(r.pos,i.pos)),0):e==xA?t.parent:e==QG||e==AG||e==LG||e==vA?new _p(t,0,Cp):bA.has(e)?new _p(t,0,bA.get(e)|t.flags&Cp):t},hash(t){return t.hash}}),PK=new Ue(t=>{for(let e=0;e<5;e++){if(t.next!="print".charCodeAt(e))return;t.advance()}if(!/\w/.test(String.fromCharCode(t.next)))for(let e=0;;e++){let i=t.peek(e);if(!(i==Zv||i==$p)){i!=dK&&i!=OK&&i!=sa&&i!=mf&&i!=Bv&&t.acceptToken(wG);return}}}),QK=new Ue((t,e)=>{let{flags:i}=e.context,r=i&Kn?SA:kA,n=(i&Jn)>0,o=!(i&eo),s=(i&to)>0,a=t.pos;for(;!(t.next<0);)if(s&&t.next==Vv)if(t.peek(1)==Vv)t.advance(2);else{if(t.pos==a){t.acceptToken(vA,1);return}break}else if(o&&t.next==pK){if(t.pos==a){t.advance();let l=t.next;l>=0&&(t.advance(),CK(t,l)),t.acceptToken(PG);return}break}else if(t.next==r&&(!n||t.peek(1)==r&&t.peek(2)==r)){if(t.pos==a){t.acceptToken(mA,n?3:1);return}break}else if(t.next==sa){if(n)t.advance();else if(t.pos==a){t.acceptToken(mA);return}break}else t.advance();t.pos>a&&t.acceptToken(EG)});function CK(t,e){if(e==mK)for(let i=0;i<2&&t.next>=48&&t.next<=55;i++)t.advance();else if(e==gK)for(let i=0;i<2&&Wv(t.next);i++)t.advance();else if(e==yK)for(let i=0;i<4&&Wv(t.next);i++)t.advance();else if(e==xK)for(let i=0;i<8&&Wv(t.next);i++)t.advance();else if(e==bK&&t.next==Vv){for(t.advance();t.next>=0&&t.next!=gA&&t.next!=kA&&t.next!=SA&&t.next!=sa;)t.advance();t.next==gA&&t.advance()}}var _K=wt({'async "*" "**" FormatConversion FormatSpec':E.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":E.controlKeyword,"in not and or is del":E.operatorKeyword,"from def class global nonlocal lambda":E.definitionKeyword,import:E.moduleKeyword,"with as print":E.keyword,Boolean:E.bool,None:E.null,VariableName:E.variableName,"CallExpression/VariableName":E.function(E.variableName),"FunctionDefinition/VariableName":E.function(E.definition(E.variableName)),"ClassDefinition/VariableName":E.definition(E.className),PropertyName:E.propertyName,"CallExpression/MemberExpression/PropertyName":E.function(E.propertyName),Comment:E.lineComment,Number:E.number,String:E.string,FormatString:E.special(E.string),Escape:E.escape,UpdateOp:E.updateOperator,"ArithOp!":E.arithmeticOperator,BitOp:E.bitwiseOperator,CompareOp:E.compareOperator,AssignOp:E.definitionOperator,Ellipsis:E.punctuation,At:E.meta,"( )":E.paren,"[ ]":E.squareBracket,"{ }":E.brace,".":E.derefOperator,", ;":E.separator}),$K={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},EA=zt.deserialize({version:14,states:"##jO`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`Qe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0i0j0kQ#qpW%W!o!s0d0nQ%X!pQ%Y!qQ%[!tQ%f0cS'v%Z0hQ'x0eQ'y0fQ,p*rQ-u,qS.i-s/sR0p0rU#uq.k0qR(w&][cOn#g$j)t,PZ!xY#[#}$Q+YQ#W[Q#zrR$TxQ%b!yQ%i!}Q%o#RQ'j${Q(V%eQ(Z%jQ(c%pQ(f%qQ*|(`Q,f*bQ-t,pQ.m-uR/].lQ$StQ(R%cR*s(SQ.l-sR/}/sR#QZR#V[R%Q!iQ%O!iV*c'm*d,g!]!lQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0gR%T!kT#]^#_Q%x#[R,{+YQ(m%xS+_(n(oQ,}+`Q-x,{S.n-y-zR/^.oT+Z(k+]Q$`}Q&g$QQ)o'PR+{)pQ$XzQ)W&qR+i)XQ$XzQ&o$WQ)W&qR+i)XQ#khW$Vz$W&q)XQ$[{Q&r$ZZ)R&l)S+f+g-RR$^|R)c&wXlOn)t,PQ$f!RR'Q$gQ$m!UR'R$hR*X'_Q*V'_V-g,`-h.TQ.d-lQ/P.^R/Q._U.]-l.^._Q/U.aQ/b.tQ/g.zU/i.|/j/yQ/n/RQ/|/oQ0O/tU0Q/u0S0[Q0]0UQ0a0ZR0b0^R/T.`R/d.t",nodeNames:"\u26A0 print Escape { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:277,context:EK,nodeProps:[["isolate",-5,4,71,72,73,77,""],["group",-15,6,85,87,88,90,92,94,96,98,99,100,102,105,108,110,"Statement Statement",-22,8,18,21,25,40,49,50,56,57,60,61,62,63,64,67,70,71,72,79,80,81,82,"Expression",-10,114,116,119,121,122,126,128,133,135,138,"Statement",-9,143,144,147,148,150,151,152,153,154,"Pattern"],["openedBy",23,"(",54,"[",58,"{"],["closedBy",24,")",55,"]",59,"}"]],propSources:[_K],skippedNodes:[0,4],repeatNodeCount:34,tokenData:"!2|~R!`OX%TXY%oY[%T[]%o]p%Tpq%oqr'ars)Yst*xtu%Tuv,dvw-hwx.Uxy/tyz0[z{0r{|2S|}2p}!O3W!O!P4_!P!Q:Z!Q!R;k!R![>_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i#j!.t#j#oJU#o#p!1n#p#q!1s#q#r!2a#r#s!2f#s$g%T$g;'SJU;'S;=`KW<%lOJU`%YT&n`O#o%T#p#q%T#r;'S%T;'S;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'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[PK,kK,wK,QK,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:t=>$K[t]||-1}],tokenPrec:7652});var PA=new No,$A=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function Ap(t){return(e,i,r)=>{if(r)return!1;let n=e.node.getChild("VariableName");return n&&i(n,t),!0}}var AK={FunctionDefinition:Ap("function"),ClassDefinition:Ap("class"),ForStatement(t,e,i){if(i){for(let r=t.node.firstChild;r;r=r.nextSibling)if(r.name=="VariableName")e(r,"variable");else if(r.name=="in")break}},ImportStatement(t,e){var i,r;let{node:n}=t,o=((i=n.firstChild)===null||i===void 0?void 0:i.name)=="from";for(let s=n.getChild("import");s;s=s.nextSibling)s.name=="VariableName"&&((r=s.nextSibling)===null||r===void 0?void 0:r.name)!="as"&&e(s,o?"variable":"namespace")},AssignStatement(t,e){for(let i=t.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")e(i,"variable");else if(i.name==":"||i.name=="AssignOp")break},ParamList(t,e){for(let i=null,r=t.node.firstChild;r;r=r.nextSibling)r.name=="VariableName"&&(!i||!/\*|AssignOp/.test(i.name))&&e(r,"variable"),i=r},CapturePattern:Ap("variable"),AsPattern:Ap("variable"),__proto__:null};function AA(t,e){let i=PA.get(e);if(i)return i;let r=[],n=!0;function o(s,a){let l=t.sliceString(s.from,s.to);r.push({label:l,type:a})}return e.cursor(nt.IncludeAnonymous).iterate(s=>{if(s.name){let a=AK[s.name];if(a&&a(s,o,n)||!n&&$A.has(s.name))return!1;n=!1}else if(s.to-s.from>8192){for(let a of AA(t,s.node))r.push(a);return!1}}),PA.set(e,r),r}var QA=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,XA=["String","FormatString","Comment","PropertyName"];function XK(t){let e=De(t.state).resolveInner(t.pos,-1);if(XA.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&QA.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let r=[];for(let n=e;n;n=n.parent)$A.has(n.name)&&(r=r.concat(AA(t.state.doc,n)));return{options:r,from:i?e.from:t.pos,validFor:QA}}var RK=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(t=>({label:t,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(t=>({label:t,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(t=>({label:t,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(t=>({label:t,type:"function"}))),LK=[pt("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),pt("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),pt("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),pt("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),pt(`if \${}:
`,{label:"if",detail:"block",type:"keyword"}),pt("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),pt("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),pt("import ${module}",{label:"import",detail:"statement",type:"keyword"}),pt("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],IK=wl(XA,Ks(RK.concat(LK)));function CA(t){let{node:e,pos:i}=t,r=t.lineIndent(i,-1),n=null;for(;;){let o=e.childBefore(i);if(o)if(o.name=="Comment")i=o.from;else if(o.name=="Body")t.baseIndentFor(o)+t.unit<=r&&(n=o),e=o;else if(o.type.is("Statement"))e=o;else break;else break}return n}function _A(t,e){let i=t.baseIndentFor(e),r=t.lineAt(t.pos,-1),n=r.from+r.text.length;return/^\s*($|#)/.test(r.text)&&t.node.to<n+100&&!/\S/.test(t.state.sliceDoc(n,t.node.to))&&t.lineIndent(t.pos,-1)<=i||/^\s*(else:|elif |except |finally:)/.test(t.textAfter)&&t.lineIndent(t.pos,-1)>i?null:i+t.unit}var Yv=qt.define({name:"python",parser:EA.configure({props:[jt.add({Body:t=>{var e;let i=CA(t);return(e=_A(t,i||t.node))!==null&&e!==void 0?e:t.continue()},IfStatement:t=>/^\s*(else:|elif )/.test(t.textAfter)?t.baseIndent:t.continue(),"ForStatement WhileStatement":t=>/^\s*else:/.test(t.textAfter)?t.baseIndent:t.continue(),TryStatement:t=>/^\s*(except |finally:|else:)/.test(t.textAfter)?t.baseIndent:t.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":fi({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":fi({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":fi({closing:"]"}),"String FormatString":()=>null,Script:t=>{var e;let i=CA(t);return(e=i&&_A(t,i))!==null&&e!==void 0?e:t.continue()}}),It.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":vr,Body:(t,e)=>({from:t.from+1,to:t.to-(t.to==e.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function RA(){return new yt(Yv,[Yv.data.of({autocomplete:XK}),Yv.data.of({autocomplete:IK})])}var Ql=63,LA=64,zK=1,DK=2,DA=3,UK=4,UA=5,NK=6,MK=7,NA=65,qK=66,jK=8,WK=9,VK=10,ZK=11,BK=12,MA=13,YK=19,FK=20,HK=29,GK=33,KK=34,JK=47,eJ=0,ew=1,Hv=2,bf=3,Gv=4,io=class{constructor(e,i,r){this.parent=e,this.depth=i,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+i+(i<<4)+r}};io.top=new io(null,-1,eJ);function gf(t,e){for(let i=0,r=e-t.pos-1;;r--,i++){let n=t.peek(r);if(ro(n)||n==-1)return i}}function Kv(t){return t==32||t==9}function ro(t){return t==10||t==13}function qA(t){return Kv(t)||ro(t)}function aa(t){return t<0||qA(t)}var tJ=new kr({start:io.top,reduce(t,e){return t.type==bf&&(e==FK||e==KK)?t.parent:t},shift(t,e,i,r){if(e==DA)return new io(t,gf(r,r.pos),ew);if(e==NA||e==UA)return new io(t,gf(r,r.pos),Hv);if(e==Ql)return t.parent;if(e==YK||e==GK)return new io(t,0,bf);if(e==MA&&t.type==Gv)return t.parent;if(e==JK){let n=/[1-9]/.exec(r.read(r.pos,i.pos));if(n)return new io(t,t.depth+ +n[0],Gv)}return t},hash(t){return t.hash}});function Cl(t,e,i=0){return t.peek(i)==e&&t.peek(i+1)==e&&t.peek(i+2)==e&&aa(t.peek(i+3))}var iJ=new Ue((t,e)=>{if(t.next==-1&&e.canShift(LA))return t.acceptToken(LA);let i=t.peek(-1);if((ro(i)||i<0)&&e.context.type!=bf){if(Cl(t,45))if(e.canShift(Ql))t.acceptToken(Ql);else return t.acceptToken(zK,3);if(Cl(t,46))if(e.canShift(Ql))t.acceptToken(Ql);else return t.acceptToken(DK,3);let r=0;for(;t.next==32;)r++,t.advance();(r<e.context.depth||r==e.context.depth&&e.context.type==ew&&(t.next!=45||!aa(t.peek(1))))&&t.next!=-1&&!ro(t.next)&&t.next!=35&&t.acceptToken(Ql,-r)}},{contextual:!0}),rJ=new Ue((t,e)=>{if(e.context.type==bf){t.next==63&&(t.advance(),aa(t.next)&&t.acceptToken(MK));return}if(t.next==45)t.advance(),aa(t.next)&&t.acceptToken(e.context.type==ew&&e.context.depth==gf(t,t.pos-1)?UK:DA);else if(t.next==63)t.advance(),aa(t.next)&&t.acceptToken(e.context.type==Hv&&e.context.depth==gf(t,t.pos-1)?NK:UA);else{let i=t.pos;for(;;)if(Kv(t.next)){if(t.pos==i)return;t.advance()}else if(t.next==33)jA(t);else if(t.next==38)Jv(t);else if(t.next==42){Jv(t);break}else if(t.next==39||t.next==34){if(tw(t,!0))break;return}else if(t.next==91||t.next==123){if(!oJ(t))return;break}else{WA(t,!0,!1,0);break}for(;Kv(t.next);)t.advance();if(t.next==58){if(t.pos==i&&e.canShift(HK))return;let r=t.peek(1);aa(r)&&t.acceptTokenTo(e.context.type==Hv&&e.context.depth==gf(t,i)?qK:NA,i)}}},{contextual:!0});function nJ(t){return t>32&&t<127&&t!=34&&t!=37&&t!=44&&t!=60&&t!=62&&t!=92&&t!=94&&t!=96&&t!=123&&t!=124&&t!=125}function IA(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function zA(t,e){return t.next==37?(t.advance(),IA(t.next)&&t.advance(),IA(t.next)&&t.advance(),!0):nJ(t.next)||e&&t.next==44?(t.advance(),!0):!1}function jA(t){if(t.advance(),t.next==60){for(t.advance();;)if(!zA(t,!0)){t.next==62&&t.advance();break}}else for(;zA(t,!1););}function Jv(t){for(t.advance();!aa(t.next)&&Xp(t.tag)!="f";)t.advance()}function tw(t,e){let i=t.next,r=!1,n=t.pos;for(t.advance();;){let o=t.next;if(o<0)break;if(t.advance(),o==i)if(o==39)if(t.next==39)t.advance();else break;else break;else if(o==92&&i==34)t.next>=0&&t.advance();else if(ro(o)){if(e)return!1;r=!0}else if(e&&t.pos>=n+1024)return!1}return!r}function oJ(t){for(let e=[],i=t.pos+1024;;)if(t.next==91||t.next==123)e.push(t.next),t.advance();else if(t.next==39||t.next==34){if(!tw(t,!0))return!1}else if(t.next==93||t.next==125){if(e[e.length-1]!=t.next-2)return!1;if(e.pop(),t.advance(),!e.length)return!0}else{if(t.next<0||t.pos>i||ro(t.next))return!1;t.advance()}}var sJ="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function Xp(t){return t<33?"u":t>125?"s":sJ[t-33]}function Fv(t,e){let i=Xp(t);return i!="u"&&!(e&&i=="f")}function WA(t,e,i,r){if(Xp(t.next)=="s"||(t.next==63||t.next==58||t.next==45)&&Fv(t.peek(1),i))t.advance();else return!1;let n=t.pos;for(;;){let o=t.next,s=0,a=r+1;for(;qA(o);){if(ro(o)){if(e)return!1;a=0}else a++;o=t.peek(++s)}if(!(o>=0&&(o==58?Fv(t.peek(s+1),i):o==35?t.peek(s-1)!=32:Fv(o,i)))||!i&&a<=r||a==0&&!i&&(Cl(t,45,s)||Cl(t,46,s)))break;if(e&&Xp(o)=="f")return!1;for(let c=s;c>=0;c--)t.advance();if(e&&t.pos>n+1024)return!1}return!0}var aJ=new Ue((t,e)=>{if(t.next==33)jA(t),t.acceptToken(BK);else if(t.next==38||t.next==42){let i=t.next==38?VK:ZK;Jv(t),t.acceptToken(i)}else t.next==39||t.next==34?(tw(t,!1),t.acceptToken(WK)):WA(t,!1,e.context.type==bf,e.context.depth)&&t.acceptToken(jK)}),lJ=new Ue((t,e)=>{let i=e.context.type==Gv?e.context.depth:-1,r=t.pos;e:for(;;){let n=0,o=t.next;for(;o==32;)o=t.peek(++n);if(!n&&(Cl(t,45,n)||Cl(t,46,n))||!ro(o)&&(i<0&&(i=Math.max(e.context.depth+1,n)),n<i))break;for(;;){if(t.next<0)break e;let s=ro(t.next);if(t.advance(),s)continue e;r=t.pos}}t.acceptTokenTo(MA,r)}),cJ=wt({DirectiveName:E.keyword,DirectiveContent:E.attributeValue,"DirectiveEnd DocEnd":E.meta,QuotedLiteral:E.string,BlockLiteralHeader:E.special(E.string),BlockLiteralContent:E.content,Literal:E.content,"Key/Literal Key/QuotedLiteral":E.definition(E.propertyName),"Anchor Alias":E.labelName,Tag:E.typeName,Comment:E.lineComment,": , -":E.separator,"?":E.punctuation,"[ ]":E.squareBracket,"{ }":E.brace}),VA=zt.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQ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Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"\u26A0 DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:tJ,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[cJ],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt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XY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"\u26A0 Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),fJ=qt.define({name:"yaml",parser:VA.configure({props:[jt.add({Stream:t=>{for(let e=t.node.resolve(t.pos,-1);e&&e.to>=t.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.from<e.to)return t.baseIndentFor(e);if(e.name=="BlockLiteral")return t.baseIndentFor(e)+t.unit;if(e.name=="BlockSequence"||e.name=="BlockMapping")return t.column(e.from,1);if(e.name=="QuotedLiteral")return null;if(e.name=="Literal"){let i=t.column(e.from,1);if(i==t.lineIndent(e.from,1))return i;if(e.to>t.pos)return null}}return null},FlowMapping:fi({closing:"}"}),FlowSequence:fi({closing:"]"})}),It.add({"FlowMapping FlowSequence":vr,"BlockSequence Pair BlockLiteral":(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function ZA(){return new yt(fJ)}var t2e=qt.define({name:"yaml-frontmatter",parser:uJ.configure({props:[wt({DashLine:E.meta})]})});var hJ=["-type","-spec","-export_type","-opaque"],dJ=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],OJ=/[\->,;]/,pJ=["->",";",","],mJ=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],gJ=/[\+\-\*\/<>=\|:!]/,bJ=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],yJ=/[<\(\[\{]/,rw=["<<","(","[","{"],xJ=/[>\)\]\}]/,GA=["}","]",")",">>"],vJ=["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"],wJ=["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"],Rp=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,kJ=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function SJ(t,e){if(e.in_string)return e.in_string=!FA(t),it(e,t,"string");if(e.in_atom)return e.in_atom=!HA(t),it(e,t,"atom");if(t.eatSpace())return it(e,t,"whitespace");if(!yf(e)&&t.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return ki(t.current(),hJ)?it(e,t,"type"):it(e,t,"attribute");var i=t.next();if(i=="%")return t.skipToEnd(),it(e,t,"comment");if(i==":")return it(e,t,"colon");if(i=="?")return t.eatSpace(),t.eatWhile(Rp),it(e,t,"macro");if(i=="#")return t.eatSpace(),t.eatWhile(Rp),it(e,t,"record");if(i=="$")return t.next()=="\\"&&!t.match(kJ)?it(e,t,"error"):it(e,t,"number");if(i==".")return it(e,t,"dot");if(i=="'"){if(!(e.in_atom=!HA(t))){if(t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),it(e,t,"fun");if(t.match(/\s*\(/,!1)||t.match(/\s*:/,!1))return it(e,t,"function")}return it(e,t,"atom")}if(i=='"')return e.in_string=!FA(t),it(e,t,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(i))return t.eatWhile(Rp),it(e,t,"variable");if(/[a-z_ß-öø-ÿ]/.test(i)){if(t.eatWhile(Rp),t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),it(e,t,"fun");var r=t.current();return ki(r,dJ)?it(e,t,"keyword"):ki(r,mJ)?it(e,t,"operator"):t.match(/\s*\(/,!1)?ki(r,wJ)&&(yf(e).token!=":"||yf(e,2).token=="erlang")?it(e,t,"builtin"):ki(r,vJ)?it(e,t,"guard"):it(e,t,"function"):TJ(t)==":"?r=="erlang"?it(e,t,"builtin"):it(e,t,"function"):ki(r,["true","false"])?it(e,t,"boolean"):it(e,t,"atom")}var n=/[0-9]/,o=/[0-9a-zA-Z]/;return n.test(i)?(t.eatWhile(n),t.eat("#")?t.eatWhile(o)||t.backUp(1):t.eat(".")&&(t.eatWhile(n)?t.eat(/[eE]/)&&(t.eat(/[-+]/)?t.eatWhile(n)||t.backUp(2):t.eatWhile(n)||t.backUp(1)):t.backUp(1)),it(e,t,"number")):BA(t,yJ,rw)?it(e,t,"open_paren"):BA(t,xJ,GA)?it(e,t,"close_paren"):YA(t,OJ,pJ)?it(e,t,"separator"):YA(t,gJ,bJ)?it(e,t,"operator"):it(e,t,null)}function BA(t,e,i){if(t.current().length==1&&e.test(t.current())){for(t.backUp(1);e.test(t.peek());)if(t.next(),ki(t.current(),i))return!0;t.backUp(t.current().length-1)}return!1}function YA(t,e,i){if(t.current().length==1&&e.test(t.current())){for(;e.test(t.peek());)t.next();for(;0<t.current().length;){if(ki(t.current(),i))return!0;t.backUp(1)}t.next()}return!1}function FA(t){return KA(t,'"',"\\")}function HA(t){return KA(t,"'","\\")}function KA(t,e,i){for(;!t.eol();){var r=t.next();if(r==e)return!0;r==i&&t.next()}return!1}function TJ(t){var e=t.match(/^\s*([^\s%])/,!1);return e?e[1]:""}function ki(t,e){return-1<e.indexOf(t)}function it(t,e,i){switch(QJ(t,EJ(i,e)),i){case"atom":return"atom";case"attribute":return"attribute";case"boolean":return"atom";case"builtin":return"builtin";case"close_paren":return null;case"colon":return null;case"comment":return"comment";case"dot":return null;case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"macroName";case"number":return"number";case"open_paren":return null;case"operator":return"operator";case"record":return"bracket";case"separator":return null;case"string":return"string";case"type":return"def";case"variable":return"variable";default:return null}}function JA(t,e,i,r){return{token:t,column:e,indent:i,type:r}}function EJ(t,e){return JA(e.current(),e.column(),e.indentation(),t)}function PJ(t){return JA(t,0,0,t)}function yf(t,e){var i=t.tokenStack.length,r=e||1;return i<r?!1:t.tokenStack[i-r]}function QJ(t,e){e.type=="comment"||e.type=="whitespace"||(t.tokenStack=CJ(t.tokenStack,e),t.tokenStack=_J(t.tokenStack))}function CJ(t,e){var i=t.length-1;return 0<i&&t[i].type==="record"&&e.type==="dot"?t.pop():(0<i&&t[i].type==="group"&&t.pop(),t.push(e)),t}function _J(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 qr(t,{g:["{"]});case"]":return qr(t,{i:["["]});case")":return qr(t,{i:["("]});case">>":return qr(t,{i:["<<"]});case"end":return qr(t,{i:["begin","case","fun","if","receive","try"]});case",":return qr(t,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return qr(t,{r:["when"],m:["try","if","case","receive"]});case";":return qr(t,{E:["case","fun","if","receive","try","when"]});case"catch":return qr(t,{e:["try"]});case"of":return qr(t,{e:["case"]});case"after":return qr(t,{e:["receive","try"]});default:return t}}function qr(t,e){for(var i in e)for(var r=t.length-1,n=e[i],o=r-1;-1<o;o--)if(ki(t[o].token,n)){var s=t.slice(0,o);switch(i){case"m":return s.concat(t[o]).concat(t[r]);case"r":return s.concat(t[r]);case"i":return s;case"g":return s.concat(PJ("group"));case"E":return s.concat(t[o]);case"e":return s.concat(t[o])}}return i=="E"?[]:t}function $J(t,e,i){var r,n=AJ(e),o=yf(t,1),s=yf(t,2);return t.in_string||t.in_atom?null:s?o.token=="when"?o.column+i.unit:n==="when"&&s.type==="function"?s.indent+i.unit:n==="("&&o.token==="fun"?o.column+3:n==="catch"&&(r=iw(t,["try"]))?r.column:ki(n,["end","after","of"])?(r=iw(t,["begin","case","fun","if","receive","try"]),r?r.column:null):ki(n,GA)?(r=iw(t,rw),r?r.column:null):ki(o.token,[",","|","||"])||ki(n,[",","|","||"])?(r=XJ(t),r?r.column+r.token.length:i.unit):o.token=="->"?ki(s.token,["receive","case","if","try"])?s.column+i.unit+i.unit:s.column+i.unit:ki(o.token,rw)?o.column+o.token.length:(r=RJ(t),la(r)?r.column+i.unit:0):0}function AJ(t){var e=t.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return la(e)&&e.index===0?e[0]:""}function XJ(t){var e=t.tokenStack.slice(0,-1),i=Lp(e,"type",["open_paren"]);return la(e[i])?e[i]:!1}function RJ(t){var e=t.tokenStack,i=Lp(e,"type",["open_paren","separator","keyword"]),r=Lp(e,"type",["operator"]);return la(i)&&la(r)&&i<r?e[i+1]:la(i)?e[i]:!1}function iw(t,e){var i=t.tokenStack,r=Lp(i,"token",e);return la(i[r])?i[r]:!1}function Lp(t,e,i){for(var r=t.length-1;-1<r;r--)if(ki(t[r][e],i))return r;return!1}function la(t){return t!==!1&&t!=null}var eX={name:"erlang",startState(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:SJ,indent:$J,languageData:{commentTokens:{line:"%"}}};function tX(t){iX(t,"start");var e={},i=t.languageData||{},r=!1;for(var n in t)if(n!=i&&t.hasOwnProperty(n))for(var o=e[n]=[],s=t[n],a=0;a<s.length;a++){var l=s[a];o.push(new zJ(l,t)),(l.indent||l.dedent)&&(r=!0)}return{name:i.name,startState:function(){return{state:"start",pending:null,indent:r?[]:null}},copyState:function(c){var u={state:c.state,pending:c.pending,indent:c.indent&&c.indent.slice(0)};return c.stack&&(u.stack=c.stack.slice(0)),u},token:DJ(e),indent:UJ(e,i),languageData:i}}function iX(t,e){if(!t.hasOwnProperty(e))throw new Error("Undefined state "+e+" in simple mode")}function LJ(t,e){if(!t)return/(?:)/;var i="";return t instanceof RegExp?(t.ignoreCase&&(i="i"),t=t.source):t=String(t),new RegExp((e===!1?"":"^")+"(?:"+t+")",i)}function IJ(t){if(!t)return null;if(t.apply)return t;if(typeof t=="string")return t.replace(/\./g," ");for(var e=[],i=0;i<t.length;i++)e.push(t[i]&&t[i].replace(/\./g," "));return e}function zJ(t,e){(t.next||t.push)&&iX(e,t.next||t.push),this.regex=LJ(t.regex),this.token=IJ(t.token),this.data=t}function DJ(t){return function(e,i){if(i.pending){var r=i.pending.shift();return i.pending.length==0&&(i.pending=null),e.pos+=r.text.length,r.token}for(var n=t[i.state],o=0;o<n.length;o++){var s=n[o],a=(!s.data.sol||e.sol())&&e.match(s.regex);if(a){s.data.next?i.state=s.data.next:s.data.push?((i.stack||(i.stack=[])).push(i.state),i.state=s.data.push):s.data.pop&&i.stack&&i.stack.length&&(i.state=i.stack.pop()),s.data.indent&&i.indent.push(e.indentation()+e.indentUnit),s.data.dedent&&i.indent.pop();var l=s.token;if(l&&l.apply&&(l=l(a)),a.length>2&&s.token&&typeof s.token!="string"){i.pending=[];for(var c=2;c<a.length;c++)a[c]&&i.pending.push({text:a[c],token:s.token[c-1]});return e.backUp(a[0].length-(a[1]?a[1].length:0)),l[0]}else return l&&l.join?l[0]:l}}return e.next(),null}}function UJ(t,e){return function(i,r){if(i.indent==null||e.dontIndentStates&&e.doneIndentState.indexOf(i.state)>-1)return null;var n=i.indent.length-1,o=t[i.state];e:for(;;){for(var s=0;s<o.length;s++){var a=o[s];if(a.data.dedent&&a.data.dedentIfLineStart!==!1){var l=a.regex.exec(r);if(l&&l[0]){n--,(a.next||a.push)&&(o=t[a.next||a.push]),r=r.slice(l[0].length);continue e}}}break}return n<0?0:i.indent[n]}}var rX="from",NJ=new RegExp("^(\\s*)\\b("+rX+")\\b","i"),nX=["run","cmd","entrypoint","shell"],MJ=new RegExp("^(\\s*)("+nX.join("|")+")(\\s+\\[)","i"),oX="expose",qJ=new RegExp("^(\\s*)("+oX+")(\\s+)","i"),jJ=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],WJ=[rX,oX].concat(nX).concat(jJ),sX="("+WJ.join("|")+")",VJ=new RegExp("^(\\s*)"+sX+"(\\s*)(#.*)?$","i"),ZJ=new RegExp("^(\\s*)"+sX+"(\\s+)","i"),aX=tX({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:NJ,token:[null,"keyword"],sol:!0,next:"from"},{regex:VJ,token:[null,"keyword",null,"error"],sol:!0},{regex:MJ,token:[null,"keyword",null],sol:!0,next:"array"},{regex:qJ,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:ZJ,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 BJ=189,YJ=190,FJ=191,lX=192,cX=193,uX=194,fX=195,hX=1,dX=2,OX=196,HJ=197,GJ=198,KJ=3,JJ=4,eee=5,tee=6,iee=7,ree=8,nee=9,oee=10,see=11,aee=12,lee=13,cee=14,uee=15,fee=16,hee=17,dee=18,Oee=19,pee=20,mee=21,gee=22,bee=23,yee=199,xee=200,pX=9,Np=10,fw=13,mX=32,Mp=33,xf=34,hw=35,vee=37,Ip=38,vf=39,gX=40,ow=41,sw=42,$l=43,wee=44,rs=45,fa=46,gn=47,bX=48,yX=57,no=58,xX=59,zp=60,ts=61,Li=62,dw=63,vX=64,kee=65,See=90,wX=91,Up=92,aw=93,Dp=94,kX=97,nw=99,_l=100,lw=101,Tee=104,cw=105,Eee=108,Pee=109,ca=110,ns=111,Qee=112,Cee=114,Ow=116,_ee=117,$ee=119,Aee=121,Xee=122,SX=123,ua=124,uw=125,wf=126,Ree=[{token:JJ,supportsInterpol:!0,endDelimiter:vf,delimiterLength:1},{token:KJ,supportsInterpol:!0,endDelimiter:xf,delimiterLength:1},{token:tee,supportsInterpol:!0,endDelimiter:vf,delimiterLength:3},{token:eee,supportsInterpol:!0,endDelimiter:xf,delimiterLength:3},{token:iee,supportsInterpol:!0,endDelimiter:ow,delimiterLength:1},{token:ree,supportsInterpol:!0,endDelimiter:uw,delimiterLength:1},{token:nee,supportsInterpol:!0,endDelimiter:aw,delimiterLength:1},{token:oee,supportsInterpol:!0,endDelimiter:Li,delimiterLength:1},{token:see,supportsInterpol:!0,endDelimiter:ua,delimiterLength:1},{token:aee,supportsInterpol:!0,endDelimiter:gn,delimiterLength:1},{token:cee,supportsInterpol:!1,endDelimiter:vf,delimiterLength:1},{token:lee,supportsInterpol:!1,endDelimiter:xf,delimiterLength:1},{token:fee,supportsInterpol:!1,endDelimiter:vf,delimiterLength:3},{token:uee,supportsInterpol:!1,endDelimiter:xf,delimiterLength:3},{token:hee,supportsInterpol:!1,endDelimiter:ow,delimiterLength:1},{token:dee,supportsInterpol:!1,endDelimiter:uw,delimiterLength:1},{token:Oee,supportsInterpol:!1,endDelimiter:aw,delimiterLength:1},{token:pee,supportsInterpol:!1,endDelimiter:Li,delimiterLength:1},{token:mee,supportsInterpol:!1,endDelimiter:ua,delimiterLength:1},{token:gee,supportsInterpol:!1,endDelimiter:gn,delimiterLength:1}],Lee=new Ue((t,e)=>{let i=Ree.find(r=>e.canShift(r.token));Iee(t,i)&&t.acceptToken(i.token)});function Iee(t,e){let i=e.delimiterLength===3;for(let r=!1;;r=!0){let n=!1;if(PX(t.next))for(t.advance(),r=!0,n=!0;or(t.next);)t.advance();if(t.next===e.endDelimiter){let o=1;for(;o<e.delimiterLength&&t.peek(o)===e.endDelimiter;)o++;if(o===e.delimiterLength&&(!i||n))return r;t.advance(o)}else{if(t.next===hw){if(e.supportsInterpol&&t.peek(1)===SX)return r}else if(t.next===Up){if(!(i&&t.peek(1)===Np)){if(e.supportsInterpol||t.peek(1)===e.endDelimiter)return r}}else if(t.next===-1)return r;t.advance()}}return!1}var zee=new Ue((t,e)=>{let i=0;for(;kX<=t.next&&t.next<=Xee||kee<=t.next&&t.next<=See||bX<=t.next&&t.next<=yX;)t.advance(),i++;i>0&&t.acceptToken(bee)}),Dee=new Ue((t,e)=>{or(t.peek(-1))||(e.canShift(hX)&&t.next===gX?(t.advance(),t.acceptToken(hX)):e.canShift(dX)&&t.next===wX?(t.advance(),t.acceptToken(dX)):e.canShift(OX)&&t.next===no&&(t.advance(),or(t.next)&&t.acceptToken(OX)))}),Uee=new Ue((t,e)=>{if(kf(t.next)){for(t.advance();kf(t.next);)t.advance();if(t.next===$l){let i=t.peek(1);i!==$l&&i!==no&&i!==gn&&!or(i)&&t.acceptToken(lX)}else if(t.next===rs){let i=t.peek(1);i!==rs&&i!==Li&&i!==no&&i!==gn&&!or(i)&&t.acceptToken(lX)}}}),TX=/[\p{ID_Start}_]/u,EX=/[\p{ID_Continue}@]/u,Nee=new Ue((t,e)=>{if(t.next===no){t.advance();let[i,r]=Al(t);if(TX.test(i)){do t.advance(r),[i,r]=Al(t);while(EX.test(i));(t.next===dw||t.next===Mp)&&t.advance(),t.acceptToken(HJ)}}}),Mee=new Ue((t,e)=>{let[i,r]=Al(t);if(TX.test(i)){do t.advance(r),[i,r]=Al(t);while(EX.test(i));(t.next===dw||t.next===Mp)&&t.advance(),t.next===no&&(t.advance(),or(t.next)&&t.acceptToken(GJ))}}),qee=/[_\p{Ll}\p{Lm}\p{Lo}\p{Nl}\u1885\u1886\u2118\u212E\u309B\u309C]/u,jee=/[\p{ID_Continue}]/u,Wee=new Ue((t,e)=>{let[i,r]=Al(t),o=i==="_"?xee:yee;if(qee.test(i)){do t.advance(r),[i,r]=Al(t);while(jee.test(i));(t.next===dw||t.next===Mp)&&t.advance(),t.acceptToken(o)}else t.next===fa&&(t.advance(),t.next===fa&&(t.advance(),t.next===fa&&(t.advance(),is(t.next)&&t.acceptToken(o))))}),Vee=new Ue((t,e)=>{if(t.next===ca&&(t.advance(),t.next===ns&&(t.advance(),t.next===Ow))){for(t.advance();kf(t.next);)t.advance();t.next===cw&&(t.advance(),t.next===ca&&(t.advance(),is(t.next)&&t.acceptToken(BJ)))}}),Zee=new Ue((t,e)=>{t.next===gn&&(t.advance(),t.next===gn&&(t.advance(),t.acceptToken(YJ)))}),Bee=new Ue((t,e)=>{t.next===vX&&(t.advance(),(t.next===_l&&t.peek(1)===ns&&t.peek(2)===nw&&or(t.peek(3))||t.next===Pee&&t.peek(1)===ns&&t.peek(2)===_l&&t.peek(3)===_ee&&t.peek(4)===Eee&&t.peek(5)===lw&&t.peek(6)===_l&&t.peek(7)===ns&&t.peek(8)===nw&&or(t.peek(9))||t.next===Ow&&t.peek(1)===Aee&&t.peek(2)===Qee&&t.peek(3)===lw&&t.peek(4)===_l&&t.peek(5)===ns&&t.peek(6)===nw&&or(t.peek(7)))&&t.acceptToken(FJ))}),Yee=new Ue((t,e)=>{if(t.next===fw&&t.advance(),t.next===Np){t.advance();let i=0,r=!1;for(;or(t.peek(i));)r=r||PX(t.peek(i)),i++;if(e.canShift(fX)&&t.peek(i)===_l&&t.peek(i+1)===ns&&is(t.peek(i+2))){t.acceptToken(fX);return}if(e.canShift(uX)&&Fee(t,i)){t.acceptToken(uX);return}e.canShift(cX)&&t.peek(i)!==xX&&t.peek(i)!==hw&&!r&&t.acceptToken(cX)}});function Fee(t,e=0){if(t.peek(e)===Ip){if(e++,t.peek(e)===Ip)return e++,t.peek(e)===Ip,Ne(t,e)}else{if(t.peek(e)===ts)return t.peek(e)===ts?(e++,t.peek(e)===ts&&e++,Ne(t,e)):t.peek(e)===wf?(e++,Ne(t,e)):(t.peek(1)===Li&&e++,Ne(t,e));if(t.peek(e)===no){if(e++,t.peek(e)===no)return e++,t.peek(e)===no?!1:Ne(t,e)}else if(t.peek(e)===$l){if(e++,t.peek(e)===$l)return e++,t.peek(e)===$l&&e++,Ne(t,e)}else if(t.peek(e)===rs){if(e++,t.peek(e)===rs)return e++,t.peek(e)===rs&&e++,Ne(t,e);if(t.peek(e)===Li)return e++,Ne(t,e)}else if(t.peek(e)===zp){if(e++,t.peek(e)===ts||t.peek(e)===rs||t.peek(e)===Li)return e++,Ne(t,e);if(t.peek(e)===wf)return e++,t.peek(e)===Li&&e++,Ne(t,e);if(t.peek(e)===ua){if(e++,t.peek(e)===Li)return e++,Ne(t,e)}else if(t.peek(e)===zp){if(e++,t.peek(e)===zp||t.peek(e)===wf)return e++,Ne(t,e)}else return Ne(t,e)}else if(t.peek(e)===Li){if(e++,t.peek(e)===ts)return e++,Ne(t,e);if(t.peek(e)===Li){if(e++,t.peek(e)===Li)return e++,Ne(t,e)}else return Ne(t,e)}else if(t.peek(e)===Dp){if(e++,t.peek(e)===Dp&&(e++,t.peek(e)===Dp))return e++,Ne(t,e)}else if(t.peek(e)===Mp){if(e++,t.peek(e)===ts)return e++,t.peek(e)===ts&&e++,Ne(t,e)}else if(t.peek(e)===wf){if(e++,t.peek(e)===Li)return e++,t.peek(e)===Li&&e++,Ne(t,e)}else{if(t.peek(e)===ua)return e++,t.peek(e)===ua?(e++,t.peek(e)===ua&&e++,Ne(t,e)):(t.peek(e)===Li&&e++,Ne(t,e));if(t.peek(e)===sw)return e++,t.peek(e)===sw&&e++,Ne(t,e);if(t.peek(e)===gn)return e++,t.peek(e)===gn&&e++,Ne(t,e);if(t.peek(e)===fa)return e++,t.peek(e)===fa?(e++,t.peek(e)===fa?!1:Ne(t,e)):Ne(t,e);if(t.peek(e)===Up){if(e++,t.peek(e)===Up)return e++,Ne(t,e)}else if(t.peek(e)===$ee){if(e++,t.peek(e)===Tee&&(e++,t.peek(e)===lw&&(e++,t.peek(e)===ca)))return e++,is(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===kX){if(e++,t.peek(e)===ca&&(e++,t.peek(e)===_l))return e++,is(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===ns){if(e++,t.peek(e)===Cee)return e++,is(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===cw){if(e++,t.peek(e)===ca)return e++,is(t.peek(e))&&Ne(t,e)}else if(t.peek(e)===ca&&(e++,t.peek(e)===ns&&(e++,t.peek(e)===Ow))){for(e++;kf(t.peek(e));)e++;if(t.peek(e)===cw&&(e++,t.peek(e)===ca))return e++,is(t.peek(e))&&Ne(t,e)}}}}function Ne(t,e){if(t.peek(e)===no)return!or(t.peek(e+1));for(;kf(t.peek(e));)e++;if(t.peek(e)===gn){for(e++;or(t.peek(e));)e++;if(Hee(t.peek(e)))return!1}return!0}function kf(t){return t===mX||t===pX}function or(t){return t===mX||t===pX||t===Np||t===fw}function PX(t){return t===Np||t===fw}function Hee(t){return bX<=t&&t<=yX}var Gee=new Set([vX,fa,$l,rs,Dp,rs,sw,gn,zp,Li,ua,wf,ts,Ip,Up,vee,SX,uw,wX,aw,gX,ow,xf,vf,wee,xX,hw]);function is(t){return Gee.has(t)?!0:or(t)||t===-1}function Al(t){let e=t.next;if(55296<=e&&e<=56319){let i=t.peek(1);if(56320<=i&&i<=57343)return[String.fromCharCode(e,i),2]}return[String.fromCharCode(e),1]}var Kee=wt({"Atom QuotedAtom QuotedAtom/QuotedContent Keyword QuotedKeyword QuotedKeyword/QuotedContent":E.atom,Alias:E.namespace,Boolean:E.bool,Nil:E.null,Integer:E.integer,Float:E.float,Char:E.character,Identifier:E.variableName,Comment:E.lineComment,SpecialIdentifier:E.special(E.variableName),UnderscoredIdentifier:E.comment,"String String/QuotedContent":E.string,"Charlist Charlist/QuotedContent":E.string,"StringSigil StringSigil/SigilName StringSigil/SigilModifiers StringSigil/QuotedContent StringSigil/{ StringSigil/} StringSigil/[ StringSigil/] StringSigil/( StringSigil/)":E.string,"Sigil Sigil/SigilName Sigil/SigilModifiers Sigil/QuotedContent Sigil/{ Sigil/} Sigil/[ Sigil/] Sigil/( Sigil/)":E.special(E.string),EscapeSequence:E.escape,"Interpolation/#{ Interpolation/}":E.special(E.brace),"( )":E.paren,"[ ]":E.squareBracket,"% { }":E.brace,", ;":E.separator,"<< >>":E.angleBracket,"fn do end catch rescue after else":E.keyword,Operator:E.operator,WordOperator:E.keyword,"CaptureOperand/Integer":E.operator,"AtOperator/Operator AtOperator/Identifier AtOperator/Boolean AtOperator/Nil AtOperator/Call/Identifier":E.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/)":E.docString,"Call/Identifier Call/UnderscoredIdentifier":E.function(E.variableName),"Call/Dot/Right/Identifier Call/Dot/Right/SpecialIdentifier Call/Dot/Right/UnderscoredIdentifier":E.function(E.variableName),"Call/Dot/Atom":E.namespace,"PipeOperator/Right/Identifier":E.function(E.variableName),"FunctionDefinitionCall/Identifier":E.keyword,"FunctionDefinitionCall/Arguments/Identifier FunctionDefinitionCall/Arguments/UnderscoredIdentifier FunctionDefinitionCall/Arguments/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/Call/Identifier FunctionDefinitionCall/Arguments/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/Call/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Identifier FunctionDefinitionCall/Arguments/WhenOperator/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Call/Identifier FunctionDefinitionCall/Arguments/WhenOperator/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/Call/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/PipeOperator/Right/Identifier":E.variableName,"KernelCall/Identifier":E.keyword}),Jee={__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},ete={__proto__:null,__MODULE__:436,__DIR__:438,__ENV__:440,__CALLER__:442,__STACKTRACE__:444},QX=zt.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'#FWOO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$aX'u$aX'v$aX~P#:rO%Z'dX'h'dX~P%(cO!doa%ioa!boa!noa%Soa%Xoa%foavoa'joa'loa'noa'poa'qoa~P<fOQ$WO!r4fO!}#qO#e1cO#f1mO#g1wO#h2^O#i2hO#j2rO#k2|O#l3WO#m3bO#n3vO#o4QO#p4pO#q4pO#r4zO#{4[O#}2SO$X5aO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~O%ioavoa%Xoa%foa'qoa'joa'loa'noa'poa~P,=rO%Soa%Xoa%Zoa%foa%ioa'hoa!doa!boa!noavoa'qoa'joa'loa'noa'poa~P#@POQ$WO!r4mO!}#qO#e1jO#f1tO#g2PO#h2eO#i2oO#j2yO#k3TO#l3_O#m3iO#n3}O#o4XO#p4wO#q4wO#r5RO#{4cO#}2ZO$X5hO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~Ovoa|oa%ioa~P,AYOQ$WO!r4gO!}#qO#e1dO#f1nO#g1xO#h2_O#i2iO#j2sO#k2}O#l3XO#m3cO#n3wO#o4RO#p4qO#q4qO#r4{O#{4]O#}2TO$X5bO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~O!aoa%ioa~P,CZOvoa|oa%Xoa%Zoa%foa%ioa'hoa'joa'loa'noa'poa'qoa~P,0SO!aoa%Zoa%ioa'hoa~P,2pO%i5wO%Sna%Xna%fna!dna!bna!nnavna'qna'jna'lna'nna'pna~P(=hOQna!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una%Xna%fna%pna'tna'una'vnavna'jna'lna'nna'pna'qna~O%i5xO%Sna!dna!bna!nna~P,G`O%i5yO~P,G`OQna!ana!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una%pna'tna'una'vna~O%i5{O~P,JWOvna|na%pnaQna!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna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4Z4[4]4^4_4`4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x4y4z4{4|4}5O5P5Q5R5S5T5U5V5W5X5Y5Z5[5]5^5_5`5a5b5c5d5e5f5g5h5k5l5m5n6W6Y6Z9y9z9{:O:P:S:T:U:V:W:Y:Z:[:]:^:`:a:b:c:d:e:f:g:h:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;r;s;x;y;z;{;|;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<[<]<^<_<`<a<b<d<e<f<g<h<i<j<k<l<m<n<o<p<q<r<s<t=l=n=o",nodeNames:"\u26A0 ( [ QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent SigilModifiers Comment Source Block ( StabClause Arguments Keywords Pair Keyword QuotedKeyword EscapeSequence Interpolation #{ } ) WhenOperator WordOperator Right Arguments WhenOperator Operator Body Identifier SpecialIdentifier UnderscoredIdentifier Identifier Identifier Alias Integer Float Char Boolean Nil Atom QuotedAtom String Charlist Sigil SigilName { } [ ] SigilName StringSigil SigilName SigilName List Keywords Tuple Bitstring << >> Map Struct UnaryOperator Operator Operator WordOperator AtOperator Operator DocAtOperator Operator CaptureOperator Operator CaptureOperand Dot Operator Right Call Arguments DoBlock do AfterBlock after RescueBlock rescue CatchBlock catch ElseBlock else end FunctionDefinitionCall KernelCall Call Dot Right Identifier OperatorIdentifier Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator String Charlist Call Dot Arguments Call MapContent OperatorIdentifier Operator BinaryOperator Operator WordOperator WordOperator WordOperator WordOperator Operator OperatorIdentifier WhenOperator Right PipeOperator Operator Right Call Arguments FunctionDefinitionCall KernelCall Call KernelCall Call AccessCall AnonymousFunction fn",maxTerm:323,nodeProps:[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Precedences:{43:1,79:-1,150:-1},specialized:[{term:199,get:t=>Jee[t]||-1},{term:200,get:t=>ete[t]||-1}],tokenPrec:42923});var CX=qt.define({name:"elixir",parser:QX.configure({props:[jt.add({"DoBlock AfterBlock ElseBlock CatchBlock RescueBlock":pw(wi({except:/^\s*(after|else|catch|rescue|end)\b/})),AnonymousFunction:pw(fi({closing:"end",align:!1})),Block:pw(fi({closing:")",align:!1})),StabClause:wi(),List:fi({closing:"]",align:!1}),Tuple:fi({closing:"}",align:!1}),Bitstring:fi({closing:">>",align:!1}),Arguments:fi({closing:")",align:!1}),Map:fi({closing:"}",align:!1}),"String Charlist Sigil":rp,BinaryOperator:wi(),Pair:wi()}),It.add({"DoBlock Block List Tuple Bitstring AnonymousFunction":vr,Map:tte})]}),languageData:{commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["~s","~S","~r","~R","~c","~C","~D","~N"]},indentOnInput:/^\s*([\}\]\)]|>>|after|else|catch|rescue|end)|.*->$/}});function pw(t){return e=>{var i,r,n,o;let s=e.node.childBefore(e.pos);return((r=(i=e.node.lastChild)===null||i===void 0?void 0:i.type)===null||r===void 0?void 0:r.name)==="end"&&e.textAfter.endsWith("end")?e.baseIndentFor(e.node):((n=s==null?void 0:s.type)===null||n===void 0?void 0:n.name)==="StabClause"&&e.textAfter.endsWith("->")?e.baseIndentFor(s):((o=s==null?void 0:s.type)===null||o===void 0?void 0:o.name)==="StabClause"?e.baseIndentFor(s)+e.unit:t(e)}}function tte(t){let e=t.getChild("{"),i=t.getChild("}");return e&&i?{from:e.to,to:i.from}:null}var ite=t=>{let{state:e,dispatch:i}=t,r=De(e),n=On(e),o=!0,s=e.changeByRange(a=>{if(!a.empty||!CX.isActiveAt(e,a.from))return o=!1,{range:a};let l=r.resolve(a.from,-1),c=rte(l);if(c&&!nte(c)){let u=yl(e,c.from+1)||n,f=Fn(e,u),d=Fn(e,u-n),O=`
${f}`,g=`
${d}end`,x=a.from+O.length;return{range:K.cursor(x),changes:[{from:a.from,to:a.to,insert:O+g}]}}return o=!1,{range:a}});return o?(i(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0):!1};function rte(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&&_X(e)?e:null}function _X(t){return t.type.name==="DoBlock"||t.type.name==="AnonymousFunction"}function nte(t){var e,i;let r=t;for(;r;){if(_X(r)&&((i=(e=r.lastChild)===null||e===void 0?void 0:e.type)===null||i===void 0?void 0:i.name)!=="end")return!1;r=r.parent}return!0}var ote=[{key:"Enter",run:ite}];function $X(){let t=[Rt.high(Gt.of(ote))];return new yt(CX,t)}var AX=Lt.of({name:"Elixir",support:$X()}),XX=Lt.of({name:"Erlang",support:new yt(Zu.define(eX))}),RX=Lt.of({name:"SQL",support:eA()}),LX=Lt.of({name:"Python",support:RA()}),IX=Lt.of({name:"YAML",support:ZA()}),zX=Lt.of({name:"JSON",support:oA()}),DX=Lt.of({name:"XML",support:OA()}),UX=Lt.of({name:"CSS",support:wp()}),NX=Lt.of({name:"HTML",support:Tp()}),MX=Lt.of({name:"JavaScript",support:kp()}),qX=Lt.of({name:"Dockerfile",support:new yt(Zu.define(aX))}),ste=Lt.of({name:"Markdown",support:U$({base:Ep,codeLanguages:[AX,XX,RX,LX,IX,zX,DX,UX,NX,MX,qX]})}),qp=[AX,XX,RX,LX,IX,zX,DX,UX,NX,MX,qX,ste];function jX(t,{dark:e}){let i={sans:"Inter",mono:"JetBrains Mono, monospace"};return he.theme({"&":{color:t.text,backgroundColor:t.background,borderRadius:"8px",fontSize:"14px",fontFamily:i.mono},"&.cm-focused":{outline:"none"},".cm-scroller":{fontFamily:"inherit",padding:"0.75rem 0"},".cm-content":{caretColor:t.cursor,padding:"0"},"*":{"&":{scrollbarWidth:"thin",scrollbarColor:`${t.backgroundLightest} transparent`},"&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-thumb":{background:t.backgroundLightest},"&::-webkit-scrollbar-track":{background:"transparent"}},".cm-activeLine":{backgroundColor:"transparent"},"&.cm-focused:not(.cm-selecting) .cm-activeLine":{backgroundColor:t.activeLine},".cm-cursor, .cm-dropCursor":{borderLeft:"1px solid",borderRight:"1px solid",marginLeft:"-1px",marginRight:"-1px",borderColor:t.cursor},".cm-selectionBackground":{backgroundColor:t.inactiveSelectionBackground},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{backgroundColor:t.selectionBackground},".cm-selectionMatch":{backgroundColor:t.selectionMatchBackground},"&:not(.cm-focused) .cm-fat-cursor":{outline:"none !important"},".cm-gutters":{backgroundColor:t.background,color:t.gutterText,border:"none"},".cm-gutters .cm-activeLineGutter":{backgroundColor:"transparent"},"&.cm-focused:not(.cm-selecting) .cm-gutters .cm-activeLineGutter":{backgroundColor:t.activeLine},".cm-tooltip":{backgroundColor:t.backgroundLighter,boxShadow:"0 2px 6px 0 rgba(0, 0, 0, 0.2)",color:t.text,borderRadius:"8px",border:`1px solid ${t.border}`,"& .cm-tooltip-arrow::before":{borderTopColor:t.backgroundLighter,borderBottomColor:t.backgroundLighter}},".cm-panels":{backgroundColor:"transparent",color:t.text,"&.cm-panels-top":{borderBottom:`2px solid ${t.separator}`},"&.cm-panels-bottom":{borderTop:`2px solid ${t.separator}`}},".cm-gutter.cm-lineNumbers":{"& .cm-gutterElement":{color:t.lineNumber,whiteSpace:"pre","&.cm-activeLineGutter":{color:t.lineNumberActive}}},".cm-gutter.cm-foldGutter":{"& .cm-gutterElement":{cursor:"pointer"},"&:not(:hover) .cm-gutterElement > .cm-gutterFoldMarker-open":{visibility:"hidden"}},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"unset",borderRadius:"2px","&:hover":{backgroundColor:t.selectionBackground}},".cm-searchMatch":{backgroundColor:t.searchMatchBackground,"&.cm-searchMatch-selected":{backgroundColor:t.searchMatchActiveBackground}},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:t.selectionBackground},".cm-tooltip.cm-tooltip-autocomplete":{padding:"4px",backgroundColor:t.backgroundLighter,color:t.text,"& > ul":{fontFamily:"inherit","& > li":{padding:"4px",borderRadius:"4px",display:"flex",alignItems:"center","&[aria-selected]":{background:"none",backgroundColor:t.backgroundLightest,color:"unset"},"& .cm-completionIcon":{lineHeight:"1","&:after":{fontVariantLigatures:"normal"},"&.cm-completionIcon-function:after":{content:"'\u0192'"},"&.cm-completionIcon-module:after":{content:"'m'"},"&.cm-completionIcon-struct:after":{content:"'\u2B58'"},"&.cm-completionIcon-interface:after":{content:"'*'"},"&.cm-completionIcon-type:after":{content:"'t'"},"&.cm-completionIcon-variable:after":{content:"'\u{1D465}'"},"&.cm-completionIcon-field:after":{content:"'\u2022'"},"&.cm-completionIcon-keyword:after":{content:"'\u26A1'"}}}},"& .cm-completionMatchedText":{textDecoration:"none",color:t.matchingText}},".cm-tooltip.cm-completionInfo":{borderRadius:"8px",backgroundColor:t.backgroundLighter,color:t.text,top:"0 !important",padding:"0","&.cm-completionInfo-right":{marginLeft:"4px"},"&.cm-completionInfo-left":{marginRight:"4px"},"& .cm-completionInfoDocs":{padding:"6px"}},".cm-tooltip .cm-hoverDocs":{maxWidth:"800px",maxHeight:"300px",overflowY:"auto",display:"flex",flexDirection:"column","& .cm-hoverDocsDefinitionLink":{padding:"4px 8px",cursor:"pointer",fontSize:"0.875em",fontFamily:i.sans,opacity:.8,borderBottom:`1px solid ${t.separator}`,"& i":{marginRight:"2px"}},"& .cm-hoverDocsContents":{padding:"8px",display:"flex",flexDirection:"column",gap:"64px"}},".cm-hoverDocsSelection":{backgroundColor:t.selectionMatchBackground},".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",background:t.background,"& br":{content:'" "',display:"block",width:"100%"},"& .cm-textfield":{borderRadius:"4px",border:`1px solid ${t.border}`,"&:focus":{outline:"none"}},"& .cm-button":{borderRadius:"4px",background:t.backgroundLightest,border:"none","&:focus-visible":{outline:`1px solid ${t.text}`}},"& 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"},"&:focus-visible":{outline:`1px solid ${t.text}`}},'& button[name="close"]':{display:"none"}},".cm-markdown":{"&":{fontFamily:i.sans},"& p":{marginTop:"0.5rem",marginBottom:"0.5rem"},"& hr":{borderTop:`1px solid ${t.separator}`,marginTop:"0.5rem",marginBottom:"0.5rem",marginRight:"-6px",marginLeft:"-6px"},"& a":{borderBottom:`1px solid ${t.text}`},"& h2":{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.125em",fontWeight:"600"},"& ul":{marginTop:"1rem",marginBottom:"1rem",marginLeft:"2rem",listStylePosition:"outside",listStyleType:"disc","& ul":{listStyleType:"circle","& ul":{listStyleType:"square"}}},"& li":{marginTop:"0.25rem",marginBottom:"0.25rem","& > ul, & > ol":{marginTop:"0",marginBottom:"0"}},"& ol":{marginTop:"1rem",marginBottom:"1rem",marginLeft:"2rem",listStylePosition:"outside",listStyleType:"decimal"},"& code":{background:t.selectionBackground,borderRadius:"3px"},"& pre":{marginTop:"0.5rem",marginBottom:"0.5rem","& code":{background:"transparent",whiteSpace:"pre-wrap"}},"& > :first-child":{marginTop:"0"},"& > :last-child":{marginBottom:"0"}}},{dark:e})}function WX({base:t,lightRed:e,blue:i,gray:r,green:n,purple:o,red:s,teal:a,peach:l,yellow:c}){return ml.define([{tag:E.keyword,color:o},{tag:E.null,color:i},{tag:E.bool,color:i},{tag:E.number,color:i},{tag:E.string,color:n},{tag:E.special(E.string),color:c},{tag:E.character,color:i},{tag:E.escape,color:i},{tag:E.atom,color:i},{tag:E.variableName,color:t},{tag:E.special(E.variableName),color:e},{tag:[E.function(E.variableName),E.function(E.propertyName)],color:i},{tag:E.namespace,color:a},{tag:E.operator,color:l},{tag:E.comment,color:r},{tag:[E.docString,E.docComment],color:r},{tag:[E.paren,E.squareBracket,E.brace,E.angleBracket,E.separator],color:t},{tag:E.special(E.brace),color:s},{tag:E.strong,fontWeight:"bold"},{tag:E.emphasis,fontStyle:"italic"},{tag:E.strikethrough,textDecoration:"line-through"},{tag:E.link,color:i},{tag:E.heading,color:e},{tag:E.monospace,color:n},{tag:E.propertyName,color:e},{tag:E.tagName,color:o},{tag:E.className,color:l}])}var ate=jX({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}),mw=WX({base:"#c8ccd4",lightRed:"#e06c75",blue:"#61afef",gray:"#8c92a3",green:"#98c379",purple:"#c678dd",red:"#be5046",teal:"#56b6c2",peach:"#d19a66",yellow:"#e5c07b"}),VX=[ate,cx(mw)],lte=jX({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}),gw=WX({base:"#304254",lightRed:"#e45649",blue:"#4078F2",gray:"#707177",green:"#50a14f",purple:"#a726a4",red:"#ca1243",teal:"#0084bc",peach:"#986801",yellow:"#c18401"}),ZX=[lte,cx(gw)];var tR=Ca(HX()),iR=Ca(KX()),bw=Ca(eR());function Xl(){return/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)}function os(t){return t.matches&&t.matches("input, textarea, [contenteditable]")}function yw(t,e=0){let i=t.getBoundingClientRect();return i.bottom>=-e&&i.top<=window.innerHeight+e}function bn(t){return t.offsetParent===null}function rR(t){let e=null;return new Promise((i,r)=>{bn(t)?(e=new ResizeObserver(n=>{bn(t)||(e.disconnect(),i())}),e.observe(t)):i()})}function Yp(t,{root:e=null,proximity:i=0}={}){let r=null;return{promise:new Promise((s,a)=>{cte(t,i)?s():(r=new IntersectionObserver(l=>{l[0].isIntersecting&&(r.disconnect(),r=null,s())},{root:e,rootMargin:`${i}px`}),r.observe(t))}),cancel:()=>{r&&r.disconnect()}}}function cte(t,e=0){return!bn(t)&&yw(t,e)}function nR(t,e,i){return Math.min(Math.max(t,e),i)}function oR(t){let e=window.getComputedStyle(t),i=parseInt(e.lineHeight,10);if(Number.isNaN(i)){let r=t.cloneNode();r.innerHTML="<br>",t.appendChild(r);let n=r.clientHeight;r.innerHTML="<br><br>";let o=r.clientHeight;return t.removeChild(r),o-n}else return i}function sR(t){let e=window.getSelection(),i=document.createRange();i.selectNodeContents(t),e.removeAllRanges(),e.addRange(i)}function ha(t){let{height:e}=t.getBoundingClientRect();e<window.innerHeight?t.scrollIntoView({behavior:"smooth",block:"center"}):t.scrollIntoView({behavior:"smooth",block:"start"})}function aR(t){return Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)<1}function Sf(t){t.scrollTop=t.scrollHeight}function lR(t){return btoa(unescape(encodeURIComponent(t)))}function cR(t){return decodeURIComponent(escape(atob(t)))}function uR(){return hR(24)}function fR(){return hR(40)}function hR(t){let e=new Uint8Array(t);crypto.getRandomValues(e);let i=String.fromCharCode(...e);return btoa(i)}function Fp(t){return(0,tR.default)(t).toString(bw.default)}function dR(t){return(0,iR.default)(t).toString(bw.default)}function Hp(t){let e=document.querySelector('[rel="icon"]');e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=`/${t}.svg`}function oo(t,e){let i=t.querySelector(e);if(!i)throw new Error(`expected a child matching ${e}, but none was found`);return i}function yn(t){t.preventDefault(),t.stopPropagation()}var ute={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39"};function Tf(t){return(t||"").replace(/[&<>"']/g,e=>ute[e])}function OR(t){let e=atob(t),i=new Uint8Array(e.length),r=i.byteLength;for(let n=0;n<r;n++)i[n]=e.charCodeAt(n);return i.buffer}function Gp(){return document.body.hasAttribute("data-within-iframe")?";SameSite=None;Secure":";SameSite=Lax"}function Kp(t,e,i=void 0){if(t.hasOwnProperty(e)){let r=t,{[e]:n}=r,o=pi(r,[H2(e)]);return[n,o]}return[i,t]}function pR(t){return new Promise((e,i)=>{setTimeout(()=>e(),t)})}function mR(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function gR(t,e,i){let r={};for(let n in e)r[n]=t.style[n],t.style[n]=e[n];i(),Object.assign(t.style,r)}var ii=class{constructor(){this.callbacks=[]}get event(){return this.addListener.bind(this)}addListener(e){return this.callbacks.push(e),{destroy:()=>{this.removeListener(e)}}}removeListener(e){let i=this.callbacks.indexOf(e);i!==-1&&this.callbacks.splice(i,1)}dispatch(...e){this.callbacks.forEach(i=>{i(...e)})}};var bR="settings",Ef={normal:14,large:16},fte={default:"default",emacs:"emacs",vim:"vim"},Rl={default:"default",light:"light"},hte={editor_auto_completion:!0,editor_auto_signature:!0,editor_font_size:Ef.normal,editor_theme:Rl.default,editor_ligatures:!1,editor_markdown_word_wrap:!0,editor_mode:fte.default,custom_view_show_section:!0,custom_view_show_markdown:!0,custom_view_show_output:!0,custom_view_spotlight:!1},xw=class{constructor(){xt(this,"_onChange",new ii);this.settings=hte,this.loadSettings()}get(){return this.settings}update(e){let i=this.settings;this.settings=H(H({},this.settings),e),this._onChange.dispatch(this.settings,i),this.storeSettings()}getAndSubscribe(e){return e(this.settings),this._onChange.addListener(e)}loadSettings(){let e=vs(bR);e&&(Object.values(Rl).includes(e.editor_theme)||delete e.editor_theme,this.settings=H(H({},this.settings),e))}storeSettings(){La(bR,this.settings)}},kt=new xw;function Jp(t,e){let i=Lt.matchLanguageName(qp,e);if(!i)return Tf(t);let r=dte();qi.mount(window.document,r.module);let n=i.support.language.parser.parse(t),o="";return YQ(t,n,r,(s,a)=>{o+=`<span class="${a}">${Tf(s)}</span>`},()=>{o+="<br />"}),o}function dte(){return kt.get().editor_theme==="light"?gw:mw}var Pf=class{constructor(e){this.size=e,this.cache=new Map}get(e){if(this.cache.has(e)){let i=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,i),i}else return}set(e,i){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size===this.size){let r=this.cache.keys().next().value;this.cache.delete(r)}this.cache.set(e,i)}};var Ote=0,pte=()=>`mermaid-graph-${Ote++}`,mte="5.15.4",yR=new Pf(25);function xR(t,e){let i=Fp(t),r=yR.get(i);return r?Promise.resolve(r):gte().then(n=>(bte(t),n.initialize(H({startOnLoad:!1},e)),n.render(pte(),t).then(({svg:o})=>(yR.set(i,o),o)).catch(o=>`<div class="error-box whitespace-pre-wrap"><span class="font-semibold">Mermaid</span>
${o.message}</div>`)))}function gte(){return import("./mermaid.core-IHQY3BMC.js").then(({default:t})=>t)}function bte(t){let e=`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/${mte}/css/all.min.css`;if(t.includes("fa:")&&!document.querySelector(`link[href="${e}"]`)){let i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.href=e,document.head.appendChild(i)}}var vw=class{constructor(e,i,{baseUrl:r=null,defaultCodeLanguage:n=null,emptyText:o="",allowedUriSchemes:s=[],useDarkTheme:a=!1}={}){this.container=e,this.content=i,this.baseUrl=r,this.defaultCodeLanguage=n,this.emptyText=o,this.allowedUriSchemes=s,this.useDarkTheme=a,this.render()}setContent(e){this.content=e,this.render()}render(){this.getHtml().then(e=>{let i=`<div>${e}</div>`;FS(this.container,i,{childrenOnly:!0})})}getHtml(){return Uh().use(Hh).use(sd).use(ad).use(kte).use(xte,{highlight:Jp,defaultLanguage:this.defaultCodeLanguage}).use(md,{allowDangerousHtml:!0}).use(qd).use(vte,{baseUrl:this.baseUrl}).use(Zd,yte(this.allowedUriSchemes)).use(Wd).use(Ste,{useDarkTheme:this.useDarkTheme}).use(Tte,{baseUrl:this.baseUrl}).use(Kd,{closeEmptyElements:!0}).process(this.content).then(e=>String(e)).catch(e=>{console.error(`Failed to render markdown, reason: ${e.message}`)}).then(e=>e||`
<div class="text-gray-300">
${this.emptyText}
</div>
`)}},da=vw;function yte(t){return Pe(H({},zr),{attributes:Pe(H({},zr.attributes),{"*":[...zr.attributes["*"]||[],"className","style"]}),protocols:Pe(H({},zr.protocols),{href:[...zr.protocols.href,...t]})})}function xte(t){return e=>{let i=[];return gi(e,"code",r=>{let n=r.lang||t.defaultLanguage;if(n){let o=function(a){r.type="html",r.value=`<pre><code>${a}</code></pre>`},s=t.highlight(r.value,n);if(s&&typeof s.then=="function"){let a=Promise.resolve(s).then(o);i.push(a)}else o(s)}}),Promise.all(i).then(()=>null)}}function vte(t){return e=>{t.baseUrl&&gi(e,"element",i=>{if(i.tagName==="a"&&i.properties){let r=i.properties.href;r&&!ww(r)&&!kw(r)&&!Ete(r)&&(i.properties.href=vR(t.baseUrl,r))}if(i.tagName==="img"&&i.properties){let r=i.properties.src;r&&!ww(r)&&!kw(r)&&(i.properties.src=vR(t.baseUrl,r))}}),gi(e,"element",i=>{i.tagName==="a"&&i.properties&&i.properties.href&&(i.properties.href=i.properties.href.split("/").map(r=>r===".."?"__parent__":r).join("/"))})}}var wte=Uh().use(Vd,{fragment:!0});function kte(t){return e=>{gi(e,"code",(i,r,n)=>{i.lang==="mermaid"&&(i.type="html",i.value=`
<div class="mermaid">${Tf(i.value)}</div>
`)})}}function Ste(t){return e=>{let i=[];return gi(e,"element",r=>{if((r.properties&&Array.isArray(r.properties.className)?r.properties.className:[]).includes("mermaid")){let o=function(c){let u=wte.parse(c);a1(u,!0),r.children=u.children},s=cu(r,{whitespace:"pre"}),a=t.useDarkTheme?"dark":"default",l=xR(s,{theme:a}).then(o);i.push(l)}}),Promise.all(i).then(()=>null)}}function Tte(t){return e=>{gi(e,"element",i=>{if(i.properties&&i.properties.href){let r=i.properties.href;kw(r)?(i.properties["data-phx-link"]=t.baseUrl&&r.startsWith(t.baseUrl)?"patch":"redirect",i.properties["data-phx-link-state"]="push"):ww(r)&&(i.properties.target="_blank",i.properties.rel="noreferrer noopener")}})}}function ww(t){return/^(?:[a-z]+:)?\/\//i.test(t)}function Ete(t){return t.startsWith("#")}function kw(t){return t.startsWith("/")||t.startsWith(window.location.origin)}function vR(t,e){return t.replace(/\/$/,"")+"/"+e}var Ll=class{constructor(){this.subscribersByTopic={}}subscribe(e,i){return Array.isArray(this.subscribersByTopic[e])||(this.subscribersByTopic[e]=[]),this.subscribersByTopic[e].push(i),{destroy:()=>{this.unsubscribe(e,i)}}}unsubscribe(e,i){let r=this.subscribersByTopic[e].indexOf(i);r!==-1&&(this.subscribersByTopic[e].splice(r,1),this.subscribersByTopic[e].length===0&&delete this.subscribersByTopic[e])}broadcast(e,i){Array.isArray(this.subscribersByTopic[e])&&this.subscribersByTopic[e].forEach(r=>{r(i)})}},_t=new Ll;var wR=t=>typeof t=="object"&&t!=null&&t.nodeType===1,kR=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",Sw=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let i=getComputedStyle(t,null);return kR(i.overflowY,e)||kR(i.overflowX,e)||(r=>{let n=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(s){return null}})(r);return!!n&&(n.clientHeight<r.scrollHeight||n.clientWidth<r.scrollWidth)})(t)}return!1},em=(t,e,i,r,n,o,s,a)=>o<t&&s>e||o>t&&s<e?0:o<=t&&a<=i||s>=e&&a>=i?o-t-r:s>e&&a<i||o<t&&a>i?s-e+n:0,Pte=t=>{let e=t.parentElement;return e==null?t.getRootNode().host||null:e},Tw=(t,e)=>{var i,r,n,o;if(typeof document=="undefined")return[];let{scrollMode:s,block:a,inline:l,boundary:c,skipOverflowHiddenElements:u}=e,f=typeof c=="function"?c:ue=>ue!==c;if(!wR(t))throw new TypeError("Invalid target");let d=document.scrollingElement||document.documentElement,O=[],g=t;for(;wR(g)&&f(g);){if(g=Pte(g),g===d){O.push(g);break}g!=null&&g===document.body&&Sw(g)&&!Sw(document.documentElement)||g!=null&&Sw(g,u)&&O.push(g)}let x=(r=(i=window.visualViewport)==null?void 0:i.width)!=null?r:innerWidth,S=(o=(n=window.visualViewport)==null?void 0:n.height)!=null?o:innerHeight,{scrollX:w,scrollY:T}=window,{height:A,width:I,top:C,right:$,bottom:j,left:le}=t.getBoundingClientRect(),F=a==="start"||a==="nearest"?C:a==="end"?j:C+A/2,N=l==="center"?le+I/2:l==="end"?$:le,ie=[];for(let ue=0;ue<O.length;ue++){let re=O[ue],{height:de,width:me,top:we,right:q,bottom:ae,left:B}=re.getBoundingClientRect();if(s==="if-needed"&&C>=0&&le>=0&&j<=S&&$<=x&&C>=we&&j<=ae&&le>=B&&$<=q)return ie;let P=getComputedStyle(re),V=parseInt(P.borderLeftWidth,10),ne=parseInt(P.borderTopWidth,10),z=parseInt(P.borderRightWidth,10),qe=parseInt(P.borderBottomWidth,10),Ze=0,Be=0,Dt="offsetWidth"in re?re.offsetWidth-re.clientWidth-V-z:0,Xe="offsetHeight"in re?re.offsetHeight-re.clientHeight-ne-qe:0,$t="offsetWidth"in re?re.offsetWidth===0?0:me/re.offsetWidth:0,At="offsetHeight"in re?re.offsetHeight===0?0:de/re.offsetHeight:0;if(d===re)Ze=a==="start"?F:a==="end"?F-S:a==="nearest"?em(T,T+S,S,ne,qe,T+F,T+F+A,A):F-S/2,Be=l==="start"?N:l==="center"?N-x/2:l==="end"?N-x:em(w,w+x,x,V,z,w+N,w+N+I,I),Ze=Math.max(0,Ze+T),Be=Math.max(0,Be+w);else{Ze=a==="start"?F-we-ne:a==="end"?F-ae+qe+Xe:a==="nearest"?em(we,ae,de,ne,qe+Xe,F,F+A,A):F-(we+de/2)+Xe/2,Be=l==="start"?N-B-V:l==="center"?N-(B+me/2)+Dt/2:l==="end"?N-q+z+Dt:em(B,q,me,V,z+Dt,N,N+I,I);let{scrollLeft:cr,scrollTop:ur}=re;Ze=Math.max(0,Math.min(ur+Ze/At,re.scrollHeight-de/At+Xe)),Be=Math.max(0,Math.min(cr+Be/$t,re.scrollWidth-me/$t+Dt)),F+=ur-Ze,N+=cr-Be}ie.push({el:re,top:Ze,left:Be})}return ie};var Qte=t=>t===!1?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&Object.keys(e).length!==0)(t)?t:{block:"start",inline:"nearest"};function tm(t,e){if(!t.isConnected||!(n=>{let o=n;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(t))return;let i=(n=>{let o=window.getComputedStyle(n);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(t);if((n=>typeof n=="object"&&typeof n.behavior=="function")(e))return e.behavior(Tw(t,e));let r=typeof e=="boolean"||e==null?void 0:e.behavior;for(let{el:n,top:o,left:s}of Tw(t,Qte(e))){let a=o-i.top+i.bottom,l=s-i.left+i.right;n.scroll({top:a,left:l,behavior:r})}}function Oa(t){return["code","smart","setup"].includes(t)}function SR(t){return["markdown","code","setup"].includes(t)}var Cte={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.liveEditors={},this.updateInsertModeAvailability(),["code","smart"].includes(this.props.type)&&this.el.querySelector("[data-el-amplify-outputs-button]").addEventListener("click",e=>{this.el.toggleAttribute("data-js-amplified")}),this.props.type==="smart"&&this.el.querySelector("[data-el-toggle-source-button]").addEventListener("click",e=>{this.el.toggleAttribute("data-js-source-visible"),this.updateInsertModeAvailability(),this.maybeFocusCurrentEditor()}),this.el.addEventListener("lb:cell:editor_created",t=>{let{tag:e,liveEditor:i}=t.detail;this.handleCellEditorCreated(e,i)}),this.el.addEventListener("lb:cell:editor_removed",t=>{let{tag:e}=t.detail;this.handleCellEditorRemoved(e)}),this.el.addEventListener("mouseenter",t=>{this.el.setAttribute("data-js-hover","")}),this.el.addEventListener("mouseleave",t=>{this.el.removeAttribute("data-js-hover")}),this.subscriptions=[_t.subscribe("navigation",this.handleNavigationEvent.bind(this)),_t.subscribe("cells",this.handleCellsEvent.bind(this)),_t.subscribe(`cells:${this.props.cellId}`,this.handleCellEvent.bind(this))],this._handleViewportResize=this.handleViewportResize.bind(this),window.visualViewport.addEventListener("resize",this._handleViewportResize)},disconnected(){this.el.removeAttribute("id")},destroyed(){this.subscriptions.forEach(t=>t.destroy()),window.visualViewport.removeEventListener("resize",this._handleViewportResize)},updated(){let t=this.props;this.props=this.getProps(),this.props.evaluationDigest!==t.evaluationDigest&&this.updateChangeIndicator()},getProps(){return ht(this.el,["cell-id","type","session-path","evaluation-digest","smart-cell-js-view-ref","allowed-uri-schemes"])},handleNavigationEvent(t){t.type==="element_focused"?this.handleElementFocused(t.focusableId,t.scroll):t.type==="insert_mode_changed"&&this.handleInsertModeChanged(t.enabled)},handleCellsEvent(t){t.type==="cell_moved"&&this.handleCellMoved(t.cellId)},handleCellEvent(t){t.type==="dispatch_queue_evaluation"?this.handleDispatchQueueEvaluation(t.dispatch):t.type==="jump_to_line"&&this.handleJumpToLine(t.line)},handleElementFocused(t,e){this.props.cellId===t?(this.isFocused=!0,this.el.setAttribute("data-js-focused",""),e&&ha(this.el)):this.isFocused&&(this.isFocused=!1,this.el.removeAttribute("data-js-focused"))},handleJumpToLine(t){this.isFocused&&this.currentEditor().moveCursorToLine(t)},handleCellEditorCreated(t,e){if(this.liveEditors[t]=e,this.updateInsertModeAvailability(),e===this.currentEditor()&&this.maybeFocusCurrentEditor(),e.onBlur(()=>{setTimeout(()=>{this.isFocused&&this.insertMode&&this.currentEditor().focus()},0)}),e.onFocus(()=>{setTimeout(()=>{(!this.isFocused||!this.insertMode)&&this.currentEditor().blur()},0)}),t==="primary"){let i=e.getSource();if(this.el.toggleAttribute("data-js-empty",i===""),e.onChange(r=>{this.el.toggleAttribute("data-js-empty",r==="")}),this.props.type==="markdown"){let r=this.el.querySelector("[data-el-markdown-container]"),n=new da(r,i,{baseUrl:this.props.sessionPath,emptyText:"Empty markdown cell",allowedUriSchemes:this.props.allowedUriSchemes});e.onChange(o=>{n.setContent(o)})}Oa(this.props.type)&&(this.updateChangeIndicator(),e.onChange(r=>{this.updateChangeIndicator()}),this.handleEvent(`evaluation_finished:${this.props.cellId}`,({code_markers:r})=>{e.setCodeMarkers(r)}),this.handleEvent(`start_evaluation:${this.props.cellId}`,()=>{e.clearDoctests()}),this.handleEvent(`doctest_report:${this.props.cellId}`,r=>{e.updateDoctests([r])}),this.handleEvent("erase_outputs",()=>{e.setCodeMarkers([]),e.clearDoctests()}))}},handleCellEditorRemoved(t){delete this.liveEditors[t]},handleViewportResize(){this.isFocused&&this.scrollEditorCursorIntoViewIfNeeded()},currentEditor(){return this.liveEditors[this.currentEditorTag()]},currentEditorTag(){return this.props.type==="smart"?this.el.hasAttribute("data-js-source-visible")?"primary":"secondary":"primary"},updateInsertModeAvailability(){this.el.toggleAttribute("data-js-insert-mode-disabled",!this.currentEditor())},maybeFocusCurrentEditor(){this.isFocused&&this.insertMode&&this.currentEditor().focus()},updateChangeIndicator(){let t=this.el.querySelector("[data-el-cell-status]");if(t&&t.querySelector("[data-el-change-indicator]")&&this.props.evaluationDigest){let i=this.liveEditors.primary.getSource(),r=Fp(i),n=this.props.evaluationDigest!==r;this.el.toggleAttribute("data-js-changed",n)}},handleInsertModeChanged(t){this.isFocused&&!this.insertMode&&t?(this.insertMode=t,this.currentEditor()&&(this.currentEditor().focus(),this.scrollEditorCursorIntoViewIfNeeded())):this.insertMode&&!t&&(this.insertMode=t,this.currentEditor()&&this.currentEditor().blur())},handleCellMoved(t){this.isFocused&&t===this.props.cellId&&ha(this.el)},handleDispatchQueueEvaluation(t){this.props.type==="smart"&&this.props.smartCellJsViewRef?_t.broadcast(`js_views:${this.props.smartCellJsViewRef}`,{type:"sync",callback:t}):t()},scrollEditorCursorIntoViewIfNeeded(){let t=this.currentEditor().getElementAtCursor();gR(t,{scrollMarginTop:"128px"},()=>{tm(t,{scrollMode:"if-needed",behavior:"instant",block:"start"})})}},TR=Cte;var Cf=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),r=Qw(t.state,i.from);return r.line?_te(t):r.block?$te(t):!1};function _f(t,e){return({state:i,dispatch:r})=>{if(i.readOnly)return!1;let n=t(e,i);return n?(r(i.update(n)),!0):!1}}var _te=_f(Cw,0),ER=_f(Cw,1),PR=_f(Cw,2),QR=_f(CR,0);var $te=_f((t,e)=>CR(t,e,Xte(e)),0);function Qw(t,e){let i=t.languageDataAt("commentTokens",e);return i.length?i[0]:{}}var Qf=50;function Ate(t,{open:e,close:i},r,n){let o=t.sliceDoc(r-Qf,r),s=t.sliceDoc(n,n+Qf),a=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(s)[0].length,c=o.length-a;if(o.slice(c-e.length,c)==e&&s.slice(l,l+i.length)==i)return{open:{pos:r-a,margin:a&&1},close:{pos:n+l,margin:l&&1}};let u,f;n-r<=2*Qf?u=f=t.sliceDoc(r,n):(u=t.sliceDoc(r,r+Qf),f=t.sliceDoc(n-Qf,n));let d=/^\s*/.exec(u)[0].length,O=/\s*$/.exec(f)[0].length,g=f.length-O-i.length;return u.slice(d,d+e.length)==e&&f.slice(g,g+i.length)==i?{open:{pos:r+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:n-O-i.length,margin:/\s/.test(f.charAt(g-1))?1:0}}:null}function Xte(t){let e=[];for(let i of t.selection.ranges){let r=t.doc.lineAt(i.from),n=i.to<=r.to?r:t.doc.lineAt(i.to),o=e.length-1;o>=0&&e[o].to>r.from?e[o].to=n.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:n.to})}return e}function CR(t,e,i=e.selection.ranges){let r=i.map(o=>Qw(e,o.from).block);if(!r.every(o=>o))return null;let n=i.map((o,s)=>Ate(e,r[s],o.from,o.to));if(t!=2&&!n.every(o=>o))return{changes:e.changes(i.map((o,s)=>n[s]?[]:[{from:o.from,insert:r[s].open+" "},{from:o.to,insert:" "+r[s].close}]))};if(t!=1&&n.some(o=>o)){let o=[];for(let s=0,a;s<n.length;s++)if(a=n[s]){let l=r[s],{open:c,close:u}=a;o.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:u.pos-u.margin,to:u.pos+l.close.length})}return{changes:o}}return null}function Cw(t,e,i=e.selection.ranges){let r=[],n=-1;for(let{from:o,to:s}of i){let a=r.length,l=1e9,c=Qw(e,o).line;if(c){for(let u=o;u<=s;){let f=e.doc.lineAt(u);if(f.from>n&&(o==s||s>f.from)){n=f.from;let d=/^\s*/.exec(f.text)[0].length,O=d==f.length,g=f.text.slice(d,d+c.length)==c?d:-1;d<f.text.length&&d<l&&(l=d),r.push({line:f,comment:g,token:c,indent:d,empty:O,single:!1})}u=f.to+1}if(l<1e9)for(let u=a;u<r.length;u++)r[u].indent<r[u].line.text.length&&(r[u].indent=l);r.length==a+1&&(r[a].single=!0)}}if(t!=2&&r.some(o=>o.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:a,token:l,indent:c,empty:u,single:f}of r)(f||!u)&&o.push({from:a.from+c,insert:l+" "});let s=e.changes(o);return{changes:s,selection:e.selection.map(s,1)}}else if(t!=1&&r.some(o=>o.comment>=0)){let o=[];for(let{line:s,comment:a,token:l}of r)if(a>=0){let c=s.from+a,u=c+l.length;s.text[u-s.from]==" "&&u++,o.push({from:c,to:u})}return{changes:o}}return null}var Pw=vi.define(),Rte=vi.define(),Lte=be.define(),_R=be.define({combine(t){return Et(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(r,n)=>e(r,n)||i(r,n)})}}),$R=Ge.define({create(){return pa.empty},update(t,e){let i=e.state.facet(_R),r=e.annotation(Pw);if(r){let l=jr.fromTransaction(e,r.selection),c=r.side,u=c==0?t.undone:t.done;return l?u=rm(u,u.length,i.minDepth,l):u=LR(u,e.startState.selection),new pa(c==0?r.rest:u,c==0?u:r.rest)}let n=e.annotation(Rte);if((n=="full"||n=="before")&&(t=t.isolate()),e.annotation(Ct.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=jr.fromTransaction(e),s=e.annotation(Ct.time),a=e.annotation(Ct.userEvent);return o?t=t.addChanges(o,s,a,i,e):e.selection&&(t=t.addSelection(e.startState.selection,s,a,i.newGroupDelay)),(n=="full"||n=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new pa(t.done.map(jr.fromJSON),t.undone.map(jr.fromJSON))}});function AR(t={}){return[$R,_R.of(t),he.domEventHandlers({beforeinput(e,i){let r=e.inputType=="historyUndo"?ma:e.inputType=="historyRedo"?ss:null;return r?(e.preventDefault(),r(i)):!1}})]}function _w(t,e){return function({state:i,dispatch:r}){if(!e&&i.readOnly)return!1;let n=i.field($R,!1);if(!n)return!1;let o=n.pop(t,i,e);return o?(r(o),!0):!1}}var ma=_w(0,!1),ss=_w(1,!1),XR=_w(0,!0);var jr=class t{constructor(e,i,r,n,o){this.changes=e,this.effects=i,this.mapped=r,this.startSelection=n,this.selectionsAfter=o}setSelAfter(e){return new t(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(n=>n.toJSON())}}static fromJSON(e){return new t(e.changes&&$i.fromJSON(e.changes),[],e.mapped&&Wn.fromJSON(e.mapped),e.startSelection&&K.fromJSON(e.startSelection),e.selectionsAfter.map(K.fromJSON))}static fromTransaction(e,i){let r=Sr;for(let n of e.startState.facet(Lte)){let o=n(e);o.length&&(r=r.concat(o))}return!r.length&&e.changes.empty?null:new t(e.changes.invert(e.startState.doc),r,void 0,i||e.startState.selection,Sr)}static selection(e){return new t(void 0,Sr,void 0,void 0,e)}};function rm(t,e,i,r){let n=e+1>i+20?e-i-1:0,o=t.slice(n,e);return o.push(r),o}function Ite(t,e){let i=[],r=!1;return t.iterChangedRanges((n,o)=>i.push(n,o)),e.iterChangedRanges((n,o,s,a)=>{for(let l=0;l<i.length;){let c=i[l++],u=i[l++];a>=c&&s<=u&&(r=!0)}}),r}function zte(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,r)=>i.empty!=e.ranges[r].empty).length===0}function RR(t,e){return t.length?e.length?t.concat(e):t:e}var Sr=[],Dte=200;function LR(t,e){if(t.length){let i=t[t.length-1],r=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-Dte));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),rm(t,t.length-1,1e9,i.setSelAfter(r)))}else return[jr.selection([e])]}function Ute(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function Ew(t,e){if(!t.length)return t;let i=t.length,r=Sr;for(;i;){let n=Nte(t[i-1],e,r);if(n.changes&&!n.changes.empty||n.effects.length){let o=t.slice(0,i);return o[i-1]=n,o}else e=n.mapped,i--,r=n.selectionsAfter}return r.length?[jr.selection(r)]:Sr}function Nte(t,e,i){let r=RR(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):Sr,i);if(!t.changes)return jr.selection(r);let n=t.changes.map(e),o=e.mapDesc(t.changes,!0),s=t.mapped?t.mapped.composeDesc(o):o;return new jr(n,ke.mapEffects(t.effects,e),s,t.startSelection.map(o),r)}var Mte=/^(input\.type|delete)($|\.)/,pa=class t{constructor(e,i,r=0,n=void 0){this.done=e,this.undone=i,this.prevTime=r,this.prevUserEvent=n}isolate(){return this.prevTime?new t(this.done,this.undone):this}addChanges(e,i,r,n,o){let s=this.done,a=s[s.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!r||Mte.test(r))&&(!a.selectionsAfter.length&&i-this.prevTime<n.newGroupDelay&&n.joinToEvent(o,Ite(a.changes,e.changes))||r=="input.type.compose")?s=rm(s,s.length-1,n.minDepth,new jr(e.changes.compose(a.changes),RR(e.effects,a.effects),a.mapped,a.startSelection,Sr)):s=rm(s,s.length,n.minDepth,e),new t(s,Sr,i,r)}addSelection(e,i,r,n){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:Sr;return o.length>0&&i-this.prevTime<n&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&zte(o[o.length-1],e)?this:new t(LR(this.done,e),this.undone,i,r)}addMapping(e){return new t(Ew(this.done,e),Ew(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,i,r){let n=e==0?this.done:this.undone;if(n.length==0)return null;let o=n[n.length-1],s=o.selectionsAfter[0]||i.selection;if(r&&o.selectionsAfter.length)return i.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:Pw.of({side:e,rest:Ute(n),selection:s}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(o.changes){let a=n.length==1?Sr:n.slice(0,n.length-1);return o.mapped&&(a=Ew(a,o.mapped)),i.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:Pw.of({side:e,rest:a,selection:s}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}};pa.empty=new pa(Sr,Sr);function $f(t,e){return K.create(t.ranges.map(e),t.mainIndex)}function as(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function ga({state:t,dispatch:e},i){let r=$f(t.selection,i);return r.eq(t.selection,!0)?!1:(e(as(t,r)),!0)}function nm(t,e){return K.cursor(e?t.to:t.from)}function om(t,e){return ga(t,i=>i.empty?t.moveByChar(i,e):nm(i,e))}function ls(t){return t.textDirectionAt(t.state.selection.main.head)==st.LTR}var Af=t=>om(t,!ls(t)),$w=t=>om(t,ls(t)),IR=t=>om(t,!0),sm=t=>om(t,!1);function zR(t,e){return ga(t,i=>i.empty?t.moveByGroup(i,e):nm(i,e))}var am=t=>zR(t,!ls(t)),lm=t=>zR(t,ls(t));var DSe=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function DR(t,e){return ga(t,i=>{if(!i.empty)return nm(i,e);let r=t.moveVertically(i,e);return r.head!=i.head?r:t.moveToLineBoundary(i,e)})}var Xf=t=>DR(t,!1),Rf=t=>DR(t,!0);function UR(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,i=0,r=0,n;if(e){for(let o of t.state.facet(he.scrollMargins)){let s=o(t);s!=null&&s.top&&(i=Math.max(s==null?void 0:s.top,i)),s!=null&&s.bottom&&(r=Math.max(s==null?void 0:s.bottom,r))}n=t.scrollDOM.clientHeight-i-r}else n=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:r,selfScroll:e,height:Math.max(t.defaultLineHeight,n-5)}}function NR(t,e){let i=UR(t),{state:r}=t,n=$f(r.selection,s=>s.empty?t.moveVertically(s,e,i.height):nm(s,e));if(n.eq(r.selection))return!1;let o;if(i.selfScroll){let s=t.coordsAtPos(r.selection.main.head),a=t.scrollDOM.getBoundingClientRect(),l=a.top+i.marginTop,c=a.bottom-i.marginBottom;s&&s.top>l&&s.bottom<c&&(o=he.scrollIntoView(n.main.head,{y:"start",yMargin:s.top-l}))}return t.dispatch(as(r,n),{effects:o}),!0}var Il=t=>NR(t,!1),zl=t=>NR(t,!0);function cm(t,e,i){let r=t.lineBlockAt(e.head),n=t.moveToLineBoundary(e,i);if(n.head==e.head&&n.head!=(i?r.to:r.from)&&(n=t.moveToLineBoundary(e,i,!1)),!i&&n.head==r.from&&r.length){let o=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;o&&e.head!=r.from+o&&(n=K.cursor(r.from+o))}return n}var Lf=t=>ga(t,e=>cm(t,e,!0)),If=t=>ga(t,e=>cm(t,e,!1));var um=t=>ga(t,e=>K.cursor(t.lineBlockAt(e.head).from,1)),fm=t=>ga(t,e=>K.cursor(t.lineBlockAt(e.head).to,-1));function qte(t,e,i){let r=!1,n=$f(t.selection,o=>{let s=xr(t,o.head,-1)||xr(t,o.head,1)||o.head>0&&xr(t,o.head-1,1)||o.head<t.doc.length&&xr(t,o.head+1,-1);if(!s||!s.end)return o;r=!0;let a=s.start.from==o.head?s.end.to:s.end.from;return i?K.range(o.anchor,a):K.cursor(a)});return r?(e(as(t,n)),!0):!1}var MR=({state:t,dispatch:e})=>qte(t,e,!1);function cs(t,e){let i=$f(t.state.selection,r=>{let n=e(r);return K.range(r.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return i.eq(t.state.selection)?!1:(t.dispatch(as(t.state,i)),!0)}function hm(t,e){return cs(t,i=>t.moveByChar(i,e))}var Aw=t=>hm(t,!ls(t)),Xw=t=>hm(t,ls(t)),Rw=t=>hm(t,!0),Lw=t=>hm(t,!1);function dm(t,e){return cs(t,i=>t.moveByGroup(i,e))}var Om=t=>dm(t,!ls(t)),pm=t=>dm(t,ls(t)),qR=t=>dm(t,!0),jR=t=>dm(t,!1);function WR(t,e){return cs(t,i=>t.moveVertically(i,e))}var Dl=t=>WR(t,!1),Ul=t=>WR(t,!0);function VR(t,e){return cs(t,i=>t.moveVertically(i,e,UR(t).height))}var zf=t=>VR(t,!1),ba=t=>VR(t,!0),Iw=t=>cs(t,e=>cm(t,e,!0)),zw=t=>cs(t,e=>cm(t,e,!1));var Df=t=>cs(t,e=>K.cursor(t.lineBlockAt(e.head).from)),Uf=t=>cs(t,e=>K.cursor(t.lineBlockAt(e.head).to)),Nf=({state:t,dispatch:e})=>(e(as(t,{anchor:0})),!0),Mf=({state:t,dispatch:e})=>(e(as(t,{anchor:t.doc.length})),!0),Nl=({state:t,dispatch:e})=>(e(as(t,{anchor:t.selection.main.anchor,head:0})),!0),Ml=({state:t,dispatch:e})=>(e(as(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),mm=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),ZR=({state:t,dispatch:e})=>{let i=ym(t).map(({from:r,to:n})=>K.range(r,Math.min(n+1,t.doc.length)));return e(t.update({selection:K.create(i),userEvent:"select"})),!0};function gm(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:r}=t,n=r.changeByRange(o=>{let{from:s,to:a}=o;if(s==a){let l=e(o);l<s?(i="delete.backward",l=im(t,l,!1)):l>s&&(i="delete.forward",l=im(t,l,!0)),s=Math.min(s,l),a=Math.max(a,l)}else s=im(t,s,!1),a=im(t,a,!0);return s==a?{range:o}:{changes:{from:s,to:a},range:K.cursor(s,s<o.head?-1:1)}});return n.changes.empty?!1:(t.dispatch(r.update(n,{scrollIntoView:!0,userEvent:i,effects:i=="delete.selection"?he.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function im(t,e,i){if(t instanceof he)for(let r of t.state.facet(he.atomicRanges).map(n=>n(t)))r.between(e,e,(n,o)=>{n<e&&o>e&&(e=i?o:n)});return e}var BR=(t,e,i)=>gm(t,r=>{let n=r.from,{state:o}=t,s=o.doc.lineAt(n),a,l;if(i&&!e&&n>s.from&&n<s.from+200&&!/[^ \t]/.test(a=s.text.slice(0,n-s.from))){if(a[a.length-1]==" ")return n-1;let c=Ai(a,o.tabSize),u=c%On(o)||On(o);for(let f=0;f<u&&a[a.length-1-f]==" ";f++)n--;l=n}else l=Bt(s.text,n-s.from,e,e)+s.from,l==n&&s.number!=(e?o.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(s.text.slice(l-s.from,n-s.from))&&(l=Bt(s.text,l-s.from,!1,!1)+s.from);return l}),ql=t=>BR(t,!1,!0);var qf=t=>BR(t,!0,!1),YR=(t,e)=>gm(t,i=>{let r=i.head,{state:n}=t,o=n.doc.lineAt(r),s=n.charCategorizer(r);for(let a=null;;){if(r==(e?o.to:o.from)){r==i.head&&o.number!=(e?n.doc.lines:1)&&(r+=e?1:-1);break}let l=Bt(o.text,r-o.from,e)+o.from,c=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),u=s(c);if(a!=null&&u!=a)break;(c!=" "||r!=i.head)&&(a=u),r=l}return r}),Dw=t=>YR(t,!1),FR=t=>YR(t,!0),Uw=t=>gm(t,e=>{let i=t.lineBlockAt(e.head).to;return e.head<i?i:Math.min(t.state.doc.length,e.head+1)}),HR=t=>gm(t,e=>{let i=t.lineBlockAt(e.head).from;return e.head>i?i:Math.max(0,e.head-1)});var jf=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:He.of(["",""])},range:K.cursor(r.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},bm=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let n=r.from,o=t.doc.lineAt(n),s=n==o.from?n-1:Bt(o.text,n-o.from,!1)+o.from,a=n==o.to?n+1:Bt(o.text,n-o.from,!0)+o.from;return{changes:{from:s,to:a,insert:t.doc.slice(n,a).append(t.doc.slice(s,n))},range:K.cursor(a)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function ym(t){let e=[],i=-1;for(let r of t.selection.ranges){let n=t.doc.lineAt(r.from),o=t.doc.lineAt(r.to);if(!r.empty&&r.to==o.from&&(o=t.doc.lineAt(r.to-1)),i>=n.number){let s=e[e.length-1];s.to=o.to,s.ranges.push(r)}else e.push({from:n.from,to:o.to,ranges:[r]});i=o.number+1}return e}function GR(t,e,i){if(t.readOnly)return!1;let r=[],n=[];for(let o of ym(t)){if(i?o.to==t.doc.length:o.from==0)continue;let s=t.doc.lineAt(i?o.to+1:o.from-1),a=s.length+1;if(i){r.push({from:o.to,to:s.to},{from:o.from,insert:s.text+t.lineBreak});for(let l of o.ranges)n.push(K.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{r.push({from:s.from,to:o.from},{from:o.to,insert:t.lineBreak+s.text});for(let l of o.ranges)n.push(K.range(l.anchor-a,l.head-a))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:K.create(n,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}var KR=({state:t,dispatch:e})=>GR(t,e,!1),JR=({state:t,dispatch:e})=>GR(t,e,!0);function e6(t,e,i){if(t.readOnly)return!1;let r=[];for(let n of ym(t))i?r.push({from:n.from,insert:t.doc.slice(n.from,n.to)+t.lineBreak}):r.push({from:n.to,insert:t.lineBreak+t.doc.slice(n.from,n.to)});return e(t.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var t6=({state:t,dispatch:e})=>e6(t,e,!1),i6=({state:t,dispatch:e})=>e6(t,e,!0),r6=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(ym(e).map(({from:n,to:o})=>(n>0?n--:o<e.doc.length&&o++,{from:n,to:o}))),r=$f(e.selection,n=>{let o;if(t.lineWrapping){let s=t.lineBlockAt(n.head),a=t.coordsAtPos(n.head,n.assoc||1);a&&(o=s.bottom+t.documentTop-a.bottom+t.defaultLineHeight/2)}return t.moveVertically(n,!0,o)}).map(i);return t.dispatch({changes:i,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function jte(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=De(t).resolveInner(e),r=i.childBefore(e),n=i.childAfter(e),o;return r&&n&&r.to<=e&&n.from>=e&&(o=r.type.prop(_e.closedBy))&&o.indexOf(n.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(n.from).from&&!/\S/.test(t.sliceDoc(r.to,n.from))?{from:r.to,to:n.from}:null}var Wf=o6(!1),n6=o6(!0);function o6(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let r=e.changeByRange(n=>{let{from:o,to:s}=n,a=e.doc.lineAt(o),l=!t&&o==s&&jte(e,o);t&&(o=s=(s<=a.to?a:e.doc.lineAt(s)).to);let c=new Fs(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=yl(c,o);for(u==null&&(u=Ai(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));s<a.to&&/\s/.test(a.text[s-a.from]);)s++;l?{from:o,to:s}=l:o>a.from&&o<a.from+100&&!/\S/.test(a.text.slice(0,o))&&(o=a.from);let f=["",Fn(e,u)];return l&&f.push(Fn(e,c.lineIndent(a.from,-1))),{changes:{from:o,to:s,insert:He.of(f)},range:K.cursor(o+1+f[1].length)}});return i(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}}function Nw(t,e){let i=-1;return t.changeByRange(r=>{let n=[];for(let s=r.from;s<=r.to;){let a=t.doc.lineAt(s);a.number>i&&(r.empty||r.to>a.from)&&(e(a,n,r),i=a.number),s=a.to+1}let o=t.changes(n);return{changes:n,range:K.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}var s6=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),r=new Fs(t,{overrideIndentation:o=>{let s=i[o];return s==null?-1:s}}),n=Nw(t,(o,s,a)=>{let l=yl(r,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=Fn(t,l);(c!=u||a.from<o.from+c.length)&&(i[o.from]=l,s.push({from:o.from,to:o.from+c.length,insert:u}))});return n.changes.empty||e(t.update(n,{userEvent:"indent"})),!0},Vf=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Nw(t,(i,r)=>{r.push({from:i.from,insert:t.facet(Nr)})}),{userEvent:"input.indent"})),!0),Zf=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Nw(t,(i,r)=>{let n=/^\s*/.exec(i.text)[0];if(!n)return;let o=Ai(n,t.tabSize),s=0,a=Fn(t,Math.max(0,o-On(t)));for(;s<n.length&&s<a.length&&n.charCodeAt(s)==a.charCodeAt(s);)s++;r.push({from:i.from+s,to:i.from+n.length,insert:a.slice(s)})}),{userEvent:"delete.dedent"})),!0);function ct(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var n=i[r];typeof n=="string"?t.setAttribute(r,n):n!=null&&(t[r]=n)}e++}for(;e<arguments.length;e++)a6(t,arguments[e]);return t}function a6(t,e){if(typeof e=="string")t.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)t.appendChild(e);else if(Array.isArray(e))for(var i=0;i<e.length;i++)a6(t,e[i]);else throw new RangeError("Unsupported child node: "+e)}var l6=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t,fs=class{constructor(e,i,r=0,n=e.length,o,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,n),this.bufferStart=r,this.normalize=o?a=>o(l6(a)):l6,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Zt(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=yu(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=_i(e);let n=this.normalize(i);for(let o=0,s=r;;o++){let a=n.charCodeAt(o),l=this.match(a,s,this.bufferPos+this.bufferStart);if(o==n.length-1){if(l)return this.value=l,this;break}s==r&&o<i.length&&i.charCodeAt(o)==a&&s++}}}match(e,i,r){let n=null;for(let o=0;o<this.matches.length;o+=2){let s=this.matches[o],a=!1;this.query.charCodeAt(s)==e&&(s==this.query.length-1?n={from:this.matches[o+1],to:r}:(this.matches[o]++,a=!0)),a||(this.matches.splice(o,2),o-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?n={from:i,to:r}:this.matches.push(1,i)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferStart)&&(n=null),n}};typeof Symbol!="undefined"&&(fs.prototype[Symbol.iterator]=function(){return this});var O6={from:-1,to:-1,match:/.*/.exec("")},Bw="gm"+(/x/.unicode==null?"":"u"),Vl=class{constructor(e,i,r,n=0,o=e.length){if(this.text=e,this.to=o,this.curLine="",this.done=!1,this.value=O6,/\\[sWDnr]|\n|\r|\[\^/.test(i))return new km(e,i,r,n,o);this.re=new RegExp(i,Bw+(r!=null&&r.ignoreCase?"i":"")),this.test=r==null?void 0:r.test,this.iter=e.iter();let s=e.lineAt(n);this.curLineStart=s.from,this.matchPos=Sm(e,n),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let r=this.curLineStart+i.index,n=r+i[0].length;if(this.matchPos=Sm(this.text,n+(r==n?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(r<n||r>this.value.to)&&(!this.test||this.test(r,n,i)))return this.value={from:r,to:n,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}},Mw=new WeakMap,wm=class t{constructor(e,i){this.from=e,this.text=i}get to(){return this.from+this.text.length}static get(e,i,r){let n=Mw.get(e);if(!n||n.from>=r||n.to<=i){let a=new t(i,e.sliceString(i,r));return Mw.set(e,a),a}if(n.from==i&&n.to==r)return n;let{text:o,from:s}=n;return s>i&&(o=e.sliceString(i,s)+o,s=i),n.to<r&&(o+=e.sliceString(n.to,r)),Mw.set(e,new t(s,o)),new t(i,o.slice(i-s,r-s))}},km=class{constructor(e,i,r,n,o){this.text=e,this.to=o,this.done=!1,this.value=O6,this.matchPos=Sm(e,n),this.re=new RegExp(i,Bw+(r!=null&&r.ignoreCase?"i":"")),this.test=r==null?void 0:r.test,this.flat=wm.get(e,n,this.chunkEnd(n+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let r=this.flat.from+i.index,n=r+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,n,i)))return this.value={from:r,to:n,match:i},this.matchPos=Sm(this.text,n+(r==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=wm.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol!="undefined"&&(Vl.prototype[Symbol.iterator]=km.prototype[Symbol.iterator]=function(){return this});function Vte(t){try{return new RegExp(t,Bw),!0}catch(e){return!1}}function Sm(t,e){if(e>=t.length)return e;let i=t.lineAt(e),r;for(;e<i.to&&(r=i.text.charCodeAt(e-i.from))>=56320&&r<57344;)e++;return e}function qw(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),i=ct("input",{class:"cm-textfield",name:"line",value:e}),r=ct("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:Tm.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),n())},onsubmit:o=>{o.preventDefault(),n()}},ct("label",t.state.phrase("Go to line"),": ",i)," ",ct("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function n(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.value);if(!o)return;let{state:s}=t,a=s.doc.lineAt(s.selection.main.head),[,l,c,u,f]=o,d=u?+u.slice(1):0,O=c?+c:a.number;if(c&&f){let S=O/100;l&&(S=S*(l=="-"?-1:1)+a.number/s.doc.lines),O=Math.round(s.doc.lines*S)}else c&&l&&(O=O*(l=="-"?-1:1)+a.number);let g=s.doc.line(Math.max(1,Math.min(s.doc.lines,O))),x=K.cursor(g.from+Math.max(0,Math.min(d,g.length)));t.dispatch({effects:[Tm.of(!1),he.scrollIntoView(x.from,{y:"center"})],selection:x}),t.focus()}return{dom:r}}var Tm=ke.define(),c6=Ge.define({create(){return!0},update(t,e){for(let i of e.effects)i.is(Tm)&&(t=i.value);return t},provide:t=>br.from(t,e=>e?qw:null)}),p6=t=>{let e=Zs(t,qw);if(!e){let i=[Tm.of(!0)];t.state.field(c6,!1)==null&&i.push(ke.appendConfig.of([c6,Zte])),t.dispatch({effects:i}),e=Zs(t,qw)}return e&&e.dom.querySelector("input").select(),!0},Zte=he.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),Bte={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},m6=be.define({combine(t){return Et(t,Bte,{highlightWordAroundCursor:(e,i)=>e||i,minSelectionLength:Math.min,maxMatches:Math.min})}});function g6(t){let e=[Kte,Gte];return t&&e.push(m6.of(t)),e}var Yte=ve.mark({class:"cm-selectionMatch"}),Fte=ve.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function u6(t,e,i,r){return(i==0||t(e.sliceDoc(i-1,i))!=dt.Word)&&(r==e.doc.length||t(e.sliceDoc(r,r+1))!=dt.Word)}function Hte(t,e,i,r){return t(e.sliceDoc(i,i+1))==dt.Word&&t(e.sliceDoc(r-1,r))==dt.Word}var Gte=Fe.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(m6),{state:i}=t,r=i.selection;if(r.ranges.length>1)return ve.none;let n=r.main,o,s=null;if(n.empty){if(!e.highlightWordAroundCursor)return ve.none;let l=i.wordAt(n.head);if(!l)return ve.none;s=i.charCategorizer(n.head),o=i.sliceDoc(l.from,l.to)}else{let l=n.to-n.from;if(l<e.minSelectionLength||l>200)return ve.none;if(e.wholeWords){if(o=i.sliceDoc(n.from,n.to),s=i.charCategorizer(n.head),!(u6(s,i,n.from,n.to)&&Hte(s,i,n.from,n.to)))return ve.none}else if(o=i.sliceDoc(n.from,n.to),!o)return ve.none}let a=[];for(let l of t.visibleRanges){let c=new fs(i.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!s||u6(s,i,u,f))&&(n.empty&&u<=n.from&&f>=n.to?a.push(Fte.range(u,f)):(u>=n.to||f<=n.from)&&a.push(Yte.range(u,f)),a.length>e.maxMatches))return ve.none}}return ve.set(a)}},{decorations:t=>t.decorations}),Kte=he.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),Jte=({state:t,dispatch:e})=>{let{selection:i}=t,r=K.create(i.ranges.map(n=>t.wordAt(n.head)||K.cursor(n.head)),i.mainIndex);return r.eq(i)?!1:(e(t.update({selection:r})),!0)};function eie(t,e){let{main:i,ranges:r}=t.selection,n=t.wordAt(i.head),o=n&&n.from==i.from&&n.to==i.to;for(let s=!1,a=new fs(t.doc,e,r[r.length-1].to);;)if(a.next(),a.done){if(s)return null;a=new fs(t.doc,e,0,Math.max(0,r[r.length-1].from-1)),s=!0}else{if(s&&r.some(l=>l.from==a.value.from))continue;if(o){let l=t.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}var b6=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(o=>o.from===o.to))return Jte({state:t,dispatch:e});let r=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=r))return!1;let n=eie(t,r);return n?(e(t.update({selection:t.selection.addRange(K.range(n.from,n.to),!1),effects:he.scrollIntoView(n.to)})),!0):!1},Bl=be.define({combine(t){return Et(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Zw(e),scrollToMatch:e=>he.scrollIntoView(e)})}});var Zl=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||Vte(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,r)=>r=="n"?`
`:r=="r"?"\r":r=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new Ww(this):new jw(this)}getCursor(e,i=0,r){let n=e.doc?e:ot.create({doc:e});return r==null&&(r=n.doc.length),this.regexp?Wl(this,n,i,r):jl(this,n,i,r)}},Em=class{constructor(e){this.spec=e}};function jl(t,e,i,r){return new fs(e.doc,t.unquoted,i,r,t.caseSensitive?void 0:n=>n.toLowerCase(),t.wholeWord?tie(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function tie(t,e){return(i,r,n,o)=>((o>i||o+n.length<r)&&(o=Math.max(0,i-2),n=t.sliceString(o,Math.min(t.length,r+2))),(e(Pm(n,i-o))!=dt.Word||e(Qm(n,i-o))!=dt.Word)&&(e(Qm(n,r-o))!=dt.Word||e(Pm(n,r-o))!=dt.Word))}var jw=class extends Em{constructor(e){super(e)}nextMatch(e,i,r){let n=jl(this.spec,e,r,e.doc.length).nextOverlapping();return n.done&&(n=jl(this.spec,e,0,i).nextOverlapping()),n.done?null:n.value}prevMatchInRange(e,i,r){for(let n=r;;){let o=Math.max(i,n-1e4-this.spec.unquoted.length),s=jl(this.spec,e,o,n),a=null;for(;!s.nextOverlapping().done;)a=s.value;if(a)return a;if(o==i)return null;n-=1e4}}prevMatch(e,i,r){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,i){let r=jl(this.spec,e,0,e.doc.length),n=[];for(;!r.next().done;){if(n.length>=i)return null;n.push(r.value)}return n}highlight(e,i,r,n){let o=jl(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}};function Wl(t,e,i,r){return new Vl(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?iie(e.charCategorizer(e.selection.main.head)):void 0},i,r)}function Pm(t,e){return t.slice(Bt(t,e,!1),e)}function Qm(t,e){return t.slice(e,Bt(t,e))}function iie(t){return(e,i,r)=>!r[0].length||(t(Pm(r.input,r.index))!=dt.Word||t(Qm(r.input,r.index))!=dt.Word)&&(t(Qm(r.input,r.index+r[0].length))!=dt.Word||t(Pm(r.input,r.index+r[0].length))!=dt.Word)}var Ww=class extends Em{nextMatch(e,i,r){let n=Wl(this.spec,e,r,e.doc.length).next();return n.done&&(n=Wl(this.spec,e,0,i).next()),n.done?null:n.value}prevMatchInRange(e,i,r){for(let n=1;;n++){let o=Math.max(i,r-n*1e4),s=Wl(this.spec,e,o,r),a=null;for(;!s.next().done;)a=s.value;if(a&&(o==i||a.from>o+10))return a;if(o==i)return null}}prevMatch(e,i,r){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(i,r)=>r=="$"?"$":r=="&"?e.match[0]:r!="0"&&+r<e.match.length?e.match[r]:i)}matchAll(e,i){let r=Wl(this.spec,e,0,e.doc.length),n=[];for(;!r.next().done;){if(n.length>=i)return null;n.push(r.value)}return n}highlight(e,i,r,n){let o=Wl(this.spec,e,Math.max(0,i-250),Math.min(r+250,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}},so=ke.define(),Yw=ke.define(),us=Ge.define({create(t){return new Bf(Vw(t).create(),null)},update(t,e){for(let i of e.effects)i.is(so)?t=new Bf(i.value.create(),t.panel):i.is(Yw)&&(t=new Bf(t.query,i.value?Gw:null));return t},provide:t=>br.from(t,e=>e.panel)});var Bf=class{constructor(e,i){this.query=e,this.panel=i}},rie=ve.mark({class:"cm-searchMatch"}),nie=ve.mark({class:"cm-searchMatch cm-searchMatch-selected"}),oie=Fe.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(us))}update(t){let e=t.state.field(us);(e!=t.startState.field(us)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return ve.none;let{view:i}=this,r=new Ji;for(let n=0,o=i.visibleRanges,s=o.length;n<s;n++){let{from:a,to:l}=o[n];for(;n<s-1&&l>o[n+1].from-2*250;)l=o[++n].to;t.highlight(i.state,a,l,(c,u)=>{let f=i.state.selection.ranges.some(d=>d.from==c&&d.to==u);r.add(c,u,f?nie:rie)})}return r.finish()}},{decorations:t=>t.decorations});function Yf(t){return e=>{let i=e.state.field(us,!1);return i&&i.query.spec.valid?t(e,i):Yl(e)}}var f6=Yf((t,{query:e})=>{let{to:i}=t.state.selection.main,r=e.nextMatch(t.state,i,i);if(!r)return!1;let n=K.single(r.from,r.to),o=t.state.facet(Bl);return t.dispatch({selection:n,effects:[Jw(t,r),o.scrollToMatch(n.main,t)],userEvent:"select.search"}),v6(t),!0}),h6=Yf((t,{query:e})=>{let{state:i}=t,{from:r}=i.selection.main,n=e.prevMatch(i,r,r);if(!n)return!1;let o=K.single(n.from,n.to),s=t.state.facet(Bl);return t.dispatch({selection:o,effects:[Jw(t,n),s.scrollToMatch(o.main,t)],userEvent:"select.search"}),v6(t),!0}),Fw=Yf((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:K.create(i.map(r=>K.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),y6=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:r,to:n}=i.main,o=[],s=0;for(let a=new fs(t.doc,t.sliceDoc(r,n));!a.next().done;){if(o.length>1e3)return!1;a.value.from==r&&(s=o.length),o.push(K.range(a.value.from,a.value.to))}return e(t.update({selection:K.create(o,s),userEvent:"select.search.matches"})),!0},d6=Yf((t,{query:e})=>{let{state:i}=t,{from:r,to:n}=i.selection.main;if(i.readOnly)return!1;let o=e.nextMatch(i,r,r);if(!o)return!1;let s=[],a,l,c=[];if(o.from==r&&o.to==n&&(l=i.toText(e.getReplacement(o)),s.push({from:o.from,to:o.to,insert:l}),o=e.nextMatch(i,o.from,o.to),c.push(he.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(r).number)+"."))),o){let u=s.length==0||s[0].from>=o.to?0:o.to-o.from-l.length;a=K.single(o.from-u,o.to-u),c.push(Jw(t,o)),c.push(i.facet(Bl).scrollToMatch(a.main,t))}return t.dispatch({changes:s,selection:a,effects:c,userEvent:"input.replace"}),!0}),Hw=Yf((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(n=>{let{from:o,to:s}=n;return{from:o,to:s,insert:e.getReplacement(n)}});if(!i.length)return!1;let r=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:he.announce.of(r),userEvent:"input.replace.all"}),!0});function Gw(t){return t.state.facet(Bl).createPanel(t)}function Vw(t,e){var i,r,n,o,s;let a=t.selection.main,l=a.empty||a.to>a.from+100?"":t.sliceDoc(a.from,a.to);if(e&&!l)return e;let c=t.facet(Bl);return new Zl({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=e==null?void 0:e.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(n=e==null?void 0:e.literal)!==null&&n!==void 0?n:c.literal,regexp:(o=e==null?void 0:e.regexp)!==null&&o!==void 0?o:c.regexp,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:c.wholeWord})}function x6(t){let e=Zs(t,Gw);return e&&e.dom.querySelector("[main-field]")}function v6(t){let e=x6(t);e&&e==t.root.activeElement&&e.select()}var Yl=t=>{let e=t.state.field(us,!1);if(e&&e.panel){let i=x6(t);if(i&&i!=t.root.activeElement){let r=Vw(t.state,e.query.spec);r.valid&&t.dispatch({effects:so.of(r)}),i.focus(),i.select()}}else t.dispatch({effects:[Yw.of(!0),e?so.of(Vw(t.state,e.query.spec)):ke.appendConfig.of(aie)]});return!0},Kw=t=>{let e=t.state.field(us,!1);if(!e||!e.panel)return!1;let i=Zs(t,Gw);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:Yw.of(!1)}),!0};var Zw=class{constructor(e){this.view=e;let i=this.query=e.state.field(us).query.spec;this.commit=this.commit.bind(this),this.searchField=ct("input",{value:i.search,placeholder:sr(e,"Find"),"aria-label":sr(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=ct("input",{value:i.replace,placeholder:sr(e,"Replace"),"aria-label":sr(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=ct("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=ct("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=ct("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function r(n,o,s){return ct("button",{class:"cm-button",name:n,onclick:o,type:"button"},s)}this.dom=ct("div",{onkeydown:n=>this.keydown(n),class:"cm-search"},[this.searchField,r("next",()=>f6(e),[sr(e,"next")]),r("prev",()=>h6(e),[sr(e,"previous")]),r("select",()=>Fw(e),[sr(e,"all")]),ct("label",null,[this.caseField,sr(e,"match case")]),ct("label",null,[this.reField,sr(e,"regexp")]),ct("label",null,[this.wordField,sr(e,"by word")]),...e.state.readOnly?[]:[ct("br"),this.replaceField,r("replace",()=>d6(e),[sr(e,"replace")]),r("replaceAll",()=>Hw(e),[sr(e,"replace all")])],ct("button",{name:"close",onclick:()=>Kw(e),"aria-label":sr(e,"close"),type:"button"},["\xD7"])])}commit(){let e=new Zl({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:so.of(e)}))}keydown(e){Uy(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?h6:f6)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),d6(this.view))}update(e){for(let i of e.transactions)for(let r of i.effects)r.is(so)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Bl).top}};function sr(t,e){return t.state.phrase(e)}var xm=30,vm=/[\s\.,:;?!]/;function Jw(t,{from:e,to:i}){let r=t.state.doc.lineAt(e),n=t.state.doc.lineAt(i).to,o=Math.max(r.from,e-xm),s=Math.min(n,i+xm),a=t.state.sliceDoc(o,s);if(o!=r.from){for(let l=0;l<xm;l++)if(!vm.test(a[l+1])&&vm.test(a[l])){a=a.slice(l);break}}if(s!=n){for(let l=a.length-1;l>a.length-xm;l--)if(!vm.test(a[l-1])&&vm.test(a[l])){a=a.slice(0,l);break}}return he.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${r.number}.`)}var sie=he.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"}}),aie=[us,Rt.low(oie),sie];var ek=class{constructor(e,i,r){this.from=e,this.to=i,this.diagnostic=r}},ya=class t{constructor(e,i,r){this.diagnostics=e,this.panel=i,this.selected=r}static init(e,i,r){let n=e,o=r.facet(Ff).markerFilter;o&&(n=o(n,r));let s=ve.set(n.map(a=>a.from==a.to||a.from==a.to-1&&r.doc.lineAt(a.from).to==a.from?ve.widget({widget:new tk(a),diagnostic:a}).range(a.from):ve.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity+(a.markClass?" "+a.markClass:"")},diagnostic:a,inclusive:!0}).range(a.from,a.to)),!0);return new t(s,i,Fl(s))}};function Fl(t,e=null,i=0){let r=null;return t.between(i,1e9,(n,o,{spec:s})=>{if(!(e&&s.diagnostic!=e))return r=new ek(n,o,s.diagnostic),!1}),r}function lie(t,e){let i=e.pos,r=e.end||i,n=t.state.facet(Ff).hideOn(t,i,r);if(n!=null)return n;let o=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(s=>s.is(ik))||t.changes.touchesRange(o.from,Math.max(o.to,r)))}function k6(t,e){return t.field(ar,!1)?e:e.concat(ke.appendConfig.of(Oie))}function S6(t,e){return{effects:k6(t,[ik.of(e)])}}var ik=ke.define(),rk=ke.define(),T6=ke.define(),ar=Ge.define({create(){return new ya(ve.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let i=t.diagnostics.map(e.changes),r=null,n=t.panel;if(t.selected){let o=e.changes.mapPos(t.selected.from,1);r=Fl(i,t.selected.diagnostic,o)||Fl(i,null,o)}!i.size&&n&&e.state.facet(Ff).autoPanel&&(n=null),t=new ya(i,n,r)}for(let i of e.effects)if(i.is(ik)){let r=e.state.facet(Ff).autoPanel?i.value.length?Hf.open:null:t.panel;t=ya.init(i.value,r,e.state)}else i.is(rk)?t=new ya(t.diagnostics,i.value?Hf.open:null,t.selected):i.is(T6)&&(t=new ya(t.diagnostics,t.panel,i.value));return t},provide:t=>[br.from(t,e=>e.panel),he.decorations.from(t,e=>e.diagnostics)]});var cie=ve.mark({class:"cm-lintRange cm-lintRange-active",inclusive:!0});function uie(t,e,i){let{diagnostics:r}=t.state.field(ar),n=[],o=2e8,s=0;r.between(e-(i<0?1:0),e+(i>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||i>0)&&(e<c||i<0))&&(n.push(u.diagnostic),o=Math.min(l,o),s=Math.max(c,s))});let a=t.state.facet(Ff).tooltipFilter;return a&&(n=a(n,t.state)),n.length?{pos:o,end:s,above:t.state.doc.lineAt(o).to<s,create(){return{dom:fie(t,n)}}}:null}function fie(t,e){return ct("ul",{class:"cm-tooltip-lint"},e.map(i=>C6(t,i,!1)))}var E6=t=>{let e=t.state.field(ar,!1);(!e||!e.panel)&&t.dispatch({effects:k6(t.state,[rk.of(!0)])});let i=Zs(t,Hf.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},w6=t=>{let e=t.state.field(ar,!1);return!e||!e.panel?!1:(t.dispatch({effects:rk.of(!1)}),!0)},P6=t=>{let e=t.state.field(ar,!1);if(!e)return!1;let i=t.state.selection.main,r=e.diagnostics.iter(i.to+1);return!r.value&&(r=e.diagnostics.iter(0),!r.value||r.from==i.from&&r.to==i.to)?!1:(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)};var Ff=be.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},Et(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,i)=>e?i?r=>e(r)||i(r):e:i}))}});function Q6(t){let e=[];if(t)e:for(let{name:i}of t){for(let r=0;r<i.length;r++){let n=i[r];if(/[a-zA-Z]/.test(n)&&!e.some(o=>o.toLowerCase()==n.toLowerCase())){e.push(n);continue e}}e.push("")}return e}function C6(t,e,i){var r;let n=i?Q6(e.actions):[];return ct("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},ct("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),(r=e.actions)===null||r===void 0?void 0:r.map((o,s)=>{let a=!1,l=d=>{if(d.preventDefault(),a)return;a=!0;let O=Fl(t.state.field(ar).diagnostics,e);O&&o.apply(t,O.from,O.to)},{name:c}=o,u=n[s]?c.indexOf(n[s]):-1,f=u<0?c:[c.slice(0,u),ct("u",c.slice(u,u+1)),c.slice(u+1)];return ct("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${n[s]})"`}.`},f)}),e.source&&ct("div",{class:"cm-diagnosticSource"},e.source))}var tk=class extends ti{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return ct("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}},_m=class{constructor(e,i){this.diagnostic=i,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=C6(e,i,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},Hf=class t{constructor(e){this.view=e,this.items=[];let i=n=>{if(n.keyCode==27)w6(this.view),this.view.focus();else if(n.keyCode==38||n.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(n.keyCode==40||n.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(n.keyCode==36)this.moveSelection(0);else if(n.keyCode==35)this.moveSelection(this.items.length-1);else if(n.keyCode==13)this.view.focus();else if(n.keyCode>=65&&n.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],s=Q6(o.actions);for(let a=0;a<s.length;a++)if(s[a].toUpperCase().charCodeAt(0)==n.keyCode){let l=Fl(this.view.state.field(ar).diagnostics,o);l&&o.actions[a].apply(e,l.from,l.to)}}else return;n.preventDefault()},r=n=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(n.target)&&this.moveSelection(o)};this.list=ct("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:i,onclick:r}),this.dom=ct("div",{class:"cm-panel-lint"},this.list,ct("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>w6(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(ar).selected;if(!e)return-1;for(let i=0;i<this.items.length;i++)if(this.items[i].diagnostic==e.diagnostic)return i;return-1}update(){let{diagnostics:e,selected:i}=this.view.state.field(ar),r=0,n=!1,o=null;for(e.between(0,this.view.state.doc.length,(s,a,{spec:l})=>{let c=-1,u;for(let f=r;f<this.items.length;f++)if(this.items[f].diagnostic==l.diagnostic){c=f;break}c<0?(u=new _m(this.view,l.diagnostic),this.items.splice(r,0,u),n=!0):(u=this.items[c],c>r&&(this.items.splice(r,c-r),n=!0)),i&&u.diagnostic==i.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),o=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),r++});r<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)n=!0,this.items.pop();this.items.length==0&&(this.items.push(new _m(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),n=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({key:this,read:()=>({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:a})=>{let l=a.height/this.list.offsetHeight;s.top<a.top?this.list.scrollTop-=(a.top-s.top)/l:s.bottom>a.bottom&&(this.list.scrollTop+=(s.bottom-a.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let e=this.list.firstChild;function i(){let r=e;e=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;e!=r.dom;)i();e=r.dom.nextSibling}else this.list.insertBefore(r.dom,e);for(;e;)i()}moveSelection(e){if(this.selectedIndex<0)return;let i=this.view.state.field(ar),r=Fl(i.diagnostics,this.items[e].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:T6.of(r)})}static open(e){return new t(e)}};function hie(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 Cm(t){return hie(`<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 die=he.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:Cm("#d11")},".cm-lintRange-warning":{backgroundImage:Cm("orange")},".cm-lintRange-info":{backgroundImage:Cm("#999")},".cm-lintRange-hint":{backgroundImage:Cm("#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 Oie=[ar,he.decorations.compute([ar],t=>{let{selected:e,panel:i}=t.field(ar);return!e||!i||e.from==e.to?ve.none:ve.set([cie.range(e.from,e.to)])}),YO(uie,{hideOn:lie}),die];var _6=t=>e=>{let i=t==="down",r=e.state.selection;for(let n of r.ranges)r=r.addRange(e.moveVertically(n,i));return e.dispatch({selection:r}),!0},pie=_6("up"),mie=_6("down"),gie=t=>{let e=null;for(let i of t.state.selection.ranges)if(!i.empty)for(let r=i.from;r<=i.to;){let n=t.state.doc.lineAt(r),o=Math.min(n.to,i.to);e?e=e.addRange(K.range(o,o)):e=K.single(o),r=n.to+1}return e?(t.dispatch({selection:e}),!0):!1},$6=[{key:"Ctrl-Space",run:Ju},{key:"Escape",run:ef},{key:"ArrowDown",run:Hn(!0)},{key:"ArrowUp",run:Hn(!1)},{key:"PageDown",run:Hn(!0,"page")},{key:"PageUp",run:Hn(!1,"page")},{key:"Enter",run:up},{key:"Tab",run:up},{key:"Mod-f",run:Yl,scope:"editor search-panel"},{key:"Escape",run:Kw,scope:"editor search-panel"},{key:"Alt-Enter",run:Fw,scope:"editor search-panel"},{key:"Mod-Alt-Enter",run:Hw,scope:"editor search-panel"},{key:"Ctrl-g",run:p6},{key:"Mod-d",run:b6,preventDefault:!0},{key:"Shift-Mod-l",run:y6},{key:"Enter",run:Wf,shift:Wf},{key:"ArrowLeft",run:Af,shift:Aw,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:am,shift:Om},{key:"ArrowRight",run:$w,shift:Xw,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:lm,shift:pm},{key:"ArrowUp",run:Xf,shift:Dl,preventDefault:!0},{key:"ArrowDown",run:Rf,shift:Ul,preventDefault:!0},{key:"Home",run:If,shift:zw},{mac:"Cmd-ArrowLeft",run:If,shift:zw},{key:"Mod-Home",run:Nf,shift:Nl},{mac:"Cmd-ArrowUp",run:Nf,shift:Nl},{key:"PageUp",run:Il,shift:zf},{mac:"Ctrl-ArrowUp",run:Il,shift:zf},{key:"PageDown",run:zl,shift:ba},{mac:"Ctrl-ArrowDown",run:zl,shift:ba},{key:"End",run:Lf,shift:Iw},{mac:"Cmd-ArrowRight",run:Lf,shift:Iw},{key:"Mod-Alt-ArrowUp",linux:"Shift-Alt-ArrowUp",run:pie,preventDefault:!0},{key:"Mod-Alt-ArrowDown",linux:"Shift-Alt-ArrowDown",run:mie,preventDefault:!0},{key:"Shift-Alt-i",run:gie},{key:"Mod-End",run:Mf,shift:Ml},{mac:"Cmd-ArrowDown",run:Mf,shift:Ml},{key:"Mod-a",run:mm},{key:"Backspace",run:qC},{key:"Backspace",run:ql,shift:ql},{key:"Delete",run:qf},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Dw},{key:"Mod-Delete",mac:"Alt-Delete",run:FR},{mac:"Mod-Backspace",run:HR},{mac:"Mod-Delete",run:Uw},{mac:"Ctrl-b",run:Af,shift:Aw,preventDefault:!0},{mac:"Ctrl-f",run:$w,shift:Xw},{mac:"Ctrl-p",run:Xf,shift:Dl},{mac:"Ctrl-n",run:Rf,shift:Ul},{mac:"Ctrl-a",run:um,shift:Df},{mac:"Ctrl-e",run:fm,shift:Uf},{mac:"Ctrl-d",run:qf},{mac:"Ctrl-h",run:ql},{mac:"Ctrl-k",run:Uw},{mac:"Ctrl-Alt-h",run:Dw},{mac:"Ctrl-o",run:jf},{mac:"Ctrl-t",run:bm},{mac:"Ctrl-v",run:zl},{mac:"Alt-v",run:Il},{key:"Shift-Mod-k",run:r6},{key:"Alt-ArrowDown",run:JR},{key:"Alt-ArrowUp",run:KR},{win:"Shift-Alt-ArrowDown",mac:"Shift-Alt-ArrowDown",run:i6},{win:"Shift-Alt-ArrowUp",mac:"Shift-Alt-ArrowUp",run:t6},{key:"Mod-l",run:ZR,preventDefault:!0},{key:"Shift-Mod-\\",run:MR},{key:"Tab",run:Vf,shift:Zf,preventDefault:!0},{key:"Mod-[",run:Zf},{key:"Mod-]",run:Vf},{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:op},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:uC},{key:"Mod-k Mod-0",run:hC},{key:"Mod-k Mod-j",run:dC},{key:"Mod-k Mod-c",run:ER},{key:"Mod-k Mod-u",run:PR},{key:"Mod-/",run:Cf},{key:"Shift-Alt-a",run:QR},{key:"Mod-z",run:ma,preventDefault:!0},{key:"Mod-y",run:ss,preventDefault:!0},{key:"Mod-Shift-z",run:ss,preventDefault:!0},{key:"Mod-u",run:XR,preventDefault:!0},{key:"Mod-Shift-m",run:E6},{key:"F8",run:P6}];function bie(t){var e=t.Pos;function i(h,p,b){if(p.line===b.line&&p.ch>=b.ch-1){var y=h.getLine(p.line),v=y.charCodeAt(p.ch);55296<=v&&v<=55551&&(b.ch+=1)}return{start:p,end:b}}var r=[{keys:"<Left>",type:"keyToKey",toKeys:"h"},{keys:"<Right>",type:"keyToKey",toKeys:"l"},{keys:"<Up>",type:"keyToKey",toKeys:"k"},{keys:"<Down>",type:"keyToKey",toKeys:"j"},{keys:"g<Up>",type:"keyToKey",toKeys:"gk"},{keys:"g<Down>",type:"keyToKey",toKeys:"gj"},{keys:"<Space>",type:"keyToKey",toKeys:"l"},{keys:"<BS>",type:"keyToKey",toKeys:"h"},{keys:"<Del>",type:"keyToKey",toKeys:"x"},{keys:"<C-Space>",type:"keyToKey",toKeys:"W"},{keys:"<C-BS>",type:"keyToKey",toKeys:"B"},{keys:"<S-Space>",type:"keyToKey",toKeys:"w"},{keys:"<S-BS>",type:"keyToKey",toKeys:"b"},{keys:"<C-n>",type:"keyToKey",toKeys:"j"},{keys:"<C-p>",type:"keyToKey",toKeys:"k"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-Esc>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-Esc>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"<Home>",type:"keyToKey",toKeys:"0"},{keys:"<End>",type:"keyToKey",toKeys:"$"},{keys:"<PageUp>",type:"keyToKey",toKeys:"<C-b>"},{keys:"<PageDown>",type:"keyToKey",toKeys:"<C-f>"},{keys:"<CR>",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"<Ins>",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"<Ins>",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"<C-f>",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"<C-b>",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"<C-d>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"<C-u>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'<register>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<register>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"gq",type:"operator",operator:"hardWrap"},{keys:"gw",type:"operator",operator:"hardWrap",operatorArgs:{keepCursor:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"<C-u>",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"<C-w>",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"<C-w>",type:"idle",context:"normal"},{keys:"<C-i>",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"<C-o>",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"<C-e>",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"<C-y>",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"<C-v>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"<C-q>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r<character>",type:"action",action:"replace",isEdit:!0},{keys:"@<register>",type:"action",action:"replayMacro"},{keys:"q<register>",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"<C-r>",type:"action",action:"redo"},{keys:"m<register>",type:"action",action:"setMark"},{keys:'"<register>',type:"action",action:"setRegister"},{keys:"<C-r><register>",type:"action",action:"insertRegister",context:"insert",isEdit:!0},{keys:"<C-o>",type:"action",action:"oneNormalCommand",context:"insert"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z<CR>",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"<C-a>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"<C-x>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"<C-t>",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"<C-d>",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a<register>",type:"motion",motion:"textObjectManipulation"},{keys:"i<register>",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],n=r.length,o=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"omap",shortName:"om"},{name:"noremap",shortName:"no"},{name:"nnoremap",shortName:"nn"},{name:"vnoremap",shortName:"vn"},{name:"inoremap",shortName:"ino"},{name:"onoremap",shortName:"ono"},{name:"unmap"},{name:"mapclear",shortName:"mapc"},{name:"nmapclear",shortName:"nmapc"},{name:"vmapclear",shortName:"vmapc"},{name:"imapclear",shortName:"imapc"},{name:"omapclear",shortName:"omapc"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"startinsert",shortName:"start"},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"delete",shortName:"d"},{name:"join",shortName:"j"},{name:"normal",shortName:"norm"},{name:"global",shortName:"g"}],s=cr("");function a(h){h.setOption("disableInput",!0),h.setOption("showCursorWhenSelecting",!1),t.signal(h,"vim-mode-change",{mode:"normal"}),h.on("cursorActivity",W2),we(h),t.on(h.getInputField(),"paste",c(h))}function l(h){h.setOption("disableInput",!1),h.off("cursorActivity",W2),t.off(h.getInputField(),"paste",c(h)),h.state.vim=null,oc&&clearTimeout(oc)}function c(h){var p=h.state.vim;return p.onPasteFn||(p.onPasteFn=function(){p.insertMode||(h.setCursor(Ae(h.getCursor(),0,1)),ce.enterInsertMode(h,{},p))}),p.onPasteFn}var u=/[\d]/,f=[t.isWordChar,function(h){return h&&!t.isWordChar(h)&&!/\s/.test(h)}],d=[function(h){return/\S/.test(h)}],O=["<",">"],g=["-",'"',".",":","_","/","+"],x=/^\w$/,S;try{S=new RegExp("^[\\p{Lu}]$","u")}catch(h){S=/^[A-Z]$/}function w(h,p){return p>=h.firstLine()&&p<=h.lastLine()}function T(h){return/^[a-z]$/.test(h)}function A(h){return"()[]{}".indexOf(h)!=-1}function I(h){return u.test(h)}function C(h){return S.test(h)}function $(h){return/^\s*$/.test(h)}function j(h){return".?!".indexOf(h)!=-1}function le(h,p){for(var b=0;b<p.length;b++)if(p[b]==h)return!0;return!1}var F={};function N(h,p,b,y,v){if(p===void 0&&!v)throw Error("defaultValue is required unless callback is provided");if(b||(b="string"),F[h]={type:b,defaultValue:p,callback:v},y)for(var k=0;k<y.length;k++)F[y[k]]=F[h];p&&ie(h,p)}function ie(h,p,b,y){var v=F[h];y=y||{};var k=y.scope;if(!v)return new Error("Unknown option: "+h);if(v.type=="boolean"){if(p&&p!==!0)return new Error("Invalid argument: "+h+"="+p);p!==!1&&(p=!0)}v.callback?(k!=="local"&&v.callback(p,void 0),k!=="global"&&b&&v.callback(p,b)):(k!=="local"&&(v.value=v.type=="boolean"?!!p:p),k!=="global"&&b&&(b.state.vim.options[h]={value:p}))}function ue(h,p,b){var y=F[h];b=b||{};var v=b.scope;if(!y)return new Error("Unknown option: "+h);if(y.callback){let k=p&&y.callback(void 0,p);return v!=="global"&&k!==void 0?k:v!=="local"?y.callback():void 0}else return(v!=="global"&&p&&p.state.vim.options[h]||v!=="local"&&y||{}).value}N("filetype",void 0,"string",["ft"],function(h,p){if(p!==void 0)if(h===void 0){let b=p.getOption("mode");return b=="null"?"":b}else{let b=h==""?"null":h;p.setOption("mode",b)}}),N("textwidth",80,"number",["tw"],function(h,p){if(p!==void 0)if(h===void 0){var b=p.getOption("textwidth");return b}else{var y=Math.round(h);y>1&&p.setOption("textwidth",y)}});var re=function(){var h=100,p=-1,b=0,y=0,v=new Array(h);function k(R,U,M){var G=p%h,ee=v[G];function Y(oe){var fe=++p%h,$e=v[fe];$e&&$e.clear(),v[fe]=R.setBookmark(oe)}if(ee){var W=ee.find();W&&!mt(W,U)&&Y(U)}else Y(U);Y(M),b=p,y=p-h+1,y<0&&(y=0)}function Q(R,U){p+=U,p>b?p=b:p<y&&(p=y);var M=v[(h+p)%h];if(M&&!M.find()){var G=U>0?1:-1,ee,Y=R.getCursor();do if(p+=G,M=v[(h+p)%h],M&&(ee=M.find())&&!mt(Y,ee))break;while(p<b&&p>y)}return M}function X(R,U){var M=p,G=Q(R,U);return p=M,G&&G.find()}return{cachedCursor:void 0,add:k,find:X,move:Q}},de=function(h){return h?{changes:h.changes,expectCursorActivityForChange:h.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};class me{constructor(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=de()}exitMacroRecordMode(){var p=q.macroModeState;p.onRecordingDone&&p.onRecordingDone(),p.onRecordingDone=void 0,p.isRecording=!1}enterMacroRecordMode(p,b){var y=q.registerController.getRegister(b);if(y){if(y.clear(),this.latestRegister=b,p.openDialog){var v=mo("span",{class:"cm-vim-message"},"recording @"+b);this.onRecordingDone=p.openDialog(v,null,{bottom:!0})}this.isRecording=!0}}}function we(h){return h.state.vim||(h.state.vim={inputState:new ur,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeReturn:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{},expectLiteralNext:!1}),h.state.vim}var q;function ae(){q={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:re(),macroModeState:new me,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new cg({}),searchHistoryController:new tc,exCommandHistoryController:new tc};for(var h in F){var p=F[h];p.value=p.defaultValue}}var B,P={enterVimMode:a,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return q.registerController},resetVimGlobalState_:ae,getVimGlobalState_:function(){return q},maybeInitVimState_:we,suppressErrorLogging:!1,InsertModeKey:bg,map:function(h,p,b){_r.map(h,p,b)},unmap:function(h,p){return _r.unmap(h,p)},noremap:function(h,p,b){_r.map(h,p,b,!0)},mapclear:function(h){var p=r.length,b=n,y=r.slice(0,p-b);if(r=r.slice(p-b),h)for(var v=y.length-1;v>=0;v--){var k=y[v];if(h!==k.context)if(k.context)this._mapCommand(k);else{var Q=["normal","insert","visual"];for(var X in Q)if(Q[X]!==h){var R=Object.assign({},k);R.context=Q[X],this._mapCommand(R)}}}},langmap:At,vimKeyFromEvent:$t,setOption:ie,getOption:ue,defineOption:N,defineEx:function(h,p,b){if(!p)p=h;else if(h.indexOf(p)!==0)throw new Error('(Vim.defineEx) "'+p+'" is not a prefix of "'+h+'", command not registered');M2[h]=b,_r.commandMap_[p]={name:h,shortName:p,type:"api"}},handleKey:function(h,p,b){var y=this.findKey(h,p,b);if(typeof y=="function")return y()},multiSelectHandleKey:X7,findKey:function(h,p,b){var y=we(h),v=h;function k(){var M=q.macroModeState;if(M.isRecording){if(p=="q")return M.exitMacroRecordMode(),Ut(v),!0;b!="mapping"&&_7(M,p)}}function Q(){if(p=="<Esc>"){if(y.visualMode)Yr(v);else if(y.insertMode)go(v);else return;return Ut(v),!0}}function X(){if(Q())return!0;y.inputState.keyBuffer.push(p);var M=y.inputState.keyBuffer.join(""),G=p.length==1,ee=Br.matchCommand(M,r,y.inputState,"insert"),Y=y.inputState.changeQueue;if(ee.type=="none")return Ut(v),!1;if(ee.type=="partial"){if(ee.expectLiteralNext&&(y.expectLiteralNext=!0),B&&window.clearTimeout(B),B=G&&window.setTimeout(function(){y.insertMode&&y.inputState.keyBuffer.length&&Ut(v)},ue("insertModeEscKeysTimeout")),G){var W=v.listSelections();(!Y||Y.removed.length!=W.length)&&(Y=y.inputState.changeQueue=new ph),Y.inserted+=p;for(var oe=0;oe<W.length;oe++){var fe=Pt(W[oe].anchor,W[oe].head),$e=po(W[oe].anchor,W[oe].head),Ce=v.getRange(fe,v.state.overwrite?Ae($e,0,1):$e);Y.removed[oe]=(Y.removed[oe]||"")+Ce}}return!G}if(y.expectLiteralNext=!1,B&&window.clearTimeout(B),ee.command&&Y){for(var W=v.listSelections(),oe=0;oe<W.length;oe++){var Re=W[oe].head;v.replaceRange(Y.removed[oe]||"",Ae(Re,0,-Y.inserted.length),Re,"+input")}q.macroModeState.lastInsertModeChanges.changes.pop()}return ee.command||Ut(v),ee.command}function R(){if(k()||Q())return!0;y.inputState.keyBuffer.push(p);var M=y.inputState.keyBuffer.join("");if(/^[1-9]\d*$/.test(M))return!0;var G=/^(\d*)(.*)$/.exec(M);if(!G)return Ut(v),!1;var ee=y.visualMode?"visual":"normal",Y=G[2]||G[1];y.inputState.operatorShortcut&&y.inputState.operatorShortcut.slice(-1)==Y&&(Y=y.inputState.operatorShortcut);var W=Br.matchCommand(Y,r,y.inputState,ee);return W.type=="none"?(Ut(v),!1):W.type=="partial"?(W.expectLiteralNext&&(y.expectLiteralNext=!0),!0):W.type=="clear"?(Ut(v),!0):(y.expectLiteralNext=!1,y.inputState.keyBuffer.length=0,G=/^(\d*)(.*)$/.exec(M),G&&G[1]&&G[1]!="0"&&y.inputState.pushRepeatDigit(G[1]),W.command)}var U;return y.insertMode?U=X():U=R(),U===!1?!y.insertMode&&p.length===1?function(){return!0}:void 0:U===!0?function(){return!0}:function(){return v.operation(function(){v.curOp.isVimOp=!0;try{U.type=="keyToKey"?Ze(v,U.toKeys,U):Br.processCommand(v,y,U)}catch(M){throw v.state.vim=void 0,we(v),P.suppressErrorLogging||console.log(M),M}return!0})}},handleEx:function(h,p){_r.processCommand(h,p)},defineMotion:ug,defineAction:ye,defineOperator:fg,mapCommand:Q7,_mapCommand:q2,defineRegister:mh,exitVisualMode:Yr,exitInsertMode:go},V=[],ne=!1,z;function qe(h){if(h[0]=="<"){var p=h.toLowerCase().slice(1,-1),b=p.split("-");if(p=b.pop()||"",p=="lt")h="<";else if(p=="space")h=" ";else if(p=="cr")h=`
`;else if(Xe[p]){var y=z.value,v={key:Xe[p],target:{value:y,selectionEnd:y.length,selectionStart:y.length}};z.onKeyDown&&z.onKeyDown(v,z.value,Q),z&&z.onKeyUp&&z.onKeyUp(v,z.value,Q);return}}if(h==`
`){var k=z;z=null,k.onClose&&k.onClose(k.value)}else z.value=(z.value||"")+h;function Q(X){typeof X=="string"?z.value=X:z=null}}function Ze(h,p,b){var y=ne;if(b){if(V.indexOf(b)!=-1)return;V.push(b),ne=b.noremap!=!1}try{for(var v=we(h),k=/<(?:[CSMA]-)*\w+>|./gi,Q;Q=k.exec(p);){var X=Q[0],R=v.insertMode;if(z){qe(X);continue}var U=P.handleKey(h,X,"mapping");if(!U&&R&&v.insertMode){if(X[0]=="<"){var M=X.toLowerCase().slice(1,-1),G=M.split("-");if(M=G.pop()||"",M=="lt")X="<";else if(M=="space")X=" ";else if(M=="cr")X=`
`;else if(Xe.hasOwnProperty(M)){X=Xe[M],Y2(h,X);continue}else X=X[0],k.lastIndex=Q.index+1}h.replaceSelection(X)}}}finally{if(V.pop(),ne=V.length?y:!1,!V.length&&z){var ee=z;z=null,rc(h,ee)}}}var Be={Return:"CR",Backspace:"BS",Delete:"Del",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"CR"," ":"Space"},Dt={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1,AltGraph:1,Dead:1,Unidentified:1},Xe={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(Be)).forEach(function(h){Xe[(Be[h]||"").toLowerCase()]=Xe[h.toLowerCase()]=h});function $t(h,p){var k;var b=h.key;if(!Dt[b]){b.length>1&&b[0]=="n"&&(b=b.replace("Numpad","")),b=Be[b]||b;var y="";if(h.ctrlKey&&(y+="C-"),h.altKey&&(y+="A-"),h.metaKey&&(y+="M-"),t.isMac&&h.altKey&&!h.metaKey&&!h.ctrlKey&&(y=y.slice(2)),(y||b.length>1)&&h.shiftKey&&(y+="S-"),p&&!p.expectLiteralNext&&b.length==1){if(s.keymap&&b in s.keymap)(s.remapCtrl!=!1||!y)&&(b=s.keymap[b]);else if(b.charCodeAt(0)>255){var v=((k=h.code)==null?void 0:k.slice(-1))||"";h.shiftKey||(v=v.toLowerCase()),v&&(b=v)}}return y+=b,y.length>1&&(y="<"+y+">"),y}}function At(h,p){s.string!==h&&(s=cr(h)),s.remapCtrl=p}function cr(h){let p={};if(!h)return{keymap:p,string:""};function b(y){return y.split(/\\?(.)/).filter(Boolean)}return h.split(/((?:[^\\,]|\\.)+),/).map(y=>{if(!y)return;let v=y.split(/((?:[^\\;]|\\.)+);/);if(v.length==3){let k=b(v[1]),Q=b(v[2]);if(k.length!==Q.length)return;for(let X=0;X<k.length;++X)p[k[X]]=Q[X]}else if(v.length==1){let k=b(y);if(k.length%2!==0)return;for(let Q=0;Q<k.length;Q+=2)p[k[Q]]=k[Q+1]}}),{keymap:p,string:h}}N("langmap",void 0,"string",["lmap"],function(h,p){if(h===void 0)return s.string;At(h)});class ur{constructor(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null,this.changeQueue=null}pushRepeatDigit(p){this.operator?this.motionRepeat=this.motionRepeat.concat(p):this.prefixRepeat=this.prefixRepeat.concat(p)}getRepeat(){var p=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(p=1,this.prefixRepeat.length>0&&(p*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(p*=parseInt(this.motionRepeat.join(""),10))),p}}function Ut(h,p){h.state.vim.inputState=new ur,h.state.vim.expectLiteralNext=!1,t.signal(h,"vim-command-done",p)}function ph(){this.removed=[],this.inserted=""}class Bi{constructor(p,b,y){this.clear(),this.keyBuffer=[p||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!b,this.blockwise=!!y}setText(p,b,y){this.keyBuffer=[p||""],this.linewise=!!b,this.blockwise=!!y}pushText(p,b){b&&(this.linewise||this.keyBuffer.push(`
`),this.linewise=!0),this.keyBuffer.push(p)}pushInsertModeChanges(p){this.insertModeChanges.push(de(p))}pushSearchQuery(p){this.searchQueries.push(p)}clear(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1}toString(){return this.keyBuffer.join("")}}function mh(h,p){var b=q.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]=p,g.push(h)}class cg{constructor(p){this.registers=p,this.unnamedRegister=p['"']=new Bi,p["."]=new Bi,p[":"]=new Bi,p["/"]=new Bi,p["+"]=new Bi}pushText(p,b,y,v,k){if(p!=="_"){v&&y.charAt(y.length-1)!==`
`&&(y+=`
`);var Q=this.isValidRegister(p)?this.getRegister(p):null;if(!Q){switch(b){case"yank":this.registers[0]=new Bi(y,v,k);break;case"delete":case"change":y.indexOf(`
`)==-1?this.registers["-"]=new Bi(y,v):(this.shiftNumericRegisters_(),this.registers[1]=new Bi(y,v));break}this.unnamedRegister.setText(y,v,k);return}var X=C(p);X?Q.pushText(y,v):Q.setText(y,v,k),p==="+"&&navigator.clipboard.writeText(y),this.unnamedRegister.setText(Q.toString(),v)}}getRegister(p){return this.isValidRegister(p)?(p=p.toLowerCase(),this.registers[p]||(this.registers[p]=new Bi),this.registers[p]):this.unnamedRegister}isValidRegister(p){return p&&(le(p,g)||x.test(p))}shiftNumericRegisters_(){for(var p=9;p>=2;p--)this.registers[p]=this.getRegister(""+(p-1))}}class tc{constructor(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}nextMatch(p,b){var y=this.historyBuffer,v=b?-1:1;this.initialPrefix===null&&(this.initialPrefix=p);for(var k=this.iterator+v;b?k>=0:k<y.length;k+=v)for(var Q=y[k],X=0;X<=Q.length;X++)if(this.initialPrefix==Q.substring(0,X))return this.iterator=k,Q;if(k>=y.length)return this.iterator=y.length,this.initialPrefix;if(k<0)return p}pushInput(p){var b=this.historyBuffer.indexOf(p);b>-1&&this.historyBuffer.splice(b,1),p.length&&this.historyBuffer.push(p)}reset(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}}var Br={matchCommand:function(h,p,b,y){var v=Yi(h,p,y,b);if(!v.full&&!v.partial)return{type:"none"};if(!v.full&&v.partial)return{type:"partial",expectLiteralNext:v.partial.length==1&&v.partial[0].keys.slice(-11)=="<character>"};for(var k,Q=0;Q<v.full.length;Q++){var X=v.full[Q];k||(k=X)}if(k.keys.slice(-11)=="<character>"||k.keys.slice(-10)=="<register>"){var R=Qr(h);if(!R||R.length>1)return{type:"clear"};b.selectedCharacter=R}return{type:"full",command:k}},processCommand:function(h,p,b){switch(p.inputState.repeatOverride=b.repeatOverride,b.type){case"motion":this.processMotion(h,p,b);break;case"operator":this.processOperator(h,p,b);break;case"operatorMotion":this.processOperatorMotion(h,p,b);break;case"action":this.processAction(h,p,b);break;case"search":this.processSearch(h,p,b);break;case"ex":case"keyToEx":this.processEx(h,p,b);break}},processMotion:function(h,p,b){p.inputState.motion=b.motion,p.inputState.motionArgs=je(b.motionArgs),this.evalInput(h,p)},processOperator:function(h,p,b){var y=p.inputState;if(y.operator)if(y.operator==b.operator){y.motion="expandToLine",y.motionArgs={linewise:!0,repeat:1},this.evalInput(h,p);return}else Ut(h);y.operator=b.operator,y.operatorArgs=je(b.operatorArgs),b.keys.length>1&&(y.operatorShortcut=b.keys),b.exitVisualBlock&&(p.visualBlock=!1,Qa(h)),p.visualMode&&this.evalInput(h,p)},processOperatorMotion:function(h,p,b){var y=p.visualMode,v=je(b.operatorMotionArgs);v&&y&&v.visualLine&&(p.visualLine=!0),this.processOperator(h,p,b),y||this.processMotion(h,p,b)},processAction:function(h,p,b){var y=p.inputState,v=y.getRepeat(),k=!!v,Q=je(b.actionArgs)||{repeat:1};y.selectedCharacter&&(Q.selectedCharacter=y.selectedCharacter),b.operator&&this.processOperator(h,p,b),b.motion&&this.processMotion(h,p,b),(b.motion||b.operator)&&this.evalInput(h,p),Q.repeat=v||1,Q.repeatIsExplicit=k,Q.registerName=y.registerName,Ut(h),p.lastMotion=null,b.isEdit&&this.recordLastEdit(p,y,b),ce[b.action](h,Q,p)},processSearch:function(h,p,b){if(!h.getSearchCursor)return;var y=b.searchArgs.forward,v=b.searchArgs.wholeWordOnly;Cr(h).setReversed(!y);var k=y?"/":"?",Q=Cr(h).getQuery(),X=h.getScrollInfo();function R(oe,fe,$e){q.searchHistoryController.pushInput(oe),q.searchHistoryController.reset();try{nc(h,oe,fe,$e)}catch(Ce){ut(h,"Invalid regex: "+oe),Ut(h);return}Br.processMotion(h,p,{keys:"",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:b.searchArgs.toJumplist}})}function U(oe){h.scrollTo(X.left,X.top),R(oe,!0,!0);var fe=q.macroModeState;fe.isRecording&&A7(fe,oe)}function M(oe,fe,$e){var Ce=$t(oe),Re,ft;Ce=="<Up>"||Ce=="<Down>"?(Re=Ce=="<Up>",ft=oe.target?oe.target.selectionEnd:0,fe=q.searchHistoryController.nextMatch(fe,Re)||"",$e(fe),ft&&oe.target&&(oe.target.selectionEnd=oe.target.selectionStart=Math.min(ft,oe.target.value.length))):Ce&&Ce!="<Left>"&&Ce!="<Right>"&&q.searchHistoryController.reset();var Oi;try{Oi=nc(h,fe,!0,!0)}catch(Ht){}Oi?h.scrollIntoView(U2(h,!y,Oi),30):(mg(h),h.scrollTo(X.left,X.top))}function G(oe,fe,$e){var Ce=$t(oe);Ce=="<Esc>"||Ce=="<C-c>"||Ce=="<C-[>"||Ce=="<BS>"&&fe==""?(q.searchHistoryController.pushInput(fe),q.searchHistoryController.reset(),nc(h,Q),mg(h),h.scrollTo(X.left,X.top),t.e_stop(oe),Ut(h),$e(),h.focus()):Ce=="<Up>"||Ce=="<Down>"?t.e_stop(oe):Ce=="<C-u>"&&(t.e_stop(oe),$e(""))}switch(b.searchArgs.querySrc){case"prompt":var ee=q.macroModeState;if(ee.isPlaying){let fe=ee.replaySearchQueries.shift();R(fe,!0,!1)}else rc(h,{onClose:U,prefix:k,desc:"(JavaScript regexp)",onKeyUp:M,onKeyDown:G});break;case"wordUnderCursor":var Y=Og(h,{noSymbol:!0}),W=!0;if(Y||(Y=Og(h,{noSymbol:!1}),W=!1),!Y){ut(h,"No word under cursor"),Ut(h);return}let oe=h.getLine(Y.start.line).substring(Y.start.ch,Y.end.ch);W&&v?oe="\\b"+oe+"\\b":oe=KI(oe),q.jumpList.cachedCursor=h.getCursor(),h.setCursor(Y.start),R(oe,!0,!1);break}},processEx:function(h,p,b){function y(k){q.exCommandHistoryController.pushInput(k),q.exCommandHistoryController.reset(),_r.processCommand(h,k),h.state.vim&&Ut(h)}function v(k,Q,X){var R=$t(k),U,M;(R=="<Esc>"||R=="<C-c>"||R=="<C-[>"||R=="<BS>"&&Q=="")&&(q.exCommandHistoryController.pushInput(Q),q.exCommandHistoryController.reset(),t.e_stop(k),Ut(h),X(),h.focus()),R=="<Up>"||R=="<Down>"?(t.e_stop(k),U=R=="<Up>",M=k.target?k.target.selectionEnd:0,Q=q.exCommandHistoryController.nextMatch(Q,U)||"",X(Q),M&&k.target&&(k.target.selectionEnd=k.target.selectionStart=Math.min(M,k.target.value.length))):R=="<C-u>"?(t.e_stop(k),X("")):R&&R!="<Left>"&&R!="<Right>"&&q.exCommandHistoryController.reset()}b.type=="keyToEx"?_r.processCommand(h,b.exArgs.input):p.visualMode?rc(h,{onClose:y,prefix:":",value:"'<,'>",onKeyDown:v,selectValueOnOpen:!1}):rc(h,{onClose:y,prefix:":",onKeyDown:v})},evalInput:function(h,p){var b=p.inputState,y=b.motion,v=b.motionArgs||{repeat:1},k=b.operator,Q=b.operatorArgs||{},X=b.registerName,R=p.sel,U=rt(p.visualMode?Ee(h,R.head):h.getCursor("head")),M=rt(p.visualMode?Ee(h,R.anchor):h.getCursor("anchor")),G=rt(U),ee=rt(M),Y,W,oe;if(k&&this.recordLastEdit(p,b),b.repeatOverride!==void 0?oe=b.repeatOverride:oe=b.getRepeat(),oe>0&&v.explicitRepeat?v.repeatIsExplicit=!0:(v.noRepeat||!v.explicitRepeat&&oe===0)&&(oe=1,v.repeatIsExplicit=!1),b.selectedCharacter&&(v.selectedCharacter=Q.selectedCharacter=b.selectedCharacter),v.repeat=oe,Ut(h),y){var fe=Pr[y](h,U,v,p,b);if(p.lastMotion=Pr[y],!fe)return;if(v.toJumplist){var $e=q.jumpList,Ce=$e.cachedCursor;Ce?(E2(h,Ce,fe),delete $e.cachedCursor):E2(h,U,fe)}fe instanceof Array?(W=fe[0],Y=fe[1]):Y=fe,Y||(Y=rt(U)),p.visualMode?(p.visualBlock&&Y.ch===1/0||(Y=Ee(h,Y,G)),W&&(W=Ee(h,W)),W=W||ee,R.anchor=W,R.head=Y,Qa(h),kn(h,p,"<",at(W,Y)?W:Y),kn(h,p,">",at(W,Y)?Y:W)):k||(Y=Ee(h,Y,G),h.setCursor(Y.line,Y.ch))}if(k){if(Q.lastSel){W=ee;var Re=Q.lastSel,ft=Math.abs(Re.head.line-Re.anchor.line),Oi=Math.abs(Re.head.ch-Re.anchor.ch);Re.visualLine?Y=new e(ee.line+ft,ee.ch):Re.visualBlock?Y=new e(ee.line+ft,ee.ch+Oi):Re.head.line==Re.anchor.line?Y=new e(ee.line,ee.ch+Oi):Y=new e(ee.line+ft,ee.ch),p.visualMode=!0,p.visualLine=Re.visualLine,p.visualBlock=Re.visualBlock,R=p.sel={anchor:W,head:Y},Qa(h)}else p.visualMode&&(Q.lastSel={anchor:rt(R.anchor),head:rt(R.head),visualBlock:p.visualBlock,visualLine:p.visualLine});var Ht,ni,Ke,tt,Si;if(p.visualMode){Ht=Pt(R.head,R.anchor),ni=po(R.head,R.anchor),Ke=p.visualLine||Q.linewise,tt=p.visualBlock?"block":Ke?"line":"char";var oi=i(h,Ht,ni);if(Si=dg(h,{anchor:oi.start,head:oi.end},tt),Ke){var Kt=Si.ranges;if(tt=="block")for(var Hr=0;Hr<Kt.length;Hr++)Kt[Hr].head.ch=ri(h,Kt[Hr].head.line);else tt=="line"&&(Kt[0].head=new e(Kt[0].head.line+1,0))}}else{if(Ht=rt(W||ee),ni=rt(Y||G),at(ni,Ht)){var xg=Ht;Ht=ni,ni=xg}Ke=v.linewise||Q.linewise,Ke?o7(h,Ht,ni):v.forward&&n7(h,Ht,ni),tt="char";var R7=!v.inclusive||Ke,oi=i(h,Ht,ni);Si=dg(h,{anchor:oi.start,head:oi.end},tt,R7)}h.setSelections(Si.ranges,Si.primary),p.lastMotion=null,Q.repeat=oe,Q.registerName=X,Q.linewise=Ke;var vg=ic[k](h,Q,Si.ranges,ee,Y);p.visualMode&&Yr(h,vg!=null),vg&&h.setCursor(vg)}},recordLastEdit:function(h,p,b){var y=q.macroModeState;y.isPlaying||(h.lastEditInputState=p,h.lastEditActionCommand=b,y.lastInsertModeChanges.changes=[],y.lastInsertModeChanges.expectCursorActivityForChange=!1,y.lastInsertModeChanges.visualBlock=h.visualBlock?h.sel.head.line-h.sel.anchor.line:0)}},Pr={moveToTopLine:function(h,p,b){var y=gg(h).top+b.repeat-1;return new e(y,Fr(h.getLine(y)))},moveToMiddleLine:function(h){var p=gg(h),b=Math.floor((p.top+p.bottom)*.5);return new e(b,Fr(h.getLine(b)))},moveToBottomLine:function(h,p,b){var y=gg(h).bottom-b.repeat+1;return new e(y,Fr(h.getLine(y)))},expandToLine:function(h,p,b){var y=p;return new e(y.line+b.repeat-1,1/0)},findNext:function(h,p,b){var y=Cr(h),v=y.getQuery();if(v){var k=!b.forward;return k=y.isReversed()?!k:k,D2(h,v),U2(h,k,v,b.repeat)}},findAndSelectNextInclusive:function(h,p,b,y,v){var k=Cr(h),Q=k.getQuery();if(Q){var X=!b.forward;X=k.isReversed()?!X:X;var R=S7(h,X,Q,b.repeat,y);if(R){if(v.operator)return R;var U=R[0],M=new e(R[1].line,R[1].ch-1);if(y.visualMode){(y.visualLine||y.visualBlock)&&(y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""}));var G=y.sel.anchor;if(G)return k.isReversed()?b.forward?[G,U]:[G,M]:b.forward?[G,M]:[G,U]}else y.visualMode=!0,y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""});return X?[M,U]:[U,M]}}},goToMark:function(h,p,b,y){var v=bh(h,y,b.selectedCharacter||"");return v?b.linewise?{line:v.line,ch:Fr(h.getLine(v.line))}:v:null},moveToOtherHighlightedEnd:function(h,p,b,y){if(y.visualBlock&&b.sameLine){var v=y.sel;return[Ee(h,new e(v.anchor.line,v.head.ch)),Ee(h,new e(v.head.line,v.anchor.ch))]}else return[y.sel.head,y.sel.anchor]},jumpToMark:function(h,p,b,y){for(var v=p,k=0;k<b.repeat;k++){var Q=v;for(var X in y.marks)if(T(X)){var R=y.marks[X].find(),U=b.forward?at(R,Q):at(Q,R);if(!U&&!(b.linewise&&R.line==Q.line)){var M=mt(Q,v),G=b.forward?w2(Q,R,v):w2(v,R,Q);(M||G)&&(v=R)}}}return b.linewise&&(v=new e(v.line,Fr(h.getLine(v.line)))),v},moveByCharacters:function(h,p,b){var y=p,v=b.repeat,k=b.forward?y.ch+v:y.ch-v;return new e(y.line,k)},moveByLines:function(h,p,b,y){var v=p,k=v.ch;switch(y.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:k=y.lastHPos;break;default:y.lastHPos=k}var Q=b.repeat+(b.repeatOffset||0),X=b.forward?v.line+Q:v.line-Q,R=h.firstLine(),U=h.lastLine(),M=h.findPosV(v,b.forward?Q:-Q,"line",y.lastHSPos),G=b.forward?M.line>X:M.line<X;return G&&(X=M.line,k=M.ch),X<R&&v.line==R?this.moveToStartOfLine(h,p,b,y):X>U&&v.line==U?_2(h,p,b,y,!0):(b.toFirstChar&&(k=Fr(h.getLine(X)),y.lastHPos=k),y.lastHSPos=h.charCoords(new e(X,k),"div").left,new e(X,k))},moveByDisplayLines:function(h,p,b,y){var v=p;switch(y.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:y.lastHSPos=h.charCoords(v,"div").left}var k=b.repeat,Q=h.findPosV(v,b.forward?k:-k,"line",y.lastHSPos);if(Q.hitSide)if(b.forward){var X=h.charCoords(Q,"div"),R={top:X.top+8,left:y.lastHSPos};Q=h.coordsChar(R,"div")}else{var U=h.charCoords(new e(h.firstLine(),0),"div");U.left=y.lastHSPos,Q=h.coordsChar(U,"div")}return y.lastHPos=Q.ch,Q},moveByPage:function(h,p,b){var y=p,v=b.repeat;return h.findPosV(y,b.forward?v:-v,"page")},moveByParagraph:function(h,p,b){var y=b.forward?1:-1;return $2(h,p,b.repeat,y).start},moveBySentence:function(h,p,b){var y=b.forward?1:-1;return h7(h,p,b.repeat,y)},moveByScroll:function(h,p,b,y){var v=h.getScrollInfo(),k=null,Q=b.repeat;Q||(Q=v.clientHeight/(2*h.defaultTextHeight()));var X=h.charCoords(p,"local");if(b.repeat=Q,k=Pr.moveByDisplayLines(h,p,b,y),!k)return null;var R=h.charCoords(k,"local");return h.scrollTo(null,v.top+R.top-X.top),k},moveByWords:function(h,p,b){return c7(h,p,b.repeat,!!b.forward,!!b.wordEnd,!!b.bigWord)},moveTillCharacter:function(h,p,b){var y=b.repeat,v=pg(h,y,b.forward,b.selectedCharacter,p),k=b.forward?-1:1;return P2(k,b),v?(v.ch+=k,v):null},moveToCharacter:function(h,p,b){var y=b.repeat;return P2(0,b),pg(h,y,b.forward,b.selectedCharacter,p)||p},moveToSymbol:function(h,p,b){var y=b.repeat;return b.selectedCharacter&&l7(h,y,b.forward,b.selectedCharacter)||p},moveToColumn:function(h,p,b,y){var v=b.repeat;return y.lastHPos=v-1,y.lastHSPos=h.charCoords(p,"div").left,u7(h,v)},moveToEol:function(h,p,b,y){return _2(h,p,b,y,!1)},moveToFirstNonWhiteSpaceCharacter:function(h,p){var b=p;return new e(b.line,Fr(h.getLine(b.line)))},moveToMatchedSymbol:function(h,p){for(var b=p,y=b.line,v=b.ch,k=h.getLine(y),Q;v<k.length;v++)if(Q=k.charAt(v),Q&&A(Q)){var X=h.getTokenTypeAt(new e(y,v+1));if(X!=="string"&&X!=="comment")break}if(v<k.length){var R=Q==="<"||Q===">"?/[(){}[\]<>]/:/[(){}[\]]/,U=h.findMatchingBracket(new e(y,v),{bracketRegex:R});return U.to}else return b},moveToStartOfLine:function(h,p){return new e(p.line,0)},moveToLineOrEdgeOfDocument:function(h,p,b){var y=b.forward?h.lastLine():h.firstLine();return b.repeatIsExplicit&&(y=b.repeat-h.getOption("firstLineNumber")),new e(y,Fr(h.getLine(y)))},moveToStartOfDisplayLine:function(h){return h.execCommand("goLineLeft"),h.getCursor()},moveToEndOfDisplayLine:function(h){h.execCommand("goLineRight");var p=h.getCursor();return p.sticky=="before"&&p.ch--,p},textObjectManipulation:function(h,p,b,y){var v={"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"},k={"'":!0,'"':!0,"`":!0},Q=b.selectedCharacter||"";Q=="b"?Q="(":Q=="B"&&(Q="{");var X=!b.textObjectInner,R,U;if(v[Q]){if(U=!0,R=X2(h,p,Q,X),!R){var M=h.getSearchCursor(new RegExp("\\"+Q,"g"),p);M.find()&&(R=X2(h,M.from(),Q,X))}}else if(k[Q])U=!0,R=d7(h,p,Q,X);else if(Q==="W"||Q==="w")for(var G=b.repeat||1;G-- >0;){var ee=Og(h,{inclusive:X,innerWord:!X,bigWord:Q==="W",noSymbol:Q==="W",multiline:!0},R&&R.end);ee&&(R||(R=ee),R.end=ee.end)}else if(Q==="p")if(R=$2(h,p,b.repeat,0,X),b.linewise=!0,y.visualMode)y.visualLine||(y.visualLine=!0);else{var Y=y.inputState.operatorArgs;Y&&(Y.linewise=!0),R.end.line--}else if(Q==="t")R=s7(h,p,X);else if(Q==="s"){var W=h.getLine(p.line);p.ch>0&&j(W[p.ch])&&(p.ch-=1);var oe=A2(h,p,b.repeat,1,X),fe=A2(h,p,b.repeat,-1,X);$(h.getLine(fe.line)[fe.ch])&&$(h.getLine(oe.line)[oe.ch-1])&&(fe={line:fe.line,ch:fe.ch+1}),R={start:fe,end:oe}}return R?h.state.vim.visualMode?i7(h,R.start,R.end,U):[R.start,R.end]:null},repeatLastCharacterSearch:function(h,p,b){var y=q.lastCharacterSearch,v=b.repeat,k=b.forward===y.forward,Q=(y.increment?1:0)*(k?-1:1);h.moveH(-Q,"char"),b.inclusive=!!k;var X=pg(h,v,k,y.selectedCharacter);return X?(X.ch+=Q,X):(h.moveH(Q,"char"),p)}};function ug(h,p){Pr[h]=p}function gh(h,p){for(var b=[],y=0;y<p;y++)b.push(h);return b}var ic={change:function(h,p,b){var y,v,k=h.state.vim,Q=b[0].anchor,X=b[0].head;if(k.visualMode)if(p.fullLine)X.ch=Number.MAX_VALUE,X.line--,h.setSelection(Q,X),v=h.getSelection(),h.replaceSelection(""),y=Q;else{v=h.getSelection();var M=gh("",b.length);h.replaceSelections(M),y=Pt(b[0].head,b[0].anchor)}else{v=h.getRange(Q,X);var R=k.lastEditInputState;if((R==null?void 0:R.motion)=="moveByWords"&&!$(v)){var U=/\s+$/.exec(v);U&&R.motionArgs&&R.motionArgs.forward&&(X=Ae(X,0,-U[0].length),v=v.slice(0,-U[0].length))}p.linewise&&(Q=new e(Q.line,Fr(h.getLine(Q.line))),X.line>Q.line&&(X=new e(X.line-1,Number.MAX_VALUE))),h.replaceRange("",Q,X),y=Q}q.registerController.pushText(p.registerName,"change",v,p.linewise,b.length>1),ce.enterInsertMode(h,{head:y},h.state.vim)},delete:function(h,p,b){var y,v,k=h.state.vim;if(k.visualBlock){v=h.getSelection();var R=gh("",b.length);h.replaceSelections(R),y=Pt(b[0].head,b[0].anchor)}else{var Q=b[0].anchor,X=b[0].head;p.linewise&&X.line!=h.firstLine()&&Q.line==h.lastLine()&&Q.line==X.line-1&&(Q.line==h.firstLine()?Q.ch=0:Q=new e(Q.line-1,ri(h,Q.line-1))),v=h.getRange(Q,X),h.replaceRange("",Q,X),y=Q,p.linewise&&(y=Pr.moveToFirstNonWhiteSpaceCharacter(h,Q))}return q.registerController.pushText(p.registerName,"delete",v,p.linewise,k.visualBlock),Ee(h,y)},indent:function(h,p,b){var y=h.state.vim,v=y.visualMode?p.repeat||0:1;if(h.indentMore)for(var k=0;k<v;k++)p.indentRight?h.indentMore():h.indentLess();else{var Q=b[0].anchor.line,X=y.visualBlock?b[b.length-1].anchor.line:b[0].head.line;p.linewise&&X--;for(var R=Q;R<=X;R++)for(var k=0;k<v;k++)h.indentLine(R,p.indentRight)}return Pr.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},indentAuto:function(h,p,b){return h.execCommand("indentAuto"),Pr.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},hardWrap:function(h,p,b,y){if(h.hardWrap){var v=b[0].anchor.line,k=b[0].head.line;p.linewise&&k--;var Q=h.hardWrap({from:v,to:k});return Q>v&&p.linewise&&Q--,p.keepCursor?y:new e(Q,0)}},changeCase:function(h,p,b,y,v){for(var k=h.getSelections(),Q=[],X=p.toLower,R=0;R<k.length;R++){var U=k[R],M="";if(X===!0)M=U.toLowerCase();else if(X===!1)M=U.toUpperCase();else for(var G=0;G<U.length;G++){var ee=U.charAt(G);M+=C(ee)?ee.toLowerCase():ee.toUpperCase()}Q.push(M)}return h.replaceSelections(Q),p.shouldMoveCursor?v:!h.state.vim.visualMode&&p.linewise&&b[0].anchor.line+1==b[0].head.line?Pr.moveToFirstNonWhiteSpaceCharacter(h,y):p.linewise?y:Pt(b[0].anchor,b[0].head)},yank:function(h,p,b,y){var v=h.state.vim,k=h.getSelection(),Q=v.visualMode?Pt(v.sel.anchor,v.sel.head,b[0].head,b[0].anchor):y;return q.registerController.pushText(p.registerName,"yank",k,p.linewise,v.visualBlock),Q}};function fg(h,p){ic[h]=p}var ce={jumpListWalk:function(h,p,b){if(!b.visualMode){var y=p.repeat||1,v=p.forward,k=q.jumpList,Q=k.move(h,v?y:-y),X=Q?Q.find():void 0;X=X||h.getCursor(),h.setCursor(X)}},scroll:function(h,p,b){if(!b.visualMode){var y=p.repeat||1,v=h.defaultTextHeight(),k=h.getScrollInfo().top,Q=v*y,X=p.forward?k+Q:k-Q,R=rt(h.getCursor()),U=h.charCoords(R,"local");if(p.forward)X>U.top?(R.line+=(X-U.top)/v,R.line=Math.ceil(R.line),h.setCursor(R),U=h.charCoords(R,"local"),h.scrollTo(null,U.top)):h.scrollTo(null,X);else{var M=X+h.getScrollInfo().clientHeight;M<U.bottom?(R.line-=(U.bottom-M)/v,R.line=Math.floor(R.line),h.setCursor(R),U=h.charCoords(R,"local"),h.scrollTo(null,U.bottom-h.getScrollInfo().clientHeight)):h.scrollTo(null,X)}}},scrollToCursor:function(h,p){var b=h.getCursor().line,y=h.charCoords(new e(b,0),"local"),v=h.getScrollInfo().clientHeight,k=y.top;switch(p.position){case"center":k=y.bottom-v/2;break;case"bottom":var Q=new e(b,h.getLine(b).length-1),X=h.charCoords(Q,"local"),R=X.bottom-k;k=k-v+R;break}h.scrollTo(null,k)},replayMacro:function(h,p,b){var y=p.selectedCharacter||"",v=p.repeat||1,k=q.macroModeState;for(y=="@"?y=k.latestRegister:k.latestRegister=y;v--;)C7(h,b,k,y)},enterMacroRecordMode:function(h,p){var b=q.macroModeState,y=p.selectedCharacter;q.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,p,b){if(!h.getOption("readOnly")){b.insertMode=!0,b.insertModeRepeat=p&&p.repeat||1;var y=p?p.insertAt:null,v=b.sel,k=p.head||h.getCursor("head"),Q=h.listSelections().length;if(y=="eol")k=new e(k.line,ri(h,k.line));else if(y=="bol")k=new e(k.line,0);else if(y=="charAfter"){var X=i(h,k,Ae(k,0,1));k=X.end}else if(y=="firstNonBlank"){var X=i(h,k,Pr.moveToFirstNonWhiteSpaceCharacter(h,k));k=X.end}else if(y=="startOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(k=new e(Math.min(v.head.line,v.anchor.line),Math.min(v.head.ch,v.anchor.ch)),Q=Math.abs(v.head.line-v.anchor.line)+1):v.head.line<v.anchor.line?k=v.head:k=new e(v.anchor.line,0)}else if(y=="endOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(k=new e(Math.min(v.head.line,v.anchor.line),Math.max(v.head.ch,v.anchor.ch)+1),Q=Math.abs(v.head.line-v.anchor.line)+1):v.head.line>=v.anchor.line?k=Ae(v.head,0,1):k=new e(v.anchor.line,0)}else if(y=="inplace"){if(b.visualMode)return}else y=="lastEdit"&&(k=N2(h)||k);h.setOption("disableInput",!1),p&&p.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"})),q.macroModeState.isPlaying||(h.on("change",j2),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=h.setBookmark(k,{insertLeft:!0}),t.on(h.getInputField(),"keydown",Z2)),b.visualMode&&Yr(h),S2(h,k,Q)}},toggleVisualMode:function(h,p,b){var y=p.repeat,v=h.getCursor(),k;if(b.visualMode)b.visualLine!=!!p.linewise||b.visualBlock!=!!p.blockwise?(b.visualLine=!!p.linewise,b.visualBlock=!!p.blockwise,t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),Qa(h)):Yr(h);else{b.visualMode=!0,b.visualLine=!!p.linewise,b.visualBlock=!!p.blockwise,k=Ee(h,new e(v.line,v.ch+y-1));var Q=i(h,v,k);b.sel={anchor:Q.start,head:Q.end},t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),Qa(h),kn(h,b,"<",Pt(v,k)),kn(h,b,">",po(v,k))}},reselectLastSelection:function(h,p,b){var y=b.lastSelection;if(b.visualMode&&T2(h,b),y){var v=y.anchorMark.find(),k=y.headMark.find();if(!v||!k)return;b.sel={anchor:v,head:k},b.visualMode=!0,b.visualLine=y.visualLine,b.visualBlock=y.visualBlock,Qa(h),kn(h,b,"<",Pt(v,k)),kn(h,b,">",po(v,k)),t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""})}},joinLines:function(h,p,b){var y,v;if(b.visualMode){if(y=h.getCursor("anchor"),v=h.getCursor("head"),at(v,y)){var k=v;v=y,y=k}v.ch=ri(h,v.line)-1}else{var Q=Math.max(p.repeat,2);y=h.getCursor(),v=Ee(h,new e(y.line+Q-1,1/0))}for(var X=0,R=y.line;R<v.line;R++){X=ri(h,y.line);var U="",M=0;if(!p.keepSpaces){var G=h.getLine(y.line+1);M=G.search(/\S/),M==-1?M=G.length:U=" "}h.replaceRange(U,new e(y.line,X),new e(y.line+1,M))}var ee=Ee(h,new e(y.line,X));b.visualMode&&Yr(h,!1),h.setCursor(ee)},newLineAndEnterInsertMode:function(h,p,b){b.insertMode=!0;var y=rt(h.getCursor());if(y.line===h.firstLine()&&!p.after)h.replaceRange(`
`,new e(h.firstLine(),0)),h.setCursor(h.firstLine(),0);else{y.line=p.after?y.line:y.line-1,y.ch=ri(h,y.line),h.setCursor(y);var v=t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent;v(h)}this.enterInsertMode(h,{repeat:p.repeat},b)},paste:function(h,p,b){var y=q.registerController.getRegister(p.registerName);if(p.registerName==="+")navigator.clipboard.readText().then(k=>{this.continuePaste(h,p,b,k,y)});else{var v=y.toString();this.continuePaste(h,p,b,v,y)}},continuePaste:function(h,p,b,y,v){var k=rt(h.getCursor());if(y){if(p.matchIndent){var Q=h.getOption("tabSize"),X=function(oi){var Kt=oi.split(" ").length-1,Hr=oi.split(" ").length-1;return Kt*Q+Hr*1},R=h.getLine(h.getCursor().line),U=X(R.match(/^\s*/)[0]),M=y.replace(/\n$/,""),G=y!==M,ee=X(y.match(/^\s*/)[0]),y=M.replace(/^\s*/gm,function(oi){var Kt=U+(X(oi)-ee);if(Kt<0)return"";if(h.getOption("indentWithTabs")){var Hr=Math.floor(Kt/Q);return Array(Hr+1).join(" ")}else return Array(Kt+1).join(" ")});y+=G?`
`:""}if(p.repeat>1)var y=Array(p.repeat+1).join(y);var Y=v.linewise,W=v.blockwise;if(W){y=y.split(`
`),Y&&y.pop();for(var oe=0;oe<y.length;oe++)y[oe]=y[oe]==""?" ":y[oe];k.ch+=p.after?1:0,k.ch=Math.min(ri(h,k.line),k.ch)}else Y?b.visualMode?y=b.visualLine?y.slice(0,-1):`
`+y.slice(0,y.length-1)+`
`:p.after?(y=`
`+y.slice(0,y.length-1),k.ch=ri(h,k.line)):k.ch=0:k.ch+=p.after?1:0;var fe;if(b.visualMode){b.lastPastedText=y;var $e,Ce=t7(h,b),Re=Ce[0],ft=Ce[1],Oi=h.getSelection(),Ht=h.listSelections(),ni=new Array(Ht.length).join("1").split("1");b.lastSelection&&($e=b.lastSelection.headMark.find()),q.registerController.unnamedRegister.setText(Oi),W?(h.replaceSelections(ni),ft=new e(Re.line+y.length-1,Re.ch),h.setCursor(Re),k2(h,ft),h.replaceSelections(y),fe=Re):b.visualBlock?(h.replaceSelections(ni),h.setCursor(Re),h.replaceRange(y,Re,Re),fe=Re):(h.replaceRange(y,Re,ft),fe=h.posFromIndex(h.indexFromPos(Re)+y.length-1)),$e&&(b.lastSelection.headMark=h.setBookmark($e)),Y&&(fe.ch=0)}else if(W){h.setCursor(k);for(var oe=0;oe<y.length;oe++){var Ke=k.line+oe;Ke>h.lastLine()&&h.replaceRange(`
`,new e(Ke,0));var tt=ri(h,Ke);tt<k.ch&&JI(h,Ke,k.ch)}h.setCursor(k),k2(h,new e(k.line+y.length-1,k.ch)),h.replaceSelections(y),fe=k}else if(h.replaceRange(y,k),Y){var Ke=p.after?k.line+1:k.line;fe=new e(Ke,Fr(h.getLine(Ke)))}else fe=rt(k),/\n/.test(y)||(fe.ch+=y.length-(p.after?1:0));b.visualMode&&Yr(h,!1),h.setCursor(fe)}},undo:function(h,p){h.operation(function(){Oo(h,t.commands.undo,p.repeat)(),h.setCursor(Ee(h,h.getCursor("start")))})},redo:function(h,p){Oo(h,t.commands.redo,p.repeat)()},setRegister:function(h,p,b){b.inputState.registerName=p.selectedCharacter},insertRegister:function(h,p,b){var y=p.selectedCharacter,v=q.registerController.getRegister(y),k=v&&v.toString();k&&h.replaceSelection(k)},oneNormalCommand:function(h,p,b){go(h,!0),b.insertModeReturn=!0,t.on(h,"vim-command-done",function y(){b.visualMode||(b.insertModeReturn&&(b.insertModeReturn=!1,b.insertMode||ce.enterInsertMode(h,{},b)),t.off(h,"vim-command-done",y))})},setMark:function(h,p,b){var y=p.selectedCharacter;y&&kn(h,b,y,h.getCursor())},replace:function(h,p,b){var y=p.selectedCharacter||"",v=h.getCursor(),k,Q,X=h.listSelections();if(b.visualMode)v=h.getCursor("start"),Q=h.getCursor("end");else{var R=h.getLine(v.line);k=v.ch+p.repeat,k>R.length&&(k=R.length),Q=new e(v.line,k)}var U=i(h,v,Q);if(v=U.start,Q=U.end,y==`
`)b.visualMode||h.replaceRange("",v,Q),(t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent)(h);else{var M=h.getRange(v,Q);if(M=M.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y),M=M.replace(/[^\n]/g,y),b.visualBlock){var G=new Array(h.getOption("tabSize")+1).join(" ");M=h.getSelection(),M=M.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y);var ee=M.replace(/\t/g,G).replace(/[^\n]/g,y).split(`
`);h.replaceSelections(ee)}else h.replaceRange(M,v,Q);b.visualMode?(v=at(X[0].anchor,X[0].head)?X[0].anchor:X[0].head,h.setCursor(v),Yr(h,!1)):h.setCursor(Ae(Q,0,-1))}},incrementNumberToken:function(h,p){for(var b=h.getCursor(),y=h.getLine(b.line),v=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi,k,Q,X,R;(k=v.exec(y))!==null&&(Q=k.index,X=Q+k[0].length,!(b.ch<X)););if(!(!p.backtrack&&X<=b.ch)){if(k){var U=k[2]||k[4],M=k[3]||k[5],G=p.increase?1:-1,ee={"0b":2,0:8,"":10,"0x":16}[U.toLowerCase()],Y=parseInt(k[1]+M,ee)+G*p.repeat;R=Y.toString(ee);var W=U?new Array(M.length-R.length+1+k[1].length).join("0"):"";R.charAt(0)==="-"?R="-"+U+W+R.substr(1):R=U+W+R;var oe=new e(b.line,Q),fe=new e(b.line,X);h.replaceRange(R,oe,fe)}else return;h.setCursor(new e(b.line,Q+R.length-1))}},repeatLastEdit:function(h,p,b){var y=b.lastEditInputState;if(y){var v=p.repeat;v&&p.repeatIsExplicit?y.repeatOverride=v:v=y.repeatOverride||v,B2(h,b,v,!1)}},indent:function(h,p){h.indentLine(h.getCursor().line,p.indentRight)},exitInsertMode:function(h,p){go(h)}};function ye(h,p){ce[h]=p}function Ee(h,p,b){var y=h.state.vim,v=y.insertMode||y.visualMode,k=Math.min(Math.max(h.firstLine(),p.line),h.lastLine()),Q=h.getLine(k),X=Q.length-1+ +!!v,R=Math.min(Math.max(0,p.ch),X),U=Q.charCodeAt(R);if(56320<=U&&U<=57343){var M=1;b&&b.line==k&&b.ch>R&&(M=-1),R+=M,R>X&&(R-=2)}return new e(k,R)}function je(h){var p={};for(var b in h)h.hasOwnProperty(b)&&(p[b]=h[b]);return p}function Ae(h,p,b){return typeof p=="object"&&(b=p.ch,p=p.line),new e(h.line+p,h.ch+b)}function Yi(h,p,b,y){y.operator&&(b="operatorPending");for(var v,k=[],Q=[],X=ne?p.length-n:0,R=X;R<p.length;R++){var U=p[R];b=="insert"&&U.context!="insert"||U.context&&U.context!=b||y.operator&&U.type=="action"||!(v=wn(h,U.keys))||(v=="partial"&&k.push(U),v=="full"&&Q.push(U))}return{partial:k.length&&k,full:Q.length&&Q}}function wn(h,p){let b=p.slice(-11)=="<character>",y=p.slice(-10)=="<register>";if(b||y){var v=p.length-(b?11:10),k=h.slice(0,v),Q=p.slice(0,v);return k==Q&&h.length>v?"full":Q.indexOf(k)==0?"partial":!1}else return h==p?"full":p.indexOf(h)==0?"partial":!1}function Qr(h){var p=/^.*(<[^>]+>)$/.exec(h),b=p?p[1]:h.slice(-1);if(b.length>1)switch(b){case"<CR>":case"<S-CR>":b=`
`;break;case"<Space>":case"<S-Space>":b=" ";break;default:b="";break}return b}function Oo(h,p,b){return function(){for(var y=0;y<b;y++)p(h)}}function rt(h){return new e(h.line,h.ch)}function mt(h,p){return h.ch==p.ch&&h.line==p.line}function at(h,p){return h.line<p.line||h.line==p.line&&h.ch<p.ch}function Pt(h,p){return arguments.length>2&&(p=Pt.apply(void 0,Array.prototype.slice.call(arguments,1))),at(h,p)?h:p}function po(h,p){return arguments.length>2&&(p=po.apply(void 0,Array.prototype.slice.call(arguments,1))),at(h,p)?p:h}function w2(h,p,b){var y=at(h,p),v=at(p,b);return y&&v}function ri(h,p){return h.getLine(p).length}function hg(h){return h.trim?h.trim():h.replace(/^\s+|\s+$/g,"")}function KI(h){return h.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}function JI(h,p,b){var y=ri(h,p),v=new Array(b-y+1).join(" ");h.setCursor(new e(p,y)),h.replaceRange(v,h.getCursor())}function k2(h,p){var b=[],y=h.listSelections(),v=rt(h.clipPos(p)),k=!mt(p,v),Q=h.getCursor("head"),X=e7(y,Q),R=mt(y[X].head,y[X].anchor),U=y.length-1,M=U-X>X?U:0,G=y[M].anchor,ee=Math.min(G.line,v.line),Y=Math.max(G.line,v.line),W=G.ch,oe=v.ch,fe=y[M].head.ch-W,$e=oe-W;fe>0&&$e<=0?(W++,k||oe--):fe<0&&$e>=0?(W--,R||oe++):fe<0&&$e==-1&&(W--,oe++);for(var Ce=ee;Ce<=Y;Ce++){var Re={anchor:new e(Ce,W),head:new e(Ce,oe)};b.push(Re)}return h.setSelections(b),p.ch=oe,G.ch=W,G}function S2(h,p,b){for(var y=[],v=0;v<b;v++){var k=Ae(p,v,0);y.push({anchor:k,head:k})}h.setSelections(y,0)}function e7(h,p,b){for(var y=0;y<h.length;y++){var v=b!="head"&&mt(h[y].anchor,p),k=b!="anchor"&&mt(h[y].head,p);if(v||k)return y}return-1}function t7(h,p){var b=p.lastSelection,y=function(){var k=h.listSelections(),Q=k[0],X=k[k.length-1],R=at(Q.anchor,Q.head)?Q.anchor:Q.head,U=at(X.anchor,X.head)?X.head:X.anchor;return[R,U]},v=function(){var k=h.getCursor(),Q=h.getCursor(),X=b.visualBlock;if(X){var R=X.width,U=X.height;Q=new e(k.line+U,k.ch+R);for(var M=[],G=k.line;G<Q.line;G++){var ee=new e(G,k.ch),Y=new e(G,Q.ch),W={anchor:ee,head:Y};M.push(W)}h.setSelections(M)}else{var oe=b.anchorMark.find(),fe=b.headMark.find(),$e=fe.line-oe.line,Ce=fe.ch-oe.ch;Q={line:Q.line+$e,ch:$e?Q.ch:Ce+Q.ch},b.visualLine&&(k=new e(k.line,0),Q=new e(Q.line,ri(h,Q.line))),h.setSelection(k,Q)}return[k,Q]};return p.visualMode?y():v()}function T2(h,p){var b=p.sel.anchor,y=p.sel.head;p.lastPastedText&&(y=h.posFromIndex(h.indexFromPos(b)+p.lastPastedText.length),p.lastPastedText=null),p.lastSelection={anchorMark:h.setBookmark(b),headMark:h.setBookmark(y),anchor:rt(b),head:rt(y),visualMode:p.visualMode,visualLine:p.visualLine,visualBlock:p.visualBlock}}function i7(h,p,b,y){var v=h.state.vim.sel,k=y?p:v.head,Q=y?p:v.anchor,X;return at(b,p)&&(X=b,b=p,p=X),at(k,Q)?(k=Pt(p,k),Q=po(Q,b)):(Q=Pt(p,Q),k=po(k,b),k=Ae(k,0,-1),k.ch==-1&&k.line!=h.firstLine()&&(k=new e(k.line-1,ri(h,k.line-1)))),[Q,k]}function Qa(h,p,b){var y=h.state.vim;p=p||y.sel,b||(b=y.visualLine?"line":y.visualBlock?"block":"char");var v=dg(h,p,b);h.setSelections(v.ranges,v.primary)}function dg(h,p,b,y){var v=rt(p.head),k=rt(p.anchor);if(b=="char"){var Q=!y&&!at(p.head,p.anchor)?1:0,X=at(p.head,p.anchor)?1:0;return v=Ae(p.head,0,Q),k=Ae(p.anchor,0,X),{ranges:[{anchor:k,head:v}],primary:0}}else if(b=="line"){if(at(p.head,p.anchor))v.ch=0,k.ch=ri(h,k.line);else{k.ch=0;var R=h.lastLine();v.line>R&&(v.line=R),v.ch=ri(h,v.line)}return{ranges:[{anchor:k,head:v}],primary:0}}else if(b=="block"){var U=Math.min(k.line,v.line),M=k.ch,G=Math.max(k.line,v.line),ee=v.ch;M<ee?ee+=1:M+=1;for(var Y=G-U+1,W=v.line==U?0:Y-1,oe=[],fe=0;fe<Y;fe++)oe.push({anchor:new e(U+fe,M),head:new e(U+fe,ee)});return{ranges:oe,primary:W}}throw"never happens"}function r7(h){var p=h.getCursor("head");return h.getSelection().length==1&&(p=Pt(p,h.getCursor("anchor"))),p}function Yr(h,p){var b=h.state.vim;p!==!1&&h.setCursor(Ee(h,b.sel.head)),T2(h,b),b.visualMode=!1,b.visualLine=!1,b.visualBlock=!1,b.insertMode||t.signal(h,"vim-mode-change",{mode:"normal"})}function n7(h,p,b){var y=h.getRange(p,b);if(/\n\s*$/.test(y)){var v=y.split(`
`);v.pop();for(var k=v.pop();v.length>0&&k&&$(k);k=v.pop())b.line--,b.ch=0;k?(b.line--,b.ch=ri(h,b.line)):b.ch=0}}function o7(h,p,b){p.ch=0,b.ch=0,b.line++}function Fr(h){if(!h)return 0;var p=h.search(/\S/);return p==-1?h.length:p}function Og(h,{inclusive:p,innerWord:b,bigWord:y,noSymbol:v,multiline:k},Q){var X=Q||r7(h),R=h.getLine(X.line),U=R,M=X.line,G=M,ee=X.ch,Y,W=v?f[0]:d[0];if(b&&/\s/.test(R.charAt(ee)))W=function(ft){return/\s/.test(ft)};else{for(;!W(R.charAt(ee));)if(ee++,ee>=R.length){if(!k)return null;ee--,Y=C2(h,X,!0,y,!0);break}y?W=d[0]:(W=f[0],W(R.charAt(ee))||(W=f[1]))}for(var oe=ee,fe=ee;W(R.charAt(fe))&&fe>=0;)fe--;if(fe++,Y)oe=Y.to,G=Y.line,U=h.getLine(G),!U&&oe==0&&oe++;else for(;W(R.charAt(oe))&&oe<R.length;)oe++;if(p){var $e=oe,Ce=X.ch<=fe&&/\s/.test(R.charAt(X.ch));if(!Ce)for(;/\s/.test(U.charAt(oe))&&oe<U.length;)oe++;if($e==oe||Ce){for(var Re=fe;/\s/.test(R.charAt(fe-1))&&fe>0;)fe--;!fe&&!Ce&&(fe=Re)}}return{start:new e(M,fe),end:new e(G,oe)}}function s7(h,p,b){var y=p;if(!t.findMatchingTag||!t.findEnclosingTag)return{start:y,end:y};var v=t.findMatchingTag(h,p)||t.findEnclosingTag(h,p);return!v||!v.open||!v.close?{start:y,end:y}:b?{start:v.open.from,end:v.close.to}:{start:v.open.to,end:v.close.from}}function E2(h,p,b){mt(p,b)||q.jumpList.add(h,p,b)}function P2(h,p){q.lastCharacterSearch.increment=h,q.lastCharacterSearch.forward=p.forward,q.lastCharacterSearch.selectedCharacter=p.selectedCharacter}var a7={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},Q2={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 p=h.lastCh==="*"&&h.nextCh==="/";return h.lastCh=h.nextCh,p}},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 p=h.lineText.match(/^#(\w+)/)[1];if(p==="endif"){if(h.forward&&h.depth===0)return!0;h.depth++}else if(p==="if"){if(!h.forward&&h.depth===0)return!0;h.depth--}if(p==="else"&&h.depth===0)return!0}return!1}}};function l7(h,p,b,y){var v=rt(h.getCursor()),k=b?1:-1,Q=b?h.lineCount():-1,X=v.ch,R=v.line,U=h.getLine(R),M={lineText:U,nextCh:U.charAt(X),lastCh:null,index:X,symb:y,reverseSymb:(b?{")":"(","}":"{"}:{"(":")","{":"}"})[y],forward:b,depth:0,curMoveThrough:!1},G=a7[y];if(!G)return v;var ee=Q2[G].init,Y=Q2[G].isComplete;for(ee&&ee(M);R!==Q&&p;){if(M.index+=k,M.nextCh=M.lineText.charAt(M.index),!M.nextCh){if(R+=k,M.lineText=h.getLine(R)||"",k>0)M.index=0;else{var W=M.lineText.length;M.index=W>0?W-1:0}M.nextCh=M.lineText.charAt(M.index)}Y(M)&&(v.line=R,v.ch=M.index,p--)}return M.nextCh||M.curMoveThrough?new e(R,M.index):v}function C2(h,p,b,y,v){var k=p.line,Q=p.ch,X=h.getLine(k),R=b?1:-1,U=y?d:f;if(v&&X==""){if(k+=R,X=h.getLine(k),!w(h,k))return null;Q=b?0:X.length}for(;;){if(v&&X=="")return{from:0,to:0,line:k};for(var M=R>0?X.length:-1,G=M,ee=M;Q!=M;){for(var Y=!1,W=0;W<U.length&&!Y;++W)if(U[W](X.charAt(Q))){for(G=Q;Q!=M&&U[W](X.charAt(Q));)Q+=R;if(ee=Q,Y=G!=ee,G==p.ch&&k==p.line&&ee==G+R)continue;return{from:Math.min(G,ee+1),to:Math.max(G,ee),line:k}}Y||(Q+=R)}if(k+=R,!w(h,k))return null;X=h.getLine(k),Q=R>0?0:X.length}}function c7(h,p,b,y,v,k){var Q=rt(p),X=[];(y&&!v||!y&&v)&&b++;for(var R=!(y&&v),U=0;U<b;U++){var M=C2(h,p,y,k,R);if(!M){var G=ri(h,h.lastLine());X.push(y?{line:h.lastLine(),from:G,to:G}:{line:0,from:0,to:0});break}X.push(M),p=new e(M.line,y?M.to-1:M.from)}var ee=X.length!=b,Y=X[0],W=X.pop();return y&&!v?(!ee&&(Y.from!=Q.ch||Y.line!=Q.line)&&(W=X.pop()),W&&new e(W.line,W.from)):y&&v?W&&new e(W.line,W.to-1):!y&&v?(!ee&&(Y.to!=Q.ch||Y.line!=Q.line)&&(W=X.pop()),W&&new e(W.line,W.to)):W&&new e(W.line,W.from)}function _2(h,p,b,y,v){var k=p,Q=new e(k.line+b.repeat-1,1/0),X=h.clipPos(Q);return X.ch--,v||(y.lastHPos=1/0,y.lastHSPos=h.charCoords(X,"div").left),Q}function pg(h,p,b,y,v){if(y){for(var k=v||h.getCursor(),Q=k.ch,X,R=0;R<p;R++){var U=h.getLine(k.line);if(X=f7(Q,U,y,b,!0),X==-1)return;Q=X}if(X!=null)return new e(h.getCursor().line,X)}}function u7(h,p){var b=h.getCursor().line;return Ee(h,new e(b,p-1))}function kn(h,p,b,y){!le(b,O)&&!x.test(b)||(p.marks[b]&&p.marks[b].clear(),p.marks[b]=h.setBookmark(y))}function f7(h,p,b,y,v){var k;return y?(k=p.indexOf(b,h+1),k!=-1&&!v&&(k-=1)):(k=p.lastIndexOf(b,h-1),k!=-1&&!v&&(k+=1)),k}function $2(h,p,b,y,v){var k=p.line,Q=h.firstLine(),X=h.lastLine(),R,U,M=k;function G(fe){return!h.getLine(fe)}function ee(fe,$e,Ce){return Ce?G(fe)!=G(fe+$e):!G(fe)&&G(fe+$e)}if(y){for(;Q<=M&&M<=X&&b>0;)ee(M,y)&&b--,M+=y;return{start:new e(M,0),end:p}}var Y=h.state.vim;if(Y.visualLine&&ee(k,1,!0)){var W=Y.sel.anchor;ee(W.line,-1,!0)&&(!v||W.line!=k)&&(k+=1)}var oe=G(k);for(M=k;M<=X&&b;M++)ee(M,1,!0)&&(!v||G(M)!=oe)&&b--;for(U=new e(M,0),M>X&&!oe?oe=!0:v=!1,M=k;M>Q&&!((!v||G(M)==oe||M==k)&&ee(M,-1,!0));M--);return R=new e(M,0),{start:R,end:U}}function A2(h,p,b,y,v){function k(U){U.pos+U.dir<0||U.pos+U.dir>=U.line.length?U.line=null:U.pos+=U.dir}function Q(U,M,G,ee){var Y=U.getLine(M),W={line:Y,ln:M,pos:G,dir:ee};if(W.line==="")return{ln:W.ln,pos:W.pos};var oe=W.pos;for(k(W);W.line!==null;){if(oe=W.pos,j(W.line[W.pos]))if(v){for(k(W);W.line!==null&&$(W.line[W.pos]);)oe=W.pos,k(W);return{ln:W.ln,pos:oe+1}}else return{ln:W.ln,pos:W.pos+1};k(W)}return{ln:W.ln,pos:oe+1}}function X(U,M,G,ee){var Y=U.getLine(M),W={line:Y,ln:M,pos:G,dir:ee};if(W.line==="")return{ln:W.ln,pos:W.pos};var oe=W.pos;for(k(W);W.line!==null;){if(!$(W.line[W.pos])&&!j(W.line[W.pos]))oe=W.pos;else if(j(W.line[W.pos]))return v?$(W.line[W.pos+1])?{ln:W.ln,pos:W.pos+1}:{ln:W.ln,pos:oe}:{ln:W.ln,pos:oe};k(W)}return W.line=Y,v&&$(W.line[W.pos])?{ln:W.ln,pos:W.pos}:{ln:W.ln,pos:oe}}for(var R={ln:p.line,pos:p.ch};b>0;)y<0?R=X(h,R.ln,R.pos,y):R=Q(h,R.ln,R.pos,y),b--;return new e(R.ln,R.pos)}function h7(h,p,b,y){function v(R,U){if(U.pos+U.dir<0||U.pos+U.dir>=U.line.length){if(U.ln+=U.dir,!w(R,U.ln)){U.line=null,U.ln=null,U.pos=null;return}U.line=R.getLine(U.ln),U.pos=U.dir>0?0:U.line.length-1}else U.pos+=U.dir}function k(R,U,M,G){var fe=R.getLine(U),ee=fe==="",Y={line:fe,ln:U,pos:M,dir:G},W={ln:Y.ln,pos:Y.pos},oe=Y.line==="";for(v(R,Y);Y.line!==null;){if(W.ln=Y.ln,W.pos=Y.pos,Y.line===""&&!oe)return{ln:Y.ln,pos:Y.pos};if(ee&&Y.line!==""&&!$(Y.line[Y.pos]))return{ln:Y.ln,pos:Y.pos};j(Y.line[Y.pos])&&!ee&&(Y.pos===Y.line.length-1||$(Y.line[Y.pos+1]))&&(ee=!0),v(R,Y)}var fe=R.getLine(W.ln);W.pos=0;for(var $e=fe.length-1;$e>=0;--$e)if(!$(fe[$e])){W.pos=$e;break}return W}function Q(R,U,M,G){var oe=R.getLine(U),ee={line:oe,ln:U,pos:M,dir:G},Y={ln:ee.ln,pos:null},W=ee.line==="";for(v(R,ee);ee.line!==null;){if(ee.line===""&&!W)return Y.pos!==null?Y:{ln:ee.ln,pos:ee.pos};if(j(ee.line[ee.pos])&&Y.pos!==null&&!(ee.ln===Y.ln&&ee.pos+1===Y.pos))return Y;ee.line!==""&&!$(ee.line[ee.pos])&&(W=!1,Y={ln:ee.ln,pos:ee.pos}),v(R,ee)}var oe=R.getLine(Y.ln);Y.pos=0;for(var fe=0;fe<oe.length;++fe)if(!$(oe[fe])){Y.pos=fe;break}return Y}for(var X={ln:p.line,pos:p.ch};b>0;)y<0?X=Q(h,X.ln,X.pos,y):X=k(h,X.ln,X.pos,y),b--;return new e(X.ln,X.pos)}function X2(h,p,b,y){var v=p,k={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[b],Q={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[b],X=h.getLine(v.line).charAt(v.ch),R=X===Q?1:0,U=h.scanForBracket(new e(v.line,v.ch+R),-1,void 0,{bracketRegex:k}),M=h.scanForBracket(new e(v.line,v.ch+R),1,void 0,{bracketRegex:k});if(!U||!M)return null;var G=U.pos,ee=M.pos;if(G.line==ee.line&&G.ch>ee.ch||G.line>ee.line){var Y=G;G=ee,ee=Y}return y?ee.ch+=1:G.ch+=1,{start:G,end:ee}}function d7(h,p,b,y){var v=rt(p),k=h.getLine(v.line),Q=k.split(""),X,R,U,M,G=Q.indexOf(b);if(v.ch<G)v.ch=G;else if(G<v.ch&&Q[v.ch]==b){var ee=/string/.test(h.getTokenTypeAt(Ae(p,0,1))),Y=/string/.test(h.getTokenTypeAt(p)),W=ee&&!Y;W||(R=v.ch,--v.ch)}if(Q[v.ch]==b&&!R)X=v.ch+1;else for(U=v.ch;U>-1&&!X;U--)Q[U]==b&&(X=U+1);if(X&&!R)for(U=X,M=Q.length;U<M&&!R;U++)Q[U]==b&&(R=U);return!X||!R?{start:v,end:v}:(y&&(--X,++R),{start:new e(v.line,X),end:new e(v.line,R)})}N("pcre",!0,"boolean");class O7{getQuery(){return q.query}setQuery(p){q.query=p}getOverlay(){return this.searchOverlay}setOverlay(p){this.searchOverlay=p}isReversed(){return q.isReversed}setReversed(p){q.isReversed=p}getScrollbarAnnotate(){return this.annotate}setScrollbarAnnotate(p){this.annotate=p}}function Cr(h){var p=h.state.vim;return p.searchState_||(p.searchState_=new O7)}function p7(h){return R2(h,"/")}function m7(h){return L2(h,"/")}function R2(h,p){var b=L2(h,p)||[];if(!b.length)return[];var y=[];if(b[0]===0){for(var v=0;v<b.length;v++)typeof b[v]=="number"&&y.push(h.substring(b[v]+1,b[v+1]));return y}}function L2(h,p){p||(p="/");for(var b=!1,y=[],v=0;v<h.length;v++){var k=h.charAt(v);!b&&k==p&&y.push(v),b=!b&&k=="\\"}return y}function g7(h){for(var p="|(){",b="}",y=!1,v=[],k=-1;k<h.length;k++){var Q=h.charAt(k)||"",X=h.charAt(k+1)||"",R=X&&p.indexOf(X)!=-1;y?((Q!=="\\"||!R)&&v.push(Q),y=!1):Q==="\\"?(y=!0,X&&b.indexOf(X)!=-1&&(R=!0),(!R||X==="\\")&&v.push(Q)):(v.push(Q),R&&X!=="\\"&&v.push("\\"))}return v.join("")}var I2={"\\n":`
`,"\\r":"\r","\\t":" "};function b7(h){for(var p=!1,b=[],y=-1;y<h.length;y++){var v=h.charAt(y)||"",k=h.charAt(y+1)||"";I2[v+k]?(b.push(I2[v+k]),y++):p?(b.push(v),p=!1):v==="\\"?(p=!0,I(k)||k==="$"?b.push("$"):k!=="/"&&k!=="\\"&&b.push("\\")):(v==="$"&&b.push("$"),b.push(v),k==="/"&&b.push("\\"))}return b.join("")}var z2={"\\/":"/","\\\\":"\\","\\n":`
`,"\\r":"\r","\\t":" ","\\&":"&"};function y7(h){for(var p=new t.StringStream(h),b=[];!p.eol();){for(;p.peek()&&p.peek()!="\\";)b.push(p.next());var y=!1;for(var v in z2)if(p.match(v,!0)){y=!0,b.push(z2[v]);break}y||b.push(p.next())}return b.join("")}function x7(h,p,b){var y=q.registerController.getRegister("/");if(y.setText(h),h instanceof RegExp)return h;var v=m7(h),k,Q;if(!v.length)k=h;else{k=h.substring(0,v[0]);var X=h.substring(v[0]);Q=X.indexOf("i")!=-1}if(!k)return null;ue("pcre")||(k=g7(k)),b&&(p=/^[^A-Z]*$/.test(k));var R=new RegExp(k,p||Q?"im":"m");return R}function mo(h){typeof h=="string"&&(h=document.createElement(h));for(var p,b=1;b<arguments.length;b++)if(p=arguments[b])if(typeof p!="object"&&(p=document.createTextNode(p)),p.nodeType)h.appendChild(p);else for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(y[0]==="$"?h.style[y.slice(1)]=p[y]:h.setAttribute(y,p[y]));return h}function ut(h,p){var b=mo("div",{$color:"red",$whiteSpace:"pre",class:"cm-vim-message"},p);h.openNotification?h.openNotification(b,{bottom:!0,duration:5e3}):alert(b.innerText)}function v7(h,p){return mo("div",{$display:"flex"},mo("span",{$fontFamily:"monospace",$whiteSpace:"pre",$flex:1},h,mo("input",{type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false",$width:"100%"})),p&&mo("span",{$color:"#888"},p))}function rc(h,p){if(V.length){p.value||(p.value=""),z=p;return}var b=v7(p.prefix,p.desc);if(h.openDialog)h.openDialog(b,p.onClose,{onKeyDown:p.onKeyDown,onKeyUp:p.onKeyUp,bottom:!0,selectValueOnOpen:!1,value:p.value});else{var y="";typeof p.prefix!="string"&&p.prefix&&(y+=p.prefix.textContent),p.desc&&(y+=" "+p.desc),p.onClose(prompt(y,""))}}function w7(h,p){if(h instanceof RegExp&&p instanceof RegExp){for(var b=["global","multiline","ignoreCase","source"],y=0;y<b.length;y++){var v=b[y];if(h[v]!==p[v])return!1}return!0}return!1}function nc(h,p,b,y){if(p){var v=Cr(h),k=x7(p,!!b,!!y);if(k)return D2(h,k),w7(k,v.getQuery())||v.setQuery(k),k}}function k7(h){if(h.source.charAt(0)=="^")var p=!0;return{token:function(b){if(p&&!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 oc=0;function D2(h,p){clearTimeout(oc);var b=Cr(h);b.highlightTimeout=oc,oc=setTimeout(function(){if(h.state.vim){var y=Cr(h);y.highlightTimeout=null;var v=y.getOverlay();(!v||p!=v.query)&&(v&&h.removeOverlay(v),v=k7(p),h.addOverlay(v),h.showMatchesOnScrollbar&&(y.getScrollbarAnnotate()&&y.getScrollbarAnnotate().clear(),y.setScrollbarAnnotate(h.showMatchesOnScrollbar(p))),y.setOverlay(v))}},50)}function U2(h,p,b,y){return h.operation(function(){y===void 0&&(y=1);for(var v=h.getCursor(),k=h.getSearchCursor(b,v),Q=0;Q<y;Q++){var X=k.find(p);if(Q==0&&X&&mt(k.from(),v)){var R=p?k.from():k.to();X=k.find(p),X&&!X[0]&&mt(k.from(),R)&&h.getLine(R.line).length==R.ch&&(X=k.find(p))}if(!X&&(k=h.getSearchCursor(b,p?new e(h.lastLine()):new e(h.firstLine(),0)),!k.find(p)))return}return k.from()})}function S7(h,p,b,y,v){return h.operation(function(){y===void 0&&(y=1);var k=h.getCursor(),Q=h.getSearchCursor(b,k),X=Q.find(!p);!v.visualMode&&X&&mt(Q.from(),k)&&Q.find(!p);for(var R=0;R<y;R++)if(X=Q.find(p),!X&&(Q=h.getSearchCursor(b,p?new e(h.lastLine()):new e(h.firstLine(),0)),!Q.find(p)))return;return[Q.from(),Q.to()]})}function mg(h){var p=Cr(h);p.highlightTimeout&&(clearTimeout(p.highlightTimeout),p.highlightTimeout=null),h.removeOverlay(Cr(h).getOverlay()),p.setOverlay(null),p.getScrollbarAnnotate()&&(p.getScrollbarAnnotate().clear(),p.setScrollbarAnnotate(null))}function T7(h,p,b){return typeof h!="number"&&(h=h.line),p instanceof Array?le(h,p):typeof b=="number"?h>=p&&h<=b:h==p}function gg(h){var p=h.getScrollInfo(),b=6,y=10,v=h.coordsChar({left:0,top:b+p.top},"local"),k=p.clientHeight-y+p.top,Q=h.coordsChar({left:0,top:k},"local");return{top:v.line,bottom:Q.line}}function bh(h,p,b){if(b=="'"||b=="`")return q.jumpList.find(h,-1)||new e(0,0);if(b==".")return N2(h);var y=p.marks[b];return y&&y.find()}function N2(h){if(h.getLastEditEnd)return h.getLastEditEnd();for(var p=h.doc.history.done,b=p.length;b--;)if(p[b].changes)return rt(p[b].changes[0].to)}class E7{constructor(){this.commandMap_,this.buildCommandMap_()}processCommand(p,b,y){var v=this;p.operation(function(){p.curOp.isVimOp=!0,v._processCommand(p,b,y)})}_processCommand(p,b,y){var v=p.state.vim,k=q.registerController.getRegister(":"),Q=k.toString(),X=new t.StringStream(b);k.setText(b);var R=y||{};R.input=b;try{this.parseInput_(p,X,R)}catch(G){throw ut(p,G+""),G}v.visualMode&&Yr(p);var U,M;if(!R.commandName)R.line!==void 0&&(M="move");else if(U=this.matchCommand_(R.commandName),U){if(M=U.name,U.excludeFromCommandHistory&&k.setText(Q),this.parseCommandArgs_(X,R,U),U.type=="exToKey"){Ze(p,U.toKeys,U);return}else if(U.type=="exToEx"){this.processCommand(p,U.toInput);return}}if(!M){ut(p,'Not an editor command ":'+b+'"');return}try{M2[M](p,R),(!U||!U.possiblyAsync)&&R.callback&&R.callback()}catch(G){throw ut(p,G+""),G}}parseInput_(p,b,y){var k,Q;b.eatWhile(":"),b.eat("%")?(y.line=p.firstLine(),y.lineEnd=p.lastLine()):(y.line=this.parseLineSpec_(p,b),y.line!==void 0&&b.eat(",")&&(y.lineEnd=this.parseLineSpec_(p,b))),y.line==null?p.state.vim.visualMode?(y.selectionLine=(k=bh(p,p.state.vim,"<"))==null?void 0:k.line,y.selectionLineEnd=(Q=bh(p,p.state.vim,">"))==null?void 0:Q.line):y.selectionLine=p.getCursor().line:(y.selectionLine=y.line,y.selectionLineEnd=y.lineEnd);var v=b.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return v?y.commandName=v[1]:y.commandName=b.match(/.*/)[0],y}parseLineSpec_(p,b){var y=b.match(/^(\d+)/);if(y)return parseInt(y[1],10)-1;switch(b.next()){case".":return this.parseLineSpecOffset_(b,p.getCursor().line);case"$":return this.parseLineSpecOffset_(b,p.lastLine());case"'":var v=b.next(),k=bh(p,p.state.vim,v);if(!k)throw new Error("Mark not set");return this.parseLineSpecOffset_(b,k.line);case"-":case"+":return b.backUp(1),this.parseLineSpecOffset_(b,p.getCursor().line);default:b.backUp(1);return}}parseLineSpecOffset_(p,b){var y=p.match(/^([+-])?(\d+)/);if(y){var v=parseInt(y[2],10);y[1]=="-"?b-=v:b+=v}return b}parseCommandArgs_(p,b,y){if(!p.eol()){b.argString=p.match(/.*/)[0];var v=y.argDelimiter||/\s+/,k=hg(b.argString).split(v);k.length&&k[0]&&(b.args=k)}}matchCommand_(p){for(var b=p.length;b>0;b--){var y=p.substring(0,b);if(this.commandMap_[y]){var v=this.commandMap_[y];if(v.name.indexOf(p)===0)return v}}return null}buildCommandMap_(){this.commandMap_={};for(var p=0;p<o.length;p++){var b=o[p],y=b.shortName||b.name;this.commandMap_[y]=b}}map(p,b,y,v){if(p!=":"&&p.charAt(0)==":"){if(y)throw Error("Mode not supported for ex mappings");var k=p.substring(1);b!=":"&&b.charAt(0)==":"?this.commandMap_[k]={name:k,type:"exToEx",toInput:b.substring(1),user:!0}:this.commandMap_[k]={name:k,type:"exToKey",toKeys:b,user:!0}}else{var Q={keys:p,type:"keyToKey",toKeys:b,noremap:!!v};y&&(Q.context=y),r.unshift(Q)}}unmap(p,b){if(p!=":"&&p.charAt(0)==":"){if(b)throw Error("Mode not supported for ex mappings");var y=p.substring(1);if(this.commandMap_[y]&&this.commandMap_[y].user)return delete this.commandMap_[y],!0}else for(var v=p,k=0;k<r.length;k++)if(v==r[k].keys&&r[k].context===b)return r.splice(k,1),!0}}var M2={colorscheme:function(h,p){if(!p.args||p.args.length<1){ut(h,h.getOption("theme"));return}h.setOption("theme",p.args[0])},map:function(h,p,b,y){var v=p.args;if(!v||v.length<2){h&&ut(h,"Invalid mapping: "+p.input);return}_r.map(v[0],v[1],b,y)},imap:function(h,p){this.map(h,p,"insert")},nmap:function(h,p){this.map(h,p,"normal")},vmap:function(h,p){this.map(h,p,"visual")},omap:function(h,p){this.map(h,p,"operatorPending")},noremap:function(h,p){this.map(h,p,void 0,!0)},inoremap:function(h,p){this.map(h,p,"insert",!0)},nnoremap:function(h,p){this.map(h,p,"normal",!0)},vnoremap:function(h,p){this.map(h,p,"visual",!0)},onoremap:function(h,p){this.map(h,p,"operatorPending",!0)},unmap:function(h,p,b){var y=p.args;(!y||y.length<1||!_r.unmap(y[0],b))&&h&&ut(h,"No such mapping: "+p.input)},mapclear:function(h,p){P.mapclear()},imapclear:function(h,p){P.mapclear("insert")},nmapclear:function(h,p){P.mapclear("normal")},vmapclear:function(h,p){P.mapclear("visual")},omapclear:function(h,p){P.mapclear("operatorPending")},move:function(h,p){Br.processCommand(h,h.state.vim,{keys:"",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:p.line+1})},set:function(h,p){var b=p.args,y=p.setCfg||{};if(!b||b.length<1){h&&ut(h,"Invalid mapping: "+p.input);return}var v=b[0].split("="),k=v.shift()||"",Q=v.length>0?v.join("="):void 0,X=!1,R=!1;if(k.charAt(k.length-1)=="?"){if(Q)throw Error("Trailing characters: "+p.argString);k=k.substring(0,k.length-1),X=!0}else k.charAt(k.length-1)=="!"&&(k=k.substring(0,k.length-1),R=!0);Q===void 0&&k.substring(0,2)=="no"&&(k=k.substring(2),Q=!1);var U=F[k]&&F[k].type=="boolean";if(U&&(R?Q=!ue(k,h,y):Q==null&&(Q=!0)),!U&&Q===void 0||X){var M=ue(k,h,y);M instanceof Error?ut(h,M.message):M===!0||M===!1?ut(h," "+(M?"":"no")+k):ut(h," "+k+"="+M)}else{var G=ie(k,Q,h,y);G instanceof Error&&ut(h,G.message)}},setlocal:function(h,p){p.setCfg={scope:"local"},this.set(h,p)},setglobal:function(h,p){p.setCfg={scope:"global"},this.set(h,p)},registers:function(h,p){var b=p.args,y=q.registerController.registers,v=`----------Registers----------
`;if(b)for(var X=b.join(""),R=0;R<X.length;R++){var k=X.charAt(R);if(q.registerController.isValidRegister(k)){var U=y[k]||new Bi;v+='"'+k+" "+U.toString()+`
`}}else for(var k in y){var Q=y[k].toString();Q.length&&(v+='"'+k+" "+Q+`
`)}ut(h,v)},sort:function(h,p){var b,y,v,k,Q;function X(){if(p.argString){var Ke=new t.StringStream(p.argString);if(Ke.eat("!")&&(b=!0),Ke.eol())return;if(!Ke.eatSpace())return"Invalid arguments";var tt=Ke.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!tt||!Ke.eol())return"Invalid arguments";if(tt[1]){y=tt[1].indexOf("i")!=-1,v=tt[1].indexOf("u")!=-1;var Si=tt[1].indexOf("d")!=-1||tt[1].indexOf("n")!=-1,oi=tt[1].indexOf("x")!=-1,Kt=tt[1].indexOf("o")!=-1;if(Number(Si)+Number(oi)+Number(Kt)>1)return"Invalid arguments";k=Si&&"decimal"||oi&&"hex"||Kt&&"octal"}tt[2]&&(Q=new RegExp(tt[2].substr(1,tt[2].length-2),y?"i":""))}}var R=X();if(R){ut(h,R+": "+p.argString);return}var U=p.line||h.firstLine(),M=p.lineEnd||p.line||h.lastLine();if(U==M)return;var G=new e(U,0),ee=new e(M,ri(h,M)),Y=h.getRange(G,ee).split(`
`),W=k=="decimal"?/(-?)([\d]+)/:k=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:k=="octal"?/([0-7]+)/:null,oe=k=="decimal"?10:k=="hex"?16:k=="octal"?8:void 0,fe=[],$e=[];if(k||Q)for(var Ce=0;Ce<Y.length;Ce++){var Re=Q?Y[Ce].match(Q):null;Re&&Re[0]!=""?fe.push(Re):W&&W.exec(Y[Ce])?fe.push(Y[Ce]):$e.push(Y[Ce])}else $e=Y;function ft(Ke,tt){if(b){var Si;Si=Ke,Ke=tt,tt=Si}y&&(Ke=Ke.toLowerCase(),tt=tt.toLowerCase());var oi=W&&W.exec(Ke),Kt=W&&W.exec(tt);if(!oi||!Kt)return Ke<tt?-1:1;var Hr=parseInt((oi[1]+oi[2]).toLowerCase(),oe),xg=parseInt((Kt[1]+Kt[2]).toLowerCase(),oe);return Hr-xg}function Oi(Ke,tt){if(b){var Si;Si=Ke,Ke=tt,tt=Si}return y&&(Ke[0]=Ke[0].toLowerCase(),tt[0]=tt[0].toLowerCase()),Ke[0]<tt[0]?-1:1}if(fe.sort(Q?Oi:ft),Q)for(var Ce=0;Ce<fe.length;Ce++)fe[Ce]=fe[Ce].input;else k||$e.sort(ft);if(Y=b?fe.concat($e):$e.concat(fe),v){var Ht=Y,ni;Y=[];for(var Ce=0;Ce<Ht.length;Ce++)Ht[Ce]!=ni&&Y.push(Ht[Ce]),ni=Ht[Ce]}h.replaceRange(Y.join(`
`),G,ee)},vglobal:function(h,p){this.global(h,p)},normal:function(h,p){var b=p.argString;if(b&&b[0]=="!"&&(b=b.slice(1),ne=!0),b=b.trimStart(),!b){ut(h,"Argument is required.");return}var y=p.line;if(typeof y=="number")for(var v=isNaN(p.lineEnd)?y:p.lineEnd,k=y;k<=v;k++)h.setCursor(k,0),Ze(h,p.argString.trimStart()),h.state.vim.insertMode&&go(h,!0);else Ze(h,p.argString.trimStart()),h.state.vim.insertMode&&go(h,!0)},global:function(h,p){var b=p.argString;if(!b){ut(h,"Regular Expression missing from global");return}var y=p.commandName[0]==="v";b[0]==="!"&&p.commandName[0]==="g"&&(y=!0,b=b.slice(1));var v=p.line!==void 0?p.line:h.firstLine(),k=p.lineEnd||p.line||h.lastLine(),Q=p7(b),X=b,R="";if(Q&&Q.length&&(X=Q[0],R=Q.slice(1,Q.length).join("/")),X)try{nc(h,X,!0,!0)}catch(fe){ut(h,"Invalid regex: "+X);return}for(var U=Cr(h).getQuery(),M=[],G=v;G<=k;G++){var ee=h.getLine(G),Y=U.test(ee);Y!==y&&M.push(R?h.getLineHandle(G):ee)}if(!R){ut(h,M.join(`
`));return}var W=0,oe=function(){if(W<M.length){var fe=M[W++],$e=h.getLineNumber(fe);if($e==null){oe();return}var Ce=$e+1+R;_r.processCommand(h,Ce,{callback:oe})}else h.releaseLineHandles&&h.releaseLineHandles()};oe()},substitute:function(h,p){if(!h.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var b=p.argString,y=b?R2(b,b[0]):[],v="",k="",Q,X,R,U=!1,M=!1;if(y&&y.length)v=y[0],ue("pcre")&&v!==""&&(v=new RegExp(v).source),k=y[1],k!==void 0&&(ue("pcre")?k=y7(k.replace(/([^\\])&/g,"$1$$&")):k=b7(k),q.lastSubstituteReplacePart=k),Q=y[2]?y[2].split(" "):[];else if(b&&b.length){ut(h,"Substitutions should be of the form :s/pattern/replace/");return}if(Q&&(X=Q[0],R=parseInt(Q[1]),X&&(X.indexOf("c")!=-1&&(U=!0),X.indexOf("g")!=-1&&(M=!0),ue("pcre")?v=v+"/"+X:v=v.replace(/\//g,"\\/")+"/"+X)),v)try{nc(h,v,!0,!0)}catch($e){ut(h,"Invalid regex: "+v);return}if(k=k||q.lastSubstituteReplacePart,k===void 0){ut(h,"No previous substitute regular expression");return}var G=Cr(h),ee=G.getQuery(),Y=p.line!==void 0?p.line:h.getCursor().line,W=p.lineEnd||Y;Y==h.firstLine()&&W==h.lastLine()&&(W=1/0),R&&(Y=W,W=Y+R-1);var oe=Ee(h,new e(Y,0)),fe=h.getSearchCursor(ee,oe);P7(h,U,M,Y,W,fe,ee,k,p.callback)},startinsert:function(h,p){Ze(h,p.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){mg(h)},yank:function(h){var p=rt(h.getCursor()),b=p.line,y=h.getLine(b);q.registerController.pushText("0","yank",y,!0,!0)},delete:function(h,p){var b=p.selectionLine,y=isNaN(p.selectionLineEnd)?b:p.selectionLineEnd;ic.delete(h,{linewise:!0},[{anchor:new e(b,0),head:new e(y+1,0)}])},join:function(h,p){var b=p.selectionLine,y=isNaN(p.selectionLineEnd)?b:p.selectionLineEnd;h.setCursor(new e(b,0)),ce.joinLines(h,{repeat:y-b},h.state.vim)},delmarks:function(h,p){if(!p.argString||!hg(p.argString)){ut(h,"Argument required");return}for(var b=h.state.vim,y=new t.StringStream(hg(p.argString));!y.eol();){y.eatSpace();var v=y.pos;if(!y.match(/[a-zA-Z]/,!1)){ut(h,"Invalid argument: "+p.argString.substring(v));return}var k=y.next();if(y.match("-",!0)){if(!y.match(/[a-zA-Z]/,!1)){ut(h,"Invalid argument: "+p.argString.substring(v));return}var Q=k,X=y.next();if(Q&&X&&T(Q)==T(X)){var R=Q.charCodeAt(0),U=X.charCodeAt(0);if(R>=U){ut(h,"Invalid argument: "+p.argString.substring(v));return}for(var M=0;M<=U-R;M++){var G=String.fromCharCode(R+M);delete b.marks[G]}}else{ut(h,"Invalid argument: "+Q+"-");return}}else k&&delete b.marks[k]}}},_r=new E7;function P7(h,p,b,y,v,k,Q,X,R){h.state.vim.exMode=!0;var U=!1,M,G,ee;function Y(){h.operation(function(){for(;!U;)W(),fe();$e()})}function W(){var Re=h.getRange(k.from(),k.to()),ft=Re.replace(Q,X),Oi=k.to().line;k.replace(ft),G=k.to().line,v+=G-Oi,ee=G<Oi}function oe(){var Re=M&&rt(k.to()),ft=k.findNext();return ft&&!ft[0]&&Re&&mt(k.from(),Re)&&(ft=k.findNext()),ft}function fe(){for(;oe()&&T7(k.from(),y,v);)if(!(!b&&k.from().line==G&&!ee)){h.scrollIntoView(k.from(),30),h.setSelection(k.from(),k.to()),M=k.from(),U=!1;return}U=!0}function $e(Re){if(Re&&Re(),h.focus(),M){h.setCursor(M);var ft=h.state.vim;ft.exMode=!1,ft.lastHPos=ft.lastHSPos=M.ch}R&&R()}function Ce(Re,ft,Oi){t.e_stop(Re);var Ht=$t(Re);switch(Ht){case"y":W(),fe();break;case"n":fe();break;case"a":var ni=R;R=void 0,h.operation(Y),R=ni;break;case"l":W();case"q":case"<Esc>":case"<C-c>":case"<C-[>":$e(Oi);break}return U&&$e(Oi),!0}if(fe(),U){ut(h,"No matches for "+Q.source);return}if(!p){Y(),R&&R();return}rc(h,{prefix:mo("span","replace with ",mo("strong",X)," (y/n/a/q/l)"),onKeyDown:Ce})}function go(h,p){var b=h.state.vim,y=q.macroModeState,v=q.registerController.getRegister("."),k=y.isPlaying,Q=y.lastInsertModeChanges;k||(h.off("change",j2),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=void 0,t.off(h.getInputField(),"keydown",Z2)),!k&&b.insertModeRepeat>1&&(B2(h,b,b.insertModeRepeat-1,!0),b.lastEditInputState.repeatOverride=b.insertModeRepeat),delete b.insertModeRepeat,b.insertMode=!1,p||h.setCursor(h.getCursor().line,h.getCursor().ch-1),h.setOption("keyMap","vim"),h.setOption("disableInput",!0),h.toggleOverwrite(!1),v.setText(Q.changes.join("")),t.signal(h,"vim-mode-change",{mode:"normal"}),y.isRecording&&$7(y)}function q2(h){r.unshift(h)}function Q7(h,p,b,y,v){var k={keys:h,type:p};k[p]=b,k[p+"Args"]=y;for(var Q in v)k[Q]=v[Q];q2(k)}N("insertModeEscKeysTimeout",200,"number");function C7(h,p,b,y){var v=q.registerController.getRegister(y);if(y==":"){v.keyBuffer[0]&&_r.processCommand(h,v.keyBuffer[0]),b.isPlaying=!1;return}var k=v.keyBuffer,Q=0;b.isPlaying=!0,b.replaySearchQueries=v.searchQueries.slice(0);for(var X=0;X<k.length;X++)for(var R=k[X],U,M,G=/<(?:[CSMA]-)*\w+>|./gi;U=G.exec(R);)if(M=U[0],P.handleKey(h,M,"macro"),p.insertMode){var ee=v.insertModeChanges[Q++].changes;q.macroModeState.lastInsertModeChanges.changes=ee,F2(h,ee,1),go(h)}b.isPlaying=!1}function _7(h,p){if(!h.isPlaying){var b=h.latestRegister,y=q.registerController.getRegister(b);y&&y.pushText(p)}}function $7(h){if(!h.isPlaying){var p=h.latestRegister,b=q.registerController.getRegister(p);b&&b.pushInsertModeChanges&&b.pushInsertModeChanges(h.lastInsertModeChanges)}}function A7(h,p){if(!h.isPlaying){var b=h.latestRegister,y=q.registerController.getRegister(b);y&&y.pushSearchQuery&&y.pushSearchQuery(p)}}function j2(h,p){var b=q.macroModeState,y=b.lastInsertModeChanges;if(!b.isPlaying)for(var v=h.state.vim;p;){if(y.expectCursorActivityForChange=!0,y.ignoreCount>1)y.ignoreCount--;else if(p.origin=="+input"||p.origin=="paste"||p.origin===void 0){var k=h.listSelections().length;k>1&&(y.ignoreCount=k);var Q=p.text.join(`
`);if(y.maybeReset&&(y.changes=[],y.maybeReset=!1),Q)if(h.state.overwrite&&!/\n/.test(Q))y.changes.push([Q]);else{if(Q.length>1){var X=v&&v.insertEnd&&v.insertEnd.find(),R=h.getCursor();if(X&&X.line==R.line){var U=X.ch-R.ch;U>0&&U<Q.length&&(y.changes.push([Q,U]),Q="")}}Q&&y.changes.push(Q)}}p=p.next}}function W2(h){var v;var p=h.state.vim;if(p.insertMode){var b=q.macroModeState;if(b.isPlaying)return;var y=b.lastInsertModeChanges;y.expectCursorActivityForChange?y.expectCursorActivityForChange=!1:(y.maybeReset=!0,p.insertEnd&&p.insertEnd.clear(),p.insertEnd=h.setBookmark(h.getCursor(),{insertLeft:!0}))}else(v=h.curOp)!=null&&v.isVimOp||V2(h,p)}function V2(h,p){var b=h.getCursor("anchor"),y=h.getCursor("head");if(p.visualMode&&!h.somethingSelected()?Yr(h,!1):!p.visualMode&&!p.insertMode&&h.somethingSelected()&&(p.visualMode=!0,p.visualLine=!1,t.signal(h,"vim-mode-change",{mode:"visual"})),p.visualMode){var v=at(y,b)?0:-1,k=at(y,b)?-1:0;y=Ae(y,0,v),b=Ae(b,0,k),p.sel={anchor:b,head:y},kn(h,p,"<",Pt(y,b)),kn(h,p,">",po(y,b))}else p.insertMode||(p.lastHPos=h.getCursor().ch)}function bg(h,p){this.keyName=h,this.key=p.key,this.ctrlKey=p.ctrlKey,this.altKey=p.altKey,this.metaKey=p.metaKey,this.shiftKey=p.shiftKey}function Z2(h){var p=q.macroModeState,b=p.lastInsertModeChanges,y=t.keyName?t.keyName(h):h.key;y&&(y.indexOf("Delete")!=-1||y.indexOf("Backspace")!=-1)&&(b.maybeReset&&(b.changes=[],b.maybeReset=!1),b.changes.push(new bg(y,h)))}function B2(h,p,b,y){var v=q.macroModeState;v.isPlaying=!0;var k=p.lastEditActionCommand,Q=p.inputState;function X(){k?Br.processAction(h,p,k):Br.evalInput(h,p)}function R(M){if(v.lastInsertModeChanges.changes.length>0){M=p.lastEditActionCommand?M:1;var G=v.lastInsertModeChanges;F2(h,G.changes,M)}}if(p.inputState=p.lastEditInputState,k&&k.interlaceInsertRepeat)for(var U=0;U<b;U++)X(),R(1);else y||X(),R(b);p.inputState=Q,p.insertMode&&!y&&go(h),v.isPlaying=!1}function Y2(h,p){t.lookupKey(p,"vim-insert",function(y){return typeof y=="string"?t.commands[y](h):y(h),!0})}function F2(h,p,b){var y=h.getCursor("head"),v=q.macroModeState.lastInsertModeChanges.visualBlock;v&&(S2(h,y,v+1),b=h.listSelections().length,h.setCursor(y));for(var k=0;k<b;k++){v&&h.setCursor(Ae(y,k,0));for(var Q=0;Q<p.length;Q++){var X=p[Q];if(X instanceof bg)Y2(h,X.keyName);else if(typeof X=="string")h.replaceSelection(X);else{var R=h.getCursor(),U=Ae(R,0,X[0].length-(X[1]||0));h.replaceRange(X[0],R,X[1]?R:U),h.setCursor(U)}}}v&&h.setCursor(Ae(y,0,1))}function yg(h){var p=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=yg(y)),p[b]=y}}),h.sel&&(p.sel={head:h.sel.head&&rt(h.sel.head),anchor:h.sel.anchor&&rt(h.sel.anchor)}),p}function X7(h,p,b){var k=we(h),y=h,v=!1,k=P.maybeInitVimState_(y),Q=k.visualBlock||k.wasInVisualBlock,X=y.isInMultiSelectMode();if(k.wasInVisualBlock&&!X?k.wasInVisualBlock=!1:X&&k.visualBlock&&(k.wasInVisualBlock=!0),p=="<Esc>"&&!k.insertMode&&!k.visualMode&&X&&k.status=="<Esc>")Ut(y);else if(Q||!X||y.inVirtualSelectionMode)v=P.handleKey(y,p,b);else{var R=yg(k),U=k.inputState.changeQueueList||[];y.operation(function(){var G;y.curOp&&(y.curOp.isVimOp=!0);var M=0;y.forEachSelection(function(){y.state.vim.inputState.changeQueue=U[M];var ee=y.getCursor("head"),Y=y.getCursor("anchor"),W=at(ee,Y)?0:-1,oe=at(ee,Y)?-1:0;ee=Ae(ee,0,W),Y=Ae(Y,0,oe),y.state.vim.sel.head=ee,y.state.vim.sel.anchor=Y,v=P.handleKey(y,p,b),y.virtualSelection&&(U[M]=y.state.vim.inputState.changeQueue,y.state.vim=yg(R)),M++}),(G=y.curOp)!=null&&G.cursorActivity&&!v&&(y.curOp.cursorActivity=!1),y.state.vim=k,k.inputState.changeQueueList=U,k.inputState.changeQueue=null},!0)}return v&&!k.visualMode&&!k.insert&&k.visualMode!=y.somethingSelected()&&V2(y,k),v}return ae(),P}function lr(t,e){var i=e.ch,r=e.line+1;r<1&&(r=1,i=0),r>t.lines&&(r=t.lines,i=Number.MAX_VALUE);var n=t.line(r);return Math.min(n.from+Math.max(0,i),n.to)}function Tr(t,e){let i=t.lineAt(e);return{line:i.number-1,ch:e-i.from}}var Er=class{constructor(e,i){this.line=e,this.ch=i}};function L6(t,e,i){if(t.addEventListener)t.addEventListener(e,i,!1);else{var r=t._handlers||(t._handlers={});r[e]=(r[e]||[]).concat(i)}}function I6(t,e,i){if(t.removeEventListener)t.removeEventListener(e,i,!1);else{var r=t._handlers,n=r&&r[e];if(n){var o=n.indexOf(i);o>-1&&(r[e]=n.slice(0,o).concat(n.slice(o+1)))}}}function z6(t,e,...i){var r,n=(r=t._handlers)===null||r===void 0?void 0:r[e];if(n)for(var o=0;o<n.length;++o)n[o](...i)}function A6(t,...e){if(t)for(var i=0;i<t.length;++i)t[i](...e)}var nk;try{nk=new RegExp("[\\w\\p{Alphabetic}\\p{Number}_]","u")}catch(t){nk=/[\w]/}function Gf(t,e){var i=t.cm6;if(!i.state.readOnly){var r="input.type.compose";if(t.curOp&&(t.curOp.lastChange||(r="input.type.compose.start")),e.annotations)try{e.annotations.some(function(n){n.value=="input"&&(n.value=r)})}catch(n){console.error(n)}else e.userEvent=r;return i.dispatch(e)}}function X6(t,e){var i;t.curOp&&(t.curOp.$changeStart=void 0),(e?ma:ss)(t.cm6);let r=(i=t.curOp)===null||i===void 0?void 0:i.$changeStart;r!=null&&t.cm6.dispatch({selection:{anchor:r}})}var yie={},Ve=class t{constructor(e){this.state={},this.marks=Object.create(null),this.$mid=0,this.options={},this._handlers={},this.$lastChangeEndOffset=0,this.virtualSelection=null,this.cm6=e,this.onChange=this.onChange.bind(this),this.onSelectionChange=this.onSelectionChange.bind(this)}openDialog(e,i,r){return vie(this,e,i,r)}openNotification(e,i){return xie(this,e,i)}on(e,i){L6(this,e,i)}off(e,i){I6(this,e,i)}signal(e,i,r){z6(this,e,i,r)}indexFromPos(e){return lr(this.cm6.state.doc,e)}posFromIndex(e){return Tr(this.cm6.state.doc,e)}foldCode(e){let i=this.cm6,r=i.state.selection.ranges,n=this.cm6.state.doc,o=lr(n,e),s=K.create([K.range(o,o)],0).ranges;i.state.selection.ranges=s,op(i),i.state.selection.ranges=r}firstLine(){return 0}lastLine(){return this.cm6.state.doc.lines-1}lineCount(){return this.cm6.state.doc.lines}setCursor(e,i){typeof e=="object"&&(i=e.ch,e=e.line);var r=lr(this.cm6.state.doc,{line:e,ch:i||0});this.cm6.dispatch({selection:{anchor:r}},{scrollIntoView:!this.curOp}),this.curOp&&!this.curOp.isVimOp&&this.onBeforeEndOperation()}getCursor(e){var i=this.cm6.state.selection.main,r=e=="head"||!e?i.head:e=="anchor"?i.anchor:e=="start"?i.from:e=="end"?i.to:null;if(r==null)throw new Error("Invalid cursor type");return this.posFromIndex(r)}listSelections(){var e=this.cm6.state.doc;return this.cm6.state.selection.ranges.map(i=>({anchor:Tr(e,i.anchor),head:Tr(e,i.head)}))}setSelections(e,i){var r=this.cm6.state.doc,n=e.map(o=>{var s=lr(r,o.head),a=lr(r,o.anchor);return s==a?K.cursor(s,1):K.range(a,s)});this.cm6.dispatch({selection:K.create(n,i)})}setSelection(e,i,r){this.setSelections([{anchor:e,head:i}],0),r&&r.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(e){var i=this.cm6.state.doc;return e<0||e>=i.lines?"":this.cm6.state.doc.line(e+1).text}getLineHandle(e){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:e,index:this.indexFromPos(new Er(e,0))}}getLineNumber(e){var i=this.$lineHandleChanges;if(!i)return null;for(var r=e.index,n=0;n<i.length;n++)if(r=i[n].changes.mapPos(r,1,Tt.TrackAfter),r==null)return null;var o=this.posFromIndex(r);return o.ch==0?o.line:null}releaseLineHandles(){this.$lineHandleChanges=void 0}getRange(e,i){var r=this.cm6.state.doc;return this.cm6.state.sliceDoc(lr(r,e),lr(r,i))}replaceRange(e,i,r,n){r||(r=i);var o=this.cm6.state.doc,s=lr(o,i),a=lr(o,r);Gf(this,{changes:{from:s,to:a,insert:e}})}replaceSelection(e){Gf(this,this.cm6.state.replaceSelection(e))}replaceSelections(e){var i=this.cm6.state.selection.ranges,r=i.map((n,o)=>({from:n.from,to:n.to,insert:e[o]||""}));Gf(this,{changes:r})}getSelection(){return this.getSelections().join(`
`)}getSelections(){var e=this.cm6;return e.state.selection.ranges.map(i=>e.state.sliceDoc(i.from,i.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(e=>!e.empty)}getInputField(){return this.cm6.contentDOM}clipPos(e){var i=this.cm6.state.doc,r=e.ch,n=e.line+1;n<1&&(n=1,r=0),n>i.lines&&(n=i.lines,r=Number.MAX_VALUE);var o=i.line(n);return r=Math.min(Math.max(0,r),o.to-o.from),new Er(n-1,r)}getValue(){return this.cm6.state.doc.toString()}setValue(e){var i=this.cm6;return i.dispatch({changes:{from:0,to:i.state.doc.length,insert:e},selection:K.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(e,i){var r=this.cm6.state,n=lr(r.doc,e),o=xr(r,n+1,-1);return o&&o.end?{to:Tr(r.doc,o.end.from)}:(o=xr(r,n,1),o&&o.end?{to:Tr(r.doc,o.end.from)}:{to:void 0})}scanForBracket(e,i,r,n){return Sie(this,e,i,r,n)}indentLine(e,i){i?this.indentMore():this.indentLess()}indentMore(){Vf(this.cm6)}indentLess(){Zf(this.cm6)}execCommand(e){if(e=="indentAuto")t.commands.indentAuto(this);else if(e=="goLineLeft")If(this.cm6);else if(e=="goLineRight"){Lf(this.cm6);let i=this.cm6.state,r=i.selection.main.head;r<i.doc.length&&i.sliceDoc(r,r+1)!==`
`&&sm(this.cm6)}else console.log(e+" is not implemented")}setBookmark(e,i){var r=i!=null&&i.insertLeft?1:-1,n=this.indexFromPos(e),o=new ok(this,n,r);return o}addOverlay({query:e}){let i=new Zl({regexp:!0,search:e.source,caseSensitive:!/i/.test(e.flags)});if(i.valid){i.forVim=!0,this.cm6Query=i;let r=so.of(i);return this.cm6.dispatch({effects:r}),i}}removeOverlay(e){if(!this.cm6Query)return;this.cm6Query.forVim=!1;let i=so.of(this.cm6Query);this.cm6.dispatch({effects:i})}getSearchCursor(e,i){var r=this,n=null,o=null;i.ch==null&&(i.ch=Number.MAX_VALUE);var s=lr(r.cm6.state.doc,i),a=e.source.replace(/(\\.|{(?:\d+(?:,\d*)?|,\d+)})|[{}]/g,function(d,O){return O||"\\"+d});function l(d,O=0,g=d.length){return new Vl(d,a,{ignoreCase:e.ignoreCase},O,g)}function c(d){var O=r.cm6.state.doc;if(d>O.length)return null;let g=l(O,d).next();return g.done?null:g.value}var u=1e4;function f(d,O){var g=r.cm6.state.doc;for(let x=1;;x++){let S=Math.max(d,O-x*u),w=l(g,S,O),T=null;for(;!w.next().done;)T=w.value;if(T&&(S==d||T.from>S+10))return T;if(S==d)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(d){var O=r.cm6.state.doc;if(d){let g=n?n.from==n.to?n.to-1:n.from:s;n=f(0,g)}else{let g=n?n.from==n.to?n.to+1:n.to:s;n=c(g)}return o=n&&{from:Tr(O,n.from),to:Tr(O,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&&(Gf(r,{changes:{from:n.from,to:n.to,insert:d}}),n.to=n.from+d.length,o&&(o.to=Tr(r.cm6.state.doc,n.to)))}}}findPosV(e,i,r,n){let{cm6:o}=this,s=o.state.doc,a=r=="page"?o.dom.clientHeight:0,l=lr(s,e),c=K.cursor(l,1,void 0,n),u=Math.round(Math.abs(i));for(let d=0;d<u;d++)r=="page"?c=o.moveVertically(c,i>0,a):r=="line"&&(c=o.moveVertically(c,i>0));let f=Tr(s,c.head);return(i<0&&c.head==0&&n!=0&&e.line==0&&e.ch!=0||i>0&&c.head==s.length&&f.ch!=n&&e.line==f.line)&&(f.hitSide=!0),f}charCoords(e,i){var r=this.cm6.contentDOM.getBoundingClientRect(),n=lr(this.cm6.state.doc,e),o=this.cm6.coordsAtPos(n),s=-r.top;return{left:((o==null?void 0:o.left)||0)-r.left,top:((o==null?void 0:o.top)||0)+s,bottom:((o==null?void 0:o.bottom)||0)+s}}coordsChar(e,i){var r=this.cm6.contentDOM.getBoundingClientRect(),n=this.cm6.posAtCoords({x:e.left+r.left,y:e.top+r.top})||0;return Tr(this.cm6.state.doc,n)}getScrollInfo(){var e=this.cm6.scrollDOM;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight,width:e.scrollWidth,clientHeight:e.clientHeight,clientWidth:e.clientWidth}}scrollTo(e,i){e!=null&&(this.cm6.scrollDOM.scrollLeft=e),i!=null&&(this.cm6.scrollDOM.scrollTop=i)}scrollIntoView(e,i){if(e){var r=this.indexFromPos(e);this.cm6.dispatch({effects:he.scrollIntoView(r)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(e,i){this.cm6.dom.style.width=e+4+"px",this.cm6.dom.style.height=i+"px",this.refresh()}refresh(){this.cm6.measure()}destroy(){this.removeOverlay()}getLastEditEnd(){return this.posFromIndex(this.$lastChangeEndOffset)}onChange(e){this.$lineHandleChanges&&this.$lineHandleChanges.push(e);for(let r in this.marks)this.marks[r].update(e.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(r=>r.map(e.changes)));var i=this.curOp=this.curOp||{};e.changes.iterChanges((r,n,o,s,a)=>{(i.$changeStart==null||i.$changeStart>o)&&(i.$changeStart=o),this.$lastChangeEndOffset=s;var l={text:a.toJSON()};i.lastChange?i.lastChange.next=i.lastChange=l:i.lastChange=i.change=l},!0),i.changeHandlers||(i.changeHandlers=this._handlers.change&&this._handlers.change.slice())}onSelectionChange(){var e=this.curOp=this.curOp||{};e.cursorActivityHandlers||(e.cursorActivityHandlers=this._handlers.cursorActivity&&this._handlers.cursorActivity.slice()),this.curOp.cursorActivity=!0}operation(e,i){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var r=e()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return r}onBeforeEndOperation(){var e=this.curOp,i=!1;e&&(e.change&&A6(e.changeHandlers,this,e.change),e&&e.cursorActivity&&(A6(e.cursorActivityHandlers,this,null),e.isVimOp&&(i=!0)),this.curOp=null),i&&this.scrollIntoView()}moveH(e,i){if(i=="char"){var r=this.getCursor();this.setCursor(r.line,r.ch+e)}}setOption(e,i){switch(e){case"keyMap":this.state.keyMap=i;break;case"textwidth":this.state.textwidth=i;break}}getOption(e){switch(e){case"firstLineNumber":return 1;case"tabSize":return this.cm6.state.tabSize||4;case"readOnly":return this.cm6.state.readOnly;case"indentWithTabs":return this.cm6.state.facet(Nr)==" ";case"indentUnit":return this.cm6.state.facet(Nr).length||2;case"textwidth":return this.state.textwidth;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(e){this.state.overwrite=e}getTokenTypeAt(e){var i,r=this.indexFromPos(e),n=sx(this.cm6.state,r),o=n==null?void 0:n.resolve(r),s=((i=o==null?void 0:o.type)===null||i===void 0?void 0:i.name)||"";return/comment/i.test(s)?"comment":/string/i.test(s)?"string":""}overWriteSelection(e){var i=this.cm6.state.doc,r=this.cm6.state.selection,n=r.ranges.map(o=>{if(o.empty){var s=o.to<i.length?i.sliceString(o.from,o.to+1):"";if(s&&!/\n/.test(s))return K.range(o.from,o.to+1)}return o});this.cm6.dispatch({selection:K.create(n,r.mainIndex)}),this.replaceSelection(e)}isInMultiSelectMode(){return this.cm6.state.selection.ranges.length>1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(e){var i=this.cm6.state.selection;this.virtualSelection=K.create(i.ranges,i.mainIndex);for(var r=0;r<this.virtualSelection.ranges.length;r++){var n=this.virtualSelection.ranges[r];n&&(this.cm6.dispatch({selection:K.create([n])}),e(),this.virtualSelection.ranges[r]=this.cm6.state.selection.ranges[0])}this.cm6.dispatch({selection:this.virtualSelection}),this.virtualSelection=null}hardWrap(e){return Pie(this,e)}};Ve.isMac=typeof navigator!="undefined"&&/Mac/.test(navigator.platform);Ve.Pos=Er;Ve.StringStream=gl;Ve.commands={cursorCharLeft:function(t){Af(t.cm6)},redo:function(t){X6(t,!1)},undo:function(t){X6(t,!0)},newlineAndIndent:function(t){Wf({state:t.cm6.state,dispatch:e=>Gf(t,e)})},indentAuto:function(t){s6(t.cm6)},newlineAndIndentContinueComment:void 0,save:void 0};Ve.isWordChar=function(t){return nk.test(t)};Ve.keys=yie;Ve.addClass=function(t,e){};Ve.rmClass=function(t,e){};Ve.e_preventDefault=function(t){t.preventDefault()};Ve.e_stop=function(t){var e,i;(e=t==null?void 0:t.stopPropagation)===null||e===void 0||e.call(t),(i=t==null?void 0:t.preventDefault)===null||i===void 0||i.call(t)};Ve.lookupKey=function(e,i,r){var n=Ve.keys[e];n&&r(n)};Ve.on=L6;Ve.off=I6;Ve.signal=z6;Ve.findMatchingTag=Tie;Ve.findEnclosingTag=Eie;Ve.keyName=void 0;function D6(t,e,i){var r=document.createElement("div");return r.appendChild(e),r}function U6(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}function xie(t,e,i){U6(t,a);var r=D6(t,e,i&&i.bottom),n=!1,o,s=i&&typeof i.duration!="undefined"?i.duration:5e3;function a(){n||(n=!0,clearTimeout(o),r.remove(),M6(t,r))}return r.onclick=function(l){l.preventDefault(),a()},N6(t,r),s&&(o=setTimeout(a,s)),a}function N6(t,e){var i=t.state.dialog;t.state.dialog=e,e&&i!==e&&(i&&i.contains(document.activeElement)&&t.focus(),i&&i.parentElement?i.parentElement.replaceChild(e,i):i&&i.remove(),Ve.signal(t,"dialog"))}function M6(t,e){t.state.dialog==e&&(t.state.dialog=null,Ve.signal(t,"dialog"))}function vie(t,e,i,r){r||(r={}),U6(t,void 0);var n=D6(t,e,r.bottom),o=!1;N6(t,n);function s(l){if(typeof l=="string")a.value=l;else{if(o)return;o=!0,M6(t,n),t.state.dialog||t.focus(),r.onClose&&r.onClose(n)}}var a=n.getElementsByTagName("input")[0];return a&&(r.value&&(a.value=r.value,r.selectValueOnOpen!==!1&&a.select()),r.onInput&&Ve.on(a,"input",function(l){r.onInput(l,a.value,s)}),r.onKeyUp&&Ve.on(a,"keyup",function(l){r.onKeyUp(l,a.value,s)}),Ve.on(a,"keydown",function(l){r&&r.onKeyDown&&r.onKeyDown(l,a.value,s)||(l.keyCode==13&&i(a.value),(l.keyCode==27||r.closeOnEnter!==!1&&l.keyCode==13)&&(a.blur(),Ve.e_stop(l),s()))}),r.closeOnBlur!==!1&&Ve.on(a,"blur",function(){setTimeout(function(){document.activeElement!==a&&s()})}),a.focus()),s}var wie={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function kie(t){return t&&t.bracketRegex||/[(){}[\]]/}function Sie(t,e,i,r,n){for(var o=n&&n.maxScanLineLength||1e4,s=n&&n.maxScanLines||1e3,a=[],l=kie(n),c=i>0?Math.min(e.line+s,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-s),u=e.line;u!=c;u+=i){var f=t.getLine(u);if(f){var d=i>0?0:f.length-1,O=i>0?f.length:-1;if(!(f.length>o))for(u==e.line&&(d=e.ch-(i<0?1:0));d!=O;d+=i){var g=f.charAt(d);if(l.test(g)){var x=wie[g];if(x&&x.charAt(1)==">"==i>0)a.push(g);else if(a.length)a.pop();else return{pos:new Er(u,d),ch:g}}}}}return u-i==(i>0?t.lastLine():t.firstLine())?!1:null}function Tie(t,e){}function Eie(t,e){var i,r,n=t.cm6.state,o=t.indexFromPos(e);if(o<n.doc.length){var s=n.sliceDoc(o,o+1);s=="<"&&o++}for(var a=sx(n,o),l=(a==null?void 0:a.resolve(o))||null;l;){if(((i=l.firstChild)===null||i===void 0?void 0:i.type.name)=="OpenTag"&&((r=l.lastChild)===null||r===void 0?void 0:r.type.name)=="CloseTag")return{open:R6(n.doc,l.firstChild),close:R6(n.doc,l.lastChild)};l=l.parent}}function R6(t,e){return{from:Tr(t,e.from),to:Tr(t,e.to)}}var ok=class{constructor(e,i,r){this.cm=e,this.id=e.$mid++,this.offset=i,this.assoc=r,e.marks[this.id]=this}clear(){delete this.cm.marks[this.id]}find(){return this.offset==null?null:this.cm.posFromIndex(this.offset)}update(e){this.offset!=null&&(this.offset=e.mapPos(this.offset,this.assoc,Tt.TrackDel))}};function Pie(t,e){for(var i,r=e.column||t.getOption("textwidth")||80,n=e.allowMerge!=!1,o=Math.min(e.from,e.to),s=Math.max(e.from,e.to);o<=s;){var a=t.getLine(o);if(a.length>r){var l=g(a,r,5);if(l){var c=(i=/^\s*/.exec(a))===null||i===void 0?void 0:i[0];t.replaceRange(`
`+c,new Er(o,l.start),new Er(o,l.end))}s++}else if(n&&/\S/.test(a)&&o!=s){var u=t.getLine(o+1);if(u&&/\S/.test(u)){var f=a.replace(/\s+$/,""),d=u.replace(/^\s+/,""),O=f+" "+d,l=g(O,r,5);l&&l.start>f.length||O.length<r?(t.replaceRange(" ",new Er(o,f.length),new Er(o+1,u.length-d.length)),o--,s--):f.length<a.length&&t.replaceRange("",new Er(o,f.length),new Er(o,a.length))}}o++}return o;function g(x,S,w){if(!(x.length<S)){var T=x.slice(0,S),A=x.slice(S),I=/^(?:(\s+)|(\S+)(\s+))/.exec(A),C=/(?:(\s+)|(\s+)(\S+))$/.exec(T),$=0,j=0;if(C&&!C[2]&&($=S-C[1].length,j=S),I&&!I[2]&&($||($=S),j=S+I[1].length),$)return{start:$,end:j};if(C&&C[2]&&C.index>w)return{start:C.index,end:C.index+C[2].length};if(I&&I[2])return $=S+I[2].length,{start:$,end:$+I[3].length}}}}var sk=XQ||function(){let t={cursorBlinkRate:1200};return function(){return t}}(),ak=class{constructor(e,i,r,n,o,s,a,l,c,u){this.left=e,this.top=i,this.height=r,this.fontFamily=n,this.fontSize=o,this.fontWeight=s,this.color=a,this.className=l,this.letter=c,this.partial=u}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",e.style.height=this.height+"px",e.style.lineHeight=this.height+"px",e.style.fontFamily=this.fontFamily,e.style.fontSize=this.fontSize,e.style.fontWeight=this.fontWeight,e.style.color=this.partial?"transparent":this.color,e.className=this.className,e.textContent=this.letter}eq(e){return this.left==e.left&&this.top==e.top&&this.height==e.height&&this.fontFamily==e.fontFamily&&this.fontSize==e.fontSize&&this.fontWeight==e.fontWeight&&this.color==e.color&&this.className==e.className&&this.letter==e.letter}},lk=class{constructor(e,i){this.view=e,this.rangePieces=[],this.cursors=[],this.cm=i,this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=e.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),e.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){let i=sk(this.cm.cm6.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=i+"ms"}update(e){(e.selectionSet||e.geometryChanged||e.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink"),Qie(e)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,i=[];for(let r of e.selection.ranges){let n=r==e.selection.main,o=Aie(this.cm,this.view,r,n);o&&i.push(o)}return{cursors:i}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((i,r)=>!i.eq(this.cursors[r]))){let i=this.cursorLayer.children;if(i.length!==e.length){this.cursorLayer.textContent="";for(let r of e)this.cursorLayer.appendChild(r.draw())}else e.forEach((r,n)=>r.adjust(i[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}};function Qie(t){return sk(t.startState)!=sk(t.state)}var Cie={".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"}},_ie=Rt.highest(he.theme(Cie));function $ie(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==st.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Aie(t,e,i,r){var n,o;let s=i.head,a=!1,l=1,c=t.state.vim;if(c&&(!c.insertMode||t.state.overwrite)){if(a=!0,c.visualBlock&&!r)return null;i.anchor<i.head&&s--,t.state.overwrite?l=.2:c.status&&(l=.5)}if(a){let f=s<e.state.doc.length&&e.state.sliceDoc(s,s+1);f&&/[\uDC00-\uDFFF]/.test(f)&&s>1&&(s--,f=e.state.sliceDoc(s,s+1));let d=e.coordsAtPos(s,1);if(!d)return null;let O=$ie(e),g=e.domAtPos(s),x=g?g.node:e.contentDOM;for(;g&&g.node instanceof HTMLElement;)x=g.node,g={node:g.node.childNodes[g.offset],offset:0};if(!(x instanceof HTMLElement)){if(!x.parentNode)return null;x=x.parentNode}let S=getComputedStyle(x),w=d.left,T=(o=(n=e).coordsForChar)===null||o===void 0?void 0:o.call(n,s);if(T&&(w=T.left),!f||f==`
`||f=="\r")f="\xA0";else if(f==" "){f="\xA0";var u=e.coordsAtPos(s+1,-1);u&&(w=u.left-(u.left-d.left)/parseInt(S.tabSize))}else/[\uD800-\uDBFF]/.test(f)&&s<e.state.doc.length-1&&(f+=e.state.sliceDoc(s+1,s+2));let A=d.bottom-d.top;return new ak(w-O.left,d.top-O.top+A*(1-l),A*l,S.fontFamily,S.fontSize,S.fontWeight,S.color,r?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",f,l!=1)}else return null}var Xie=typeof navigator!="undefined"&&/linux/i.test(navigator.platform)&&/ Gecko\/\d+/.exec(navigator.userAgent),xa=bie(Ve),Rie=250,Lie=he.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"}}),Iie=Fe.fromClass(class{constructor(t){this.status="",this.query=null,this.decorations=ve.none,this.waitForCopy=!1,this.lastKeydown="",this.useNextTextInput=!1,this.compositionText="",this.view=t;let e=this.cm=new Ve(t);xa.enterVimMode(this.cm),this.view.cm=this.cm,this.cm.state.vimPlugin=this,this.blockCursor=new lk(t,e),this.updateClass(),this.cm.on("vim-command-done",()=>{e.state.vim&&(e.state.vim.status=""),this.blockCursor.scheduleRedraw(),this.updateStatus()}),this.cm.on("vim-mode-change",i=>{e.state.vim&&(e.state.vim.mode=i.mode,i.subMode&&(e.state.vim.mode+=" block"),e.state.vim.status="",this.blockCursor.scheduleRedraw(),this.updateClass(),this.updateStatus())}),this.cm.on("dialog",()=>{this.cm.state.statusbar?this.updateStatus():t.dispatch({effects:q6.of(!!this.cm.state.dialog)})}),this.dom=document.createElement("span"),this.dom.style.cssText="position: absolute; right: 10px; top: 1px",this.statusButton=document.createElement("span"),this.statusButton.onclick=i=>{xa.handleKey(this.cm,"<Esc>","user"),this.cm.focus()},this.statusButton.style.cssText="cursor: pointer"}update(t){var e;if((t.viewportChanged||t.docChanged)&&this.query&&this.highlight(this.query),t.docChanged&&this.cm.onChange(t),t.selectionSet&&this.cm.onSelectionChange(),t.viewportChanged,this.cm.curOp&&!this.cm.curOp.isVimOp&&this.cm.onBeforeEndOperation(),t.transactions){for(let i of t.transactions)for(let r of i.effects)if(r.is(so))if(!((e=r.value)===null||e===void 0?void 0:e.forVim))this.highlight(null);else{let o=r.value.create();this.highlight(o)}}this.blockCursor.update(t)}updateClass(){let t=this.cm.state;!t.vim||t.vim.insertMode&&!t.overwrite?this.view.scrollDOM.classList.remove("cm-vimMode"):this.view.scrollDOM.classList.add("cm-vimMode")}updateStatus(){let t=this.cm.state.statusbar,e=this.cm.state.vim;if(!t||!e)return;let i=this.cm.state.dialog;if(i)i.parentElement!=t&&(t.textContent="",t.appendChild(i));else{t.textContent="";var r=(e.mode||"normal").toUpperCase();e.insertModeReturn&&(r+="(C-O)"),this.statusButton.textContent=`--${r}--`,t.appendChild(this.statusButton)}this.dom.textContent=e.status,t.appendChild(this.dom)}destroy(){xa.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(t){if(this.query=t,!t)return this.decorations=ve.none;let{view:e}=this,i=new Ji;for(let r=0,n=e.visibleRanges,o=n.length;r<o;r++){let{from:s,to:a}=n[r];for(;r<o-1&&a>n[r+1].from-2*Rie;)a=n[++r].to;t.highlight(e.state,s,a,(l,c)=>{i.add(l,c,Die)})}return this.decorations=i.finish()}handleKey(t,e){let i=this.cm,r=i.state.vim;if(!r)return;let n=xa.vimKeyFromEvent(t,r);if(Ve.signal(this.cm,"inputEvent",{type:"handleKey",key:n}),!n)return;if(n=="<Esc>"&&!r.insertMode&&!r.visualMode&&this.query){let a=r.searchState_;a&&(i.removeOverlay(a.getOverlay()),a.setOverlay(null))}if(n==="<C-c>"&&!Ve.isMac&&i.somethingSelected())return this.waitForCopy=!0,!0;r.status=(r.status||"")+n;let s=xa.multiSelectHandleKey(i,n,"user");return r=xa.maybeInitVimState_(i),!s&&r.insertMode&&i.state.overwrite&&(t.key&&t.key.length==1&&!/\n/.test(t.key)?(s=!0,i.overWriteSelection(t.key)):t.key=="Backspace"&&(s=!0,Ve.commands.cursorCharLeft(i))),s&&(Ve.signal(this.cm,"vim-keypress",n),t.preventDefault(),t.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!s}},{eventHandlers:{copy:function(t,e){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var i=this.cm,r=i.state.vim;r&&(r.insertMode?i.setSelection(i.getCursor(),i.getCursor()):i.operation(()=>{i.curOp&&(i.curOp.isVimOp=!0),xa.handleKey(i,"<Esc>","user")}))}))},compositionstart:function(t,e){this.useNextTextInput=!0,Ve.signal(this.cm,"inputEvent",t)},compositionupdate:function(t,e){Ve.signal(this.cm,"inputEvent",t)},compositionend:function(t,e){Ve.signal(this.cm,"inputEvent",t)},keypress:function(t,e){Ve.signal(this.cm,"inputEvent",t),this.lastKeydown=="Dead"&&this.handleKey(t,e)},keydown:function(t,e){Ve.signal(this.cm,"inputEvent",t),this.lastKeydown=t.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(t,e))}},provide:()=>[he.inputHandler.of((t,e,i,r)=>{var n,o,s=qie(t);if(!s)return!1;var a=(n=s.state)===null||n===void 0?void 0:n.vim,l=s.state.vimPlugin;if(a&&!a.insertMode&&!(!((o=s.curOp)===null||o===void 0)&&o.isVimOp)){if(r==="\0\0")return!0;if(Ve.signal(s,"inputEvent",{type:"text",text:r,from:e,to:i}),r.length==1&&l.useNextTextInput){if(a.expectLiteralNext&&t.composing)return l.compositionText=r,!1;if(l.compositionText){var c=l.compositionText;l.compositionText="";var u=t.state.selection.main.head,f=t.state.sliceDoc(u-c.length,u);if(c===f){var d=s.getCursor();s.replaceRange("",s.posFromIndex(u-c.length),d)}}return l.handleKey({key:r,preventDefault:()=>{},stopPropagation:()=>{}}),zie(t),!0}}return!1})],decorations:t=>t.decorations});function zie(t){var e=t.scrollDOM.parentElement;if(e){if(Xie){t.contentDOM.textContent="\0\0",t.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var i=t.scrollDOM.nextSibling,r=window.getSelection(),n=r&&{anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset};t.scrollDOM.remove(),e.insertBefore(t.scrollDOM,i);try{n&&r&&(r.setPosition(n.anchorNode,n.anchorOffset),n.focusNode&&r.extend(n.focusNode,n.focusOffset))}catch(o){console.error(o)}t.focus(),t.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}var Die=ve.mark({class:"cm-searchMatch"}),q6=ke.define(),Uie=Ge.define({create:()=>!1,update(t,e){for(let i of e.effects)i.is(q6)&&(t=i.value);return t},provide:t=>br.from(t,e=>e?Nie:null)});function Nie(t){let e=document.createElement("div");e.className="cm-vim-panel";let i=t.cm;return i.state.dialog&&e.appendChild(i.state.dialog),{top:!1,dom:e}}function Mie(t){let e=document.createElement("div");e.className="cm-vim-panel";let i=t.cm;return i.state.statusbar=e,i.state.vimPlugin.updateStatus(),{dom:e}}function j6(t={}){return[Lie,Iie,_ie,t.status?br.of(Mie):Uie]}function qie(t){return t.cm||null}var uk=class{constructor(e,i,r,n,o,s){this.left=e,this.top=i,this.height=r,this.className=n,this.letter=o,this.partial=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",e.style.height=this.height+"px",e.style.lineHeight=this.height+"px",e.style.color=this.partial?"transparent":"",e.className=this.className,e.textContent=this.letter}eq(e){return this.left==e.left&&this.top==e.top&&this.letter==e.letter&&this.height==e.height&&this.className==e.className}},fk=class{constructor(e){this.view=e,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=e.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),e.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration="1200ms"}update(e){(e.selectionSet||e.geometryChanged||e.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink")}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,i=[];for(let r of e.selection.ranges){let n=r==e.selection.main,o=Zie(null,this.view,r,n);o&&i.push(o)}return{cursors:i}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((i,r)=>!i.eq(this.cursors[r]))){let i=this.cursorLayer.children;if(i.length!==e.length){this.cursorLayer.textContent="";for(let r of e)this.cursorLayer.appendChild(r.draw())}else e.forEach((r,n)=>r.adjust(i[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}},jie={".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"}},Wie=Rt.highest(he.theme(jie));function Vie(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==st.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Zie(t,e,i,r){let n=i.head;var o=1;let s=e.coordsAtPos(n,1);if(!s)return null;let a=Vie(e),l=n<e.state.doc.length&&e.state.sliceDoc(n,n+1);(!l||l==`
`||l=="\r")&&(l="\xA0");let c=s.bottom-s.top;return new uk(s.left-a.left,s.top-a.top+c*(1-o),c*o,r?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",l,o!=1)}var Bie=he.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"}}),Yie=Fe.fromClass(class{constructor(t){this.status="",this.view=t,this.em=new Kf(t),this.blockCursor=new fk(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=>Gt.of([{any:function(e,i){var r;return!!(!((r=e.plugin(t))===null||r===void 0)&&r.em.handleKeyboard(i))}}])}),Fie=ke.define(),Hie=Ge.define({create:()=>!1,update(t,e){for(let i of e.effects)i.is(Fie)&&(t=i.value);return t},provide:t=>br.from(t,e=>e?Gie:null)});function Gie(t){let e=document.createElement("div");return e.className="cm-vim-panel",{top:!1,dom:e}}function V6(t={}){return[Bie,Yie,Wie,Hie]}var Kie={Return:"Return",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"Return",Divide:"/",Slash:"/",Multiply:"*",Subtract:"-",Minus:"-",Equal:"="},Jie={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1},ck={},Kf=class t{constructor(e){this.view=e,this.$data={count:0,keyChain:"",lastCommand:""},this.$emacsMarkRing=[],this.$emacsMark=null}static bindKey(e,i){e.split("|").forEach(function(r){let n="",o=r.split(/\s+/);o.forEach(function(s,a){let l=s.split(/-(?=.)/),c=l.pop();l.length&&(n+=l.sort().join("-")+"-"),n+=c,a===o.length-1?ck[n]=i:(ck[n]="null",n+=" ")})})}static getKey(e){var i=e.code,r=e.key;if(Jie[r])return["","",""];i.length>1&&(i[0]=="N"&&(i=i.replace(/^Numpad/,"")),i[0]=="K"&&(i=i.replace(/^Key/,""))),i=Kie[i]||i,i.length==1&&(i=i.toLowerCase());var n="";return e.ctrlKey&&(n+="C-"),e.metaKey&&(n+="CMD-"),e.altKey&&(n+="M-"),e.shiftKey&&(n+="S-"),[i,n,r]}static addCommands(e){Object.keys(e).forEach(function(i){var r=e[i];typeof r=="function"&&(r={exec:r}),t.commands[i]=r})}static execCommand(e,i,r,n=1){var o=void 0;if(typeof e=="function")for(var s=0;s<n;s++)e(i.view);else if(e!=="null")if(e.exec){n>1&&e.handlesCount&&(r||(r={}),typeof r=="object"&&(r.count=n),n=1);for(var s=0;s<n;s++)o=e.exec(i,r||{})}else throw new Error("missformed command");return o}handleKeyboard(e){var i=t.getKey(e),r=this.findCommand(i);if(r&&r.command){var n=t.execCommand(r.command,this,r.args,r.count);if(n===!1)return}return r}findCommand([e,i,r]){if(e){var n=this,o=this.$data;if(!i&&e.length==1&&(n.pushEmacsMark(),o.count)){var s=new Array(o.count+1).join(r);return o.count=null,{command:"insertstring",args:s}}if(i=="C-"||o.count){var c=parseInt(e[e.length-1]);if(typeof c=="number"&&!isNaN(c))return o.count=Math.max(o.count||0,0),o.count=10*o.count+c,{command:"null"}}i&&(e=i+e),o.keyChain&&(e=o.keyChain+=" "+e);var a=ck[e];if(o.keyChain=a=="null"?e:"",!!a){if(a==="null")return{command:"null"};if(a==="universalArgument")return o.count=-4,{command:"null"};var l;if(typeof a!="string"&&(l=a.args,a.command&&(a=a.command)),(a==="insertstring"||a===jf||a===Cf)&&n.pushEmacsMark(),!(typeof a=="string"&&(a=t.commands[a],!a))){!a.readOnly&&!a.isYank&&(o.lastCommand=null);var c=o.count||1;return o.count&&(o.count=0),{command:a,args:l,count:c}}}}}showCommandLine(e){console.error("TODO")}updateMarksOnChange(e){this.$emacsMark&&(this.$emacsMark=this.updateMark(this.$emacsMark,e)),this.$emacsMarkRing=this.$emacsMarkRing.map(i=>this.updateMark(i,e)).filter(Boolean)}updateMark(e,i){if(e){var r=e.map(function(n){return i.mapPos(n,1,Tt.TrackDel)}).filter(n=>n!=null);return r.length==0?null:r}}emacsMark(){return this.$emacsMark}setEmacsMark(e){this.$emacsMark=e}pushEmacsMark(e,i){var r=this.$emacsMark;r&&this.$emacsMarkRing.push(r),!e||i?this.setEmacsMark(e):this.$emacsMarkRing.push(e)}popEmacsMark(){var e=this.emacsMark();return e?(this.setEmacsMark(null),e):this.$emacsMarkRing.pop()}getLastEmacsMark(){return this.$emacsMark||this.$emacsMarkRing.slice(-1)[0]}getCopyText(){var e=this.view.state;return e.selection.ranges.map(i=>e.sliceDoc(i.from,i.to)).join(`
`)}clearSelection(){var e=this.view,i=e.state.selection,r=!i.ranges.some(o=>o.from!=o.to);if(r)return!1;var n=i.ranges.map(o=>K.range(o.head,o.head));return e.dispatch({selection:K.create(n,i.mainIndex)}),!0}onPaste(e){var i=this.view,r=i.state.selection,n;if(r.ranges.length>1){var o=e.split(`
`);o.length==r.ranges.length&&(n=o)}var s=0,a=i.state.changeByRange(l=>{var c=n?n[s]:e;return s++,{changes:{from:l.from,to:l.to,insert:c},range:K.cursor(l.from+c.length)}});i.dispatch(a)}};Kf.commands={};var W6={"Up|C-p":{command:"goOrSelect",args:[Xf,Dl]},"Down|C-n":{command:"goOrSelect",args:[Rf,Ul]},"Left|C-b":{command:"goOrSelect",args:[sm,Lw]},"Right|C-f":{command:"goOrSelect",args:[IR,Rw]},"C-Left|M-b":{command:"goOrSelect",args:[am,Om]},"C-Right|M-f":{command:"goOrSelect",args:[lm,pm]},"Home|C-a":{command:"goOrSelect",args:[um,Df]},"End|C-e":{command:"goOrSelect",args:[fm,Uf]},"C-Home|S-M-,":{command:"goOrSelect",args:[Nf,Nl]},"C-End|S-M-.":{command:"goOrSelect",args:[Mf,Ml]},"S-Up|S-C-p":Dl,"S-Down|S-C-n":Ul,"S-Left|S-C-b":Lw,"S-Right|S-C-f":Rw,"S-C-Left|S-M-b":jR,"S-C-Right|S-M-f":qR,"S-Home|S-C-a":Df,"S-End|S-C-e":Uf,"S-C-Home":Nl,"S-C-End":Ml,"C-l":"recenterTopBottom","M-s":"centerSelection","M-g":"gotoline","C-x C-p|C-x h":mm,"PageDown|C-v|C-Down":{command:"goOrSelect",args:[zl,ba]},"PageUp|M-v|C-Up":{command:"goOrSelect",args:[Il,ba]},"S-C-Down":ba,"S-C-Up":zf,"C-s":Yl,"C-r":Yl,"M-C-s":"findnext","M-C-r":"findprevious","S-M-5":"replace",Backspace:ql,"Delete|C-d":qf,"Return|C-m":{command:"insertstring",args:`
`},"C-o":jf,"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":bm,"M-u":{command:"changeCase",args:{dir:1}},"M-l":{command:"changeCase",args:{dir:-1}},"C-x C-u":{command:"changeCase",args:{dir:1,region:!0}},"C-x C-l":{command:"changeCase",args:{dir:1,region:!0}},"M-/":Ju,"C-u":"universalArgument","M-;":Cf,"C-/|C-x u|S-C--|C-z":ma,"S-C-/|S-C-x u|C--|S-C-z":ss,"C-x r":"selectRectangularRegion","M-x":{command:"focusCommandLine",args:"M-x "},Esc:"unsetTransientMark"};for(let t in W6)W6[t];var ao=class t{constructor(e=[]){this.ops=e}retain(e){return e<=0?this:this.append({retain:e})}insert(e){return e===""?this:this.append({insert:e})}delete(e){return e<=0?this:this.append({delete:e})}append(e){if(this.ops.length===0)return this.ops.push(e),this;let i=this.ops.pop();return Vi(e)&&Zi(i)?this.append(e).append(i):Vi(e)&&Vi(i)?(this.ops.push({insert:i.insert+e.insert}),this):Zi(e)&&Zi(i)?(this.ops.push({delete:i.delete+e.delete}),this):Wr(e)&&Wr(i)?(this.ops.push({retain:i.retain+e.retain}),this):(this.ops.push(i,e),this)}compose(e){let i=new va(this.ops),r=new va(e.ops),n=new t;for(;i.hasNext()||r.hasNext();)if(Vi(r.peek()))n.append(r.next());else if(Zi(i.peek()))n.append(i.next());else{let o=Math.min(i.peekLength(),r.peekLength()),s=i.next(o),a=r.next(o);Wr(a)?n.append(s):Zi(a)&&Wr(s)&&n.append(a)}return n._trim()}transform(e,i){if(i!=="left"&&i!=="right")throw new Error(`Invalid priority "${i}", should be either "left" or "right"`);let r=new va(this.ops),n=new va(e.ops),o=new t;for(;r.hasNext()||n.hasNext();)if(Vi(r.peek())&&(!Vi(n.peek())||i==="left")){let s=$m(r.next());o.retain(s)}else if(Vi(n.peek()))o.append(n.next());else{let s=Math.min(r.peekLength(),n.peekLength()),a=r.next(s),l=n.next(s);if(Zi(a))continue;Zi(l)?o.append(l):o.retain(s)}return o._trim()}_trim(){return this.ops.length>0&&Wr(this.ops[this.ops.length-1])&&this.ops.pop(),this}transformPosition(e){let i=new va(this.ops),r=0;for(;i.hasNext()&&r<e;){let n=i.next(),o=$m(n);Zi(n)?e-=Math.min(o,e-r):(Vi(n)&&(e+=o),r+=o)}return e}toCompressed(){return this.ops.map(e=>{if(Vi(e))return e.insert;if(Wr(e))return e.retain;if(Zi(e))return-e.delete;throw new Error(`Invalid operation ${e}`)})}static fromCompressed(e){return e.reduce((i,r)=>{if(typeof r=="string")return i.insert(r);if(typeof r=="number"&&r>=0)return i.retain(r);if(typeof r=="number"&&r<0)return i.delete(-r);throw new Error(`Invalid compressed operation ${r}`)},new this)}applyToString(e){let i="",r=0;return this.ops.forEach(n=>{Wr(n)&&(i+=e.slice(r,r+n.retain),r+=n.retain),Vi(n)&&(i+=n.insert),Zi(n)&&(r+=n.delete)}),i+=e.slice(r),i}},va=class{constructor(e){this.ops=e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(e=1/0){let i=this.ops[this.index];if(i){let r=this.offset,n=$m(i);if(e>=n-r?(e=n-r,this.index+=1,this.offset=0):this.offset+=e,Zi(i))return{delete:e};if(Wr(i))return{retain:e};if(Vi(i))return{insert:i.insert.substr(r,e)}}else return{retain:e}}peek(){return this.ops[this.index]||{retain:1/0}}peekLength(){return this.ops[this.index]?$m(this.ops[this.index])-this.offset:1/0}};function $m(t){if(Vi(t))return t.insert.length;if(Wr(t))return t.retain;if(Zi(t))return t.delete}function Vi(t){return typeof t.insert=="string"}function Wr(t){return typeof t.retain=="number"}function Zi(t){return typeof t.delete=="number"}var Y6=be.define({combine(t){return Et(t,{})}}),Z6=vi.define(),ere=Fe.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(Y6);this.collabClient=e,this.deltaSubscription=e.onDelta((i,{remote:r})=>{if(r)return t.dispatch({changes:hk(i),selection:hs(t.state.selection,i),annotations:[Ct.addToHistory.of(!1),Ct.remote.of(!0),Z6.of(!0)],filter:!1})})}update(t){if(!t.transactions.some(i=>i.annotation(Z6))){if(t.docChanged){let i=tre(t.changes),r=B6(t);this.collabClient.handleClientDelta(i,r)}else if(t.focusChanged||!t.state.selection.eq(t.startState.selection)){let i=B6(t);this.collabClient.handleClientSelection(i)}}}destroy(){this.deltaSubscription.destroy()}});function hk(t){let e=[],i=0;for(let r of t.ops)Wr(r)&&(i+=r.retain),Vi(r)&&e.push({from:i,to:i,insert:r.insert}),Zi(r)&&(e.push({from:i,to:i+r.delete}),i+=r.delete);return e}function tre(t){let e=[];return t.iterChanges((i,r,n,o,s)=>{let a=new ao;i&&a.retain(i),i!==r&&a.delete(r-i);let l=s.toString();l&&a.insert(l),e.push(a)}),e.reverse().reduce((i,r)=>i.compose(r))}function B6(t){return t.view.hasFocus?t.state.selection:null}function hs(t,e){let i=t.ranges.map(r=>K.range(e.transformPosition(r.anchor),e.transformPosition(r.head)));return K.create(i,t.mainIndex)}function F6(t){return[ere,Y6.of({collabClient:t})]}var ire=he.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"}}),G6=be.define({combine(t){return Et(t,{})}}),rre=Fe.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(G6);this.peers=e.getPeers(),this.decorations=Je.of(Object.values(this.peers).flatMap(H6),!0),this.peersSubscription=e.onPeersChange(i=>{let r=this.peers;if(r===i)return;let n=new Set,o=[];for(let s in i){let a=i[s],l=r[s];l&&a.eq(l)?n.add(s):o.push(a)}this.decorations=this.decorations.update({filter:(s,a,l)=>n.has(l.spec.id),add:o.flatMap(H6),sort:!0}),this.peers=i,setTimeout(()=>{t.update([])},0)})}destroy(){this.peersSubscription.destroy()}},{decorations:t=>t.decorations}),dk=class extends ti{constructor(e,i,r){super(),this.cursorPos=e,this.color=i,this.label=r}toDOM(e){let i=document.createElement("div");i.classList.add("cm-peerCursor"),e.state.doc.lineAt(this.cursorPos).number===1&&i.classList.add("cm-peerCursor-inline");let n=document.createElement("div");n.classList.add("cm-peerCursorCaret"),n.style.backgroundColor=this.color;let o=document.createElement("div");return o.classList.add("cm-peerCursorLabel"),o.textContent=this.label,o.style.backgroundColor=this.color,i.appendChild(n),i.appendChild(o),i}eq(e){return e.cursorPos===this.cursorPos&&e.color===this.color&&e.label===this.label}};function H6(t){let{id:e,selection:i,meta:{hex_color:r,name:n}}=t;if(!i)return[];let o=ve.mark({class:"cm-peerSelection",attributes:{style:`background-color: ${r}30`},id:e}),s=i.ranges.filter(l=>!l.empty).map(({from:l,to:c})=>o.range(l,c)),a=i.ranges.map(l=>{let c=l.head;return ve.widget({widget:new dk(c,r,n),id:e}).range(c)});return s.concat(a)}function K6(t){return[rre,G6.of({collabClient:t}),ire]}var nre=he.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"}}),J6=ke.define(),eL=ke.define(),tL=Ge.define({create(t){return ve.none},update(t,e){t=t.map(e.changes);for(let i of e.effects){if(i.is(J6)){let r=i.value;t=t.update({filter:(n,o,s)=>!r.some(a=>s.spec.report.line===a.line),add:r.flatMap(n=>ore(n,e.state.doc)),sort:!0})}i.is(eL)&&(t=ve.none)}return t},provide(t){return he.decorations.from(t)}});function ore(t,e){let i=e.line(t.line).from+t.column,r=[ve.mark({class:`cm-doctestStatus cm-doctestStatus-${t.status}`,report:t}).range(i,i+1)];if(t.status==="failed"){let n=e.line(t.end_line+1);r.push(ve.widget({widget:new Ok(t),block:!0,report:t}).range(n.from))}return r}var Ok=class extends ti{constructor(e){super(),this.report=e}toDOM(e){let i=document.createElement("div");i.classList.add("cm-doctestDetails");let r=document.createElement("div");return r.classList.add("cm-doctestDetailsContent"),r.classList.add("editor-theme-aware-ansi"),i.style.marginLeft=`${this.report.column}ch`,r.innerHTML=this.report.details,i.appendChild(r),i}eq(e){return this.report===e.report}};function iL(t,e){let i=[J6.of(e)];t.dispatch({effects:nL(t.state,i)})}function rL(t){let e=[eL.of(null)];t.dispatch({effects:nL(t.state,e)})}var sre=[tL,nre];function nL(t,e){return t.field(tL,!1)?e:e.concat(ke.appendConfig.of(sre))}var are=he.baseTheme({".cm-signatureHint":{display:"flex"},".cm-signatureHintStepper":{padding:"4px 8px",borderRight:"1px solid black"},".cm-signatureHintContent":{padding:"4px"},".cm-signatureHintActiveArgument":{color:"gray"}}),Jf=be.define({combine(t){return Et(t,{})}}),aL=be.define({}).from(Jf,({triggerCharacters:t,retriggerCharacters:e})=>({triggerCharacters:new Set(t),retriggerCharacters:new Set(t.concat(e))})),lL=ke.define(),cL=ke.define(),gk=ke.define(),uL=ke.define(),Vr=Ge.define({create(){return{context:null,hint:null}},update({context:t,hint:e},i){e=e&&e.setPosition(i.state.selection.main.head),lre(i,!!e)&&(t=oL(i.state));for(let n of i.effects)n.is(lL)&&(n.value.signatureResult?e=pk.build(i.state,n.value.signatureResult):(t=null,e=null)),n.is(cL)&&(t=oL(i.state)),n.is(gk)&&(t=null,e=null),n.is(uL)&&(e=e&&e.setSelected(n.value));return{context:t,hint:e}},provide(t){return Bn.from(t,e=>e.hint&&e.hint.tooltip)}});function lre(t,e){let{activateOnTyping:i}=t.state.facet(Jf),{triggerCharacters:r,retriggerCharacters:n}=t.state.facet(aL),o=t.startState.selection.main.head,s=t.state.selection.main.head,a=t.isUserEvent("input");if(t.docChanged){let l=!1;return t.changes.iterChangedRanges((c,u,f,d)=>{if(!l){if(c<u&&c<=o&&o<=u){let O=t.startState.doc.sliceString(c,u);e&&(l=l||Am(O,n))}if(f<d&&f<=s&&s<=d){let O=t.state.doc.sliceString(f,s);e?l=l||Am(O,n):i&&a&&(l=l||Am(O,r))}}}),l}if(!t.docChanged&&o!==s){let l=t.state.doc.sliceString(Math.min(o,s),Math.max(o,s));if(e)return Am(l,n)}return!1}function Am(t,e){for(let i of t)if(e.has(i))return!0;return!1}function oL(t){let e=t.selection.main.head;return{state:t,pos:e}}var pk=class t{constructor(e,i,r){this.signatureResult=e,this.selectedIdx=i,this.tooltip=r}static build(e,i){return new t(i,0,{pos:e.selection.main.head,above:!0,create:r=>new mk(r)})}setSelected(e){return new t(this.signatureResult,e,this.tooltip)}setPosition(e){return e===this.tooltip.pos?this:new t(this.signatureResult,this.selectedIdx,Pe(H({},this.tooltip),{pos:e}))}},mk=class{constructor(e){this.view=e;let{signatureResult:i}=e.state.field(Vr).hint;this.dom=document.createElement("div"),this.dom.classList.add("cm-signatureHint"),i.items.length>1&&(this.stepper=document.createElement("div"),this.stepper.classList.add("cm-signatureHintStepper"),this.dom.appendChild(this.stepper));let r=document.createElement("div");r.classList.add("cm-signatureHintContent"),this.contentLeft=document.createElement("span"),this.contentActive=document.createElement("span"),this.contentActive.classList.add("cm-signatureHintActiveArgument"),this.contentRight=document.createElement("span"),r.appendChild(this.contentLeft),r.appendChild(this.contentActive),r.appendChild(this.contentRight),this.dom.appendChild(r)}mount(){this.updateSelected()}update(e){let i=e.startState.field(Vr),r=e.state.field(Vr);i!==r&&this.updateSelected()}updateSelected(){let{signatureResult:e,selectedIdx:i}=this.view.state.field(Vr).hint,{activeArgumentIdx:r,items:n}=e,o=n[i],s=o.arguments[r];this.stepper&&(this.stepper.textContent=`${i+1}/${n.length}`);let a=o.signature.indexOf(s);this.contentLeft.textContent=o.signature.slice(0,a),this.contentActive.textContent=s,this.contentRight.textContent=o.signature.slice(a+s.length)}},cre=Fe.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(Vr);e.context!==t.startState.field(Vr).context&&(this.maybeAbortQuery(),e.context&&this.requestSignature(t.state))}destroy(){this.maybeAbortQuery()}requestSignature(t){let{context:e}=t.field(Vr),{source:i}=t.facet(Jf),r={aborted:!1};i(e).then(n=>{r.aborted||this.view.dispatch({effects:lL.of({signatureResult:n})})}),this.query=r}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}},{eventHandlers:{blur(t){let e=this.view.state.field(Vr,!1);e&&e.hint&&this.view.state.facet(Jf).closeOnBlur&&setTimeout(()=>{this.view.dispatch({effects:[gk.of(null)]})},0)}}});function ure(t){return t.dispatch({effects:[cL.of(null)]}),!0}function bk(t){let e=t.state.field(Vr,!1);return!e||!e.hint?!1:(t.dispatch({effects:[gk.of(null)]}),!0)}var sL=t=>e=>{let i=e.state.field(Vr,!1);if(!i||!i.hint)return!1;let{signatureResult:r,selectedIdx:n}=i.hint;if(r.items.length===1)return!1;let o=r.items.length,s=n+(t?1:-1);return s<0&&(s+=o),s>=o&&(s-=o),e.dispatch({effects:[uL.of(s)]}),!0},fre=[{key:"Mod-Shift-Space",run:ure},{key:"Escape",run:bk},{key:"ArrowDown",run:sL(!0)},{key:"ArrowUp",run:sL(!1)}];function fL(t,{activateOnTyping:e=!0,closeOnBlur:i=!0,triggerCharacters:r=["(",","],retriggerCharacters:n=[")"]}={}){return[Vr,cre,Jf.of({source:t,activateOnTyping:e,closeOnBlur:i,triggerCharacters:r,retriggerCharacters:n}),aL,Rt.high(Gt.of(fre)),are]}var hL=be.define({combine(t){return Et(t,{})}}),dL=ke.define(),Xm=Ge.define({create(){return{doc:null}},update({doc:t},e){e.docChanged&&(t=null);for(let i of e.effects)i.is(dL)&&(t=e.state.doc);return{doc:t}}}),hre=Fe.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(Xm);e.doc!==t.startState.field(Xm).doc&&(this.maybeAbortQuery(),e.doc&&this.requestFormatterChanges(t.state))}destroy(){this.maybeAbortQuery()}requestFormatterChanges(t){let{doc:e}=t.field(Xm),{source:i}=t.facet(hL),r={aborted:!1};i(e).then(n=>{!r.aborted&&n&&this.view.dispatch({changes:n})}),this.query=r}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}});function dre(t){return t.state.readOnly?!1:(t.dispatch({effects:[dL.of(null)]}),!0)}var Ore=[{key:"Ctrl-Shift-i",mac:"Alt-Shift-f",win:"Alt-Shift-f",run:dre}];function OL(t){return[Xm,hre,hL.of({source:t}),Gt.of(Ore)]}function pL(t,e){let i=e;for(;!t.endsWith(i);)i=i.slice(0,-1);return i.length}var pre=he.baseTheme({".cm-readOnlyHint":{padding:"4px"}}),mL=ke.define(),yk=ke.define(),Rm=Ge.define({create(){return{tooltip:null}},update({tooltip:t},e){e.state.selection.eq(e.startState.selection)||(t=null);for(let i of e.effects)i.is(mL)&&(t={pos:e.state.selection.main.head,above:!0,create:mre}),i.is(yk)&&(t=null);return{tooltip:t}},provide(t){return Bn.from(t,e=>e.tooltip)}});function mre(t){let e=document.createElement("div");return e.classList.add("cm-readOnlyHint"),e.textContent="This editor is read-only",{dom:e}}var gre=Fe.fromClass(class{constructor(t){this.view=t}},{eventHandlers:{input(t){this.view.state.readOnly&&(this.view.state.field(Rm).tooltip||this.view.dispatch({effects:mL.of(null)}))},blur(t){this.view.state.readOnly&&this.view.state.field(Rm).tooltip&&setTimeout(()=>{this.view.dispatch({effects:[yk.of(null)]})},0)}}});function bre(t){let e=t.state.field(Rm,!1);return!e||!e.tooltip?!1:(t.dispatch({effects:[yk.of(null)]}),!0)}var yre=[{key:"Escape",run:bre}];function gL(){return[Rm,gre,Gt.of(yre),pre]}var xre=5e3,eh=class{constructor(e,i){xt(this,"_onDelta",new ii);xt(this,"onDelta",this._onDelta.event);xt(this,"_onPeersChange",new ii);xt(this,"onPeersChange",this._onPeersChange.event);this.connection=e,this.revision=i,this.clientId=e.getClientId(),this.peers={},this.updatePeers(e.getClients()),this.inflightDelta=null,this.bufferDelta=null,this.selection=null,this.selectionChanged=!1,this.revisionReportTimeoutId=null,this.subscriptions=[e.onDelta(this.handleServerDelta.bind(this)),e.onAcknowledgement(this.handleServerAcknowledgement.bind(this)),e.onSelection(this.handleServerSelection.bind(this)),e.onClientsUpdate(this.handleServerClientsUpdate.bind(this))]}destroy(){this.subscriptions.forEach(e=>e.destroy())}getPeers(){return this.peers}handleClientDelta(e,i){this.peers=bL(this.peers,e),this.selection=i,this.inflightDelta?this.bufferDelta?this.bufferDelta=this.bufferDelta.compose(e):this.bufferDelta=e:(this.inflightDelta=e,this.sendDelta()),this._onDelta.dispatch(e,{remote:!1}),this._onPeersChange.dispatch(this.peers)}handleClientSelection(e){this.selection=e,this.inflightDelta?this.selectionChanged=!0:this.sendSelection()}handleServerDelta(e,i,r){this.revision++;let{inflightDelta:n,bufferDelta:o}=this;n&&([e,n]=[n.transform(e,"right"),e.transform(n,"left")],i=i&&hs(i,n)),o&&([e,o]=[o.transform(e,"right"),e.transform(o,"left")],i=i&&hs(i,o)),this.inflightDelta=n,this.bufferDelta=o,this.selection=this.selection&&hs(this.selection,e);let[s,a]=Kp(this.peers,r);a=bL(a,e),s&&(a[r]=new Hl(s.id,s.meta,i)),this.peers=a,this._onDelta.dispatch(e,{remote:!0}),this._onPeersChange.dispatch(this.peers),this.maybeScheduleRevisionReport()}handleServerAcknowledgement(){this.revision++,this.inflightDelta=null,this.bufferDelta&&(this.inflightDelta=this.bufferDelta,this.bufferDelta=null,this.sendDelta())}handleServerSelection(e,i){if(!this.peers.hasOwnProperty(i))return;let{inflightDelta:r,bufferDelta:n}=this;r&&(e=e&&hs(e,r)),n&&(e=e&&hs(e,n));let o=this.peers[i];this.peers=Pe(H({},this.peers),{[i]:new Hl(o.id,o.meta,e)}),this._onPeersChange.dispatch(this.peers)}handleServerClientsUpdate(e){this.updatePeers(e),this._onPeersChange.dispatch(this.peers)}sendDelta(){this.connection.sendDelta(this.inflightDelta,this.selection,this.revision),this.selectionChanged=!1,this.maybeCancelRevisionReport()}sendSelection(){Object.keys(this.peers).length>0&&this.connection.sendSelection(this.selection,this.revision),this.selectionChanged=!1}sendRevision(){this.connection.sendRevision(this.revision)}updatePeers(e){let i={};for(let r in e)if(r!==this.clientId){let n=this.peers[r],o=e[r],s=n?n.selection:null;i[r]=new Hl(r,o,s)}this.peers=i}maybeScheduleRevisionReport(){!this.inflightDelta&&!this.revisionReportTimeoutId&&(this.revisionReportTimeoutId=setTimeout(()=>{this.sendRevision(),this.revisionReportTimeoutId=null},xre))}maybeCancelRevisionReport(){this.revisionReportTimeoutId!==null&&(clearTimeout(this.revisionReportTimeoutId),this.revisionReportTimeoutId=null)}},Hl=class{constructor(e,i,r){this.id=e,this.meta=i,this.selection=r}eq(e){return this.id===e.id&&this.meta===e.meta&&(this.selection===e.selection||this.selection&&e.selection&&this.selection.eq(e.selection))}};function bL(t,e){let i={};for(let r in t){let n=t[r],o=n.selection&&hs(n.selection,e);i[r]=new Hl(n.id,n.meta,o)}return i}function yL(t){let e=t.state.selection;return e.ranges.length>1?(t.dispatch({selection:e.asSingle()}),!0):!1}function xL(t){return n6(t)?(ef(t),bk(t),!0):!1}function xk(t,e){for(;t;){if(e.includes(t.type.name))return t;t=t.parent}return null}function vL(t,e){let i=0;for(;i<e.length&&t.parent;){if(t.parent.type.name!==e[i])return null;t=t.parent,i++}return i===e.length&&t?t:null}var vre=he.editorAttributes.compute(["selection"],t=>t.selection.ranges.every(i=>i.empty)?{}:{class:"cm-selecting"});function wL(){return[vre]}function kL(t){let e=YO(t),i=he.decorations.from(e.active,r=>{let n=ve.mark({class:"cm-hoverDocsSelection"}),o=r.map(s=>n.range(s.pos,s.end));return Je.of(o,!0)});return[e,i]}var th=class{constructor(e,i,r,n,o,s,a){xt(this,"_onMount",new ii);xt(this,"onMount",this._onMount.event);xt(this,"_onChange",new ii);xt(this,"onChange",this._onChange.event);xt(this,"_onBlur",new ii);xt(this,"onBlur",this._onBlur.event);xt(this,"_onFocus",new ii);xt(this,"onFocus",this._onFocus.event);this.container=e,this.source=r,this.language=o,this.intellisense=s,this.readOnly=a,this.initialWidgets={},this.connection=i,this.collabClient=new eh(i,n),this.deltaSubscription=this.collabClient.onDelta((l,c)=>{this.source=l.applyToString(this.source),this._onChange.dispatch(this.source)})}isMounted(){return!!this.view}mount(){if(this.isMounted())throw new Error("The editor is already mounted");this.mountEditor(),this.setInitialWidgets(),this._onMount.dispatch()}getSource(){return this.source}getElementAtCursor(){if(!this.isMounted())return this.container;let{node:e}=this.view.domAtPos(this.view.state.selection.main.head);return e instanceof Element?e:e.parentElement}focus(){this.isMounted()||this.mount(),this.view.focus()}moveCursorToLine(e){let i=this.view.state.doc.line(e);this.view.dispatch({selection:K.single(i.from)})}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())iL(this.view,e);else{this.initialWidgets.doctestReportsByLine=this.initialWidgets.doctestReportsByLine||{};for(let i of e)this.initialWidgets.doctestReportsByLine[i.line]=i}}clearDoctests(){this.isMounted()?rL(this.view):delete this.initialWidgets.doctestReportsByLine}setCodeMarkers(e){if(this.isMounted()){let i=this.view.state.doc,r=e.map(n=>{let o=i.line(n.line),[,s,a]=o.text.match(/^(\s*).*?(\s*)$/),l=o.from+s.length,c=o.to-a.length;return{from:l,to:c,severity:n.severity,message:n.description}});this.view.dispatch(S6(this.view.state,r))}else this.initialWidgets.codeMarkers=e}mountEditor(){let e=kt.get(),i=c=>c.toString().padStart(3," "),r=c=>{let u=document.createElement("i");return u.classList.add(c?"ri-arrow-down-s-line":"ri-arrow-right-s-line",c?"cm-gutterFoldMarker-open":null),u},n=he.theme({"&":{fontSize:`${e.editor_font_size}px`}}),o=he.theme({"&":{fontVariantLigatures:`${e.editor_ligatures?"normal":"none"}`}}),s=this.language==="markdown"&&e.editor_markdown_word_wrap,a=this.language&&Lt.matchLanguageName(qp,this.language,!1),l=[{key:"Escape",run:yL},{key:"Alt-Enter",run:xL}];this.view=new he({parent:this.container,doc:this.source,extensions:[jQ({formatNumber:i}),DQ(),WQ(),zQ(),g6(),pC({markerDOM:r}),sp({placeholderText:"\u22EF"}),AQ(),IQ(),UQ(),wL(),NQ(),ot.allowMultipleSelections.of(!0),xC(),UC(),sC(),AR(),ot.readOnly.of(this.readOnly),gL(),Gt.of(l),Gt.of($6),ot.tabSize.of(2),ot.lineSeparator.of(`
`),s?he.lineWrapping:[],he.contentAttributes.of({tabIndex:-1}),n,e.editor_theme==="light"?ZX:VX,o,F6(this.collabClient),K6(this.collabClient),Qx({activateOnTyping:e.editor_auto_completion,defaultKeymap:!1}),this.intellisense?[Qx({override:[this.completionSource.bind(this)]}),kL(this.docsHoverTooltipSource.bind(this)),fL(this.signatureSource.bind(this),{activateOnTyping:e.editor_auto_signature}),OL(this.formatterSource.bind(this))]:[],e.editor_mode==="vim"?[j6()]:[],e.editor_mode==="emacs"?[V6()]:[],a?a.support:[],he.domEventHandlers({click:this.handleEditorClick.bind(this),keydown:this.handleEditorKeydown.bind(this),blur:this.handleEditorBlur.bind(this),focus:this.handleEditorFocus.bind(this)}),he.clickAddsSelectionRange.of(c=>c.altKey)]})}handleEditorClick(e){return(Xl()?e.metaKey:e.ctrlKey)&&this.jumpToDefinition(this.view),!1}handleEditorKeydown(e){return e.key==="Escape"&&this.container.dispatchEvent(new CustomEvent("lb:editor_escape",{bubbles:!0})),!1}handleEditorBlur(e){return this.container.contains(e.relatedTarget)||this._onBlur.dispatch(),!1}handleEditorFocus(e){return this._onFocus.dispatch(),!1}completionSource(e){let i=kt.get();if(!e.matchBefore(/[\w?!.]$/)&&!e.explicit)return null;let n=this.getCompletionHint(e);return this.connection.intellisenseRequest("completion",{hint:n,editor_auto_completion:i.editor_auto_completion}).then(o=>{if(o.items.length===0)return null;let s=o.items.map((l,c)=>{let u=this.completionItemToCompletions(l);return Pe(H({},u),{boost:1-c/o.items.length})}),a=pL(n,o.items[0].insert_text);return{from:e.pos-a,options:s,validFor:/^\w*[!?]?$/}}).catch(()=>null)}getCompletionHint(e){let r=De(e.state).resolve(e.pos);if(r&&this.language==="elixir"){let n=xk(r,["Map","Bitstring"]);if(n)return e.state.doc.sliceString(n.from,e.pos)}return e.matchBefore(/^.*/).text}completionItemToCompletions(e){let i={label:e.label,type:e.kind,info:n=>e.documentation===null?null:pR(350).then(()=>{let o=document.createElement("div");return o.classList.add("cm-completionInfoDocs"),o.classList.add("cm-markdown"),new da(o,e.documentation,{defaultCodeLanguage:this.language,useDarkTheme:this.usesDarkTheme()}),o})},r=e.insert_text.includes("${}")?e.insert_text:e.insert_text+"${}";return pt(r,i)}docsHoverTooltipSource(e,i,r){let n=e.state.doc.lineAt(i),o=n.to-n.from,s=n.text,a=i-n.from+(r===1?1:0);return a<1||a>o?null:this.connection.intellisenseRequest("details",{line:s,column:a}).then(l=>({pos:n.from+l.range.from-1,end:n.from+l.range.to-1,above:!0,create:c=>{let u=document.createElement("div");if(u.classList.add("cm-hoverDocs"),l.definition){let d=document.createElement("a");d.classList.add("cm-hoverDocsDefinitionLink"),d.innerHTML='<i class="ri-code-line"></i> Go to definition',u.appendChild(d),d.addEventListener("click",O=>{_t.broadcast("jump_to_editor",{line:l.definition.line,file:l.definition.file}),O.preventDefault()})}let f=document.createElement("div");f.classList.add("cm-hoverDocsContents"),u.appendChild(f);for(let d of l.contents){let O=document.createElement("div");O.classList.add("cm-hoverDocsContent"),O.classList.add("cm-markdown"),f.appendChild(O),new da(O,d,{defaultCodeLanguage:this.language,useDarkTheme:this.usesDarkTheme()})}return{dom:u}}})).catch(()=>null)}jumpToDefinition(e){let i=e.state.selection.main.head,r=e.state.doc.lineAt(i),n=r.to-r.from,o=r.text,s=i-r.from;return s<1||s>n?null:this.connection.intellisenseRequest("details",{line:o,column:s}).then(a=>{a.definition&&_t.broadcast("jump_to_editor",{line:a.definition.line,file:a.definition.file})}).catch(()=>null)}signatureSource({state:e,pos:i}){let r=this.getSignatureHint(e,i);return this.connection.intellisenseRequest("signature",{hint:r}).then(n=>({activeArgumentIdx:n.active_argument,items:n.items})).catch(()=>null)}getSignatureHint(e,i){let n=De(e).resolve(i);if(n&&this.language==="elixir"){let o=xk(n,["Call","FunctionDefinitionCall","KernelCall"]);if(o){let a=vL(o,["Right","PipeOperator"])||o;return e.doc.sliceString(a.from,i)}}return e.doc.sliceString(0,i)}formatterSource(e){return this.connection.intellisenseRequest("format",{code:e.toString()}).then(i=>{if(this.setCodeMarkers(i.code_markers),i.delta){let r=ao.fromCompressed(i.delta);return hk(r)}else return null}).catch(()=>null)}setInitialWidgets(){if(this.initialWidgets.doctestReportsByLine){let e=Object.values(this.initialWidgets.doctestReportsByLine);this.updateDoctests(e)}this.initialWidgets.codeMarkers&&this.setCodeMarkers(this.initialWidgets.codeMarkers),this.initialWidgets={}}usesDarkTheme(){return kt.get().editor_theme!=="light"}};var ih={},Gl=class t{constructor(e){this.id=e,this.pubsub=new Ll,this.map={}}static create(e){let i=new t(e);return ih[e]=i,i}static getStore(e){if(!ih.hasOwnProperty(e))throw new Error(`No store found for id "${e}"`);return ih[e]}destroy(){ih[this.id]===this&&delete ih[this.id]}set(e,i){this.map[e]=i,this.pubsub.broadcast(e,i)}get(e){if(!this.map.hasOwnProperty(e))throw new Error(`Key "${e}" not found in the store`);return this.map[e]}watch(e,i){return this.pubsub.subscribe(e,i)}};var rh=class{constructor(e,i,r){xt(this,"_onDelta",new ii);xt(this,"onDelta",this._onDelta.event);xt(this,"_onAcknowledgement",new ii);xt(this,"onAcknowledgement",this._onAcknowledgement.event);xt(this,"_onSelection",new ii);xt(this,"onSelection",this._onSelection.event);xt(this,"_onClientsUpdate",new ii);xt(this,"onClientsUpdate",this._onClientsUpdate.event);this.hook=e,this.cellId=i,this.tag=r,this.sessionStore=Gl.getStore("session"),this.handlerByRef={},this.setupCollaborationHandlers(),this.clientsSubscription=this.sessionStore.watch("clients",n=>{this._onClientsUpdate.dispatch(n)}),this.setupIntellisenseHandlers()}destroy(){this.clientsSubscription.destroy()}getClients(){return this.sessionStore.get("clients")}getClientId(){return this.sessionStore.get("clientId")}sendDelta(e,i,r){this.hook.pushEvent("apply_cell_delta",{cell_id:this.cellId,tag:this.tag,delta:e.toCompressed(),selection:i&&SL(i),revision:r})}sendSelection(e,i){this.hook.pushEvent("report_cell_selection",{cell_id:this.cellId,tag:this.tag,selection:e&&SL(e),revision:i})}sendRevision(e){this.hook.pushEvent("report_cell_revision",{cell_id:this.cellId,tag:this.tag,revision:e})}setupCollaborationHandlers(){this.hook.handleEvent(`cell_delta:${this.cellId}:${this.tag}`,({delta:e,selection:i,client_id:r})=>{e=ao.fromCompressed(e),i=i&&TL(i),this._onDelta.dispatch(e,i,r)}),this.hook.handleEvent(`cell_acknowledgement:${this.cellId}:${this.tag}`,()=>{this._onAcknowledgement.dispatch()}),this.hook.handleEvent(`cell_selection:${this.cellId}:${this.tag}`,({selection:e,client_id:i})=>{e=e&&TL(e),this._onSelection.dispatch(e,i)})}setupIntellisenseHandlers(){this.hook.handleEvent("intellisense_response",({ref:e,response:i})=>{let r=this.handlerByRef[e];r&&(r(i),delete this.handlerByRef[e])})}intellisenseRequest(e,i){return new Promise((r,n)=>{this.hook.pushEvent("intellisense_request",H({cell_id:this.cellId,type:e},i),({ref:o})=>{o?this.handlerByRef[o]=s=>{s?r(s):n(new Lm("No relevant intellisense response for the given parameters"))}:n(new Lm("Intellisense request could not be completed"))})})}};function SL(t){return t.ranges.map(({anchor:e,head:i})=>[e,i])}function TL(t){let e=t.map(([i,r])=>K.range(i,r));return K.create(e)}var Lm=class extends Error{constructor(e){super(e),this.name="IntellisenseError"}};var wre={mounted(){this.props=this.getProps(),this.handleEvent(`cell_editor_init:${this.props.cellId}:${this.props.tag}`,({source:t,revision:e,doctest_reports:i,code_markers:r})=>{let n=this.el.querySelector("[data-el-editor-container]"),o=document.createElement("div");n.appendChild(o),this.connection=new rh(this,this.props.cellId,this.props.tag),this.liveEditor=new th(o,this.connection,t,e,this.props.language,this.props.intellisense,this.props.readOnly),this.liveEditor.setCodeMarkers(r),this.liveEditor.updateDoctests(i);let s=n.querySelector("[data-el-skeleton]"),a=document.createElement("div");a.classList.add("whitespace-pre","overflow-x-auto","text-editor","font-editor","px-12"),a.textContent=t,s.replaceChildren(a),this.liveEditor.onMount(()=>{s.remove()}),this.el.dispatchEvent(new CustomEvent("lb:cell:editor_created",{detail:{tag:this.props.tag,liveEditor:this.liveEditor},bubbles:!0})),this.visibility=Yp(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"),this.el.querySelector("[data-el-editor-container]").removeAttribute("id")},destroyed(){this.connection&&this.connection.destroy(),this.liveEditor&&(this.el.dispatchEvent(new CustomEvent("lb:cell:editor_removed",{detail:{tag:this.props.tag},bubbles:!0})),this.liveEditor.destroy()),this.visibility&&this.visibility.cancel()},getProps(){return ht(this.el,["cell-id","tag","language","intellisense","read-only"])}},EL=wre;var vk="data-js-dragging",kre={mounted(){this.el.addEventListener("dragenter",t=>{this.el.setAttribute(vk,"")}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.removeAttribute(vk)}),this.el.addEventListener("drop",t=>{this.el.removeAttribute(vk)})}},PL=kre;var Sre={mounted(){let t=kt.get(),e=this.el.querySelector('[name="editor_auto_completion"][value="true"]'),i=this.el.querySelector('[name="editor_auto_signature"][value="true"]'),r=this.el.querySelector('[name="editor_font_size"][value="true"]'),n=this.el.querySelector('[name="editor_ligatures"][value="true"]'),o=this.el.querySelector('[name="editor_light_theme"][value="true"]'),s=this.el.querySelector('[name="editor_markdown_word_wrap"][value="true"]'),a=this.el.querySelector('select[name="editor_mode"]');e.checked=t.editor_auto_completion,i.checked=t.editor_auto_signature,r.checked=t.editor_font_size===Ef.large,n.checked=t.editor_ligatures,o.checked=t.editor_theme===Rl.light,s.checked=t.editor_markdown_word_wrap,a.value=t.editor_mode,e.addEventListener("change",l=>{kt.update({editor_auto_completion:l.target.checked})}),i.addEventListener("change",l=>{kt.update({editor_auto_signature:l.target.checked})}),r.addEventListener("change",l=>{kt.update({editor_font_size:l.target.checked?Ef.large:Ef.normal})}),n.addEventListener("change",l=>{kt.update({editor_ligatures:l.target.checked})}),o.addEventListener("change",l=>{kt.update({editor_theme:l.target.checked?Rl.light:Rl.default})}),s.addEventListener("change",l=>{kt.update({editor_markdown_word_wrap:l.target.checked})}),a.addEventListener("change",l=>{kt.update({editor_mode:l.target.value})})}},QL=Sre;var a2=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)},co=(t,e,i)=>(a2(t,e,"read from private field"),i?i.call(t):e.get(t)),lo=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},Qk=(t,e,i,r)=>(a2(t,e,"write to private field"),r?r.call(t,i):e.set(t,i),i),Zr=(t,e,i)=>(a2(t,e,"access private method"),i),Tre="14.0";function Ere(t,e,i){let r=`https://cdn.jsdelivr.net/npm/emojibase-data@${e}/${t}`;return typeof i=="function"?r=i(t,e):typeof i=="string"&&(r=`${i}/${t}`),r}async function l2(t,e={}){let d=e,{local:i=!1,version:r="latest",cdnUrl:n}=d,o=pi(d,["local","version","cdnUrl"]),s=Ere(t,r,n),a=i?localStorage:sessionStorage,l=`emojibase/${r}/${t}`,c=a.getItem(l);if(c)return Promise.resolve(JSON.parse(c));let u=await fetch(s,H({credentials:"omit",mode:"cors",redirect:"error"},o));if(!u.ok)throw new Error("Failed to load Emojibase dataset.");let f=await u.json();try{a.setItem(l,JSON.stringify(f))}catch(O){}return f}var Pre={discord:"joypixels",slack:"iamcal"};async function CL(t,e,i){var r;return l2(`${t}/shortcodes/${(r=Pre[e])!==null&&r!==void 0?r:e}.json`,i)}function ah(t,e){if(e.length===0)return t;let i=new Set(t.shortcodes);return e.forEach(r=>{let n=r[t.hexcode];Array.isArray(n)?n.forEach(o=>i.add(o)):n&&i.add(n)}),t.shortcodes=[...i],t.skins&&t.skins.forEach(r=>{ah(r,e)}),t}function Qre(t,e=[]){let i=[];return t.forEach(r=>{if(r.skins){let n=r,{skins:o}=n,s=pi(n,["skins"]);i.push(ah(s,e)),o.forEach(a=>{let l=H({},a);s.tags&&(l.tags=[...s.tags]),i.push(ah(l,e))})}else i.push(ah(r,e))}),i}function Cre(t,e){return e.length===0||t.forEach(i=>{ah(i,e)}),t}async function DL(t,e={}){let l=e,{compact:i=!1,flat:r=!1,shortcodes:n=[]}=l,o=pi(l,["compact","flat","shortcodes"]),s=await l2(`${t}/${i?"compact":"data"}.json`,o),a=[];return n.length>0&&(a=await Promise.all(n.map(c=>{let u;if(c.includes("/")){let[f,d]=c.split("/");u=CL(f,d,o)}else u=CL(t,c,o);return u.catch(()=>({}))}))),r?Qre(s,a):Cre(s,a)}async function UL(t,e){return l2(`${t}/messages.json`,e)}function wk(t,e){let i=t.target.closest("[data-emoji]");if(i){let r=e.find(n=>n.emoji===i.dataset.emoji);if(r)return r}return null}function NL(t){var e;let i=(e=window.matchMedia)==null?void 0:e.call(window,"(prefers-reduced-motion: reduce)");return t.animate&&!(i!=null&&i.matches)}function _L(t,e){return t.toLowerCase().includes(e.toLowerCase())}function _re(t,e){let i=null;return()=>{i||(i=window.setTimeout(()=>{t(),i=null},e))}}function $re(t,e){let i=null;return(...r)=>{i&&window.clearTimeout(i),i=window.setTimeout(()=>{t(...r),i=null},e)}}function wa(t,e,i,r){if(NL(r)&&t.animate)return t.animate(e,i).finished;let n=i.direction==="normal"?1:0,o=Object.entries(e).reduce((s,[a,l])=>Pe(H({},s),{[a]:l[n]}),{});return Object.assign(t.style,o),Promise.resolve()}function Ck(t){var e;let i=document.createElement("template");return i.innerHTML=t,(e=i.content)==null?void 0:e.firstElementChild}async function Are(t){let e=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(i)).map(r=>r.toString(16).padStart(2,"0")).join("")}function di(...t){return t.reduce((e,i)=>Pe(H({},e),{[i]:c2(i)}),{})}function c2(t){return`picmo__${t}`}function Um(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function Kl(t,...e){Um(t).append(...e)}function ML(t){try{return window[t].length,!0}catch(e){return!1}}function Xre(){return ML("sessionStorage")}function Rre(){return ML("localStorage")}function ch(t){var e;return{emoji:t.emoji,label:t.label,tags:t.tags,skins:(e=t.skins)==null?void 0:e.map(i=>ch(i)),order:t.order,custom:!1,hexcode:t.hexcode,version:t.version}}function Zm(t,e,i){var r;return i&&!i.some(n=>n.order===t.group)?!1:_L(t.label,e)||((r=t.tags)==null?void 0:r.some(n=>_L(n,e)))}var Bm=class{constructor(e="en"){this.locale=e}},Lre=[(t,e)=>(t.hexcode==="1F91D"&&e<14&&(t.skins=[]),t),(t,e)=>(t.skins&&(t.skins=t.skins.filter(i=>!i.version||i.version<=e)),t)];function Ire(t,e){return Lre.some(i=>i(t,e)===null)?null:t}function Ym(t,e){return t.filter(i=>Ire(i,e)!==null)}var kk={};function qL(t){return kk[t]||(kk[t]=new _k(t)),kk[t]}qL.deleteDatabase=t=>{};var _k=class extends Bm{open(){return Promise.resolve()}delete(){return Promise.resolve()}close(){}isPopulated(){return Promise.resolve(!1)}getEmojiCount(){return Promise.resolve(this.emojis.length)}getEtags(){return Promise.resolve({foo:"bar"})}getHash(){return Promise.resolve("")}populate(e){return this.categories=e.groups,this.emojis=e.emojis,Promise.resolve()}getCategories(e){var i;let r=this.categories.filter(n=>n.key!=="component");if(e.showRecents&&r.unshift({key:"recents",order:-1}),(i=e.custom)!=null&&i.length&&r.push({key:"custom",order:10}),e.categories){let n=e.categories;r=r.filter(o=>n.includes(o.key)),r.sort((o,s)=>n.indexOf(o.key)-n.indexOf(s.key))}else r.sort((n,o)=>n.order-o.order);return Promise.resolve(r)}getEmojis(e,i){let r=this.emojis.filter(n=>n.group===e.order).filter(n=>n.version<=i).sort((n,o)=>n.order!=null&&o.order!=null?n.order-o.order:0).map(ch);return Promise.resolve(Ym(r,i))}searchEmojis(e,i,r,n){let o=this.emojis.filter(l=>Zm(l,e,n)&&l.version<=r).map(ch),s=i.filter(l=>Zm(l,e,n)),a=[...Ym(o,r),...s];return Promise.resolve(a)}setMeta(e){this.meta=e}};function zre(t,e){let i=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return{emojisUrl:`${i}/data.json`,messagesUrl:`${i}/messages.json`}}async function $L(t){try{return(await fetch(t,{method:"HEAD"})).headers.get("etag")}catch(e){return null}}function Dre(t){let{emojisUrl:e,messagesUrl:i}=zre("latest",t);try{return Promise.all([$L(e),$L(i)])}catch(r){return Promise.all([null,null])}}async function Ure(t,e,i){let r;try{r=await t.getEtags()}catch(s){r={}}let{storedEmojisEtag:n,storedMessagesEtag:o}=r;if(i!==o||e!==n){let[s,a]=await Promise.all([UL(t.locale),DL(t.locale)]);await t.populate({groups:s.groups,emojis:a,emojisEtag:e,messagesEtag:i})}}async function Nre(t,e){let i=await t.getHash();return e!==i}async function jL(t,e,i){let r=i||e(t);try{await r.open()}catch(n){console.warn("[picmo] IndexedDB not available, falling back to InMemoryStoreFactory"),r=qL(t)}return r}async function Mre(t,e,i){if(!Xre()&&typeof window<"u")throw new Error("Session storage is required to use CDN emoji data.");let r=await jL(t,e,i),[n,o]=await Dre(t);if(await r.isPopulated())n&&o&&await Ure(r,n,o);else{let[s,a]=await Promise.all([UL(t),DL(t)]);await r.populate({groups:s.groups,emojis:a,emojisEtag:n,messagesEtag:o})}return r}async function qre(t,e,i,r,n){let o=await jL(t,e,n),s=await Are(r);return(!await o.isPopulated()||await Nre(o,s))&&await o.populate({groups:i.groups,emojis:r,hash:s}),o}async function WL(t,e,i,r,n){return i&&r?qre(t,e,i,r,n):Mre(t,e,n)}var uh=class{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;(e=this.rootElement)==null||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,i,r){e.target===i&&(r.focus(),e.preventDefault())}handleKeyDown(e){e.key==="Tab"&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}},{light:jre,dark:J3e,auto:e4e}=di("light","dark","auto"),Me=class{constructor({template:e,classes:i,parent:r}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=i,this.parent=r,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...i){this.events.emit(e,...i)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then(i=>{this.emojiData=i})}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync(H({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}async render(e={}){return await this.emojiDataPromise,this.el=await this.template.renderAsync(H({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.on(e,this.appEvents[e],this)}),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.off(e,this.appEvents[e])}),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){let i=this.keyBindings[e.key];i&&i.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce((e,i)=>Pe(H({},e),{[i]:this.el.querySelector(this.uiElements[i])}),{})}bindUIEvents(){this.uiEvents.forEach(e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)})}unbindUIEvents(){this.uiEvents.forEach(e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)})}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){let e=new MutationObserver(i=>{let[r]=i;r.type==="childList"&&r.addedNodes[0]===this.el&&(NL(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)});e.observe(this.parent,{childList:!0})}}static childEvent(e,i,r,n={}){return{target:e,event:i,handler:r,options:n}}static uiEvent(e,i,r={}){return{event:e,handler:i,options:r}}static byClass(e){return`.${e}`}},Wre='<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>',Vre='<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>',Zre='<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>',Bre='<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>',Yre='<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>',Fre='<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>',Hre='<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>',Gre='<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>',Kre=`<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>`,Jre='<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>',ene='<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>',tne='<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>',ine='<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>',rne='<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>',nne=`<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>`,one='<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 sne(t,e){let i=Ck(e);return i.dataset.icon=t,i.classList.add(c2("icon")),i}var AL={clock:Wre,flag:Vre,frown:Zre,gamepad:Bre,lightbulb:Yre,mug:Fre,plane:Hre,robot:Gre,sad:Kre,search:Jre,smiley:ene,symbols:tne,tree:ine,users:rne,warning:nne,xmark:one},Km={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 VL(t,e){if(!(t in AL))return console.warn(`Unknown icon: "${t}"`),document.createElement("div");let i=sne(t,AL[t]);return e&&i.classList.add(c2(`icon-${e}`)),i}var ane={mode:"sync"},sh,Nm,Mm,$k,qm,Ak,jm,Xk,Ft=class{constructor(e,i={}){lo(this,Mm),lo(this,qm),lo(this,jm),lo(this,sh,void 0),lo(this,Nm,void 0),Qk(this,sh,e),Qk(this,Nm,i.mode||ane.mode)}renderSync(e={}){let i=Ck(co(this,sh).call(this,e));return Zr(this,jm,Xk).call(this,i,e),Zr(this,qm,Ak).call(this,i),Zr(this,Mm,$k).call(this,i,e),i}async renderAsync(e={}){let i=Ck(co(this,sh).call(this,e));return Zr(this,jm,Xk).call(this,i,e),Zr(this,qm,Ak).call(this,i),await Zr(this,Mm,$k).call(this,i,e),i}render(e){return co(this,Nm)==="sync"?this.renderSync(e):this.renderAsync(e)}};sh=new WeakMap,Nm=new WeakMap,Mm=new WeakSet,$k=async function(t,e){let i=t.querySelectorAll("[data-view]"),r=[];for(let n of i){let o=e[n.dataset.view];o?n.dataset.render!=="sync"?r.push(o.render().then(s=>(n.replaceWith(s),s))):n.replaceWith(o.renderSync()):n.remove()}return Promise.all(r)},qm=new WeakSet,Ak=function(t){t.querySelectorAll("i[data-icon]").forEach(e=>{let{icon:i,size:r}=e.dataset;e.replaceWith(VL(i,r))})},jm=new WeakSet,Xk=function(t,e){return t.querySelectorAll("[data-placeholder]").forEach(i=>{let r=i.dataset.placeholder;if(r&&e[r]){let n=e[r];i.replaceWith(...[n].flat())}else console.warn(`Missing placeholder element for key "${r}"`)}),t};var lne=di("imagePlaceholder","placeholder"),cne=new Ft(({classes:t})=>`
<div class="${t.placeholder} ${t.imagePlaceholder}"></div>
`),Rk=class extends Me{constructor({classNames:e}={}){super({template:cne,classes:lne}),this.classNames=e}load(e){let i=document.createElement("img");this.classNames&&(i.className=this.classNames),i.addEventListener("load",()=>{this.el.replaceWith(i)},{once:!0}),Promise.resolve(e).then(r=>i.src=r)}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach(e=>this.el.classList.add(e)),this.el}},une=di("customEmoji"),Lk=class{renderElement(e){return{content:e}}renderImage(e="",i){let r=new Rk({classNames:e});return r.renderSync(),{content:r,resolver:()=>(r.load(i()),r.el)}}doRender(e,i,r){if(e.custom)return this.renderCustom(e,i,r);let{content:n,resolver:o}=this.render(e,r),s=n instanceof Element?n:n.el;return o&&o(),s}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:i,emoji:r,data:n}){return{url:e,label:i,emoji:r,data:n}}renderCustom(e,i,r=""){let n=[une.customEmoji,r].join(" ").trim(),{content:o,resolver:s}=this.renderImage(n,()=>e.url),a=o instanceof Element?o:o.el;return s&&s(),a}},fne=new Ft(({emoji:t})=>`<span>${t}</span>`),Ik=class extends Lk{render(e){return this.renderElement(fne.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:i,label:r}){return{emoji:e,hexcode:i,label:r}}},hne={"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..."},zk="PicMo";function ZL(t){return new Dk(t)}ZL.deleteDatabase=t=>new Promise((e,i)=>{let r=indexedDB.deleteDatabase(`${zk}-${t}`);r.addEventListener("success",e),r.addEventListener("error",i)});var Dk=class extends Bm{async open(){let e=indexedDB.open(`${zk}-${this.locale}`);return new Promise((i,r)=>{e.addEventListener("success",n=>{var o;this.db=(o=n.target)==null?void 0:o.result,i()}),e.addEventListener("error",r),e.addEventListener("upgradeneeded",async n=>{var o;this.db=(o=n.target)==null?void 0:o.result,this.db.createObjectStore("category",{keyPath:"order"});let s=this.db.createObjectStore("emoji",{keyPath:"emoji"});s.createIndex("category","group"),s.createIndex("version","version"),this.db.createObjectStore("meta")})})}async delete(){this.close();let e=indexedDB.deleteDatabase(`${zk}-${this.locale}`);await this.waitForRequest(e)}close(){this.db.close()}async getEmojiCount(){let e=this.db.transaction("emoji","readonly").objectStore("emoji");return(await this.waitForRequest(e.count())).target.result}async getEtags(){let e=this.db.transaction("meta","readonly").objectStore("meta"),[i,r]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:i.target.result,storedMessagesEtag:r.target.result}}async setMeta(e){let i=this.db.transaction("meta","readwrite"),r=i.objectStore("meta");return new Promise(n=>{i.oncomplete=n,Object.keys(e).filter(Boolean).forEach(o=>{r.put(e[o],o)})})}async getHash(){let e=this.db.transaction("meta","readonly").objectStore("meta");return(await this.waitForRequest(e.get("hash"))).target.result}async isPopulated(){let e=this.db.transaction("category","readonly").objectStore("category");return(await this.waitForRequest(e.count())).target.result>0}async populate({groups:e,emojis:i,emojisEtag:r,messagesEtag:n,hash:o}){await this.removeAllObjects("category","emoji");let s=[this.addObjects("category",e),this.addObjects("emoji",i),this.setMeta({emojisEtag:r,messagesEtag:n,hash:o})];await Promise.all(s)}async getCategories(e){var i;let r=this.db.transaction("category","readonly").objectStore("category"),n=(await this.waitForRequest(r.getAll())).target.result.filter(o=>o.key!=="component");if(e.showRecents&&n.unshift({key:"recents",order:-1}),(i=e.custom)!=null&&i.length&&n.push({key:"custom",order:10}),e.categories){let o=e.categories;n=n.filter(s=>o.includes(s.key)),n.sort((s,a)=>o.indexOf(s.key)-o.indexOf(a.key))}else n.sort((o,s)=>o.order-s.order);return n}async getEmojis(e,i){let r=this.db.transaction("emoji","readonly").objectStore("emoji").index("category"),n=(await this.waitForRequest(r.getAll(e.order))).target.result.filter(o=>o.version<=i).sort((o,s)=>o.order!=null&&s.order!=null?o.order-s.order:0).map(ch);return Ym(n,i)}async searchEmojis(e,i,r,n){let o=[];return new Promise((s,a)=>{let l=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();l.addEventListener("success",c=>{var u;let f=(u=c.target)==null?void 0:u.result;if(!f)return s([...Ym(o,r),...i.filter(O=>Zm(O,e))]);let d=f.value;Zm(d,e,n)&&d.version<=r&&o.push(ch(d)),f.continue()}),l.addEventListener("error",c=>{a(c)})})}async waitForRequest(e){return new Promise((i,r)=>{e.onsuccess=i,e.onerror=r})}withTransaction(e,i="readwrite",r){return new Promise((n,o)=>{let s=this.db.transaction(e,i);s.oncomplete=n,s.onerror=o,r(s)})}async removeAllObjects(...e){let i=this.db.transaction(e,"readwrite"),r=e.map(n=>i.objectStore(n));await Promise.all(r.map(n=>this.waitForRequest(n.clear())))}async addObjects(e,i){return this.withTransaction(e,"readwrite",r=>{let n=r.objectStore(e);i.forEach(o=>{n.add(o)})})}};function dne(){let t={};return{getItem:e=>t[e],setItem:(e,i)=>t[e]=i,length:Object.keys(t).length,clear:()=>t={},key:e=>Object.keys(t)[e],removeItem:e=>delete t[e]}}var Uk=class{},Sk="PicMo:recents",Nk=class extends Uk{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(Sk)}getRecents(e){var i;try{return JSON.parse((i=this.storage.getItem(Sk))!=null?i:"[]").slice(0,e)}catch(r){return[]}}addOrUpdateRecent(e,i){let r=[e,...this.getRecents(i).filter(n=>n.hexcode!==e.hexcode)].slice(0,i);try{this.storage.setItem(Sk,JSON.stringify(r))}catch(n){console.warn("storage is not available, recent emojis will not be saved")}}},Mk=class extends Nk{constructor(){super(Rre()?localStorage:dne())}},One={dataStore:ZL,theme:jre,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:hne,locale:"en",maxRecents:50,custom:[]};function u2(t={}){return Pe(H(H({},One),t),{renderer:t.renderer||new Ik,recentsProvider:t.recentsProvider||new Mk})}var ka,lh,Fm,Wm,qk,Sa=class{constructor(){lo(this,lh),lo(this,Wm),lo(this,ka,new Map)}on(e,i,r){Zr(this,Wm,qk).call(this,e,i,r)}once(e,i,r){Zr(this,Wm,qk).call(this,e,i,r,!0)}off(e,i){let r=Zr(this,lh,Fm).call(this,e);co(this,ka).set(e,r.filter(n=>n.handler!==i))}emit(e,...i){Zr(this,lh,Fm).call(this,e).forEach(r=>{r.handler.apply(r.context,i),r.once&&this.off(e,r.handler)})}removeAll(){co(this,ka).clear()}};ka=new WeakMap,lh=new WeakSet,Fm=function(t){return co(this,ka).has(t)||co(this,ka).set(t,[]),co(this,ka).get(t)},Wm=new WeakSet,qk=function(t,e,i,r=!1){Zr(this,lh,Fm).call(this,t).push({context:i,handler:e,once:r})};var pne={injectStyles:!0},jk=class extends Sa{},Wk=class extends Sa{},Vk=di("emojiCategory","categoryName","noRecents","recentEmojis"),fh=class extends Me{constructor({template:e,category:i,showVariants:r,lazyLoader:n}){super({template:e,classes:Vk}),this.baseUIElements={categoryName:Me.byClass(Vk.categoryName)},this.category=i,this.showVariants=r,this.lazyLoader=n}setActive(e,i,r){this.emojiContainer.setActive(e,i,r)}},mne=new Ft(({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>
`),gne=di("emojiButton"),Hm=class extends Me{constructor({emoji:e,lazyLoader:i,category:r}){super({template:mne,classes:gne}),this.emoji=e,this.lazyLoader=i,this.category=r}initialize(){this.uiEvents=[Me.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}},Zk=class{constructor(e,i,r=0,n=0,o=!1){this.events=new Sa,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(i/e),this.columnCount=e,this.focusedRow=r,this.focusedColumn=n,this.emojiCount=i,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,i){this.events.on(e,i)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,i,r=!0){let n=this.getIndex();this.focusedRow=e,i!==void 0&&(this.focusedColumn=Math.min(this.columnCount,i)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:n,to:this.getIndex(),performFocus:r})}setFocusedIndex(e,i=!0){let r=Math.floor(e/this.columnCount),n=e%this.columnCount;this.setCell(r,n,i)}focusNext(){this.focusedColumn<this.columnCount-1&&this.getIndex()<this.emojiCount-1?this.setCell(this.focusedRow,this.focusedColumn+1):this.focusedRow<this.rowCount-1?this.setCell(this.focusedRow+1,0):this.wrap?this.setCell(0,0):this.events.emit("focus:overflow",0)}focusPrevious(){this.focusedColumn>0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow<this.rowCount-1?this.setCell(this.focusedRow+1,this.focusedColumn):this.events.emit("focus:overflow",this.focusedColumn)}focusToIndex(e){this.setCell(Math.floor(e/this.columnCount),e%this.columnCount)}getIndex(){return this.focusedRow*this.columnCount+this.focusedColumn}getCell(){return{row:this.focusedRow,column:this.focusedColumn}}getRowCount(){return this.rowCount}},bne=new Ft(({classes:t})=>`
<div class="${t.emojiContainer}">
<div data-placeholder="emojis"></div>
</div>
`),yne=di("emojiContainer"),Ta=class extends Me{constructor({emojis:e,showVariants:i,preview:r=!0,lazyLoader:n,category:o,fullHeight:s=!1}){super({template:bne,classes:yne}),this.fullHeight=!1,this.showVariants=i,this.lazyLoader=n,this.preview=r,this.emojis=e,this.category=o,this.fullHeight=s,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new Zk(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[Me.uiEvent("click",this.selectEmoji),Me.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(Me.uiEvent("mouseover",this.showPreview),Me.uiEvent("mouseout",this.hidePreview),Me.uiEvent("focus",this.showPreview,{capture:!0}),Me.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,i){if(e)if(typeof e=="string"){let r=this.emojis.findIndex(n=>n.emoji===e);this.grid.setFocusedIndex(r,!1),setTimeout(()=>{var n,o,s,a;let l=this.emojiViews[r].el;l.scrollIntoView();let c=(n=l.parentElement)==null?void 0:n.previousElementSibling,u=(s=(o=l.parentElement)==null?void 0:o.parentElement)==null?void 0:s.parentElement;u.scrollTop-=(a=c==null?void 0:c.offsetHeight)!=null?a:0})}else e.row==="first"||e.row===0?this.grid.setCell(0,e.offset,i):e.row==="last"&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,i)}setActive(e,i,r){var n;e?this.setFocusedView(i,r):(n=this.emojiViews[this.grid.getIndex()])==null||n.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map(e=>this.viewFactory.create(Hm,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer})),this.emojiElements=this.emojiViews.map(e=>e.renderSync()),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach(e=>e.destroy()),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:i,performFocus:r}){var n,o;(n=this.emojiViews[e])==null||n.deactivateFocus(),(o=this.emojiViews[i])==null||o.activateFocus(r)}selectEmoji(e){e.stopPropagation();let i=wk(e,this.emojis);i&&this.events.emit("emoji:select",{emoji:i,showVariants:this.showVariants})}showPreview(e){let i=e.target.closest("button"),r=i==null?void 0:i.firstElementChild,n=wk(e,this.emojis);n&&this.events.emit("preview:show",n,r==null?void 0:r.cloneNode(!0))}hidePreview(e){wk(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}},xne=new Ft(({classes:t,category:e,pickerId:i,icon:r,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${r}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),Bk=class extends fh{constructor({category:e,showVariants:i,lazyLoader:r,emojiVersion:n}){super({category:e,showVariants:i,lazyLoader:r,template:xne}),this.showVariants=i,this.lazyLoader=r,this.emojiVersion=n}initialize(){this.uiElements=H({},this.baseUIElements),super.initialize()}async render(){await this.emojiDataPromise;let e=await this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(Ta,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:Km[this.category.key]})}},Yk=class extends Ta{constructor({category:e,emojis:i,preview:r=!0,lazyLoader:n}){super({category:e,emojis:i,showVariants:!1,preview:r,lazyLoader:n})}async addOrUpdate(e){let i=this.el.querySelector(`[data-emoji="${e.emoji}"]`);i&&(this.el.removeChild(i),this.emojis=this.emojis.filter(n=>n!==e));let r=this.viewFactory.create(Hm,{emoji:e});if(this.el.insertBefore(r.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter(n=>n!==e)],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);let n=this.el.childElementCount-this.options.maxRecents;for(let o=0;o<n;o++)this.el.lastElementChild&&this.el.removeChild(this.el.lastElementChild)}}},vne=new Ft(({emojiCount:t,classes:e,category:i,pickerId:r,icon:n,i18n:o})=>`
<section class="${e.emojiCategory}" role="tabpanel" aria-labelledby="${r}-category-${i.key}">
<h3 data-category="${i.key}" class="${e.categoryName}">
<i data-icon="${n}"></i>
${o.get(`categories.${i.key}`,i.message||i.key)}
</h3>
<div data-empty="${t===0}" class="${e.recentEmojis}">
<div data-view="emojis" data-render="sync"></div>
</div>
<div class="${e.noRecents}">
${o.get("recents.none")}
</div>
</section>
`,{mode:"async"}),Fk=class extends fh{constructor({category:e,lazyLoader:i,provider:r}){super({category:e,showVariants:!1,lazyLoader:i,template:vne}),this.provider=r}initialize(){this.uiElements=Pe(H({},this.baseUIElements),{recents:Me.byClass(Vk.recentEmojis)}),this.appEvents={"recent:add":this.addRecent},super.initialize()}async addRecent(e){await this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}async render(){var e;let i=(e=this.provider)==null?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(Yk,{emojis:i,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:i.length,icon:Km[this.category.key]}),this.el}},wne=new Ft(({classes:t,category:e,pickerId:i,icon:r,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${r}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),Hk=class extends fh{constructor({category:e,lazyLoader:i}){super({template:wne,showVariants:!1,lazyLoader:i,category:e})}initialize(){this.uiElements=H({},this.baseUIElements),super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(Ta,{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:Km[this.category.key]})}},Gm=class{constructor(){this.elements=new Map}lazyLoad(e,i){return this.elements.set(e,i),e}observe(e){if(window.IntersectionObserver){let i=new IntersectionObserver(r=>{r.filter(n=>n.intersectionRatio>0).map(n=>n.target).forEach(n=>{let o=this.elements.get(n);o==null||o(),i.unobserve(n)})},{root:e});this.elements.forEach((r,n)=>{i.observe(n)})}else this.elements.forEach(i=>{i()})}},XL=di("emojiArea"),kne=new Ft(({classes:t})=>`
<div class="${t.emojiArea}">
<div data-placeholder="emojis"></div>
</div>
`,{mode:"async"}),Sne={recents:Fk,custom:Hk};function Tne(t){return Sne[t.key]||Bk}function Ene(t){return!t||t==="button"?{row:"first",offset:0}:t}var Gk=class extends Me{constructor({categoryTabs:e,categories:i,emojiVersion:r}){super({template:kne,classes:XL}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new Gm,this.categoryTabs=e,this.categories=i,this.emojiVersion=r,this.handleScroll=_re(this.handleScroll.bind(this),100)}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:Me.byClass(XL.emojiArea)},this.uiEvents=[Me.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}async render(){this.emojiCategories=this.categories.map(this.createCategory,this);let e={};return this.categories.forEach((i,r)=>{e[`emojis-${i.key}`]=this.emojiCategories[r]}),await super.render({emojis:await Promise.all(this.emojiCategories.map(i=>i.render()))}),this.lazyLoader.observe(this.el),this.el}destroy(){super.destroy(),this.emojiCategories.forEach(e=>{var i;(i=this.observer)==null||i.unobserve(e.el),e.destroy()})}handleCategorySelect(e,i){this.el.style.overflow="hidden",this.selectCategory(e,i),this.el.style.overflow="auto"}createCategory(e){let i=Tne(e);return this.viewFactory.create(i,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find(i=>i.key===this.options.initialCategory)?this.options.initialCategory:(e=this.categories.find(i=>i.key!=="recents"))==null?void 0:e.key}determineFocusTarget(e){let i=this.emojiCategories.find(r=>r.category.key===e);return this.options.initialEmoji&&(i!=null&&i.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");let i=this.determineInitialCategory();i&&(this.selectCategory(i,{focus:this.determineFocusTarget(i),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(i))}getCategoryIndex(e){return this.categories.findIndex(i=>i.key===e)}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:e!=null?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory<this.categories.length-1&&this.focusCategory(this.selectedCategory+1,{row:"first",offset:e!=null?e:0})}focusCategory(e,i){this.selectCategory(e,{focus:i,performFocus:!0})}async selectCategory(e,i={}){var r;this.scrollListenerState="suspend";let{focus:n,performFocus:o,scroll:s}=H({performFocus:!1},i);this.emojiCategories[this.selectedCategory].setActive(!1);let a=this.selectedCategory=typeof e=="number"?e:this.getCategoryIndex(e);(r=this.categoryTabs)==null||r.setActiveTab(this.selectedCategory,{performFocus:o,scroll:n==="button"});let l=this.emojiCategories[a].el.offsetTop;this.emojiCategories[a].setActive(!0,Ene(n),n!=="button"&&o),s&&(this.el.scrollTop=l),this.scrollListenerState="resume"}updateFocusedCategory(e){var i;this.categories[this.selectedCategory].key!==e&&(this.scrollListenerState="suspend",this.selectedCategory=this.getCategoryIndex(e),(i=this.categoryTabs)==null||i.setActiveTab(this.selectedCategory,{changeFocusable:!1,performFocus:!1}),this.scrollListenerState="resume")}handleScroll(){if(this.scrollListenerState==="suspend"||!this.categoryTabs)return;if(this.scrollListenerState==="resume"){this.scrollListenerState="active";return}let e=this.el.scrollTop,i=this.el.scrollHeight-this.el.offsetHeight,r=this.emojiCategories.findIndex((o,s)=>{var a;return e<((a=this.emojiCategories[s+1])==null?void 0:a.el.offsetTop)}),n={changeFocusable:!1,performFocus:!1,scroll:!1};e===0?this.categoryTabs.setActiveTab(0,n):Math.floor(e)===Math.floor(i)||r<0?this.categoryTabs.setActiveTab(this.categories.length-1,n):this.categoryTabs.setActiveTab(r,n)}},Pne=new Ft(({classList:t,classes:e,icon:i,message:r})=>`
<div class="${t}" role="alert">
<div class="${e.iconContainer}"><i data-size="10x" data-icon="${i}"></i></div>
<h3 class="${e.title}">${r}</h3>
</div>
`),RL=di("error","iconContainer","title"),hh=class extends Me{constructor({message:e,icon:i="warning",template:r=Pne,className:n}){super({template:r,classes:RL}),this.message=e,this.icon=i,this.className=n}renderSync(){let e=[RL.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}},Qne=new Ft(({classList:t,classes:e,icon:i,i18n:r,message:n})=>`
<div class="${t}" role="alert">
<div class="${e.icon}"><i data-size="10x" data-icon="${i}"></i></div>
<h3 class="${e.title}">${n}</h3>
<button type="button">${r.get("retry")}</button>
</div>
`),Cne=di("dataError"),Kk=class extends hh{constructor({message:e}){super({message:e,template:Qne,className:Cne.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[Me.childEvent("retryButton","click",this.onRetry)],super.initialize()}async onRetry(){this.emojiData?await this.emojiData.delete():await this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");let e=await WL(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}},nh=di("preview","previewEmoji","previewName","tagList","tag"),_ne=new Ft(({classes:t,tag:e})=>`
<li class="${t.tag}">${e}</li>
`),$ne=new Ft(({classes:t})=>`
<div class="${t.preview}">
<div class="${t.previewEmoji}"></div>
<div class="${t.previewName}"></div>
<ul class="${t.tagList}"></ul>
</div>
`),Jk=class extends Me{constructor(){super({template:$ne,classes:nh})}initialize(){this.uiElements={emoji:Me.byClass(nh.previewEmoji),name:Me.byClass(nh.previewName),tagList:Me.byClass(nh.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,i){if(Kl(this.ui.emoji,i),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";let r=e.tags.map(n=>_ne.renderSync({tag:n,classes:nh}));Kl(this.ui.tagList,...r)}}hidePreview(){Um(this.ui.emoji),Um(this.ui.name),Um(this.ui.tagList)}},Ane=new Ft(({classes:t,i18n:e})=>`
<button title="${e.get("search.clear")}" class="${t.clearSearchButton}">
<i data-icon="xmark"></i>
</button>
`),Xne=new Ft(({classes:t,i18n:e})=>`
<div class="${t.searchContainer}">
<input class="${t.searchField}" placeholder="${e.get("search")}">
<span class="${t.searchAccessory}"></span>
</div>
`,{mode:"async"}),oh=di("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound"),e2=class extends Me{constructor({categories:e,emojiVersion:i}){super({template:Xne,classes:oh}),this.categories=e.filter(r=>r.key!=="recents"),this.emojiVersion=i,this.search=$re(this.search.bind(this),100)}initialize(){this.uiElements={searchField:Me.byClass(oh.searchField),searchAccessory:Me.byClass(oh.searchAccessory)},this.uiEvents=[Me.childEvent("searchField","keydown",this.onKeyDown),Me.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=VL("search"),this.notFoundMessage=this.viewFactory.create(hh,{message:this.i18n.get("search.notFound"),className:oh.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(hh,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=Ane.render({classes:oh,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){Kl(this.ui.searchAccessory,e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var i;e.stopPropagation(),this.searchField.value="",(i=this.resultsContainer)==null||i.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&e.key==="Escape"&&this.onClearSearch(e)}onKeyDown(e){var i;e.key==="Escape"&&this.searchField.value?this.onClearSearch(e):(e.key==="Enter"||e.key==="ArrowDown")&&this.resultsContainer&&(e.preventDefault(),(i=this.resultsContainer.el.querySelector('[tabindex="0"]'))==null||i.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{let i=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),i.length){let r=new Gm;this.resultsContainer=this.viewFactory.create(Ta,{emojis:i,fullHeight:!0,showVariants:!0,lazyLoader:r}),this.resultsContainer.renderSync(),(e=this.resultsContainer)!=null&&e.el&&(r.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",n=>this.handleResultsKeydown(n)),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch(i){this.events.emit("content:show",this.errorMessage)}}},Rne=new Ft(({classes:t})=>`
<div class="${t.variantOverlay}">
<div class="${t.variantPopup}">
<div data-view="emojis" data-render="sync"></div>
</div>
</div>
`),LL=di("variantOverlay","variantPopup"),Tk={easing:"ease-in-out",duration:250,fill:"both"},IL={opacity:[0,1]},zL={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]},t2=class extends Me{constructor({emoji:e,parent:i}){super({template:Rne,classes:LL,parent:i}),this.focusedEmojiIndex=0,this.focusTrap=new uh,this.animateShow=()=>Promise.all([wa(this.el,IL,Tk,this.options),wa(this.ui.popup,zL,Tk,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:Me.byClass(LL.variantPopup)},this.uiEvents=[Me.uiEvent("click",this.handleClick),Me.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){let e=Pe(H({},Tk),{direction:"reverse"});return Promise.all([wa(this.el,IL,e,this.options),wa(this.ui.popup,zL,e,this.options)])}async hide(){await this.animateHide(),this.events.emit("variantPopup:hide")}handleKeydown(e){e.key==="Escape"&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){let i=this.getEmoji(this.focusedEmojiIndex);i.tabIndex=-1,this.focusedEmojiIndex=e;let r=this.getEmoji(this.focusedEmojiIndex);r.tabIndex=0,r.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){let e=Pe(H({},this.emoji),{skins:null}),i=(this.emoji.skins||[]).map(n=>Pe(H({},n),{label:this.emoji.label,tags:this.emoji.tags})),r=[e,...i];return this.emojiContainer=this.viewFactory.create(Ta,{emojis:r,preview:!1}),super.renderSync({emojis:this.emojiContainer}),r.length<this.options.emojisPerRow&&this.el.style.setProperty("--emojis-per-row",r.length.toString()),this.el}activate(){this.emojiContainer.setActive(!0,{row:0,offset:0},!0),this.focusTrap.activate(this.el)}},Lne=new Ft(({classes:t,i18n:e,category:i,pickerId:r,icon:n})=>`
<li class="${t.categoryTab}">
<button
aria-selected="false"
role="tab"
class="${t.categoryButton}"
tabindex="-1"
title="${e.get(`categories.${i.key}`,i.message||i.key)}"
type="button"
data-category="${i.key}"
id="${r}-category-${i.key}"
>
<i data-icon="${n}"></i>
</li>
`),Ek=di("categoryTab","categoryTabActive","categoryButton"),i2=class extends Me{constructor({category:e,icon:i}){super({template:Lne,classes:Ek}),this.isActive=!1,this.category=e,this.icon=i}initialize(){this.uiElements={button:Me.byClass(Ek.categoryButton)},this.uiEvents=[Me.childEvent("button","click",this.selectCategory),Me.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,i={}){let{changeFocusable:r,performFocus:n,scroll:o}=H({changeFocusable:!0,performFocus:!0,scroll:!0},i);this.el.classList.toggle(Ek.categoryTabActive,e),r&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&n&&(this.ui.button.focus(),o&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}},Ine=new Ft(({classes:t})=>`
<div class="${t.categoryButtonsContainer}">
<ul role="tablist" class="${t.categoryButtons}">
<div data-placeholder="tabs"></div>
</ul>
</div>
`),zne=di("categoryButtons","categoryButtonsContainer"),r2=class extends Me{constructor({categories:e}){super({template:Ine,classes:zne}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[Me.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){let e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,i=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",i&&e?this.el.classList.add("has-overflow-both"):i?this.el.classList.add("has-overflow-left"):e&&this.el.classList.add("has-overflow-right")}renderSync(){return this.tabViews=this.categories.map(e=>this.viewFactory.create(i2,{category:e,icon:Km[e.key]})),super.renderSync({tabs:this.tabViews.map(e=>e.renderSync())}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,i={}){this.checkOverflow();let r=this.currentTabView,n=this.tabViews[e];r.setActive(!1,i),n.setActive(!0,i),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{let i=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(i),{changeFocusable:!0,performFocus:!0})}}},Dne=[{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 Une(){var t;let e=Dne.find(i=>Nne(i.emoji));return(t=e==null?void 0:e.version)!=null?t:1}function Nne(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 Pk(t,e){return Array.from({length:t},()=>e).join("")}function Mne({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 qne(t){let{classes:e,theme:i,className:r=""}=t;return`
<div class="picmo__picker ${e.picker} ${i} ${r}">
${Mne(t)}
<div class="${e.content}">
<div data-view="emojiArea"></div>
</div>
<div data-view="preview"></div>
</div>
`}function jne(t){let{emojiCount:e,classes:i,theme:r,className:n,categoryCount:o}=t,s=({showSearch:u,classes:f})=>u?`
<div class="${f.searchSkeleton}">
<div class="${f.searchInput} ${f.placeholder}"></div>
</div>
`:"",a=({showCategoryTabs:u,classes:f})=>u?`
<div class="${f.categoryTabsSkeleton}">
${Pk(o,`<div class="${f.placeholder} ${f.categoryTab}"></div>`)}
</div>
`:"",l=({showHeader:u,classes:f})=>u?`
<header class="${f.headerSkeleton}">
${s(t)}
${a(t)}
</header>
`:"",c=({showPreview:u,classes:f})=>u?`
<div class="${f.previewSkeleton}">
<div class="${f.placeholder} ${f.previewEmoji}"></div>
<div class="${f.placeholder} ${f.previewName}"></div>
<ul class="${f.tagList}">
${Pk(3,`<li class="${f.placeholder} ${f.tag}"></li>`)}
</ul>
</div>
`:"";return`
<div class="picmo__picker ${i.skeleton} ${i.picker} ${r} ${n}">
${l(t)}
<div class="${i.contentSkeleton}">
<div class="${i.placeholder} ${i.categoryName}"></div>
<div class="${i.emojiGrid}">
${Pk(e,`<div class="${i.placeholder} ${i.emoji}"></div>`)}
</div>
</div>
${c(t)}
</div>
`}var Wne=new Ft(t=>t.isLoaded?qne(t):jne(t)),Im=di("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),zm={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"},n2=class extends Me{constructor(){super({template:Wne,classes:Im}),this.pickerReady=!1,this.externalEvents=new Wk,this.updaters={styleProperty:e=>i=>this.el.style.setProperty(zm[e],i.toString()),theme:e=>{let i=this.options.theme,r=this.el.closest(`.${i}`);this.el.classList.remove(i),r==null||r.classList.remove(i),this.el.classList.add(e),r==null||r.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:Me.byClass(Im.content),header:Me.byClass(Im.header)},this.uiEvents=[Me.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,i;super.destroy(),(e=this.search)==null||e.destroy(),this.emojiArea.destroy(),(i=this.categoryTabs)==null||i.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,i){this.externalEvents.on(e,i)}removeEventListener(e,i){this.externalEvents.off(e,i)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){let i=e.ctrlKey||e.metaKey;e.key==="s"&&i&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(Jk)),this.options.showSearch&&(this.search=this.viewFactory.create(e2,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(r2,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(Gk,{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(zm).forEach(e=>{this.options[e]&&this.el.style.setProperty(zm[e],this.options[e].toString())})}updateStyleProperty(e,i){this.el.style.setProperty(zm[e],i.toString())}reinitialize(){this.renderSync()}onError(e){let i=this.viewFactory.createWithOptions({data:!1},Kk,{message:this.i18n.get("error.load")}),r=this.el.offsetHeight||375;throw this.el.style.height=`${r}px`,Kl(this.el,i.renderSync()),e}async onDataReady(e){let i=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,this.options.emojiVersion==="auto"?this.emojiVersion=Une()||parseFloat(Tre):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);let[r,n,o,s]=this.buildChildViews();await super.render({isLoaded:!0,search:n,categoryTabs:s,emojiArea:o,preview:r,showHeader:!!(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,i.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(r){this.events.emit("error",r)}}renderSync(){var e;let i=((e=this.options.categories)==null?void 0:e.length)||10;if(this.options.showRecents&&(i+=1),super.renderSync({isLoaded:!1,theme:this.options.theme,className:this.options.className,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows,categoryCount:i}),this.el.style.setProperty("--category-count",i.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return Kl(this.options.rootElement,this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if(typeof this.options.autoFocus<"u")switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;case"auto":return this.search||this.emojiArea.focusableEmoji;default:return null}if(this.options.autoFocusSearch===!0)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;!this.pickerReady||(e=this.getInitialFocusTarget())==null||e.focus()}reset(e=!0){var i;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),(i=this.search)==null||i.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var i,r;e!==this.currentView&&(this.currentView!==this.emojiArea&&((i=this.currentView)==null||i.destroy()),this.ui.pickerContent.classList.toggle(Im.fullHeight,e!==this.emojiArea),Kl(this.ui.pickerContent,e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):(r=this.categoryTabs)==null||r.el.remove())}hideVariantPopup(){var e;(e=this.variantPopup)==null||e.destroy()}isPickerClick(e){var i,r;let n=e.target,o=this.el.contains(n),s=(r=(i=this.variantPopup)==null?void 0:i.el)==null?void 0:r.contains(n);return o||s}async selectEmoji({emoji:e}){var i,r;(i=e.skins)!=null&&i.length&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await((r=this.variantPopup)==null?void 0:r.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){let i=document.activeElement;this.events.once("variantPopup:hide",()=>{i==null||i.focus()}),this.variantPopup=this.viewFactory.create(t2,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}async emitEmoji(e){this.externalEvents.emit("emoji:select",await this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}updateOptions(e){Object.keys(e).forEach(i=>{this.updaters[i](e[i])}),Object.assign(this.options,e)}},o2=class{constructor({events:e,i18n:i,renderer:r,emojiData:n,options:o,customEmojis:s=[],pickerId:a}){this.events=e,this.i18n=i,this.renderer=r,this.emojiData=n,this.options=o,this.customEmojis=s,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}createWithOptions(e={},i,...r){let n=new i(...r);return n.setPickerId(this.pickerId),n.setEvents(this.events),n.setI18n(this.i18n),n.setRenderer(this.renderer),e.data!==!1&&n.setEmojiData(this.emojiData),n.setOptions(this.options),n.setCustomEmojis(this.customEmojis),n.viewFactory=this,n.initialize(),n}create(e,...i){return this.createWithOptions({},e,...i)}},Vm,s2=class{constructor(e={}){lo(this,Vm,void 0),Qk(this,Vm,new Map(Object.entries(e)))}get(e,i=e){return co(this,Vm).get(e)||i}};Vm=new WeakMap;function Vne(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(!t||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",i==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}function f2(){let t=!1;return function(e){pne.injectStyles&&!t&&(Vne(e),t=!0)}}var Zne=`.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 Bne(t){return WL(t.locale,t.dataStore,t.messages,t.emojiData)}var Yne=0,Dm;function Fne(){return`picmo-${Date.now()}-${Yne++}`}var Hne=f2();function BL(t){Hne(Zne);let e=u2(t),i=((e==null?void 0:e.custom)||[]).map(s=>Pe(H({},s),{custom:!0,tags:["custom",...s.tags||[]]})),r=new jk;Dm||(Dm=Bne(e));let n=new s2(e.i18n);Dm.then(s=>{r.emit("data:ready",s)}).catch(s=>{r.emit("error",s)});let o=new o2({events:r,i18n:n,customEmojis:i,renderer:e.renderer,options:e,emojiData:Dm,pickerId:Fne()}).create(n2);return o.renderSync(),o}function Ea(t){return t.split("-")[0]}function Jl(t){return t.split("-")[1]}function rg(t){return["top","bottom"].includes(Ea(t))?"x":"y"}function rI(t){return t==="y"?"height":"width"}function YL(t,e,i){let{reference:r,floating:n}=t,o=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2,a=rg(e),l=rI(a),c=r[l]/2-n[l]/2,u=Ea(e),f=a==="x",d;switch(u){case"top":d={x:o,y:r.y-n.height};break;case"bottom":d={x:o,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:s};break;case"left":d={x:r.x-n.width,y:s};break;default:d={x:r.x,y:r.y}}switch(Jl(e)){case"start":d[a]-=c*(i&&f?-1:1);break;case"end":d[a]+=c*(i&&f?-1:1);break}return d}var Gne=async(t,e,i)=>{let{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:s}=i,a=await(s.isRTL==null?void 0:s.isRTL(e)),l=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:c,y:u}=YL(l,r,a),f=r,d={},O=0;for(let g=0;g<o.length;g++){let{name:x,fn:S}=o[g],{x:w,y:T,data:A,reset:I}=await S({x:c,y:u,initialPlacement:r,placement:f,strategy:n,middlewareData:d,rects:l,platform:s,elements:{reference:t,floating:e}});if(c=w!=null?w:c,u=T!=null?T:u,d=Pe(H({},d),{[x]:H(H({},d[x]),A)}),I&&O<=50){O++,typeof I=="object"&&(I.placement&&(f=I.placement),I.rects&&(l=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):I.rects),{x:c,y:u}=YL(l,f,a)),g=-1;continue}}return{x:c,y:u,placement:f,strategy:n,middlewareData:d}};function Kne(t){return H({top:0,right:0,bottom:0,left:0},t)}function Jne(t){return typeof t!="number"?Kne(t):{top:t,right:t,bottom:t,left:t}}function Jm(t){return Pe(H({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}async function p2(t,e){var i;e===void 0&&(e={});let{x:r,y:n,platform:o,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:O=0}=e,g=Jne(O),x=a[d?f==="floating"?"reference":"floating":f],S=Jm(await o.getClippingRect({element:(i=await(o.isElement==null?void 0:o.isElement(x)))==null||i?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),w=Jm(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?Pe(H({},s.floating),{x:r,y:n}):s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:S.top-w.top+g.top,bottom:w.bottom-S.bottom+g.bottom,left:S.left-w.left+g.left,right:w.right-S.right+g.right}}var eoe=Math.min,toe=Math.max;function FL(t,e,i){return toe(t,eoe(e,i))}var ioe={left:"right",right:"left",bottom:"top",top:"bottom"};function eg(t){return t.replace(/left|right|bottom|top/g,e=>ioe[e])}function nI(t,e,i){i===void 0&&(i=!1);let r=Jl(t),n=rg(t),o=rI(n),s=n==="x"?r===(i?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=eg(s)),{main:s,cross:eg(s)}}var roe={start:"end",end:"start"};function h2(t){return t.replace(/start|end/g,e=>roe[e])}var noe=["top","right","bottom","left"],ooe=noe.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function soe(t,e,i){return(t?[...i.filter(r=>Jl(r)===t),...i.filter(r=>Jl(r)!==t)]:i.filter(r=>Ea(r)===r)).filter(r=>t?Jl(r)===t||(e?h2(r)!==r:!1):!0)}var aoe=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var i,r,n,o,s;let{x:a,y:l,rects:c,middlewareData:u,placement:f,platform:d,elements:O}=e,de=t,{alignment:g=null,allowedPlacements:x=ooe,autoAlignment:S=!0}=de,w=pi(de,["alignment","allowedPlacements","autoAlignment"]),T=soe(g,S,x),A=await p2(e,w),I=(i=(r=u.autoPlacement)==null?void 0:r.index)!=null?i:0,C=T[I];if(C==null)return{};let{main:$,cross:j}=nI(C,c,await(d.isRTL==null?void 0:d.isRTL(O.floating)));if(f!==C)return{x:a,y:l,reset:{placement:T[0]}};let le=[A[Ea(C)],A[$],A[j]],F=[...(n=(o=u.autoPlacement)==null?void 0:o.overflows)!=null?n:[],{placement:C,overflows:le}],N=T[I+1];if(N)return{data:{index:I+1,overflows:F},reset:{placement:N}};let ie=F.slice().sort((me,we)=>me.overflows[0]-we.overflows[0]),ue=(s=ie.find(me=>{let{overflows:we}=me;return we.every(q=>q<=0)}))==null?void 0:s.placement,re=ue!=null?ue:ie[0].placement;return re!==f?{data:{index:I+1,overflows:F},reset:{placement:re}}:{}}}};function loe(t){let e=eg(t);return[h2(t),e,h2(e)]}var coe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var i;let{placement:r,middlewareData:n,rects:o,initialPlacement:s,platform:a,elements:l}=e,le=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:O=!0}=le,g=pi(le,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]),x=Ea(r),S=f||(x===s||!O?[eg(s)]:loe(s)),w=[s,...S],T=await p2(e,g),A=[],I=((i=n.flip)==null?void 0:i.overflows)||[];if(c&&A.push(T[x]),u){let{main:F,cross:N}=nI(r,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));A.push(T[F],T[N])}if(I=[...I,{placement:r,overflows:A}],!A.every(F=>F<=0)){var C,$;let F=((C=($=n.flip)==null?void 0:$.index)!=null?C:0)+1,N=w[F];if(N)return{data:{index:F,overflows:I},reset:{placement:N}};let ie="bottom";switch(d){case"bestFit":{var j;let ue=(j=I.map(re=>[re,re.overflows.filter(de=>de>0).reduce((de,me)=>de+me,0)]).sort((re,de)=>re[1]-de[1])[0])==null?void 0:j[0].placement;ue&&(ie=ue);break}case"initialPlacement":ie=s;break}if(r!==ie)return{reset:{placement:ie}}}return{}}}};async function uoe(t,e){let{placement:i,platform:r,elements:n}=t,o=await(r.isRTL==null?void 0:r.isRTL(n.floating)),s=Ea(i),a=Jl(i),l=rg(i)==="x",c=["left","top"].includes(s)?-1:1,u=o&&l?-1:1,f=typeof e=="function"?e(t):e,{mainAxis:d,crossAxis:O,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:H({mainAxis:0,crossAxis:0,alignmentAxis:null},f);return a&&typeof g=="number"&&(O=a==="end"?g*-1:g),l?{x:O*u,y:d*c}:{x:d*c,y:O*u}}var HL=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){let{x:i,y:r}=e,n=await uoe(e,t);return{x:i+n.x,y:r+n.y,data:n}}}};function foe(t){return t==="x"?"y":"x"}var GL=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:i,y:r,placement:n}=e,S=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:T,y:A}=w;return{x:T,y:A}}}}=S,l=pi(S,["mainAxis","crossAxis","limiter"]),c={x:i,y:r},u=await p2(e,l),f=rg(Ea(n)),d=foe(f),O=c[f],g=c[d];if(o){let w=f==="y"?"top":"left",T=f==="y"?"bottom":"right",A=O+u[w],I=O-u[T];O=FL(A,O,I)}if(s){let w=d==="y"?"top":"left",T=d==="y"?"bottom":"right",A=g+u[w],I=g-u[T];g=FL(A,g,I)}let x=a.fn(Pe(H({},e),{[f]:O,[d]:g}));return Pe(H({},x),{data:{x:x.x-i,y:x.y-r}})}}};function oI(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function ho(t){if(t==null)return window;if(!oI(t)){let e=t.ownerDocument;return e&&e.defaultView||window}return t}function xn(t){return ho(t).getComputedStyle(t)}function uo(t){return oI(t)?"":t?(t.nodeName||"").toLowerCase():""}function sI(){let t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function vn(t){return t instanceof ho(t).HTMLElement}function ds(t){return t instanceof ho(t).Element}function hoe(t){return t instanceof ho(t).Node}function ec(t){if(typeof ShadowRoot>"u")return!1;let e=ho(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function ng(t){let{overflow:e,overflowX:i,overflowY:r}=xn(t);return/auto|scroll|overlay|hidden/.test(e+r+i)}function doe(t){return["table","td","th"].includes(uo(t))}function aI(t){let e=/firefox/i.test(sI()),i=xn(t);return i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].includes(i.willChange)||e&&i.willChange==="filter"||e&&(i.filter?i.filter!=="none":!1)}function lI(){return!/^((?!chrome|android).)*safari/i.test(sI())}var KL=Math.min,dh=Math.max,tg=Math.round;function fo(t,e,i){var r,n,o,s;e===void 0&&(e=!1),i===void 0&&(i=!1);let a=t.getBoundingClientRect(),l=1,c=1;e&&vn(t)&&(l=t.offsetWidth>0&&tg(a.width)/t.offsetWidth||1,c=t.offsetHeight>0&&tg(a.height)/t.offsetHeight||1);let u=ds(t)?ho(t):window,f=!lI()&&i,d=(a.left+(f&&(r=(n=u.visualViewport)==null?void 0:n.offsetLeft)!=null?r:0))/l,O=(a.top+(f&&(o=(s=u.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/c,g=a.width/l,x=a.height/c;return{width:g,height:x,top:O,right:d+g,bottom:O+x,left:d,x:d,y:O}}function Os(t){return((hoe(t)?t.ownerDocument:t.document)||window.document).documentElement}function og(t){return ds(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function cI(t){return fo(Os(t)).left+og(t).scrollLeft}function Ooe(t){let e=fo(t);return tg(e.width)!==t.offsetWidth||tg(e.height)!==t.offsetHeight}function poe(t,e,i){let r=vn(e),n=Os(e),o=fo(t,r&&Ooe(e),i==="fixed"),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if(r||!r&&i!=="fixed")if((uo(e)!=="body"||ng(n))&&(s=og(e)),vn(e)){let l=fo(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else n&&(a.x=cI(n));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function uI(t){return uo(t)==="html"?t:t.assignedSlot||t.parentNode||(ec(t)?t.host:null)||Os(t)}function JL(t){return!vn(t)||xn(t).position==="fixed"?null:moe(t)}function moe(t){let{offsetParent:e}=t,i=t,r=!1;for(;i&&i!==e;){let{assignedSlot:n}=i;if(n){let o=n.offsetParent;if(xn(n).display==="contents"){let s=n.hasAttribute("style"),a=n.style.display;n.style.display=xn(i).display,o=n.offsetParent,n.style.display=a,s||n.removeAttribute("style")}i=n,e!==o&&(e=o,r=!0)}else if(ec(i)&&i.host&&r)break;i=ec(i)&&i.host||i.parentNode}return e}function goe(t){let e=uI(t);for(ec(e)&&(e=e.host);vn(e)&&!["html","body"].includes(uo(e));){if(aI(e))return e;{let i=e.parentNode;e=ec(i)?i.host:i}}return null}function d2(t){let e=ho(t),i=JL(t);for(;i&&doe(i)&&xn(i).position==="static";)i=JL(i);return i&&(uo(i)==="html"||uo(i)==="body"&&xn(i).position==="static"&&!aI(i))?e:i||goe(t)||e}function eI(t){if(vn(t))return{width:t.offsetWidth,height:t.offsetHeight};let e=fo(t);return{width:e.width,height:e.height}}function boe(t){let{rect:e,offsetParent:i,strategy:r}=t,n=vn(i),o=Os(i);if(i===o)return e;let s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if((n||!n&&r!=="fixed")&&((uo(i)!=="body"||ng(o))&&(s=og(i)),vn(i))){let l=fo(i,!0);a.x=l.x+i.clientLeft,a.y=l.y+i.clientTop}return Pe(H({},e),{x:e.x-s.scrollLeft+a.x,y:e.y-s.scrollTop+a.y})}function yoe(t,e){let i=ho(t),r=Os(t),n=i.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(n){o=n.width,s=n.height;let c=lI();(c||!c&&e==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:o,height:s,x:a,y:l}}function xoe(t){var e;let i=Os(t),r=og(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=dh(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=dh(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-r.scrollLeft+cI(t),l=-r.scrollTop;return xn(n||i).direction==="rtl"&&(a+=dh(i.clientWidth,n?n.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function fI(t){let e=uI(t);return["html","body","#document"].includes(uo(e))?t.ownerDocument.body:vn(e)&&ng(e)?e:fI(e)}function ig(t,e){var i;e===void 0&&(e=[]);let r=fI(t),n=r===((i=t.ownerDocument)==null?void 0:i.body),o=ho(r),s=n?[o].concat(o.visualViewport||[],ng(r)?r:[]):r,a=e.concat(s);return n?a:a.concat(ig(s))}function voe(t,e){let i=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(i&&ec(i)){let r=e;do{if(r&&t===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function woe(t,e){let i=fo(t,!1,e==="fixed"),r=i.top+t.clientTop,n=i.left+t.clientLeft;return{top:r,left:n,x:n,y:r,right:n+t.clientWidth,bottom:r+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function tI(t,e,i){return e==="viewport"?Jm(yoe(t,i)):ds(e)?woe(e,i):Jm(xoe(Os(t)))}function koe(t){let e=ig(t),i=["absolute","fixed"].includes(xn(t).position)&&vn(t)?d2(t):t;return ds(i)?e.filter(r=>ds(r)&&voe(r,i)&&uo(r)!=="body"):[]}function Soe(t){let{element:e,boundary:i,rootBoundary:r,strategy:n}=t,o=[...i==="clippingAncestors"?koe(e):[].concat(i),r],s=o[0],a=o.reduce((l,c)=>{let u=tI(e,c,n);return l.top=dh(u.top,l.top),l.right=KL(u.right,l.right),l.bottom=KL(u.bottom,l.bottom),l.left=dh(u.left,l.left),l},tI(e,s,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}var Toe={getClippingRect:Soe,convertOffsetParentRelativeRectToViewportRelativeRect:boe,isElement:ds,getDimensions:eI,getOffsetParent:d2,getDocumentElement:Os,getElementRects:t=>{let{reference:e,floating:i,strategy:r}=t;return{reference:poe(e,d2(i),r),floating:Pe(H({},eI(i)),{x:0,y:0})}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>xn(t).direction==="rtl"};function Eoe(t,e,i,r){r===void 0&&(r={});let{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=n&&!a,c=o&&!a,u=l||c?[...ds(t)?ig(t):[],...ig(e)]:[];u.forEach(x=>{l&&x.addEventListener("scroll",i,{passive:!0}),c&&x.addEventListener("resize",i)});let f=null;if(s){let x=!0;f=new ResizeObserver(()=>{x||i(),x=!1}),ds(t)&&!a&&f.observe(t),f.observe(e)}let d,O=a?fo(t):null;a&&g();function g(){let x=fo(t);O&&(x.x!==O.x||x.y!==O.y||x.width!==O.width||x.height!==O.height)&&i(),O=x,d=requestAnimationFrame(g)}return i(),()=>{var x;u.forEach(S=>{l&&S.removeEventListener("scroll",i),c&&S.removeEventListener("resize",i)}),(x=f)==null||x.disconnect(),f=null,a&&cancelAnimationFrame(d)}}var Poe=(t,e,i)=>Gne(t,e,H({platform:Toe},i));async function Qoe(t,e,i,r){if(!r)throw new Error("Must provide a positioning option");return await(typeof r=="string"?Coe(t,e,i,r):_oe(e,r))}async function Coe(t,e,i,r){if(!i)throw new Error("Reference element is required for relative positioning");let n;return r==="auto"?n={middleware:[aoe(),GL(),HL({mainAxis:5,crossAxis:12})]}:n={placement:r,middleware:[coe(),GL(),HL(5)]},Eoe(i,e,async()=>{if((!i.isConnected||!i.offsetParent)&&$oe(t))return;let{x:o,y:s}=await Poe(i,e,n);Object.assign(e.style,{position:"absolute",left:`${o}px`,top:`${s}px`})})}function _oe(t,e){return t.style.position="fixed",Object.entries(e).forEach(([i,r])=>{t.style[i]=r}),()=>{}}function $oe(t){switch(t.options.onPositionLost){case"close":return t.close(),!0;case"destroy":return t.destroy(),!0;case"hold":return!0}}var Aoe={hideOnClickOutside:!0,hideOnEmojiSelect:!0,hideOnEscape:!0,position:"auto",showCloseButton:!0,onPositionLost:"none"};function Xoe(t={}){return H(Pe(H({},Aoe),{rootElement:document.body}),t)}var Roe='<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>',iI=di("popupContainer","closeButton"),O2=class{constructor(e,i){this.isOpen=!1,this.externalEvents=new Sa,this.options=H(H({},Xoe(i)),u2(e)),this.popupEl=document.createElement("div"),this.popupEl.classList.add(iI.popupContainer),this.popupEl.classList.add(this.options.theme),i.className&&this.popupEl.classList.add(i.className),this.options.showCloseButton&&(this.closeButton=document.createElement("button"),this.closeButton.type="button",this.closeButton.classList.add(iI.closeButton),this.closeButton.innerHTML=Roe,this.closeButton.addEventListener("click",()=>{this.close()}),this.popupEl.appendChild(this.closeButton));let r=document.createElement("div");this.popupEl.appendChild(r),this.picker=BL(Pe(H({},this.options),{rootElement:r})),this.focusTrap=new uh,this.picker.addEventListener("data:ready",()=>{this.focusTrap.activate(this.picker.el),this.picker.setInitialFocus()}),this.options.hideOnEmojiSelect&&this.picker.addEventListener("emoji:select",()=>{var n;this.close(),(n=this.triggerElement)==null||n.focus()}),this.options.hideOnClickOutside&&(this.onDocumentClick=this.onDocumentClick.bind(this),document.addEventListener("click",this.onDocumentClick)),this.options.hideOnEscape&&(this.handleKeydown=this.handleKeydown.bind(this),this.popupEl.addEventListener("keydown",this.handleKeydown)),this.referenceElement=this.options.referenceElement,this.triggerElement=this.options.triggerElement}addEventListener(e,i){this.externalEvents.on(e,i),this.picker.addEventListener(e,i)}removeEventListener(e,i){this.externalEvents.off(e,i),this.picker.removeEventListener(e,i)}handleKeydown(e){var i;e.key==="Escape"&&(this.close(),(i=this.triggerElement)==null||i.focus())}async destroy(){this.isOpen&&await this.close(),document.removeEventListener("click",this.onDocumentClick),this.picker.destroy(),this.externalEvents.removeAll()}toggle(e){return this.isOpen?this.close():this.open(e)}async open({triggerElement:e,referenceElement:i}={}){this.isOpen||(e&&(this.triggerElement=e),i&&(this.referenceElement=i),await this.initiateOpenStateChange(!0),this.popupEl.style.opacity="0",this.options.rootElement.appendChild(this.popupEl),await this.setPosition(),this.picker.reset(!1),await this.animatePopup(!0),await this.animateCloseButton(!0),this.picker.setInitialFocus(),this.externalEvents.emit("picker:open"))}async close(){var e;!this.isOpen||(await this.initiateOpenStateChange(!1),await this.animateCloseButton(!1),await this.animatePopup(!1),this.popupEl.remove(),this.picker.reset(),(e=this.positionCleanup)==null||e.call(this),this.focusTrap.deactivate(),this.externalEvents.emit("picker:close"))}getRunningAnimations(){return this.picker.el.getAnimations().filter(e=>e.playState==="running")}async setPosition(){var e;(e=this.positionCleanup)==null||e.call(this),this.positionCleanup=await Qoe(this,this.popupEl,this.referenceElement,this.options.position)}awaitPendingAnimations(){return Promise.all(this.getRunningAnimations().map(e=>e.finished))}onDocumentClick(e){var i;let r=e.target,n=(i=this.triggerElement)==null?void 0:i.contains(r);this.isOpen&&!this.picker.isPickerClick(e)&&!n&&this.close()}animatePopup(e){return wa(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 wa(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()}},Loe=`.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}
`,Ioe=f2();function hI(t,e){return Ioe(Loe),new O2(H({autoFocus:"auto"},t),e)}var zoe={mounted(){let t=this.el.querySelector("[data-emoji-button]"),e=this.el.querySelector("[data-emoji-preview]"),i=this.el.querySelector("[data-emoji-input]"),r=hI({showPreview:!1},{triggerElement:t,referenceElement:t,position:"bottom"});r.addEventListener("emoji:select",({emoji:n})=>{e.innerHTML=n,i.value=n}),t.addEventListener("click",n=>{r.toggle()})}},dI=zoe;var Doe={mounted(){this.focus()},updated(){this.el!==document.activeElement&&this.focus()},focus(){os(document.activeElement)||(this.el.focus(),this.el.selectionStart=this.el.selectionEnd=this.el.value.length,this.el.scrollLeft=this.el.scrollWidth)}},OI=Doe;var Uoe={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.initializeHeadingEl(),this.navigationSubscription=_t.subscribe("navigation",this.handleNavigationEvent.bind(this))},updated(){this.props=this.getProps(),this.initializeHeadingEl()},destroyed(){this.navigationSubscription.destroy()},getProps(){return ht(this.el,["id","on-value-change","metadata"])},initializeHeadingEl(){let t=this.el.querySelector("[data-el-heading]");t!==this.headingEl&&(this.headingEl=t,this.headingEl.addEventListener("paste",e=>{e.preventDefault();let i=e.clipboardData.getData("text/plain").replace(`
`," ");document.execCommand("insertText",!1,i)}),this.headingEl.addEventListener("keydown",e=>{e.key==="Enter"&&e.preventDefault()}),this.headingEl.addEventListener("blur",e=>{setTimeout(()=>{this.isFocused&&this.insertMode&&(this.headingEl.focus(),pI(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&&ha(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(),pI(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 pI(t){let e=document.createRange();e.selectNodeContents(t),e.collapse(!1);let i=window.getSelection();i.removeAllRanges(),i.addRange(e)}var mI=Uoe;var Noe={mounted(){this.props=this.getProps(),this.sourceEl=oo(this.el,"[data-source]"),this.targetEl=oo(this.el,"[data-target]"),this.updateDOM()},updated(){this.props=this.getProps(),this.updateDOM()},getProps(){return ht(this.el,["language"])},updateDOM(){let t=this.sourceEl.innerText,e=Jp(t,this.props.language);this.targetEl.innerHTML=e,this.el.setAttribute("data-highlighted","")}},gI=Noe;var m2=["bg-yellow-100","border-yellow-300"],Moe={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(...m2)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...m2)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...m2)}),this.openCameraButton.addEventListener("click",t=>{this.cameraListPopulated||(this.renderCameraList(),this.cameraListPopulated=!0)}),this.cameraListEl.addEventListener("click",t=>{let e=t.target.closest("[data-camera-id]");if(e){let i=e.dataset.cameraId;this.openCameraView(i)}}),this.captureCameraButton.addEventListener("click",t=>{let e=this.toCanvas(this.cameraVideoEl,this.cameraVideoEl.videoWidth,this.cameraVideoEl.videoHeight);this.pushImage(e),this.closeCameraView()}),this.cancelButton.addEventListener("click",t=>{this.closeCameraView()})},updated(){this.props=this.getProps(),this.updateImagePreview()},getProps(){return ht(this.el,["id","phx-target","height","width","format","fit","image-url","value-height","value-width"])},updateImagePreview(){this.props.imageUrl?Woe(this.props.imageUrl,this.props.valueHeight,this.props.valueWidth,this.props.format).then(t=>{this.setPreview(t)}):this.setPreview(this.initialPreviewContentEl)},loadFile(t){let e=new FileReader;e.onload=i=>{let r=document.createElement("img");r.addEventListener("load",n=>{let o=this.toCanvas(r,r.width,r.height);this.pushImage(o)}),r.src=i.target.result},e.readAsDataURL(t)},openCameraView(t){this.cameraPreviewEl.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.captureCameraButton.classList.remove("hidden"),this.previewEl.classList.add("hidden"),this.openCameraButton.classList.add("hidden"),this.uploadButton.classList.add("hidden"),navigator.mediaDevices.getUserMedia(this.cameraConstraints(t)).then(e=>{this.cameraStream=e,this.cameraVideoEl=document.createElement("video"),this.cameraVideoEl.autoplay=!0,this.cameraVideoEl.playsinline=!0,this.cameraVideoEl.muted=!0,this.cameraVideoEl.srcObject=e,this.setCameraPreview(this.cameraVideoEl)}).catch(()=>{})},cameraConstraints(t){return t==="system_default"?{audio:!1,video:!0}:{audio:!1,video:{deviceId:t}}},renderCameraList(){navigator.mediaDevices.getUserMedia({audio:!1,video:!0}).then(t=>navigator.mediaDevices.enumerateDevices().then(e=>(this.stopMediaStream(t),e))).then(t=>{let e=t.filter(i=>i.kind==="videoinput").map(i=>({deviceId:i.deviceId,label:i.label}));[{deviceId:"system_default",label:"System Default"},...e].forEach(({deviceId:i,label:r})=>{let n=this.cameraItemTemplateEl.cloneNode(!0);n.querySelector("[data-camera-id]").setAttribute("data-camera-id",i),n.querySelector("[data-label]").innerHTML=r,this.cameraListEl.appendChild(n)})}).catch(t=>{console.error(t),this.openCameraButton.disabled=!0})},closeCameraView(){return this.cameraStream!==null&&(this.stopMediaStream(this.cameraStream),this.cameraStream=null),this.cameraVideoEl!==null&&(this.cameraVideoEl.remove(),this.cameraVideoEl=null),this.cameraPreviewEl.classList.add("hidden"),this.cancelButton.classList.add("hidden"),this.captureCameraButton.classList.add("hidden"),this.previewEl.classList.remove("hidden"),this.openCameraButton.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),!0},stopMediaStream(t){t.getTracks().forEach(e=>{e.stop()})},pushImage(t){qoe(t,this.props.format).then(e=>{let i={height:t.height,width:t.width},r=new Blob([e]);r.meta=()=>i,this.uploadTo(this.props.phxTarget,"file",[r])})},toCanvas(t,e,i){let{width:r,height:n}=this.props,o=document.createElement("canvas"),s=o.getContext("2d");if(r===null&&n===null||r===e&&n===i)o.width=e,o.height=i,o.getContext("2d").drawImage(t,0,0,e,i,0,0,e,i);else if(this.props.fit==="contain"){let a=r/e,l=n/i,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=u,o.height=f,s.drawImage(t,0,0,e,i,0,0,u,f)}else if(this.props.fit==="crop"){let a=r/e,l=n/i,c=Math.max(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=r,o.height=n,s.drawImage(t,Math.round((u-r)/c/2),Math.round((f-n)/c/2),e-Math.round((u-r)/c),i-Math.round((f-n)/c),0,0,r,n)}else if(this.props.fit==="pad"){let a=r/e,l=n/i,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=r,o.height=n,s.fillStyle="black",s.fillRect(0,0,o.width,o.height),s.drawImage(t,0,0,e,i,Math.round((r-u)/2),Math.round((n-f)/2),u,f)}else o.width=r,o.height=n,s.drawImage(t,0,0,e,i,0,0,r,n);return o},setPreview(t){t.style.maxHeight="300px",t.style.maxWidth="100%",this.previewEl.replaceChildren(t)},setCameraPreview(t){t.style.maxHeight="300px",t.style.maxWidth="100%",this.cameraPreviewEl.replaceChildren(t)}};function qoe(t,e){if(e==="png"||e==="jpeg")return new Promise((i,r)=>{t.toBlob(n=>{n.arrayBuffer().then(o=>{i(o)})},`image/${e}`)});if(e==="rgb"){let i=t.getContext("2d").getImageData(0,0,t.width,t.height),r=joe(i);return Promise.resolve(r)}throw new Error(`Unexpected format: ${e}`)}function joe(t){let e=t.width*t.height,i=new Uint8ClampedArray(e*3);for(let r=0;r<e;r++)i[r*3]=t.data[r*4],i[r*3+1]=t.data[r*4+1],i[r*3+2]=t.data[r*4+2];return i.buffer}function Woe(t,e,i,r){if(r==="png"||r==="jpeg"){let n=document.createElement("img");return n.src=t,Promise.resolve(n)}if(r==="rgb")return fetch(t).then(n=>n.arrayBuffer()).then(n=>{let o=document.createElement("canvas");o.height=e,o.width=i;let s=Voe(n,i,e);return o.getContext("2d").putImageData(s,0,0),o});throw new Error(`Unexpected format: ${r}`)}function Voe(t,e,i){let r=e*i,n=new Uint8Array(t),o=new Uint8ClampedArray(r*4);for(let s=0;s<r;s++)o[s*4]=n[s*3],o[s*4+1]=n[s*3+1],o[s*4+2]=n[s*3+2],o[s*4+3]=255;return new ImageData(o,e,i)}var bI=Moe;var Zoe={mounted(){this.updateSrc()},updated(){this.updateSrc()},updateSrc(){let t=this.el.src,e="data:image/x-pixel;base64,",i=t.slice(e.length);if(t.startsWith(e)){let r=OR(i),n=new DataView(r),o=n.getUint32(0,!1),s=n.getUint32(4,!1),a=n.getUint8(8),l=r.slice(9),c=Boe(l,s,o,a),u=document.createElement("canvas");u.height=o,u.width=s,u.getContext("2d").putImageData(c,0,0);let f=u.toDataURL("image/png");this.el.src=f}}};function Boe(t,e,i,r){let n=e*i,o=new Uint8Array(t),s=new Uint8ClampedArray(n*4);for(let a=0;a<n;a++)r===1?(s[a*4]=o[a],s[a*4+1]=o[a],s[a*4+2]=o[a],s[a*4+3]=255):r===2?(s[a*4]=o[a*2],s[a*4+1]=o[a*2],s[a*4+2]=o[a*2],s[a*4+3]=o[a*2+1]):r===3?(s[a*4]=o[a*3],s[a*4+1]=o[a*3+1],s[a*4+2]=o[a*3+2],s[a*4+3]=255):r===4&&(s[a*4]=o[a*4],s[a*4+1]=o[a*4+1],s[a*4+2]=o[a*4+2],s[a*4+3]=o[a*4+3]);return new ImageData(s,e,i)}var yI=Zoe;var Yoe=document.querySelector("meta[name='csrf-token']").getAttribute("content"),g2=new wh(window.LIVEBOOK_BASE_URL_PATH+"/socket",{params:{_csrf_token:Yoe}}),Pa=null;function xI(t){return Pa||(g2.connect(),Pa=g2.channel("js_view",{session_token:t}),Pa.join()),Pa}function vI(){Pa&&(Pa.leave(),Pa=null,g2.disconnect())}function wI(t,e){if(Array.isArray(e)&&e[1]&&e[1].constructor===ArrayBuffer){let[i,r]=e;return MS([t,i],r)}else return{root:[t,e]}}function b2(t){if(t.constructor===ArrayBuffer){let[[e,i],r]=qS(t);return[e,[i,r]]}else{let{root:[e,i]}=t;return[e,i]}}var kI="wcqj5QWCo66osdAWDnEgPRFyL7nfe8oNqNggnw4vvW8=";function SI(t,e,i){let r=Foe(e,i);return Hoe(r).then(()=>{t.sandbox="allow-scripts allow-same-origin allow-downloads allow-forms allow-modals allow-popups allow-top-navigation",t.allow="accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; fullscreen; geolocation; gyroscope; microphone; midi; usb; xr-spatial-tracking; clipboard-read; clipboard-write; bluetooth; serial",t.src=r})}function Foe(t,e){let i=window.location.protocol;return e?e.replace(/^https?:/,i):i==="https:"?"https://livebookusercontent.com/iframe/v5.html":`http://${window.location.hostname}:${t}/iframe/v5.html`}var y2=null;function Hoe(t){return y2||(y2=fetch(t).then(e=>e.text()).then(e=>{if(dR(e)!==kI)throw new Error(`The iframe loaded from ${t} doesn't have the expected checksum ${kI}`)})),y2}var Goe={mounted(){this.props=this.getProps(),this.id=uR(),this.childToken=fR(),this.childReadyPromise=null,this.childReady=!1,this.initReceived=!1,this.syncCallbackQueue=[],this.pongCallbackQueue=[],this.initTimeout=setTimeout(()=>this.handleInitTimeout(),2e3),this.channel=xI(this.props.sessionToken),this.iframeActions=this.createIframe(),this.childReadyPromise=new Promise((n,o)=>{this._handleWindowMessage=s=>{s.source===this.iframe.contentWindow&&this.handleChildMessage(s.data,n)},window.addEventListener("message",this._handleWindowMessage)}),this.hiddenInput=document.createElement("input"),this.hiddenInput.style.display="none",this.el.appendChild(this.hiddenInput),this.iframeActions.visibilityPromise.then(()=>{this.loadIframe()});let t=this.channel.on(`init:${this.props.ref}:${this.id}`,n=>{let[,o]=b2(n);this.handleServerInit(o)}),e=this.channel.on(`event:${this.props.ref}`,n=>{let[[o],s]=b2(n);this.handleServerEvent(o,s)}),i=this.channel.on(`error:${this.props.ref}`,({message:n,init:o})=>{this.handleServerError(n,o)}),r=this.channel.on(`pong:${this.props.ref}`,()=>{this.handleServerPong()});this.unsubscribeFromChannelEvents=()=>{this.channel.off(`init:${this.props.ref}:${this.id}`,t),this.channel.off(`event:${this.props.ref}`,e),this.channel.off(`error:${this.props.ref}`,i),this.channel.off(`pong:${this.props.ref}`,r)},this.subscriptions=[_t.subscribe(`js_views:${this.props.ref}`,this.handleJSViewEvent.bind(this)),_t.subscribe("navigation",this.handleNavigationEvent.bind(this))],this.channel.push("connect",{connect_token:this.props.connectToken,ref:this.props.ref,id:this.id},3e4)},updated(){this.props=this.getProps(this)},disconnected(){this.el.removeAttribute("id")},destroyed(){window.removeEventListener("message",this._handleWindowMessage),this.iframeActions.remove(),this.unsubscribeFromChannelEvents(),this.channel.push("disconnect",{ref:this.props.ref}),this.subscriptions.forEach(t=>t.destroy())},getProps(){return ht(this.el,["ref","assets-base-path","assets-cdn-url","js-path","session-token","connect-token","iframe-port","iframe-url","timeout-message"])},createIframe(){this.iframePlaceholder=document.createElement("div"),this.el.appendChild(this.iframePlaceholder),this.iframe=document.createElement("iframe"),this.iframe.className="w-full h-0 absolute z-[1]";let t=document.querySelector("[data-el-notebook]"),e=t.querySelector("[data-el-notebook-content]"),i=new ResizeObserver(l=>{this.repositionIframe()});i.observe(e),i.observe(t);let r=bn(this.iframePlaceholder),n=new ResizeObserver(l=>{let c=bn(this.iframePlaceholder);r!==c&&(r=c,this.repositionIframe())});n.observe(this.iframePlaceholder);let o=_t.subscribe("js_views",l=>{l.type==="reposition"&&this.repositionIframe()});this.iframe.addEventListener("mouseenter",l=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0}))}),this.iframe.addEventListener("mouseleave",l=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseleave",{bubbles:!0}))});let s=Yp(this.iframePlaceholder,{root:t,proximity:2e3});this.iframe.toggleAttribute("data-js-focused",!!this.el.closest("[data-js-focused]"));let a=()=>{i.disconnect(),n.disconnect(),o.destroy(),s.cancel(),this.iframe.remove(),this.iframePlaceholder.remove()};return{visibilityPromise:s.promise,remove:a}},repositionIframe(){let{iframe:t,iframePlaceholder:e}=this,i=document.querySelector("[data-el-notebook]");if(bn(e))t.classList.add("hidden");else{t.classList.remove("hidden");let r=i.getBoundingClientRect(),n=e.getBoundingClientRect(),o=n.top-r.top+i.scrollTop;t.style.top=`${o}px`;let s=n.left-r.left+i.scrollLeft;t.style.left=`${s}px`,t.style.height=`${n.height}px`,t.style.width=`${n.width}px`}},loadIframe(){let t=document.querySelector("[data-el-js-view-iframes]");SI(this.iframe,this.props.iframePort,this.props.iframeUrl).then(()=>{t.appendChild(this.iframe)})},handleChildMessage(t,e){if(t.type==="ready"&&!this.childReady)this.getAssetsBaseUrl().then(i=>{this.postMessage({type:"readyReply",token:this.childToken,baseUrl:i,jsPath:this.props.jsPath}),this.childReady=!0,e()});else{if(t.token!==this.childToken)throw new Error("Token mismatch");if(t.type==="resize")this.iframePlaceholder.style.height=`${t.height}px`,this.iframe.style.height=`${t.height}px`;else if(t.type==="domEvent"){let i=this.replicateDomEvent(t.event);t.isTargetEditable?this.hiddenInput.dispatchEvent(i):this.el.dispatchEvent(i)}else if(t.type==="event"){let{event:i,payload:r}=t,n=wI([i,this.props.ref],r);this.channel.push("event",n)}else t.type==="syncReply"?(this.pongCallbackQueue.push(this.syncCallbackQueue.shift()),this.channel.push("ping",{ref:this.props.ref})):t.type==="selectSecret"&&this.pushEvent("select_secret",{js_view_ref:this.props.ref,preselect_name:t.preselectName,options:t.options})}},getAssetsBaseUrl(){return sg().then(t=>!t&&this.props.assetsCdnUrl?this.props.assetsCdnUrl:window.location.origin+this.props.assetsBasePath)},postMessage(t){this.iframe.contentWindow.postMessage(t,"*")},replicateDomEvent(t){if(t.type==="focus")return new FocusEvent("focus");if(t.type==="mousedown")return new MouseEvent("mousedown",{bubbles:!0});if(t.type==="keydown")return new KeyboardEvent(t.type,t.props)},handleInitTimeout(){this.initTimeoutContainer=document.createElement("div"),this.initTimeoutContainer.classList.add("info-box"),this.el.prepend(this.initTimeoutContainer),this.initTimeoutContainer.textContent=this.props.timeoutMessage},clearInitTimeout(){clearTimeout(this.initTimeout),this.initTimeoutContainer&&this.initTimeoutContainer.remove()},handleServerInit(t){this.clearInitTimeout(),this.initReceived=!0,this.childReadyPromise.then(()=>{this.postMessage({type:"init",data:t})})},handleServerEvent(t,e){this.initReceived&&this.childReadyPromise.then(()=>{this.postMessage({type:"event",event:t,payload:e})})},handleServerError(t,e){e&&this.clearInitTimeout(),this.errorContainer||(this.errorContainer=document.createElement("div"),this.errorContainer.classList.add("error-box","mb-4"),this.el.prepend(this.errorContainer)),this.errorContainer.textContent=t},handleServerPong(){this.pongCallbackQueue.shift()()},handleJSViewEvent(t){t.type==="sync"?(this.syncCallbackQueue.push(t.callback),this.postMessage({type:"sync"})):t.type=="secretSelected"&&this.postMessage({type:"secretSelected",secretName:t.secretName})},handleNavigationEvent(t){if(t.type==="element_focused"){let e=this.el.closest("[data-focusable-id]"),i=e?e.dataset.focusableId:null;this.iframe.toggleAttribute("data-js-focused",i===t.focusableId)}}};function sg(){let t=window.LIVEBOOK_PUBLIC_BASE_URL_PATH+"/public/health";return sg.promise=sg.promise||fetch(t).then(e=>e.status===200).catch(e=>!1),sg.promise}var TI=Goe;var Koe={mounted(){this.props=this.getProps(),this._handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this._handleDocumentKeyUp=this.handleDocumentKeyUp.bind(this),this._handleDocumentFocus=this.handleDocumentFocus.bind(this),window.addEventListener("keydown",this._handleDocumentKeyDown,!0),window.addEventListener("keyup",this._handleDocumentKeyUp,!0),window.addEventListener("focus",this._handleDocumentFocus,!0)},updated(){this.props=this.getProps()},destroyed(){window.removeEventListener("keydown",this._handleDocumentKeyDown,!0),window.removeEventListener("keyup",this._handleDocumentKeyUp,!0),window.removeEventListener("focus",this._handleDocumentFocus,!0)},getProps(){return ht(this.el,["cell-id","default-handlers","keydown-enabled","keyup-enabled","target"])},handleDocumentKeyDown(t){if(this.isKeyboardToggle(t)&&!os(document.activeElement)){yn(t),this.keyboardEnabled()?this.disableKeyboard():this.enableKeyboard();return}if(this.keyboardEnabled()){if(this.props.defaultHandlers!=="on"&&yn(t),t.repeat)return;if(this.props.keydownEnabled){let{key:e}=t;this.pushEventTo(this.props.target,"keydown",{key:e})}}},handleDocumentKeyUp(t){if(this.keyboardEnabled()&&(this.props.defaultHandlers!=="on"&&yn(t),this.props.keyupEnabled)){let{key:e}=t;this.pushEventTo(this.props.target,"keyup",{key:e})}},handleDocumentFocus(t){this.props.keydownEnabled&&os(t.target)&&this.disableKeyboard()},enableKeyboard(){this.keyboardEnabled()||this.pushEventTo(this.props.target,"enable_keyboard",{})},disableKeyboard(){this.keyboardEnabled()&&this.pushEventTo(this.props.target,"disable_keyboard",{})},keyboardEnabled(){return this.props.keydownEnabled||this.props.keyupEnabled},isKeyboardToggle(t){if(t.repeat)return!1;let{metaKey:e,ctrlKey:i,key:r}=t;return(Xl()?e:i)&&r==="k"&&this.isCellFocused()?!this.keyboardEnabled()||["on","disable_only"].includes(this.props.defaultHandlers):!1},isCellFocused(){let t=this.el.closest("[data-el-session]");return t&&t.getAttribute("data-js-focused-id")===this.props.cellId}},EI=Koe;var Joe={mounted(){this.props=this.getProps(),this.templateEl=oo(this.el,"[data-template]"),this.contentEl=oo(this.el,"[data-content]"),this.markdown=new da(this.contentEl,this.templateEl.textContent,{baseUrl:this.props.basePath,allowedUriSchemes:this.props.allowedUriSchemes})},updated(){this.props=this.getProps(),this.markdown.setContent(this.templateEl.textContent)},getProps(){return ht(this.el,["base-path","allowed-uri-schemes"])}},PI=Joe;var ese={mounted(){this.scroll()},updated(){this.scroll()},scroll(){Sf(this.el)}},QI=ese;var Oh=class{constructor(e=2e3){this.resetTimeout=e,this.buffer=[],this.resetTimeoutId=null}push(e){this.buffer.push(e),this.resetTimeoutId&&clearTimeout(this.resetTimeoutId),this.resetTimeoutId=setTimeout(()=>{this.reset()},this.resetTimeout)}reset(){this.resetTimeoutId&&clearTimeout(this.resetTimeoutId),this.resetTimeoutId=null,this.buffer=[]}tryMatch(e){if(e.length>this.buffer.length)return!1;let i=this.buffer.slice(-e.length),r=e.every((n,o)=>n===i[o]);return r&&this.reset(),r}};var tse={mounted(){this.props=this.getProps(),this.focusedId=null,this.insertMode=!1,this.view=null,this.viewOptions=null,this.keyBuffer=new Oh,this.lastLocationReportByClientId={},this.followedClientId=null,this.store=Gl.create("session"),Hp(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("outline").addEventListener("click",t=>{this.handleOutlineClick(t),this.handleCellIndicatorsClick(t)}),this.getElement("clients-list").addEventListener("click",t=>this.handleClientsListClick(t)),this.getElement("outline-toggle").addEventListener("click",t=>this.toggleOutline()),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.subscriptions=[_t.subscribe("jump_to_editor",({line:t,file:e})=>this.jumpToLine(e,t))],this.initializeDragAndDrop(),window.addEventListener("phx:page-loading-stop",()=>{this.initializeFocus()},{once:!0}),this.handleEvent("session_init",({clients:t,client_id:e})=>{let i={};for(let r of t)i[r.id]=r;this.store.set("clients",i),this.store.set("clientId",e)}),this.handleEvent("cell_inserted",({cell_id:t})=>{this.handleCellInserted(t)}),this.handleEvent("cell_deleted",({cell_id:t,sibling_cell_id:e})=>{this.handleCellDeleted(t,e)}),this.handleEvent("cell_restored",({cell_id:t})=>{this.handleCellRestored(t)}),this.handleEvent("cell_moved",({cell_id:t})=>{this.handleCellMoved(t)}),this.handleEvent("section_inserted",({section_id:t})=>{this.handleSectionInserted(t)}),this.handleEvent("section_deleted",({section_id:t})=>{this.handleSectionDeleted(t)}),this.handleEvent("section_moved",({section_id:t})=>{this.handleSectionMoved(t)}),this.handleEvent("client_joined",({client:t})=>{this.handleClientJoined(t)}),this.handleEvent("client_left",({client_id:t})=>{this.handleClientLeft(t)}),this.handleEvent("clients_updated",({clients:t})=>{this.handleClientsUpdated(t)}),this.handleEvent("secret_selected",({select_secret_ref:t,secret_name:e})=>{this.handleSecretSelected(t,e)}),this.handleEvent("location_report",({client_id:t,focusable_id:e})=>{let i={focusableId:e};this.handleLocationReport(t,i)})},updated(){let t=this.props;this.props=this.getProps(),this.props.globalStatus!==t.globalStatus&&Hp(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),Hp("favicon"),this.keepChannel||vI(),this.subscriptions.forEach(t=>t.destroy()),this.store.destroy()},getProps(){return ht(this.el,["autofocus-cell-id","global-status"])},faviconForEvaluationStatus(t){return t==="evaluating"?"favicon-evaluating":t==="stale"?"favicon-stale":t==="errored"?"favicon-errored":"favicon"},handleDocumentKeyDown(t){if(t.repeat)return;let e=Xl()?t.metaKey:t.ctrlKey,i=t.altKey,r=t.shiftKey,n=t.key,o=this.keyBuffer;if(!(os(t.target)&&t.target.closest("[data-el-outputs-container]"))){if(e&&r&&!i&&n==="Enter"){yn(t),this.queueFullCellsEvaluation(!0);return}else if(!e&&r&&!i&&n==="Enter"){yn(t),Oa(this.focusedCellType())&&this.queueFocusedCellEvaluation(),this.moveFocus(1);return}else if(e&&!i&&n==="Enter"){yn(t),Oa(this.focusedCellType())&&this.queueFocusedCellEvaluation();return}else if(e&&n==="s"){yn(t),this.saveNotebook();return}else if(e||i)return}this.insertMode?(o.reset(),!t.target.closest("[data-el-editor-container]")&&n==="Escape"&&this.escapeInsertMode()):os(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"])?Oa(this.focusedCellType())&&this.queueFocusedCellEvaluation():o.tryMatch(["e","s"])?this.queueFocusedSectionEvaluation():o.tryMatch(["s","o"])?this.toggleOutline():o.tryMatch(["s","s"])?this.toggleSecretsList():o.tryMatch(["s","a"])?this.toggleAppInfo():o.tryMatch(["s","u"])?this.toggleClientsList():o.tryMatch(["s","f"])?this.toggleFilesList():o.tryMatch(["s","r"])?this.toggleRuntimeInfo():o.tryMatch(["s","b"])?this.showBin():o.tryMatch(["s","p"])?this.showPackageSearch():o.tryMatch(["e","x"])?this.cancelFocusedCellEvaluation():o.tryMatch(["0","0"])?this.reconnectRuntime():o.tryMatch(["Escape","Escape"])?this.setFocusedEl(null):o.tryMatch(["?"])?this.showShortcuts():o.tryMatch(["i"])||t.target.matches("body, [data-el-cell-body], [data-el-heading], [data-focusable-id]")&&this.focusedId&&n==="Enter"?(yn(t),this.isInsertModeAvailable()&&this.enterInsertMode()):o.tryMatch(["j"])?this.moveFocus(1):o.tryMatch(["k"])?this.moveFocus(-1):o.tryMatch(["J"])?this.moveFocusedCell(1):o.tryMatch(["K"])?this.moveFocusedCell(-1):o.tryMatch(["n"])?this.insertCellBelowFocused("code"):o.tryMatch(["N"])?this.insertCellAboveFocused("code"):o.tryMatch(["m"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellBelowFocused("markdown"):o.tryMatch(["M"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellAboveFocused("markdown"):o.tryMatch(["v","z"])?this.toggleView("code-zen"):o.tryMatch(["v","p"])?this.toggleView("presentation"):o.tryMatch(["v","c"])?this.toggleView("custom"):o.tryMatch(["c"])?(!this.view||this.viewOptions.showSection)&&this.toggleCollapseSection():o.tryMatch(["C"])&&(!this.view||this.viewOptions.showSection)&&this.toggleCollapseAllSections())},handleEditorEscape(){this.insertMode&&(this.keyBuffer.reset(),this.escapeInsertMode())},handleDocumentMouseDown(t){if(!t.target.closest("[data-el-notebook]")){this.insertMode&&this.setInsertMode(!1);return}if(t.target.closest(".cm-tooltip")){this.insertMode&&this.setInsertMode(!1);return}if(t.target.closest("[data-el-insert-buttons] button"))return;let e=t.target.closest("[data-focusable-id]"),i=e?e.dataset.focusableId:null,r=this.editableElementClicked(t,e);i!==this.focusedId&&this.setFocusedEl(i,{scroll:!1,focusElement:!1}),!t.target.closest("[data-el-actions]")&&this.insertMode!==r&&this.setInsertMode(r)},editableElementClicked(t,e){if(e){let i=t.target.closest("[data-el-editor-container], [data-el-heading]");return i&&e.contains(i)}return!1},handleDocumentFocus(t){let e=t.target.closest&&t.target.closest("[data-focusable-id]");if(e){let i=e.dataset.focusableId;i!==this.focusedId&&this.setFocusedEl(i,{scroll:!1,focusElement:!1})}},handleDocumentClick(t){t.target.closest("[data-el-enable-insert-mode-button]")&&this.setInsertMode(!0),t.target.closest("[data-btn-package-search]")&&this.insertMode&&this.setInsertMode(!1);let e=t.target.closest("[data-el-queue-cell-evaluation-button]");if(e){let r=e.getAttribute("data-cell-id"),n=e.hasAttribute("data-disable-dependencies-cache");this.queueCellEvaluation(r,n)}let i=window.location.hash;if(i){let r=i.replace(/^#/,"");!document.getElementById(r).contains(t.target)&&!t.target.closest("a")&&history.pushState(null,document.title,window.location.pathname+window.location.search)}},handleOutlineClick(t){let e=t.target.closest("[data-el-outline-item]");if(e){let r=e.getAttribute("data-section-id");this.getSectionById(r).scrollIntoView({behavior:"instant",block:"start"})}let i=t.target.closest("[data-el-outline-definition-item]");if(i){let r=i.getAttribute("data-file"),n=i.getAttribute("data-line");this.jumpToLine(r,n)}},handleClientsListClick(t){let e=t.target.closest("[data-el-clients-list-item]");if(e){let i=e.getAttribute("data-client-id");t.target.closest("[data-el-client-link]")&&this.handleClientLinkClick(i),t.target.closest("[data-el-client-follow-toggle]")&&this.handleClientFollowToggleClick(i,e)}},handleClientLinkClick(t){this.mirrorClientFocus(t)},handleClientFollowToggleClick(t,e){let i=this.el.querySelector("[data-el-clients-list-item][data-js-followed]");i&&i.removeAttribute("data-js-followed"),t===this.followedClientId?this.followedClientId=null:(e.setAttribute("data-js-followed",""),this.followedClientId=t,this.mirrorClientFocus(t))},mirrorClientFocus(t){let e=this.lastLocationReportByClientId[t];e&&e.focusableId&&this.setFocusedEl(e.focusableId)},handleCellIndicatorsClick(t){let e=t.target.closest("[data-el-focus-cell-button]");if(e){let i=e.getAttribute("data-target");this.setFocusedEl(i)}},initializeFocus(){let t=window.location.hash;if(t){let e=t.replace(/^#/,""),i=document.getElementById(e);if(i){let r=i.closest("[data-focusable-id]");r?this.setFocusedEl(r.dataset.focusableId):i.scrollIntoView()}}else this.props.autofocusCellId&&(this.setFocusedEl(this.props.autofocusCellId,{scroll:!1}),this.setInsertMode(!0))},updateSectionListHighlight(){let t=this.el.querySelector("[data-el-outline-item][data-js-is-viewed]");t&&t.removeAttribute("data-js-is-viewed");let e=this.getSections().reverse().find(i=>{let{top:r}=i.getBoundingClientRect(),n=document.documentElement.scrollTop;return r<=n+window.innerHeight*.35});if(e){let i=e.getAttribute("data-section-id");this.el.querySelector(`[data-el-outline-item][data-section-id="${i}"]`).setAttribute("data-js-is-viewed","")}},initializeDragAndDrop(){let t=!1,e=null,i=null,r=(o=null)=>{if(!t){t=!0,e=o;let s=o?"internal":"external";this.el.setAttribute("data-js-dragging",s),s==="external"&&this.toggleFilesList(!0)}},n=()=>{t&&(t=!1,this.el.removeAttribute("data-js-dragging"))};this.el.addEventListener("dragstart",o=>{r(o.target)}),this.el.addEventListener("dragenter",o=>{r()}),this.el.addEventListener("dragleave",o=>{mR()||this.el.contains(o.relatedTarget)||n()}),this.el.addEventListener("dragover",o=>{o.stopPropagation(),o.preventDefault()}),this.el.addEventListener("drop",o=>{o.stopPropagation(),o.preventDefault();let s=o.target.closest("[data-el-insert-drop-area]"),a=o.target.closest("[data-el-files-drop-area]");if(s){let l=s.getAttribute("data-section-id")||null,c=s.getAttribute("data-cell-id")||null;if(o.dataTransfer.files.length>0)i=o.dataTransfer.files,this.pushEvent("handle_file_drop",{section_id:l,cell_id:c});else if(e&&e.matches("[data-el-file-entry]")){let u=e.getAttribute("data-name");this.pushEvent("insert_file",{file_entry_name:u,section_id:l,cell_id:c})}}else a&&o.dataTransfer.files.length>0&&(i=o.dataTransfer.files,this.pushEvent("handle_file_drop",{}));n()}),this.handleEvent("finish_file_drop",o=>{let s=document.querySelector('#add-file-entry-modal input[type="file"]');s&&(s.files=i,s.dispatchEvent(new Event("change",{bubbles:!0})))})},toggleOutline(t=null){this.toggleSidePanelContent("outline",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){Oa(this.focusedCellType())?_t.broadcast(`cells:${this.focusedId}`,{type:"dispatch_queue_evaluation",dispatch:t}):t()},cancelFocusedCellEvaluation(){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("cancel_cell_evaluation",{cell_id:this.focusedId})},reconnectRuntime(){this.pushEvent("reconnect_runtime",{})},showShortcuts(){let t=this.el.querySelector("[data-btn-show-shortcuts]");t&&t.click()},isInsertModeAvailable(){if(!this.focusedId)return!1;let t=this.getFocusableEl(this.focusedId);return!this.isCell(this.focusedId)||!t.hasAttribute("data-js-insert-mode-disabled")},enterInsertMode(){this.focusedId&&this.setInsertMode(!0)},escapeInsertMode(){this.setInsertMode(!1)},moveFocus(t){let e=this.nearbyFocusableId(this.focusedId,t);this.setFocusedEl(e)},moveFocusedCell(t){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("move_cell",{cell_id:this.focusedId,offset:t})},insertCellBelowFocused(t){if(this.focusedId)this.insertCellBelowFocusableId(this.focusedId,t);else{let e=this.getFocusableIds();e.length>0&&this.insertCellBelowFocusableId(e[e.length-1],t)}},insertCellAboveFocused(t){if(this.focusedId){let e=this.nearbyFocusableId(this.focusedId,-1);this.insertCellBelowFocusableId(e,t)}else{let e=this.getFocusableIds();e.length>0&&this.insertCellBelowFocusableId(e[0],t)}},insertCellBelowFocusableId(t,e){if(this.isCell(t))this.pushEvent("insert_cell_below",{type:e,cell_id:t});else if(this.isSection(t))this.pushEvent("insert_cell_below",{type:e,section_id:t});else if(this.isNotebook(t)){let i=this.getSectionIds();i.length>0&&this.pushEvent("insert_cell_below",{type:e,section_id:i[0]})}},setFocusedEl(t,{scroll:e=!0,focusElement:i=!0}={}){if(this.focusedId=t,t?this.el.setAttribute("data-js-focused-id",t):this.el.removeAttribute("data-js-focused-id"),t){if(!this.isSection(t)){let n=this.getSectionIdByFocusableId(t);n&&this.getSectionById(n).removeAttribute("data-js-collapsed")}let r=this.getFocusableEl(t);i&&(r.querySelector("[data-el-cell-body]")||r.querySelector("[data-el-heading]")||r).focus({preventScroll:!0})}_t.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"),_t.broadcast("navigation",{type:"insert_mode_changed",enabled:t})},handleViewsClick(t){let e=t.target.closest("[data-el-view-toggle]");if(e){let i=e.getAttribute("data-el-view-toggle");this.toggleView(i)}},toggleView(t){t===this.view?(this.unsetView(),t==="custom"&&this.customViewSettingsSubscription.destroy()):t==="code-zen"?this.setView(t,{showSection:!1,showMarkdown:!1,showOutput:!0,spotlight:!1}):t==="presentation"?this.setView(t,{showSection:!0,showMarkdown:!0,showOutput:!0,spotlight:!0}):t==="custom"&&(this.customViewSettingsSubscription=kt.getAndSubscribe(i=>{this.setView(t,{showSection:i.custom_view_show_section,showMarkdown:i.custom_view_show_markdown,showOutput:i.custom_view_show_output,spotlight:i.custom_view_spotlight})}),this.pushEvent("open_custom_view_settings"));let e=this.focusedId||this.nearbyFocusableId(null,0);if(e){let i=this.ensureVisibleFocusableEl(e);i!==this.focused&&this.setFocusedEl(i,{scroll:!1}),i&&this.getFocusableEl(i).scrollIntoView({block:"center"})}},setView(t,e){this.view=t,this.viewOptions=e,this.el.setAttribute("data-js-view",t),this.el.toggleAttribute("data-js-hide-section",!e.showSection),this.el.toggleAttribute("data-js-hide-markdown",!e.showMarkdown),this.el.toggleAttribute("data-js-hide-output",!e.showOutput),this.el.toggleAttribute("data-js-spotlight",e.spotlight)},unsetView(){this.view=null,this.viewOptions=null,this.el.removeAttribute("data-js-view"),this.el.removeAttribute("data-js-hide-section"),this.el.removeAttribute("data-js-hide-markdown"),this.el.removeAttribute("data-js-hide-output"),this.el.removeAttribute("data-js-spotlight")},toggleCollapseSection(){if(this.focusedId){let t=this.getSectionIdByFocusableId(this.focusedId);if(t){let e=this.getSectionById(t);e.hasAttribute("data-js-collapsed")?e.removeAttribute("data-js-collapsed"):(e.setAttribute("data-js-collapsed",""),this.setFocusedEl(t,{scroll:!0}))}}},toggleCollapseAllSections(){let t=this.getSections().every(e=>e.hasAttribute("data-js-collapsed"));if(this.getSections().forEach(e=>{e.toggleAttribute("data-js-collapsed",!t)}),this.focusedId){let e=this.getSectionIdByFocusableId(this.focusedId);e&&this.setFocusedEl(e,{scroll:!0})}},handleCellInserted(t){this.setFocusedEl(t),SR(this.focusedCellType())&&this.setInsertMode(!0)},handleCellDeleted(t,e){if(this.focusedId===t)if(this.view){let i=this.ensureVisibleFocusableEl(e);this.setFocusedEl(i)}else this.setFocusedEl(e)},handleCellRestored(t){this.setFocusedEl(t)},handleCellMoved(t){this.repositionJSViews(),this.focusedId===t&&_t.broadcast("cells",{type:"cell_moved",cellId:t})},handleSectionInserted(t){let i=this.getSectionById(t).querySelector("[data-el-section-headline]"),{focusableId:r}=i.dataset;this.setFocusedEl(r),this.setInsertMode(!0),sR(document.activeElement)},handleSectionDeleted(t){this.focusedId&&!this.getFocusableEl(this.focusedId)&&this.setFocusedEl(null)},handleSectionMoved(t){this.repositionJSViews();let e=this.getSectionById(t);ha(e)},handleClientJoined(t){let e=this.store.get("clients");this.store.set("clients",Pe(H({},e),{[t.id]:t}))},handleClientLeft(t){let e=this.store.get("clients"),i=e[t];if(i){let[,r]=Kp(e,t);this.store.set("clients",r),i.id===this.followedClientId&&(this.followedClientId=null)}},handleClientsUpdated(t){let e=this.store.get("clients"),i=H({},e);for(let r of t)i[r.id]=r;this.store.set("clients",i)},handleSecretSelected(t,e){_t.broadcast(`js_views:${t}`,{type:"secretSelected",secretName:e})},handleLocationReport(t,e){let i=this.store.get("clients")[t];this.lastLocationReportByClientId[t]=e,i&&i.id===this.followedClientId&&e.focusableId!==this.focusedId&&this.setFocusedEl(e.focusableId)},repositionJSViews(){_t.broadcast("js_views",{type:"reposition"})},sendLocationReport(t){Object.keys(this.store.get("clients")).length>1&&this.pushEvent("location_report",{focusable_id:t.focusableId})},focusedCellType(){return this.focusedId&&this.isCell(this.focusedId)?this.getFocusableEl(this.focusedId).getAttribute("data-type"):null},nearbyFocusableId(t,e){let i=this.getFocusableIds();if(i.length===0)return null;let r=i.indexOf(t);if(r===-1){let n=this.getFocusableEls().find(yw);return n?n.getAttribute("data-focusable-id"):i[0]}else{let n=nR(r+e,0,i.length-1);return i[n]}},ensureVisibleFocusableEl(t){let e=this.getFocusableEl(t),i=Array.from(this.el.querySelectorAll("[data-focusable-id]")),r=i.indexOf(e),n=[...i.slice(r,-1),...i.slice(0,r).reverse()].find(o=>!bn(o));return n&&n.getAttribute("data-focusable-id")},isCell(t){return this.getFocusableEl(t).hasAttribute("data-el-cell")},isSection(t){return this.getFocusableEl(t).hasAttribute("data-el-section-headline")},isNotebook(t){return this.getFocusableEl(t).hasAttribute("data-el-notebook-headline")},getFocusableEl(t){return this.el.querySelector(`[data-focusable-id="${t}"]`)},getFocusableEls(){return Array.from(this.el.querySelectorAll("[data-focusable-id]")).filter(t=>!bn(t))},getFocusableIds(){return this.getFocusableEls().map(t=>t.getAttribute("data-focusable-id"))},getSectionIdByFocusableId(t){let i=this.getFocusableEl(t).closest("[data-el-section]");return i&&i.getAttribute("data-section-id")},getSectionIds(){return this.getSections().map(e=>e.getAttribute("data-section-id"))},getSections(){return Array.from(this.el.querySelectorAll("[data-el-section]"))},getSectionById(t){return this.el.querySelector(`[data-el-section][data-section-id="${t}"]`)},getElement(t){return this.el.querySelector(`[data-el-${t}]`)},jumpToLine(t,e){let[i,r]=t.split("#cell:");this.setFocusedEl(r,{scroll:!1}),this.setInsertMode(!0),_t.broadcast(`cells:${r}`,{type:"jump_to_line",line:e})}},CI=tse;var ise={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`}},_I=ise;var rse=100,nse={mounted(){this.props=this.getProps(),this.interval=setInterval(()=>this.updateDOM(),rse)},updated(){this.props=this.getProps(),this.updateDOM()},destroyed(){clearInterval(this.interval)},getProps(){return ht(this.el,["start"])},updateDOM(){let e=(Date.now()-new Date(this.props.start))/1e3;this.el.innerHTML=`${e.toFixed(1)}s`}},$I=nse;var AI="lb_user_data";function XI(t){let e=JSON.stringify(t),i=lR(e);sse(AI,i,15768e4)}function RI(){let t=ose(AI);if(t){let e=cR(t);return JSON.parse(e)}else return null}function ose(t){let e=document.cookie.split("; ").find(i=>i.startsWith(`${t}=`));return e?e.replace(`${t}=`,""):null}function sse(t,e,i){let r=`${t}=${e};max-age=${i};path=/${Gp()}`;document.cookie=r}var ase={mounted(){this.el.addEventListener("submit",t=>{let e=this.el.user_form_name.value,i=this.el.user_form_hex_color.value;XI({name:e,hex_color:i})})}},LI=ase;var lse={mounted(){this.props=this.getProps(),this.updateAttrs(),this.el.addEventListener("blur",t=>{let e=this.datetimeLocalToUtc(this.el.value);this.pushEventTo(this.props.phxTarget,"change",{html_value:e})})},updated(){this.props=this.getProps(),this.updateAttrs()},getProps(){return ht(this.el,["utc-value","utc-min","utc-max","phx-target"])},updateAttrs(){this.el.value=this.datetimeUtcToLocal(this.props.utcValue),this.el.min=this.datetimeUtcToLocal(this.props.utcMin),this.el.max=this.datetimeUtcToLocal(this.props.utcMax)},datetimeUtcToLocal(t){if(!t)return null;let e=new Date(t+"Z"),i=e.getFullYear().toString(),r=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0");return`${i}-${r}-${n}T${o}:${s}:${a}`},datetimeLocalToUtc(t){if(!t)return null;let e=new Date(t),i=e.getUTCFullYear().toString(),r=(e.getUTCMonth()+1).toString().padStart(2,"0"),n=e.getUTCDate().toString().padStart(2,"0"),o=e.getUTCHours().toString().padStart(2,"0"),s=e.getUTCMinutes().toString().padStart(2,"0"),a=e.getUTCSeconds().toString().padStart(2,"0");return`${i}-${r}-${n}T${o}:${s}:${a}`}},II=lse;var cse={mounted(){this.props=this.getProps(),this.updateAttrs(),this.el.addEventListener("blur",t=>{let e=this.timeLocalToUtc(this.el.value);this.pushEventTo(this.props.phxTarget,"change",{html_value:e})})},updated(){this.props=this.getProps(),this.updateAttrs()},getProps(){return ht(this.el,["utc-value","utc-min","utc-max","phx-target"])},updateAttrs(){this.el.value=this.timeUtcToLocal(this.props.utcValue),this.el.min=this.timeUtcToLocal(this.props.utcMin),this.el.max=this.timeUtcToLocal(this.props.utcMax)},timeUtcToLocal(t){if(!t)return null;let e=new Date;e.setUTCHours(...t.split(":"));let i=e.getHours().toString().padStart(2,"0"),r=e.getMinutes().toString().padStart(2,"0"),n=e.getSeconds().toString().padStart(2,"0");return`${i}:${r}:${n}`},timeLocalToUtc(t){if(!t)return null;let e=new Date;e.setHours(...t.split(":"));let i=e.getUTCHours().toString().padStart(2,"0"),r=e.getUTCMinutes().toString().padStart(2,"0"),n=e.getUTCSeconds().toString().padStart(2,"0");return`${i}:${r}:${n}`}},zI=cse;var NI=Ca(UI());var use={mounted(){this.props=this.getProps(),this.lineHeight=oR(this.el),this.templateEl=oo(this.el,"[data-template]"),this.contentEl=oo(this.el,"[data-content]"),this.capLines();let t=this.hyperListConfig();this.virtualizedList=new NI.default(this.contentEl,t),this.props.follow&&Sf(this.contentEl)},updated(){this.props=this.getProps(),this.capLines();let t=this.props.follow&&aR(this.contentEl),e=this.hyperListConfig();this.virtualizedList.refresh(this.contentEl,e),t&&Sf(this.contentEl)},getProps(){return ht(this.el,["max-height","follow","max-lines","ignore-trailing-empty-line"])},hyperListConfig(){let t=this.getLineElements(),e=t.length,i=Math.min(this.props.maxHeight,this.lineHeight*e);return{height:i,total:e,itemHeight:this.lineHeight,generate:r=>{let n=t[r].cloneNode(!0);return n.removeAttribute("id"),n},afterRender:()=>{this.contentEl.scrollWidth>this.contentEl.clientWidth?this.contentEl.style.height=`${i+12}px`:this.contentEl.style.height=`${i}px`}}},getLineElements(){let t=Array.from(this.templateEl.querySelectorAll("[data-line]"));if(t.length===0)return[];let e=t[t.length-1];return this.props.ignoreTrailingEmptyLine&&e.innerText===""?t.slice(0,-1):t},capLines(){if(this.props.maxLines){let e=Array.from(this.templateEl.querySelectorAll("[data-line]")).slice(0,-this.props.maxLines),[i,...r]=e;r.forEach(n=>n.remove()),i&&(i.innerHTML="...")}}},MI=use;var fse={mounted(){let t=kt.get(),e=this.el.querySelector('[name="show_section"][value="true"]'),i=this.el.querySelector('[name="show_markdown"][value="true"]'),r=this.el.querySelector('[name="show_output"][value="true"]'),n=this.el.querySelector('[name="spotlight"][value="true"]');e.checked=t.custom_view_show_section,i.checked=t.custom_view_show_markdown,r.checked=t.custom_view_show_output,n.checked=t.custom_view_spotlight,e.addEventListener("change",o=>{kt.update({custom_view_show_section:o.target.checked})}),i.addEventListener("change",o=>{kt.update({custom_view_show_markdown:o.target.checked})}),r.addEventListener("change",o=>{kt.update({custom_view_show_output:o.target.checked})}),n.addEventListener("change",o=>{kt.update({custom_view_spotlight:o.target.checked})})}},qI=fse;var jI={AppAuth:US,AudioInput:jS,Cell:TR,CellEditor:EL,Dropzone:PL,EditorSettings:QL,EmojiPicker:dI,FocusOnUpdate:OI,Headline:mI,Highlight:gI,ImageInput:bI,ImageOutput:yI,JSView:TI,KeyboardControl:EI,MarkdownRenderer:PI,ScrollOnUpdate:QI,Session:CI,TextareaAutosize:_I,Timer:$I,UserForm:LI,UtcDateTimeInput:II,UtcTimeInput:zI,VirtualizedLines:MI,CustomViewSettings:qI};var WI={onBeforeElUpdated(t,e){for(let i of t.attributes)i.name.startsWith("data-js-")&&e.setAttribute(i.name,i.value),i.name==="data-keep-attribute"&&(t.hasAttribute(i.value)?e.setAttribute(i.value,t.getAttribute(i.value)):e.removeAttribute(i.value))},onNodeAdded(t){if(t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute("autofocus")&&(t.focus(),t.setSelectionRange&&t.value)){let e=t.value.length;t.setSelectionRange(e,e)}}};var lg=Ca(ZI());function BI(){lg.default.config({barColors:{0:"#b2c1ff"},shadowColor:"rgba(0, 0, 0, .3)"}),window.addEventListener("phx:page-loading-start",()=>{lg.default.show(500)}),window.addEventListener("phx:page-loading-stop",()=>{lg.default.hide()})}function YI(){window.addEventListener("lb:focus",t=>{requestAnimationFrame(()=>{t.target.focus()})}),window.addEventListener("lb:set_value",t=>{t.target.value=t.detail.value}),window.addEventListener("lb:check",t=>{t.target.checked=!0}),window.addEventListener("lb:uncheck",t=>{t.target.checked=!1}),window.addEventListener("lb:set_text",t=>{t.target.textContent=t.detail.value}),window.addEventListener("lb:clipcopy",t=>{"clipboard"in navigator?t.detail.content?navigator.clipboard.writeText(t.detail.content):t.target.tagName==="INPUT"?navigator.clipboard.writeText(t.target.value):navigator.clipboard.writeText(t.target.textContent):alert(`Sorry, your browser does not support clipboard copy.
This generally requires a secure origin \u2014 either HTTPS or localhost.`)}),window.addEventListener("lb:scroll_into_view",t=>{let e=t.detail||{};rR(t.target).then(()=>{tm(t.target,H({scrollMode:"if-needed",behavior:"smooth",block:"nearest",inline:"nearest"},e))})}),window.addEventListener("phx:lb:exec_js",t=>{let e=t.detail.to||"body";document.querySelectorAll(e).forEach(i=>{window.liveSocket.execJS(i,t.detail.js)})}),window.addEventListener("lb:session_list:on_selection_change",()=>{let t=!!document.querySelector("[name='session_ids[]']:checked"),e=document.querySelector("#edit-sessions [name='disconnect']"),i=document.querySelector("#edit-sessions [name='close_all']");e.parentElement.classList.toggle("pointer-events-none",!t),e.parentElement.classList.toggle("opacity-50",!t),i.parentElement.classList.toggle("pointer-events-none",!t),i.parentElement.classList.toggle("opacity-50",!t)}),window.addEventListener("contextmenu",t=>{let e=t.target.closest("[data-contextmenu-trigger-click]");e&&(t.preventDefault(),e.dispatchEvent(new Event("mousedown",{bubbles:!0})),e.dispatchEvent(new Event("click",{bubbles:!0})))}),window.addEventListener("submit",t=>{t.target.hasAttribute("phx-nosubmit")&&(t.preventDefault(),t.stopPropagation())},{capture:!0})}function FI(){let t=/AppleWebKit/.test(navigator.userAgent),e="ontouchstart"in window||navigator.maxTouchPoints>0;if(t&&e){let i=document.querySelector("meta[name='viewport']");i&&(i.content+=", maximum-scale=1.0")}}var v2="confirm-opted-out-ids";function HI(){return vs(v2)||[]}function GI(){window.addEventListener("phx:add_confirm_opt_out_id",t=>{let e=vs(v2)||[],i=t.detail.opt_out_id;e.push(i),La(v2,e)})}function hse(){let t=document.querySelector("meta[name='csrf-token']").getAttribute("content"),e=new RS(window.LIVEBOOK_BASE_URL_PATH+"/live",wh,{params:i=>({_csrf_token:t,user_data:RI(),app_auth_token:DS(),confirm_opt_out_ids:HI()}),hooks:jI,dom:WI});BI(),YI(),GI(),FI(),kt.getAndSubscribe(i=>{document.body.setAttribute("data-editor-theme",i.editor_theme)}),e.connect(),window.liveSocket=e}if(dse())hse();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 dse(){return document.cookie=`lb_probe_cookie=;path=/${Gp()}`,document.cookie.split("; ").some(t=>t.startsWith("lb_probe_cookie="))}
/*! Bundled license information:
topbar/topbar.min.js:
(**
* @license MIT
* topbar 3.0.0
* http://buunguyen.github.io/topbar
* Copyright (c) 2024 Buu Nguyen
*)
*/